Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize with module template (Feb 2024) #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Feb 27, 2024

  • BREAKING: Drop support for Node 16; use Node 18 as minimum version
  • Use Node LTS for development rather than 18
  • Use tsup to generate ESM-compatible builds (configuration copied from the module template)
  • Upgrade Yarn from v2 to v3.2.1
  • Add Yarn constraints
  • Replace ESLint config file with module template version
    • Doing so re-enabled the id-denylist rule; this PR fixes any lint associated violations
  • Bump prettier-plugin-packagejson from ^2.2.17 to ^2.3.0
  • Bump Jest from v26 to v28
  • Add jest-it-up and run it after running tests
  • Use Babel for Jest coverage reports instead of v8
    • This ended up dropping the coverage thresholds
  • Add typedoc
  • Add auto-changelog and validate changelogs as a part of linting
  • Bump @metamask/utils to ^8.3.0
    • This forced a bump to the following packages in order to align JSON types:
      • Bump @metamask/json-rpc-engine from ^7.1.1 to ^7.3.2
      • Bump @metamask/eth-json-rpc-provider from ^2.1.0 to ^2.3.2
  • Add configuration for Dependabot
  • Add pull request template
  • Upgrade GitHub workflows
    • Upgrade actions/checkout from v2 to v3
    • Upgrade actions/setup-node from v2 to v3
    • Upgrade MetaMask/action-create-release-pr from v1 to v3
    • Publish package to NPM
    • Publish API documentation for release candidates and releases
    • Notify metamask-npm-publishers of new releases in Slack

@mcmire mcmire requested a review from a team as a code owner February 27, 2024 21:59
Copy link

