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

perf: upgrade json-schema-to-typescript and various other dependencies #9076

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

AlessioGr
Copy link
Member

@AlessioGr AlessioGr commented Nov 7, 2024

This further reduces the amount of dependencies installed by payload. Special thanks to @benmccann for this PR (bcherny/json-schema-to-typescript#639) !

json-schema-to-typescript before this PR (15.0.1):

CleanShot 2024-11-07 at 15 35 53@2x

14mb, 37 dependencies

json-schema-to-typescript after this PR (15.0.3):

CleanShot 2024-11-07 at 15 36 08@2x

11 MB, 14 dependencies

This PR also upgrades:

  • console-table-printer
  • croner
  • get-tsconfig
  • jose
  • pino-pretty
  • ts-essentials
  • tsx

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 9.56 kB types
npm/[email protected] None 0 16.8 kB dougwilson
npm/[email protected] environment Transitive: filesystem +1 261 kB ai
npm/[email protected] None 0 10.8 kB dougwilson
npm/[email protected] None 0 7.36 kB dougwilson
npm/[email protected] None 0 23.3 kB dougwilson
npm/[email protected] None 0 11.5 kB bripkens
npm/[email protected] None 0 54.5 kB alaguna
npm/[email protected] None 0 195 kB alaguna
npm/[email protected] None 0 102 kB evilebottnawi
npm/[email protected] eval 0 81.9 kB evilebottnawi
npm/[email protected] None 0 42.1 kB alaguna
npm/[email protected] None 0 136 kB romainmenke
npm/[email protected] None 0 7.01 kB ludovicofischer
npm/[email protected] environment, filesystem, network 0 51.2 kB tootallnate
npm/[email protected] None 0 38.1 kB evilebottnawi
npm/[email protected] None 0 4.58 kB callumacrae
npm/[email protected] filesystem 0 7.12 kB phated
npm/[email protected] None 0 99.6 kB sibiraj-s
npm/[email protected] filesystem, unsafe 0 119 kB evilebottnawi
npm/[email protected] None 0 10 kB evilebottnawi
npm/[email protected] environment, shell 0 90.8 kB simenb
npm/[email protected] None 0 36.3 kB evilebottnawi
npm/[email protected] None 0 7 kB yeikos
npm/[email protected] unsafe 0 90.8 kB evilebottnawi
npm/[email protected] None 0 21.7 kB ai
npm/[email protected] None 0 7.54 kB dougwilson
npm/[email protected] None 0 54.3 kB goto-bus-stop
npm/[email protected] environment 0 5.66 kB alexeyraspopov
npm/[email protected] None +1 198 kB alaguna
npm/[email protected] None 0 17.2 kB polemius
npm/[email protected] None 0 22.9 kB romainmenke
npm/[email protected] None 0 11 kB alaguna
npm/[email protected] None 0 9.98 kB romainmenke
npm/[email protected] None 0 36.6 kB alaguna
npm/[email protected] None 0 40.2 kB romainmenke
npm/[email protected] None 0 21.3 kB alaguna
npm/[email protected] None 0 14.5 kB alaguna
npm/[email protected] None 0 15.8 kB romainmenke
npm/[email protected] None 0 13.3 kB alaguna
npm/[email protected] None 0 36.3 kB alaguna
npm/[email protected] None 0 8.18 kB semigradsky
npm/[email protected] None 0 8.38 kB alaguna
npm/[email protected] None 0 18.8 kB romainmenke
npm/[email protected] None 0 24.6 kB maximkoretskiy
npm/[email protected] None 0 20.7 kB romainmenke
npm/[email protected] eval, unsafe 0 48.3 kB evilebottnawi
npm/[email protected] None 0 39.9 kB alaguna
npm/[email protected] None 0 12.2 kB evilebottnawi
npm/[email protected] None 0 21 kB evilebottnawi
npm/[email protected] None 0 15 kB evilebottnawi
npm/[email protected] None 0 9.66 kB evilebottnawi
npm/[email protected] None 0 38.9 kB romainmenke
npm/[email protected] None 0 5.17 kB dreamseer
npm/[email protected] None 0 8.5 kB alaguna
npm/[email protected] None +1 160 kB alaguna
npm/[email protected] None 0 58.9 kB ariaminaei
npm/[email protected] None 0 31.7 kB feross
npm/[email protected] environment +1 110 kB evilebottnawi
npm/[email protected] None 0 93.4 kB npm-cli-ops
npm/[email protected] None 0 16.8 kB okuryu
npm/[email protected] None 0 148 kB 7rulnik
npm/[email protected] None 0 57.7 kB evilebottnawi
npm/[email protected] None 0 7.67 kB kdy1
npm/[email protected] None 0 22.3 kB guoyunhe
npm/[email protected] None +1 252 kB evilebottnawi
npm/[email protected] None 0 29.6 kB evilebottnawi
npm/[email protected] None 0 8.75 kB dougwilson
npm/[email protected] environment, filesystem, network +1 1.76 MB valscion
npm/[email protected] environment, filesystem Transitive: shell +2 335 kB evilebottnawi
npm/[email protected] filesystem 0 77.1 kB evilebottnawi
npm/[email protected] None 0 32.8 kB evilebottnawi
npm/[email protected] None 0 36.7 kB sokra
npm/[email protected] environment, filesystem, network, unsafe +1 4.84 MB thelarkinn

🚮 Removed packages: npm/@aws-crypto/[email protected], npm/@aws-crypto/[email protected], npm/@aws-crypto/[email protected], npm/@aws-crypto/[email protected], npm/@aws-crypto/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[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/@bcherny/[email protected], npm/@csstools/[email protected], npm/@csstools/[email protected], npm/@csstools/[email protected], npm/@csstools/[email protected], npm/@csstools/[email protected], npm/@csstools/[email protected], npm/@csstools/[email protected], npm/@date-io/[email protected], npm/@date-io/[email protected], npm/@dnd-kit/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@emotion/[email protected], npm/@eslint-community/[email protected], npm/@eslint-community/[email protected], npm/@eslint/[email protected], npm/@eslint/[email protected], npm/@faceless-ui/[email protected], npm/@faceless-ui/[email protected], npm/@faceless-ui/[email protected], npm/@floating-ui/[email protected], npm/@floating-ui/[email protected], npm/@floating-ui/[email protected], npm/@hapi/[email protected], npm/@hapi/[email protected], npm/@humanwhocodes/[email protected], npm/@humanwhocodes/[email protected], npm/@jest/[email protected], npm/@jest/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@juggle/[email protected], npm/@monaco-editor/[email protected], npm/@payloadcms/[email protected], npm/@payloadcms/[email protected], npm/@payloadcms/[email protected], npm/@payloadcms/[email protected], npm/@polka/[email protected], npm/@popperjs/[email protected], npm/@sideway/[email protected], npm/@sideway/[email protected], npm/@sideway/[email protected], npm/@sinclair/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected], npm/@smithy/[email protected]

View full report↗︎

Copy link

🚨 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 NoteCI
Protestware or potentially unwanted behavior npm/[email protected]
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
⚠︎
Protestware or potentially unwanted behavior npm/[email protected]
  • Note: The script attempts to run a local post-install script, which could potentially contain malicious code. The error handling suggests that it is designed to fail silently, which is a common tactic in malicious scripts.
⚠︎

View full report↗︎

Next steps

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package may come along with functionality unrelated to its primary purpose.

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

@AlessioGr AlessioGr enabled auto-merge (squash) November 7, 2024 22:52
@AlessioGr AlessioGr merged commit 0cd83f0 into beta Nov 7, 2024
60 checks passed
@AlessioGr AlessioGr deleted the perf/upgrade-json-schema-to-typescript branch November 7, 2024 22:54
Copy link

🚀 This is included in version v3.0.0-beta.127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant