chore(deps): update dependency @swc/core to v1.3.75#2
Open
Conversation
This file contains hidden or 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
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.204->1.3.75Release Notes
swc-project/swc (@swc/core)
v1.3.75Compare Source
Bug Fixes
(es/codegen) Don't strip necessary escape characters (#7687) (b45649b)
(es/compat) Fix loose mode of the
spreadpass (#7760) (b69ae8f)(es/minifier) Abort on
Array.slicewithstart >= end(#7745) (36ccbec)(es/module) Fix handling of continuous assignments in
systemjs(#7741) (f713f6a)(es/utils) Ignore
typeof Idwhile preserving side effects (#7763) (d57ac0d)(plugin/runner) Use fs cache properly (#7748) (1122de7)
Features
formatasoutputforminify()(#7746) (28dfc51)Miscellaneous Tasks
Refactor
(es/ast) Avoid
transmutein impl ofHashforNumber(#7771) (2258274)(es/minifier) Support stable rustc (#7734) (f7afe7e)
(es/parser) Do not use
lexical(#7758) (e50cfde)(es/parser) Do not validate top-level await with target (#7774) (5f97f86)
v1.3.74Compare Source
Bug Fixes
(es) Fix typo in a warning (#7740) (22e06cc)
(es/minifier) Mark args of
news as references (#7743) (3873f58)v1.3.73Compare Source
Bug Fixes
(es/minifier) Handle synthesized export default expression (#7707) (5ea6f27)
(es/utils) Fix string evaluation of array literals (#7731) (e8c58cf)
Features
core-jsimports (#7715) (b4f3332)Testing
v1.3.72Compare Source
Bug Fixes
(es/compat) Fix handling of private members in optional chaining pass (#7610) (7ba7b6e)
(es/minifier) Do not drop used properties (#7702) (f901b41)
(es/module) Do not determine module name for modules without exports in UMD (#7718) (40136f7)
Features
(es) Add a validation for a wrong config (#7704) (900701f)
(swc_core) Expose
visit/serdeas serde feature (#7722) (2bc9637)Refactor
stackeran optional dependency (#7720) (864bdef)v1.3.71Compare Source
Bug Fixes
(css/modules) Preserve attr selectors used with
:global(#7670) (11b4679)(es/minifier) Only cast global
Infinity/undefined/NaN(#7684) (241c04a)(es/minifier) Drop line comments starting with
!(#7689) (951138c)(es/minifier) Abort seq inliner using visitor (#7699) (a26dbce)
(es/typescript) Fix handling of optional chaining (#7660) (c017874)
Features
@starting-style(#7677) (cfb7b51)Miscellaneous Tasks
Refactor
(es/minifier) Respect
toplevelandmoduleoptions (#7671) (9893bd2)(es/minifier) Respect top-level when invoking IIFE (#7690) (bf72362)
v1.3.70Compare Source
Bug Fixes
(es/minifier) Fix a bug about
evalof name mangler (#7615) (6be1f70)(es/minifier) Do not reuse identifier used for import bindings (#7639) (a65be14)
(es/module) Skip CJS and AMD transformations for
Script(#7661) (a2d0408)Features
Testing
(es) Add a test for a unreproducible issue (#7656) (c0e4805)
(es/modules) Add a test for unreproducible issue (#7655) (7528de1)
Buiild
v1.3.69Compare Source
Bug Fixes
(es/compat) Visit children of
whilestatement in thegeneratorpass (#7624) (d2ac2c1)(es/compat) Fix loose mode of the
spreadpass (#7608) (a7daa5b)(es/minifier) Don't drop unused properties of top-level vars (#7638) (19ba714)
Features
Miscellaneous Tasks
lexicalto certain features (#7644) (a961090)Refactor
babelifytype (#7625) (73c7769)Build
rustcto2023-07-03(#7623) (b34f1ad)v1.3.68Compare Source
Bug Fixes
(css/modules) Fix
:localand:global(#7600) (f0ab5b3)(es/compat) Visit transformed expression in optional chaining pass (#7614) (c087c82)
(es/fixer) Don't change default decls to default expr exports (#7585) (e272545)
(es/minifier) Add usage to inlined ident eagerly (#7597) (4f866de)
(es/parser) Re-lex
<<as two<-s if required (#7439) (6850372)(plugin/runner) Disable wasi env cleanup (#7607) (8209594)
(xml/codegen) Fix wrong minification of spaces in a self-closing tag (#7595) (769d651)
Features
(es/compat) Implement transform for explicit resource management (#7376) (bcd5a1d)
(es/minifier) Drop unused properties (#7534) (47d2edd)
(es/minifier) Compress common sub expressions in sequences (#7587) (ff1ad95)
(es/optimization) Support
defaultimports for const modules (#7604) (ac02b84)Refactor
box_patterns(#7613) (0a26066)v1.3.67Compare Source
Bug Fixes
(es/minifier) Don't drop assignments to unused top-level variables (#7581) (a685c88)
(es/parser) Adjust context while parsing type arguments of TypeScript type queries (#7582) (9d5dda1)
(estree/compat) Adjust
loc.col(#7565) (d86f8f6)Features
(es/minifier) Support
__NO_SIDE_EFFECTS__(#7532) (3ad07a7)(es/minifier) Enable
hoist_propsby default (#7535) (07a8580)(es/minifier) Inline constants even if they are exported (#7583) (398e922)
(plugin/runner) Update
wasmertov4(#7576) (ab7b17c)(plugin/runner) Share runtime
Engine(#7590) (9512ea3)(testing) Add
CARGO_TARGET_DIRand use it from other crates (#7552) (46fb461)Miscellaneous Tasks
(ci) Make
cargo denyhappy (#7560) (c8d9338)(ci) Change condition for
citesting (#7533) (724e75d)(ci) Fix CI (#7589) (c51eac6)
Refactor
add_bitflagsand updatebitflags(#7571) (95ac74e)Build
(cargo) Update deps (#7564) (d12dc70)
(cargo) Update deps (#7566) (d57d0d3)
(deps) Update
syntov2(#7557) (5441004)v1.3.66Compare Source
Bug Fixes
(es) Accept
parseoption forminify()(#7543) (1d84e95)(es/compat) Visit arrow body from optional chaining pass (#7549) (bc6e950)
(es/preset-env) Don't log
Yieldto the console (#7548) (8cfc4f9)(es/resolver) Resolve the super class before registering a class name (#7550) (1d9f972)
Features
preamble(#7551) (6e5d8b3)Testing
(es) Add a test for a wrong issue (#7542) (70bc605)
(es) Add one more test for a wrong issue (#7545) (862f095)
(plugin/runner) Share
targetdirectory (#7544) (aa82e5f)v1.3.65Compare Source
Bug Fixes
(es/compat) Fix optional chaining (#7530) (990e48e)
(es/module) Add
"use strict"while preserving directives (#7537) (f42fdd2)(es/typescript) Don't panic of
@jsxFrag null(#7540) (76aa91f)Features
usedirectives (#7528) (3e9dd88)v1.3.64Compare Source
Bug Fixes
(es/codegen) Emit type arguments of jsx element names (#7522) (a0da02d)
(es/codegen) Fix regression of source maps (#7523) (f27838d)
(es/compat) Fix handling of
thisof optional chaining pass (#7527) (4644d00)v1.3.63Compare Source
Bug Fixes
(es/codegen) Remove extra spaces in
AssignPatPropandKeyValuePatProp(#7488) (064bcf4)(es/compat) Make stage 3 decorator pass use correct state for inner classes (#7508) (cc4146c)
(es/minifier) Infect mutation when assigning a property (#7503) (7f9f0b8)
(es/react) Default to empty string when emitting refresh signature (#7514) (8e933c8)
Features
(es/codegen) Add ability to set indentation string via rust api (#7494) (a343e7c)
(es/minifier) Remove unused labels (#7478) (62075fa)
(es/parser) Disallow tagged tpl in optional chaining (#7515) (6c00a24)
(plugin/runner) Support shared wasix runtime (#7504) (73929fc)
Performance
(css/prefixer) Convert macro to a function call to reduce binary size (#7507) (d545df6)
(es) Use
&dyn Commentsto reduce binary size (#7489) (2c3ac68)(es) Use
&dyn Commentsfor jsx and TypeScript (#7490) (abd62bc)Refactor
(es/ast) Reimplement optional chaining (#7441) (aa83584)
(es/ast) Remove unused fields (#7518) (3958f17)
v1.3.62Compare Source
Bug Fixes
Miscellaneous Tasks
(ci) Publish npm packages with provenance option (#7481) (e4e77fd)
(ci) Fix publish action (#7485) (0e37c18)
Performance
(bindings) Enable
share-genericsto reduce binary size (#7482) (d623db4)(es/minifier) Make minifier not overly generic (#7483) (65ce5d1)
v1.3.61Compare Source
Bug Fixes
(css/modules) Don't drop the correct selector (#7450) (d370324)
(es/codegen) Emit
;forTsImportEqualsDecl(#7464) (3935d02)(es/parser) Fix parsing of generic jsx element name (#7449) (77850dd)
(plugin/runner) Disable
wasi_envcleanup (#7458) (1868d36)Features
(common) Enable bytecheck for missing structs (#7465) (56ac9eb)
(es/minifier) Inline for loop variables (#7445) (0cd2b61)
Miscellaneous Tasks
Testing
v1.3.60Compare Source
Bug Fixes
(es) Init filesystem cache only if plugin exists (#7436) (786cf3a)
(es) Ignore input sourcemap error (#7446) (0c92e53)
(es/compat) Fix destructuring handling of
block_scoping(#7425) (66d52ec)(es/compat) Fix stage 3 decorator pass (#7392) (97d0f79)
(es/compat) Fix variable scoping of object rest pass. (#7437) (f3d660f)
(es/parser) Reset class context (#7433) (1cab43f)
(es/parser) Allow using
packageas a parameter name in interface (#7438) (33a922b)(es/parser) Fix parsing of tsx with a type annotation in a conditional expression (#7440) (a37d59a)
(es/preset-env) Fix pass ordering (#7434) (2071f89)
(swc_core) Correctly expose plugin with host (#7427) (558ca40)
Features
Refactor
(plugin/runner) Add attributes to the module bytes (#7419) (c03a74c)
(swc_core) Make
common_plugin_transformagnostic to mode (#7422) (cfdd407)(visit) Reduce expanded LOCs (#7442) (e83368e)
v1.3.59Compare Source
Bug Fixes
(common) Disable
tracing/release_max_level_info(#7401) (95291f2)(es/codegen) Do not create duplicate source map entry (#7309) (40ba242)
(es/compat) Mark reserved function names private (#7298) (dba78a0)
(es/minifier) Mark all function params as potential property mutation (#7409) (5dbbbea)
(es/minifier) Prevent inlining vars assigned outside current function scope (#7414) (40d2bf7)
(es/parser) Fix parsing of
moduleidentifier (#7400) (1d3f320)(es/parser) Fix parsing of
>in typescript mode (#7407) (57ad722)Miscellaneous Tasks
rkyvtov0.7.42(#7397) (3a0565f)Refactor
Testing
(css/module) Add a test for a fixed issue (#7399) (6b92eec)
(es/minifier) Enable more terser tests (#7396) (f9cdd74)
(es/parser) Add a test for a fixed issue (#7398) (eaba323)
v1.3.58Compare Source
Bug Fixes
(es/minifier) Fix remapping of vars upon inlining (#7362) (1dced17)
(es/parser) Fix
>=with type instantiate (#7388) (fa7a352)Features
(es/compat) Partially support auto accessors (#7364) (97ec259)
(es/compat) Implement auto accessors fully (#7370) (cad18fa)
(es/parser) Implement explicit resource management (#7322) (041b491)
(plugin) Add versioned wrapper struct (#7382) (bba1fad)
(swc_core) Allow native env plugin to use memory cache (#7390) (e3868a7)
(swc_core) Expose plugin proxy to the host env (#7391) (05b4c11)
Miscellaneous Tasks
Refactor
ByteCheckforArcString(#7380) (9b3a41c)v1.3.57Compare Source
Bug Fixes
(es/compat) Fix
is_setterinparameterspass (#7348) (e0de83e)(xml/codegen) Escape
<and>in child (#7351) (b180d09)Features
(es/compat) Support
export classfrom stage 3 decorator pass (#7363) (9c052db)(plugin) Enable bytecheck (#7280) (d2c1f45)
Refactor
Build
wasmertov3.3(#7352) (4e278be)v1.3.56Compare Source
Bug Fixes
(es/codegen) Emit type arguments for call expressions (#7335) (7e99e5f)
(es/parser) Parse decorators after
export(#7340) (985f0ca)(es/typescript) Fix typescript strip pass (#7342) (d061d29)
(plugin/runner) Revert #7341 (#7344) (d6999ba)
Features
(es/minifier) Drop expressions using sequential inliner (#6936) (246300a)
(plugin/runner) Improve caching (#7341) (245163a)
v1.3.55Compare Source
Bug Fixes
src/*.mjsentry back (#7328) (84af855)Features
export_interop_annotationflag (#7330) (caee073)v1.3.54Compare Source
Bug Fixes
(bindings/node) Support
TsSatisfiesExpression(#7317) (761ef83)(common) Workaround the
Arcandrkyvissue (#7321) (577f81e)(es/codegen) Fix codegen of
TsModuleDecl(#7319) (0ca05d8)(es/compat) Transform curried function call with optional chaining (#7313) (66b5b11)
Testing
v1.3.53Compare Source
Bug Fixes
(es) Fix a crash related to source map (#7307) (e7f7b01)
(es/helpers) Remove unnecessary parameters in
helper_expr!macro (#7296) (38dfb91)(es/modules) Support
jsc.baseUrlwithoutjsc.paths(#7302) (9c279b8)(es/parser) Fix handling of
inandoutof typescript (#7308) (6f81cb9)(testing) Fix path normalization on windows for testing diffs (#7299) (3422923)
Miscellaneous Tasks
Testing
v1.3.52Compare Source
Bug Fixes
(es/minifier) Fix a inliner bug related to
Script(#7288) (0aab90c)(es/resolver) Hoist parameter in arrow and constructor (#7292) (7a00f2e)
Performance
(es/react) Don't use regex (#7284) (248fd37)
(preset-env) Update static map (#7293) (bc83cb2)
Build
v1.3.51Compare Source
Bug Fixes
(es) Allow extra comments after
sourceMappingURL(#7262) (219a738)(es/helpers) Do not duplicate property names (#7266) (30a4e52)
(es/loader) Fix browser overwrites not applying correctly (#7243) (beefdd4)
(es/minifier) Use UTF16 length for
str.length(#7275) (4c06a56)(es/renamer) Ensure that param and function body are in same scope (#7271) (93a264c)
Features
Miscellaneous Tasks
Refactor
::token as it's not used (#7268) (635bf81)Build
bitflagsto v2 (#7270) (c4cce12)v1.3.50Compare Source
Bug Fixes
(es) Fix a crash related to an empty source map (#7229) (c665918)
(es/codegen) Respect
ascii_onlyfor identifiers (#7247) (e35097f)(es/compat) Handle export function in
reserved_word(#7251) (2e947e7)(es/minifier) Fix handling of optional chaining when
hoist_propsis 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
consttype 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_onlyifoutput.charsetis not specified (#7258) (1fe5c3a)(es/minifier) Support
PUREcomment of seq exprs (#7245) (559d120)(plugin) Enable validation (#7250) (efad714)
Refactor
(plugin) Remove
bytecheckflag (#7256) (6bd58cb)(plugin/runner) Fix clippy warnings (#7244) (70b86db)
Testing
Build
rkyv(#7257) (ff3decc)v1.3.49Compare Source
Features
wasmertov3(#7197) (56bdacc)Refactor
v1.3.47Compare Source
Bug Fixes
(bindings/node) Make peer dependency of helpers optional (#7216) (e86d598)
(es/compat) Fix
finallyhandling ofgenerator(#7215) (f5c62fb)(es/minifier) Don't remove used var decl (#7200) (73bc29e)
(es/testing) Ensure that we call
fold_program(#7222) (e241201)(es/typescript) Fix computation of enum bits (#7219) (29bf176)
Features
Refactor
darlingto reduce compile time (#7214) (3f61638)v1.3.46Compare Source
v1.3.45Compare Source
Bug Fixes
(es) Allow missing
.mapfile (#7141) (3e6a186)(es/compat) Handle shorthand object prop while renaming (#7176) (0a80e05)
(es/helpers) Use snake_case for helpers (#7147) (3ca954b)
(es/modules) Hint nodejs for multiple
export *(#7184) (98f1493)(es/parser) Fix infinite loop on jsx in js (#7191) (414e669)
(es/typescript) Mark
Aas a type inexport { type A }(#7196) (ddfbc93)(swc_core) Fix a feature name (#7198) (bfe6544)
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)
(plugin/runner) Improve cache path (#7188) (976667f)
Testing
v1.3.44Compare Source
Bug Fixes
(css/codegen) Preserve
rawof numbers (#7131) (150c2b6)(css/compat) Remove usage of
box_syntax([#7153](https://togithub.comConfiguration
📅 Schedule: Branch creation - "before 7am on Wednesday" (UTC), 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.