socket-security bot commented Feb 27, 2024

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

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] Transitive: environment +10 191 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 64.6 kB nicolo-ribaudo
npm/@babel/[email protected] environment, filesystem, unsafe Transitive: shell +52 10.8 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +10 3.37 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell +11 2.53 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell, unsafe +52 10.8 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 31.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 11.7 kB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +31 6.81 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +9 168 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 1.88 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +15 4.59 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +30 6.21 MB nicolo-ribaudo
npm/@babel/[email protected] environment +3 2.49 MB nicolo-ribaudo
npm/@cspotcode/[email protected] filesystem +3 293 kB cspotcode
npm/@es-joy/[email protected] None +4 1.7 MB brettz9
npm/@esbuild/[email protected] None 0 11.5 MB evanw
npm/@esbuild/[email protected] None 0 9.83 MB evanw
npm/@esbuild/[email protected] None 0 11.5 MB evanw
npm/@esbuild/[email protected] None 0 9.76 MB evanw
npm/@esbuild/[email protected] None 0 10.2 MB evanw
npm/@esbuild/[email protected] None 0 8.85 MB evanw
npm/@esbuild/[email protected] None 0 9.61 MB evanw
npm/@esbuild/[email protected] None 0 9.18 MB evanw
npm/@esbuild/[email protected] None 0 8.85 MB evanw
npm/@esbuild/[email protected] None 0 9.14 MB evanw
npm/@esbuild/[email protected] None 0 9.37 MB evanw
npm/@esbuild/[email protected] None 0 10.4 MB evanw
npm/@esbuild/[email protected] None 0 9.18 MB evanw
npm/@esbuild/[email protected] None 0 9.11 MB evanw
npm/@esbuild/[email protected] None 0 10 MB evanw
npm/@esbuild/[email protected] None 0 9.6 MB evanw
npm/@esbuild/[email protected] None 0 9.59 MB evanw
npm/@esbuild/[email protected] None 0 9.62 MB evanw
npm/@esbuild/[email protected] None 0 9.59 MB evanw
npm/@esbuild/[email protected] None 0 8.98 MB evanw
npm/@esbuild/[email protected] None 0 9.45 MB evanw
npm/@esbuild/[email protected] None 0 9.81 MB evanw
npm/@eslint-community/[email protected] None 0 431 kB eslint-community-bot
npm/@eslint/[email protected] filesystem, unsafe Transitive: environment, eval +26 3.73 MB eslintbot
npm/@eslint/[email protected] None 0 13.9 kB eslintbot
npm/@humanwhocodes/[email protected] Transitive: environment +6 181 kB nzakas
npm/@humanwhocodes/[email protected] None 0 53.3 kB nzakas
npm/@inquirer/[email protected] Transitive: environment +14 1.71 MB sboudrias
npm/@inquirer/[email protected] Transitive: environment +12 1.7 MB sboudrias
npm/@inquirer/[email protected] Transitive: environment +13 1.71 MB sboudrias
npm/@jridgewell/[email protected] None +4 354 kB jridgewell
npm/@jridgewell/[email protected] None 0 53.2 kB jridgewell
npm/@jridgewell/[email protected] None +2 261 kB jridgewell
npm/@lavamoat/[email protected] filesystem Transitive: environment +6 249 kB naugtur
npm/@lavamoat/[email protected] environment, filesystem, shell Transitive: network +123 7.97 MB boneskull
npm/@lavamoat/[email protected] None 0 3.25 kB naugtur
npm/@metamask/[email protected] Transitive: environment, filesystem, shell, unsafe +31 12.6 MB metamaskbot
npm/@metamask/[email protected] Transitive: environment, network +25 4.8 MB metamaskbot
npm/@metamask/[email protected] Transitive: environment, network +24 4.78 MB metamaskbot
npm/@metamask/[email protected] Transitive: environment, network +22 4.67 MB brad.decker, danfinlay, gudahtt, ...9 more
npm/@metamask/[email protected] Transitive: environment, network +20 4.51 MB metamaskbot
npm/@noble/[email protected] None +1 2.15 MB paulmillr
npm/@noble/[email protected] None 0 761 kB paulmillr
npm/@npmcli/[email protected] environment, network +12 1.19 MB npm-cli-ops
npm/@npmcli/[email protected] filesystem Transitive: environment, shell +18 804 kB npm-cli-ops
npm/@npmcli/[email protected] filesystem Transitive: environment, shell +56 3.49 MB npm-cli-ops
npm/@npmcli/[email protected] environment, shell Transitive: filesystem +2 62.5 kB npm-cli-ops
npm/@npmcli/[email protected] environment Transitive: filesystem, network, shell +107 7.32 MB npm-cli-ops
npm/@pkgr/[email protected] None 0 8.54 kB jounqin
npm/@scure/[email protected] None 0 79.4 kB paulmillr
npm/@scure/[email protected] None +3 2.29 MB paulmillr
npm/@scure/[email protected] None +2 1.21 MB paulmillr
npm/@sinonjs/[email protected] None +1 80.8 kB mrgnrdrck
npm/@tsconfig/[email protected] None 0 2.39 kB typescript-deploys
npm/@tsconfig/[email protected] None 0 2.5 kB typescript-deploys
npm/@tsconfig/[email protected] None 0 2.39 kB typescript-deploys
npm/@tsconfig/[email protected] None 0 2.45 kB typescript-deploys
npm/@types/[email protected] Transitive: environment +8 4.51 MB types
npm/@types/[email protected] Transitive: environment +4 2.51 MB types
npm/@types/[email protected] Transitive: environment +5 4.38 MB types
npm/@types/[email protected] Transitive: environment +4 2.58 MB types
npm/@types/[email protected] None +1 9.65 kB types
npm/@types/[email protected] None +1 3.56 MB types
npm/@types/[email protected] None 0 5.45 kB types
npm/@types/[email protected] None +1 13.4 kB types
npm/@types/[email protected] None +2 20 kB types
npm/@types/[email protected] Transitive: environment, filesystem, unsafe +45 5.07 MB types
npm/@types/[email protected] None 0 31.7 kB types
npm/@types/[email protected] None 0 3.2 kB types
npm/@types/[email protected] Transitive: filesystem, network +7 3.88 MB types
npm/@types/[email protected] None 0 3.56 MB types
npm/@types/[email protected] None 0 2.95 kB types
npm/@types/[email protected] None 0 23.3 kB types
npm/@types/[email protected] None 0 6.43 kB types
npm/@types/[email protected] None 0 8.65 kB types
npm/@types/[email protected] None +1 68.8 kB types
npm/@ungap/[email protected] None 0 26.2 kB webreflection
npm/@vue/[email protected] environment, eval +5 3.18 MB yyx990803
npm/@vue/[email protected] environment, eval +6 3.79 MB yyx990803
npm/@vue/[email protected] environment, eval, filesystem, unsafe +13 6.82 MB yyx990803
npm/@vue/[email protected] Transitive: environment, eval +7 3.83 MB yyx990803
npm/@vue/[email protected] environment 0 80 kB yyx990803
npm/[email protected] None 0 4.83 kB lukekarrys
npm/[email protected] None 0 52.4 kB marijn
npm/[email protected] None 0 531 kB marijn
npm/[email protected] network Transitive: environment +2 72.7 kB tootallnate
npm/[email protected] environment 0 26.1 kB jonschlinkert
npm/[email protected] None 0 21.9 kB bmealey
npm/[email protected] None 0 22.2 kB kevinbeaty
npm/[email protected] None +2 109 kB phated
npm/[email protected] Transitive: eval +8 182 kB ljharb
npm/[email protected] None 0 3.06 kB sindresorhus
npm/[email protected] Transitive: eval +54 3.2 MB ljharb
npm/[email protected] None 0 3.19 kB sindresorhus
npm/[email protected] None 0 20.4 kB ljharb
npm/[email protected] filesystem +5 65.5 kB npm-cli-ops
npm/[email protected] None 0 5.36 kB sindresorhus
npm/[email protected] environment, filesystem Transitive: shell +6 2.38 MB ai
npm/[email protected] environment, filesystem, unsafe Transitive: network, shell +24 213 MB egoist
npm/[email protected] None 0 81.8 kB egoist
npm/[email protected] filesystem Transitive: environment, shell +51 3.6 MB npm-cli-ops
npm/[email protected] Transitive: eval +6 151 kB ljharb
npm/[email protected] None 0 1.47 kB tjholowaychuk
npm/[email protected] None 0 1.97 MB caniuse-lite
npm/[email protected] environment, filesystem +14 531 kB paulmillr
npm/[email protected] environment 0 26.1 kB sibiraj-s
npm/[email protected] None 0 32.1 kB sindresorhus
npm/[email protected] environment 0 11.5 kB knownasilya
npm/[email protected] filesystem 0 12.1 kB npm-cli-ops
npm/[email protected] unsafe 0 5.14 kB simenb
npm/[email protected] environment, filesystem, shell 0 173 kB abetomo
npm/[email protected] filesystem 0 11.4 kB thlorenz
npm/[email protected] filesystem Transitive: environment, unsafe +23 794 kB d-fischer
npm/[email protected] None 0 31.2 kB tehshrike
npm/[email protected] filesystem, unsafe Transitive: environment, eval +121 16.1 MB rumpl
npm/[email protected] None 0 6.82 kB mathieudutour
npm/[email protected] filesystem 0 8.63 kB doowb
npm/[email protected] None 0 9.75 kB sindresorhus
npm/[email protected] None 0 429 kB explodingcabbage
npm/[email protected] None 0 276 kB kilianvalkhof
npm/[email protected] None 0 413 kB feedic
npm/[email protected] Transitive: eval +54 3.2 MB ljharb
npm/[email protected] Transitive: eval +7 161 kB ljharb
npm/[email protected] None +2 53.6 kB ljharb
npm/[email protected] environment, filesystem, network, shell +22 213 MB evanw
npm/[email protected] filesystem 0 11.6 kB lukeed
npm/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +94 10.7 MB lydell
npm/[email protected] Transitive: environment +2 111 kB ljharb
npm/[email protected] filesystem Transitive: environment, eval, network, shell, unsafe +373 108 MB simenb
npm/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +102 13.1 MB gajus
npm/[email protected] environment, filesystem Transitive: eval, shell, unsafe +93 10.7 MB eslintbot
npm/[email protected] None 0 50.2 kB rich_harris
npm/[email protected] None +5 2.74 MB paulmillr
npm/[email protected] Transitive: environment, filesystem +2 20.6 kB doowb
npm/[email protected] None 0 52.3 kB luin
npm/[email protected] filesystem +16 496 kB mrmlnc
npm/[email protected] None +1 51.4 kB matteo.collina
npm/[email protected] environment, network, shell +2 45.3 kB bolinfest
npm/[email protected] filesystem Transitive: environment +19 359 kB phated
npm/[email protected] filesystem Transitive: environment +11 142 kB jaredwray
npm/[email protected] None 0 40.3 kB webreflection
npm/[email protected] filesystem, network +5 314 kB niftylettuce
npm/[email protected] filesystem +1 299 kB npm-cli-ops
npm/[email protected] None 0 31.4 kB ljharb
npm/[email protected] eval +5 129 kB ljharb
npm/[email protected] None 0 4.54 kB sindresorhus
npm/[email protected] Transitive: eval +7 165 kB ljharb
npm/[email protected] None 0 5.57 kB fisker
npm/[email protected] Transitive: environment, filesystem, shell +27 2.93 MB isaacs
npm/[email protected] Transitive: environment, filesystem +9 79.7 kB jonschlinkert
npm/[email protected] environment, filesystem +7 66.8 kB phated
npm/[email protected] None 0 10.9 kB ljharb
npm/[email protected] None 0 12 kB ljharb
npm/[email protected] None +1 38.2 kB ljharb
npm/[email protected] None 0 3.02 kB tarruda
npm/[email protected] None +1 42.6 kB ljharb
npm/[email protected] environment, filesystem +1 14 kB doowb
npm/[email protected] None +1 485 kB npm-cli-ops
npm/[email protected] network Transitive: environment +3 96 kB tootallnate
npm/[email protected] network Transitive: environment +3 108 kB tootallnate
npm/[email protected] None 0 51.5 kB kael
npm/[email protected] None 0 9.3 kB isaacs
npm/[email protected] Transitive: eval +9 287 kB ljharb
npm/[email protected] None +2 264 kB beaugunderson
npm/[email protected] Transitive: eval +7 169 kB ljharb
npm/[email protected] None +1 8.43 kB sindresorhus
npm/[email protected] None +2 72.8 kB ljharb
npm/[email protected] None 0 27.1 kB ljharb
npm/[email protected] None +2 60.4 kB ljharb
npm/[email protected] None 0 4.08 kB sindresorhus
npm/[email protected] Transitive: eval +7 170 kB ljharb
npm/[email protected] Transitive: eval +13 304 kB ljharb
npm/[email protected] None 0 7.96 kB jonschlinkert
npm/[email protected] None 0 34.4 kB oss-bot
npm/[email protected] filesystem +5 196 kB oss-bot
npm/[email protected] Transitive: filesystem +7 503 kB oss-bot
npm/[email protected] environment +13 574 kB isaacs
npm/[email protected] filesystem Transitive: environment, shell +17 1.92 MB rbardini
npm/[email protected] Transitive: environment, filesystem, network, shell, unsafe +51 5.28 MB arcanis
npm/[email protected] environment, filesystem 0 14 kB egoist
npm/[email protected] None 0 46.9 kB andyperlitch
npm/[email protected] None 0 229 kB jsdoc-type-pratt-parser
npm/[email protected] None 0 9.87 kB npm-cli-ops
npm/[email protected] None 0 210 kB vscode-bot
npm/[email protected] filesystem 0 17.7 kB antonk52
npm/[email protected] None 0 17.1 kB egoist
npm/[email protected] None 0 75.8 kB jdalton
npm/[email protected] None 0 1.41 MB bnjmnt4n
npm/[email protected] None 0 458 kB isaacs
npm/[email protected] None 0 976 kB olivernn
npm/[email protected] None +1 493 kB antfu
npm/[email protected] filesystem +2 120 kB sindresorhus
npm/[email protected] network Transitive: environment, filesystem, shell +75 5.07 MB npm-cli-ops
npm/[email protected] None 0 428 kB tonybrix
npm/[email protected] environment +2 386 kB isaacs
npm/[email protected] None 0 54.5 kB ljharb
npm/[email protected] None +1 290 kB isaacs
npm/[email protected] environment, network +6 871 kB npm-cli-ops
npm/[email protected] None 0 285 kB isaacs
npm/[email protected] None +7 46.5 kB sindresorhus
npm/[email protected] None 0 6.51 kB isaacs
npm/[email protected] filesystem, network, shell +4 52 kB jongleberry
npm/[email protected] None 0 24.4 kB ai
npm/[email protected] environment, shell Transitive: filesystem, network +84 6.96 MB lukekarrys
npm/[email protected] None 0 34 kB chicoxyzzy
npm/[email protected] None +1 31 kB npm-cli-ops
npm/[email protected] None +12 763 kB npm-cli-ops
npm/[email protected] None +2 116 kB npm-cli-ops
npm/[email protected] None +7 630 kB npm-cli-ops
npm/[email protected] None +10 657 kB npm-cli-ops
npm/[email protected] None 0 5.49 kB sindresorhus
npm/[email protected] None 0 97.2 kB ljharb
npm/[email protected] Transitive: eval +9 261 kB ljharb
npm/[email protected] None 0 5.96 kB doowb
npm/[email protected] None +1 9.59 kB typicode
npm/[email protected] None 0 23.9 kB voxpelli
npm/[email protected] environment, unsafe Transitive: filesystem +25 75.4 MB ai
npm/[email protected] environment, filesystem +3 376 kB ai
npm/[email protected] Transitive: environment, filesystem, unsafe +33 12 MB matzkoh
npm/[email protected] None 0 5.21 kB lukekarrys
npm/[email protected] None 0 3.04 kB iarna
npm/[email protected] None 0 33.5 kB google-wombot
npm/[email protected] filesystem +1 110 kB paulmillr
npm/[email protected] Transitive: eval +9 229 kB ljharb
npm/[email protected] None 0 3.74 kB mattdesl
npm/[email protected] Transitive: environment, filesystem +9 79.7 kB phated
npm/[email protected] environment, filesystem +5 232 kB ljharb
npm/[email protected] environment, filesystem +1 2.43 MB lukastaegert
npm/[email protected] None 0 6.6 kB sboudrias
npm/[email protected] Transitive: eval +8 173 kB ljharb
npm/[email protected] Transitive: eval +9 209 kB ljharb
npm/[email protected] None 0 4.05 kB substack
npm/[email protected] None +1 110 kB npm-cli-ops
npm/[email protected] filesystem, network +4 16.8 MB antfu
npm/[email protected] Transitive: eval +8 266 kB ljharb
npm/[email protected] network Transitive: environment +8 655 kB tootallnate
npm/[email protected] network +4 558 kB joshglazebrook
npm/[email protected] Transitive: filesystem +28 648 kB keithamus
npm/[email protected] None 0 148 kB 7rulnik
npm/[email protected] None +3 51.4 kB kemitchell
npm/[email protected] None 0 3.47 kB kemitchell
npm/[email protected] None 0 12.6 kB kemitchell
npm/[email protected] None +1 323 kB npm-cli-ops
npm/[email protected] Transitive: eval +54 3.2 MB ljharb
npm/[email protected] Transitive: eval +54 3.2 MB ljharb
npm/[email protected] Transitive: eval +54 3.2 MB ljharb
npm/[email protected] Transitive: environment, filesystem, network, shell, unsafe +42 4.65 MB alangpierce
npm/[email protected] None +1 11.3 kB sindresorhus
npm/[email protected] environment +2 147 kB jounqin
npm/[email protected] environment, filesystem +5 291 kB isaacs
npm/[email protected] None +2 36.7 kB dead_horse
npm/[email protected] None +1 30.1 kB dead_horse
npm/[email protected] None +1 356 kB sebmaster
npm/[email protected] shell 0 7.82 kB wmhilton
npm/[email protected] None 0 68 kB dsagal2
npm/[email protected] environment, filesystem, unsafe +18 74.4 MB blakeembrey
npm/[email protected] environment, filesystem, unsafe +4 355 kB jonaskello
npm/[email protected] None 0 84 kB typescript-bot
npm/[email protected] environment, eval, filesystem Transitive: network, shell, unsafe +146 298 MB egoist
npm/[email protected] Transitive: eval +14 317 kB ljharb
npm/[email protected] Transitive: eval +14 324 kB ljharb
npm/[email protected] Transitive: eval +14 324 kB ljharb
npm/[email protected] Transitive: eval +14 329 kB ljharb
npm/[email protected] environment, filesystem, shell, unsafe Transitive: network +11 88.4 MB typedoc-bot
npm/[email protected] filesystem, shell Transitive: environment +6 2.38 MB ai
npm/[email protected] environment, filesystem, unsafe 0 18.2 kB cspotcode
npm/[email protected] filesystem, unsafe +4 313 kB oss-bot
npm/[email protected] None +4 68 kB kemitchell
npm/[email protected] None +3 122 kB lukekarrys
npm/[email protected] network 0 490 kB vscode-bot
npm/[email protected] None 0 347 kB vscode-bot
npm/[email protected] None 0 19.3 kB domenic
npm/[email protected] Transitive: eval +12 281 kB ljharb
npm/[email protected] environment Transitive: filesystem +1 50.5 kB npm-cli-ops
npm/[email protected] environment 0 448 kB eemeli

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@eslint-community/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@lavamoat/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@noble/[email protected], npm/@noble/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

