cowprotocol / cowswap

🐮 CowSwap: First CoW Protocol UI
https://swap.cow.fi/
GNU General Public License v3.0
108 stars 73 forks source link

feat(arbitrum): add arbitrum_one #4407

Closed alfetopito closed 1 week ago

alfetopito commented 4 weeks ago

Summary

Part of #4310

Add Arbitrum one support.

Mostly functional at this point.

Notes

To Test

Full regression testing on the whole app on all networks 😬

Known issues

vercel[bot] commented 4 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cosmos ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
cowfi ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
explorer-dev ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
swap-dev ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
widget-configurator ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
socket-security[bot] commented 4 weeks ago

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

Package New capabilities Transitives Size Publisher
npm/@1inch/permit-signed-approvals-utils@1.4.10 None +1 178 kB 1inch-robot
npm/@ampproject/remapping@2.2.1 None 0 76 kB jridgewell
npm/@apollo/client@3.8.8 network +1 5.97 MB apollo-bot
npm/@babel/compat-data@7.23.5 None 0 64.6 kB nicolo-ribaudo
npm/@babel/generator@7.24.5 None +2 744 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.23.6 None +1 63.7 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.23.7 None +2 336 kB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.22.9 None +1 31 kB nicolo-ribaudo
npm/@babel/helper-define-polyfill-provider@0.6.2 unsafe 0 221 kB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.23.0 None 0 55 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.22.5 None 0 11.9 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.22.20 None +1 38.6 kB nicolo-ribaudo
npm/@babel/helper-wrap-function@7.22.20 None 0 15.4 kB nicolo-ribaudo
npm/@babel/highlight@7.24.2 environment 0 20.4 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-proposal-decorators@7.23.7 None 0 40 kB nicolo-ribaudo
npm/@babel/plugin-proposal-unicode-property-regex@7.18.6 None 0 3.48 kB nicolo-ribaudo
npm/@babel/plugin-syntax-decorators@7.23.3 None 0 12.4 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-jsx@7.22.5 None 0 4.13 kB nicolo-ribaudo
npm/@babel/plugin-syntax-typescript@7.23.3 None 0 6.94 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 +1 23.1 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.4 None 0 88.1 kB nicolo-ribaudo
npm/@babel/plugin-transform-class-static-block@7.24.4 None +5 490 kB nicolo-ribaudo
npm/@babel/plugin-transform-classes@7.24.1 None +2 98 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-dotall-regex@7.24.1 None +2 35.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 +1 8.75 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 +1 10.8 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 +1 8.54 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 +1 73 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-umd@7.24.1 None 0 25.6 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 +1 11.8 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.1 None +1 75.3 kB nicolo-ribaudo
npm/@babel/plugin-transform-object-super@7.24.1 None +1 15.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-optional-catch-binding@7.24.1 None +1 7.45 kB nicolo-ribaudo
npm/@babel/plugin-transform-optional-chaining@7.24.1 None +1 40.5 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 +2 15.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-private-property-in-object@7.24.1 None +3 33.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-property-literals@7.24.1 None 0 4.72 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-constant-elements@7.22.5 None 0 23.6 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-display-name@7.22.5 None 0 12.4 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-runtime@7.24.3 unsafe 0 37.4 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.1 None 0 10.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-typescript@7.23.6 None +1 136 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 +1 9.02 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-regex@7.24.1 None +1 7.95 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-sets-regex@7.24.1 None +1 8.69 kB nicolo-ribaudo
npm/@babel/preset-env@7.24.4 environment, filesystem +20 328 kB nicolo-ribaudo
npm/@babel/preset-react@7.22.5 None +5 125 kB nicolo-ribaudo
npm/@babel/preset-typescript@7.23.3 None +1 25.8 kB nicolo-ribaudo
npm/@babel/runtime@7.22.6 None 0 282 kB nicolo-ribaudo
npm/@coinbase/wallet-sdk@3.7.1 environment Transitive: eval, network +2 15.2 MB jungho.bang
npm/@commitlint/cli@17.6.7 Transitive: environment, filesystem +17 387 kB escapedcat
npm/@commitlint/config-conventional@17.6.7 None 0 9.6 kB escapedcat
npm/@cowprotocol/app-data@1.2.2 None 0 188 kB cowprotocol_dev
npm/@cowprotocol/app-data@2.1.0 None 0 212 kB cowprotocol_dev
npm/@cowprotocol/cms@0.3.0-RC.2 None 0 506 kB cowprotocol_dev
npm/@cowprotocol/contracts@1.4.0 network 0 2.19 MB cowprotocol_dev
npm/@cowprotocol/cow-runner-game@0.2.9 Transitive: environment +2 3.51 MB anxolin
npm/@cowprotocol/cow-sdk@5.3.0 Transitive: network +6 3.26 MB
npm/@cowprotocol/ethflowcontract@1.2.0 None 0 0 B
npm/@csstools/postcss-progressive-custom-properties@1.3.0 None 0 43.9 kB alaguna
npm/@csstools/selector-specificity@2.2.0 None 0 16.7 kB alaguna
npm/@davatar/react@1.8.1 network 0 35.3 kB carlosdp
npm/@emotion/core@10.3.1 environment +10 2.55 MB emotion-release-bot
npm/@emotion/is-prop-valid@1.2.1 environment +1 33.4 kB emotion-release-bot
npm/@emotion/react@11.11.1 environment Transitive: filesystem +11 1.06 MB emotion-release-bot
npm/@emotion/styled@11.11.0 environment Transitive: filesystem +8 490 kB emotion-release-bot
npm/@emotion/stylis@0.8.5 environment 0 105 kB emotion-release-bot
npm/@eslint-community/eslint-utils@4.4.0 None 0 379 kB eslint-community-bot
npm/@eslint-community/regexpp@4.6.2 None 0 429 kB eslint-community-bot
npm/@eslint/eslintrc@2.1.1 filesystem, unsafe 0 655 kB eslintbot
npm/@ethereumjs/common@3.2.0 None 0 298 kB holgerd77
npm/@ethereumjs/tx@4.2.0 None +1 327 kB holgerd77
npm/@ethereumjs/util@8.1.0 None +1 287 kB holgerd77
npm/@ethersproject/abi@5.7.0 None 0 498 kB ricmoo
npm/@ethersproject/abstract-provider@5.7.0 None 0 61 kB ricmoo
npm/@ethersproject/abstract-signer@5.7.0 None 0 82.2 kB ricmoo
npm/@ethersproject/address@5.7.0 None 0 33.1 kB ricmoo
npm/@ethersproject/base64@5.7.0 None 0 11.3 kB ricmoo
npm/@ethersproject/basex@5.7.0 None 0 30.1 kB ricmoo
npm/@ethersproject/bignumber@5.7.0 None 0 143 kB ricmoo
npm/@ethersproject/bytes@5.7.0 None 0 80.9 kB ricmoo
npm/@ethersproject/constants@5.7.0 None 0 18.7 kB ricmoo
npm/@ethersproject/contracts@5.7.0 None 0 250 kB ricmoo
npm/@ethersproject/experimental@5.7.0 None 0 94.3 kB ricmoo
npm/@ethersproject/hash@5.7.0 None 0 257 kB ricmoo
npm/@ethersproject/hdnode@5.7.0 None 0 80.7 kB ricmoo
npm/@ethersproject/json-wallets@5.7.0 None 0 125 kB ricmoo
npm/@ethersproject/keccak256@5.7.0 None 0 6.09 kB ricmoo
npm/@ethersproject/logger@5.7.0 None 0 69.5 kB ricmoo
npm/@ethersproject/networks@5.7.1 None 0 47.5 kB ricmoo
npm/@ethersproject/pbkdf2@5.7.0 None 0 17.4 kB ricmoo
npm/@ethersproject/properties@5.7.0 None 0 31 kB ricmoo
npm/@ethersproject/providers@5.7.2 network 0 1.2 MB ricmoo
npm/@ethersproject/random@5.7.0 None 0 17.3 kB ricmoo
npm/@ethersproject/rlp@5.7.0 None 0 29.6 kB ricmoo
npm/@ethersproject/sha2@5.7.0 None 0 21.7 kB ricmoo
npm/@ethersproject/signing-key@5.7.0 None 0 244 kB ricmoo
npm/@ethersproject/solidity@5.7.0 None 0 23.2 kB ricmoo
npm/@ethersproject/strings@5.7.0 None 0 119 kB ricmoo
npm/@ethersproject/transactions@5.7.0 None 0 89.6 kB ricmoo
npm/@ethersproject/web@5.7.1 network 0 128 kB ricmoo
npm/@ethersproject/wordlists@5.7.0 None 0 390 kB ricmoo
npm/@fontsource/ibm-plex-mono@4.5.13 None 0 3.38 MB lotusdevshack
npm/@fontsource/inter@4.5.15 None 0 4.45 MB lotusdevshack
npm/@fortawesome/fontawesome-svg-core@6.5.1 None +1 1.18 MB robmadole
npm/@fortawesome/free-regular-svg-icons@6.5.1 None +1 1.47 MB robmadole
npm/@fortawesome/free-solid-svg-icons@6.5.1 None +1 5.86 MB robmadole
npm/@fortawesome/react-fontawesome@0.2.0 environment 0 37.4 kB robmadole
npm/@gnosis.pm/dex-js@0.10.0 environment +1 20.9 MB alfetopito
npm/@humanwhocodes/config-array@0.11.14 None 0 55.6 kB nzakas
npm/@jest/environment@29.7.0 None +1 458 kB simenb
npm/@jest/expect@29.7.0 None +4 650 kB simenb
npm/@jest/fake-timers@29.7.0 Transitive: eval +3 587 kB simenb
npm/@jest/globals@29.7.0 None +1 447 kB simenb
npm/@jest/source-map@29.6.3 None 0 5.07 kB simenb
npm/@jest/test-result@29.6.2 None +4 516 kB simenb
npm/@jest/test-sequencer@29.7.0 None +1 456 kB simenb
npm/@jridgewell/gen-mapping@0.3.3 None 0 79.2 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.18 None +2 259 kB jridgewell
npm/@lingui/cli@4.10.0 Transitive: environment, filesystem +7 22.6 MB andrii.bodnar
npm/@lingui/core@4.10.0 environment +2 90.5 kB andrii.bodnar
npm/@lingui/macro@4.10.0 environment Transitive: filesystem +3 193 kB andrii.bodnar
npm/@lingui/react@4.10.0 environment 0 35.3 kB andrii.bodnar
npm/@lingui/swc-plugin@4.0.7 None 0 3.99 MB andrii.bodnar
npm/@lingui/vite-plugin@4.10.0 Transitive: environment, filesystem +1 57 kB andrii.bodnar
npm/@lit-labs/ssr-dom-shim@1.1.2 environment 0 33.7 kB lit-robot
npm/@lit/reactive-element@2.0.0 None 0 822 kB lit-robot
npm/@material-ui/core@4.12.4 environment +8 11.4 MB eps1lon
npm/@metamask/eth-sig-util@5.1.0 None +1 246 kB metamaskbot
npm/@metamask/jazzicon@2.0.0 None +1 22.1 kB whymarrh
npm/@metamask/safe-event-emitter@2.0.0 None 0 7.65 kB whymarrh
npm/@mui/icons-material@5.14.13 None 0 18.9 MB mj12albert
npm/@mui/lab@5.0.0-alpha.148 environment +18 8.4 MB mj12albert
npm/@mui/material@5.14.13 environment +18 16.8 MB mj12albert
npm/@mui/utils@5.14.13 environment 0 884 kB mj12albert
npm/@noble/curves@1.1.0 None +1 2.04 MB paulmillr
npm/@noble/hashes@1.2.0 None 0 736 kB paulmillr
npm/@noble/secp256k1@1.7.1 None 0 111 kB paulmillr
npm/@nx/cypress@18.3.4 environment, filesystem Transitive: shell, unsafe +4 466 kB nrwl-jason
npm/@nx/eslint-plugin@18.3.4 filesystem Transitive: environment, shell, unsafe +5 377 kB nrwl-jason
npm/@nx/eslint@18.3.4 environment Transitive: filesystem, shell, unsafe +4 32.7 MB nrwl-jason
npm/@nx/jest@18.3.4 environment, filesystem, unsafe Transitive: shell +12 1.76 MB nrwl-jason
npm/@nx/js@18.3.4 environment, filesystem, shell Transitive: unsafe +8 814 kB nrwl-jason
npm/@nx/linter@18.3.4 None 0 3.51 kB nrwl-jason
npm/@nx/next@18.3.4 environment, filesystem Transitive: shell, unsafe +8 5.34 MB nrwl-jason
npm/@nx/react@18.3.4 environment Transitive: filesystem, shell, unsafe +6 950 kB nrwl-jason
npm/@nx/vite@18.3.4 environment, eval, filesystem Transitive: shell, unsafe +7 2.29 MB nrwl-jason
npm/@nx/workspace@18.3.4 environment, filesystem Transitive: shell, unsafe +3 405 kB nrwl-jason
npm/@protobufjs/aspromise@1.1.2 None 0 9.05 kB dcode
npm/@reach/dialog@0.18.0 environment +2 140 kB chancestrickland
npm/@reach/menu-button@0.18.0 environment +8 492 kB chancestrickland
npm/@reach/portal@0.18.0 environment +1 96.7 kB chancestrickland
npm/@react-hook/window-scroll@1.3.0 None +3 96 kB jaredlunde
npm/@react-spring/web@9.7.3 environment +4 2.62 MB tdfka_rick
npm/@reduxjs/toolkit@1.9.5 environment +1 13.8 MB acemarke
npm/@rjsf/core@4.2.3 environment +1 4.88 MB rjsf-bot
npm/@rollup/pluginutils@5.1.0 None 0 57.1 kB shellscape
npm/@rushstack/eslint-patch@1.10.2 None 0 240 kB odspnpm
npm/@safe-global/api-kit@1.3.0 None 0 115 kB germartinez
npm/@safe-global/protocol-kit@1.2.0 None +2 3.06 MB germartinez
npm/@safe-global/safe-apps-sdk@8.0.0 None +1 245 kB germartinez
npm/@safe-global/safe-core-sdk-types@2.2.0 None 0 65.4 kB germartinez
npm/@safe-global/safe-deployments@1.26.0 None 0 636 kB mikheevm
npm/@safe-global/safe-ethers-lib@1.9.4 None +2 899 kB germartinez
npm/@sentry/react@7.80.0 Transitive: network +5 5.75 MB sentry-bot
npm/@sentry/tracing@7.80.0 None +3 2.61 MB sentry-bot
npm/@sentry/utils@7.80.0 None +1 1.41 MB sentry-bot
npm/@sentry/vite-plugin@2.7.0 Transitive: environment, filesystem, network, shell, unsafe +10 6.34 MB sentry-bot
npm/@sentry/webpack-plugin@2.10.0 Transitive: environment, filesystem, network, shell, unsafe +7 5.2 MB sentry-bot
npm/@sindresorhus/is@4.6.0 None 0 57.5 kB sindresorhus
npm/@stablelib/random@1.0.2 None +3 157 kB dchest
npm/@styled-system/css@5.1.5 None 0 16 kB jxnblk

