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

@swc/html

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/html - npm Package Versions

1
6

1.7.36-nightly-20241015.1

Diff

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 •

kdy1
published 1.7.29-nightly-20241001.1 •

kdy1
published 1.7.28 •

Changelog

Source

[1.7.28] - 2024-09-24

Bug Fixes

  • (ast) Add archive(check_bytes) to all relevant AST types (#9574) (185d6f5)

  • (cli) Exclude non-files from get_files_list (#9560) (85cc2bd)

  • (es/codegen) Fix wrong sourcemap when there are new lines in tpl (#9578) (cf74382)

  • (es/compat) Skip getter and setter as FlowHelper function do (#9580) (14cfd70)

  • (es/isolated-dts) Preserve comments (#9572) (6d15d9c)

  • (es/minifier) Avoid decl name when mangle with eval (#9546) (e2242c4)

  • (es/minifier) Check variable type while optimizing += (#9575) (04016e9)

  • (es/module) Rewrite import specifier in type declaration (#9577) (fc0ba2a)

  • (plugin) Don't panic when ast byte not match (#9562) (c36871a)

Miscellaneous Tasks

Testing

kdy1
published 1.7.28-nightly-20240924.1 •

kdy1
published 1.7.27-nightly-20240911.1 •

kdy1
published 1.7.26 •

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