Skip to content

Conversation

@nikoferro
Copy link

@nikoferro nikoferro commented May 6, 2024

This PR attempts to bring as close as possible, this controller module to the module-template configuration

  • it includes changes on the CI pipeline
  • yarn update to v4
  • tests files are now passing through the linter (changes and fixes derived from this, included in the PR)

Aside from the usual code review, we need:

This PR should also fix:

#224
#198
#197
#196

@socket-security
Copy link

socket-security bot commented May 6, 2024

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

Package New capabilities Transitives Size Publisher
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-module-transforms@7.24.5 None 0 158 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.5 None 0 130 kB nicolo-ribaudo
npm/@babel/helper-simple-access@7.24.5 None 0 14.1 kB nicolo-ribaudo
npm/@babel/helper-split-export-declaration@7.24.5 None 0 10.7 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.24.5 None 0 49.2 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/parser@7.24.5 None 0 1.89 MB 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/@es-joy/jsdoccomment@0.36.1 None 0 71.2 kB brettz9
npm/@esbuild/android-arm@0.19.12 None 0 11.5 MB evanw
npm/@esbuild/android-arm64@0.19.12 None 0 9.83 MB evanw
npm/@esbuild/android-x64@0.19.12 None 0 11.5 MB evanw
npm/@esbuild/darwin-arm64@0.19.12 None 0 9.76 MB evanw
npm/@esbuild/darwin-x64@0.19.12 None 0 10.2 MB evanw
npm/@esbuild/freebsd-arm64@0.19.12 None 0 8.85 MB evanw
npm/@esbuild/freebsd-x64@0.19.12 None 0 9.61 MB evanw
npm/@esbuild/linux-arm@0.19.12 None 0 9.18 MB evanw
npm/@esbuild/linux-arm64@0.19.12 None 0 8.85 MB evanw
npm/@esbuild/linux-ia32@0.19.12 None 0 9.14 MB evanw
npm/@esbuild/linux-loong64@0.19.12 None 0 9.37 MB evanw
npm/@esbuild/linux-mips64el@0.19.12 None 0 10.4 MB evanw
npm/@esbuild/linux-ppc64@0.19.12 None 0 9.18 MB evanw
npm/@esbuild/linux-riscv64@0.19.12 None 0 9.11 MB evanw
npm/@esbuild/linux-s390x@0.19.12 None 0 10 MB evanw
npm/@esbuild/linux-x64@0.19.12 None 0 9.6 MB evanw
npm/@esbuild/netbsd-x64@0.19.12 None 0 9.59 MB evanw
npm/@esbuild/openbsd-x64@0.19.12 None 0 9.62 MB evanw
npm/@esbuild/sunos-x64@0.19.12 None 0 9.59 MB evanw
npm/@esbuild/win32-arm64@0.19.12 None 0 8.98 MB evanw
npm/@esbuild/win32-ia32@0.19.12 None 0 9.45 MB evanw
npm/@esbuild/win32-x64@0.19.12 None 0 9.81 MB evanw
npm/@inquirer/confirm@0.0.14-alpha.0 None 0 3.75 kB sboudrias
npm/@inquirer/core@0.0.15-alpha.0 None 0 26.7 kB sboudrias
npm/@inquirer/input@0.0.15-alpha.0 None 0 7.33 kB sboudrias
npm/@jest/console@28.1.3 None 0 19.4 kB simenb
npm/@jest/core@28.1.3 unsafe +2 156 kB simenb
npm/@jest/environment@28.1.3 None 0 13.2 kB simenb
npm/@jest/expect-utils@28.1.3 None 0 25.7 kB simenb
npm/@jest/expect@28.1.3 None 0 5.15 kB simenb
npm/@jest/fake-timers@28.1.3 None 0 25.2 kB simenb
npm/@jest/globals@28.1.3 None 0 3.32 kB simenb
npm/@jest/reporters@28.1.3 environment, unsafe Transitive: filesystem +1 163 kB simenb
npm/@jest/schemas@28.1.3 None 0 5.82 kB simenb
npm/@jest/source-map@28.1.2 None 0 5.08 kB simenb
npm/@jest/test-result@28.1.3 None 0 15.7 kB simenb
npm/@jest/test-sequencer@28.1.3 None 0 13.2 kB simenb
npm/@jest/transform@28.1.3 Transitive: filesystem +1 63.1 kB simenb
npm/@jest/types@28.1.3 None 0 31.9 kB simenb
npm/@lavamoat/preinstall-always-fail@2.0.0 None 0 3.25 kB naugtur
npm/@metamask/eth-json-rpc-infura@6.0.0 None +1 90 kB gudahtt
npm/@metamask/eth-sig-util@4.0.1 None +11 3.24 MB gudahtt
npm/@metamask/swaps-controller@0.0.0-use.local None 0 0 B
npm/@npmcli/fs@3.1.1 filesystem 0 26.5 kB lukekarrys
npm/@npmcli/git@5.0.7 filesystem 0 21.8 kB npm-cli-ops
npm/@npmcli/package-json@5.1.0 filesystem 0 37.5 kB npm-cli-ops
npm/@npmcli/promise-spawn@7.0.2 environment, shell 0 12.2 kB npm-cli-ops
npm/@pkgr/core@0.1.1 None 0 8.54 kB jounqin
npm/@sinclair/typebox@0.24.51 None 0 306 kB sinclair
npm/@sinonjs/commons@1.8.6 None 0 38.7 kB mrgnrdrck
npm/@sinonjs/fake-timers@9.1.2 eval 0 91.6 kB fatso83
npm/@types/jest@28.1.8 None 0 73.6 kB types
npm/@types/minimatch@3.0.5 None 0 8.2 kB types
npm/@types/node@16.18.97 None 0 1.8 MB types
npm/@types/parse-json@4.0.2 None 0 2.95 kB types
npm/@types/prettier@2.7.3 None 0 49.8 kB types
npm/@vue/compiler-core@3.4.27 environment, eval 0 604 kB yyx990803
npm/@vue/compiler-dom@3.4.27 environment, eval 0 611 kB yyx990803
npm/@vue/compiler-sfc@3.4.27 environment, eval, filesystem, unsafe 0 2.28 MB yyx990803
npm/@vue/compiler-ssr@3.4.27 None 0 46.6 kB yyx990803
npm/@vue/shared@3.4.27 environment 0 80.6 kB yyx990803
npm/@yarnpkg/types@4.0.0 None 0 8.8 kB yarnbot
npm/ansi-colors@4.1.3 environment 0 26.1 kB jonschlinkert
npm/ansi-sequence-parser@1.1.1 None 0 21.9 kB bmealey
npm/any-promise@1.3.0 None 0 22.2 kB kevinbeaty
npm/apg-js@4.4.0 filesystem 0 1.46 MB ldthomas
npm/array-differ@3.0.0 None 0 3.06 kB sindresorhus
npm/arrify@2.0.1 None 0 3.19 kB sindresorhus
npm/babel-jest@28.1.3 environment 0 14.5 kB simenb
npm/babel-plugin-jest-hoist@28.1.3 None 0 13.7 kB simenb
npm/babel-preset-jest@28.1.3 None 0 2.73 kB simenb
npm/binary-extensions@2.3.0 None 0 5.03 kB sindresorhus
npm/bundle-require@4.1.0 environment, filesystem, unsafe 0 25.3 kB egoist
npm/cac@6.7.14 None 0 81.8 kB egoist
npm/cacache@18.0.3 filesystem 0 63.5 kB npm-cli-ops
npm/callsite@1.0.0 None 0 1.47 kB tjholowaychuk
npm/caniuse-lite@1.0.30001616 None 0 2.05 MB caniuse-lite
npm/chokidar@3.6.0 environment, filesystem +1 102 kB paulmillr
npm/cjs-module-lexer@1.3.1 None 0 139 kB guybedford
npm/cli-spinners@2.9.2 None 0 32.1 kB sindresorhus
npm/cli-width@3.0.0 environment 0 11.5 kB knownasilya
npm/cliui@7.0.4 None 0 30.6 kB oss-bot
npm/cmd-shim@6.0.3 filesystem 0 12.2 kB npm-cli-ops
npm/commander@9.5.0 environment, filesystem, shell 0 173 kB abetomo
npm/convert-source-map@1.9.0 filesystem 0 11.4 kB thlorenz
npm/cosmiconfig@7.1.0 filesystem 0 92 kB d-fischer
npm/dedent@0.7.0 None 0 4.85 kB dmnd
npm/depcheck@1.4.7 filesystem, unsafe Transitive: environment +1 517 kB rumpl
npm/deps-regex@0.2.0 None 0 6.82 kB mathieudutour
npm/detect-file@1.0.0 filesystem 0 8.63 kB doowb
npm/detect-indent@7.0.1 None 0 9.75 kB sindresorhus
npm/diff-sequences@28.1.1 None 0 46 kB simenb
npm/electron-to-chromium@1.4.758 None 0 287 kB kilianvalkhof
npm/emittery@0.10.2 None 0 44.4 kB sindresorhus
npm/esbuild@0.19.12 environment, filesystem, network, shell +1 10.5 MB evanw
npm/eslint-plugin-jsdoc@39.9.1 None +1 1.63 MB gajus
npm/estree-walker@2.0.2 None 0 50.2 kB rich_harris
npm/eth-json-rpc-filters@5.0.0 None +1 35.3 kB gudahtt
npm/expand-tilde@2.0.2 None 0 6.59 kB doowb
npm/expect@28.1.3 None 0 143 kB simenb
npm/findup-sync@5.0.0 filesystem 0 6.63 kB phated
npm/get-stdin@9.0.0 None 0 4.54 kB sindresorhus
npm/git-hooks-list@3.1.0 None 0 5.57 kB fisker
npm/global-modules@1.0.0 None 0 6.52 kB jonschlinkert
npm/global-prefix@1.0.2 environment, filesystem +1 18 kB phated
npm/globalthis@1.0.4 None 0 23.7 kB ljharb
npm/homedir-polyfill@1.0.3 environment, filesystem 0 8.05 kB doowb
npm/hosted-git-info@7.0.2 None 0 26.6 kB npm-cli-ops
npm/ini@1.3.8 None 0 9.3 kB isaacs
npm/is-binary-path@2.1.0 None 0 3.08 kB sindresorhus
npm/is-plain-obj@4.1.0 None 0 4.08 kB sindresorhus
npm/is-windows@1.0.2 None 0 7.96 kB jonschlinkert
npm/jest-changed-files@28.1.3 environment 0 13.8 kB simenb
npm/jest-circus@28.1.3 None 0 69.3 kB simenb
npm/jest-cli@28.1.3 None 0 44.7 kB simenb
npm/jest-config@28.1.3 None 0 106 kB simenb
npm/jest-diff@28.1.3 None 0 78.6 kB simenb
npm/jest-docblock@28.1.1 None 0 9.11 kB simenb
npm/jest-each@28.1.3 None 0 38 kB simenb
npm/jest-environment-node@28.1.3 unsafe 0 8.57 kB simenb
npm/jest-get-type@28.0.2 None 0 3.85 kB simenb
npm/jest-haste-map@28.1.3 environment, filesystem, shell, unsafe 0 128 kB simenb
npm/jest-it-up@2.2.0 filesystem 0 9.35 kB rbardini
npm/jest-leak-detector@28.1.3 unsafe 0 6.53 kB simenb
npm/jest-matcher-utils@28.1.3 None 0 27.8 kB simenb
npm/jest-message-util@28.1.3 None 0 17 kB simenb
npm/jest-mock@28.1.3 None 0 42 kB simenb
npm/jest-regex-util@28.0.2 None 0 3.59 kB simenb
npm/jest-resolve-dependencies@28.1.3 None 0 8.93 kB simenb
npm/jest-resolve@28.1.3 environment, unsafe 0 63.2 kB simenb
npm/jest-runner@28.1.3 environment 0 31.5 kB simenb
npm/jest-runtime@28.1.3 unsafe 0 85.3 kB simenb
npm/jest-snapshot@28.1.3 eval 0 81.8 kB simenb
npm/jest-util@28.1.3 environment 0 35.8 kB simenb
npm/jest-validate@28.1.3 None 0 28.2 kB simenb
npm/jest-watcher@28.1.3 None 0 23.9 kB simenb
npm/jest-worker@28.1.3 environment, shell +1 77.6 kB simenb
npm/jest@28.1.3 None 0 5.06 kB simenb
npm/joycon@3.1.1 environment, filesystem 0 14 kB egoist
npm/jsdoc-type-pratt-parser@3.1.0 None 0 229 kB jsdoc-type-pratt-parser
npm/json-parse-even-better-errors@3.0.2 None 0 9.94 kB npm-cli-ops
npm/jsonc-parser@3.2.1 None 0 210 kB vscode-bot
npm/lilconfig@3.1.1 filesystem 0 17.7 kB antonk52
npm/load-tsconfig@0.2.5 None 0 17.1 kB egoist
npm/lodash.sortby@4.7.0 None 0 75.8 kB jdalton
npm/lru-cache@10.2.2 None 0 681 kB isaacs
npm/lunr@2.3.9 None 0 976 kB olivernn
npm/magic-string@0.30.10 None 0 452 kB antfu
npm/make-fetch-happen@13.0.1 network 0 52.8 kB npm-cli-ops
npm/marked@4.3.0 None 0 428 kB tonybrix
npm/minimatch@7.4.6 environment +1 380 kB isaacs
npm/minipass-fetch@3.0.5 environment, network 0 46.8 kB npm-cli-ops
npm/minipass@7.1.0 None 0 285 kB isaacs
npm/multimatch@5.0.0 None 0 6.03 kB sindresorhus
npm/mute-stream@0.0.8 None 0 6.51 kB isaacs
npm/mz@2.7.0 filesystem, network, shell 0 9.77 kB jongleberry
npm/nanoid@3.3.7 None 0 24.4 kB ai
npm/node-gyp-build@4.8.1 environment, filesystem 0 13.4 kB mafintosh
npm/nopt@7.2.1 None 0 26.2 kB npm-cli-ops
npm/normalize-package-data@6.0.1 None 0 28.2 kB npm-cli-ops
npm/npm-pick-manifest@9.0.1 None 0 16.3 kB npm-cli-ops
npm/object-assign@4.1.1 None 0 5.49 kB sindresorhus
npm/optionator@0.9.4 None 0 50.2 kB gkz
npm/parse-passwd@1.0.0 None 0 5.96 kB doowb
npm/please-upgrade-node@3.2.0 None 0 5.54 kB typicode
npm/postcss-load-config@4.0.2 environment, unsafe +1 693 kB ai
npm/postcss@8.4.38 environment, filesystem 0 198 kB ai
npm/prettier-plugin-packagejson@2.5.0 None 0 5.55 kB matzkoh
npm/pretty-format@28.1.3 None +1 77.7 kB simenb
npm/react-is@18.3.1 environment 0 24 kB react-bot
npm/readdirp@3.6.0 filesystem 0 20.5 kB paulmillr
npm/require-package-name@2.0.1 None 0 3.74 kB mattdesl
npm/resolve-dir@1.0.1 None 0 6.29 kB phated
npm/resolve.exports@1.1.1 None 0 20.9 kB lukeed
npm/rollup@4.17.2 environment, filesystem +17 46.7 MB lukastaegert
npm/run-async@2.4.1 None 0 6.6 kB sboudrias
npm/semver-compare@1.0.0 None 0 4.05 kB substack
npm/shiki@0.14.7 filesystem, network 0 15.7 MB antfu
npm/sort-object-keys@1.1.3 None 0 2.69 kB keithamus
npm/sort-package-json@2.10.0 None +3 64.6 kB keithamus
npm/source-map-js@1.2.0 None 0 140 kB 7rulnik
npm/ssri@10.0.6 None 0 38.7 kB npm-cli-ops
npm/sucrase@3.35.0 Transitive: filesystem, shell +1 1.23 MB alangpierce
npm/supports-hyperlinks@2.3.0 None 0 6.93 kB sindresorhus
npm/synckit@0.9.0 environment 0 54.4 kB jounqin
npm/terminal-link@2.1.1 None 0 6.52 kB sindresorhus
npm/thenify-all@1.6.0 None 0 6.59 kB dead_horse
npm/thenify@3.3.1 None 0 7.92 kB dead_horse
npm/tough-cookie@4.1.4 None +1 145 kB ccasey
npm/tr46@1.0.1 None 0 322 kB sebmaster
npm/tree-kill@1.2.2 shell 0 7.82 kB wmhilton
npm/ts-interface-checker@0.1.13 None 0 68 kB dsagal2
npm/ts-jest@28.0.8 environment, filesystem, unsafe 0 263 kB kul
npm/tsup@7.3.0 environment, eval, filesystem +2 761 kB egoist
npm/tweetnacl-util@0.15.1 None 0 8.14 kB dchest
npm/tweetnacl@1.0.3 None 0 175 kB dchest
npm/typedoc@0.23.28 environment, filesystem, shell, unsafe 0 1.08 MB typedoc-bot
npm/typescript@4.8.4 None 0 68.8 MB typescript-bot
npm/update-browserslist-db@1.0.15 environment 0 14.3 kB ai
npm/validate-npm-package-name@5.0.1 unsafe 0 7.77 kB npm-cli-ops
npm/vscode-oniguruma@1.7.0 network 0 490 kB vscode-bot
npm/vscode-textmate@8.0.0 None 0 347 kB vscode-bot
npm/web3-eth-abi@4.2.1 None 0 398 kB luu-alex
npm/web3-eth-accounts@4.1.2 None 0 1.35 MB luu-alex
npm/web3-eth-contract@4.4.0 None 0 398 kB luu-alex
npm/web3-eth@4.6.0 None +1 1.3 MB luu-alex
npm/web3-provider-engine@16.0.8 Transitive: environment, network +3 2.95 MB lgbot
npm/web3-types@1.6.0 None 0 300 kB luu-alex
npm/web3-utils@4.2.3 None 0 523 kB luu-alex
npm/web3@4.8.0 None 0 3.3 MB luu-alex
npm/webidl-conversions@4.0.2 None 0 19.3 kB domenic
npm/word-wrap@1.2.5 None 0 11.8 kB jonschlinkert
npm/yaml@1.10.2 environment 0 448 kB eemeli
npm/yargs-parser@20.2.9 environment, filesystem 0 124 kB oss-bot
npm/zod@3.23.6 None 0 666 kB colinmcd94

