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

feat: upgrade dev deps #1676

Merged
merged 1 commit into from
Apr 19, 2024
Merged

feat: upgrade dev deps #1676

merged 1 commit into from
Apr 19, 2024

Conversation

limpbrains
Copy link
Collaborator

@limpbrains limpbrains commented Apr 15, 2024

Description

upgrade Dev dependencies

Linked Issues/Tasks

Type of change

Refactoring

Tests

No test

QA Notes

No special check required

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/core@7.24.4 environment, filesystem, unsafe +3 902 kB nicolo-ribaudo
npm/@babel/generator@7.24.4 None +3 776 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.24.1 None 0 430 kB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.22.1 None +1 80.8 kB nicolo-ribaudo
npm/@babel/helper-hoist-variables@7.22.5 None 0 7.03 kB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.23.0 None 0 55 kB nicolo-ribaudo
npm/@babel/helper-optimise-call-expression@7.22.5 None 0 6.66 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.24.1 None 0 32.2 kB nicolo-ribaudo
npm/@babel/helper-skip-transparent-expression-wrappers@7.22.5 None 0 5.96 kB nicolo-ribaudo
npm/@babel/helpers@7.24.4 None 0 650 kB nicolo-ribaudo
npm/@babel/parser@7.24.4 None 0 1.88 MB nicolo-ribaudo
npm/@babel/plugin-proposal-class-properties@7.18.6 None 0 3.34 kB nicolo-ribaudo
npm/@babel/plugin-proposal-nullish-coalescing-operator@7.18.6 None 0 4.41 kB nicolo-ribaudo
npm/@babel/plugin-proposal-optional-chaining@7.21.0 None 0 33.2 kB nicolo-ribaudo
npm/@babel/plugin-syntax-export-default-from@7.18.6 None 0 2.79 kB nicolo-ribaudo
npm/@babel/plugin-syntax-flow@7.21.4 None 0 5.42 kB nicolo-ribaudo
npm/@babel/plugin-syntax-jsx@7.21.4 None 0 4.13 kB nicolo-ribaudo
npm/@babel/plugin-syntax-nullish-coalescing-operator@7.8.3 None 0 2.63 kB nicolo-ribaudo
npm/@babel/plugin-syntax-numeric-separator@7.10.4 None 0 2.75 kB jlhwung
npm/@babel/plugin-syntax-optional-chaining@7.8.3 None 0 2.52 kB nicolo-ribaudo
npm/@babel/plugin-syntax-top-level-await@7.14.5 None 0 2.74 kB nicolo-ribaudo
npm/@babel/plugin-syntax-typescript@7.21.4 None 0 6.86 kB nicolo-ribaudo
npm/@babel/plugin-transform-arrow-functions@7.24.1 None 0 5.55 kB nicolo-ribaudo
npm/@babel/plugin-transform-async-to-generator@7.24.1 None +3 97.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoping@7.24.4 None 0 88.1 kB nicolo-ribaudo
npm/@babel/plugin-transform-classes@7.24.1 None +1 127 kB nicolo-ribaudo
npm/@babel/plugin-transform-computed-properties@7.24.1 None 0 22.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-destructuring@7.24.1 None 0 81.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-flow-strip-types@7.21.0 None 0 17.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-function-name@7.24.1 None 0 6.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-literals@7.24.1 None 0 4.63 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-commonjs@7.24.1 None 0 42.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-named-capturing-groups-regex@7.22.5 None +1 58.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.24.1 None 0 64.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-private-methods@7.24.1 None 0 4.69 kB nicolo-ribaudo
npm/@babel/plugin-transform-private-property-in-object@7.24.1 None +1 22.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-shorthand-properties@7.24.1 None 0 7.11 kB nicolo-ribaudo
npm/@babel/plugin-transform-spread@7.24.1 None 0 21.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-sticky-regex@7.24.1 None 0 4.64 kB nicolo-ribaudo
npm/@babel/plugin-transform-typescript@7.22.3 None 0 126 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-regex@7.24.1 None +1 57.7 kB nicolo-ribaudo
npm/@babel/preset-env@7.24.4 environment, filesystem +61 2.52 MB nicolo-ribaudo
npm/@babel/runtime@7.24.4 None 0 262 kB nicolo-ribaudo
npm/@commitlint/cli@19.2.2 Transitive: environment, eval, filesystem, shell, unsafe +42 3.26 MB escapedcat
npm/@commitlint/config-conventional@19.2.2 Transitive: filesystem +3 78.3 kB escapedcat
npm/@hyperswarm/dht@6.5.1 None +6 179 kB mafintosh
npm/@jest/types@29.6.3 None +6 129 kB simenb
npm/@mikro-orm/core@5.7.12 environment, eval, filesystem, unsafe +19 3.95 MB b4nan
npm/@mikro-orm/mongodb@5.7.12 Transitive: environment, eval, filesystem, unsafe +17 2.76 MB b4nan
npm/@noble/hashes@1.3.1 None 0 743 kB paulmillr
npm/@synonymdev/slashtag@1.0.0-wip.2 None +11 239 kB nzh
npm/@synonymdev/slashtags-rpc@1.0.0-alpha.2 None +1 21.5 kB nzh
npm/@types/b4a@1.6.4 None 0 8.93 kB types
npm/@types/babel__traverse@7.20.0 None 0 165 kB types
npm/@types/jest@29.5.12 None +1 224 kB types
npm/@types/lodash@4.17.0 None 0 862 kB types
npm/@types/node@20.3.2 None 0 3.79 MB types
npm/@types/react@18.2.78 None +2 1.66 MB types
npm/@types/redux-logger@3.0.13 None 0 6.89 kB types
npm/@types/styled-components-react-native@5.2.5 None +4 1.65 MB types
npm/@types/uuid@9.0.8 None 0 6.74 kB types
npm/@typescript-eslint/utils@5.62.0 Transitive: environment, filesystem +10 2.75 MB jameshenry
npm/acorn-walk@8.2.0 None 0 42.8 kB marijn
npm/acorn@8.8.2 None 0 467 kB marijn
npm/ajv@8.12.0 eval Transitive: unsafe +3 1.52 MB esp
npm/ansi-styles@4.3.0 None +2 50.9 kB sindresorhus
npm/b4a@1.6.3 None 0 27.5 kB kasperisager
npm/babel-plugin-polyfill-corejs2@0.4.10 Transitive: unsafe +3 328 kB nicolo-ribaudo
npm/bs58check@2.1.2 None 0 4.79 kB dcousens
npm/bson@5.5.1 None 0 2.28 MB dbx-node
npm/colorette@2.0.19 None 0 17 kB jorgebucaran
npm/commander@9.5.0 environment, filesystem, shell 0 173 kB abetomo
npm/compact-encoding-net@1.2.0 None 0 12.5 kB kasperisager
npm/compact-encoding@2.11.0 None 0 47.8 kB mafintosh
npm/core-js-compat@3.33.2 None 0 686 kB zloirock
npm/create-hash@1.2.0 None 0 5.21 kB cwmma
npm/create-hmac@1.1.7 None 0 5.81 kB cwmma
npm/cross-fetch@3.1.8 network +1 125 kB lquixada
npm/detox@20.20.2 environment, eval, filesystem, network, shell, unsafe +8 8.31 MB wix.mobile
npm/dht-rpc@6.7.0 None 0 59.4 kB mafintosh
npm/dotenv@16.1.4 environment, filesystem 0 67.6 kB motdotla
npm/eslint-scope@5.1.1 None 0 78.4 kB eslintbot
npm/eslint@8.57.0 environment, filesystem +14 4.85 MB eslintbot
npm/fetch-blob@3.2.0 None 0 21.8 kB endless
npm/flow-parser@0.206.0 None 0 768 kB flowtype
npm/follow-redirects@1.15.5 network 0 29.4 kB rubenverborgh
npm/fs-extra@11.1.1 None 0 59.5 kB ryanzim
npm/grenache-nodejs-link@0.7.12 None 0 43.2 kB prdn
npm/hoist-non-react-statics@3.3.2 None 0 38.9 kB mridgway
npm/husky@9.0.11 environment, filesystem, shell 0 3.61 kB typicode
npm/hyperbee@2.8.0 None 0 83.4 kB mafintosh
npm/hypercore-crypto@3.3.1 None 0 9.87 kB mafintosh
npm/hyperdrive@11.0.0-alpha.11 None 0 21.6 kB mafintosh
npm/ignore@5.2.4 None 0 51.2 kB kael
npm/invariant@2.2.4 None 0 7.64 kB zertosh
npm/jest-util@29.7.0 environment +2 53.3 kB simenb
npm/metro-config@0.80.7 filesystem Transitive: eval +2 465 kB metro-bot
npm/metro-runtime@0.80.7 None 0 73.3 kB metro-bot
npm/mikro-orm@5.7.14 None 0 18.2 kB b4nan
npm/mkdirp@0.5.6 filesystem 0 7.69 kB isaacs
npm/mongodb@5.6.0 environment, filesystem, network 0 2.62 MB w-a-james
npm/nanoid@3.3.6 None 0 21.7 kB ai
npm/noise-curve-ed@2.0.1 None +1 9.55 kB chm-diederichs
npm/noise-handshake@3.0.2 None +1 40 kB mafintosh
npm/pretty-format@29.5.0 None 0 60.2 kB simenb
npm/protomux@3.4.1 None 0 30 kB mafintosh
npm/readable-stream@3.6.2 environment +1 134 kB matteo.collina
npm/redux-flipper@2.0.3 None 0 10.6 kB plwai
npm/resolve@1.22.2 environment, filesystem +2 158 kB ljharb
npm/safety-catch@1.0.2 None 0 2.77 kB mafintosh
npm/sodium-universal@4.0.0 None +9 3.94 MB mafintosh
npm/streamx@2.13.2 None 0 44.4 kB mafintosh
npm/timeout-refresh@2.0.1 None 0 7.9 kB mafintosh
npm/typeforce@1.18.0 None 0 19.1 kB dcousens
npm/typescript@5.4.5 None 0 32.4 MB typescript-bot
npm/wif@2.0.6 None 0 8.31 kB dcousens
npm/yargs@17.7.2 environment, filesystem +3 357 kB oss-bot