socket-security bot commented Feb 27, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
New author npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
Shell access npm/[email protected]
Network access npm/[email protected]
Network access npm/[email protected]
New author npm/[email protected]
Shell access npm/[email protected]
New author npm/[email protected]
Shell access npm/[email protected]
Network access npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
Shell access npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
New author npm/[email protected]
Network access npm/[email protected]
Shell access npm/[email protected]
Network access npm/[email protected]
New author npm/[email protected]
Install scripts npm/@lavamoat/[email protected]
  • Install script: preinstall
  • Source: echo "Don't run npm lifecycle scripts by default! Create a .yarnrc or .npmrc and set enableScripts: false. Then, whitelist them with @lavamoat/allow-scripts" && exit 1
Deprecated npm/[email protected]
  • Reason: Breaking node 16
New author npm/[email protected]
Network access npm/[email protected]
New author npm/[email protected]
Install scripts npm/[email protected]
Network access npm/[email protected]
Shell access npm/[email protected]
Network access npm/[email protected]
Network access npm/@npmcli/[email protected]
Network access npm/@npmcli/[email protected]
Network access npm/@npmcli/[email protected]
Network access npm/@npmcli/[email protected]
Network access npm/@npmcli/[email protected]
New author npm/[email protected]

View full report↗︎

Next steps

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

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/[email protected] or ignore all packages with @SocketSecurity ignore-all