🚮 Removed packages: npm/@cowprotocol/ethflowcontract@1.1.1, npm/@types/istanbul-lib-coverage@2.0.4, npm/@types/json-schema@7.0.15, npm/@types/lodash@4.17.0, npm/@ungap/structured-clone@1.2.0, npm/abab@2.0.6, npm/acorn-walk@8.3.2, npm/acorn@8.11.3, npm/address@1.2.2, npm/agent-base@6.0.2, npm/anymatch@3.1.3, npm/arch@2.2.0, npm/argparse@1.0.10, npm/assert-plus@1.0.0, npm/ast-types-flow@0.0.8, npm/available-typed-arrays@1.0.7, npm/base64-js@1.5.1, npm/bluebird@3.7.2, npm/bn.js@5.2.1, npm/brorand@1.1.0, npm/buffer@6.0.3, npm/camelcase@6.3.0, npm/chai@4.4.1, npm/check-error@1.0.3, npm/cli-cursor@3.1.0, npm/clsx@1.2.1, npm/color-name@1.1.4, npm/colorette@2.0.20, npm/confusing-browser-globals@1.0.11, npm/content-disposition@0.5.4, npm/cross-env@7.0.3, npm/d3-color@3.1.0, npm/d3-dispatch@3.0.1, npm/d3-ease@3.0.1, npm/d3-format@3.1.0, npm/d3-quadtree@3.0.1, npm/d3-selection@3.0.0, npm/d3-timer@3.0.1, npm/date-fns@2.30.0, npm/decamelize@1.2.0, npm/decimal.js@10.4.3, npm/deep-eql@4.1.3, npm/deepmerge@4.3.1, npm/defer-to-connect@2.0.1, npm/define-data-property@1.1.4, npm/define-properties@1.2.1, npm/depd@2.0.0, npm/dequal@2.0.3, npm/diff-sequences@29.6.3, npm/encoding@0.1.13, npm/entities@4.5.0, npm/es-errors@1.3.0, npm/es-shim-unscopables@1.0.2, npm/es6-promise@4.2.8, npm/eslint-config-prettier@9.1.0, npm/esprima@4.0.1, npm/esquery@1.5.0, npm/estraverse@5.3.0, npm/eventemitter3@4.0.7, npm/events@3.3.0, npm/exponential-backoff@3.1.1, npm/extend@3.0.2, npm/fast-deep-equal@3.1.3, npm/fast-json-stable-stringify@2.1.0, npm/fast-safe-stringify@2.1.1, npm/flatted@3.3.1, npm/fsevents@2.3.2, npm/function.prototype.name@1.1.6, npm/functions-have-names@1.2.3, npm/get-caller-file@2.0.5, npm/get-func-name@2.0.2, npm/glob-parent@6.0.2, npm/graceful-fs@4.2.11, npm/has-symbols@1.0.3, npm/has-tostringtag@1.0.2, npm/iconv-lite@0.6.3, npm/icss-utils@5.1.0, npm/ieee754@1.2.1, npm/inherits@2.0.4, npm/internal-slot@1.0.7, npm/internmap@2.0.3, npm/is-arguments@1.1.1, npm/is-callable@1.2.7, npm/is-date-object@1.0.5, npm/is-docker@2.2.1, npm/is-glob@4.0.3, npm/is-negative-zero@2.0.3, npm/is-path-inside@3.0.3, npm/is-plain-obj@1.1.0, npm/is-string@1.0.7, npm/is-symbol@1.0.4, npm/is-typedarray@1.0.0, npm/istanbul-lib-coverage@3.2.0, npm/istanbul-lib-instrument@5.2.1, npm/js-tokens@4.0.0, npm/json-stringify-safe@5.0.1, npm/json5@2.2.3, npm/keyv@4.5.4, npm/kind-of@6.0.3, npm/language-tags@1.0.9, npm/loader-utils@2.0.4, npm/lodash-es@4.17.21, npm/lodash.isequal@4.5.0, npm/lodash@4.17.21, npm/log-symbols@4.1.0, npm/loupe@2.3.7, npm/lowercase-keys@2.0.0, npm/magic-string@0.30.10, npm/merge2@1.4.1, npm/mime-db@1.52.0, npm/mime-types@2.1.35, npm/mime@1.6.0, npm/mimic-response@1.0.1, npm/minimalistic-assert@1.0.1, npm/minimist@1.2.8, npm/minipass@4.2.8, npm/ms@2.1.3, npm/nanoid@3.3.7, npm/node-releases@2.0.14, npm/normalize-path@3.0.0, npm/object-assign@4.1.1, npm/object-inspect@1.13.1, npm/once@1.4.0, npm/os-tmpdir@1.0.2, npm/path-parse@1.0.7, npm/picomatch@2.3.1, npm/pirates@4.0.6, 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-value-parser@4.2.0, npm/prettier@2.8.8, npm/pretty-bytes@5.6.0, npm/psl@1.9.0, npm/punycode@2.3.0, npm/q@1.5.1, npm/randombytes@2.1.0, npm/react-is@18.2.0, npm/regenerator-runtime@0.13.11, npm/resolve-alpn@1.2.1, npm/resolve-from@5.0.0, npm/rimraf@3.0.2, npm/safe-buffer@5.2.1, npm/safer-buffer@2.1.2, npm/semver@6.3.1, npm/setimmediate@1.0.5, npm/signal-exit@4.1.0, npm/slash@3.0.0, npm/std-env@3.7.0, npm/strip-json-comments@3.1.1, npm/svg-parser@2.0.4, npm/tapable@2.2.1, npm/through@2.3.8, npm/tinybench@2.8.0, npm/type-detect@4.0.8, npm/typescript@5.1.6, npm/wcwidth@1.0.1, npm/web-vitals@2.1.4, npm/xtend@4.0.2, npm/yallist@4.0.0, npm/yaml@1.10.2, npm/yargs-parser@21.1.1

