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: support mutiple lines in Toast Message #4501

Draft
wants to merge 31 commits into
base: x
Choose a base branch
from
Draft

Conversation

huhuanming
Copy link
Contributor

No description provided.

Copy link

codesandbox bot commented Apr 25, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

what-the-diff bot commented Apr 25, 2024

PR Summary

  • Updated Dependencies
    Two additional dependencies were included in the project files for enhanced functionality. The 'mobile/package.json' got a new dependency '@backpackapp-io/react-native-toast' and another one, 'sonner' was added to 'package.json'.

  • Refactoring Toast Component
    The Toast component files underwent significant changes. A specific file 'ShowToaster.tsx' was renamed to 'ShowCustom.tsx', and its export name was changed correspondingly.

  • Deletion and Addition of Files
    The file 'Toast.native.tsx' was completely removed from the project structure. In contrast, a new file 'Toaster.native.tsx' was inserted to provide updated features.

  • Updated Component Import Statements
    The contents of 'Toaster.tsx' and 'index.tsx' were altered. The updated import statement now pulls 'Toaster' from the newly included 'sonner' library, and certain props were introduced to the 'Toaster' component. In addition, 'index.tsx' had its import statements changed, and it now reexports the 'useToaster' hook and 'IShowToasterProps' type from 'ShowCustom.tsx'.

  • Added New Files
    Three new files named 'showMessage.native.tsx','showMessage.tsx', and 'type.ts' were added under the Toast actions.

  • Updated React Provider Structure
    The file 'index.tsx' under 'kit/src/provider' was amended to nest the 'ThemeProvider' component within the 'GestureHandlerRootView' component.

  • Developer Pages Gallery Modification
    Changes were also incorporated into 'Toast.tsx' in the 'Developer/pages/Gallery/Components/stories', where new buttons rendering different toast messages and durations were added.

  • Introduced New Constant
    A fresh constant 'TOAST_Z_INDEX' was added to 'overlayUtils.ts'.

Copy link

socket-security bot commented Apr 25, 2024

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

