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

[FIX] - Particle icon import #2153

Merged
merged 17 commits into from
Apr 12, 2024
Merged

[FIX] - Particle icon import #2153

merged 17 commits into from
Apr 12, 2024

Conversation

Adamj1232
Copy link
Member

Description

Remove the double file type on the Particle icons and fix the import path

@Adamj1232 Adamj1232 requested a review from leightkt April 12, 2024 16:40
@leightkt
Copy link
Contributor

getting an error on the demo now:
'Cannot find module './icon.js''

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/runtime@7.18.9 None +1 229 kB nicolo-ribaudo
npm/@esbuild-plugins/node-globals-polyfill@0.2.3 Transitive: environment, filesystem, network, shell +24 224 MB xmorse
npm/@esbuild-plugins/node-modules-polyfill@0.2.2 filesystem Transitive: environment, network, shell, unsafe +31 226 MB xmorse
npm/@ethersproject/abstract-provider@5.6.1 None 0 60.2 kB ricmoo
npm/@ethersproject/abstract-signer@5.6.2 None 0 82.2 kB ricmoo
npm/@ethersproject/address@5.6.1 None 0 33.1 kB ricmoo
npm/@fontsource/fira-mono@4.5.10 None 0 1.02 MB lotusdevshack
npm/@jridgewell/sourcemap-codec@1.4.14 None 0 40 kB jridgewell
npm/@lit/reactive-element@1.6.1 None +1 800 kB lit-robot
npm/@nodelib/fs.stat@2.0.5 filesystem 0 11.8 kB mrmlnc
npm/@nodelib/fs.walk@1.2.8 Transitive: filesystem +5 111 kB mrmlnc
npm/@rollup/plugin-commonjs@25.0.7 filesystem Transitive: environment +12 861 kB shellscape
npm/@sveltejs/adapter-auto@1.0.0-next.91 environment, filesystem, shell +1 78.4 kB svelte-admin
npm/@sveltejs/kit@1.0.0-next.589 environment, eval, filesystem Transitive: network, unsafe +20 2.75 MB svelte-admin
npm/@types/cookie@0.5.1 None 0 9.76 kB types
npm/@types/estree@1.0.0 None 0 25.7 kB types
npm/@typescript-eslint/eslint-plugin@5.49.0 Transitive: environment, filesystem +26 5.69 MB jameshenry
npm/@typescript-eslint/parser@5.49.0 Transitive: environment, filesystem +15 1.98 MB jameshenry
npm/@unstoppabledomains/resolution@8.5.0 None +1 888 kB dchan0319
npm/@web3-onboard/injected-wallets@2.10.1 None +7 1.19 MB cmeisl
npm/@web3-onboard/react@2.8.11 Transitive: environment +1 62.5 kB cmeisl
npm/@web3-onboard/walletconnect@2.3.9 Transitive: environment, eval, filesystem, network, unsafe +173 34.2 MB cmeisl
npm/ajv@6.12.6 eval +4 1.47 MB esp
npm/ansi-styles@4.3.0 None +2 50.9 kB sindresorhus
npm/array-includes@3.1.5 None 0 22.9 kB ljharb
npm/bignumber.js@9.1.1 None 0 350 kB mikemcl
npm/braces@3.0.2 None +3 98.1 kB doowb
npm/brorand@1.1.0 None 0 3.52 kB indutny
npm/browserify-aes@1.2.0 None +1 34.6 kB cwmma
npm/browserify-rsa@4.1.0 None +1 103 kB cwmma
npm/call-bind@1.0.2 None +1 39.9 kB ljharb
npm/call-bind@1.0.7 None +5 100 kB ljharb
npm/cipher-base@1.0.4 None 0 7.95 kB cwmma
npm/d@1.0.1 None +1 125 kB medikoo
npm/deepmerge@4.3.0 None 0 30.4 kB tehshrike
npm/define-data-property@1.1.4 None +3 62.7 kB ljharb
npm/define-properties@1.1.4 None +1 19.7 kB ljharb
npm/define-properties@1.2.1 None +1 39.4 kB ljharb
npm/es-abstract@1.20.1 None +22 1.79 MB ljharb
npm/es5-ext@0.10.62 eval +1 402 kB medikoo
npm/es6-symbol@3.1.3 None +2 131 kB medikoo
npm/eslint-config-next@12.2.5 unsafe Transitive: environment, eval, filesystem, network +55 42.8 MB vercel-release-bot
npm/eslint-config-prettier@8.6.0 None 0 18.2 kB lydell
npm/eslint-plugin-svelte3@4.0.0 None 0 41.3 kB conduitry
npm/eslint@8.22.0 filesystem Transitive: environment, unsafe +8 3.79 MB eslintbot
npm/eslint@8.33.0 filesystem Transitive: environment, shell, unsafe +61 8.93 MB eslintbot
npm/espree@9.3.3 None 0 75.8 kB eslintbot
npm/estree-walker@2.0.2 None 0 50.2 kB rich_harris
npm/evp_bytestokey@1.0.3 None +1 12.8 kB dcousens
npm/fast-glob@3.2.12 filesystem +1 148 kB mrmlnc
npm/get-intrinsic@1.1.2 eval +2 64.6 kB ljharb
npm/get-intrinsic@1.2.4 eval +5 127 kB ljharb
npm/glob@7.1.7 filesystem 0 55.9 kB isaacs
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/has-property-descriptors@1.0.2 None +1 22.7 kB ljharb
npm/has-tostringtag@1.0.2 None +1 38.2 kB ljharb
npm/hash-base@3.0.4 None 0 6.03 kB dcousens
npm/import-fresh@3.3.0 Transitive: filesystem, unsafe +3 19.8 kB sindresorhus
npm/inherits@2.0.4 None 0 3.96 kB isaacs
npm/is-callable@1.2.4 None 0 20.1 kB ljharb
npm/is-core-module@2.10.0 None +2 55.2 kB ljharb
npm/is-glob@4.0.3 None +1 19.8 kB phated
npm/is-string@1.0.7 None +1 30 kB ljharb
npm/is-symbol@1.0.4 None 0 22 kB ljharb
npm/jsx-ast-utils@3.3.3 None 0 230 kB ljharb
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/minimalistic-assert@1.0.1 None 0 1.55 kB cwmma
npm/minimatch@3.1.2 None +3 57.8 kB isaacs
npm/minimist@1.2.6 None 0 33.2 kB substack
npm/minimist@1.2.7 None 0 50.7 kB ljharb
npm/next-tick@1.1.0 None 0 7.65 kB medikoo
npm/next@12.2.5 environment, filesystem, network, shell, unsafe +20 578 MB vercel-release-bot
npm/normalize-path@3.0.0 None 0 9.22 kB jonschlinkert
npm/object-inspect@1.12.2 None 0 93.6 kB ljharb
npm/object.assign@4.1.3 None 0 1.14 MB ljharb
npm/parse-asn1@5.1.7 Transitive: unsafe +1 71.4 kB ljharb
npm/pbkdf2@3.1.2 None 0 13.8 kB cwmma
npm/picomatch@2.3.1 None 0 90 kB mrmlnc
npm/prettier-plugin-svelte@2.9.0 environment 0 254 kB dummdidumm
npm/prettier@2.8.3 environment, filesystem, unsafe 0 11.7 MB prettier-bot
npm/regexp.prototype.flags@1.4.3 None +1 53.4 kB ljharb
npm/resolve@1.22.1 environment, filesystem +2 160 kB ljharb
npm/ripemd160@2.0.2 None 0 9.79 kB dcousens
npm/rollup-plugin-polyfill-node@0.12.0 None +3 1.52 MB fredkschott
npm/rollup@3.29.4 environment, filesystem +1 2.68 MB lukastaegert
npm/rxjs@7.8.0 None 0 4.49 MB blesh
npm/sade@1.8.1 None +1 44.8 kB lukeed
npm/string-width@3.1.0 None +3 49.6 kB sindresorhus
npm/strip-ansi@6.0.1 None +1 9.64 kB sindresorhus
npm/strip-json-comments@3.1.1 None 0 6.96 kB sindresorhus
npm/svelte-check@3.0.3 Transitive: environment, filesystem +10 4.76 MB svelte-language-tools-deploy
npm/svelte-preprocess@5.0.1 environment, filesystem Transitive: eval +21 2.88 MB dummdidumm
npm/svelte@3.55.1 None 0 9.74 MB conduitry
npm/tslib@2.5.0 None 0 60 kB typescript-bot
npm/type-check@0.4.0 None +1 57.9 kB gkz
npm/typescript@4.9.5 None 0 66.8 MB typescript-bot
npm/util-deprecate@1.0.2 None 0 5.48 kB tootallnate
npm/vite@4.5.3 environment, eval, filesystem, network, shell, unsafe +29 213 MB vitebot
npm/which-typed-array@1.1.15 None +5 122 kB ljharb

