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

Upgrade to Yarn v3 #82

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Upgrade to Yarn v3 #82

wants to merge 4 commits into from

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Jun 7, 2023

We use Yarn v3 for our other libraries, so we're following suit here.

@mcmire mcmire requested a review from a team as a code owner June 7, 2023 16:07
@@ -25,7 +25,6 @@
},
"author": "Erik Marks <rekmarks@protonmail.com>",
"license": "ISC",
"private": false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yarn seems to have made these changes to the manifest automatically (aside from packageManager).

@socket-security
Copy link

socket-security bot commented Jun 7, 2023

🚨 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/v8-compile-cache@2.4.0
Install scripts npm/es5-ext@0.10.62
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
Network access npm/agent-base@7.1.0
Network access npm/agent-base@7.1.0
New author npm/defined@1.0.1
New author npm/@sinonjs/text-encoding@0.7.2
New author npm/util@0.10.4
New author npm/@npmcli/fs@2.1.2
New author npm/unique-slug@3.0.0
Network access npm/socks-proxy-agent@8.0.2
New author npm/node-gyp@9.4.1
New author npm/json-parse-even-better-errors@3.0.1
New author npm/jsonc-parser@3.2.1
Network access npm/@npmcli/agent@2.2.1
Network access npm/@npmcli/agent@2.2.1
Network access npm/@npmcli/agent@2.2.1
Network access npm/@npmcli/agent@2.2.1
Network access npm/@npmcli/agent@2.2.1
New author npm/diff@5.2.0
Unstable ownership npm/diff@5.2.0

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 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 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 unstable ownership?

A new collaborator has begun publishing package versions. Package stability and security risk may be elevated.

Try to reduce the amount of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

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

  • @SocketSecurity ignore npm/v8-compile-cache@2.4.0
  • @SocketSecurity ignore npm/es5-ext@0.10.62
  • @SocketSecurity ignore npm/agent-base@7.1.0
  • @SocketSecurity ignore npm/defined@1.0.1
  • @SocketSecurity ignore npm/@sinonjs/text-encoding@0.7.2
  • @SocketSecurity ignore npm/util@0.10.4
  • @SocketSecurity ignore npm/@npmcli/fs@2.1.2
  • @SocketSecurity ignore npm/unique-slug@3.0.0
  • @SocketSecurity ignore npm/socks-proxy-agent@8.0.2
  • @SocketSecurity ignore npm/node-gyp@9.4.1
  • @SocketSecurity ignore npm/json-parse-even-better-errors@3.0.1
  • @SocketSecurity ignore npm/jsonc-parser@3.2.1
  • @SocketSecurity ignore npm/@npmcli/agent@2.2.1
  • @SocketSecurity ignore npm/diff@5.2.0

@socket-security
Copy link

socket-security bot commented Jun 7, 2023

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