🚮 Removed packages: npm/@babel/core@7.24.3, npm/@babel/generator@7.24.1, npm/@babel/helpers@7.24.1, npm/@babel/parser@7.24.1, npm/@babel/preset-env@7.24.3, npm/@babel/runtime@7.24.1, npm/@commitlint/cli@18.2.0, npm/@commitlint/config-conventional@18.1.0, npm/@types/b4a@1.6.3, npm/@types/jest@29.5.7, npm/@types/lodash@4.14.201, npm/@types/react@18.2.73, npm/@types/redux-logger@3.0.12, npm/@types/styled-components-react-native@5.2.4, npm/@types/uuid@9.0.7, npm/assert-plus@1.0.0, npm/async@3.2.5, npm/bn.js@4.12.0, npm/brorand@1.1.0, npm/buffer@5.7.1, npm/combined-stream@1.0.8, npm/console-control-strings@1.1.0, npm/decamelize@1.2.0, npm/decode-uri-component@0.2.2, npm/deepmerge@4.3.1, npm/define-data-property@1.1.1, npm/detox@20.17.0, npm/diff-sequences@29.6.3, npm/end-of-stream@1.4.4, npm/entities@4.5.0, npm/escape-html@1.0.3, npm/eslint@8.53.0, npm/esprima@4.0.1, npm/estraverse@5.3.0, npm/event-target-shim@5.0.1, npm/extsprintf@1.3.0, npm/function.prototype.name@1.1.6, npm/get-caller-file@2.0.5, npm/has-bigints@1.0.2, npm/husky@8.0.3, npm/is-array-buffer@3.0.2, npm/is-callable@1.2.7, npm/is-date-object@1.0.5, npm/is-docker@2.2.1, npm/is-string@1.0.7, npm/is-symbol@1.0.4, npm/is-typed-array@1.1.12, npm/istanbul-lib-coverage@3.2.0, npm/kind-of@6.0.3, npm/mime-db@1.52.0, npm/mime-types@2.1.35, npm/minimalistic-assert@1.0.1, npm/neo-async@2.6.2, npm/once@1.4.0, npm/path-key@3.1.1, npm/redux-flipper@2.0.2, npm/regexp.prototype.flags@1.5.1, npm/safer-buffer@2.1.2, npm/set-blocking@2.0.0, npm/set-function-name@2.0.1, npm/shell-quote@1.8.1, npm/signal-exit@3.0.7, npm/source-map@0.6.1, npm/strip-ansi@6.0.1, npm/tweetnacl@0.14.5, npm/type-check@0.4.0, npm/typescript@5.3.3, npm/unpipe@1.0.0, npm/yargs-parser@21.1.1

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 NoteSource
Install scripts npm/protobufjs@7.2.4
  • Install script: postinstall
  • Source: node scripts/postinstall
