Update dependency @swc/core to v1.3.83 #478
Closed
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.53
->1.3.83
Release Notes
swc-project/swc (@swc/core)
v1.3.83
Compare Source
Bug Fixes
(css/modules) Aggregate class names when composes is chained. (#7917) (0db25a2)
(es/module) Revert #7901 (#7906) (85d6e9b)
(es/module) Fix
jsc.paths
for projects using pnpm (#7918) (a86e9f3)Features
assert
for import attributes (#7914) (ee75756)v1.3.82
Compare Source
Bug Fixes
(common) Fix logic for excluding
FileName
from source maps (#7900) (aa64955)(es/module) Make
jsc.paths
fully resolve TypeScript files (#7901) (c714dd2)(es/resolver) Correctly resolve global value (#7893) (2db10e9)
v1.3.81
Compare Source
Bug Fixes
(es/codegen) Fix placing of comments of yield arguments (#7858) (122d14c)
(es/compat) Apply transforms for explicit resource management (#7881) (3180e68)
(es/compat) Make
SwitchCase
handler ofblock-scoping
stateless (#7888) (4b33d41)(es/dep-graph) Analyze import type children (#7883) (057bd5f)
(es/minifier) Report
is_fn_local
even if var is hoisted (#7876) (87a47bf)(es/module) Don't create absolute paths for
jsc.paths
on Windows (#7892) (5fbc251)(swc-info) Use correct path while getting local package versions (#7872) (67afaf1)
Features
(es) Add an option to disable builtin transforms (#7873) (71d01ec)
(es/ast) Support import attributes proposal (#7868) (4d3fcb8)
(es/preset-env) Update data (#7882) (a97d8b4)
(swc-info) Add a CLI to help issue reporting (#7871) (d6952ea)
Miscellaneous Tasks
memchr
(#7891) (01cbd6e)- general: Usetextarea
forswc-info
(eed2903)Performance
Refactor
mutated
andmutation_by_call_count
(#7890) (8db968a)v1.3.80
Compare Source
Bug Fixes
(es/module) Fix logic for exact matches in
jsc.paths
(#7860) (52a1ee7)(es/module) Don't resolve as
node_modules
fromTscResolver
(#7866) (11ebae1)Miscellaneous Tasks
v1.3.79
Compare Source
Bug Fixes
(es) Fix default value of
jsc.minify.format.comments
(#7853) (64e51d3)(es/minifier) Don't inline properties if the var is not
fn-local
(#7839) (7fe01e6)(es/minifier) Don't remove exports (#7856) (ae8cd94)
(es/module) Make
jsc.paths
work for a nest.js app (#7852) (d33a973)Features
@scope
at-rule (#7837) (a34f359)Miscellaneous Tasks
Refactor
(common) Mark some methods of
Input
unsafe (#7848) (c657324)(es/helpers) Move packages for monorepo (#7833) (1ab406c)
(es/minifier) Pre-calculate
reassigned
(#7832) (65db1ba)(es/types) Extract
@swc/types
as a small, reusable package (#7834) (f713f1b)v1.3.78
Compare Source
Bug Fixes
(es/codegen) Add quotes to property names when
ascii_only
istrue
(#7820) (04921f3)(es/compat) Remove wrong logic for object patterns in
object_rest
(#7788) (3766a7c)(es/minifier) Preserve
cooked
while compressing template literals (#7773) (05990a9)(es/minifier) Abort seq inliner if var is not fn_local or reassigned (#7804) (f8ca366)
(es/minifier) Preserve more analysis data upon inlining (#7823) (31de19e)
Features
jsc.baseUrl
(#7827) (9099883)Refactor
(common) Make
ahash
optional (#7816) (981d7b1)(es/parser) Remove needless
unsafe
(#7818) (8b809db)- general: Useahash
fromswc_common
in more places (#7815) (b43e38d)v1.3.77
Compare Source
Bug Fixes
(es) Resolve
jsc.baseUrl
for.swcrc
specified by--config-file
(#7801) (fe1ca26)(es/compat) Revert #7610 (#7813) (42dec55)
(es/parser) Revert lexer fix for
<<
(#7807) (e527c12)Features
Archived
types (#7811) (478fa47)Refactor
read_token_number_sign
(#7803) (5e7834a)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)
v1.3.59
Compare 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
module
identifier (#7400) (1d3f320)(es/parser) Fix parsing of
>
in typescript mode (#7407) (57ad722)Miscellaneous Tasks
rkyv
tov0.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.58
Compare 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
ByteCheck
forArcString
(#7380) (9b3a41c)v1.3.57
Compare Source
Bug Fixes
(es/compat) Fix
is_setter
inparameters
pass (#7348) (e0de83e)(xml/codegen) Escape
<
and>
in child (#7351) (b180d09)Features
(es/compat) Support
export class
from stage 3 decorator pass (#7363) (9c052db)(plugin) Enable bytecheck (#7280) (d2c1f45)
Refactor
Build
wasmer
tov3.3
(#7352) (4e278be)v1.3.56
Compare 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.55
Compare Source
Bug Fixes
src/*.mjs
entry back (#7328) (84af855)Features
export_interop_annotation
flag (#7330) (caee073)v1.3.54
Compare Source
Bug Fixes
(bindings/node) Support
TsSatisfiesExpression
(#7317) (761ef83)(common) Workaround the
Arc
andrkyv
issue (#7321) (577f81e)(es/codegen) Fix codegen of
TsModuleDecl
(#7319) (0ca05d8)(es/compat) Transform curried function call with optional chaining (#7313) (66b5b11)
Testing
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.