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:
11.1.2
->11.1.5
1.3.74
->1.3.96
10.3.3
->10.3.10
3.0.1
->3.0.3
Release Notes
rollup/plugins (@rollup/plugin-typescript)
v11.1.5
Compare Source
2023-10-05
Bugfixes
v11.1.4
Compare Source
2023-09-25
Bugfixes
v11.1.3
Compare Source
2023-08-26
Bugfixes
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)
isaacs/node-glob (glob)
v10.3.10
Compare Source
v10.3.9
Compare Source
v10.3.8
Compare Source
v10.3.7
Compare Source
v10.3.6
Compare Source
v10.3.5
Compare Source
v10.3.4
Compare Source
prettier/prettier (prettier)
v3.0.3
Compare Source
diff
Add
preferUnplugged: true
topackage.json
(#15169 by @fisker and @so1ve)Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add
preferUnplugged: true
topackage.json
, so Yarn will install Prettier as unplug by default.Support shared config that forbids
require()
(#15233 by @fisker)If an external shared config package is used, and the package
exports
don't haverequire
ordefault
export.In Prettier 3.0.2 Prettier fails when attempt to
require()
the package, and throws an error.Allow argument of
require()
to break (#15256 by @fisker)Do not print trailing commas in arrow function type parameter lists in
ts
code blocks (#15286 by @sosukesuzuki)Support TypeScript 5.2
using
/await using
declaration (#15321 by @sosukesuzuki)Support for the upcoming Explicit Resource Management feature in ECMAScript.
using
/await using
declarationv3.0.2
Compare Source
diff
Break after
=
of assignment if RHS is poorly breakable AwaitExpression or YieldExpression (#15204 by @seiyab)Do not add trailing comma for grouped scss comments (#15217 by @auvred)
Print
declare
andexport
keywords for nested namespace (#15249 by @sosukesuzuki)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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.