chore(deps): update dependency @swc/core to v1.3.50
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@swc/core (source) | 1.3.28 -> 1.3.50 |
Release Notes
swc-project/swc
v1.3.50
Bug Fixes
-
(es) Fix a crash related to an empty source map (#7229) (c665918)
-
(es/codegen) Respect
ascii_only
for identifiers (#7247) (e35097f) -
(es/compat) Handle export function in
reserved_word
(#7251) (2e947e7) -
(es/minifier) Fix handling of optional chaining when
hoist_props
is enabled (#7246) (a44fea1) -
(es/parser) Use a hard error for missing r-paren in an if stmt (#7223) (b1c40a4)
-
(es/parser) Reset ctx for cond while parsing a stmt (#7232) (01db30f)
-
(es/parser) Parse
const
type parameters in arrow function expressions (#7242) (6614886)
Features
-
(es) Provide more information when loading of input source map failed (#7249) (f0e3b1d)
-
(es) Use
minify.format.ascii_only
ifoutput.charset
is not specified (#7258) (1fe5c3a) -
(es/minifier) Support
PURE
comment of seq exprs (#7245) (559d120)
Refactor
Testing
Build
v1.3.49
Features
Refactor
v1.3.47
Bug Fixes
-
(bindings/node) Make peer dependency of helpers optional (#7216) (e86d598)
-
(es/compat) Fix
finally
handling ofgenerator
(#7215) (f5c62fb) -
(es/testing) Ensure that we call
fold_program
(#7222) (e241201) -
(es/typescript) Fix computation of enum bits (#7219) (29bf176)
Features
Refactor
v1.3.46
v1.3.45
Bug Fixes
-
(es/compat) Handle shorthand object prop while renaming (#7176) (0a80e05)
-
(es/modules) Hint nodejs for multiple
export *
(#7184) (98f1493) -
(es/parser) Fix infinite loop on jsx in js (#7191) (414e669)
-
(es/typescript) Mark
A
as a type inexport { type A }
(#7196) (ddfbc93)
Features
-
(css/modules) Preserve spans of CSS class names (#7185) (df7b4e7)
-
(es/compat) Implement stage 3 decorator, without auto accessor (#6950) (7a863ad)
-
(es/helpers) Use named export and unify import path (#7182) (a13a78e)
Testing
v1.3.44
Bug Fixes
-
(es/compat) Handle import/export in
reserved_word
(#7165) (065d11c) -
(es/compat) Fix the position for temp var injection (#7171) (23fb8c5)
-
(es/react) Respect
import_source
in new jsx (#7128) (5d7acfd) -
(es/renamer) Don't use symbols used by declarations if
eval
exists (#7116) (6d9763e) -
(es/visit) Fix handling of
Program
ofAndThen
(#7120) (d50689e) -
(fast-graph) Use fxhash instead of ahash to make iteration order consistent (#7133) (b13eb4c)
Documentation
Features
-
(css/parser) Add
legacy_ie
to theParserConfig
(#7109) (5e58b3e) -
(es/react) Support script within automatic runtime (#7126) (05a2815)
Miscellaneous Tasks
Refactor
-
(es) Remove needless build scripts to reduce compile time (#7129) (dfe1a3f)
-
(es/codegen) Extract code from generic functions to reduce compile time (#7127) (08fa94f)
-
(es/parser) Remove
EnumKind
to reduce compile time (#7137) (915f747)
Build
-
(cargo) Update
rustc
tonightly-2023-03-28
(#7154) (e445502) -
(cargo) Update
rustc
tonightly-2023-03-20
(#7170) (0259a74)
v1.3.42
Bug Fixes
-
(bindings/node) Fix loading of
spack.config.js
(#7105) (a4d1af1) -
(es/compat) Don't modify private fields from
reserved_words
pass (#7113) (2bc631d) -
(es/minifier) Pass
keep_*
in config tocompress
andmangle
(#7102) (6a1201c) -
(es/minifier) Don't inline into arrow heads (#7099) (610e1bb)
-
(es/parser) Fix parsing of static accessors (#7108) (dd2b16d)
Features
- (es/resolver) Make scope context identical to the vars (#7095) (0f09e35)- general: Feat(css/minifier) Follow the CSS spec more rigorously (#6291)
Description:
Full refactor of the "calc" simplification to be more compliant with the spec. (df09d2f)
Refactor
-
(es/fixer) Move comments with the insertion order (#7097) (f250f24)
-
(es/resolver) Make syntax context for unresolved and top-level stable (#7096) (c114f00)
v1.3.41
Bug Fixes
-
(bindings/cli) Change order of checking inputs to workaround a Windows issue (#7077) (7bbec92)
-
(es/codegen) Emit
type_params
forTsConstructSignatureDecl
(#7080) (8353acc) -
(es/minifier) Preserve
delete
of unresolved variables (#7072) (86295ba) -
(es/minifier) Accept
keep_fnames
andkeep_classnames
(#7090) (0086914) -
(es/minifier) Remove wrong optimization of
new RegExp(…)
(#7091) (493a4f7) -
(testing) Ignore
non_snake_case
for generated test names (#7087) (1c254b1)
Performance
Refactor
v1.3.40
Bug Fixes
-
(es/compat) Handle
useDefineForClassFields: false
(#7055) (bb6dde7) -
(es/compat) Insert the variable declaration nearest to the available statements (#7067) (ae348e3)
-
(es/parser) Handle class members with
accessor
as the name (#7046) (9acaf4d)
Features
Miscellaneous Tasks
Performance
v1.3.39
Bug Fixes
-
(es/minifier) Bailout regex optimization on invalid flags (#7020) (1318afe)
-
(es/transforms) Handle member object in missing else branch (#7027) (5c7c8e0)
-
(es/transforms) Handle object shorthand in
const_modules
(#7022) (0314869)
Documentation
- general: MSRV (32bc2f5)
Features
Miscellaneous Tasks
- (ci) Fix bot (691a8c1)
Performance
-
(atoms) Update
string-cache
for per-bucket mutex (#6980) (9841f0b) -
(es/lexer) Use string searcher for lexing line comments (#7043) (962b0fc)
-
(es/parser) Use Cow for
_
in numeric literals (#7031) (30546a2) -
(es/parser) Use
SmartString
as the buffer (#7033) (f378a14)
Testing
v1.3.38
Bug Fixes
-
(bindings/node) Fix
visitBindingIdentifier
(#7000) (30cff01) -
(es) Allow any kind of input source maps if it's enabled (#7002) (da5367b)
-
(es/minifier) Don't skip expressions with side effects from seq inliner (#7007) (cfeb088)
-
(es/minifier) Don't create invalid property names (#7010) (bb2486c)
-
(es/parser) Fix parsing of an array spread in tsx properties (#7011) (6d6731f)
-
(es/preset-env) Move
findLast
andfindLastIndex
to finished proposals (#7012) (b46a724) -
(es/typescript) Treat export default declarations as declarations (#7017) (34f9ad3)
Features
-
(es/minifier) Optimize calls to
Boolean
/Number
/String
/Symbol
(#7006) (06cbb90) -
(es/parser) Add an option to disallow ambiguous jsx (#6913) (a6471f3)
-
(es/transforms) Add an option to drop unused imports (#6962) (67d0a89)
-
(es/transforms) Support namespace imports from
const_modules
(#7013) (3cb03d5) -
(es/typescript) Support
export type * from "mod"
(#6867) (beb38d3)
Miscellaneous Tasks
Refactor
v1.3.37
Bug Fixes
-
(bindings/cli) Implement
source-file-name
andsource-root
options (#6973) (3e3e41a) -
(css/utils) Fix minification of class names with whitespace (#6983) (cc1d9bd)
Miscellaneous Tasks
Testing
v1.3.36
Bug Fixes
-
(bindings/cli) Rename
--config
to--config-json
(#6932) (cb4436b) -
(bindings/node) Treat
.cts
and.mts
as input by default (#6959) (d5c0dec) -
(bundler) Don't panic while finding exports (#6947) (542bb62)
-
(css/modules) Fix CSS
animation
on CSS Modules (#6969) (4771aa2) -
(es/minifier) Fix
toFixed
,toPrecision
,toExponential
andtoString
of Number (#6960) (9382bda) -
(es/minifier) Fix optimization of expressions in numeric context (#6965) (1dfadb8)
-
(es/react) Don't panic on
key
without a value (#6945) (14454c9) -
(es/resolver) Use type context for
export =
if it's unresolved (#6963) (e946c43)
Features
Miscellaneous Tasks
-
(bot) Allow org members to use bump comments (#6942) (0324d5a)
-
(swc_nodejs_common) Remove swc_node_base from swc_nodejs_common (#6940) (0771418)
v1.3.35
Bug Fixes
-
(es/minifier) Don't skip shorthand properties from sequential inliner (#6918) (725d3fb)
-
(es/typescript) Fix handling of non-uppercase JSX elements (#6928) (ebc65c7)
Miscellaneous Tasks
v1.3.34
Bug Fixes
-
(bindings) Don't require unnecessary package (#6902) (964dfba)
-
(css/modules) Fix interop of
&
and:global
(#6900) (f85ea9c) -
(es/minifier) Respect span hygiene from expr simplifier (#6899) (432dca6)
-
(es/minifier) Don't break ternary with assignment in test (#6906) (951dafb)
-
(es/parser) Fix stack overflow due to deeply nested if (#6910) (f36d945)
-
(es/resolver) Resolve parameters correctly (#6890) (861d87c)
Documentation
Features
Miscellaneous Tasks
-
(bindings/cli) Enable
preferUnplugged
by default for the plugins (#6912) (17f1c50)- general: Make issue templates mentionno +1
(#6894) (5d5140f)
Testing
v1.3.32
Bug Fixes
Testing
Build
v1.3.31
Bug Fixes
Features
-
(bindings/cli) Append
sourceMappingURL=
to the output (#6873) (c4db8e4) -
(es/loader) Support
node:
prefix fromNodeModulesResolver
(#6868) (6b7249d)
v1.3.30
Bug Fixes
-
(es/minifier) Track reassign in parent scope (#6865) (c0e72ef)
-
(es/module) Fix handling of
this
forsystemjs
(#6857) (39c75fd)
Features
Miscellaneous Tasks
v1.3.29
Bug Fixes
Refactor
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.