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

chore(deps): add 'syncpack' and sync dependencies #52

Closed
wants to merge 6 commits into from
Closed

Conversation

danroc
Copy link
Contributor

@danroc danroc commented Sep 23, 2024

This PR adds the syncpack tool to our workflow to ensure that our dependencies are kept in sync inside the monorepo.

@danroc danroc requested a review from a team as a code owner September 23, 2024 11:56
@danroc danroc self-assigned this Sep 23, 2024
@danroc danroc added the DO-NOT-MERGE PRs related to this issue should not be merged label Sep 23, 2024
Copy link

socket-security bot commented Sep 23, 2024

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

Package New capabilities Transitives Size Publisher
npm/@effect/schema@0.71.1 None 0 2.6 MB michael.arnaldi
npm/@ledgerhq/hw-app-eth@6.38.1 Transitive: environment, filesystem, network +66 97.2 MB aboissiere, gbrahm-ledger, ldg-github-ci, ...5 more
npm/@types/jest@29.5.12 None 0 78.7 kB types
npm/@types/node@20.16.1 None 0 2.1 MB types
npm/chalk-template@1.1.0 None 0 13.7 kB sindresorhus
npm/cli-cursor@4.0.0 None 0 4.45 kB sindresorhus
npm/cli-spinners@2.9.2 None 0 32.1 kB sindresorhus
npm/effect@3.6.5 environment 0 18 MB michael.arnaldi
npm/enquirer@2.4.1 environment 0 189 kB jonschlinkert
npm/fast-check@3.22.0 None 0 1.3 MB ndubien
npm/fast-glob@3.3.2 filesystem 0 96.7 kB mrmlnc
npm/is-interactive@2.0.0 None 0 4.73 kB sindresorhus
npm/is-unicode-supported@2.1.0 None 0 3.96 kB sindresorhus
npm/log-symbols@6.0.0 None 0 4.25 kB sindresorhus
npm/ora@8.0.1 environment 0 26.8 kB sindresorhus
npm/read-yaml-file@2.1.0 filesystem 0 3.34 kB zkochan
npm/restore-cursor@4.0.0 None 0 3.23 kB sindresorhus
npm/stdin-discarder@0.2.2 None 0 4.04 kB sindresorhus
npm/syncpack@13.0.0 None 0 285 kB fold_left
npm/tightrope@0.2.0 None 0 288 kB fold_left
npm/ts-toolbelt@9.6.0 None 0 248 kB pirix-gh

🚮 Removed packages: npm/@inquirer/confirm@0.0.14-alpha.0, npm/@inquirer/core@0.0.15-alpha.0, npm/@inquirer/input@0.0.15-alpha.0, npm/@jest/console@28.1.3, npm/@jest/core@28.1.3, npm/@jest/environment@28.1.3, npm/@jest/expect-utils@28.1.3, npm/@jest/expect@28.1.3, npm/@jest/fake-timers@28.1.3, npm/@jest/globals@28.1.3, npm/@jest/reporters@28.1.3, npm/@jest/schemas@28.1.3, npm/@jest/source-map@28.1.2, npm/@jest/test-result@28.1.3, npm/@jest/test-sequencer@28.1.3, npm/@jest/transform@28.1.3, npm/@jest/types@28.1.3, npm/@ledgerhq/hw-app-eth@6.26.1, npm/@sinclair/typebox@0.24.28, npm/@sinonjs/commons@1.8.6, npm/@sinonjs/fake-timers@9.1.2, npm/@types/jest@28.1.7, npm/@types/node@16.18.108, npm/@types/node@17.0.45, npm/@types/node@18.19.50, npm/@types/node@20.16.5, npm/@types/prettier@2.4.4, npm/babel-jest@28.1.3, npm/babel-plugin-jest-hoist@28.1.3, npm/babel-preset-jest@28.1.3, npm/cli-spinners@2.6.1, npm/cli-width@3.0.0, npm/commander@9.3.0, npm/dedent@0.7.0, npm/diff-sequences@28.1.1, npm/emittery@0.10.2, npm/expect@28.1.3, npm/fast-glob@3.2.12, npm/istanbul-lib-instrument@5.1.0, npm/jest-changed-files@28.1.3, npm/jest-circus@28.1.3, npm/jest-cli@28.1.3, npm/jest-config@28.1.3, npm/jest-diff@28.1.3, npm/jest-docblock@28.1.1, npm/jest-each@28.1.3, npm/jest-environment-node@28.1.3, npm/jest-get-type@28.0.2, npm/jest-haste-map@28.1.3, npm/jest-it-up@2.2.0, npm/jest-leak-detector@28.1.3, npm/jest-matcher-utils@28.1.3, npm/jest-message-util@28.1.3, npm/jest-mock@28.1.3, npm/jest-regex-util@28.0.2, npm/jest-resolve-dependencies@28.1.3, npm/jest-resolve@28.1.3, npm/jest-runner@28.1.3, npm/jest-runtime@28.1.3, npm/jest-snapshot@28.1.3, npm/jest-util@28.1.3, npm/jest-validate@28.1.3, npm/jest-watcher@28.1.3, npm/jest-worker@28.1.3, npm/jest@28.1.3, npm/mute-stream@0.0.8, npm/pretty-format@28.1.3, npm/resolve.exports@1.1.0, npm/rimraf@3.0.2, npm/run-async@2.4.1, npm/shiki@0.11.1, npm/supports-hyperlinks@2.1.0, npm/terminal-link@2.1.1, npm/ts-jest@28.0.8, npm/typedoc@0.23.15, npm/vscode-textmate@6.0.0

View full report↗︎

@danroc danroc marked this pull request as draft September 23, 2024 11:57
Copy link

socket-security bot commented Sep 23, 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 NoteSourceCI
High CVE npm/ws@7.4.6 🚫
New author npm/supports-hyperlinks@2.3.0 🚫
New author npm/bech32@1.1.4 🚫
Network access npm/@ethersproject/providers@5.7.2 🚫
High CVE npm/axios@1.7.3 🚫
Network access npm/axios@1.7.3 🚫

View full report↗︎

Next steps

What is a CVE?

Contains a high severity Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

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 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.

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/ws@7.4.6
  • @SocketSecurity ignore npm/supports-hyperlinks@2.3.0
  • @SocketSecurity ignore npm/bech32@1.1.4
  • @SocketSecurity ignore npm/@ethersproject/providers@5.7.2
  • @SocketSecurity ignore npm/axios@1.7.3

@danroc danroc closed this Sep 23, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 24, 2024
This PR adds the [syncpack](https://jamiemason.github.io/syncpack/) tool
to our workflow to ensure that our dependencies are kept in sync inside
the monorepo.

Replaces #52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO-NOT-MERGE PRs related to this issue should not be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant