Update swc monorepo to v1.3.76 (patch) #1763
Merged
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.3.59
->1.3.76
1.3.59
->1.3.76
Release Notes
swc-project/swc (@swc/core)
v1.3.76
Compare Source
Bug Fixes
(es/ast) Bump version (#7793) (13bedc0)
(es/minifier) Abort seq inliner if a same var is defined in outer scope (#7772) (ef8d121)
(es/minifier) Do not drop properties used via
this
(#7785) (552d9aa)(es/module) Use
jsc.baseUrl
while resolving absolute paths (#7775) (5c4bfa6)Features
mangle.eval
(#7777) (eff0cac)Miscellaneous Tasks
Performance
class_properties
(#7786) (76c6258)v1.3.75
Compare Source
Bug Fixes
(es/codegen) Don't strip necessary escape characters (#7687) (b45649b)
(es/compat) Fix loose mode of the
spread
pass (#7760) (b69ae8f)(es/minifier) Abort on
Array.slice
withstart >= end
(#7745) (36ccbec)(es/module) Fix handling of continuous assignments in
systemjs
(#7741) (f713f6a)(es/utils) Ignore
typeof Id
while preserving side effects (#7763) (d57ac0d)(plugin/runner) Use fs cache properly (#7748) (1122de7)
Features
format
asoutput
forminify()
(#7746) (28dfc51)Miscellaneous Tasks
Refactor
(es/ast) Avoid
transmute
in impl ofHash
forNumber
(#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.74
Compare Source
Bug Fixes
(es) Fix typo in a warning (#7740) (22e06cc)
(es/minifier) Mark args of
new
s as references (#7743) (3873f58)v1.3.73
Compare Source
Bug Fixes
(es/minifier) Handle synthesized export default expression (#7707) (5ea6f27)
(es/utils) Fix string evaluation of array literals (#7731) (e8c58cf)
Features
core-js
imports (#7715) (b4f3332)Testing
v1.3.72
Compare 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/serde
as serde feature (#7722) (2bc9637)Refactor
stacker
an optional dependency (#7720) (864bdef)v1.3.71
Compare 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
toplevel
andmodule
options (#7671) (9893bd2)(es/minifier) Respect top-level when invoking IIFE (#7690) (bf72362)
v1.3.70
Compare Source
Bug Fixes
(es/minifier) Fix a bug about
eval
of 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.69
Compare Source
Bug Fixes
(es/compat) Visit children of
while
statement in thegenerator
pass (#7624) (d2ac2c1)(es/compat) Fix loose mode of the
spread
pass (#7608) (a7daa5b)(es/minifier) Don't drop unused properties of top-level vars (#7638) (19ba714)
Features
Miscellaneous Tasks
lexical
to certain features (#7644) (a961090)Refactor
babelify
type (#7625) (73c7769)Build
rustc
to2023-07-03
(#7623) (b34f1ad)v1.3.68
Compare Source
Bug Fixes
(css/modules) Fix
:local
and: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
default
imports for const modules (#7604) (ac02b84)Refactor
box_patterns
(#7613) (0a26066)v1.3.67
Compare 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_props
by default (#7535) (07a8580)(es/minifier) Inline constants even if they are exported (#7583) (398e922)
(plugin/runner) Update
wasmer
tov4
(#7576) (ab7b17c)(plugin/runner) Share runtime
Engine
(#7590) (9512ea3)(testing) Add
CARGO_TARGET_DIR
and use it from other crates (#7552) (46fb461)Miscellaneous Tasks
(ci) Make
cargo deny
happy (#7560) (c8d9338)(ci) Change condition for
ci
testing (#7533) (724e75d)(ci) Fix CI (#7589) (c51eac6)
Refactor
add_bitflags
and updatebitflags
(#7571) (95ac74e)Build
(cargo) Update deps (#7564) (d12dc70)
(cargo) Update deps (#7566) (d57d0d3)
(deps) Update
syn
tov2
(#7557) (5441004)v1.3.66
Compare Source
Bug Fixes
(es) Accept
parse
option forminify()
(#7543) (1d84e95)(es/compat) Visit arrow body from optional chaining pass (#7549) (bc6e950)
(es/preset-env) Don't log
Yield
to 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
target
directory (#7544) (aa82e5f)v1.3.65
Compare 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
use
directives (#7528) (3e9dd88)v1.3.64
Compare 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
this
of optional chaining pass (#7527) (4644d00)v1.3.63
Compare Source
Bug Fixes
(es/codegen) Remove extra spaces in
AssignPatProp
andKeyValuePatProp
(#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 Comments
to reduce binary size (#7489) (2c3ac68)(es) Use
&dyn Comments
for jsx and TypeScript (#7490) (abd62bc)Refactor
(es/ast) Reimplement optional chaining (#7441) (aa83584)
(es/ast) Remove unused fields (#7518) (3958f17)
v1.3.62
Compare Source
Bug Fixes
Miscellaneous Tasks
(ci) Publish npm packages with provenance option (#7481) (e4e77fd)
(ci) Fix publish action (#7485) (0e37c18)
Performance
(bindings) Enable
share-generics
to reduce binary size (#7482) (d623db4)(es/minifier) Make minifier not overly generic (#7483) (65ce5d1)
v1.3.61
Compare 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_env
cleanup (#7458) (1868d36)Features
(common) Enable bytecheck for missing structs (#7465) (56ac9eb)
(es/minifier) Inline for loop variables (#7445) (0cd2b61)
Miscellaneous Tasks
Testing
v1.3.60
Compare 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
package
as 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_transform
agnostic to mode (#7422) (cfdd407)(visit) Reduce expanded LOCs (#7442) (e83368e)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.