build(deps): update all build dependency updates
This MR contains the following updates:
Package | Change | Age | Confidence |
---|---|---|---|
@cenk1cenk2/eslint-config | ^2.7.59 -> ^2.7.60 |
||
@swc/core (source) | ^1.9.0 -> ^1.12.5 |
||
prettier (source) | ^3.3.3 -> ^3.5.3 |
||
ts-jest (source) | ^29.2.5 -> ^29.4.0 |
||
tsup (source) | ^8.3.5 -> ^8.5.0 |
||
typescript (source) | ^5.6.3 -> ^5.8.3 |
Release Notes
config/eslint-config (@cenk1cenk2/eslint-config)
v2.7.60
Performance Improvements
- update with new methodology on eslint9 (9b96609)
swc-project/swc (@swc/core)
v1.12.5
Bug Fixes
Performance
Refactor
v1.12.4
Bug Fixes
-
(es/minifier) Fix
Buffer
handling ofminify()
API (#10643) (cdf068e) -
(es/parser) Don't be greedy in the end of jsx open el (#10637) (8a2c656)
Refactor
v1.12.3
Bug Fixes
v1.12.2
Bug Fixes
-
(ci) Fix build of
@swc/minifier
(0dc5244) -
(es/codegen) Fix
.map
path when usingoutput_path
(01e5bd1) -
(es/parser) Allow type ann in jsx expr child (#10626) (48f576c)
-
(swc) Fix wrong caching of resolvers regarding file exts (#10615) (68aacd1)
-
(ts/isolated-dts) Emit properties in overloaded constructor params (#10623) (6634ef1)
Features
Performance
-
(atoms) Improve
atom!
for inlinable strings (#10612) (5113121) -
(es/minifier) Avoid calling some costly function when optimizing deep nested binary expr (#10611) (1434571)
-
(es/minifier) Remove needless JSON conversion (#10628) (4a58dca)
-
(es/parser) Reduce cmp in jsx spread child (#10606) (fb33c13)
Refactor
v1.12.1
Bug Fixes
-
(@swc/types) Remove
nativeClassProperties
(#10592) (39032dc) -
(es/minifier) Fix top level detection of DCE (#10603) (964a560)
Features
v1.12.0
Bug Fixes
-
(@swc/types) Add
jsc.output.charset
(#10567) (26b41e8) -
(es/codegen) Don't call
cmt.get_leading
for dummy span (#10568) (16e204d) -
(es/parser) Disallow spread operator(
...
) in JSX attribute values (#10587) (8deba78) -
(es/typescript) Pass
native_class_properties
(#10561) (7e4cd9a) -
(es/typescript) Handle
export declare var
in namespace (#10579) (2daa17f) -
(ts/isolated-dts) Add edges
SymbolFlags::Value
andSymbolFlags::Type
in exports (#10577) (e6d4da2) -
Fix bindings (0f858fd)
Documentation
Features
-
(es/minifier) Regex support for
format.comments
(#10571) (e441df5) -
(es/module) Add support for
import.meta.main
in AMD and CJS (#10596) (759de2e)
Miscellaneous Tasks
Refactor
-
(es/lexer) Remove unnecessary result wrap (#10578) (49d15df)
-
(swc_common) Use
BytesStr
instead ofLrc<String>
(#10580) (6f00973)
Testing
v1.11.31
Bug Fixes
-
(es/codegen) Exclude
constructor
from source map names (#10551) (ef85640) -
(es/fixer) Fix a bug with awaited arrow fn expression (#10555) (9dfdfa6)
-
(es/minifier) Inline object of member if prop is an ident (#10548) (e554381)
-
(es/minifier) Add side effect check for test expr when compressing IfStmt (#10550) (3e9728e)
-
(es/minifier) Fix typo in an option name (#10554) (a303941)
-
(es/parser) Emit syntax errors for strict mode in non-module or scripts (#10545) (1291b4a)
-
(es/react-compiler) Fix usefulness detection (#10506) (41075a1)
-
(swc_common) Fix skip condition for sourcemap (#10562) (cbee0df)
-
(swc_common) Fix skip condition for sourcemap, really (#10563) (14feedb)
-
(swc_common) Revert skip condition patch (#10564) (2a2b284)
-
(ts/fast-dts) Correctly emit Symbol-keyed accessors in declarations (#10508) (1298e76)
-
(ts/fast-dts) Ensure correct emission of template literals and symbol-keyed properties (#10530) (8dbdbef)
Features
Miscellaneous Tasks
-
(bindings) Use published versions of crates (#10513) (f65f028)
-
(ecosystem-ci) Exclude
ts-node
(2b284e1)
Performance
-
(es/minifier) Merge
PropertyCollector
into usage analyzer (#10514) (505bf54) -
(es/parser) Reduce comparison while reading logical (#10526) (2bc551c)
Refactor
-
(es/codegen) Migrate to
ryu-js
for numeric literal codegen (#10503) (4bc4244) -
(es/lexer) Cleanup code for reading tokens (#10533) (a72092c)
-
(es/parser) Share code for parsing strings (#10522) (931a2d6)
-
(ts/fast-dts) Derive computed flags from source code (#10510) (a2d5664)
v1.11.29
Bug Fixes
-
(@swc/types) Add
transform.nativeClassProperties
(#10418) (f3af44c) -
(@swc/types) Add
resolveFully
toBaseModuleConfig
(#10426) (164cbaa) -
(ci) Remove wasmer override (425eeb9)
-
(es/compat) Properly handle rest assignment in for-in/of head (#10489) (b9c0446)
-
(es/jest) Hoisting vars with names starting with mock (#10410) (a29eb29)
-
(es/minifier) Properly handle object shorthand syntax during compression (#10467) (bae4940)
-
(es/module) Handle
__proto__
export name (#10420) (1b94c7a) -
(es/optimization) Support decimal numbers in
jsonify
(#10424) (affdec2) -
(es/react-compiler) Mark function components declared as a var interesting (#10437) (5eac076)
-
(es/renamer) Fix (broken) identifier preserving API (#10474) (06c64cf)
-
(ts/fast-dts) Emit
readonly
for Object getter prop (#10492) (6c03e20) -
(ts/fast-dts) Align object getter/setter emit behavior with TypeScript (#10502) (78c754e)
Features
-
(common) Allow using
build_sourcemap
with multipleSourceMap
(#10438) (2a07c8a) -
(common) Add
ignoreList
support for sourcemap (#10442) (6750459) -
(config) Allow using glob in some places (#10445) (f7a6359)
-
(es/module) Add support for stripping "node:" prefix in imports and exports (#10461) (ae2ff62)
-
(es/react-compiler) Initialize support crate (#10422) (1e88e6b)
Miscellaneous Tasks
Performance
-
(common) Accept owned instance of
sourcemap::SourceMap
(#10463) (6ee439a) -
(es/minifier) Remove needless
collect_decls
call (#10450) (8e4b6ce) -
(es/minifier) Clear graph eagerly in DCE (#10455) (31e21d7)
-
(es/minifier) Perform full analysis only once for DCE (#10454) (61baf84)
-
(es/optimization) Rely on
resolver
frominline_globals
(#10449) (1978809) -
(es/utils) Make
IdentUsageFinder
parallel (#10444) (d074bca) -
(es/utils) Stop visiting once found in
EvalFinder
(#10483) (3402270)
Refactor
-
(ecma/transform) Cleanup rename analyzer (#10500) (de51be1)
-
(es/minifier) Merge label/private name renamer (#10480) (5add84d)
-
(es/parser) Split parser into also-lex/parse-only (#10399) (26289ab)
-
(es/parser) Cleanup usage of
is!
andbump!
(#10490) (b695b68) -
(es/transforms) Unify
preset_env
andes_version
transform (#10451) (6546c27)
Build
v1.11.24
v1.11.22
Bug Fixes
-
(es/parser) Parse
export default from;
withexportDefaultFrom: true
option (#10373) (a270cb0) -
(es/proposal) Fix exported class for
explicit-resource-management
(#10393) (6b5dbc6)
Features
-
(bindings/core) Enhance existing parse function to accept both string and buffer types(#10371) (c9a2afc)
-
(css/prefixer) Fix default implementation (#10351) (34f4e41)
Miscellaneous Tasks
Performance
-
(es/minifier) Use bigflags to reduce context size of analyzer (#10380) (773d19c)
-
(es/minifier) Use
bitflags
to reduce context size ofInfectionCollector
(#10387) (126d432) -
(es/minifier) Use
bitflags
to reduce compress context size (#10381) (99495bd) -
(es/parser) Move
found_module_item
toParser
(#10388) (fd52c5c)
Refactor
Testing
v1.11.21
Bug Fixes
-
(es/helpers) Sync tslib
_ts_generator
implementation (#10366) (d3fb992) -
(es/proposal) Fix scope of declarations for
explicit-resource-management
(#10362) (eb7f7e9) -
(ts/fast-strip) Increase Wasm stack size (#10359) (6d444a5)
Miscellaneous Tasks
Performance
-
(es/parser) Add initial capacitity for some vectors (#10361) (7b7b50e)
-
(es/parser) Reduce clone of token contexts (#10364) (3ab47b2)
-
(es/parser) Use
bitflags
to reduce parser context size (#10367) (a2d3596) -
(es/parser) Replace byte arguments with generics (#10370) (68f7667)
-
(es/parser) Use
arrayvec
and unsafepush
to optimize escaped string parsing (#10369) (e12ae1c)
v1.11.20
Bug Fixes
-
(error_reporters) Removing unused code to fix clippy check (#10338) (5970f93)
-
(es/minifier) Preserve block with block scoped declaration (#10335) (a4ac3b7)
-
(es/parser) Allow abstract method named
accessor
(#10327) (3f71776) -
(es/preset-env) Consider
browserslist
config ifenv.target
is not configured (#8921) (a2dc372) -
fix(es/compat): Remove one promise tick in yield* (tc39/ecma262#2819) (#10317)
Related issue:
Features
-
(errors) Integrate
miette
for enhanced diagnostic reporting (#10241) (156c3b1) -
(es/codegen) Support
sourceMap.url
option ofterser
(#10346) (566bc7c)
Miscellaneous Tasks
Performance
-
(es/ast) Reduce redundant string comparison for
Atom
s (#10323) (3ce9d81) -
(es/jsx) Cache FileName for JSX pass (#9951) (#10322) (9852940)
-
(es/parser) Remove redundant
is_ascii
calls (#10334) (e66b4d6) -
(es/parser) Remove ascii check for no-ascii (#10350) (4279b96)
Testing
v1.11.18
Bug Fixes
-
(es/codegen) Ensure proper Unicode escape handling for ES5 and below #10028 (#10309) (7f76fa3)
-
(node) Fix
worker_threads
issue on glibc platform (#10306) (1d1ff9e)
Features
Refactor
-
(es/codegen) Split
lib.rs
into multiple files (#10304) (5a07a5d) -
(es/codegen) Refactor macro to inverse order (#10297) (78f907f)
Testing
v1.11.16
Miscellaneous Tasks
v1.11.15
Bug Fixes
-
(bindings/node) Fix build on platforms without plugin (#10301) (3faae55)
-
(cli) Fix plugin target as
wasm32-wasip1
(#10293) (7daf4f4) -
(es) Do not reuse
Compiler
forminify()
andtransform()
(#10273) (63bd8a1) -
(es/bugfix) Do not rename in non-ident-function (#10274) (48b6bdb)
-
(es/minifier) Remove unnecessary check when invoke IIFE (#10257) (6b75775)
-
(es/parser) Parser a program as a module with TLA in non-expression statement (#10287) (157c52a)
-
(html) Remove
async
fromminifyFragmentSync
(#10289) (7028457)
Documentation
Features
-
(es) Add Rust plugin host part for analysis API (#10285) (d213a84)
-
(es) Add analysis API and refactor output API (#10288) (a53c60d)
-
(es/minifier) Allow disabling char frequency analysis (#10259) (50c62d1)
-
(es/minifier) Merge expression with empty return (#10283) (c276a38)
-
(es/minifier) Optimize code generated by optional chaining (#10292) (0d88041)
-
(es/minifier) Support
reduce_escaped_newline
(#10232) (64fb286) -
(ts/fast-strip) Improve error message format (#10298) (29c4afb)
Miscellaneous Tasks
- (html) Fix typing (3ed8a7a)
Performance
-
(es/minifier) Adjust parallelism threshold (#10260) (28cc6f6)
-
(es/minifier) Process
cons
andalt
ofIfStmt
in parallel (#10262) (ccb6eb8) -
(es/minifier) Move logic to the pure minifier (#10264) (7ecd807)
-
(es/minifier) Use
swc_par_iter
instead ofrayon
(#10267) (78e37a1)
Refactor
Testing
v1.11.13
Features
-
(es/minifier) Merge alt's cons with cons (#10256) (589bcd7)
-
(swc_core) Expose features of
swc_parallel
(#10258) (042f19f)
Performance
v1.11.12
Bug Fixes
-
(es/minifier) Make
inline_globals
noop by default (#10231) (b192dc8) -
(es/minifier) Fix access to
GLOBALS
in char freq compute (#10239) (6286663) -
(es/parser) Fix span of wrong
await
tokens (#10252) (5c28dc3)
Documentation
Features
-
(es/fast-lexer) Enhance identifier handling with Unicode support (#10226) (482b63a)
-
(ts/fast-strip) Add start/end span information (#10251) (ab39a62)
-
(ts/fast-strip) Improve error message snippet (#10253) (f4f426c)
Performance
v1.11.11
Bug Fixes
-
(es/minifier) Do not drop numbers incorrectly (#10211) (80ccd86)
-
(es/minifier) Allow TypeScript nodes to fix
styled-jsx
(#10221) (9d87d4d)
Features
Miscellaneous Tasks
Refactor
Testing
v1.11.10
Bug Fixes
-
(es/proposal) Fix declarations for
explicit-resource-management
(#10198) (99ba555) -
(es/types) Add missing types for
jsc.transform.react.refresh
(#10206) (e71b000) -
(typescript) Skip the body of ArrowExpr in type usage analysis (#10187) (9aca205)
Documentation
Features
Miscellaneous Tasks
Performance
Refactor
Testing
-
(es/minifier) Add a benchmark for real-world inputs (#10204) (97f2180)
-
(es/minifier) Disable real-world benchmarks on CI (#10205) (c5f1cbe)
-
(es/minifier) Test only sizes for large inputs (#10208) (bec3e3e)
v1.11.9
Bug Fixes
-
(es/compat) Hoist
arguments
in object method while lowering async functions (#10167) (e764df2) -
(es/minifier) Check array inline for indexed with dynamic key (#10184) (c2fe4bf)
Features
-
(es/module) Support more
import.meta
properties (#10179) (11727a6) -
(ts/fast-strip) Throw js object instead of map (#10186) (2da0142)
Performance
-
(es/fast-lexer) Optimize
read_identifier
(#10170) (d97f7b2) -
(es/fast-lexer) Use
memchr
forskip_line_comments
(#10173) (35194e3) -
(es/fast-lexer) Use SIMD properly for string literals (#10172) (be60338)
-
(es/fast-lexer) Add length-based fast path for keywords (#10176) (1f70af8)
-
(es/fast-lexer) Optimize memory layout of cursor (#10175) (aa20494)
-
(es/fast-lexer) Replace PHF with static keyword lookup table (#10181) (56d065e)
-
(es/fast-lexer) Optimize SIMD vector initialization with initialing
u8x16
once. (#10183) (435197c)
v1.11.8
Bug Fixes
Features
Performance
-
(es/fast-lexer) Optimize lexing of keywords (#10155) (fb610b0)
-
(es/fast-lexer) Make whitespace skipper use SIMD properly (#10158) (15ea059)
Refactor
Ci
v1.11.7
Features
v1.11.6
Bug Fixes
-
(es/minifier) Fix regression due to #10056 (#10134) (b145275)
-
(es/typescript) Remove empty statements that const enum decls are folded into (#10128) (7bea830)
v1.11.5
Bug Fixes
-
(es/lints) Capture errors and emit from the original thread (#10119) (2304cd8)
-
(es/minifier) Skip inlining if the referential identity of a function matters (#10123) (c08fe8d)
-
(ts/fast-strip) Throw object consistently (#10122) (010ff2a)
Miscellaneous Tasks
Performance
v1.11.4
Bug Fixes
-
(es/decorators) Support negative numbers (#10114) (5044580)
-
(es/minifier) Inline before cost analysis (#10092) (1425b56)
-
(es/minifier) Remove needless
println
(b1e5b2d) -
(es/resolver) Analyze variable declarations with
declare
(#10102) (cff6a64) -
(swc_malloc) Fix build issue due to malloc, really (#10117) (207a13f)
-
(swc_malloc) Add
target_env = "gnu"
check (#10118) (da81e11) -
Use
jemalloc
on platforms thatmimalloc
fails to build (#10116) (fb75b98)
Miscellaneous Tasks
Performance
-
(es/minifier) Improve arrow function inlining cost analysis (#10093) (e74929c)
-
(es/resolver) Remove some vector allocations (#10101) (b65387a)
Refactor
v1.11.1
Bug Fixes
-
(es/codegen) Ensure proper Unicode escape handling for ES5 and below #10028 (#10309) (7f76fa3)
-
(node) Fix
worker_threads
issue on glibc platform (#10306) (1d1ff9e)
Features
Refactor
-
(es/codegen) Split
lib.rs
into multiple files (#10304) (5a07a5d) -
(es/codegen) Refactor macro to inverse order (#10297) (78f907f)
Testing
v1.10.18
Bug Fixes
Miscellaneous Tasks
Build
v1.10.17
Bug Fixes
-
(typescript) Improve type inferring for undefined and null (#10038) (5059ece)
-
(typescript) Remove the usages of private members (#10037) (8410b59)
Performance
Testing
v1.10.16
Bug Fixes
-
(es/minifier) Check assign target before merge assign cond (#10020) (6dab49a)
-
(es/parser) Preserve comment positions with leading semicolon (#10019) (c9937b6)
-
(swc_common) Fix panic with non-narrow chars with width != 2 (#10011) (f9f4cac)
-
(ts/fast-strip) Handle unsupported
module
keyword (#10022) (308f5d0)
Performance
v1.10.15
Bug Fixes
-
(es/minifier) Dont't optimize swtich case before DCE (#9994) (afe21b5)
-
(es/parser, es/codegen) Handle trailing empty slots in array patterns (#9992) (1a87e76)
-
(es/react) Avoid adding
__self
in constructors of derived class in thejsx_self
(#9987) (83f24af)
Features
Performance
-
(es/minifier) Do not clone from
take_ident_of_pat_if_unused
(#10005) (dc3b46e) -
(es/minifier) Allocate in once from
mark_property_mutation
(#10004) (4a90e51) -
(es/minifier) Limit infection analysis by the entry size (#10006) (1a3a4b9)
v1.10.14
Bug Fixes
Features
-
(ts/fast-strip) Support type-only/uninstantiated namespaces (#9983) (a72c6fa)
-
Add (experimental)
js-interop
npm package (#9975) (eebb0ea)
Performance
v1.10.12
Bug Fixes
Performance
-
(es/minifier) Make analyzer not call
collect_infects_from
recursively (#9924) (37616c3) -
(es/minifier) Skip complex inline operations if possible (#9972) (772cc30)
-
(es/minifier) Merge binding analyzer into infection analyzer (#9973) (ca8a71f)
v1.10.11
Bug Fixes
-
(es) Restore JSON config & Adjust feature renaming (#9967) (72e5455)
-
(es/minifier) Avoid paren when compressing ternary (#9920) (9d6fe37)
-
(ts/fast-strip) More robust generic arrow handling (#9913) (f7faa7c)
-
(typescript) Allow references to the global Symbol in computed property names under
isolatedDeclarations
(#9869) (e4c1e03)
Features
Miscellaneous Tasks
Performance
-
(es/react) Use proper string types for react configuration (#9949) (1bf837e)
-
(es/utils) Restrict recursion of
get_type
(#9933) (1781b85)
Refactor
v1.10.9
Bug Fixes
Documentation
Features
-
(es/minifier) Print total size from
minify-all
example (#9897) (134000f) -
(es/minifier) Compress
foo ? num : 0
intonum * !!foo
(#9908) (ce22557)
Miscellaneous Tasks
Performance
-
(es/minifier) Make character frequency analysis parallel (#9895) (ca2fd1e)
-
(es/minifier) Parallelize handling of class members (#9900) (ed74839)
-
(es/minifier) Adjust threshold for parallel char frequency calculation (#9901) (47ea8de)
-
(es/minifier) Do heavy operation only if required (#9902) (2687231)
-
(es/minifier) Invert cache to be really a cache (#9910) (8bfb0e5)
v1.10.8
Bug Fixes
-
(es/decorators) Fix init order of
2022-03
impl (#9760) (751a310) -
(es/ts_strip) Handle ASI hazard in return statement (#9882) (121b5fe)
-
(typescript) Collect usages in extend clauses of classes and interfaces (#9893) (ef29ef6)
Features
Performance
-
(es/minifier) Make the first run of DCE more efficient (#9868) (7329824)
-
(es/minifier) Box
VarUsageInfo
ofProgramData
(#9894) (fafd754) -
(es/renamer) Use
IndexSet
for rename queue (#9866) (f404720)
Refactor
-
(es/minifier) Add a way to profile minifier for real-world inputs (#9881) (9657294)
-
(es/minifier) Use
chili
forminify-all
example (#9885) (197f0bc)
v1.10.7
Bug Fixes
-
(ci/publish) Do not tag stable if
onlyNightly
is on (#9863) (c0c6056) -
(es/parser) Fix context of dynamic import type (#9852) (caa7f37)
Documentation
- Update the link to the team (0fcdc31)
Features
Testing
Build
v1.10.6
Performance
v1.10.4
Bug Fixes
v1.10.3
Bug Fixes
v1.10.2
Bug Fixes
-
(es) Don't panic when wasm bytecheck faild (#9803) (c81be2e)
-
(es/parser) Do not parse empty stmt after using decl (#9798) (c2696db)
Documentation
v1.10.1
Bug Fixes
Miscellaneous Tasks
Build
v1.10.0
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)
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
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
Features
Miscellaneous Tasks
Performance
Refactor
v1.9.2
Bug Fixes
Features
v1.9.1
Bug Fixes
prettier/prettier (prettier)
v3.5.3
ConditionalTypeAnnotation
(#17196 by @fisker)
Flow: Fix missing parentheses in // Input
type T<U> = 'a' | ('b' extends U ? 'c' : empty);
type T<U> = 'a' & ('b' extends U ? 'c' : empty);
// Prettier 3.5.2
type T<U> = "a" | "b" extends U ? "c" : empty;
type T<U> = "a" & "b" extends U ? "c" : empty;
// Prettier 3.5.3
type T<U> = "a" | ("b" extends U ? "c" : empty);
type T<U> = "a" & ("b" extends U ? "c" : empty);
v3.5.2
module-sync
condition (#17156 by @fisker)
Remove In Prettier 3.5.0, we added module-sync
condition to package.json
, so that require("prettier")
can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove the module-sync
condition, so require("prettier")
will still use the CommonJS version, we'll revisit until require(ESM)
feature is more stable.
v3.5.1
#17100 by @sosukesuzuki)
Fix CLI crash when cache for old version exists (Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.
#17101 by @remcohaszing)
Support dockercompose and github-actions-workflow in VSCode (Prettier now supports the dockercompose
and github-actions-workflow
languages in Visual Studio Code.
v3.5.0
v3.4.2
#16796 by @tats-u)
Treat U+30A0 & U+30FB in Katakana Block as CJK (Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.
<!-- Input (--prose-wrap=never) -->
C言
語
・
C++
・
Go
・
Rust
<!-- Prettier 3.4.1 -->
C言語・ C++ ・ Go ・ Rust
<!-- Prettier 3.4.2 -->
C言語・C++・Go・Rust
U+30A0 can be used as the replacement of the -
in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).
#16891 by @fisker)
Fix comments print on class methods with decorators (// Input
class A {
@​decorator
/**
* The method description
*
*/
async method(foo: Foo, bar: Bar) {
console.log(foo);
}
}
// Prettier 3.4.1
class A {
@​decorator
async /**
* The method description
*
*/
method(foo: Foo, bar: Bar) {
console.log(foo);
}
}
// Prettier 3.4.2
class A {
@​decorator
/**
* The method description
*
*/
async method(foo: Foo, bar: Bar) {
console.log(foo);
}
}
#16899 by @seiyab)
Fix non-idempotent formatting (This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.
// Input
<div>
foo
<span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
, abc
</div>;
// Prettier 3.4.1 (first)
<div>
foo
<span>
longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
</span>, abc
</div>;
// Prettier 3.4.1 (second)
<div>
foo
<span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
, abc
</div>;
// Prettier 3.4.2
<div>
foo
<span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
, abc
</div>;
v3.4.1
v-on
(#16887 by @fisker)
Remove unnecessary parentheses around assignment in <!-- Input -->
<template>
<button @​click="foo += 2">Click</button>
</template>
<!-- Prettier 3.4.0 -->
<template>
<button @​click="(foo += 2)">Click</button>
</template>
<!-- Prettier 3.4.1 -->
<template>
<button @​click="foo += 2">Click</button>
</template>
v3.4.0
kulshekhar/ts-jest (ts-jest)
v29.4.0
Features
- feat: support Jest 30 (84e093e)
v29.3.4
Bug Fixes
- fix: fix
TsJestTransformerOptions
type (3b11e29), closes #4247 - fix(cli): fix wrong path for preset creator fns (249eb2c)
- fix(config): disable
rewriteRelativeImportExtensions
always (9b1f472), closes #4855
v29.3.3
Bug Fixes
- fix(cli): init config with preset creator functions (cdd3039), closes #4840
- fix(config): disable
isolatedDeclarations
(5d6b35f), closes #4847
v29.3.2
Bug Fixes
v29.3.1
Bug Fixes
- fix: allow
isolatedModules
mode to havets.Program
underNode16/Next
(25157eb) - fix: improve message for
isolatedModules
ofts-jest
config (547eb6f)
v29.3.0
Features
- feat: support hybrid
module
values forisolatedModules: true
(f372121)
Bug Fixes
Code Refactoring
- refactor: remove manual version checker (89458fc)
- refactor: remove patching deps based on version checker (bac4c43)
- refactor: deprecate
RawCompilerOptions
interface (2b1b6cd) - refactor: deprecate transform option
isolatedModules
(7dfef71)
v29.2.6
Bug Fixes
egoist/tsup (tsup)
v8.5.0
🚀 Features
- Use
fix-dts-default-cjs-exports
to transform CJS types - by @userquin in https://github.com/egoist/tsup/issues/1310 (c654e) - Allow passing custom swc configuration to swcPlugin - by @Romakita in https://github.com/egoist/tsup/issues/1313 (fdfd5)
🐞 Bug Fixes
- Make
removeNodeProtocol
work withshims
- by @aryaemami59 (769aa) - CopyPublicDir in watch mode - by @geeee in https://github.com/egoist/tsup/issues/1331 (7c1e1)
View changes on GitHub
v8.4.0
🚀 Features
- Upgrade svelte and css compiler - by @DaniAcu in https://github.com/egoist/tsup/issues/1288 (c3f32)
🐞 Bug Fixes
- Upgrade esbuild to 0.25 - by @RobinTail in https://github.com/egoist/tsup/issues/1309 (89c47)
View changes on GitHub
v8.3.6
🐞 Bug Fixes
- Don't await sub-process of
onSuccess
- by @laat in https://github.com/egoist/tsup/issues/1256 (314a6)
View changes on GitHub
microsoft/TypeScript (typescript)
v5.8.3
: TypeScript 5.8.3
For release notes, check out the release announcement.
- fixed issues query for Typescript 5.8.0 (Beta).
- fixed issues query for Typescript 5.8.1 (RC).
- fixed issues query for Typescript 5.8.2 (Stable).
- fixed issues query for Typescript 5.8.3 (Stable).
Downloads are available on:
v5.8.2
: TypeScript 5.8
For release notes, check out the release announcement.
- fixed issues query for Typescript 5.8.0 (Beta).
- fixed issues query for Typescript 5.8.1 (RC).
- fixed issues query for Typescript 5.8.2 (Stable).
Downloads are available on:
v5.7.3
: TypeScript 5.7.3
For release notes, check out the release announcement.
- fixed issues query for Typescript 5.7.0 (Beta).
- fixed issues query for Typescript 5.7.1 (RC).
- fixed issues query for Typescript 5.7.2 (Stable).
- fixed issues query for Typescript 5.7.3 (Stable).
Downloads are available on npm
v5.7.2
: TypeScript 5.7
For release notes, check out the release announcement.
- fixed issues query for Typescript 5.7.0 (Beta).
- fixed issues query for Typescript 5.7.1 (RC).
- fixed issues query for Typescript 5.7.2 (Stable).
Downloads are available on:
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.