Package New capabilities Transitives Size Publisher
npm/@babel/code-frame@7.12.11 Transitive: environment +9 173 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.22.20 None 0 49.1 kB nicolo-ribaudo
npm/@babel/highlight@7.23.4 Transitive: environment +8 165 kB nicolo-ribaudo
npm/@eslint/eslintrc@0.4.3 filesystem, unsafe Transitive: environment, eval +27 4.04 MB eslintbot
npm/@goto-bus-stop/common-shake@2.4.1 Transitive: eval +18 1.78 MB goto-bus-stop
npm/@jridgewell/resolve-uri@3.1.2 None 0 53.2 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.22 None +2 263 kB jridgewell
npm/@nodelib/fs.scandir@2.1.5 filesystem +2 40.6 kB mrmlnc
npm/@nodelib/fs.stat@2.0.5 filesystem 0 11.8 kB mrmlnc
npm/@nodelib/fs.walk@1.2.8 Transitive: filesystem +5 118 kB mrmlnc
npm/@npmcli/agent@2.2.1 environment, network +11 731 kB npm-cli-ops
npm/@npmcli/fs@2.1.2 filesystem +3 164 kB gar
npm/@sinonjs/commons@1.8.6 None +1 80.8 kB mrgnrdrck
npm/@sinonjs/samsam@5.3.1 None +3 200 kB mrgnrdrck
npm/@sinonjs/text-encoding@0.7.2 None 0 651 kB mrgnrdrck
npm/@types/json-schema@7.0.15 None 0 31.7 kB types
npm/@typescript-eslint/eslint-plugin@4.33.0 Transitive: environment, eval, filesystem, shell, unsafe +131 83.1 MB jameshenry
npm/@typescript-eslint/experimental-utils@4.33.0 Transitive: environment, eval, filesystem, shell, unsafe +129 80.7 MB jameshenry
npm/@typescript-eslint/parser@4.33.0 Transitive: environment, eval, filesystem, shell, unsafe +127 79.9 MB jameshenry
npm/@typescript-eslint/scope-manager@4.33.0 None +3 761 kB jameshenry
npm/@typescript-eslint/types@4.33.0 None 0 145 kB jameshenry
npm/@typescript-eslint/typescript-estree@4.33.0 environment, filesystem +34 68.7 MB jameshenry
npm/@typescript-eslint/visitor-keys@4.33.0 None +2 201 kB jameshenry
npm/acorn-jsx@5.3.2 None +1 1.23 MB rreverser
npm/ansi-colors@4.1.3 environment 0 26.1 kB jonschlinkert
npm/array-includes@3.1.7 Transitive: eval +32 2.84 MB ljharb
npm/array.prototype.flat@1.3.2 Transitive: eval +32 2.83 MB ljharb
npm/assert@1.5.1 Transitive: environment, eval +15 375 kB ljharb
npm/astral-regex@2.0.0 None 0 3.4 kB kevva
npm/available-typed-arrays@1.0.6 None 0 20.4 kB ljharb
npm/base64-js@1.5.1 None 0 9.62 kB feross
npm/browser-pack-flat@3.5.0 filesystem Transitive: environment, eval +63 3.96 MB goto-bus-stop
npm/buffer-from@1.1.2 None 0 5.05 kB linusu
npm/cacache@16.1.3 filesystem Transitive: environment +35 969 kB lukekarrys
npm/call-bind@1.0.7 Transitive: eval +9 203 kB ljharb
npm/chalk@4.1.2 None +3 63.1 kB sindresorhus
npm/core-util-is@1.0.3 None 0 4.98 kB isaacs
npm/create-ecdh@4.0.4 None +7 204 kB cwmma
npm/deep-equal@2.2.3 Transitive: eval +40 1.02 MB ljharb
npm/deep-is@0.1.4 None 0 8.11 kB thlorenz
npm/define-data-property@1.1.4 Transitive: eval +6 151 kB ljharb
npm/defined@1.0.1 None 0 10.7 kB ljharb
npm/des.js@1.1.0 None +2 45.3 kB indutny
npm/detective@5.2.1 None +6 1.45 MB bret
npm/diff@5.2.0 None 0 429 kB explodingcabbage
npm/duplexify@4.1.2 None +8 92 kB mafintosh
npm/enquirer@2.4.1 environment +3 224 kB jonschlinkert
npm/es-abstract@1.22.4 Transitive: eval +31 2.81 MB ljharb
npm/es-get-iterator@1.1.3 Transitive: eval +16 328 kB ljharb
npm/es5-ext@0.10.62 eval +7 665 kB medikoo
npm/es6-set@0.1.6 Transitive: eval +9 715 kB medikoo
npm/escalade@3.1.2 filesystem 0 11.6 kB lukeed
npm/escape-string-regexp@4.0.0 None 0 3.79 kB sindresorhus
npm/eslint-import-resolver-node@0.3.9 Transitive: environment, filesystem +8 297 kB ljharb
npm/eslint-module-utils@2.8.0 None +1 43.2 kB ljharb
npm/eslint-plugin-import@2.29.1 filesystem, unsafe Transitive: environment, eval, shell +147 15.6 MB ljharb
npm/eslint-plugin-json@2.1.2 Transitive: environment, filesystem +7 2.56 MB abandeali
npm/eslint-utils@3.0.0 Transitive: environment, eval, filesystem, shell, unsafe +100 11.1 MB mysticatea
npm/eslint-visitor-keys@2.1.0 None 0 24.7 kB eslintbot
npm/eslint@7.32.0 filesystem Transitive: environment, eval, shell, unsafe +98 10.8 MB eslintbot
npm/espree@7.3.1 None +2 1.31 MB eslintbot
npm/esquery@1.5.0 None 0 1 MB michaelficarra
npm/ext@1.7.0 None +1 112 kB medikoo
npm/falafel@2.2.5 None +1 1.28 MB goto-bus-stop
npm/fast-glob@3.3.2 filesystem +16 500 kB mrmlnc
npm/fast-safe-stringify@2.1.1 None 0 39.7 kB matteo.collina
npm/fastq@1.17.1 None +1 51.4 kB matteo.collina
npm/file-entry-cache@6.0.1 filesystem Transitive: environment +14 257 kB royriojas
npm/flat-cache@3.2.0 filesystem Transitive: environment +13 231 kB jaredwray
npm/flatted@3.2.9 None 0 40.1 kB webreflection
npm/get-intrinsic@1.2.4 eval +4 112 kB ljharb
npm/glob@7.2.3 filesystem Transitive: environment +10 145 kB isaacs
npm/globals@13.24.0 None +1 163 kB sindresorhus
npm/globby@11.1.0 filesystem +22 591 kB sindresorhus
npm/has-property-descriptors@1.0.2 None 0 10.9 kB ljharb
npm/has-tostringtag@1.0.2 None +1 38.2 kB ljharb
npm/has@1.0.4 None 0 3.02 kB tarruda
npm/hasown@2.0.1 None +1 42.6 kB ljharb
npm/ieee754@1.2.1 None 0 6.8 kB feross
npm/ignore@5.3.1 None 0 51.5 kB kael
npm/import-fresh@3.3.0 Transitive: filesystem, unsafe +3 19.8 kB sindresorhus
npm/ip-address@9.0.5 None +2 264 kB beaugunderson
npm/is-arguments@1.1.1 Transitive: eval +11 249 kB ljharb
npm/is-bigint@1.0.4 None 0 14.8 kB ljharb
npm/is-boolean-object@1.1.2 Transitive: eval +11 242 kB ljharb
npm/is-callable@1.2.7 None 0 28.9 kB ljharb
npm/is-date-object@1.0.5 None +2 59 kB ljharb
npm/is-glob@4.0.3 None +1 19.8 kB phated
npm/is-map@2.0.2 None 0 12.7 kB ljharb
npm/is-number-object@1.0.7 None +2 60.4 kB ljharb
npm/is-regex@1.1.4 Transitive: eval +11 250 kB ljharb
npm/is-set@2.0.2 None 0 12.3 kB ljharb
npm/is-string@1.0.7 None +2 57.3 kB ljharb
npm/is-symbol@1.0.4 None +1 42.6 kB ljharb
npm/is-typed-array@1.1.13 Transitive: eval +15 348 kB ljharb
npm/is-weakset@2.0.2 Transitive: eval +10 218 kB ljharb
npm/js-yaml@3.14.1 eval Transitive: environment, filesystem +3 757 kB vitaly
npm/jsbn@1.1.0 None 0 46.9 kB andyperlitch
npm/json-parse-even-better-errors@3.0.1 None 0 9.87 kB npm-cli-ops
npm/jsonc-parser@3.2.1 None 0 210 kB vscode-bot
npm/just-extend@4.2.1 None 0 5.93 kB angus-c
npm/make-fetch-happen@10.2.1 environment, network Transitive: filesystem +60 2.47 MB gar
npm/micromatch@4.0.5 None +5 244 kB jonschlinkert
npm/minimist@1.2.8 None 0 54.5 kB ljharb
npm/minipass-fetch@2.1.2 environment, network +7 648 kB gar
npm/minipass@3.3.6 None +1 62.8 kB isaacs
npm/mutexify@1.4.0 None 0 5.71 kB mafintosh
npm/next-tick@1.1.0 None 0 7.65 kB medikoo
npm/nise@4.1.0 environment, eval +7 1.77 MB mrgnrdrck
npm/node-gyp@9.4.1 environment, shell Transitive: filesystem, network +87 4.91 MB lukekarrys
npm/object-inspect@1.13.1 None 0 97.2 kB ljharb
npm/object-is@1.1.5 Transitive: eval +12 265 kB ljharb
npm/object.assign@4.1.5 Transitive: eval +12 315 kB ljharb
npm/object.values@1.1.7 Transitive: eval +32 2.84 MB ljharb
npm/optionator@0.9.3 None +5 151 kB gkz
npm/pbkdf2@3.1.2 Transitive: environment +12 267 kB cwmma
npm/picomatch@2.3.1 None 0 90 kB mrmlnc
npm/proc-log@3.0.0 None 0 5.21 kB lukekarrys
npm/regexp.prototype.flags@1.5.2 Transitive: eval +14 309 kB ljharb
npm/regexpp@3.2.0 None 0 302 kB mysticatea
npm/run-parallel@1.2.0 None 0 6.56 kB feross
npm/scope-analyzer@2.1.2 Transitive: eval +15 812 kB goto-bus-stop
npm/semver@7.6.0 None +2 125 kB npm-cli-ops
npm/set-function-length@1.2.1 Transitive: eval +8 180 kB ljharb
npm/shell-quote@1.8.1 None 0 45 kB ljharb
npm/side-channel@1.0.5 Transitive: eval +11 318 kB ljharb
npm/simple-concat@1.0.1 None 0 4.62 kB feross
npm/sinon@9.2.4 environment, eval +13 7.02 MB mrgnrdrck
npm/slice-ansi@4.0.0 None +4 48.7 kB sindresorhus
npm/socks@2.8.0 network +4 558 kB joshglazebrook
npm/spdx-correct@3.2.0 None +3 51.4 kB kemitchell
npm/spdx-exceptions@2.5.0 None 0 3.47 kB kemitchell
npm/spdx-expression-parse@3.0.1 None +2 27.9 kB kemitchell
npm/spdx-license-ids@3.0.17 None 0 12.6 kB kemitchell
npm/ssri@9.0.1 None +2 100 kB nlf
npm/stream-http@3.2.0 Transitive: network +6 93.7 kB jhiesey
npm/stream-shift@1.0.3 None 0 4.46 kB mafintosh
npm/string.prototype.trim@1.2.8 Transitive: eval +31 2.81 MB ljharb
npm/string.prototype.trimend@1.0.7 Transitive: eval +31 2.81 MB ljharb
npm/string.prototype.trimstart@1.0.7 Transitive: eval +31 2.81 MB ljharb
npm/table@6.8.1 None +9 447 kB gajus-table
npm/tape@5.7.5 Transitive: environment, eval, filesystem +65 3.95 MB
npm/tsconfig-paths@3.15.0 environment, filesystem, unsafe +4 355 kB jonaskello
npm/tsutils@3.21.0 None +2 67.3 MB ajaff
npm/type-fest@0.20.2 None 0 111 kB sindresorhus
npm/typescript@4.9.5 None 0 66.8 MB typescript-bot
npm/unique-filename@2.0.1 None +2 18 kB lukekarrys
npm/unique-slug@3.0.0 None +1 14.5 kB lukekarrys
npm/url@0.11.3 None +1 101 kB ljharb
npm/v8-compile-cache@2.4.0 environment, filesystem, unsafe 0 14.9 kB yungsters
npm/vscode-json-languageservice@3.11.0 Transitive: environment, filesystem +5 1.14 MB aeschli
npm/vscode-languageserver-textdocument@1.0.11 None 0 39.4 kB vscode-bot
npm/vscode-languageserver-types@3.16.0-next.2 None 0 260 kB dbaeumer
npm/vscode-nls@5.2.0 environment, filesystem 0 85.3 kB tylerl0706
npm/vscode-uri@2.1.2 None 0 65.6 kB jrieken
npm/which-boxed-primitive@1.0.2 Transitive: eval +16 335 kB ljharb
npm/which-typed-array@1.1.14 Transitive: eval +14 324 kB ljharb