View full report↗︎

socket-security[bot] commented 4 weeks 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 NoteSource
Install scripts npm/@sentry/cli@2.20.5
  • Install script: install
  • Source: node ./scripts/install.js
Install scripts npm/@sentry/cli@2.21.3
  • Install script: install
  • Source: node ./scripts/install.js
Install scripts npm/@fortawesome/fontawesome-svg-core@6.5.1
  • Install script: postinstall
  • Source: node attribution.js
Install scripts npm/@fortawesome/fontawesome-common-types@6.5.1
  • Install script: postinstall
  • Source: node attribution.js
Install scripts npm/@fortawesome/free-regular-svg-icons@6.5.1
  • Install script: postinstall
  • Source: node attribution.js
Install scripts npm/@fortawesome/free-solid-svg-icons@6.5.1
  • Install script: postinstall
  • Source: node attribution.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/@sentry/cli@2.20.5
  • @SocketSecurity ignore npm/@sentry/cli@2.21.3
  • @SocketSecurity ignore npm/@fortawesome/fontawesome-svg-core@6.5.1
  • @SocketSecurity ignore npm/@fortawesome/fontawesome-common-types@6.5.1
  • @SocketSecurity ignore npm/@fortawesome/free-regular-svg-icons@6.5.1
  • @SocketSecurity ignore npm/@fortawesome/free-solid-svg-icons@6.5.1
