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

@swc/core

Package Overview
Dependencies
Maintainers
0
Versions
715
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.6.7

Diff

Changelog

Source

[1.6.7] - 2024-07-03

Bug Fixes

  • (es/compat) Do not reuse span (#9117) (6520052)

Documentation

  • Use @swc/counter for 3rd-party download count (026ff7e)

Features

  • (binding) Create Wasm package for stripping only TypeScript (#9124) (6b3c0da)

  • (es/minifier) Handle more indexing expression (#8750) (570c47a)

  • (preset-env) Upgrade browserslist-rs (#9023) (18d6277)

Performance

  • (es/lexer) Do not use memchr::memmem in parser (#9118) (72021de)

Refactor

  • (es/typescript) Extract type annotation proposal out (#9127) (dfee5f8)

Testing

Build

  • (bindings) Fix build of typescript binding (#9125) (f409bc0)
kdy1
published 1.6.7-nightly-20240703.4 •

kdy1
published 1.6.7-nightly-20240703.2 •

kdy1
published 1.6.7-nightly-20240703.1 •

kdy1
published 1.6.6 •

Changelog

Source

[1.6.6] - 2024-06-29

Bug Fixes

Performance

kdy1
published 1.6.5 •

kdy1
published 1.6.4 •

Changelog

Source

[1.6.4] - 2024-06-22

Features

  • (cli) Support generating .d.ts files (#9097) (e71b6d3)

  • (common) Add fallible methods to swc_common::SourceMap (#9090) (e423d1b)

  • (es/transform) Add experimental .d.ts generation (#9093) (51a2702)

  • (swc_core) Reexport swc_typescript (#9092) (a2645e2)

  • (typescript) Implement Isolated Declaration (#9086) (a855159)

Miscellaneous Tasks

Performance

  • (es/lexer) Apply various optimizations (#9095) (2f02630)

  • (es/lexer) Use memchr::memmem for lexing block comments (#9096) (1b3672f)

Refactor

kdy1
published 1.6.3 •

Changelog

Source

[1.6.3] - 2024-06-19

Bug Fixes

  • (css/minifier) Don't tranform rotate deg (#9072) (8d37dae)

  • (es/decorators) Reduce the number of sourcemap mappings (#9074) (cfe3ba3)

Performance

  • (common) Use Chars in StringInput (#9073) (7698eaa)

  • (es/lexer) Optimize lexer (#9075) (6426928)

  • (es/lexer) Make lexing of string literals faster (#9077) (373bac5)

  • (es/lexer) Reduce allocation while lexing identifiers (#9076) (69f00b8)

  • (es/lexer) Add a fast-path to template literal lexer (#9080) (238f1c5)

  • (es/lexer) Add fast-path to jsx lexer (#9081) (af58606)

Refactor

  • (common) Simplify StringInput implementation (#9071) (c3a8c0b)
kdy1
published 1.6.1 •

Changelog

Source

[1.6.1] - 2024-06-16

Bug Fixes

  • (common) Revert Use SourceMap::adjust_mappings (#9058) (cdd20cd)

Performance

  • (es/parser) Reduce allocations while lexing numbers (#9057) (ca26eb7)
kdy1
published 1.6.0 •

Changelog

Source

[1.6.0] - 2024-06-15

Features

Performance

  • (es/lints) Avoid needless allocations in no-dupe-args (#9041) (e560198)

  • (es/parser) Do not track raw by hand (#9047) (60fe5f0)

  • (es/parser) Reduce allocations for raw while lexing numbers (#9056) (bc8ec62)

Refactor

Testing

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