-
Notifications
You must be signed in to change notification settings - Fork 0
Update swc monorepo #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
656a44b
to
5f80fbc
Compare
5f80fbc
to
27c7f21
Compare
7113f39
to
fd862c2
Compare
b440ccc
to
972e7dc
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: pnpm-lock.yaml
|
|
972e7dc
to
c86bb0b
Compare
c86bb0b
to
b38e740
Compare
b38e740
to
05df0a6
Compare
05df0a6
to
cf17ac6
Compare
This PR contains the following updates:
^0.1.62
->^0.7.0
1.3.96
->1.11.21
Release Notes
swc-project/pkgs (@swc/cli)
v0.1.65
Compare Source
swc-project/swc (@swc/core)
v1.11.21
Compare Source
Bug Fixes
(es/helpers) Sync tslib
_ts_generator
implementation (#10366) (d3fb992)(es/proposal) Fix scope of declarations for
explicit-resource-management
(#10362) (eb7f7e9)(ts/fast-strip) Increase Wasm stack size (#10359) (6d444a5)
Miscellaneous Tasks
Performance
(es/parser) Reduce string comparison (#10355) (21789c4)
(es/parser) Add initial capacitity for some vectors (#10361) (7b7b50e)
(es/parser) Reduce clone of token contexts (#10364) (3ab47b2)
(es/parser) Use
bitflags
to reduce parser context size (#10367) (a2d3596)(es/parser) Replace byte arguments with generics (#10370) (68f7667)
(es/parser) Use
arrayvec
and unsafepush
to optimize escaped string parsing (#10369) (e12ae1c)v1.11.20
Compare Source
Bug Fixes
(error_reporters) Removing unused code to fix clippy check (#10338) (5970f93)
(es/minifier) Preserve block with block scoped declaration (#10335) (a4ac3b7)
(es/parser) Allow abstract method named
accessor
(#10327) (3f71776)(es/preset-env) Consider
browserslist
config ifenv.target
is not configured (#8921) (a2dc372)(es/resolver) Handle using declarations (#10354) (dad815c)
fix(es/compat): Remove one promise tick in yield* (tc39/ecma262#2819) (#10317)
Related issue:
Features
(errors) Integrate
miette
for enhanced diagnostic reporting (#10241) (156c3b1)(es/codegen) Support
sourceMap.url
option ofterser
(#10346) (566bc7c)(plugin/runner) Support
pluginEnvVars
(#10318) (795fedc)Miscellaneous Tasks
(es/helpers) Update peer dependency version for
@swc/helpers
to>=0.5.17
(#10321) (ddbf3e1)(ide) Disable RA diagnostics (#10324) (fcf280f)
Performance
(es/ast) Reduce redundant string comparison for
Atom
s (#10323) (3ce9d81)(es/jsx) Cache FileName for JSX pass (#9951) (#10322) (9852940)
(es/parser) Remove redundant
is_ascii
calls (#10334) (e66b4d6)(es/parser) Remove ascii check for no-ascii (#10350) (4279b96)
Testing
20
in exec tests (#10348) (eee73ce)v1.11.18
Compare Source
Bug Fixes
(errors) Disable wrapping of text lines (#10314) (f6840ea)
(es/codegen) Ensure proper Unicode escape handling for ES5 and below #10028 (#10309) (7f76fa3)
(node) Fix
worker_threads
issue on glibc platform (#10306) (1d1ff9e)Features
(es/minifier) Optimize number to int (#10294) (6dcfa70)
(es/minifier) Remove useless to number (#10308) (898f170)
(ts/isolated-dts) Distinguish js value and ts type (#10316) (c480604)
Refactor
(es/codegen) Split
lib.rs
into multiple files (#10304) (5a07a5d)(es/codegen) Refactor macro to inverse order (#10297) (78f907f)
Testing
v1.11.16
Compare Source
Miscellaneous Tasks
v1.11.15
Compare Source
Bug Fixes
(bindings/node) Fix build on platforms without plugin (#10301) (3faae55)
(cli) Fix plugin target as
wasm32-wasip1
(#10293) (7daf4f4)(deps) Update cargo (patch) (#10081) (e0ff00e)
(es) Do not reuse
Compiler
forminify()
andtransform()
(#10273) (63bd8a1)(es/analysis) Support comments (#10299) (2919d16)
(es/bugfix) Do not rename in non-ident-function (#10274) (48b6bdb)
(es/minifier) Remove unnecessary check when invoke IIFE (#10257) (6b75775)
(es/parser) Parser a program as a module with TLA in non-expression statement (#10287) (157c52a)
(html) Remove
async
fromminifyFragmentSync
(#10289) (7028457)Documentation
(es/types) Document
outFileExtension
(#10265) (99018c5)Add star history to
README.md
(b51eea9)Features
(es) Add Rust plugin host part for analysis API (#10285) (d213a84)
(es) Add analysis API and refactor output API (#10288) (a53c60d)
(es/minifier) Allow disabling char frequency analysis (#10259) (50c62d1)
(es/minifier) Merge expression with empty return (#10283) (c276a38)
(es/minifier) Optimize code generated by optional chaining (#10292) (0d88041)
(es/minifier) Support
reduce_escaped_newline
(#10232) (64fb286)(ts/fast-strip) Improve error message format (#10298) (29c4afb)
Add parallel iterators (#10075) (3b775bf)
Miscellaneous Tasks
Performance
(es/minifier) Adjust parallelism threshold (#10260) (28cc6f6)
(es/minifier) Process
cons
andalt
ofIfStmt
in parallel (#10262) (ccb6eb8)(es/minifier) Move logic to the pure minifier (#10264) (7ecd807)
(es/minifier) Use
swc_par_iter
instead ofrayon
(#10267) (78e37a1)Refactor
Extract
par-core
andpar-iter
(#10269) (0c63bda)Drop
swc_fast_graph
(#10268) (b23c8cb)Testing
v1.11.13
Compare Source
Features
(es/minifier) Merge alt's cons with cons (#10256) (589bcd7)
(swc_core) Expose features of
swc_parallel
(#10258) (042f19f)Performance
expr_simplifier
into pure optimizer (#10202) (9c9b0ba)v1.11.12
Compare Source
Bug Fixes
(es/minifier) Make
inline_globals
noop by default (#10231) (b192dc8)(es/minifier) Fix access to
GLOBALS
in char freq compute (#10239) (6286663)(es/parser) Fix span of wrong
await
tokens (#10252) (5c28dc3)(es/types) Fix broken types (#10224) (540bdf8)
Documentation
Features
(es/fast-lexer) Enhance identifier handling with Unicode support (#10226) (482b63a)
(es/minifier) Invoke IIFE into block (#10220) (c9a6c23)
(es/minifier) Remove needless blocks (#10234) (0817970)
(swc_parallel) Introduce
rayon
mode (#10237) (3c2213c)(ts/fast-strip) Add start/end span information (#10251) (ab39a62)
(ts/fast-strip) Improve error message snippet (#10253) (f4f426c)
(ts/fast-strip) Remove line numbers (#10254) (40e216d)
Performance
dead_branch_remover
into pure optimizer (#10201) (6841523)v1.11.11
Compare Source
Bug Fixes
(es/ast) Fix Typo in API (#10210) (8eb87ba)
(es/minifier) Do not drop numbers incorrectly (#10211) (80ccd86)
(es/minifier) Allow TypeScript nodes to fix
styled-jsx
(#10221) (9d87d4d)Features
Miscellaneous Tasks
test.sh
faster (#10209) (f28d96e)Refactor
Testing
(es/minifier) Add full tests back (#10212) (e6c04b4)
(es/minifier) Remove
full
tests with too large input (#10213) (99b590f)v1.11.10
Compare Source
Bug Fixes
(es/proposal) Fix declarations for
explicit-resource-management
(#10198) (99ba555)(es/types) Add missing types for
jsc.transform.react.refresh
(#10206) (e71b000)(typescript) Skip the body of ArrowExpr in type usage analysis (#10187) (9aca205)
Documentation
minifier
example utilize comments (#10195) (ec3ebe7)Features
Miscellaneous Tasks
size.sh
(#10191) (e862c32)Performance
Refactor
Testing
(es/minifier) Update test inputs (#10193) (97d8337)
(es/minifier) Add a benchmark for real-world inputs (#10204) (97f2180)
(es/minifier) Disable real-world benchmarks on CI (#10205) (c5f1cbe)
(es/minifier) Test only sizes for large inputs (#10208) (bec3e3e)
v1.11.9
Compare Source
Bug Fixes
(es/compat) Hoist
arguments
in object method while lowering async functions (#10167) (e764df2)(es/minifier) Check array inline for indexed with dynamic key (#10184) (c2fe4bf)
Features
(es/module) Support more
import.meta
properties (#10179) (11727a6)(ts/fast-strip) Throw js object instead of map (#10186) (2da0142)
Performance
(es/fast-lexer) Optimize
read_identifier
(#10170) (d97f7b2)(es/fast-lexer) Use
memchr
forskip_line_comments
(#10173) (35194e3)(es/fast-lexer) Use SIMD properly for string literals (#10172) (be60338)
(es/fast-lexer) Add length-based fast path for keywords (#10176) (1f70af8)
(es/fast-lexer) Optimize memory layout of cursor (#10175) (aa20494)
(es/fast-lexer) Remove bound checks (#10174) (bccdafc)
(es/fast-lexer) Replace PHF with static keyword lookup table (#10181) (56d065e)
(es/fast-lexer) Optimize SIMD vector initialization with initialing
u8x16
once. (#10183) (435197c)v1.11.8
Compare Source
Bug Fixes
(es/fast-lexer) Fix lexing of numeric literals (#10153) (65d23fe)
(es/parser) Rescan
<<
in new expression (#10159) (35bd6d9)Features
Performance
(es/fast-lexer) Optimize lexing of keywords (#10155) (fb610b0)
(es/fast-lexer) Optimize bound checks (#10157) (d74360e)
(es/fast-lexer) Make whitespace skipper use SIMD properly (#10158) (15ea059)
(es/lexer) Optimize whitespace scanning (#10136) (8a59753)
(es/lexer) Optimize comment scanning (#10137) (9676c9a)
Refactor
(es/lexer) Add fast lexer implementation (#10145) (b993f86)
Drop unused crates (#10151) (58e4279)
Drop unused js interop bindings (#10161) (0ceefaf)
Ci
v1.11.7
Compare Source
Features
v1.11.6
Compare Source
Bug Fixes
(es/minifier) Fix regression due to #10056 (#10134) (b145275)
(es/typescript) Remove empty statements that const enum decls are folded into (#10128) (7bea830)
v1.11.5
Compare Source
Bug Fixes
(es/lints) Capture errors and emit from the original thread (#10119) (2304cd8)
(es/minifier) Skip inlining if the referential identity of a function matters (#10123) (c08fe8d)
(ts/fast-strip) Throw object consistently (#10122) (010ff2a)
Miscellaneous Tasks
base64
tov0.22.1
(#10124) (edea2c5)Performance
v1.11.4
Compare Source
Bug Fixes
(es/decorators) Support negative numbers (#10114) (5044580)
(es/minifier) Fix cargo feature
debug
(#10090) (48f68db)(es/minifier) Fix insufficient logging (#10091) (9ee79c9)
(es/minifier) Inline before cost analysis (#10092) (1425b56)
(es/minifier) Remove needless
println
(b1e5b2d)(es/resolver) Analyze variable declarations with
declare
(#10102) (cff6a64)(swc_malloc) Fix build issue due to malloc, really (#10117) (207a13f)
(swc_malloc) Add
target_env = "gnu"
check (#10118) (da81e11)Use
jemalloc
on platforms thatmimalloc
fails to build (#10116) (fb75b98)Miscellaneous Tasks
jsonc-parser
tov0.26.2
(#10112) (8c5f7ef)Performance
(es/minifier) Improve arrow function inlining cost analysis (#10093) (e74929c)
(es/resolver) Remove some vector allocations (#10101) (b65387a)
Use
mimalloc
on linux (#10113) (3334932)Refactor
Lrc
fromparse_expr_for_jsx
(#10098) (bab7704)v1.11.1
Compare Source
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
swc_core
(#10072) (608bc69)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
(es/lints) Remove needless locks (#10086) (43458e9)
(es/minifier) Prevent double boxing (#10074) (29bd286)
Refactor
(atoms) Rename
FastAtom
toUnsafeAtom
(#10070) (1771222)(atoms) Remove
JsWord
alias (#10071) (f33b0bc)(es/minifier) Remove
CompileUnit
to simplify (#10055) (c75578b)v1.10.18
Compare Source
Bug Fixes
Miscellaneous Tasks
minify-all
example ignore parsing errors (#10045) (6c7ec46)Build
v1.10.17
Compare Source
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
(hstr) Use thin arc for hash and length (#10033) (2bea793)
(hstr) Skip interning if the text is long enough (#10035) (2622e4e)
Testing
(hstr) Add tests (#10043) (32b58f0)
(ts/fast-strip) Add tests for
declare module
error cases (#10040) (37672e0)v1.10.16
Compare Source
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
compact_str
(#10008) (7d7319f)v1.10.15
Compare Source
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 thejsx_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)
v1.10.14
Compare Source
Bug Fixes
(deps) Update cargo (patch) (#9971) (e9843d8)
(es/transforms) Pass
unresolved_mark
tosimplifier
instead oftop_level_mark
(#9989) (963b088)(swc_core) Fix typo in swc_core feature (#9979) (99a6339)
Features
(ts/fast-strip) Support type-only/uninstantiated namespaces (#9983) (a72c6fa)
Add (experimental) nodejs interop crates (#9974) (37e0ea5)
Add (experimental)
js-interop
npm package (#9975) (eebb0ea)Performance
rustc-hash
tov2
and dropahash
(#9982) (6765db0)v1.10.12
Compare Source
Bug Fixes
const
without init (#9970) (1b57261)Performance
(es/minifier) Make analyzer not call
collect_infects_from
recursively (#9924) (37616c3)(es/minifier) Skip complex inline operations if possible (#9972) (772cc30)
(es/minifier) Merge binding analyzer into infection analyzer (#9973) (ca8a71f)
v1.10.11
Compare Source
Bug Fixes
(es) Restore JSON config & Adjust feature renaming (#9967) (72e5455)
(es/minifier) Avoid paren when compressing ternary (#9920) (9d6fe37)
(es/parser) Parse
yield<T> (v: T)=>v
(#9915) (04333aa)(ts/fast-strip) More robust generic arrow handling (#9913) (f7faa7c)
(typescript) Allow references to the global Symbol in computed property names under
isolatedDeclarations
(#9869) (e4c1e03)Features
(es/minifier) Compress negate eq (#9911) (e8f23cf)
(es/minifier) Compress Assign to number (#9943) (d5f40a0)
(parallel) Add
merge_in_parallel
(#9939) (c5b8390)Merge
hstr
into the main repository (#9963) ([bc61c13](https://redirect.github.com/swc-project/swc/commit/bc61c1317f9dc8128557d4c92799877dca2d87dcConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.