qs
qs copied to clipboard
"Cannot read property 'custom' of undefined" in v6.10.x
I'm getting a JS exception after upgrading to the latest version:
Uncaught TypeError: Cannot read property 'custom' of undefined
yarn.lock
entry for my dependency:
qs@^6.9.4:
version "6.10.1"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.1.tgz#4931482fa8d647a5aab799c5271d2133b981fb6a"
integrity sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==
dependencies:
side-channel "^1.0.4"
Another concern is that the bundle size increased by 30kb (because of qs
's new dependency side-channel
probably) with this upgrade. This one is not a blocker, but definitely a concern.
What bundler are you using? A couple of them are broken with how they respect the browser field.
The size isn’t a concern; it’s the smallest size that can correctly address the problem it’s solving.
I faced this issue while bundling using Rollup.
the same question too
If rollup is unable to bundle this package, please file an issue on rollup.
has any update? it still happened when I use yarn2 & vite to compile it
any updates here?
I believe this remains an issue with specific bundlers.
If there's something actionable here, i'd be happy to reopen.