🚮 Removed packages: npm/@adraffy/ens-normalize@1.9.0, npm/@babel/helper-module-imports@7.24.3, npm/@babel/helper-string-parser@7.24.1, npm/@babel/runtime@7.23.2, npm/@babel/types@7.24.0, npm/@blocto/dappauth@2.1.0, npm/@chakra-ui/react-utils@1.2.3, npm/@chakra-ui/theme-tools@1.3.6, npm/@chakra-ui/utils@1.10.4, npm/@cosmjs/amino@0.31.0, npm/@cosmjs/crypto@0.31.0, npm/@cosmjs/encoding@0.31.0, npm/@cosmjs/math@0.31.3, npm/@cosmjs/proto-signing@0.31.0, npm/@cosmjs/utils@0.31.3, npm/@emotion/serialize@1.1.4, npm/@ethereumjs/common@3.2.0, npm/@ethereumjs/tx@4.2.0, npm/@ethereumjs/util@8.1.0, npm/@metamask/json-rpc-engine@7.3.3, npm/@metamask/rpc-errors@6.2.1, npm/@metamask/safe-event-emitter@2.0.0, npm/@metamask/utils@5.0.2, npm/@motionone/animation@10.17.0, npm/@motionone/easing@10.17.0, npm/@motionone/generators@10.17.0, npm/@motionone/types@10.17.0, npm/@motionone/utils@10.17.0, npm/@noble/curves@1.2.0, npm/@noble/hashes@1.3.2, npm/@safe-global/safe-apps-provider@0.18.0, npm/@safe-global/safe-apps-sdk@8.1.0, npm/@scure/base@1.1.3, npm/@shapeshiftoss/hdwallet-core@1.52.2, npm/@solana/web3.js@1.87.1, npm/@types/bn.js@5.1.2, npm/@types/lodash@4.17.0, npm/@types/node@10.17.60, npm/@types/ws@8.5.10, npm/@wagmi/connectors@3.1.11, npm/@walletconnect/crypto@1.0.3, npm/@walletconnect/encoding@1.0.2, npm/@walletconnect/keyvaluestorage@1.1.1, npm/@walletconnect/legacy-types@2.0.0, npm/@walletconnect/modal@2.6.2, npm/@walletconnect/types@2.11.0, npm/@walletconnect/utils@2.11.0, npm/@web3-onboard/arcana-auth@2.0.0, npm/@web3-onboard/bitget@2.0.1, npm/@web3-onboard/blocto@2.0.1, npm/@web3-onboard/capsule@2.0.1, npm/@web3-onboard/cede-store@2.2.0, npm/@web3-onboard/coinbase@2.2.7, npm/@web3-onboard/common@2.3.3, npm/@web3-onboard/dcent@2.2.7, npm/@web3-onboard/enkrypt@2.0.4, npm/@web3-onboard/fortmatic@2.0.19, npm/@web3-onboard/frame@2.0.2, npm/@web3-onboard/frontier@2.0.4, npm/@web3-onboard/gas@2.1.8, npm/@web3-onboard/gnosis@2.2.1, npm/@web3-onboard/infinity-wallet@2.0.4, npm/@web3-onboard/injected-wallets@2.10.15, npm/@web3-onboard/keepkey@2.3.8, npm/@web3-onboard/keystone@2.3.8, npm/@web3-onboard/ledger@2.6.0, npm/@web3-onboard/magic@2.1.7, npm/@web3-onboard/metamask@2.0.4, npm/@web3-onboard/mew-wallet@2.0.4, npm/@web3-onboard/particle-network@2.0.0, npm/@web3-onboard/phantom@2.0.3, npm/@web3-onboard/portis@2.1.7, npm/@web3-onboard/sequence@2.0.8, npm/@web3-onboard/taho@2.0.5, npm/@web3-onboard/torus@2.2.6, npm/@web3-onboard/transaction-preview@2.0.8, npm/@web3-onboard/trezor@2.4.4, npm/@web3-onboard/trust@2.0.4, npm/@web3-onboard/uauth@2.1.2, npm/@web3-onboard/venly@2.0.0, npm/@web3-onboard/walletconnect@2.5.4, npm/@web3-onboard/web3auth@2.2.3, npm/@web3-onboard/xdefi@2.0.5, npm/@web3-onboard/zeal@2.0.4, npm/axios@1.4.0, npm/base64url@3.0.1, npm/big-integer@1.6.51, npm/bignumber.js@9.1.2, npm/bip32@2.0.6, npm/bip66@1.1.5, npm/bitcoin-ops@1.4.1, npm/bs58@4.0.1, npm/bs58check@2.1.2, npm/clsx@1.2.1, npm/content-type@1.0.5, npm/copy-to-clipboard@3.3.1, npm/cosmjs-types@0.8.0, npm/cross-env@7.0.3, npm/cross-fetch@3.1.8, npm/css-loader@5.2.7, npm/csstype@3.0.9, npm/eth-query@2.1.2, npm/eth-rpc-errors@4.0.3, npm/ethereumjs-util@6.2.1, npm/ethjs-util@0.1.6, npm/eventemitter3@5.0.1, npm/fast-safe-stringify@2.1.1, npm/follow-redirects@1.15.3, npm/google-protobuf@3.21.2, npm/http@0.0.1-security, npm/https-browserify@1.0.0, npm/is-stream@2.0.1, npm/json-rpc-engine@6.1.0, npm/json-rpc-random-id@1.0.1, npm/keccak@3.0.4, npm/lodash@4.17.21, npm/mime-db@1.52.0, npm/mini-css-extract-plugin@1.6.2, npm/node-fetch@2.7.0, npm/node-forge@1.3.1, npm/os-browserify@0.3.0, npm/parseurl@1.3.3, npm/path-browserify@1.0.1, npm/preact@10.18.1, npm/process@0.11.10, npm/protobufjs@6.11.4, npm/qs@6.11.2, npm/range-parser@1.2.1, npm/rlp@2.2.7, npm/stream-http@3.2.0, npm/svelte-loader@3.1.9, npm/svelte@3.59.2, npm/tiny-secp256k1@1.1.6, npm/typeforce@1.18.0, npm/unpipe@1.0.0, npm/varuint-bitcoin@1.1.2, npm/vary@1.1.2, npm/vconsole@3.15.1, npm/viem@1.16.6, npm/webpack-cli@4.10.0, npm/webpack-dev-server@4.7.4, npm/webpack@5.89.0, npm/wif@2.0.6, npm/ws@8.12.0, npm/xtend@4.0.2

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
Telemetry npm/next@12.2.5
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 . See https://nextjs.org/telemetry for more information
Install scripts npm/core-js-pure@3.24.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Protestware/Troll package npm/es5-ext@0.10.62
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/es5-ext@0.10.62
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
Install scripts npm/esbuild@0.18.20
Install scripts npm/svelte-preprocess@5.0.1
  • Install script: postinstall
  • Source: echo "[svelte-preprocess] Don't forget to install the preprocessors packages that will be used: sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc..."
Install scripts npm/@sveltejs/kit@1.0.0-next.589
  • Install script: postinstall
  • Source: node postinstall.js
Install scripts npm/esbuild@0.20.2

View full report↗︎

Next steps

What is telemetry?

This package contains telemetry which tracks how it is used.

Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.

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.

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 my 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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/next@12.2.5
  • @SocketSecurity ignore npm/core-js-pure@3.24.1
  • @SocketSecurity ignore npm/es5-ext@0.10.62
  • @SocketSecurity ignore npm/esbuild@0.18.20
  • @SocketSecurity ignore npm/svelte-preprocess@5.0.1
  • @SocketSecurity ignore npm/@sveltejs/kit@1.0.0-next.589
  • @SocketSecurity ignore npm/esbuild@0.20.2

@Adamj1232
Copy link
Member Author

getting an error on the demo now: 'Cannot find module './icon.js''

I had to push the icons fix as the new file names were tracked

@Adamj1232 Adamj1232 merged commit 8efb181 into develop Apr 12, 2024
2 of 3 checks passed
@Adamj1232 Adamj1232 deleted the fix/particle_icon_import branch April 12, 2024 17:12
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