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:
0.1.59
->0.1.62
1.3.25
->1.3.51
0.2.24
->0.2.26
Release Notes
swc-project/cli
v0.1.62
Compare Source
v0.1.61
Compare Source
v0.1.60
Compare Source
swc-project/swc
v1.3.51
Compare Source
Bug Fixes
(es) Allow extra comments after
sourceMappingURL
(#7262) (219a738)(es/helpers) Do not duplicate property names (#7266) (30a4e52)
(es/loader) Fix browser overwrites not applying correctly (#7243) (beefdd4)
(es/minifier) Use UTF16 length for
str.length
(#7275) (4c06a56)(es/renamer) Ensure that param and function body are in same scope (#7271) (93a264c)
Features
Miscellaneous Tasks
Refactor
::
token as it's not used (#7268) (635bf81)Build
bitflags
to v2 (#7270) (c4cce12)v1.3.50
Compare Source
Bug Fixes
(es) Fix a crash related to an empty source map (#7229) (c665918)
(es/codegen) Respect
ascii_only
for identifiers (#7247) (e35097f)(es/compat) Handle export function in
reserved_word
(#7251) (2e947e7)(es/minifier) Fix handling of optional chaining when
hoist_props
is enabled (#7246) (a44fea1)(es/parser) Use a hard error for missing r-paren in an if stmt (#7223) (b1c40a4)
(es/parser) Reset ctx for cond while parsing a stmt (#7232) (01db30f)
(es/parser) Parse
const
type parameters in arrow function expressions (#7242) (6614886)Features
(es) Provide more information when loading of input source map failed (#7249) (f0e3b1d)
(es) Use
minify.format.ascii_only
ifoutput.charset
is not specified (#7258) (1fe5c3a)(es/minifier) Support
PURE
comment of seq exprs (#7245) (559d120)(plugin) Enable validation (#7250) (efad714)
Refactor
(plugin) Remove
bytecheck
flag (#7256) (6bd58cb)(plugin/runner) Fix clippy warnings (#7244) (70b86db)
Testing
Build
rkyv
(#7257) (ff3decc)v1.3.49
Compare Source
Features
wasmer
tov3
(#7197) (56bdacc)Refactor
v1.3.47
Compare Source
Bug Fixes
(bindings/node) Make peer dependency of helpers optional (#7216) (e86d598)
(es/compat) Fix
finally
handling ofgenerator
(#7215) (f5c62fb)(es/minifier) Don't remove used var decl (#7200) (73bc29e)
(es/testing) Ensure that we call
fold_program
(#7222) (e241201)(es/typescript) Fix computation of enum bits (#7219) (29bf176)
Features
Refactor
darling
to reduce compile time (#7214) (3f61638)v1.3.46
Compare Source
v1.3.45
Compare Source
Bug Fixes
(es) Allow missing
.map
file (#7141) (3e6a186)(es/compat) Handle shorthand object prop while renaming (#7176) (0a80e05)
(es/helpers) Use snake_case for helpers (#7147) (3ca954b)
(es/modules) Hint nodejs for multiple
export *
(#7184) (98f1493)(es/parser) Fix infinite loop on jsx in js (#7191) (414e669)
(es/typescript) Mark
A
as a type inexport { type A }
(#7196) (ddfbc93)(swc_core) Fix a feature name (#7198) (bfe6544)
Features
(css/modules) Preserve spans of CSS class names (#7185) (df7b4e7)
(es/compat) Implement stage 3 decorator, without auto accessor (#6950) (7a863ad)
(es/helpers) Use named export and unify import path (#7182) (a13a78e)
(plugin/runner) Improve cache path (#7188) (976667f)
Testing
v1.3.44
Compare Source
Bug Fixes
(css/codegen) Preserve
raw
of numbers (#7131) (150c2b6)(css/compat) Remove usage of
box_syntax
(#7153) (6f0bf66)(es/compat) Handle import/export in
reserved_word
(#7165) (065d11c)(es/compat) Fix the position for temp var injection (#7171) (23fb8c5)
(es/react) Respect
import_source
in new jsx (#7128) (5d7acfd)(es/renamer) Don't use symbols used by declarations if
eval
exists (#7116) (6d9763e)(es/visit) Fix handling of
Program
ofAndThen
(#7120) (d50689e)(fast-graph) Use fxhash instead of ahash to make iteration order consistent (#7133) (b13eb4c)
Documentation
Features
(css/parser) Add
legacy_ie
to theParserConfig
(#7109) (5e58b3e)(es/react) Support script within automatic runtime (#7126) (05a2815)
Miscellaneous Tasks
Cargo.toml
to reduce merge conflict (#7139) (2826198)Refactor
(ast) Make serde optional (#7138) (30bc086)
(es) Remove needless build scripts to reduce compile time (#7129) (dfe1a3f)
(es/codegen) Extract code from generic functions to reduce compile time (#7127) (08fa94f)
(es/parser) Remove
EnumKind
to reduce compile time (#7137) (915f747)(macros) Reduce compile time (#7132) (2154a3f)
Build
(cargo) Update
rustc
tonightly-2023-03-28
(#7154) (e445502)(cargo) Revert rustc upgrade (#7162) (12546c8)
(cargo) Update
rustc
tonightly-2023-03-20
(#7170) (0259a74)v1.3.42
Compare Source
Bug Fixes
(bindings/node) Fix loading of
spack.config.js
(#7105) (a4d1af1)(es/ast) Fix
EqIgnoreSpan
impl ofNumber
(#7112) (6a570a3)(es/compat) Don't modify private fields from
reserved_words
pass (#7113) (2bc631d)(es/minifier) Pass
keep_*
in config tocompress
andmangle
(#7102) (6a1201c)(es/minifier) Don't inline into arrow heads (#7099) (610e1bb)
(es/parser) Fix parsing of static accessors (#7108) (dd2b16d)
Features
Description:
Full refactor of the "calc" simplification to be more compliant with the spec. (df09d2f)
Refactor
(es/fixer) Move comments with the insertion order (#7097) (f250f24)
(es/resolver) Make syntax context for unresolved and top-level stable (#7096) (c114f00)
v1.3.41
Compare Source
Bug Fixes
(bindings/cli) Change order of checking inputs to workaround a Windows issue (#7077) (7bbec92)
(css/codegen) Respect
raw
ofStr
(#7078) (7849a2d)(css/parser) Fix parsing of
:global(> *)
(#7082) (60f74ea)(es/codegen) Emit
type_params
forTsConstructSignatureDecl
(#7080) (8353acc)(es/minifier) Preserve
delete
of unresolved variables (#7072) (86295ba)(es/minifier) Accept
keep_fnames
andkeep_classnames
(#7090) (0086914)(es/minifier) Remove wrong optimization of
new RegExp(…)
(#7091) (493a4f7)(es/react) Align to
babel@8
behavior (#7081) (7b491a6)(testing) Ignore
non_snake_case
for generated test names (#7087) (1c254b1)Performance
skip_space
(#7073) (f854d51)Refactor
nightly-2023-03-13
(#6920) (963c460)v1.3.40
Compare Source
Bug Fixes
(bindings/cli) Update
swc_ecma_ast
(#7060) (1b40689)(es) Support stable rustc again (#7057) (fbb3016)
(es) Respect the value of assumptions (#7065) (11d4874)
(es/ast) Fix memory layout (#7062) (085c6f3)
(es/compat) Handle
useDefineForClassFields: false
(#7055) (bb6dde7)(es/compat) Insert the variable declaration nearest to the available statements (#7067) (ae348e3)
(es/parser) Handle class members with
accessor
as the name (#7046) (9acaf4d)(es/preset-env) Update data for core-js3 (#7023) (3730463)
Features
Miscellaneous Tasks
Performance
(es/lexer) Make lexer faster (#7052) (d1d0607)
(es/lexer) Use jump table for
read_token
(#7058) (9beefaa)v1.3.39
Compare Source
Bug Fixes
(es/minifier) Bailout regex optimization on invalid flags (#7020) (1318afe)
(es/transforms) Handle member object in missing else branch (#7027) (5c7c8e0)
(es/transforms) Handle object shorthand in
const_modules
(#7022) (0314869)Documentation
Features
SourceFile
without allocation (#7029) (81495f5)Miscellaneous Tasks
Performance
(atoms) Update
string-cache
for per-bucket mutex (#6980) (9841f0b)(es/ast) Shrink size of
Expr
(#7041) (a9fe1d2)(es/lexer) Use string searcher for lexing line comments (#7043) (962b0fc)
(es/parser) Use Cow for
_
in numeric literals (#7031) (30546a2)(es/parser) Use
SmartString
as the buffer (#7033) (f378a14)(es/utils) Introduce
NodeIgnoringSpan
(#7030) (8bfef35)Testing
v1.3.38
Compare Source
Bug Fixes
(bindings/node) Fix
visitBindingIdentifier
(#7000) (30cff01)(es) Allow any kind of input source maps if it's enabled (#7002) (da5367b)
(es/minifier) Don't skip expressions with side effects from seq inliner (#7007) (cfeb088)
(es/minifier) Don't create invalid property names (#7010) (bb2486c)
(es/parser) Fix parsing of an array spread in tsx properties (#7011) (6d6731f)
(es/preset-env) Move
findLast
andfindLastIndex
to finished proposals (#7012) (b46a724)(es/typescript) Treat export default declarations as declarations (#7017) (34f9ad3)
Features
(es/minifier) Optimize calls to
Boolean
/Number
/String
/Symbol
(#7006) (06cbb90)(es/parser) Support auto accessors (#6981) (37533a2)
(es/parser) Add an option to disallow ambiguous jsx (#6913) (a6471f3)
(es/transforms) Add an option to drop unused imports (#6962) (67d0a89)
(es/transforms) Support namespace imports from
const_modules
(#7013) (3cb03d5)(es/typescript) Support
export type * from "mod"
(#6867) (beb38d3)Miscellaneous Tasks
Refactor
Input
(#6993) (367ac82)v1.3.37
Compare Source
Bug Fixes
(bindings/cli) Implement
source-file-name
andsource-root
options (#6973) (3e3e41a)(css/utils) Fix minification of class names with whitespace (#6983) (cc1d9bd)
(es/decorator) Preserve evaluation order (#6972) (703b340)
Miscellaneous Tasks
Testing
v1.3.36
Compare Source
Bug Fixes
(bindings/cli) Rename
--config
to--config-json
(#6932) (cb4436b)(bindings/node) Treat
.cts
and.mts
as input by default (#6959) (d5c0dec)(bundler) Don't panic while finding exports (#6947) (542bb62)
(css/modules) Fix CSS
animation
on CSS Modules (#6969) (4771aa2)(es/minifier) Fix
toFixed
,toPrecision
,toExponential
andtoString
of Number (#6960) (9382bda)(es/minifier) Fix optimization of expressions in numeric context (#6965) (1dfadb8)
(es/module) Fix
jsc.paths
on Windows (#6930) (1ec161a)(es/react) Fix handling of whitespaces (#6935) (a9b25aa)
(es/react) Don't panic on
key
without a value (#6945) (14454c9)(es/resolver) Use type context for
export =
if it's unresolved (#6963) (e946c43)Features
Miscellaneous Tasks
(bot) Allow org members to use bump comments (#6942) (0324d5a)
(swc_nodejs_common) Remove swc_node_base from swc_nodejs_common (#6940) (0771418)
v1.3.35
Compare Source
Bug Fixes
(es/minifier) Don't skip shorthand properties from sequential inliner (#6918) (725d3fb)
(es/preset-env) Fix default target (#6921) (85a8def)
(es/typescript) Fix handling of non-uppercase JSX elements (#6928) (ebc65c7)
Miscellaneous Tasks
v1.3.34
Compare Source
Bug Fixes
(bindings) Don't require unnecessary package (#6902) (964dfba)
(bindings/node) Add
esnext
toJscTarget
(#6908) (82128e3)(css/modules) Fix interop of
&
and:global
(#6900) (f85ea9c)(es/minifier) Respect span hygiene from expr simplifier (#6899) (432dca6)
(es/minifier) Don't break ternary with assignment in test (#6906) (951dafb)
(es/module) Fix SystemJS imports (#6879) (85fffda)
(es/parser) Fix stack overflow due to deeply nested if (#6910) (f36d945)
(es/parser) Don't use
stacker
for armv7 (#6916) (4c5d5a6)(es/resolver) Resolve parameters correctly (#6890) (861d87c)
(es/typescript) Ignore jsx element names (#6911) (ee3a107)
Documentation
Features
(bindings/cli) Add
--config
(#6835) (d993c4d)(bindings/cli) Support for .mts/.cts files (#6909) (76bc8a2)
Miscellaneous Tasks
preferUnplugged
by default for the plugins (#6912) (17f1c50)- general: Make issue templates mentionno +1
(#6894) (5d5140f)Testing
jsc.paths
on windows (#6915) (d18027c)v1.3.32
Compare Source
Bug Fixes
(es) Remove useless message (#6882) (9301703)
(es/compat) Make optional chaining pass less permissive (#6885) (57781e9)
Testing
Build
retain_mut
(#6884) (d6a24a2)v1.3.31
Compare Source
Bug Fixes
(es/compat) Fix optional chaining pass (#6875) (d808864)
(visit) Fix detection of
Option<Vec<T>>
(#6872) (508267d)Features
(bindings/cli) Append
sourceMappingURL=
to the output (#6873) (c4db8e4)(es/loader) Support
node:
prefix fromNodeModulesResolver
(#6868) (6b7249d)v1.3.30
Compare Source
Bug Fixes
(es/minifier) Track reas# parent scope (#6865) (c0e72ef)
(es/module) Fix handling of
this
forsystemjs
(#6857) (39c75fd)(es/parser) Fix parsing of generics (#6859) (60d9403)
Features
arrows
withterser
(#6862) (d1687d8)Miscellaneous Tasks
v1.3.29
Compare Source
Bug Fixes
span_to_source
use dedicated function (#6853) (99d48e3)Refactor
cond_init
withreassigned
(#6850) (55225cb)v1.3.28
Compare Source
Bug Fixes
(es/codegen) Fix codegen of string literals with
\x000
(#6838) (df70261)(es/minifier) Don't inline into
await
from sequential inliner (#6839) (21e1478)Miscellaneous Tasks
Performance
O(1)
(#6840) (58208ef)Refactor
(es/preset-env) Use a const fn instead of a macro (#6844) (2fcab36)
(es/typescript) Remove unused code (#6830) (7205543)
v1.3.27
Compare Source
Bug Fixes
(es/codegen) Skip space if jsx attrs is empty (#6823) (e9fdac2)
(es/compat) Ignore
this
in nested scopes inclasses
pass (#6796) (07676d5)(es/plugin) Fix starter template (#6815) (38fb70c)
(es/renamer) Handle rest params correctly (#6821) (ebce18b)
(es/transform) Apply
hygiene
andresolver
if minify is specified (#6793) (c145409)Features
(css/parser) Normalize at-rules (#6705) (43e7519)
(es/ast) Add
EsNext
toEsVersion
(#6816) (ff78b8f)(es/helper) Use
require
to load polyfills and helpers in Script (#6778) (ad8d043)(es/minifier) Remove noop spreads (#6803) (8f683e3)
(es/quote) Allow using
Str
as a var (#6797) (224eff9)(es/renamer) Support
safari10
from the name mangler (#6801) (631dd78)(es/renamer) Rename synthesized identifiers even on
eval
(#6818) (82bd5c2)Testing
(es) Enable execution tests for fixed issues (#6805) (e7ea054)
(es/compat) Add a test to verify parameters passs (#6792) (7dc5ccb)
(es/minifier) Add a test for an invalid issue (#6802) (a299fd0)
(es/preset-env) Add a test for a wrong issue (#6794) (b29aa5b)
v1.3.26
Compare Source
Bug Fixes
(common) Mark
\r
as a line ending (#6752) (26a0c13)(es) Remove useless context (#6777) (ae3cfa7)
(es/codegen) Fix LineCol calculation of printed files (#6763) (2b503c1)
(es/codegen) Skip
lo
of a program if body is not empty (#6773) (3f0f664)(es/decorator) Fix type detection for template literal types (#6786) (bbfa97a)
(es/helpers) Make
_classPrivateFieldLooseBase
return receiver (#6770) (1d14760)(es/minifier) Make name mangler respect
toplevel
(#6774) (ec7e913)(es/minifier) Don't inline conditionally initialized vars (#6751) (336b1d8)
(es/minifier) Make AST compressor respect
toplevel
(#6775) (06770cf)(es/parser) Allow parsing
import.meta
as an expression (#6783) (ff8face)Features
(es/minifier) Make name mangler understand block scoping (#6670) (a1ccc8a)
(es/minifier) Handle boolean in
Evaluator
(#6756) (8a6a1cb)(es/typescript) Support const modifier on type parameters (#6672) (019cf37)
Miscellaneous Tasks
Testing
(es) Add a test for a fixed source map issue (#6768) (6c126da)
(es/module) Add a test for invalid issue (#6785) (0ef84e1)
swc-project/jest
v0.2.26
Compare Source
v0.2.25
Compare Source
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.