cowprotocol / cow-sdk

CoW protocol SDK
https://docs.cow.fi/cow-protocol/reference/sdks/cow-sdk
Other
31 stars 9 forks source link

feat: add arbitrum #206

Closed alfetopito closed 4 months ago

alfetopito commented 4 months ago

Summary

Part of https://github.com/cowprotocol/cowswap/issues/4310

Add Arbitrum

socket-security[bot] commented 4 months ago

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

Package New capabilities Transitives Size Publisher
npm/@babel/code-frame@7.18.6 Transitive: environment +6 91.1 kB nicolo-ribaudo
npm/@babel/compat-data@7.21.0 None 0 57.9 kB nicolo-ribaudo
npm/@babel/core@7.21.3 environment, filesystem, unsafe +4 1.68 MB nicolo-ribaudo
npm/@babel/generator@7.21.3 None 0 478 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.20.7 None 0 50.7 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.21.0 None +5 205 kB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.21.0 None +1 28.9 kB nicolo-ribaudo
npm/@babel/helper-function-name@7.21.0 None 0 21.4 kB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.21.0 None 0 54.1 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.18.6 None 0 16.1 kB nicolo-ribaudo
npm/@babel/helper-module-transforms@7.21.2 None +3 167 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.19.1 None 0 51.7 kB nicolo-ribaudo
npm/@babel/helper-validator-option@7.21.0 None 0 11.4 kB nicolo-ribaudo
npm/@babel/parser@7.21.3 None 0 1.87 MB nicolo-ribaudo
npm/@babel/plugin-proposal-optional-chaining@7.21.0 None +2 41.6 kB nicolo-ribaudo
npm/@babel/plugin-syntax-typescript@7.20.0 None 0 6.26 kB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.21.3 None 0 64.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-react-display-name@7.18.6 None 0 5.26 kB nicolo-ribaudo
npm/@babel/runtime@7.21.0 None 0 258 kB nicolo-ribaudo
npm/@babel/template@7.20.7 None 0 68.8 kB nicolo-ribaudo
npm/@babel/traverse@7.21.3 None +3 596 kB nicolo-ribaudo
npm/@babel/types@7.21.3 environment +1 2.51 MB nicolo-ribaudo
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/@ethereumjs/common@2.6.5 None 0 2.53 MB holgerd77
npm/@noble/curves@1.1.0 None 0 1.3 MB paulmillr
npm/@safe-global/api-kit@1.3.1 None +2 846 kB dasanra
npm/@safe-global/protocol-kit@1.3.0 None +1 2.62 MB dasanra
npm/@sindresorhus/is@4.6.0 None 0 57.5 kB sindresorhus
npm/@testing-library/jest-dom@5.16.5 None +3 360 kB testing-library-bot
npm/@testing-library/react@13.4.0 environment +2 6.94 MB testing-library-bot
npm/@testing-library/user-event@13.5.0 Transitive: environment +2 3.09 MB testing-library-bot
npm/@types/babel__core@7.20.0 None +2 52.3 kB types
npm/@types/babel__traverse@7.18.3 None 0 65.2 kB types
npm/@types/bn.js@5.1.5 None 0 13.8 kB types
npm/@types/cacheable-request@6.0.3 None +3 29.3 kB types
npm/@types/jest@29.5.0 None +4 521 kB types
npm/@types/react-dom@18.0.11 None 0 28.8 kB types
npm/@types/react@18.0.30 None +2 193 kB types
npm/@typescript-eslint/utils@5.57.0 Transitive: environment, filesystem +6 2.29 MB jameshenry
npm/abab@2.0.6 None 0 10.4 kB jeffcarp
npm/acorn-walk@7.2.0 None 0 100 kB marijn
npm/add@2.0.6 None 0 8.06 kB benng
npm/address@1.2.2 environment, filesystem, shell 0 13 kB fengmk2
npm/aria-query@5.1.3 None 0 176 kB jessebeach
npm/array-includes@3.1.6 None 0 25 kB ljharb
npm/assert@2.1.0 None 0 82.1 kB ljharb
npm/babel-jest@27.5.1 environment Transitive: eval, filesystem, shell +20 220 kB simenb
npm/base-x@3.0.9 None 0 9.35 kB junderw
npm/bluebird@3.7.2 environment, eval, unsafe 0 632 kB esailija
npm/browserify-aes@1.2.0 None +1 34.6 kB cwmma
npm/browserify-rsa@4.1.0 None 0 3.68 kB cwmma
npm/buffer@6.0.3 None +1 101 kB feross
npm/camelcase@6.3.0 None 0 11.7 kB sindresorhus
npm/cipher-base@1.0.4 None 0 7.95 kB cwmma
npm/convert-source-map@1.9.0 filesystem 0 11.4 kB thlorenz

