Context
npm install prints a large set of npm warn deprecated … messages. Almost all come from a few root packages; patching leaf packages one-by-one is ineffective.
This issue inventories the warnings and maps each cluster to a remediation issue (existing or new).
Inventory (warning → pulled by → remediation)
Cluster A — netlify-cli@2.71.0 (devDependency)
| Deprecated package |
Path (abbrev.) |
Remediation |
statsd-client@0.4.5 |
netlify-cli → @netlify/build |
#447 / #416 |
sourcemap-codec@1.4.8 |
netlify-cli → @netlify/plugin-edge-handlers → magic-string |
#447 / #416 |
rollup-plugin-inject@3.0.2 |
same edge-handlers / rollup polyfills |
#447 / #416 |
rollup-plugin-terser@7.0.2 |
same |
#447 / #416 |
netlify-plugin-deploy-preview-commenting@0.0.1-alpha.16 |
@netlify/build |
#447 / #416 |
node-pre-gyp@0.13.0 |
@vercel/nft via zip-it |
#447 / #416 |
tar@4.4.19 / tar@6.2.1 |
node-pre-gyp / @mapbox/node-pre-gyp |
#447 / #416 |
osenv@0.1.5 |
node-pre-gyp → nopt |
#447 / #416 |
npmlog / are-we-there-yet / gauge |
node-pre-gyp / @mapbox/node-pre-gyp |
#447 / #416 |
moize@5 / moize@6 |
@netlify/build |
#447 / #416 |
cli-ux@5 + @oclif/* |
netlify-cli oclif stack |
#447 / #416 |
debug@4.1.1 (also Gatsby) |
https-proxy-agent under netlify-cli |
#447 / #416 |
Cluster B — Gatsby 2 / webpack 4 stack (gatsby@2.32.13 + plugins)
| Deprecated package |
Path (abbrev.) |
Remediation |
urix@0.1.0 / resolve-url@0.2.1 |
webpack4 → micromatch → snapdragon → source-map-resolve |
#448 / #415 |
eslint-loader@2.2.1 |
gatsby |
#448 / #415 |
@hapi/joi@15 + @hapi/{hoek,topo,bourne,address} |
gatsby / gatsby-plugin-offline → workbox |
#448 / #415 |
chokidar@2.1.8 |
webpack-dev-server@3 |
#448 / #415 |
rimraf@2.x / glob@7.x |
eslint-loader, cacache, workbox, plugins |
#448 / #415 |
core-js@2.6.11 |
workbox → babel-runtime |
#448 / #415 |
debug@4.1.1 |
gatsby typescript-eslint / engine.io |
#448 / #415 |
uuid@3 (telemetry / sharp tooling) |
gatsby-plugin-sharp / gatsby-cli |
#448 / #415 |
npmlog (older) |
sharp via gatsby-plugin-manifest |
#448 / #415 |
gatsby-image@2.11.0 |
direct dependency (unused in src) |
#446 |
Related blocked upgrade PRs: #421, #413, #432, #444. Long-term destination: #415 (Gatsby → Next.js).
Cluster C — Jest 26 / jsdom 16
| Deprecated package |
Path (abbrev.) |
Remediation |
request@2.88.2 |
jest → jsdom |
#449 |
request-promise-native@1.0.9 |
same |
#449 |
har-validator@5.1.3 |
request |
#449 |
Cluster D — Material UI v4
| Deprecated package |
Path (abbrev.) |
Remediation |
popper.js@1.16.1 |
@material-ui/core |
#436 |
Cluster E — other tooling (lower priority / secondary)
| Deprecated package |
Path (abbrev.) |
Notes |
uuid@8.3.2 |
codecov, cypress → @cypress/request |
Revisit when upgrading codecov / Cypress peers; not blocking install |
glob@7 / rimraf@3 |
@stryker-mutator/core@4 |
Optional: upgrade or drop Stryker if unused in CI |
Acceptance criteria
Notes
Child issues
Context
npm installprints a large set ofnpm warn deprecated …messages. Almost all come from a few root packages; patching leaf packages one-by-one is ineffective.This issue inventories the warnings and maps each cluster to a remediation issue (existing or new).
Inventory (warning → pulled by → remediation)
Cluster A —
netlify-cli@2.71.0(devDependency)statsd-client@0.4.5netlify-cli→@netlify/buildsourcemap-codec@1.4.8netlify-cli→@netlify/plugin-edge-handlers→magic-stringrollup-plugin-inject@3.0.2rollup-plugin-terser@7.0.2netlify-plugin-deploy-preview-commenting@0.0.1-alpha.16@netlify/buildnode-pre-gyp@0.13.0@vercel/nftvia zip-ittar@4.4.19/tar@6.2.1node-pre-gyp/@mapbox/node-pre-gyposenv@0.1.5node-pre-gyp→noptnpmlog/are-we-there-yet/gaugenode-pre-gyp/@mapbox/node-pre-gypmoize@5/moize@6@netlify/buildcli-ux@5+@oclif/*netlify-clioclif stackdebug@4.1.1(also Gatsby)https-proxy-agentunder netlify-cliCluster B — Gatsby 2 / webpack 4 stack (
gatsby@2.32.13+ plugins)urix@0.1.0/resolve-url@0.2.1eslint-loader@2.2.1gatsby@hapi/joi@15+@hapi/{hoek,topo,bourne,address}gatsby/gatsby-plugin-offline→ workboxchokidar@2.1.8webpack-dev-server@3rimraf@2.x/glob@7.xcore-js@2.6.11debug@4.1.1uuid@3(telemetry / sharp tooling)npmlog(older)sharpvia gatsby-plugin-manifestgatsby-image@2.11.0Related blocked upgrade PRs: #421, #413, #432, #444. Long-term destination: #415 (Gatsby → Next.js).
Cluster C — Jest 26 / jsdom 16
request@2.88.2request-promise-native@1.0.9har-validator@5.1.3requestCluster D — Material UI v4
popper.js@1.16.1@material-ui/coreCluster E — other tooling (lower priority / secondary)
uuid@8.3.2codecov,cypress→@cypress/requestglob@7/rimraf@3@stryker-mutator/core@4Acceptance criteria
gatsby-image→ chore(deps): remove unused gatsby-image dependency #446gatsby-imagein chore(deps): remove unused gatsby-image dependency #446)npm install --legacy-peer-depsno longer prints the Cluster A–D warnings above (Cluster E optional)loglevel/ ignore flags — fix or remove the root packagesNotes
overridesfor every leaf deprecation.netlify-cliis removed from the repo.Child issues
gatsby-imagenetlify-cli