Skip to content

BREAKING: increase minimum node version to v10 - #11

Merged
legobeat merged 8 commits into
MetaMask:mainfrom
legobeat:node-10
Mar 1, 2024
Merged

BREAKING: increase minimum node version to v10#11
legobeat merged 8 commits into
MetaMask:mainfrom
legobeat:node-10

Conversation

@legobeat

@legobeatlegobeat commented Feb 21, 2024

Copy link
Copy Markdown

Changes

  • BREAKING: increase minimum node version to 10.19
    • Remove support for major node.js versions 8-9, 11, 13, 15, 17, 19
  • devDeps: eslint@^5.4.0->^7.32.0
  • devDeps: bump eslint plugins
  • devDeps: chai@^4.3.10->^4.4.1
  • devDeps: mocha@^7.2.0->^8.4.0
  • devDeps: cross-env@^6.0.3->^7.0.3
  • ci: build on all supported node majors
  • ci: pin npm version to 6 for lockfile consistency

The devDependency bumps are the ones unblocked by dropping nodejs v8 support. webpack is also in that category but keeping that out of this PR as it's a bit more involved to upgrade.

Related

@socket-security

socket-securityBot commented Feb 21, 2024

Copy link
Copy Markdown

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

PackageNew capabilitiesTransitivesSizePublisher
npm/@aashutoshrathi/word-wrap@1.2.6None010.9 kBaashutoshrathi
npm/@eslint/eslintrc@0.4.3filesystem, unsafe Transitive: environment, eval+253.99 MBeslintbot
npm/@humanwhocodes/config-array@0.5.0None+5142 kBnzakas
npm/@humanwhocodes/object-schema@1.2.1None049.4 kBnzakas
npm/@ungap/promise-all-settled@1.1.2None04.88 kBwebreflection
npm/acorn@7.4.1None01.21 MBmarijn
npm/ansi-colors@4.1.1environment024.4 kBjonschlinkert
npm/array.prototype.filter@1.0.3Transitive: eval+594.4 MBljharb
npm/array.prototype.find@2.2.2Transitive: eval+594.4 MBljharb
npm/array.prototype.findlastindex@1.2.4Transitive: eval+604.42 MBljharb
npm/astral-regex@2.0.0None03.4 kBkevva
npm/camelcase@6.3.0None011.7 kBsindresorhus
npm/chai@4.4.1None+7923 kBkeithamus
npm/cross-env@7.0.3environment Transitive: filesystem, shell+681.2 kBkentcdodds
npm/diff@5.0.0None0369 kBkpdecker
npm/emoji-regex@8.0.0None048.3 kBmathias
npm/enquirer@2.4.1environment+3223 kBjonschlinkert
npm/es-errors@1.3.0None012.3 kBljharb
npm/eslint-config-airbnb-base@14.2.1Transitive: environment, eval, filesystem, unsafe+19018.5 MBljharb
npm/eslint-config-airbnb@18.2.1Transitive: environment, eval, filesystem, unsafe+22825.7 MBljharb
npm/eslint-import-resolver-webpack@0.13.8filesystem Transitive: environment, eval, network, shell, unsafe+47933.6 MBljharb
npm/eslint-plugin-import@2.29.1filesystem, unsafe Transitive: environment, eval+18718.4 MBljharb
npm/eslint-plugin-react-hooks@4.6.0environment Transitive: eval, filesystem, unsafe+10412 MBgnoff
npm/eslint-utils@2.1.0None+1366 kBmysticatea
npm/eslint@7.32.0filesystem Transitive: environment, eval, unsafe+10311.9 MBeslintbot
npm/espree@7.3.1None+21.31 MBeslintbot
npm/file-entry-cache@6.0.1filesystem Transitive: environment+14195 kBroyriojas
npm/find-root@1.1.0filesystem05.27 kBjsdnxx
npm/flat-cache@3.2.0filesystem Transitive: environment+13169 kBjaredwray
npm/flat@5.0.2None026.6 kBtimoxley
npm/is-plain-obj@2.1.0None03.69 kBsindresorhus
npm/json-buffer@3.0.1None05.4 kBdominictarr
npm/keyv@4.5.4None+133.2 kBjaredwray
npm/lodash.merge@4.6.2None054.1 kBjdalton
npm/lodash.truncate@4.4.2None019.8 kBjdalton
npm/log-symbols@4.0.0environment04.58 kBsindresorhus
npm/mocha@8.4.0environment, eval, filesystem Transitive: shell+665.88 MBjuergba
npm/nanoid@3.1.20None057.5 kBai
npm/object.groupby@1.0.2Transitive: eval+614.43 MBljharb
npm/regexpp@3.2.0None0302 kBmysticatea
npm/require-from-string@2.0.2unsafe03.42 kBfloatdrop
npm/serialize-javascript@5.0.1None+254.6 kBokuryu
npm/slice-ansi@4.0.0None+214.8 kBsindresorhus
npm/strip-json-comments@3.1.1None06.96 kBsindresorhus
npm/table@6.8.1Transitive: eval, unsafe+121.99 MBgajus-table
npm/tsconfig-paths@3.15.0environment, filesystem, unsafe+4355 kBjonaskello
npm/type-fest@0.20.2None0111 kBsindresorhus
npm/v8-compile-cache@2.4.0environment, filesystem, unsafe014.9 kByungsters
npm/workerpool@6.1.0None0323 kBjosdejong
npm/yargs-parser@20.2.4environment, filesystem0120 kBoss-bot
npm/yargs-unparser@2.0.0None+459.8 kBoss-bot
npm/yargs@16.2.0environment, filesystem+7542 kBoss-bot
npm/yocto-queue@0.1.0None06.03 kBsindresorhus