🚮 Removed packages: npm/@babel/core@7.24.4, npm/@babel/generator@7.24.4, npm/@babel/helper-plugin-utils@7.24.0, npm/@babel/parser@7.24.4, npm/@babel/types@7.24.0, npm/@types/jest@26.0.24, npm/@types/node@20.12.7, npm/agent-base@6.0.2, npm/eslint-plugin-jsdoc@43.2.0, npm/eslint-plugin-node@11.1.0, npm/jest-environment-jsdom@29.7.0, npm/jest-util@29.7.0, npm/jest@29.7.0, npm/lru-cache@10.2.0, npm/minipass@7.0.4, npm/parse5@7.1.2, npm/pretty-format@26.6.2, npm/tough-cookie@4.1.3, npm/ts-jest@29.1.2, npm/web3-eth-accounts@4.1.1, npm/web3-eth@4.5.0, npm/web3-types@1.5.0, npm/web3-utils@4.2.2, npm/web3@4.7.0, npm/ws@8.16.0

View full report↗︎

@socket-security
Copy link

socket-security bot commented May 6, 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 NoteSource
Shell access npm/commander@4.1.1
New author npm/supports-hyperlinks@2.3.0
Shell access npm/commander@9.5.0
New author npm/cosmiconfig@7.1.0
Shell access npm/mz@2.7.0
Network access npm/mz@2.7.0
Shell access npm/tree-kill@1.2.2
New author npm/resolve-dir@1.0.1
New author npm/expand-tilde@2.0.2
New author npm/global-prefix@1.0.2
New author npm/source-map@0.8.0-beta.0
New author npm/vscode-oniguruma@1.7.0
Network access npm/vscode-oniguruma@1.7.0
Shell access npm/typedoc@0.23.28
Install scripts npm/@lavamoat/preinstall-always-fail@2.0.0
  • Install script: preinstall
  • Source: echo "Don't run npm lifecycle scripts by default! Create a .yarnrc or .npmrc and set enableScripts: false. Then, whitelist them with @lavamoat/allow-scripts" && exit 1
