Not sure where the pattern is being lost, but with:
I'm getting
TypeError: undefined is not a function at node_modules/lx-valid/lib/revalidator.js:518:34
which is the pattern.test() line. It seems as though the pattern is being clobbered into a plain object somewhere up the chain.
but with a string:
it's properly working. Any ideas? This didn't seem to happen until I updated on npm and supplied a much more complex schema.
Not sure where the pattern is being lost, but with:
I'm getting
which is the pattern.test() line. It seems as though the pattern is being clobbered into a plain object somewhere up the chain.
but with a string:
it's properly working. Any ideas? This didn't seem to happen until I updated on npm and supplied a much more complex schema.