1.0.0 • Published 2 years ago
@calebev/bundle-test v1.0.0
Between npm 7 and npm 8 the documentation for bundled?Dependencies switched from being titled bundledDependencies and 'If this is spelled "bundleDependencies", then that is also honored.' to titled bundleDependencies and 'If this is spelled "bundledDependencies", then that is also honored.'
https://docs.npmjs.com/cli/v7/configuring-npm/package-json?v=true#bundleddependencies https://docs.npmjs.com/cli/v8/configuring-npm/package-json?v=true#bundledependencies
However looking at the registry even very old pacakges like npm@6 itself only
have bundleDependenies
keys.
curl -sS https://registry.npmjs.org/npm | jq '.' | grep -E 'bundled?Dependencies' | sort -u
"bundleDependencies": [
Meanwhile npm 6 will fail to install a package with bundleDependencies, but npm 8 will publish bundledDependencies as bundleDependencies