swc-project / pkgs

node.js packages for SWC
49 stars 15 forks source link

refactor: Merge `@swc/cli` into the monorepo #11

Closed kdy1 closed 7 months ago

kdy1 commented 7 months ago

We also migrate to lerna from turbo because @swc/cli depend on an old version of @swc/cli, which is cyclic and not supported by turbo.

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 26d98ab1e4bea4421de0498c25bbaf01195ad15a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

socket-security[bot] commented 7 months ago

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

Package New capabilities Transitives Size Publisher
npm/@mole-inc/bin-wrapper@8.0.1 environment, filesystem, network, shell +98 6.66 MB aaharu
npm/@swc/cli@0.1.44 filesystem Transitive: environment, network, shell +29 1.55 MB kdy1
npm/@swc/jest@0.1.2 Transitive: environment, filesystem +1 484 kB kdy1
npm/@types/jest@29.5.0 Transitive: environment, filesystem, unsafe +41 5.62 MB types
npm/@types/node@20.11.5 None +1 4.05 MB types
npm/@types/semver@7.3.13 None 0 23.5 kB types
npm/chokidar@3.5.1 environment, filesystem +13 357 kB paulmillr
npm/commander@7.1.0 filesystem, shell 0 144 kB abetomo
npm/jest@29.5.0 Transitive: environment, eval, filesystem, network, shell, unsafe +250 25.4 MB simenb
npm/lerna@8.0.2 Transitive: environment, eval, filesystem, network, shell, unsafe +523 97.2 MB jameshenry
npm/minimatch@9.0.3 environment +2 452 kB isaacs
npm/path@0.12.7 environment +3 56.1 kB jinder
npm/piscina@4.3.0 unsafe 0 253 kB metcoder95
npm/ts-jest@29.0.5 environment, filesystem, unsafe Transitive: eval, network, shell +256 86.6 MB kul
npm/typescript@4.3.2 None 0 60.7 MB typescript-bot

🚮 Removed packages: npm/@swc/core@1.2.147, npm/@swc/core@1.2.165, npm/@types/estree@1.0.5, npm/@types/json-schema@7.0.11, npm/@types/node@20.4.2, npm/@webassemblyjs/ast@1.11.6, npm/@webassemblyjs/floating-point-hex-parser@1.11.6, npm/@webassemblyjs/helper-api-error@1.11.6, npm/@webassemblyjs/helper-buffer@1.11.6, npm/@webassemblyjs/helper-numbers@1.11.6, npm/@webassemblyjs/helper-wasm-bytecode@1.11.6, npm/@webassemblyjs/helper-wasm-section@1.11.6, npm/@webassemblyjs/ieee754@1.11.6, npm/@webassemblyjs/leb128@1.11.6, npm/@webassemblyjs/utf8@1.11.6, npm/@webassemblyjs/wasm-edit@1.11.6, npm/@webassemblyjs/wasm-gen@1.11.6, npm/@webassemblyjs/wasm-opt@1.11.6, npm/@webassemblyjs/wasm-parser@1.11.6, npm/@webassemblyjs/wast-printer@1.11.6, npm/acorn@8.11.3, npm/caniuse-lite@1.0.30001582, npm/es-module-lexer@1.4.1, npm/graceful-fs@4.2.10, npm/serialize-javascript@6.0.2, npm/terser-webpack-plugin@5.3.10, npm/terser@5.27.0, npm/webpack@5.90.0

View full report↗︎

socket-security[bot] commented 7 months ago

🚨 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
Native code npm/nice-napi@1.0.2
  • orphan: npm/nice-napi@1.0.2

View full report↗︎

Next steps

What's wrong with native code?

Contains native code which could be a vector to obscure malicious code, and generally decrease the likelihood of reproducible or reliable installs.

Ensure that native code bindings are expected. Consumers may consider pure JS and functionally similar alternatives to avoid the challenges and risks associated with native code bindings.

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/nice-napi@1.0.2