🚮 Removed packages:npm/acorn@6.4.2, npm/ansi-colors@3.2.3, npm/ansi-escapes@3.2.0, npm/array-find@1.0.0, npm/array.prototype.findlastindex@1.2.3, npm/array.prototype.reduce@1.0.6, npm/astral-regex@1.0.0, npm/chai@4.3.10, npm/chardet@0.7.0, npm/cli-cursor@2.1.0, npm/cli-width@2.2.1, npm/cross-env@6.0.3, npm/diff@3.5.0, npm/eslint-config-airbnb-base@13.2.0, npm/eslint-config-airbnb@17.1.1, npm/eslint-import-resolver-webpack@0.2.4, npm/eslint-plugin-import@2.29.0, npm/eslint-scope@4.0.3, npm/eslint-utils@1.4.3, npm/eslint@5.16.0, npm/espree@5.0.1, npm/external-editor@3.1.0, npm/figures@2.0.0, npm/file-entry-cache@5.0.1, npm/find-root@0.1.2, npm/flat-cache@2.0.1, npm/flat@4.1.1, npm/flatted@2.0.2, npm/fsevents@2.3.3, npm/iconv-lite@0.4.24, npm/inquirer@6.5.2, npm/is-absolute@0.2.6, npm/is-relative@0.2.1, npm/is-unc-path@0.1.2, npm/lodash._baseget@3.7.2, npm/lodash._topath@3.8.1, npm/lodash.get@3.7.0, npm/lodash.isarray@3.0.4, npm/log-symbols@3.0.0, npm/mocha@7.2.0, npm/mute-stream@0.0.7, npm/node-environment-flags@1.0.6, npm/object.getownpropertydescriptors@2.1.7, npm/object.groupby@1.0.1, npm/onetime@2.0.1, npm/os-tmpdir@1.0.2, npm/path-is-inside@1.0.2, npm/regexpp@2.0.1, npm/restore-cursor@2.0.0, npm/run-async@2.4.1, npm/rxjs@6.6.7, npm/slice-ansi@2.1.0, npm/strip-json-comments@2.0.1, npm/table@5.4.6, npm/through@2.3.8, npm/tmp@0.0.33, npm/tsconfig-paths@3.14.2, npm/tslib@1.14.1, npm/unc-path-regex@0.1.2, npm/write@1.0.3, npm/yargs-unparser@1.6.0, npm/yargs@13.3.2

View full report↗︎

@socket-security

socket-securityBot commented Feb 21, 2024

Copy link
Copy Markdown

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/eslint-plugin-react-hooks@4.6.0, npm/find-root@1.1.0, npm/nanoid@3.1.20, npm/v8-compile-cache@2.4.0

View full report↗︎

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

    @legobeatlegobeat changed the title Node 10BREAKING: increase minimum node version to v10Feb 21, 2024
    @legobeat

    Copy link
    Copy Markdown
    Author
    @SocketSecurity ignore npm/nanoid@3.1.20
    

    known mocha legacy

    @legobeat

    Copy link
    Copy Markdown
    Author
    @SocketSecurity ignore npm/v8-compile-cache@2.4.0
    @SocketSecurity ignore npm/eslint-plugin-react-hooks@4.6.0
    @SocketSecurity ignore npm/find-root@1.1.0
    

    new author ok

    Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants

    @legobeat@Mrtenz