New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@swc/wasm

Package Overview
Dependencies
Maintainers
1
Versions
674
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/wasm - npm Package Versions

1245
68

1.11.1

Diff
kdy1
published 1.11.1 •

Changelog

Source

[1.11.1] - 2025-02-25

Bug Fixes

  • (error-reporters) Store diagnostics in TransformOutput (#10027) (52caf23)

  • (es/loader) Fix the absolute path check when resolving modules (#10080) (a3894ae)

  • (es/minifier) Fix the order of match arms to inline correctly (#10053) (f0f842d)

  • (es/types) Add transform.verbatimModuleSyntax (#10079) (a883cdc)

  • (swc_common) Fix build with swc_allocator/nightly (#10067) (6a90b1f)

Documentation

Features

  • (es/ast) Add explicit namespace field to distinguish namespace and module declarations (#10023) (76c2cba)

  • (es/ast) Add import attributes to TsImportType (#9796) (7d297be)

  • (es/minifier) Inline across side-effect-free member exprs, (#10056) (19d01d7)

  • (es/minifier) Make seq inliner inline into var without init (#10077) (c4a839b)

  • (es/visit) Introduce core-only visitors (#10049) (bc666be)

  • (swc_allocator) Provide allocators (#10061) (d4362f7)

Miscellaneous Tasks

  • (deps) Update dependency swc-plugin-coverage-instrument to ^0.0.26 (#10051) (d3fbd21)

  • (swc_allocator) Remove nightly from default feature (#10058) (e78b9d1)

  • (swc_allocator) Add #[inline] to allocator methods (#10066) (853eb53)

Performance

Refactor

kdy1
published 1.11.1-nightly-20250224.1 •
kdy1
published 1.11.0-nightly-20250224.1 •
kdy1
published 1.10.18 •

Changelog

Source

[1.10.18] - 2025-02-19

Bug Fixes

  • (hstr) Prevent memory leak for global stores (#10047) (4718bc0)

Miscellaneous Tasks

  • (es/minifier) Make minify-all example ignore parsing errors (#10045) (6c7ec46)

Build

  • (es) Select optimization level for each crates (#10046) (c28d494)
kdy1
published 1.10.18-nightly-20250219.1 •
kdy1
published 1.10.17 •

Changelog

Source

[1.10.17] - 2025-02-18

Bug Fixes

  • (deps) Update cargo (patch) (#10021) (ffb7734)

  • (typescript) Improve type inferring for undefined and null (#10038) (5059ece)

  • (typescript) Remove the usages of private members (#10037) (8410b59)

Performance

Testing

kdy1
published 1.10.17-nightly-20250218.1 •
kdy1
published 1.10.16 •

Changelog

Source

[1.10.16] - 2025-02-13

Bug Fixes

  • (es/minifier) Check assign target before merge assign cond (#10020) (6dab49a)

  • (es/parser) Preserve comment positions with leading semicolon (#10019) (c9937b6)

  • (swc_common) Fix panic with non-narrow chars with width != 2 (#10011) (f9f4cac)

  • (ts/fast-strip) Handle unsupported module keyword (#10022) (308f5d0)

Performance

  • (es/codegen) Reduce allocation using compact_str (#10008) (7d7319f)
kdy1
published 1.10.16-nightly-20250213.1 •
kdy1
published 1.10.15 •

Changelog

Source

[1.10.15] - 2025-02-08

Bug Fixes

  • (es/fixer) Wrap object tagged templates (#9991) (963c3a5)

  • (es/minifier) Dont't optimize swtich case before DCE (#9994) (afe21b5)

  • (es/minifier) Revert #10006 (#10007) (7e21323)

  • (es/parser, es/codegen) Handle trailing empty slots in array patterns (#9992) (1a87e76)

  • (es/react) Avoid adding __self in constructors of derived class in the jsx_self (#9987) (83f24af)

Features

  • (es/ast) Add ShrinkToFit implementation (#10009) (6849b6a)

  • (es/helpers) Update package exports for module-sync and webpack compatibility (#9995) (6f4e7ad)

  • (fast-ts) Support Uint8Array Input (#9879) (61ae579)

Performance

  • (es/codegen) Remove needless allocations (#9978) (9c89d57)

  • (es/minifier) Do not clone from take_ident_of_pat_if_unused (#10005) (dc3b46e)

  • (es/minifier) Allocate in once from mark_property_mutation (#10004) (4a90e51)

  • (es/minifier) Limit infection analysis by the entry size (#10006) (1a3a4b9)

  • (es/minifier) Make the default pass 2 (#10014) (07dc423)