Package New capabilities Transitives Size Publisher
npm/@ampproject/remapping@2.3.0 None 0 78.9 kB jridgewell
npm/@babel/code-frame@7.24.2 environment 0 24.1 kB nicolo-ribaudo
npm/@babel/core@7.24.5 environment, filesystem, unsafe 0 782 kB nicolo-ribaudo
npm/@babel/generator@7.24.5 None 0 493 kB nicolo-ribaudo
npm/@babel/helper-annotate-as-pure@7.22.5 None 0 4.02 kB nicolo-ribaudo
npm/@babel/helper-builder-binary-assignment-operator-visitor@7.22.15 None 0 13.5 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.23.6 None +2 136 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.24.5 None 0 502 kB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.22.15 None 0 27 kB nicolo-ribaudo
npm/@babel/helper-function-name@7.23.0 None 0 21.6 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.24.5 None 0 107 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.24.3 None 0 63.8 kB nicolo-ribaudo
npm/@babel/helper-module-transforms@7.24.5 None 0 158 kB nicolo-ribaudo
npm/@babel/helper-optimise-call-expression@7.22.5 None 0 6.66 kB nicolo-ribaudo
npm/@babel/helper-remap-async-to-generator@7.22.20 None 0 9.96 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.24.1 None 0 32.2 kB nicolo-ribaudo
npm/@babel/helper-simple-access@7.24.5 None 0 14.1 kB nicolo-ribaudo
npm/@babel/helper-skip-transparent-expression-wrappers@7.22.5 None 0 5.96 kB nicolo-ribaudo
npm/@babel/helper-split-export-declaration@7.24.5 None 0 10.7 kB nicolo-ribaudo
npm/@babel/helper-wrap-function@7.24.5 None 0 73.6 kB nicolo-ribaudo
npm/@babel/helpers@7.24.5 None 0 650 kB nicolo-ribaudo
npm/@babel/highlight@7.24.5 environment 0 20.3 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.24.1 None 0 7.74 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.24.1 None 0 10.7 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.24.1 None 0 25.1 kB nicolo-ribaudo
npm/@babel/plugin-syntax-async-generators@7.8.4 None 0 2.52 kB nicolo-ribaudo
npm/@babel/plugin-syntax-class-properties@7.12.13 None 0 2.68 kB nicolo-ribaudo
npm/@babel/plugin-syntax-class-static-block@7.14.5 None 0 2.74 kB nicolo-ribaudo
npm/@babel/plugin-syntax-dynamic-import@7.8.3 None 0 2.47 kB nicolo-ribaudo
npm/@babel/plugin-syntax-export-namespace-from@7.8.3 None 0 2.62 kB nicolo-ribaudo
npm/@babel/plugin-syntax-import-assertions@7.24.1 None 0 3.65 kB nicolo-ribaudo
npm/@babel/plugin-syntax-import-attributes@7.24.1 None 0 5.12 kB nicolo-ribaudo
npm/@babel/plugin-syntax-import-meta@7.10.4 None 0 2.56 kB jlhwung
npm/@babel/plugin-syntax-json-strings@7.8.3 None 0 2.58 kB nicolo-ribaudo
npm/@babel/plugin-syntax-logical-assignment-operators@7.10.4 None 0 2.74 kB jlhwung
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-object-rest-spread@7.8.3 None 0 2.53 kB nicolo-ribaudo
npm/@babel/plugin-syntax-optional-catch-binding@7.8.3 None 0 2.57 kB nicolo-ribaudo
npm/@babel/plugin-syntax-optional-chaining@7.8.3 None 0 2.52 kB nicolo-ribaudo
npm/@babel/plugin-syntax-private-property-in-object@7.14.5 None 0 2.82 kB nicolo-ribaudo
npm/@babel/plugin-syntax-top-level-await@7.14.5 None 0 2.74 kB nicolo-ribaudo
npm/@babel/plugin-syntax-unicode-sets-regex@7.18.6 None 0 3.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-arrow-functions@7.24.1 None 0 5.55 kB nicolo-ribaudo
npm/@babel/plugin-transform-async-generator-functions@7.24.3 None 0 20.6 kB nicolo-ribaudo
npm/@babel/plugin-transform-async-to-generator@7.24.1 None 0 7.97 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoped-functions@7.24.1 None 0 6.55 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoping@7.24.5 None 0 155 kB nicolo-ribaudo
npm/@babel/plugin-transform-class-properties@7.24.1 None 0 4.87 kB nicolo-ribaudo
npm/@babel/plugin-transform-class-static-block@7.24.4 None 0 10.3 kB nicolo-ribaudo
npm/@babel/plugin-transform-classes@7.24.5 None 0 160 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.5 None 0 148 kB nicolo-ribaudo
npm/@babel/plugin-transform-dotall-regex@7.24.1 None 0 4.1 kB nicolo-ribaudo
npm/@babel/plugin-transform-duplicate-keys@7.24.1 None 0 9.11 kB nicolo-ribaudo
npm/@babel/plugin-transform-dynamic-import@7.24.1 None 0 6.28 kB nicolo-ribaudo
npm/@babel/plugin-transform-exponentiation-operator@7.24.1 None 0 4.95 kB nicolo-ribaudo
npm/@babel/plugin-transform-export-namespace-from@7.24.1 None 0 8.19 kB nicolo-ribaudo
npm/@babel/plugin-transform-for-of@7.24.1 None 0 44.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-function-name@7.24.1 None 0 6.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-json-strings@7.24.1 None 0 5.96 kB nicolo-ribaudo
npm/@babel/plugin-transform-literals@7.24.1 None 0 4.63 kB nicolo-ribaudo
npm/@babel/plugin-transform-logical-assignment-operators@7.24.1 None 0 8.65 kB nicolo-ribaudo
npm/@babel/plugin-transform-member-expression-literals@7.24.1 None 0 4.94 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-amd@7.24.1 None 0 20.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-commonjs@7.24.1 None 0 42.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-systemjs@7.24.1 None 0 65.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-umd@7.24.1 None 0 25.6 kB nicolo-ribaudo
npm/@babel/plugin-transform-named-capturing-groups-regex@7.22.5 None 0 4.87 kB nicolo-ribaudo
npm/@babel/plugin-transform-new-target@7.24.1 None 0 10.3 kB nicolo-ribaudo
npm/@babel/plugin-transform-nullish-coalescing-operator@7.24.1 None 0 9.15 kB nicolo-ribaudo
npm/@babel/plugin-transform-numeric-separator@7.24.1 None 0 5.47 kB nicolo-ribaudo
npm/@babel/plugin-transform-object-rest-spread@7.24.5 None 0 139 kB nicolo-ribaudo
npm/@babel/plugin-transform-object-super@7.24.1 None 0 9.23 kB nicolo-ribaudo
npm/@babel/plugin-transform-optional-catch-binding@7.24.1 None 0 4.87 kB nicolo-ribaudo
npm/@babel/plugin-transform-optional-chaining@7.24.5 None 0 104 kB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.24.5 None 0 132 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.5 None 0 87.1 kB nicolo-ribaudo
npm/@babel/plugin-transform-property-literals@7.24.1 None 0 4.72 kB nicolo-ribaudo
npm/@babel/plugin-transform-regenerator@7.24.1 None 0 6.82 kB nicolo-ribaudo
npm/@babel/plugin-transform-reserved-words@7.24.1 None 0 4.28 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-template-literals@7.24.1 None 0 15.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-typeof-symbol@7.24.5 None 0 76.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-escapes@7.24.1 None 0 13.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-property-regex@7.24.1 None 0 5 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-regex@7.24.1 None 0 3.94 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-sets-regex@7.24.1 None 0 4.67 kB nicolo-ribaudo
npm/@babel/preset-modules@0.1.6-no-external-plugins None 0 38.6 kB nicolo-ribaudo
npm/@babel/runtime@7.24.5 None 0 262 kB nicolo-ribaudo
npm/@babel/template@7.24.0 None 0 68.9 kB nicolo-ribaudo
npm/@babel/traverse@7.24.5 None 0 618 kB nicolo-ribaudo
npm/@babel/types@7.24.5 environment 0 2.41 MB nicolo-ribaudo
npm/@jridgewell/gen-mapping@0.3.5 None 0 81.6 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.25 None 0 169 kB jridgewell
npm/@mysten/bcs@0.7.4 None 0 360 kB ebmifa
npm/@mysten/sui.js@0.41.2 network 0 4.63 MB ebmifa
npm/@mysten/wallet-standard@0.7.2 None 0 52.1 kB ebmifa
npm/@noble/curves@1.4.0 None 0 1.39 MB paulmillr
npm/@noble/hashes@1.4.0 None 0 773 kB paulmillr
npm/@onekeyfe/cross-inpage-provider-events@2.0.0-alpha.5 None 0 26.9 kB 1keyfe
npm/@onekeyfe/desktop-bridge-injected@2.0.0-alpha.5 None 0 16.5 kB 1keyfe
npm/@onekeyfe/extension-bridge-injected@2.0.0-alpha.5 None 0 19 kB 1keyfe
npm/@onekeyfe/hd-transport-http@1.0.0-alpha.9 Transitive: environment, network +3 1.08 MB 1keyfe
npm/@onekeyfe/hd-transport-react-native@1.0.0-alpha.9 environment 0 62.7 kB 1keyfe
npm/@onekeyfe/hd-transport-webusb@1.0.0-alpha.9 None 0 20.7 kB 1keyfe
npm/@onekeyfe/inpage-providers-hub@2.0.0-alpha.5 environment 0 591 kB 1keyfe
npm/@onekeyfe/native-bridge-injected@2.0.0-alpha.5 None 0 14.4 kB 1keyfe
npm/@onekeyfe/onekey-aptos-provider@2.0.0-alpha.5 None 0 58.8 kB 1keyfe
npm/@onekeyfe/onekey-btc-provider@2.0.0-alpha.5 None 0 44.6 kB 1keyfe
npm/@onekeyfe/onekey-cardano-provider@2.0.0-alpha.5 None 0 46.6 kB 1keyfe
npm/@onekeyfe/onekey-conflux-provider@2.0.0-alpha.5 None 0 41.3 kB 1keyfe
npm/@onekeyfe/onekey-cosmos-provider@2.0.0-alpha.5 None 0 56.8 kB 1keyfe
npm/@onekeyfe/onekey-eth-provider@2.0.0-alpha.5 None 0 112 kB 1keyfe
npm/@onekeyfe/onekey-nostr-provider@2.0.0-alpha.5 None 0 29 kB 1keyfe
npm/@onekeyfe/onekey-polkadot-provider@2.0.0-alpha.5 None +1 176 kB 1keyfe
npm/@onekeyfe/onekey-private-external-account-provider@2.0.0-alpha.5 None 0 26.9 kB 1keyfe
npm/@onekeyfe/onekey-private-provider@2.0.0-alpha.5 None 0 20 kB 1keyfe
npm/@onekeyfe/onekey-solana-provider@2.0.0-alpha.5 None 0 93.9 kB 1keyfe
npm/@onekeyfe/onekey-starcoin-provider@2.0.0-alpha.5 None 0 103 kB 1keyfe
npm/@onekeyfe/onekey-sui-provider@2.0.0-alpha.5 None 0 50.9 kB 1keyfe
npm/@onekeyfe/onekey-tron-provider@2.0.0-alpha.5 None 0 45.3 kB 1keyfe
npm/@onekeyfe/onekey-webln-provider@2.0.0-alpha.5 None 0 36.2 kB 1keyfe
npm/@onekeyfe/react-native-ble-plx@3.0.0 None 0 344 kB 1keyfe
npm/@open-rpc/client-js@1.8.1 None 0 283 kB belfordz
npm/@pmmmwh/react-refresh-webpack-plugin@0.5.13 environment, filesystem +2 291 kB pmmmwh
npm/@polkadot/api-augment@10.13.1 None 0 2.13 MB polkadotjs
npm/@polkadot/api-base@10.13.1 None 0 36.5 kB polkadotjs
npm/@polkadot/api-derive@10.13.1 None 0 454 kB polkadotjs
npm/@polkadot/api@10.13.1 None 0 1.01 MB polkadotjs
npm/@polkadot/extension-inject@0.46.9 None 0 23.9 kB polkadotjs
npm/@polkadot/keyring@12.6.2 None 0 130 kB polkadotjs
npm/@polkadot/networks@12.6.2 None 0 39.1 kB polkadotjs
npm/@polkadot/rpc-augment@10.13.1 None 0 51.9 kB polkadotjs
npm/@polkadot/rpc-core@10.13.1 None 0 63.1 kB polkadotjs
npm/@polkadot/rpc-provider@10.13.1 network 0 176 kB polkadotjs
npm/@polkadot/types-augment@10.13.1 None 0 1.78 MB polkadotjs
npm/@polkadot/types-codec@10.13.1 None 0 652 kB polkadotjs
npm/@polkadot/types-create@10.13.1 None 0 77.8 kB polkadotjs
npm/@polkadot/types-known@10.13.1 None 0 640 kB polkadotjs
npm/@polkadot/types-support@10.13.1 None 0 29.3 MB polkadotjs
npm/@polkadot/types@10.13.1 None 0 2.26 MB polkadotjs
npm/@polkadot/util-crypto@12.6.2 None 0 1.14 MB polkadotjs
npm/@polkadot/util@12.6.2 None 0 549 kB polkadotjs
npm/@polkadot/wasm-bridge@7.3.2 None 0 40 kB polkadotjs
npm/@polkadot/wasm-crypto-asmjs@7.3.2 None 0 1.63 MB polkadotjs
npm/@polkadot/wasm-crypto-init@7.3.2 None 0 24.9 kB polkadotjs
npm/@polkadot/wasm-crypto-wasm@7.3.2 None 0 245 kB polkadotjs
npm/@polkadot/wasm-crypto@7.3.2 None 0 301 kB polkadotjs
npm/@polkadot/wasm-util@7.3.2 None 0 41.1 kB polkadotjs
npm/@polkadot/x-bigint@12.6.2 None 0 15.1 kB polkadotjs
npm/@polkadot/x-fetch@12.6.2 None 0 16.8 kB polkadotjs
npm/@polkadot/x-global@12.6.2 None 0 16.6 kB polkadotjs
npm/@polkadot/x-randomvalues@12.6.2 None 0 21.1 kB polkadotjs
npm/@polkadot/x-textdecoder@12.6.2 None 0 18.6 kB polkadotjs
npm/@polkadot/x-textencoder@12.6.2 None 0 18.7 kB polkadotjs
npm/@polkadot/x-ws@12.6.2 None 0 16.6 kB polkadotjs
npm/@scure/base@1.1.6 None 0 80.4 kB paulmillr
npm/@scure/bip32@1.4.0 None 0 58.7 kB paulmillr
npm/@scure/bip39@1.3.0 None 0 374 kB paulmillr
npm/@solana/buffer-layout@4.0.1 None 0 197 kB steveluscher
npm/@solana/wallet-standard-features@1.2.0 None 0 45.3 kB jordansexton
npm/@solana/web3.js@1.91.8 network 0 10.8 MB lorisleiva
npm/@substrate/connect@0.8.8 None 0 221 kB wirednkod
npm/@substrate/ss58-registry@1.47.0 None 0 75.9 kB paritytech-ci
npm/@suchipi/femver@1.0.0 None 0 7.33 kB suchipi
npm/@tamagui/babel-plugin@1.79.19 environment 0 98.6 kB nwienert
npm/@types/bn.js@5.1.5 None 0 13.8 kB types
npm/@types/chrome@0.0.263 None 0 694 kB types
npm/@types/elliptic@6.4.18 None 0 11.8 kB types
npm/@types/ethjs-util@0.1.3 None 0 4.01 kB types
npm/@types/jest@29.5.12 None 0 78.7 kB types
npm/@types/lodash@4.17.4 None 0 863 kB types
npm/@types/memoizee@0.4.11 None 0 4.38 kB types
npm/@types/punycode@2.1.4 None 0 2.8 kB types
npm/@types/react-dom@18.3.0 None 0 37.8 kB types
npm/@types/react@18.3.2 None 0 436 kB types
npm/@typescript-eslint/eslint-plugin@5.62.0 None 0 2.43 MB jameshenry
npm/@typescript-eslint/parser@5.62.0 None 0 18.6 kB jameshenry
npm/@wallet-standard/base@1.0.1 None 0 42.3 kB jordansexton
npm/@wallet-standard/core@1.0.3 None 0 14.6 kB jordansexton
npm/@wallet-standard/features@1.0.3 None 0 41.3 kB jordansexton
npm/agentkeepalive@4.5.0 network 0 43.7 kB fengmk2
npm/ajv-formats@2.1.1 None 0 52.2 kB esp
npm/ajv-keywords@5.1.0 None 0 132 kB esp
npm/ajv@8.13.0 eval 0 1.03 MB esp
npm/ansi-styles@4.3.0 None 0 17 kB sindresorhus
npm/aptos@1.21.0 None 0 6.73 MB aptos-labs
npm/axios@1.6.2 network 0 1.8 MB jasonsaayman
npm/babel-loader@9.1.3 filesystem Transitive: environment +1 110 kB nicolo-ribaudo
npm/babel-plugin-catch-logger@0.1.13 None 0 22.6 kB workboring
npm/babel-plugin-import@1.13.8 None 0 37.5 kB sorrycc
npm/babel-plugin-inline-import@3.0.0 filesystem 0 11.9 kB aldeed
npm/babel-plugin-module-resolver@5.0.2 environment, filesystem 0 25.1 kB tleunen
npm/babel-plugin-polyfill-corejs2@0.4.11 None 0 81.5 kB nicolo-ribaudo
npm/babel-plugin-polyfill-corejs3@0.10.4 None 0 207 kB nicolo-ribaudo
npm/babel-plugin-polyfill-regenerator@0.6.2 None 0 9.74 kB nicolo-ribaudo
npm/babel-plugin-react-native-web@0.19.11 None 0 17.2 kB necolas
npm/babel-plugin-transform-define@2.1.4 None 0 13.9 kB formidablelabs
npm/babel-plugin-transform-inline-environment-variables@0.4.4 None 0 3.41 kB nicolo-ribaudo
npm/bigint-buffer@1.1.5 None 0 55.7 kB no2chem
npm/bn.js@5.2.1 None 0 99 kB fanatid
npm/borsh@0.7.0 None +1 39.2 kB volovyk-s
npm/browserslist@4.23.0 environment, filesystem 0 62.8 kB ai
npm/bs58@5.0.0 None 0 6.21 kB junderw
npm/buffer@6.0.3 None 0 91.3 kB feross
npm/bytebuffer@5.0.1 None 0 982 kB dcode
npm/chalk@2.4.2 environment 0 26.9 kB sindresorhus
npm/cheerio@1.0.0-rc.12 None 0 558 kB feedic
npm/clean-webpack-plugin@4.0.0 None 0 35.7 kB johnagan
npm/copy-webpack-plugin@6.4.1 Transitive: filesystem +2 113 kB evilebottnawi
npm/core-js-compat@3.37.1 None 0 731 kB zloirock
npm/cross-env@7.0.3 environment 0 29.1 kB kentcdodds
npm/css-loader@6.11.0 None 0 133 kB evilebottnawi
npm/css-minimizer-webpack-plugin@3.4.1 eval +1 870 kB evilebottnawi
npm/date-fns@2.30.0 None 0 6.69 MB kossnocorp
npm/debug@4.3.4 environment 0 42.4 kB qix
npm/duplicate-package-checker-webpack-plugin@3.0.0 None 0 181 kB darrenscerri
npm/electron@30.0.6 environment, filesystem, shell 0 989 kB electron-nightly
npm/error-stack-parser@2.1.4 None 0 35.9 kB titanism
npm/eslint-config-airbnb-typescript@17.1.0 None 0 26.5 kB iamturns
npm/eslint-config-airbnb@19.0.4 None 0 81.7 kB ljharb
npm/eslint-config-prettier@8.10.0 None 0 19.9 kB lydell
npm/eslint-config-wesbos@3.2.3 None 0 13.9 kB wesbos
npm/eslint-plugin-ban@1.5.2 None 0 15 kB remithomas
npm/eslint-plugin-html@7.1.0 None 0 42.2 kB benoitz
npm/eslint-plugin-import-path@0.0.2 None 0 9.74 kB andrienko
npm/eslint-plugin-import@2.29.1 filesystem, unsafe 0 1.21 MB ljharb
npm/eslint-plugin-jest@27.9.0 filesystem 0 325 kB simenb
npm/eslint-plugin-jsx-a11y@6.8.0 None 0 739 kB ljharb
npm/eslint-plugin-prettier@4.2.1 None 0 58.3 kB jounqin
npm/eslint-plugin-react-hooks@4.6.2 environment 0 118 kB react-bot
npm/eslint-plugin-react@7.34.1 filesystem +2 952 kB ljharb
npm/eslint-plugin-spellcheck@0.0.20 filesystem 0 2.42 MB aotaduy
npm/eslint-plugin-use-effect-no-deps@1.1.2 None 0 6.2 kB alxhenry
npm/eth-rpc-errors@4.0.3 None 0 52.2 kB rekmarks
npm/eventemitter3@5.0.1 None 0 73.4 kB lpinca
npm/expo-pwa@0.0.127 None 0 111 kB keith-kurak
npm/extend@3.0.2 None 0 23.5 kB ljharb
npm/fake-indexeddb@5.0.2 None 0 259 kB dumbmatter
npm/fast-glob@3.3.2 filesystem 0 96.7 kB mrmlnc
npm/fast-safe-stringify@2.1.1 None 0 39.7 kB matteo.collina
npm/find-cache-dir@3.3.2 filesystem 0 6.79 kB sindresorhus
npm/find-up@5.0.0 None 0 11.8 kB sindresorhus
npm/find-yarn-workspace-root@2.0.0 filesystem 0 16.7 kB bmishkin
npm/form-data@4.0.0 filesystem, network 0 43.4 kB niftylettuce
npm/fs-extra@11.2.0 None 0 54.9 kB ryanzim
npm/getenv@1.0.0 environment 0 10.2 kB ctavan
npm/glob-parent@6.0.2 None 0 7.72 kB phated
npm/globby@12.2.0 None 0 22.6 kB sindresorhus
npm/html-webpack-plugin@5.6.0 filesystem, unsafe 0 120 kB evilebottnawi
npm/ip@1.1.9 None 0 15.5 kB indutny
npm/is-wsl@2.2.0 environment, filesystem 0 3.76 kB sindresorhus
npm/isomorphic-fetch@3.0.0 None 0 6.34 kB mattandrews
npm/isomorphic-ws@5.0.0 None 0 4.04 kB heineiuo
npm/jest-expo@50.0.4 None 0 80 kB brentvatne
npm/jest-html-reporter@3.10.2 environment, filesystem +1 348 kB hargne
npm/jest@29.7.0 None 0 5.01 kB simenb
npm/jszip@3.10.1 None 0 762 kB stuk
npm/loader-utils@2.0.4 None 0 36.3 kB evilebottnawi
npm/lodash-es@4.17.21 eval 0 636 kB bnjmnt4n
npm/long@4.0.0 None 0 177 kB dcode
npm/make-dir@3.1.0 filesystem 0 10 kB sindresorhus
npm/metro@0.80.5 environment, filesystem, network 0 801 kB metro-bot
npm/mini-css-extract-plugin@2.9.0 unsafe 0 133 kB evilebottnawi
npm/mitt@3.0.1 None 0 26.4 kB developit
npm/mock-socket@9.3.1 None 0 334 kB atrue
npm/nock@13.5.4 environment, filesystem, network 0 187 kB nockbot
npm/node-fetch@3.3.2 network 0 107 kB node-fetch-bot
npm/node-html-parser@5.4.2 None 0 156 kB taoqf
npm/node-notifier@10.0.1 environment, filesystem, network, shell 0 5.68 MB mikaelb
npm/parse-uri@1.0.9 None 0 5.42 kB kikobeats
npm/patch-package@7.0.2 environment, filesystem Transitive: shell +1 338 kB ds300
npm/progress-bar-webpack-plugin@2.1.0 None +1 38.4 kB clessg
npm/protobufjs@6.11.4 filesystem, network 0 14.7 MB google-wombot
npm/querystring@0.2.1 None 0 9.39 kB medikoo
npm/react-dev-utils@12.0.1 None 0 111 kB iansu
npm/react-native-ble-manager@8.8.0 None 0 222 kB marcosinigaglia
npm/react-native-copy-asset@3.0.2 filesystem 0 28.2 kB ridvanaltun
npm/react-native-flipper@0.201.0 None 0 120 kB flipper-bot
npm/react-refresh@0.14.2 environment 0 58.7 kB react-bot
npm/regenerator-transform@0.15.2 None 0 135 kB benjamn
npm/regexpu-core@5.3.2 None 0 53.8 kB google-wombot
npm/rimraf@5.0.7 environment, filesystem 0 281 kB isaacs
npm/ripple-keypairs@1.3.1 None 0 38.5 kB khancode_
npm/rxjs@7.8.1 None 0 4.5 MB blesh
npm/schema-utils@2.7.1 None 0 77.4 kB evilebottnawi
npm/semver@7.5.4 None 0 93.4 kB npm-cli-ops
npm/serialize-javascript@6.0.2 None 0 16.9 kB redonkulus
npm/sonner@1.4.41 None 0 447 kB emilkowalski
npm/source-map-loader@3.0.2 None 0 32.1 kB evilebottnawi
npm/strict-event-emitter-types@2.0.0 None 0 10.3 kB bterlson
npm/style-loader@3.3.4 None 0 83.5 kB evilebottnawi
npm/sunweb@1.1.0 None 0 224 kB cathytan
npm/superstruct@1.0.4 None 0 179 kB artmllr
npm/supports-color@7.2.0 None 0 7.04 kB sindresorhus
npm/tamagui-loader@1.79.19 environment +1 102 kB nwienert
npm/terser-webpack-plugin@5.3.10 None 0 88 kB evilebottnawi
npm/tronweb@5.3.2 eval 0 7.18 MB troncore
npm/ts-jest@29.1.2 environment, filesystem, unsafe 0 308 kB kul
npm/tweetnacl@1.0.3 None 0 175 kB dchest
npm/ultra-runner@3.10.5 environment, filesystem, shell, unsafe 0 251 kB flemaitr
npm/uri-js@4.4.1 None 0 470 kB garycourt
npm/web3@1.10.4 None 0 5.2 MB jdevcs
npm/webpack-bundle-analyzer@4.10.2 environment, filesystem, network 0 1.23 MB valscion
npm/webpack-cli@5.1.4 environment, filesystem, unsafe 0 110 kB evilebottnawi
npm/webpack-dev-server@4.15.2 environment, eval, network +1 651 kB evilebottnawi
npm/webpack-manifest-plugin@5.0.0 filesystem 0 36.7 kB shellscape
npm/webpack-sources@2.3.1 None 0 58.9 kB sokra
npm/webpack-subresource-integrity@5.2.0-rc.1 filesystem 0 283 kB jscheid
npm/webpack@5.90.3 environment, filesystem, network, unsafe 0 4.82 MB evilebottnawi
npm/worker-loader@3.0.8 None 0 36.5 kB evilebottnawi