🚮 Removed packages: npm/@babel/code-frame@7.24.2, npm/@babel/compat-data@7.24.4, npm/@babel/core@7.24.5, npm/@babel/generator@7.24.5, npm/@babel/helper-compilation-targets@7.23.6, npm/@babel/helper-create-class-features-plugin@7.18.9, npm/@babel/helper-create-regexp-features-plugin@7.20.5, npm/@babel/helper-environment-visitor@7.22.20, npm/@babel/helper-function-name@7.18.9, npm/@babel/helper-member-expression-to-functions@7.18.9, npm/@babel/helper-module-imports@7.24.3, npm/@babel/helper-module-transforms@7.24.5, npm/@babel/helper-plugin-utils@7.18.9, npm/@babel/helper-replace-supers@7.18.9, npm/@babel/helper-simple-access@7.24.5, npm/@babel/helper-split-export-declaration@7.24.5, npm/@babel/helper-string-parser@7.24.1, npm/@babel/helper-validator-identifier@7.24.5, npm/@babel/helper-validator-option@7.23.5, npm/@babel/helpers@7.24.5, npm/@babel/highlight@7.24.5, npm/@babel/parser@7.24.5, npm/@babel/plugin-proposal-optional-chaining@7.20.7, npm/@babel/plugin-syntax-flow@7.22.5, npm/@babel/plugin-syntax-jsx@7.22.5, npm/@babel/plugin-syntax-typescript@7.18.6, npm/@babel/plugin-transform-block-scoping@7.20.15, npm/@babel/plugin-transform-classes@7.20.7, npm/@babel/plugin-transform-destructuring@7.20.7, npm/@babel/plugin-transform-flow-strip-types@7.22.5, npm/@babel/plugin-transform-for-of@7.18.8, npm/@babel/plugin-transform-modules-commonjs@7.20.11, npm/@babel/plugin-transform-parameters@7.20.7, npm/@babel/plugin-transform-react-display-name@7.22.5, npm/@babel/plugin-transform-react-jsx@7.22.5, npm/@babel/preset-typescript@7.18.6, npm/@babel/runtime@7.22.10, npm/@babel/template@7.24.0, npm/@babel/traverse@7.24.5, npm/@babel/types@7.24.5, npm/@graphql-codegen/cli@3.0.0, npm/@graphql-codegen/plugin-helpers@4.2.0, npm/@graphql-codegen/schema-ast@3.0.1, npm/@graphql-codegen/typescript-operations@3.0.4, npm/@graphql-codegen/typescript@3.0.0, npm/@graphql-tools/executor-http@0.1.10, npm/@graphql-tools/graphql-file-loader@7.5.17, npm/@graphql-tools/graphql-tag-pluck@7.5.2, npm/@graphql-tools/json-file-loader@7.4.18, npm/@graphql-tools/load@7.8.14, npm/@graphql-tools/merge@8.4.2, npm/@graphql-tools/schema@9.0.19, npm/@graphql-tools/url-loader@7.17.18, npm/@graphql-tools/utils@9.2.1, npm/@graphql-typed-document-node/core@3.2.0, npm/@jest/schemas@29.6.3, npm/@jest/types@29.6.3, npm/@jridgewell/resolve-uri@3.1.1, npm/@jridgewell/set-array@1.2.1, npm/@jridgewell/trace-mapping@0.3.14, npm/@repeaterjs/repeater@3.0.4, npm/@sinclair/typebox@0.27.8, npm/@typechain/ethers-v5@11.1.1, npm/@types/babel__traverse@7.17.1, npm/@types/jest@29.4.0, npm/@types/node@18.13.0, npm/@typescript-eslint/eslint-plugin@5.51.0, npm/@typescript-eslint/parser@5.51.0, npm/agent-base@7.1.0, npm/array-back@3.1.0, npm/asn1js@3.0.5, npm/babel-plugin-inline-import@3.0.0, npm/browserslist@4.23.0, npm/caniuse-lite@1.0.30001614, npm/convert-source-map@2.0.0, npm/coveralls@3.1.1, npm/css-tree@1.1.3, npm/define-properties@1.2.0, npm/diff-sequences@29.6.3, npm/duplexer@0.1.1, npm/electron-to-chromium@1.4.752, npm/es-abstract@1.21.1, npm/escape-string-regexp@1.0.5, npm/eslint-config-prettier@8.6.0, npm/eslint-plugin-prettier@4.2.1, npm/eslint-plugin-unused-imports@3.0.0, npm/eslint@8.33.0

View full report↗︎

socket-security[bot] commented 4 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 NoteSource
Install scripts npm/core-js@3.29.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
  • orphan: npm/core-js@3.29.1
Install scripts npm/core-js-pure@3.29.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
  • orphan: npm/core-js-pure@3.29.1

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/core-js@3.29.1
  • @SocketSecurity ignore npm/core-js-pure@3.29.1
coveralls commented 4 months ago

Coverage Status

coverage: 78.851%. remained the same when pulling c17bf90fc5b7f3e0a0721d9246c3f8967bbef309 on feat/4310_add-arbitrum into ca5a58197375fd18db9d89e94c40946c4a915974 on main.