chore(deps): update dependency @swc/core to v1.3.96 - autoclosed #618
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.242
->1.3.96
Release Notes
swc-project/swc (@swc/core)
v1.3.96
Compare Source
Bug Fixes
(ci) Set
tag
for wasm publish actions (#8200) (8db80b8)(es/compat) Make
block-scoping
pass rename exports correctly (#8175) (b13bc32)(es/compat) Use dummy span for blocks in
parameters
(#8202) (c1b255a)(es/compat) Handle private names from class properties pass (#8090) (83a5a0c)
(es/react) Visit children nodes in
jsx-src
pass (#8212) (47733a9)(es/transforms) Do not add
PURE
comment toBytePos(0)
(#8207) (c061356)(es/typescript) Preserve const enum for named export (#8208) (abced23)
Features
(es/minifier) Respect inline level and preserve native names (#8205) (dd805e9)
(es/preset-env) Update compat data (#8194) (3dc4e1e)
(es/testing) Support babel-like fixture testing officially (#8190) (e960614)
(es/testing) Use
__swc_snapshots__
fortest!
macro (#8191) (0aafa75)Performance
has_flag
toComments
(#8182) (7530e90)Refactor
v1.3.95
Compare Source
Bug Fixes
(es/compat) Don't add pure annotations to dummy spans (#8172) (9ceb57b)
(es/minifier) Always consider
reassigned
when inlining (#8168) (c26a225)(es/typescript) Support
ts_enum_is_mutable
with const enums (#8171) (02d0613)Build
ahash
(#8174) (5ca3b63)v1.3.94
Compare Source
Bug Fixes
(css/ast) Make
.hash()
ofToken
not recursive (#8151) (8d7894c)(es/minifier) Abort seq inliner if
b
can short-circuit (#8128) (111de26)(es/minifier) Abort function inliner if
keep_fnames
istrue
(#8145) (35601e4)(es/parser) Skip
this
parameters in setter (#8158) (826386f)(es/utils) Skip var declarator name in
RefRewriter
(#8125) (fb81a36)(es/utils) Fix regression of
RefRewriter
(#8153) (08cf1f7)Features
(es/compat) Implement decorator metadata proposal (#8097) (9c029ef)
(es/compat) Skip empty class static blocks (#8138) (e186b80)
(es/minifier) Evaluate more
toFixed
expressions (#8109) (7da3f52)(es/minifier) Inline into the arguments of
new
using seq inliner (#8127) (4f67794)(es/minifier) Drop empty static blocks (#8152) (8a461b8)
(es/parser) Implement
AsRef<str>
forIdentLike
(#8133) (bffe33a)(es/typescript) Add
ts_enum_is_mutable
to disable enum inlining (#8115) (57b171d)Miscellaneous Tasks
(bindings) Add
@deprecated
to JS plugins (#8132) (1e9b4e0)(es/module) Remove
serde(deny_unknown_fields)
(#8163) (5be8e74)Refactor
assign_count
fromreassigned
(#8137) (13106e0)v1.3.93
Compare Source
Bug Fixes
(ci) Fix CI (#8079) (7073e83)
(es/codegen) Fix codegen of type-only imports (#8070) (6f45b46)
(es/compat) Handle
__proto__
edge case inshorthand
pass (#8077) (a912937)(es/compat) Handle export default decorator only if not empty (#8099) (bf523f5)
(es/decorators) Fix a regression about class expressions (#8102) (cb4361f)
(es/helpers) Override mistake in
_interop_require_wildcard
(#8076) (1346528)(es/minifier) Don't inline functions if
keep_fnames
is enabled (#8093) (94bb42e)(es/parser) Fix parsing of
await using
(#8101) (e1043fa)(xtask) Fix nightly command (#8105) (db4ca65)
Features
Miscellaneous Tasks
Refactor
(atoms) Remove usage of
js_word!
to dropstring-cache
(#7976) (84cec87)(es/compat) Split
swc_ecma_transforms_compat
(#8110) (affb6fb)(es/module) Reimplement some functions of module/typescript (#8063) (3e5b062)
(es/parser) Introduce
TokenKind
along withToken
(#8071) (9b9bc51)(es/preset-env) Rename parameter to avoid confusion (#8106) (95eb147)
v1.3.92
Compare Source
Bug Fixes
(es/compat) Fix scoping of
explicit-resource-management
(#8044) (96a7a4d)(es/compat) Transform default-exported class decorators correctly (#8050) (a751f1c)
(es/compat) Use
async
andawait
correctly inblock-scoping
pass (#8056) (8318ea8)(es/module) Handle directives (#8048) (4d8e101)
Miscellaneous Tasks
(ci) Fix publish action (8ddb0da)
(ci) Prepare multi-package repository (#8043) (f2bc6a3)
(ci) Fix publish action for minifier (77b8591)
Fix CI condition (9c9c03b)
Fix CI (0c8d8a3)
Configure
nissuer
(#8053) (2a508bc)Configure issue validator (a555823)
Mark reproduction link required (c6e0a18)
Update nissuer.yml (#8060) (a2f1010)
Add
evanw.github.io
to the allowed repro hosts (c26ee63)Refactor
swc-bump
(#8045) (f717cf2)v1.3.91
Compare Source
Bug Fixes
(es/compat) Use return statements for method and setter decorator (#8017) (38bc710)
(es/compat) Generate
OptCall
forOptCall
for private fields (#8031) (06b6eb9)(es/minifier) Check if object shorthand is skippable for seq inliner (#8036) (01391e3)
(es/module) Sort the exported ESM bindings (#8024) (990ca06)
(es/typescript) Rename wrong
unresolved_mark
(#8018) (5817268)(es/typescript) Preserve default value of an exported binding in a namespace (#8029) (cf96171)
Documentation
Features
Miscellaneous Tasks
(ci) Prepare
@swc/minifier
(#8027) (8214b9e)(ci) Expose more crates to JS (#8033) (186ecfa)
(ci) Remove wrong
if
s (dec68c3)- general: Fix yarn lockfile (7f91274)- general: Fix yarn lockfile (c062536)Refactor
(es) Extract parser/codegen code for
swc::Compiler
(#8030) (a13f5cb)(es/minifier) Move JS options to
swc_ecma_minifier
(#8028) (725f7f5)v1.3.90
Compare Source
Bug Fixes
(es/codegen) Fix codegen of unicode surrogates (#7985) (39c680d)
(es/codegen) Fix codegen of optional chaining expr with a comment (#8005) (f07bb48)
(es/typescript) Handle
DeclareCollect
correctly (#8008) (9d08b8a)(es/typescript) Handle qualified access in assign pat (#8012) (2f01aba)
v1.3.89
Compare Source
Bug Fixes
(es) Enable resolver if
jsc.baseUrl
is specified (#7998) (f374ad9)(es/compat) Skip function scope in
block-scoped-fns
pass (#7975) (d91a554)Refactor
v1.3.88
Compare Source
Features
jsc.experimental.keepImportAssertions
(#7995) (4d777ee)Refactor
@swc/counter
(#7991) (0acbb5f)v1.3.87
Compare Source
Bug Fixes
(bindings/type) Update types of
jsc.experimental
(#7972) (e40fccb)(es/compat) Handle nullish in fn expr scope (#7980) (5050f58)
(es/minifier) Do not inline into a template literal with sequential inliner (#7971) (b3d3a7b)
v1.3.86
Compare Source
Bug Fixes
(es/compat) Handle
PrivateName
inlogical_assignments
(#7958) (28318f0)(es/minifier) Handle
ModuleDecl
when transform const modules (#7959) (06ca1fe)(es/module) Preserve import specifier if resolving fails (#7955) (be5b02a)
Miscellaneous Tasks
(es/preset-env) Add the repository url to
Cargo.toml
(#7941) (ca22359)(es/preset-env) Ignore
tp
in the version of a browser version (#7968) (005ddc5)Refactor
box_patterns
(#7966) (f7b5e16)Build
v1.3.85
Compare Source
Bug Fixes
(css/modules) Support composes when using multiple subclass selectors (#7949) (05ca19b)
(es/compat) Handle single expression case in static block (#7944) (a80aec4)
(es/minifier) Parse a file as a module only if
opts.module
istrue
(#7943) (b87ac64)Features
(es/compat) Support
pure_getters
foroptional_chaining
(#7933) (c091c5e)(es/module) Add an option to make resolver fully resolve
index.js
(#7945) (7e8d72d)v1.3.84
Compare Source
Bug Fixes
(es/codegen) Emit leading comments for
ExprStmt
(#7916) (2da5895)(es/codegen) Use
emitAssertForImportAttributes
(#7936) (dac8888)(es/compat) Visit assign expr in generator (#7932) (97068e1)
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](https://togithub.com/swc-project/swc/commit/724e75Configuration
📅 Schedule: Branch creation - "before 3am on Monday" in timezone Europe/Paris, 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.