- **BREAKING:** Drop support for Node 16; use Node 18 as minimum version
- Use Node LTS for development rather than 18
- Use `tsup` to generate ESM-compatible builds (configuration copied
  from the module template)
- Upgrade Yarn from v2 to v3.2.1
- Add Yarn constraints
- Replace ESLint config file with module template version
  - Doing so re-enabled the `id-denylist` rule; this PR fixes any lint
    associated violations
- Bump `prettier-plugin-packagejson` from ^2.2.17 to ^2.3.0
- Bump Jest from v26 to v28
- Add `jest-it-up` and run it after running tests
- Use Babel for Jest coverage reports instead of v8
  - This ended up dropping the coverage thresholds
- Add `typedoc`
- Add `auto-changelog` and validate changelogs as a part of linting
- Bump `@metamask/utils` to ^8.3.0
  - This forced a bump to the following packages in order to align JSON
    types:
    - Bump `@metamask/json-rpc-engine` from ^7.1.1 to ^7.3.2
    - Bump `@metamask/eth-json-rpc-provider` from ^2.1.0 to ^2.3.2
- Add configuration for Dependabot
- Add pull request template
- Upgrade GitHub workflows
  - Upgrade `actions/checkout` from v2 to v3
  - Upgrade `actions/setup-node` from v2 to v3
  - Upgrade `MetaMask/action-create-release-pr` from v1 to v3
  - Publish package to NPM
  - Publish API documentation for release candidates and releases
  - Notify metamask-npm-publishers of new releases in Slack
@legobeat
Copy link
Contributor

legobeat commented Oct 3, 2024

This is a lot of changes in one, some breaking, some subtle.

In order to unblock some things, I started out by breaking out some things that are not directly related to the upgrading of package managers and change in build system:

I think especially this part is relevant to be broken out next and separately from the tooling- and other meta changes:

Bump @metamask/utils to ^8.3.0

    This forced a bump to the following packages in order to align JSON types:
        Bump @metamask/json-rpc-engine from ^7.1.1 to ^7.3.2
        Bump @metamask/eth-json-rpc-provider from ^2.1.0 to ^2.3.2

Sign up for free to 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