validator.js
validator.js copied to clipboard
`"length" is read-only` error when imported
I see this happening in Vite and CodeSandbox, which I believe is based on Parcel. It seems to be OK in Webpack, though. I suspect the difference is whether the package is imported with ES Modules or in Strict Mode (which the former implies).