Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swc/core

Package Overview
Dependencies
Maintainers
2
Versions
720
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/core - npm Package Versions

1
72

1.7.39

Diff

Changelog

Source

[1.7.39] - 2024-10-22

Bug Fixes

  • (es/compat) Add missing visit children for destructuring (#9658) (32116a0)

  • (es/parser) Correct > and < when exit type context (#9653) (abffc07)

  • (es/proposal) Use tsc version of explicit resource management (#9585) (f735108)

  • (wasm-typescript) Fix option types of functions (#9662) (4cbe33c)

Features

  • (es/minifier) Implement optional catch binding (#9657) (f70b842)

Miscellaneous Tasks

  • (es/typescript) Improve enum comments and sourcemap (#9652) (31fe3b6)
kdy1
published 1.7.39-nightly-20241022.1 •

kdy1
published 1.7.38-nightly-20241021.1 •

kdy1
published 1.7.37-nightly-20241021.1 •

kdy1
published 1.7.36 •

Changelog

Source

[1.7.36] - 2024-10-15

Bug Fixes

  • (es) Run esnext transforms on esnext target (#9644) (8a19201)

  • (es/codegen) Emit space after div if rhs has leading comment (#9631) (f2be26e)

  • (es/lints) Correct the false positive error of TS2309 (#9635) (f74c1f3)

  • (es/minifier) Only merge last if return (#9633) (6f52949)

  • (es/minifier) Check type of assignment target before merging assignments (#9617) (4436621)

Features

  • (es) Introduce runPluginFirst for Wasm plugins (#9645) (3d3e434)

  • (es/minifier) Support unary negate in cast_to_number (#9642) (88a2186)

Miscellaneous Tasks

  • (deps) Update dependency magic-string to v0.30.12 (#9634) (085bc19)
kdy1
published 1.7.36-nightly-20241015.1 •

kdy1
published 1.7.35 •

Changelog

Source

[1.7.35] - 2024-10-10

Bug Fixes

  • (ci) Fix target triples (#9622) (f625035)

  • (es/codegen) Fix source map so it works with Sentry (#9627) (9c90a73)

  • (es/minifier) Compress consecutive return statements properly (#9620) (8263da1)

  • (es/module) Allow TypeScript nodes for Rewriter (#9606) (4ee45ac)

  • (es/testing) Revert #9264 (#9621) (85f5e5b)

  • (html/minifier) Fix HTML minifier TS types (#9615) (7b98bb5)

Features

  • (bindings/html) Accept Buffer|string instead of Buffer (#9625) (62edb36)

  • (es/preset-env) Update preset-env data (#9573) (9a11d34)

  • (es/testing) Parse test code as a Program instead of a Module (#9264) (166b858)

  • (es/testing) Parse test code as a Program instead of a Module (#9623) (bfea322)

Miscellaneous Tasks

Performance

  • (es) Avoid needless string comparisons (#9613) (ec0a62c)

  • (es/codegen) Reduce usage of tracing::instrument (#9604) (2f06fc5)

  • (es/transforms) Copy benchmarks from oxc (#9602) (24c3a0c)

  • (es/typescript) Reduce unnecessary visits (#9605) (866af6c)

Refactor

  • (es/typescript) Simplifying enum and namespace transforms (#9558) (2480bb0)

Build

kdy1
published 1.7.35-nightly-20241010.1 •

kdy1
published 1.7.31-nightly-20241008.1 •

kdy1
published 1.7.30-nightly-20241002.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc