generated from devgioele/modern-typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Update swc monorepo #401
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/swc-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update swc monorepo #401
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7a06c4a to
13b9bfa
Compare
ca3ab3f to
69ff9c3
Compare
69ff9c3 to
0821bb4
Compare
032abee to
60fb38e
Compare
bb7d70c to
521560a
Compare
13cc86a to
58d30a0
Compare
a713aab to
3477e8a
Compare
3477e8a to
d95aadf
Compare
5b34fe5 to
affe272
Compare
a69390b to
ca3bb1b
Compare
8c009ee to
ad831a1
Compare
ba9eaca to
968d318
Compare
fe56d76 to
60b1a25
Compare
b633144 to
1ce3a46
Compare
701e1c8 to
a966860
Compare
9cbc781 to
66a7f74
Compare
1e32f2c to
e7bced3
Compare
0a2dadd to
da03445
Compare
7f9a8f7 to
284af73
Compare
23e7ee9 to
e36c0e0
Compare
4e63f52 to
d4e1ddc
Compare
d4e1ddc to
ef52f9b
Compare
ef52f9b to
88271fd
Compare
88271fd to
6b97072
Compare
6b97072 to
5519e89
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.51->1.3.1010.2.23->0.2.29Release Notes
swc-project/swc (@swc/core)
v1.3.101Compare Source
Bug Fixes
(es/codegen) Emit extra paren emitting
AssignExpr(#8413) (dce3693)(es/codegen) Fix codegen of ts specific syntax in class props (#8426) (7566ddf)
(es/compat) Fix destructuring of export class/function (#8371) (630f9d3)
(es/compat) Preserve spread in the
generatorpass (#8401) (29bec98)(es/compat) Preserve comment for arrow body (#8427) (56992e3)
(es/fixer) Preserve parenthesis for optional chaining (#8399) (a69f172)
(es/lints) Ignore ambient context binding (#8368) (83c8fe5)
(es/resolver) Handle
TsInterfaceDeclandUsingDeclcorrectly (#8403) (f8ce316)Features
as_import_withtoObjectLitto provide easier API (#8405) (daf6265)Miscellaneous Tasks
(atoms) Evaluate
.into()inAtomStoreCelleagerly (#8363) (1e8edb4)(deps) Update
base64tov0.21(#8369) (c2d1a6c)(deps) Update
indexmaptov2(#8370) (91e0fc7)Performance
inputSourceMap(#8402) (6a73d47)Refactor
(css/codegen) Support stable rust (#8379) (7cddbc6)
(css/compat) Support stable rust (#8386) (bc1e328)
(css/lints) Support stable rust (#8384) (19d1d01)
(css/minifier) Support stable rust (#8389) (305e72e)
(css/modules) Support stable rust (#8381) (0ff4157)
(css/parser) Support stable rust (#8378) (4870e8b)
(css/prefixer) Support stable rust (#8385) (f93f2b8)
(es/utils) Use exact type for factory methods (#8417) (61c304f)
(html/minifier) Support stable rust (#8380) (77145ce)
Build
pmutilto improve compile time (#8404) (835151e)v1.3.100Compare Source
Bug Fixes
(es/codegen) Fix panic due to
\\ud(#8346) (1891afa)(es/codegen) Wrap quote for length greater than one (#8351) (2cdea3f)
(es/decorators) Resolve enum for
design:returntype(#8320) (91ef7c9)(es/fixer) Wrap yield expression in await expression (#8357) (ff719f0)
(es/minifier) Fix
if_returnbug related toawaitandyield(#8328) (01e2c7f)(es/minifier) Give up terminate merge if in
trywithfinally(#8342) (ed5a9b3)(es/parser) Wrap with
OptChainacrossTsNonNull(#8332) (8af6ffb)(es/parser) Fix conditional compilation (#8343) (a423681)
(es/react) Make jsx with single spread child static (#8339) (58568fa)
(es/renamer) Allow
globalThisto be shadowed (#8327) (3dd73a3)(es/typescript) Handle shebang with jsx pragma (#8318) (c25601d)
Miscellaneous Tasks
Build
vergentov8(#8325) (1315615)v1.3.99Compare Source
v1.3.96Compare Source
Bug Fixes
(ci) Set
tagfor wasm publish actions (#8200) (8db80b8)(es/compat) Make
block-scopingpass 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-srcpass (#8212) (47733a9)(es/transforms) Do not add
PUREcomment 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_flagtoComments(#8182) (7530e90)Refactor
v1.3.95Compare Source
Bug Fixes
(es/compat) Don't add pure annotations to dummy spans (#8172) (9ceb57b)
(es/minifier) Always consider
reassignedwhen inlining (#8168) (c26a225)(es/typescript) Support
ts_enum_is_mutablewith const enums (#8171) (02d0613)Build
ahash(#8174) (5ca3b63)v1.3.94Compare Source
Bug Fixes
(css/ast) Make
.hash()ofTokennot recursive (#8151) (8d7894c)(es/minifier) Abort seq inliner if
bcan short-circuit (#8128) (111de26)(es/minifier) Abort function inliner if
keep_fnamesistrue(#8145) (35601e4)(es/parser) Skip
thisparameters 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
toFixedexpressions (#8109) (7da3f52)(es/minifier) Inline into the arguments of
newusing 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_mutableto disable enum inlining (#8115) (57b171d)Miscellaneous Tasks
(bindings) Add
@deprecatedto JS plugins (#8132) (1e9b4e0)(es/module) Remove
serde(deny_unknown_fields)(#8163) (5be8e74)Refactor
assign_countfromreassigned(#8137) (13106e0)v1.3.93Compare Source
Bug Fixes
(ci) Fix CI (#8079) (7073e83)
(es/codegen) Fix codegen of type-only imports (#8070) (6f45b46)
(es/compat) Handle
__proto__edge case inshorthandpass (#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_fnamesis 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
TokenKindalong withToken(#8071) (9b9bc51)(es/preset-env) Rename parameter to avoid confusion (#8106) (95eb147)
v1.3.92Compare 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
asyncandawaitcorrectly inblock-scopingpass (#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.ioto the allowed repro hosts (c26ee63)Refactor
swc-bump(#8045) (f717cf2)v1.3.91Compare Source
Bug Fixes
(es/compat) Use return statements for method and setter decorator (#8017) (38bc710)
(es/compat) Generate
OptCallforOptCallfor 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
ifs (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.90Compare 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
DeclareCollectcorrectly (#8008) (9d08b8a)(es/typescript) Handle qualified access in assign pat (#8012) (2f01aba)
v1.3.89Compare Source
Bug Fixes
(es) Enable resolver if
jsc.baseUrlis specified (#7998) (f374ad9)(es/compat) Skip function scope in
block-scoped-fnspass (#7975) (d91a554)Refactor
v1.3.88Compare Source
Features
jsc.experimental.keepImportAssertions(#7995) (4d777ee)Refactor
@swc/counter(#7991) (0acbb5f)v1.3.87Compare 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.86Compare Source
Bug Fixes
(es/compat) Handle
PrivateNameinlogical_assignments(#7958) (28318f0)(es/minifier) Handle
ModuleDeclwhen 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
tpin the version of a browser version (#7968) (005ddc5)Refactor
box_patterns(#7966) (f7b5e16)Build
v1.3.85Compare 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.moduleistrue(#7943) (b87ac64)Features
(es/compat) Support
pure_gettersforoptional_chaining(#7933) (c091c5e)(es/module) Add an option to make resolver fully resolve
index.js(#7945) (7e8d72d)v1.3.84Compare 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.83Compare Source
Bug Fixes
(css/modules) Aggregate class names when composes is chained. (#7917) (0db25a2)
(es/module) Revert #7901 (#7906) (85d6e9b)
(es/module) Fix
jsc.pathsfor projects using pnpm (#7918) (a86e9f3)Features
assertfor import attributes (#7914) (ee75756)v1.3.82Compare Source
Bug Fixes
(common) Fix logic for excluding
FileNamefrom source maps (#7900) (aa64955)(es/module) Make
jsc.pathsfully resolve TypeScript files (#7901) (c714dd2)(es/resolver) Correctly resolve global value (#7893) (2db10e9)
v1.3.81Compare 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
SwitchCasehandler ofblock-scopingstateless (#7888) (4b33d41)(es/dep-graph) Analyze import type children (#7883) (057bd5f)
(es/minifier) Report
is_fn_localeven if var is hoisted (#7876) (87a47bf)(es/module) Don't create absolute paths for
jsc.pathson 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: Usetextareaforswc-info(eed2903)Performance
Refactor
mutatedandmutation_by_call_count(#7890) (8db968a)v1.3.80Compare Source
Bug Fixes
(es/module) Fix logic for exact matches in
jsc.paths(#7860) (52a1ee7)(es/module) Don't resolve as
node_modulesfromTscResolver(#7866) (11ebae1)Miscellaneous Tasks
v1.3.79Compare 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.pathswork for a nest.js app (#7852) (d33a973)Features
@scopeat-rule (#7837) (a34f359)Miscellaneous Tasks
Refactor
(common) Mark some methods of
Inputunsafe (#7848) (c657324)(es/helpers) Move packages for monorepo (#7833) (1ab406c)
(es/minifier) Pre-calculate
reassigned(#7832) (65db1ba)(es/types) Extract
@swc/typesas a small, reusable package (#7834) (f713f1b)v1.3.78Compare Source
Bug Fixes
(es/codegen) Add quotes to property names when
ascii_onlyistrue(#7820) (04921f3)(es/compat) Remove wrong logic for object patterns in
object_rest(#7788) (3766a7c)(es/minifier) Preserve
cookedwhile 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
ahashoptional (#7816) (981d7b1)(es/parser) Remove needless
unsafe(#7818) (8b809db)- general: Useahashfromswc_commonin more places (#7815) (b43e38d)v1.3.77Compare Source
Bug Fixes
(es) Resolve
jsc.baseUrlfor.swcrcspecified by--config-file(#7801) (fe1ca26)(es/compat) Revert #7610 (#7813) (42dec55)
(es/parser) Revert lexer fix for
<<(#7807) (e527c12)Features
Archivedtypes (#7811) (478fa47)Refactor
read_token_number_sign(#7803) (5e7834a)v1.3.76Compare 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.baseUrlwhile resolving absolute paths (#7775) (5c4bfa6)Features
mangle.eval(#7777) (eff0cac)Miscellaneous Tasks
Performance
class_properties(#7786) (76c6258)v1.3.75Compare Source
Bug Fixes
(es/codegen) Don't strip necessary escape characters (#7687) (b45649b)
(es/compat) Fix loose mode of the
spreadpass (#7760) (b69ae8f)(es/minifier) Abort on
Array.slicewithstart >= end(#7745) (36ccbec)(es/module) Fix handling of continuous assignments in
systemjs(#7741) (f713f6a)(es/utils) Ignore
typeof Idwhile preserving side effects (#7763) (d57ac0d)(plugin/runner) Use fs cache properly (#7748) (1122de7)
Features
formatasoutputforminify()(#7746) (28dfc51)Miscellaneous Tasks
Refactor
(es/ast) Avoid
transmutein impl ofHashforNumber(#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.74Compare Source
Bug Fixes
(es) Fix typo in a warning (#7740) (22e06cc)
(es/minifier) Mark args of
news as references (#7743) (3873f58)v1.3.73Compare Source
Bug Fixes
(es/minifier) Handle synthesized export default expression (#7707) (5ea6f27)
(es/utils) Fix string evaluation of array literals (#7731) (e8c58cf)
Features
core-jsimports (#7715) (b4f3332)Testing
v1.3.72Compare 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/serdeas serde feature (#7722) (2bc9637)Refactor
stackeran optional dependency (#7720) (864bdef)v1.3.71Compare 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
toplevelandmoduleoptions (#7671) (9893bd2)(es/minifier) Respect top-level when invoking IIFE ([#7690](http
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.