snaps icon indicating copy to clipboard operation
snaps copied to clipboard

Add TypeScript typechecking to snaps-cli

Open ritave opened this issue 1 year ago • 4 comments

This PR adds support for Typescript checking in snaps-cli. It does so by using fork-ts-checker-webpack-plugin webpack plugin which runs TSC in a separate thread during webpack compilation.

fixes #2785

ritave avatar Oct 02 '24 09:10 ritave

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

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] environment +5 139 kB nicolo-ribaudo
npm/[email protected] environment, filesystem, shell +9 697 kB piotr-oles

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected]

View full report↗︎

socket-security[bot] avatar Oct 02 '24 09:10 socket-security[bot]

👍 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: npm/[email protected]

View full report↗︎

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 ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

socket-security[bot] avatar Oct 02 '24 09:10 socket-security[bot]

@SocketSecurity ignore npm/[email protected]

ritave avatar Oct 06 '24 13:10 ritave

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.45%. Comparing base (92bdf72) to head (f210f23). Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2783   +/-   ##
=======================================
  Coverage   94.45%   94.45%           
=======================================
  Files         484      484           
  Lines       10334    10337    +3     
  Branches     1573     1575    +2     
=======================================
+ Hits         9761     9764    +3     
  Misses        573      573           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 07 '24 11:10 codecov[bot]