-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update dependency @swc/core to v1.3.39 #423
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7238916
to
e5736c5
Compare
0cf6fb5
to
102891d
Compare
102891d
to
8e35b5c
Compare
8e35b5c
to
8bea349
Compare
8bea349
to
aec3aaa
Compare
aec3aaa
to
13a327f
Compare
13a327f
to
4f5b3f0
Compare
4f5b3f0
to
fd9de66
Compare
fd9de66
to
84129e9
Compare
84129e9
to
58f7f33
Compare
58f7f33
to
8ffc34a
Compare
8ffc34a
to
3e70b2f
Compare
3e70b2f
to
5efec6f
Compare
5efec6f
to
335c748
Compare
335c748
to
c09d467
Compare
4eaa617
to
12e893e
Compare
12e893e
to
d6f41e5
Compare
d6f41e5
to
bed6a75
Compare
bed6a75
to
9f17294
Compare
9f17294
to
728b17f
Compare
728b17f
to
232d149
Compare
232d149
to
28eafee
Compare
28eafee
to
532316d
Compare
532316d
to
f411446
Compare
f411446
to
fb7d918
Compare
fb7d918
to
7bd21c9
Compare
7bd21c9
to
8f74ba5
Compare
8f74ba5
to
3516f25
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.2.220
->1.3.39
Release Notes
swc-project/swc
v1.3.39
Compare Source
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
Features
SourceFile
without allocation (#7029) (81495f5)Miscellaneous Tasks
Performance
(atoms) Update
string-cache
for per-bucket mutex (#6980) (9841f0b)(es/ast) Shrink size of
Expr
(#7041) (a9fe1d2)(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)(es/utils) Introduce
NodeIgnoringSpan
(#7030) (8bfef35)Testing
v1.3.38
Compare Source
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) Support auto accessors (#6981) (37533a2)
(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
Input
(#6993) (367ac82)v1.3.37
Compare Source
Bug Fixes
(bindings/cli) Implement
source-file-name
andsource-root
options (#6973) (3e3e41a)(css/utils) Fix minification of class names with whitespace (#6983) (cc1d9bd)
(es/decorator) Preserve evaluation order (#6972) (703b340)
Miscellaneous Tasks
Testing
v1.3.36
Compare Source
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/module) Fix
jsc.paths
on Windows (#6930) (1ec161a)(es/react) Fix handling of whitespaces (#6935) (a9b25aa)
(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
Compare Source
Bug Fixes
(es/minifier) Don't skip shorthand properties from sequential inliner (#6918) (725d3fb)
(es/preset-env) Fix default target (#6921) (85a8def)
(es/typescript) Fix handling of non-uppercase JSX elements (#6928) (ebc65c7)
Miscellaneous Tasks
v1.3.34
Compare Source
Bug Fixes
(bindings) Don't require unnecessary package (#6902) (964dfba)
(bindings/node) Add
esnext
toJscTarget
(#6908) (82128e3)(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/module) Fix SystemJS imports (#6879) (85fffda)
(es/parser) Fix stack overflow due to deeply nested if (#6910) (f36d945)
(es/parser) Don't use
stacker
for armv7 (#6916) (4c5d5a6)(es/resolver) Resolve parameters correctly (#6890) (861d87c)
(es/typescript) Ignore jsx element names (#6911) (ee3a107)
Documentation
Features
(bindings/cli) Add
--config
(#6835) (d993c4d)(bindings/cli) Support for .mts/.cts files (#6909) (76bc8a2)
Miscellaneous Tasks
preferUnplugged
by default for the plugins (#6912) (17f1c50)- general: Make issue templates mentionno +1
(#6894) (5d5140f)Testing
jsc.paths
on windows (#6915) (d18027c)v1.3.32
Compare Source
Bug Fixes
(es) Remove useless message (#6882) (9301703)
(es/compat) Make optional chaining pass less permissive (#6885) (57781e9)
Testing
Build
retain_mut
(#6884) (d6a24a2)v1.3.31
Compare Source
Bug Fixes
(es/compat) Fix optional chaining pass (#6875) (d808864)
(visit) Fix detection of
Option<Vec<T>>
(#6872) (508267d)Features
(bindings/cli) Append
sourceMappingURL=
to the output (#6873) (c4db8e4)(es/loader) Support
node:
prefix fromNodeModulesResolver
(#6868) (6b7249d)v1.3.30
Compare Source
Bug Fixes
(es/minifier) Track reassign in parent scope (#6865) (c0e72ef)
(es/module) Fix handling of
this
forsystemjs
(#6857) (39c75fd)(es/parser) Fix parsing of generics (#6859) (60d9403)
Features
arrows
withterser
(#6862) (d1687d8)Miscellaneous Tasks
v1.3.29
Compare Source
Bug Fixes
span_to_source
use dedicated function (#6853) (99d48e3)Refactor
cond_init
withreassigned
(#6850) (55225cb)v1.3.28
Compare Source
Bug Fixes
(es/codegen) Fix codegen of string literals with
\x000
(#6838) (df70261)(es/minifier) Don't inline into
await
from sequential inliner (#6839) (21e1478)Miscellaneous Tasks
Performance
O(1)
(#6840) (58208ef)Refactor
(es/preset-env) Use a const fn instead of a macro (#6844) (2fcab36)
(es/typescript) Remove unused code (#6830) (7205543)
v1.3.27
Compare Source
Bug Fixes
(es/codegen) Skip space if jsx attrs is empty (#6823) (e9fdac2)
(es/compat) Ignore
this
in nested scopes inclasses
pass (#6796) (07676d5)(es/plugin) Fix starter template (#6815) (38fb70c)
(es/renamer) Handle rest params correctly (#6821) (ebce18b)
(es/transform) Apply
hygiene
andresolver
if minify is specified (#6793) (c145409)Features
(css/parser) Normalize at-rules (#6705) (43e7519)
(es/ast) Add
EsNext
toEsVersion
(#6816) (ff78b8f)(es/helper) Use
require
to load polyfills and helpers in Script (#6778) (ad8d043)(es/minifier) Remove noop spreads (#6803) (8f683e3)
(es/quote) Allow using
Str
as a var (#6797) (224eff9)(es/renamer) Support
safari10
from the name mangler (#6801) (631dd78)(es/renamer) Rename synthesized identifiers even on
eval
(#6818) (82bd5c2)Testing
(es) Enable execution tests for fixed issues (#6805) (e7ea054)
(es/compat) Add a test to verify parameters passs (#6792) (7dc5ccb)
(es/minifier) Add a test for an invalid issue (#6802) (a299fd0)
(es/preset-env) Add a test for a wrong issue (#6794) (b29aa5b)
v1.3.26
Compare Source
Bug Fixes
(common) Mark
\r
as a line ending (#6752) (26a0c13)(es) Remove useless context (#6777) (ae3cfa7)
(es/codegen) Fix LineCol calculation of printed files (#6763) (2b503c1)
(es/codegen) Skip
lo
of a program if body is not empty (#6773) (3f0f664)(es/decorator) Fix type detection for template literal types (#6786) (bbfa97a)
(es/helpers) Make
_classPrivateFieldLooseBase
return receiver (#6770) (1d14760)(es/minifier) Make name mangler respect
toplevel
(#6774) (ec7e913)(es/minifier) Don't inline conditionally initialized vars (#6751) (336b1d8)
(es/minifier) Make AST compressor respect
toplevel
(#6775) (06770cf)(es/parser) Allow parsing
import.meta
as an expression (#6783) (ff8face)Features
(es/minifier) Make name mangler understand block scoping (#6670) (a1ccc8a)
(es/minifier) Handle boolean in
Evaluator
(#6756) (8a6a1cb)(es/typescript) Support const modifier on type parameters (#6672) (019cf37)
Miscellaneous Tasks
Testing
(es) Add a test for a fixed source map issue (#6768) (6c126da)
(es/module) Add a test for invalid issue (#6785) (0ef84e1)
v1.3.25
Compare Source
Bug Fixes
(bindings/cli) Skip empty stdin in non tty environments (#6714) (0076418)
(cli) Use the
--source-maps
option (#6708) (24cd384)(es) Preserve license comments by default (#6703) (58700f2)
(es) Remove import statement canonicalization (#6716) (b451fa9)
(es) Fix wasm (#6755) (b46815a)
(es/compat) Fix syntax context of
async-to-generator
(#6741) (206c0db)(es/minifier) Fix usage counter to fix infinite loop (#6744) (88d40e8)
(es/parser) Fix priority of
>>>
(#6748) (65a0d3a)(es/plugin) Fix plugin starter template (#6723) (082dc21)
(es/react) Force refresh if code contains
@refresh reset
(#6749) (36b26d3)(es/utils) Fix detection of hoisting (#6738) (b5d31cc)
(preset-env) Update data (#6719) (d506c96)
Documentation
Features
(bindings) Remove
swcx
from@swc/core
(#6720) (30dd65b)(css/parser) Normalize urange (#6704) (8af627d)
(css/prefixer) Support page break (#6693) (27a8b7e)
(css/prefixer) Support
clamp
(#6695) (1722428)(es/jest) Support chaining of jest function calls (#6747) (72fb606)
Miscellaneous Tasks
(ci) Fix publish action (ed2277f)
(ci) Fix publish action (#6757) (7e6e7b1)
Performance
VisitMut
instead ofFold
for polyfill (#6734) (98da644)Refactor
raw
(#6674) (ebebd60)v1.3.24
Compare Source
Bug Fixes
(css/minifier) Don't remove custom variables with different case (#6655) (dd7280d)
(css/minifier) Fix a bug with a modern hash (#6664) (1d3e06a)
(es/helpers) Fix loose mode (#6691) (5016ebe)
(es/minifier) Abort IIFE invoker completely on eval (#6659) (bb9fab8)
(es/minifier) Don't inline invalid LHS into an update argument (#6680) (7e6ec8d)
(es/preset-env) Align polyfills with
@babel/plugin-polyfill-corejs3
(#6673) (5fed222)Features
(css/compat) Support function notation (#6651) (39afc46)
(css/compat) Support
not
with multiple arguments (#6668) (352896f)(css/compat) Support
hwb
color (#6687) (b23cf50)(css/minifier) Compress alpha in a hex (#6653) (f6292e6)
(css/minifier) Improve compression of media at-rules (#6665) (2fd3ced)
(css/parser) Normalize hex colors (#6652) (b257d5d)
(css/parser) Normalize selector AST (#6657) (649438b)
(css/parser) Normalize declaration and important (#6663) (1fc97a7)
(css/parser) Normalize dimension (#6654) (3d3863d)
(css/parser) Normalize URL functions (#6675) (c01464e)
(css/parser) Normalize at-rule names (#6676) (7f8ba9c)
(css/parser) Normalize keyframe selectors (#6688) (d7a0524)
(css/parser) Normalize and improve function name (#6667) (2571070)
(css/prefixer) Support font-face format (#6644) (199ac74)
(css/prefixer) Support
word-wrap
(#6679) (46241b4)(css/prefixer) Support
place-*
properties (#6685) (d8df1b5)(css/prefixer) Support
overflow
(#6678) (1c7f003)(es/minifier) Improve simplification of
?.
(#6681) (707b1e3)Miscellaneous Tasks
(ci) Fix upload of cli binaries (#6701) (025d626)
(helpers) Fix license (#6690) (8a71dbc)
Performance
(css/prefixer) Use
JsWord
instead of&str
(#6658) (d27a270)(es/minifier) Use rope-like structure for the name mangler (#6661) (cb4173a)
Refactor
(css/compat) Merge nesting into the compiler (#6686) (1840e74)
(css/prefixer) Use
eq_ignore_span
(#6656) (d4660a4)Testing
Build
v1.3.23
Compare Source
Bug Fixes
(css/minifier) Fix compressions of transform functions (#6617) (208fd55)
(css/minifier) Fix compression of timing functions (#6618) (59e8bf4)
(css/minifier) Fix minification of
@supports
at-rule (#6632) (d3fbfff)(es/codegen) Don't print trailing coma for a rest argument (#6610) (68d76af)
(es/codegen) Fix codegen of TypeScript mapped types (#6621) (5c53a74)
(es/fixer) Add correct parens to
OptChainExpr
inMemberExpr
(#6639) (be5ea7f)(es/minifier) Abort IIFE invoker on
eval
(#6478) (8b2e1d1)(es/minifier) Abort sequential inliner on optional chaining (#6637) (e4e4d6c)
(es/parser) Parse types in
CallExpression
inside templates (#6611) (c44f1d0)(html/parser) Fix parsing of CDATA in the svg context (#6620) (19c2ee5)
(node-swc) Add missing
const_to_let
to the type (#6615) (7e841a5)Features
(css/compat) Add
Compiler
(#6626) (b3bbd74)(css/compat) Support custom media queries (#6625) (a5f7b4b)
(css/compat) Implement compat pass for media ranges (#6631) (704b3ce)
(css/compat) Support color with hex alpha (#6643) (fe06b80)
(css/minifier) Support
to
andfrom
withinitial
(#6613) (cb49fa6)(css/minifier) Remove adjacent identical declarations (#6619) (fb94694)
(css/prefixer) Prefix percentage with
opacity
(#6638) (2fee4d1)(css/prefixer) Support
display
(#6640) (c8b724f)(css/prefixer) Support nested calc (#6645) (5d0dc6e)
(dbg-swc) Kill
creduce
on drop (#6614) (2bf7805)Miscellaneous Tasks
(atoms) Make
sort.sh
cross-platform (#6629) (3f469ff)(ci) Adjust upload of cli binaries (#6624) (81b352d)
(es/minifier) Expose
globals_defs
pass (#6633) (08ccb83)Performance
(html/codegen) Reduce allocations (#6622) (bfdafdb)
(html/minifier) Reduce allocations (#6623) (7d3aa66)
Refactor
Testing
creduce
(#6646) (7f3e698)v1.3.22
Compare Source
Bug Fixes
(common) Fix handling of input source maps (#6561) (4af52c7)
(common) Fix
BytePos
->CharPos
calculations (#6574) (a203fdb)(css/parser) Fix recovery more for invalid component values in declaration value (#6560) (db1eb48)
(css/parser) Fix parsing of nested rules (#6563) (a1fe907)
(css/parser) Fix a small bug (#6591) (4de378c)
(css/parser) Avoid skipping extra whitespaces (#6592) (d8936ad)
(es/compat) Prepend generated
_loop
to the correct scope (#6604) (4c2d422)(es/parser) Fix
typeof
inTSCallSignatureDeclaration
(#6553) (aa28aa0)(es/parser) Fix parsing of JSX with ASI (#6577) (ad95ead)
(es/resolver) Reset
in_type
flag correctly (#6597) (29ba05d)(es/typescript) Strip inline type declarations (#6600) (fe0c651)
(node-swc) Sync types for
jsc.optimizer.globals
(#6603) (b97aa45)(xml/parser) Fix parsing of legacy document types (#6555) (cdf0d8a)
(xml/parser) Fix various bugs (#6566) (01232f0)
Features
(css/ast) Make AST intuitive (#6606) (b4eef53)
(css/plugin) Prepare Wasm plugins (#6567) (8cdc28c)
(css/plugin) Support Wasm plugin (#6568) (fa8f7b0)
(es/analyzer) Extract the analyzer from the minifier to a separate crate (#6586) (e1d01d8)
(html/parser) Improve lexer (#6543) (49b7e9e)
Miscellaneous Tasks
(ci) Add debug logs for cli binaries (#6556) (8083484)
(ci) Fix CI (#6558) (8587589)
(ci) Fix benchmark action (#6582) (d8adc58)
(ci) Fix benchmark action (#6596) (154c315)
(css/lexer) Fix typo (#6588) (f383836)
Performance
(css/ast) Reduce token size (#6569) (8633d27)
(css/codegen) Reduce allocations (#6599) (538d63e)
(css/minifier) Remove redundant clone (#6579) (70ac028)
(css/minifier) Remove more redundant clones (#6580) (4171ee7)
(css/minifier) Improve performance (#6583) (7895599)
(css/parser) Reduce clones and allocations (#6585) (6479670)
(css/parser) Reduce number of function calls (#6587) (252edb5)
(css/parser) Don't allocate for comparisons (#6593) (08b6eab)
(html/parser) Optimize usage of buffers (#6590) (d6e9613)
Refactor
(common) Cleanup source_map.rs (#6570) (b3ea52f)
(es/minifier) Remove unnecessary code (#6575) (586bfd5)
(xml/parser) Simplify logic for parsing elements (#6557) (85a03e7)
Testing
v1.3.21
Compare Source
Bug Fixes
(ci) Fix publish action for binaries (#6517) (2ac3201)
(es/minifier) Don't drop used variables from sequential inliner (#6520) (b394f9f)
(es/minifier) Make sequential inliner respect resolution order (#6509) (27ae59e)
(es/minifier) Use unsafe option for arrow => method (#6521) (9752b43)
(es/minifier) Don't convert a signed integer literal key to a numeric literal (#6529) (81224b5)
(html/parser) Fix parsing of cdata (#6534) (e3cbe7e)
Features
Configuration
📅 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.