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:
3.0.0-alpha.62
->3.0.0-alpha.64
1.7.5
->1.10.1
22.9.3
->22.10.1
19.0.1
->19.0.2
4.0.0-rc.3
->4.0.0-rc.4
^0.23.0
->^0.24.0
19.4.0
->19.6.0
^0.13.0
->^0.14.0
6.1.2
->6.1.3
9.14.2
->9.15.0
3.4.4
->3.4.5
3.3.3
->3.4.2
^0.13.0
->^0.15.0
3.25.0
->3.27.0
3.0.6
->3.0.7
4.16.5
->4.19.2
Release Notes
napi-rs/napi-rs (@napi-rs/cli)
v3.0.0-alpha.64
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...[@​napi-rs/cli](https://redirect.github.com/napi-rs/cli)[@​3](https://redirect.github.com/3).0.0-alpha.64
v3.0.0-alpha.63
Compare Source
What's Changed
Full Changelog: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://redirect.github.com/napi-rs/cli)[@​3](https://redirect.github.com/3).0.0-alpha.62...[@​napi-rs/cli](https://redirect.github.com/napi-rs/cli)[@​3](https://redirect.github.com/3).0.0-alpha.63
swc-project/swc (@swc/core)
v1.10.1
Compare Source
Bug Fixes
Features
module.outFileExtension
(#9784) (e04c7b3)v1.10.0
Compare Source
Bug Fixes
(es/codegen) Use raw value for emitting JSX text (#9762) (b83c44f)
(es/compat) Fix marker for inlined helpers (#9776) (f54ec2c)
(es/minifier) Drop
console
in optional chainings (#9759) (39271ad)(es/minifier) Do not inline into the exact LHS (#9777) (985977b)
Features
(es/minifier) Support
preserve_annotations
of terser (#9775) (6e1c9fd)(typescript) Align
isolatedDeclaration
implementation with tsc (#9715) (0adad25)Apply Wasm-breaking changes (#9771) (ed65eee)
Miscellaneous Tasks
(deps) Update dependency magic-string to v0.30.13 (#9747) (fa80a1e)
(deps) Update dependency magic-string to v0.30.14 (#9764) (6e46a8b)
Refactor
v1.9.3
Compare Source
Bug Fixes
(@swc/types) Tsc build file ignored by npm (#9754) (14a5c1e)
(es) Source map
super(...args)
calls in injected constructors (#9745) (35b0ca0)(es/plugin) Migrate
swc plugin new
to use.cargo/config.toml
(#9740) (4ffb21e)(es/resolver) Ignore
VarDecl
withdeclare: true
(#9734) (aa0f784)Documentation
Assumptions
API (#9746) (cd4321c)Features
(plugin) Bump
rkyv
tov0.8.8
(#9730) (81ac77e)(plugin) Update
wasmer
tov5
(#9731) (9b74ccd)(visit) Derive serde for
AstParentKind
(#9744) (e0fdd68)Miscellaneous Tasks
(bindings/node) Format
binding.js
(#9738) (9f8c14f)(deps) Update cargo (patch) (#9724) (da37439)
Performance
analyze_source_file
lazy, again (#9732) (c1d12d6)Refactor
(es/compat) Use special span instead of passing
static_blocks_mark
(#9725) (6ad0735)Delay Wasm-plugin breaking changes (#9735) (92faf5b)
v1.9.2
Compare Source
Bug Fixes
Features
inline_script
support (#9729) (e732a36)v1.9.1
Compare Source
Bug Fixes
ends_with_alpha_num
(#9720) (569c799)v1.9.0
Compare Source
Bug Fixes
(es/minifier) Avoid generating reserved mangling names (#9710) (b49317a)
(es/plugin) Revert #9696 (#9717) (772f023)
Features
isolatedDeclarations
updates (#9712) (6194044)Miscellaneous Tasks
v1.8.0
Compare Source
Bug Fixes
(es/typescript) Handle multiline type parameters in async arrow functions (#9704) (c5ed19c)
(es/typescript) Handle ASI hazards in fast type strip (#9707) (c135f71)
Features
(es) Add
es2023
andes2024
toEsVersion
(#9700) (5a6f0e6)(es/plugin) Introduce
manual-tokio-runtmie
toswc
crate (#9701) (97298c4)Performance
(common) Make character analysis lazy (#9696) (1c3eaf6)
(es/renamer) Modify parallel renaming threshold (#9706) (91a9106)
v1.7.42
Compare Source
Bug Fixes
(es/generator) Fix code generation for
break
in nested while (#9684) (65872af)(es/parser) Parse
await using()
call (#9693) (bcf05de)(es/resolver) Skip resolving lowercase
JSXIdentifiers
(#9686) (6ed1715)(es/types) Add
jsc.experimental.keepImportAssertions
to types (#9691) (4b4dcfa)Features
(es/minifier) Optimize switch with side effect and termination tests (#9677) (7344a63)
(es/parser) Ability to get script's potential module errors (#9682) (2bbd1e8)
Miscellaneous Tasks
Performance
(es) Cache
current_dir()
system calls (#9683) (7aab945)(es/lints) Disable lints by default (#9689) (4d887d0)
(visit) Introduce
Pass
API and adjust visitor APIs for it (#9680) (581aafb)v1.7.40
Compare Source
Bug Fixes
(bindings) Update napi to handle string with
\0
(#9665) (8f45eaf)(bindings/node) Add
VisitTsPropertySignature
(#9670) (715c42c)(es/codegen) Improve EndsWithAlphaNum (#9675) (ba2a942)
(es/renamer) Check
preserved
in normal renaming mode (#9666) (87b4e10)(typescript) Check whether the method is abstract when checking
is_overload
(#9678) (78500af)Documentation
Miscellaneous Tasks
v1.7.39
Compare Source
Bug Fixes
(es/compat) Add missing visit children for
destructuring
(#9658) (32116a0)(es/parser) Correct
>
and<
when exit type context (#9653) (abffc07)(es/proposal) Use
tsc
version of explicit resource management (#9585) (f735108)(wasm-typescript) Fix option types of functions (#9662) (4cbe33c)
Features
Miscellaneous Tasks
v1.7.36
Compare Source
Bug Fixes
(es) Run esnext transforms on esnext target (#9644) (8a19201)
(es/codegen) Emit space after div if rhs has leading comment (#9631) (f2be26e)
(es/lints) Correct the false positive error of TS2309 (#9635) (f74c1f3)
(es/minifier) Only merge last if return (#9633) (6f52949)
(es/minifier) Check type of assignment target before merging assignments (#9617) (4436621)
Features
(es) Introduce
runPluginFirst
for Wasm plugins (#9645) (3d3e434)(es/minifier) Support unary negate in
cast_to_number
(#9642) (88a2186)Miscellaneous Tasks
v1.7.35
Compare Source
Bug Fixes
(ci) Fix target triples (#9622) (f625035)
(es/codegen) Fix source map so it works with Sentry (#9627) (9c90a73)
(es/minifier) Compress consecutive return statements properly (#9620) (8263da1)
(es/module) Allow TypeScript nodes for
Rewriter
(#9606) (4ee45ac)(es/testing) Revert #9264 (#9621) (85f5e5b)
(html/minifier) Fix HTML minifier TS types (#9615) (7b98bb5)
Features
(bindings/html) Accept
Buffer|string
instead ofBuffer
(#9625) (62edb36)(es/preset-env) Update preset-env data (#9573) (9a11d34)
(es/testing) Parse test code as a
Program
instead of aModule
(#9264) (166b858)(es/testing) Parse test code as a
Program
instead of aModule
(#9623) (bfea322)Miscellaneous Tasks
hstr
(#9612) (e2e9a9c)Performance
(es) Avoid needless string comparisons (#9613) (ec0a62c)
(es/codegen) Reduce usage of
tracing::instrument
(#9604) (2f06fc5)(es/transforms) Copy benchmarks from
oxc
(#9602) (24c3a0c)(es/typescript) Reduce unnecessary visits (#9605) (866af6c)
Refactor
Build
rustc
tonightly-2024-10-07
(#9624) (6a3b0fc)v1.7.28
Compare Source
Bug Fixes
(ast) Add
archive(check_bytes)
to all relevant AST types (#9574) (185d6f5)(cli) Exclude non-files from get_files_list (#9560) (85cc2bd)
(es/codegen) Fix wrong sourcemap when there are new lines in tpl (#9578) (cf74382)
(es/compat) Skip
getter
andsetter
as FlowHelperfunction
do (#9580) (14cfd70)(es/isolated-dts) Preserve comments (#9572) (6d15d9c)
(es/minifier) Avoid decl name when mangle with eval (#9546) (e2242c4)
(es/minifier) Check variable type while optimizing
+=
(#9575) (04016e9)(es/module) Rewrite import specifier in type declaration (#9577) (fc0ba2a)
(plugin) Don't panic when ast byte not match (#9562) (c36871a)
Miscellaneous Tasks
wasmer
tov4.3.7
(#9557) (190d6f0)Testing
v1.7.26
Compare Source
v1.7.25
Compare Source
Bug Fixes
(es/codegen) Handle minify number (#9541) (8b1e442)
(es/codegen) Ensure decorators are emitted first in TS paramters (#9545) (47ef38d)
Features
Span
andBytePos
to handle#__PURE__
(#9539) (f63a481)Miscellaneous Tasks
v1.7.24
Compare Source
Bug Fixes
(es/compat) Handle label block in constructor (#9528) (c43dbad)
(es/decorator) Add support for private access expressions in legacy decorators (#9535) (62ed065)
(es/minifier)
typeof
class should befunction
(#9522) (c7fdd6b)(es/minifier) Prevent removing side effects from accessing getter (#9530) (8513816)
(es/typescript) Handle enum in single statement (#9532) (84b0043)
v1.7.23
Compare Source
Bug Fixes
Performance
(es/compat) Reimplement constructor transform (#9519) (4b85a92)
(es/utils) Rewrite inject_after_super (#9496) (c562cfa)
v1.7.22
Compare Source
Bug Fixes
v1.7.21
Compare Source
Bug Fixes
v1.7.19
Compare Source
Bug Fixes
in
(#9508) (7d6269e)Features
(es/minifier) Support mangle cache (#9489) (af922d8)
(plugin/runner) Improve error message (#9502) (da52930)
Miscellaneous Tasks
Refactor
prepend_stmts
(#9493) (faec8c1)v1.7.18
Compare Source
v1.7.14
Compare Source
Bug Fixes
(common) Use
SourceMap::adjust_mappings
in correct order (#9447) (05961eb)(es) Preserve more comments (#9449) (673655c)
Features
Refactor
VisitAll
(#9448) (8845b76)v1.7.12
Compare Source
Bug Fixes
(common) Do not use
adjust_mappings
fromsourcemap
crate (#9437) (563c162)(es) Mark TypeScript nodes as reachable from
Evaluator
(#9440) (308e5ec)(es/compat) Init this in sub class constructor for async (#9446) (bfaf31b)
(es/decorators) Fix metadata for accessors (#9444) (99738ef)
Miscellaneous Tasks
v1.7.11
Compare Source
Bug Fixes
(es) Improve sourcemap url error messages. (#9422) (230d1d9)
(visit) Fix regression of AST paths (#9420) (9751518)
Features
(es/typescript) Add
native_class_properties
to skip reordering of class properties inits (#9421) (d2929d1)(estree/compat) Remove dependency on
rayon
(#9393) (34d1b27)(html/minifier) Support using custom css minifier (#9425) (970cc81)
Miscellaneous Tasks
(bindings/node) Deprecate
parse
(#9419) (1bf467d)(deps) Update cargo (patch) (#9405) (baf4928)
(es/preset-env) Update core js compat data (#9407) (ce761cf)
(es/typescript) Remove the workaround for wasm-bindgen (#9428) (55f7268)
v1.7.10
Compare Source
Bug Fixes
(es/typescript) Strip optional mark and definite mark (#9411) (8c161a0)
(es/typescript) Strip exported default overload function declaration (#9412) (b395f48)
(es/typescript) Strip
this
param in getter/setter (#9414) (442fb7b)(es/typescript) Update ts-strip type definition (#9415) (165c8fa)
v1.7.9
Compare Source
Bug Fixes
v1.7.6
Compare Source
Bug Fixes
(es/codegen) Print the missing
abstract
in class expression (#9372) (c2e3021)(es/decorators) Use correct class name reference (#9375) (badd6a9)
(es/typescript) Strip declare export in strip-only mode (#9374) (c53cce4)
arcanis/clipanion (clipanion)
v4.0.0-rc.4
Compare Source
evanw/esbuild (esbuild)
v0.24.0
Compare Source
This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of
esbuild
in yourpackage.json
file (recommended) or be using a version range syntax that only accepts patch upgrades such as^0.23.0
or~0.23.0
. See npm's documentation about semver for more information.Drop support for older platforms (#3902)
This release drops support for the following operating system:
This is because the Go programming language dropped support for this operating system version in Go 1.23, and this release updates esbuild from Go 1.22 to Go 1.23. Go 1.23 now requires macOS 11 Big Sur or later.
Note that this only affects the binary esbuild executables that are published to the esbuild npm package. It's still possible to compile esbuild's source code for these older operating systems. If you need to, you can compile esbuild for yourself using an older version of the Go compiler (before Go version 1.23). That might look something like this:
Fix class field decorators in TypeScript if
useDefineForClassFields
isfalse
(#3913)Setting the
useDefineForClassFields
flag tofalse
intsconfig.json
means class fields use the legacy TypeScript behavior instead of the standard JavaScript behavior. Specifically they use assign semantics instead of define semantics (e.g. setters are triggered) and fields without an initializer are not initialized at all. However, when this legacy behavior is combined with standard JavaScript decorators, TypeScript switches to always initializing all fields, even those without initializers. Previously esbuild incorrectly continued to omit field initializers for this edge case. These field initializers in this case should now be emitted starting with this release.Avoid incorrect cycle warning with
tsconfig.json
multiple inheritance (#3898)TypeScript 5.0 introduced multiple inheritance for
tsconfig.json
files whereextends
can be an array of file paths. Previously esbuild would incorrectly treat files encountered more than once when processing separate subtrees of the multiple inheritance hierarchy as an inheritance cycle. With this release,tsconfig.json
files containing this edge case should work correctly without generating a warning.Handle Yarn Plug'n'Play stack overflow with
tsconfig.json
(#3915)Previously a
tsconfig.json
file thatextends
another file in a package with anexports
map could cause a stack overflow when Yarn's Plug'n'Play resolution was active. This edge case should work now starting with this release.Work around more issues with Deno 1.31+ (#3917)
This version of Deno broke the
stdin
andstdout
properties on command objects for inherited streams, which matters when you run esbuild's Deno module as the entry point (i.e. whenimport.meta.main
istrue
). Previously esbuild would crash in Deno 1.31+ if you ran esbuild like that. This should be fixed starting with this release.This fix was contributed by [@Joshix-1](https://redirect.github.com/Joshi
Configuration
📅 Schedule: Branch creation - "before 10am on monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.