🚮 Removed packages: npm/@nodelib/fs.stat@2.0.3, npm/@sinonjs/commons@1.7.2, npm/@sinonjs/samsam@5.0.3, npm/@typescript-eslint/eslint-plugin@4.5.0, npm/@typescript-eslint/parser@4.5.0, npm/available-typed-arrays@1.0.2, npm/define-data-property@1.1.1, npm/es-abstract@1.17.5, npm/es5-ext@0.10.53, npm/es6-set@0.1.5, npm/eslint-plugin-import@2.22.1, npm/eslint-plugin-json@2.1.1, npm/eslint@7.11.0, npm/get-intrinsic@1.2.2, npm/glob@7.2.0, npm/has@1.0.3, npm/import-fresh@3.2.1, npm/is-callable@1.1.5, npm/is-date-object@1.0.2, npm/is-glob@4.0.1, npm/is-string@1.0.5, npm/minimist@1.2.7, npm/picomatch@2.2.2, npm/regexpp@3.1.0, npm/semver@7.5.4, npm/sinon@9.0.2, npm/tape@5.0.0, npm/typescript@4.0.3

View full report↗︎

@mcmire
Copy link
Contributor Author

mcmire commented Jun 7, 2023

Hmm, I'll see if I can limit the dependencies above from being bumped.

We use Yarn v3 for our other libraries, so we're following suit here.
@mcmire
Copy link
Contributor Author

mcmire commented Nov 15, 2023

This PR was stale and outdated, so I rebased it.

@mcmire
Copy link
Contributor Author

mcmire commented Feb 13, 2024

Merged changes from main. Ready for review again.

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.

1 participant