MetaMask / key-tree

MIT License
49 stars 19 forks source link

Standardise repo per module template as of July 2023 #139

Closed Mrtenz closed 1 year ago

Mrtenz commented 1 year ago

This updates the repository to match the module template as of July 2023. This includes:

This was done using template-sync, and can be verified using yarn dlx @metamask/template-sync --check.

socket-security[bot] commented 1 year ago

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

Packages Version New capabilities Transitives Size Publisher
@lavamoat/preinstall-always-fail 1.0.0 None +0 2.17 kB kumavis
@types/node 18.7.15 None +0 1.75 MB types
@swc/cli 0.1.62 filesystem, shell, environment +85 388 MB kdy1
depcheck 1.4.3 filesystem +30 12.5 MB rumpl
@swc/core 1.3.68 filesystem, shell, environment +10 384 MB kdy1
ts-jest 27.1.5...28.0.8 None +68/-130 390 MB kul
jest 27.5.1...28.1.3 None +67/-128 390 MB simenb
@types/jest 27.5.2...28.1.8 None +14/-6 2.64 MB types

🚮 Removed packages: @typescript-eslint/eslint-plugin@5.45.0, @typescript-eslint/parser@5.45.0

socket-security[bot] commented 1 year ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: react-is@18.2.0, clone-response@1.0.3, responselike@2.0.1, cosmiconfig@7.1.0, @mole-inc/bin-wrapper@8.0.1, @swc/cli@0.1.62, @swc/core@1.3.68, arch@2.2.0, @jest/expect@28.1.3, @jest/expect-utils@28.1.3, @jest/schemas@28.1.3, @lavamoat/preinstall-always-fail@1.0.0, @nicolo-ribaudo/semver-v6@6.3.3, got@11.8.6, query-ast@1.0.5, scss-parser@1.0.6, semver-compare@1.0.0, loose-envify@1.4.0, depcheck@1.4.3, readable-web-to-node-stream@3.0.2, strip-outer@2.0.0, strip-eof@1.0.0, pump@3.0.0, @tokenizer/token@0.3.0, executable@4.1.1, invariant@2.2.4, bin-check@4.1.0, semver-truncate@3.0.0, please-upgrade-node@3.2.0, sort-keys@1.1.2, lowercase-keys@2.0.0, find-versions@5.1.0, filename-reserved-regex@3.0.0, defer-to-connect@2.0.1, content-disposition@0.5.4, json-buffer@3.0.1, bin-version@6.0.0, deps-regex@0.1.4, @szmarczak/http-timer@4.0.6, @types/http-cache-semantics@4.0.1, is-binary-path@2.1.0, source-map-js@1.0.2, pseudomap@1.0.2, end-of-stream@1.4.4, semver-regex@4.0.5, binary-extensions@2.2.0, multimatch@5.0.0, ext-list@2.2.2, require-package-name@2.0.1, chokidar@3.5.3, array-differ@3.0.0, ieee754@1.2.1, quick-lru@5.1.1, os-filter-obj@2.0.0, sort-keys-length@1.0.1, readdirp@3.6.0, p-finally@1.0.0, arrify@2.0.1, trim-repeated@2.0.0, ext-name@5.0.0, mimic-response@1.0.1, mimic-response@3.1.0, resolve-alpn@1.2.1, http2-wrapper@1.0.3, cacheable-request@7.0.4, cacheable-lookup@5.0.4, @vue/compiler-sfc@3.3.4, sass@1.63.6, semver@6.3.1, semver@7.5.4

Next steps

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 package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

Mrtenz commented 1 year ago

@SocketSecurity ignore-all