Network access npm/eth-json-rpc-middleware@8.1.0
Deprecated npm/tsup@7.3.0
  • Reason: Breaking node 16
Network access npm/shiki@0.14.7
New author npm/jsonc-parser@3.2.1
Network access npm/esbuild@0.19.12
Shell access npm/esbuild@0.19.12
Network access npm/esbuild@0.19.12
Install scripts npm/esbuild@0.19.12
New author npm/validate-npm-package-name@5.0.1
Unstable ownership npm/validate-npm-package-name@5.0.1

View full report↗︎

Next steps

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

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 a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

What is unstable ownership?

A new collaborator has begun publishing package versions. Package stability and security risk may be elevated.

Try to reduce the amount of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

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/commander@4.1.1
  • @SocketSecurity ignore npm/supports-hyperlinks@2.3.0
  • @SocketSecurity ignore npm/commander@9.5.0
  • @SocketSecurity ignore npm/cosmiconfig@7.1.0
  • @SocketSecurity ignore npm/mz@2.7.0
  • @SocketSecurity ignore npm/tree-kill@1.2.2
  • @SocketSecurity ignore npm/resolve-dir@1.0.1
  • @SocketSecurity ignore npm/expand-tilde@2.0.2
  • @SocketSecurity ignore npm/global-prefix@1.0.2
  • @SocketSecurity ignore npm/source-map@0.8.0-beta.0
  • @SocketSecurity ignore npm/vscode-oniguruma@1.7.0
  • @SocketSecurity ignore npm/typedoc@0.23.28
  • @SocketSecurity ignore npm/@lavamoat/preinstall-always-fail@2.0.0
  • @SocketSecurity ignore npm/eth-json-rpc-middleware@8.1.0
  • @SocketSecurity ignore npm/tsup@7.3.0
  • @SocketSecurity ignore npm/shiki@0.14.7
  • @SocketSecurity ignore npm/jsonc-parser@3.2.1
  • @SocketSecurity ignore npm/esbuild@0.19.12
  • @SocketSecurity ignore npm/validate-npm-package-name@5.0.1