🚮 Removed packages: npm/@babel/regjsgen@0.8.0, npm/@bcoe/v8-coverage@0.2.3, npm/@eslint-community/regexpp@4.10.0, npm/@eslint/js@8.57.0, npm/@humanwhocodes/module-importer@1.0.1, npm/@humanwhocodes/object-schema@2.0.3, npm/@istanbuljs/schema@0.1.3, npm/@leichtgewicht/ip-codec@2.0.5, npm/@nodelib/fs.stat@2.0.5, npm/@pkgjs/parseargs@0.11.0, npm/@rushstack/eslint-patch@1.10.3, npm/@sinclair/typebox@0.27.8, npm/@trysound/sax@0.2.0, npm/@types/estree@1.0.5, npm/@types/html-minifier-terser@6.1.0, npm/@types/http-errors@2.0.4, npm/@types/istanbul-lib-coverage@2.0.6, npm/@types/json5@0.0.29, npm/@types/mime@1.3.5, npm/@types/parse-json@4.0.2, npm/@types/prop-types@15.7.12, npm/@types/qs@6.9.15, npm/@types/range-parser@1.2.7, npm/@types/retry@0.12.0, npm/@types/semver@7.5.8, npm/@types/stack-utils@2.0.3, npm/@types/trusted-types@2.0.7, npm/@types/yargs-parser@21.0.3, npm/@typescript-eslint/types@5.62.0, npm/@webassemblyjs/floating-point-hex-parser@1.11.6, npm/@webassemblyjs/helper-api-error@1.11.6, npm/@webassemblyjs/helper-buffer@1.12.1, npm/@webassemblyjs/helper-wasm-bytecode@1.11.6, npm/@webassemblyjs/utf8@1.11.6, npm/@xtuc/ieee754@1.2.0, npm/@xtuc/long@4.2.2, npm/abab@2.0.6, npm/acorn@8.11.3, npm/address@1.2.2, npm/any-promise@1.3.0, npm/arg@5.0.2, npm/argparse@2.0.1, npm/array-flatten@1.1.1, npm/array-union@2.1.0, npm/asap@2.0.6, npm/ast-types-flow@0.0.8, npm/async@3.2.5, npm/asynckit@0.4.0, npm/at-least-node@1.0.0, npm/balanced-match@1.0.2, npm/batch@0.6.1, npm/big.js@5.2.2, npm/binary-extensions@2.3.0, npm/bluebird@3.7.2, npm/boolbase@1.0.0, npm/buffer-from@1.1.2, npm/bytes@3.0.0, npm/callsites@3.1.0, npm/camelcase@5.3.1, npm/caniuse-lite@1.0.30001620, npm/char-regex@2.0.1, npm/chrome-trace-event@1.0.3, npm/ci-info@3.9.0, npm/cjs-module-lexer@1.3.1, npm/co@4.6.0, npm/collect-v8-coverage@1.0.2, npm/color-name@1.1.3, npm/colord@2.9.3, npm/commander@7.2.0, npm/commondir@1.0.1, npm/concat-map@0.0.1, npm/confusing-browser-globals@1.0.11, npm/connect-history-api-fallback@2.0.0, npm/content-type@1.0.5, npm/cookie-signature@1.0.6, npm/cookie@0.6.0, npm/core-util-is@1.0.3, npm/crypto-random-string@2.0.0, npm/css-what@6.1.0, npm/cssesc@3.0.0, npm/csstype@3.1.3, npm/damerau-levenshtein@1.0.8, npm/decimal.js@10.4.3, npm/deep-is@0.1.4, npm/deepmerge@4.3.1, npm/define-lazy-prop@2.0.0, npm/delayed-stream@1.0.0, npm/depd@2.0.0, npm/dequal@2.0.3, npm/destroy@1.2.0, npm/detect-newline@3.1.0, npm/detect-node@2.1.0, npm/diff-sequences@29.6.3, npm/domelementtype@2.3.0, npm/duplexer@0.1.2, npm/eastasianwidth@0.2.0, npm/ee-first@1.1.1, npm/electron-to-chromium@1.4.774, npm/emoji-regex@9.2.2, npm/emojis-list@3.0.0, npm/encodeurl@1.0.2, npm/es-module-lexer@1.5.3, npm/escalade@3.1.2, npm/escape-html@1.0.3, npm/escape-string-regexp@1.0.5, npm/eslint-visitor-keys@3.4.3, npm/esprima@4.0.1, npm/estraverse@4.3.0, npm/etag@1.8.1, npm/exit@0.1.2, npm/fast-levenshtein@2.0.6, npm/filesize@8.0.7, npm/forwarded@0.2.0, npm/fresh@0.5.2, npm/fs-monkey@1.0.6, npm/fs.realpath@1.0.0, npm/fsevents@2.3.3, npm/function-bind@1.1.2, npm/functions-have-names@1.2.3, npm/get-caller-file@2.0.5, npm/get-package-type@0.1.0, npm/get-stream@6.0.1, npm/glob-to-regexp@0.4.1, npm/graceful-fs@4.2.11, npm/graphemer@1.4.0, npm/handle-thing@2.0.1, npm/has-bigints@1.0.2, npm/has-flag@3.0.0, npm/has-proto@1.0.3, npm/has-symbols@1.0.3, npm/he@1.2.0, npm/html-escaper@2.0.2, npm/http-deceiver@1.2.7, npm/http-parser-js@0.5.8, npm/human-signals@2.1.0, npm/idb@7.1.1, npm/ignore@5.3.1, npm/immer@9.0.21, npm/imurmurhash@0.1.4, npm/indent-string@4.0.0, npm/inherits@2.0.4, npm/ini@1.3.8, npm/ipaddr.js@1.9.1, npm/is-arrayish@0.2.1, npm/is-callable@1.2.7, npm/is-docker@2.2.1, npm/is-extglob@2.1.1, npm/is-generator-fn@2.1.0, npm/is-map@2.0.3, npm/is-negative-zero@2.0.3, npm/is-number@7.0.0, npm/is-path-inside@3.0.3, npm/is-plain-obj@3.0.0, npm/is-potential-custom-element-name@1.0.1, npm/is-root@2.1.0, npm/is-set@2.0.3, npm/is-stream@2.0.1, npm/is-typedarray@1.0.0, npm/is-weakmap@2.0.2, npm/isarray@1.0.0, npm/isexe@2.0.0, npm/istanbul-lib-coverage@3.2.2, npm/jest-get-type@29.6.3, npm/jiti@1.21.0, npm/json-buffer@3.0.1, npm/json-parse-even-better-errors@2.3.1, npm/json-schema@0.4.0, npm/json-stable-stringify-without-jsonify@1.0.1, npm/kind-of@6.0.3, npm/kleur@3.0.3, npm/language-subtag-registry@0.3.22, npm/leven@3.1.0, npm/lilconfig@2.1.0, npm/lines-and-columns@1.2.4, npm/loader-runner@4.3.0, npm/lodash.debounce@4.0.8, npm/lodash.memoize@4.1.2, npm/lodash.merge@4.6.2, npm/lodash.uniq@4.5.0, npm/mdn-data@2.0.14, npm/media-typer@0.3.0, npm/merge-descriptors@1.0.1, npm/merge-stream@2.0.0, npm/merge2@1.4.1, npm/methods@1.1.2, npm/mime-db@1.52.0, npm/mimic-fn@2.1.0, npm/minimalistic-assert@1.0.1, npm/minimist@1.2.8, npm/nanoid@3.3.7, npm/natural-compare-lite@1.4.0, npm/natural-compare@1.4.0, npm/negotiator@0.6.3, npm/neo-async@2.6.2, npm/node-forge@1.3.1, npm/node-int64@0.4.0, npm/node-releases@2.0.14, npm/normalize-url@6.1.0, npm/nwsapi@2.2.10, npm/object-assign@4.1.1, npm/object-inspect@1.13.1, npm/object-keys@1.1.1, npm/obuf@1.1.2, npm/on-headers@1.0.2, npm/p-try@2.2.0, npm/parseurl@1.3.3, npm/path-exists@4.0.0, npm/path-is-absolute@1.0.1, npm/path-key@3.1.1, npm/path-parse@1.0.7, npm/path-to-regexp@0.1.7, npm/path-type@4.0.0, npm/performance-now@2.1.0, npm/picomatch@2.3.1, npm/pirates@4.0.6, npm/postcss-value-parser@4.2.0, npm/prelude-ls@1.2.1, npm/pretty-bytes@5.6.0, npm/process-nextick-args@2.0.1, npm/psl@1.9.0, npm/querystringify@2.2.0, npm/queue-microtask@1.2.3, npm/range-parser@1.2.1, npm/react-error-overlay@6.0.11, npm/react-is@18.3.1, npm/regenerate@1.4.2, npm/regenerator-runtime@0.14.1, npm/relateurl@0.2.7, npm/require-directory@2.1.1, npm/require-from-string@2.0.2, npm/requires-port@1.0.0, npm/resolve-from@5.0.0, npm/retry@0.13.1, npm/reusify@1.0.4, npm/safe-buffer@5.2.1, npm/safer-buffer@2.1.2, npm/select-hose@2.0.0, npm/setprototypeof@1.2.0, npm/shell-quote@1.8.1, npm/signal-exit@3.0.7, npm/sisteransi@1.0.5, npm/slash@3.0.0, npm/source-list-map@2.0.1, npm/source-map-js@1.2.0, npm/sprintf-js@1.0.3, npm/stable@0.1.8, npm/stackframe@1.3.4, npm/statuses@1.5.0, npm/strip-bom@4.0.0, npm/strip-final-newline@2.0.0, npm/supports-preserve-symlinks-flag@1.0.0, npm/svg-parser@2.0.4, npm/symbol-tree@3.2.4, npm/temp-dir@2.0.0, npm/text-table@0.2.0, npm/thunky@1.1.0, npm/tmpl@1.0.5, npm/toidentifier@1.0.1, npm/ts-interface-checker@0.1.13, npm/type-detect@4.0.8, npm/type-fest@0.20.2, npm/typescript@5.4.5, npm/undici-types@5.26.5, npm/unicode-canonical-property-names-ecmascript@2.0.0, npm/unicode-match-property-value-ecmascript@2.1.0, npm/unicode-property-aliases-ecmascript@2.1.0, npm/unpipe@1.0.0, npm/util-deprecate@1.0.2, npm/utila@0.4.0, npm/utils-merge@1.0.1, npm/vary@1.1.2, npm/websocket-extensions@0.1.4, npm/whatwg-fetch@3.6.20, npm/wrappy@1.0.2

View full report↗︎

Copy link

socket-security bot commented May 1, 2024

🚨 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 Note
Install scripts npm/electron@30.0.6

Ignoring: npm/bigint-buffer@1.1.5, npm/protobufjs@6.11.4, npm/web3@1.10.4

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/electron@30.0.6

@huhuanming
Copy link
Contributor Author

@SocketSecurity ignore npm/protobufjs@6.11.4
@SocketSecurity ignore npm/bigint-buffer@1.1.5
@SocketSecurity ignore npm/web3@1.10.4
@SocketSecurity ignore npm/core-js-pure@3.37.0

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.

None yet

1 participant