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

Standardise repo per module template as of July 2023 #139

Merged
merged 4 commits into from
Jul 12, 2023

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Jul 11, 2023

This updates the repository to match the module template as of July 2023. This includes:

  • A Slack webhook URL to send a message for deployment.
  • Building the package as ESM and CJS.
  • Several GitHub actions versions bumps.
  • Several (dev)dependency updates.
  • Yarn constraints.
  • GitHub actions standardisation.

This was done using template-sync, and can be verified using yarn dlx @metamask/template-sync --check.

@Mrtenz Mrtenz requested a review from a team as a code owner July 11, 2023 20:28
@socket-security
Copy link

socket-security bot commented Jul 11, 2023

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

Packages Version New capabilities Transitives Size Publisher
@lavamoat/preinstall-always-fail 1.0.0 None +0 2.17 kB kumavis
@types/node 18.7.15 None +0 1.75 MB types
@swc/cli 0.1.62 filesystem, shell, environment +85 388 MB kdy1
depcheck 1.4.3 filesystem +30 12.5 MB rumpl
@swc/core 1.3.68 filesystem, shell, environment +10 384 MB kdy1
ts-jest 27.1.5...28.0.8 None +68/-130 390 MB kul
jest 27.5.1...28.1.3 None +67/-128 390 MB simenb
@types/jest 27.5.2...28.1.8 None +14/-6 2.64 MB types

🚮 Removed packages: @typescript-eslint/eslint-plugin@5.45.0, @typescript-eslint/parser@5.45.0

@socket-security
Copy link

socket-security bot commented Jul 11, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: react-is@18.2.0, clone-response@1.0.3, responselike@2.0.1, cosmiconfig@7.1.0, @mole-inc/bin-wrapper@8.0.1, @swc/cli@0.1.62, @swc/core@1.3.68, arch@2.2.0, @jest/expect@28.1.3, @jest/expect-utils@28.1.3, @jest/schemas@28.1.3, @lavamoat/preinstall-always-fail@1.0.0, @nicolo-ribaudo/semver-v6@6.3.3, got@11.8.6, query-ast@1.0.5, scss-parser@1.0.6, semver-compare@1.0.0, loose-envify@1.4.0, depcheck@1.4.3, readable-web-to-node-stream@3.0.2, strip-outer@2.0.0, strip-eof@1.0.0, pump@3.0.0, @tokenizer/token@0.3.0, executable@4.1.1, invariant@2.2.4, bin-check@4.1.0, semver-truncate@3.0.0, please-upgrade-node@3.2.0, sort-keys@1.1.2, lowercase-keys@2.0.0, find-versions@5.1.0, filename-reserved-regex@3.0.0, defer-to-connect@2.0.1, content-disposition@0.5.4, json-buffer@3.0.1, bin-version@6.0.0, deps-regex@0.1.4, @szmarczak/http-timer@4.0.6, @types/http-cache-semantics@4.0.1, is-binary-path@2.1.0, source-map-js@1.0.2, pseudomap@1.0.2, end-of-stream@1.4.4, semver-regex@4.0.5, binary-extensions@2.2.0, multimatch@5.0.0, ext-list@2.2.2, require-package-name@2.0.1, chokidar@3.5.3, array-differ@3.0.0, ieee754@1.2.1, quick-lru@5.1.1, os-filter-obj@2.0.0, sort-keys-length@1.0.1, readdirp@3.6.0, p-finally@1.0.0, arrify@2.0.1, trim-repeated@2.0.0, ext-name@5.0.0, mimic-response@1.0.1, mimic-response@3.1.0, resolve-alpn@1.2.1, http2-wrapper@1.0.3, cacheable-request@7.0.4, cacheable-lookup@5.0.4, @vue/compiler-sfc@3.3.4, sass@1.63.6, semver@6.3.1, semver@7.5.4

Next steps

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 package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

@Mrtenz Mrtenz force-pushed the mrtenz/standardise-july-2023 branch from d4775b4 to 2521db6 Compare July 11, 2023 21:31
@Mrtenz
Copy link
Member Author

Mrtenz commented Jul 12, 2023

@SocketSecurity ignore-all

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