OpenZeppelin / contracts-wizard

Interactive smart contract generator based on OpenZeppelin Contracts.
https://wizard.openzeppelin.com
MIT License
245 stars 135 forks source link

Remove uuid dependency from UI #367

Closed ericglau closed 2 months ago

ericglau commented 2 months ago

This dependency does not seem to be used, so it can be removed.

Replaces / Closes https://github.com/OpenZeppelin/contracts-wizard/pull/365

socket-security[bot] commented 2 months ago

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

Package New capabilities Transitives Size Publisher
npm/@nomicfoundation/hardhat-toolbox@5.0.0 environment Transitive: eval, filesystem, network, shell, unsafe +435 158 MB kanej

🚮 Removed packages: npm/@types/file-saver@2.0.7, npm/@types/parse-json@4.0.2, npm/@types/pug@2.0.10, npm/@types/resize-observer-browser@0.1.11, npm/@types/semver@7.5.8, npm/@types/uuid@9.0.8, npm/@vercel/nft@0.26.5, npm/any-promise@1.3.0, npm/array-buffer-byte-length@1.0.1, npm/array-find-index@1.0.2, npm/array.prototype.findlast@1.2.5, npm/array.prototype.flat@1.3.2, npm/array.prototype.flatmap@1.3.2, npm/arrgv@1.0.2, npm/arrify@3.0.0, npm/autoprefixer@10.4.19, npm/ava@6.1.3, npm/buffer-crc32@0.2.13, npm/callsites@4.1.0, npm/camelcase-css@2.0.1, npm/caniuse-lite@1.0.30001629, npm/ci-info@4.0.0, npm/colord@2.9.3, npm/commander@7.2.0, npm/console-clear@1.1.1, npm/cosmiconfig@7.1.0, npm/css-select@5.1.0, npm/css-tree@2.3.1, npm/css-what@6.1.0, npm/csso@5.0.5, npm/decode-uri-component@0.2.2, npm/define-properties@1.2.1, npm/detect-indent@6.1.0, npm/didyoumean@1.2.2, npm/dlv@1.1.3, npm/dom-serializer@2.0.0, npm/domelementtype@2.3.0, npm/domhandler@5.0.3, npm/domutils@3.1.0, npm/entities@4.5.0, npm/es-abstract@1.23.3, npm/es-shim-unscopables@1.0.2, npm/es6-promise@3.3.1, npm/eventemitter3@4.0.7, npm/file-saver@2.0.5, npm/filter-obj@1.1.0, npm/has-bigints@1.0.2, npm/has-tostringtag@1.0.2, npm/highlight.js@11.9.0, npm/highlightjs-cairo@0.4.0, npm/highlightjs-solidity@2.0.6, npm/icss-utils@5.1.0, npm/immediate@3.0.6, npm/is-arguments@1.1.1, npm/is-callable@1.2.7, npm/is-generator-function@1.0.10, npm/is-shared-array-buffer@1.0.3, npm/is-string@1.0.7, npm/is-symbol@1.0.4, npm/is-typed-array@1.1.13, npm/isarray@2.0.5, npm/jest-worker@26.6.2, npm/jiti@1.21.3, npm/jszip@3.10.1, npm/kleur@4.1.5, npm/livereload-js@3.4.1, npm/livereload@0.9.3, npm/local-access@1.1.0, npm/mdn-data@2.0.30, npm/min-indent@1.0.1, npm/mri@1.2.0, npm/mrmime@2.0.0, npm/mz@2.7.0, npm/normalize-url@6.1.0, npm/object-hash@3.0.0, npm/p-queue@6.6.2, npm/path-browserify@1.0.1, npm/pify@2.3.0, npm/pirates@4.0.6, npm/postcss-import@15.1.0, npm/postcss-js@4.0.1, npm/postcss-load-config@4.0.2, npm/postcss-load-config@6.0.1, npm/postcss-merge-longhand@7.0.1, npm/postcss-merge-rules@7.0.1, npm/postcss-minify-font-values@7.0.0, npm/postcss-minify-gradients@7.0.0, npm/postcss-minify-params@7.0.0, npm/postcss-minify-selectors@7.0.1, npm/postcss-modules-extract-imports@3.1.0, npm/postcss-modules-local-by-default@4.0.5, npm/postcss-modules-scope@3.2.0, npm/postcss-modules-values@4.0.0, npm/postcss-nested@6.0.1, npm/postcss-normalize-charset@7.0.0, npm/postcss-normalize-display-values@7.0.0, npm/postcss-normalize-positions@7.0.0, npm/postcss-normalize-repeat-style@7.0.0, npm/postcss-normalize-string@7.0.0, npm/postcss-normalize-timing-functions@7.0.0, npm/postcss-normalize-unicode@7.0.0, npm/postcss-normalize-url@7.0.0, npm/postcss-normalize-whitespace@7.0.0, npm/postcss-ordered-values@7.0.0, npm/postcss-reduce-initial@7.0.0, npm/postcss-reduce-transforms@7.0.0, npm/postcss-selector-parser@6.1.0, npm/postcss-svgo@7.0.1, npm/postcss-unique-selectors@7.0.1, npm/postcss-value-parser@4.2.0, npm/query-string@7.1.3, npm/resolve.exports@2.0.2, npm/rimraf@5.0.7, npm/rollup-plugin-livereload@2.0.5, npm/rollup-plugin-styles@4.0.0, npm/rollup-plugin-svelte@7.2.2, npm/rollup-plugin-terser@7.0.2, npm/rollup@2.79.1, npm/rollup@4.18.0, npm/sade@1.8.1, npm/sander@0.5.1, npm/semiver@1.1.0, npm/sirv-cli@2.0.2, npm/solidity-ast@0.4.56, npm/sorcery@0.11.0, npm/source-map-js@1.2.0, npm/strip-indent@3.0.0, npm/sucrase@3.35.0, npm/svelte-check@3.8.0, npm/svelte-preprocess@5.1.4, npm/svelte@3.59.2, npm/svelte@4.2.18, npm/tailwindcss@3.4.4, npm/tippy.js@6.3.7, npm/util@0.12.5, npm/uuid@9.0.1, npm/which-typed-array@1.1.15, npm/yaml@1.10.2

View full report↗︎

socket-security[bot] commented 2 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 NoteSourceCI
CVE npm/ws@8.5.0 🚫

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.

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@8.5.0
ericglau commented 2 months ago

The socket-security issue above should be addressed separately, as it is unrelated to this PR.