-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
chore(deps): update dependency @swc/core to v1.3.93 #596
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #596 +/- ##
==========================================
+ Coverage 94.37% 94.47% +0.10%
==========================================
Files 6 6
Lines 160 163 +3
Branches 44 44
==========================================
+ Hits 151 154 +3
Misses 8 8
Partials 1 1 ☔ View full report in Codecov by Sentry. |
937a2d6
to
341ac1e
Compare
341ac1e
to
cef5d2d
Compare
cef5d2d
to
faea855
Compare
faea855
to
9b11627
Compare
9b11627
to
edc4f60
Compare
edc4f60
to
37024eb
Compare
37024eb
to
5b0f0d1
Compare
5b0f0d1
to
26a83c6
Compare
26a83c6
to
d0faf83
Compare
37c74a9
to
a58084e
Compare
a58084e
to
7d9948f
Compare
7d9948f
to
118bbf7
Compare
118bbf7
to
f246a7a
Compare
f246a7a
to
68cdad4
Compare
68cdad4
to
6154e6d
Compare
6154e6d
to
35187b9
Compare
35187b9
to
724fbb8
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update (1.3.93). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
1.2.242
->1.3.93
Release Notes
swc-project/swc (@swc/core)
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)(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](https://
Configuration
📅 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.