Install scripts npm/protobufjs@6.11.3
  • Install script: postinstall
  • Source: node scripts/postinstall
Install scripts npm/tiny-secp256k1@1.1.6
  • Install script: install
  • Source: npm run build || echo "secp256k1 bindings compilation fail. Pure JS implementation will be used."
Install scripts npm/mongodb-memory-server@8.12.2
  • Install script: postinstall
  • Source: node ./postinstall.js

View full report↗︎

Next steps

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.

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/protobufjs@7.2.4
  • @SocketSecurity ignore npm/protobufjs@6.11.3
  • @SocketSecurity ignore npm/tiny-secp256k1@1.1.6
  • @SocketSecurity ignore npm/mongodb-memory-server@8.12.2

@limpbrains
Copy link
Collaborator Author

limpbrains commented Apr 18, 2024

Regarding socket Security issues - we already have those dependencies in our package.json.
We can't get rid of tiny-secp256k1 or protobufjs. But we should try to remove mongodb-memory-server
https://github.com/synonymdev/blocktank-lsp-http/issues/99

@limpbrains limpbrains marked this pull request as ready for review April 18, 2024 09:11
@limpbrains limpbrains requested a review from pwltr April 18, 2024 09:11
@limpbrains limpbrains merged commit fef7e9c into master Apr 19, 2024
5 of 6 checks passed
@limpbrains limpbrains deleted the update-dev-deps branch April 19, 2024 15:26
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