elena-zh commented 2 weeks ago

Hey @alfetopito ,great job! Here I will list issues I've faced (n addition to the ones reported in https://cowservices.slack.com/archives/C0361CDG8GP/p1715876405779169

  1. When I open Favourites tokens in Account page. I see loaders for USDT token image

  2. (not sure), but for the Surplus in Arb it would be great to change the tooltip saying from May 2024 :) image

  3. Should we change 'View on Etherscan' to 'View on Arbiscan' everywhere in the app? image

  4. ETH-flow is not working image

  5. Classic ETH-flow is also not proposed when fill in ETH token into the sell field image

  6. Same with Safe +WC: Swap button remains disabled instead of showing Wrap+Swap

  7. Update tokens with the new network on cow.fi/tokens page? https://cow.fi/tokens/cow-protocol image image

  8. Update widget configurator image

  9. Update docs

  10. Partner fee?

Will continue tests in other networks tomorrow and will wait for all the rest fixes.

alfetopito commented 2 weeks ago

@elena-zh

  1. fixed
  2. fixed
  3. fixed
  4. fixed
  5. fixed
  6. didn't check but should fixed with the ethflow fix
  7. not fixed yet, will leave this for later
  8. fixed
  9. not fixed yet, will leave this for later
  10. should accept arbitrum already
elena-zh commented 1 week ago

Hey @alfetopito , great, great job!

For now, I've faced these issues during testing:

  1. When I switch to Arb in MM, right after the switching it asks me to return back to the previously selected network in the wallet: image It would be great to stay connected to Arb after adding it to the wallet.
  2. Is this OK that I see error in console after signing ETH order (or any other onchain TX)? image
  3. (later): update Terms? Some examples: image image
  4. Issue reported by you: https://cowservices.slack.com/archives/C0361CDG8GP/p1716220143272649 :)

Tomorrow will proceed with tests in other networks. Thanks!

elena-zh commented 1 week ago

Hey @alfetopito , great job! All issues I've reported above are fixed. I'm waiting for other known issues to be fixed, then will approve the current PR :)

shoom3301 commented 1 week ago

@alfetopito not part of this PR, but along with releasing it we should update docs: https://docs.cow.fi/governance/token

elena-zh commented 1 week ago

Great job!