@nikoferro nikoferro changed the title CI + Yarn update feat: Github Actions + Yarn update May 8, 2024
@nikoferro nikoferro marked this pull request as ready for review May 8, 2024 13:00
@nikoferro nikoferro requested review from a team, Gudahtt and legobeat May 8, 2024 13:00
@legobeat
Copy link
Contributor

legobeat commented May 8, 2024

It would be great if the yarn v4 upgrade could be separated into a individual PR separate from the rest of the changes in this PR that aren't required for that.

It would certainly help reviewing dependency changes incurred by the yarn.lock upgrade to have them separate from dependencies updated or added for other reasons.

I also see linting changes here. If linting is required as a consequence of upgrading a package (like eslint config), that would also be good to have broken out as independent change.

Copy link
Contributor

@legobeat legobeat May 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking in the yarn binary is not recommended anymore and I think there is no need introducing it. See:

Comment on lines +65 to +87
"@types/jest": "^28.1.6",
"@types/node": "^16",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@yarnpkg/types": "^4.0.0-rc.52",
"depcheck": "^1.4.3",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-jsdoc": "^43.0.7",
"eslint-plugin-jest": "^27.2.2",
"eslint-plugin-jsdoc": "^39.9.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.0"
"jest": "^28.1.3",
"jest-it-up": "^2.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.3.0",
"ts-jest": "^28.0.7",
"ts-node": "^10.7.0",
"tsup": "^7.2.0",
"typedoc": "^0.23.15",
"typescript": "~4.8.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all of the downgrades happening here intentional?

@nikoferro
Copy link
Author

nikoferro commented May 22, 2024

closed as this is not doable this way at the moment. CI is being upgraded on #237

@legobeat i might come back to this PR at a later stage, but as of now, i think this one is adding extra noise to the updates we are currently working on

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.

3 participants