chore(deps): update all non-major dependencies #177
Merged
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.12.7->^1.13.1^0.2.38->^0.2.39^8.35.1->^8.37.0^0.25.5->^0.25.8^9.30.0->^9.31.0^10.1.5->^10.1.8^30.0.3->^30.0.422.17.0->22.17.110.12.4->10.13.1^19.0.3->^19.0.4^8.35.1->^8.37.0Release Notes
swc-project/swc (@swc/core)
v1.13.1Compare Source
Bug Fixes
(es/compat) Properly handle rest assignment in for-in/of RHS (#10883) (5d11851)
(es/decorators) Handle empty class members (#10892) (fe44972)
(es/minifier) Hoist props when only props are used (#10891) (452fc98)
(es/minifier) Recursively check stmt for variable when inlining function (#10896) (e37a93d)
(es/minifier) Termination check when stmts containing switch (#10898) (4429b20)
(es/parser) Fix parsing of JSX identifiers (#10894) (0047c39)
(ts/fast-strip) Strip private method overloads (#10886) (cdb6e87)
Testing
v1.13.0Compare Source
Bug Fixes
(es/lexer) Disallow legacy octal literals as BigInt (#10867) (430fbf4)
(es/minifier) Restrict IIFE inlining in class contexts (#10879) (a01b54a)
(es/parser) Mark
staticas reserved in strict mode (#10861) (5bdddd7)Features
(es/minifier) Drop unused rest paramters (#10857) (5305486)
(es/minifier) Enhance IIFE invoker for arrow functions (#10860) (2b1ce3d)
(plugin/runner) Use wasmer-wasix sys-minimal feature to reduce binary size (#10638) (b5f704a)
Performance
(es/lexer) Reduce comparison while reading numbers (#10864) (c6ba5c2)
(es/lexer) Remove unnecessary check when reading keywords (#10866) (4aefe0e)
(es/parser) Reduce comparisons (#10862) (3bd9aad)
(es/parser) Remove useless alloc (#10865) (3ebf088)
(es/parser) Reduce token query (#10869) (d93ef64)
(es/parser) Remove duplicate check (#10872) (fe76460)
(es/parser) Remove duplicate check (#10874) (064123b)
(swc_error_reporters) Avoid creating miette handler when no diagnostics (#10852) (93b318f)
Refactor
(es/lexer) Avoid passing
convert(#10868) (77393f8)(es/minifier) Cleanup (#10882) (2595cb1)
(es/parser) Remove duplicate check for reservedness (#10850) (4897bfd)
(es/parser) Remove span swap operation in parser (#10854) (32f4bb8)
v1.12.14Compare Source
Bug Fixes
(es/minifier) Don't inline arrow when it contain
this(#10825) (8b43bb3)(es/parser) Make
exportin NS to not affect file type (#10799) (ae22033)(es/parser) Correctly check ambient context (#10802) (f97ea03)
Features
(es/parser) Enable support for dynamic import with
deferphase (#10845) (097d29d)(plugin) Remove
bytecheckto make Wasm plugins backward compatible (#10842) (30ad808)Miscellaneous Tasks
(bindings) Fix dependency issues (7c57fbb)
(deps) Update
class-validatorto avoid comments (#10819) (bacfa4b)(ide) Enable
--workspacefor rust-analyzer check (#10809) (92647ff)Performance
(es/minifier) Use
u8forremaining_depth(#10833) (ed6956a)(hstr) Inline one more byte (#10817) (3886c97)
(hstr) Remove static tag (#10832) (66ae1e8)
Refactor
(es/helpers) Make inline helpers optional at compile time (#10808) (53f3881)
(es/lexer) Don't store buffer in lexer (#10830) (cac40f1)
(es/lints) Remove warnings without features (#10794) (41d507f)
(es/parser) Reduce token query (#10834) (5cd5185)
(es/parser) Reduce call to
parse_decorators(#10846) (356d3a0)(es/parser) Remove duplicate check (#10847) (2b04efd)
(es/preset-env) Use strpool,phf for corejs2 data (#10803) (1652fd8)
(es/react) Remove redundant
replacecalls (#10795) (a670b37)(es/react) Remove
count_children(#10818) (2116ab2)(hstr) Cleanup duplicate header (#10812) (630dde9)
(hstr) Make the deallocation of
Atoms explicit (#10813) (406433d)(hstr) Remove
is_global(#10820) (afda0f9)Testing
v1.12.11Compare Source
Bug Fixes
(ci) Fix CI (#10790) (b3f9760)
(es) Use
default-features = falseforswccrate usages (#10776) (50b2eac)(es) Make
swc_typescriptoptional (#10792) (c32569d)(preset-env) Fix
defaultvalue forcaniuse(#10754) (aa4cd5b)(preset-env) Revert
defaultvalue (#10778) (7af5824)Features
(es/minifeir) Inline lazily initialized literals (#10752) (fd5d2e2)
(es/minifier) Evaluate
Number.XXXconstants (#10756) (c47dab5)(es/minifier) Implement partial evaluation of array join (#10758) (bdf3a98)
(swc_core) Expose
swc_ecma_parser/unstable(#10744) (db0679e)Miscellaneous Tasks
(common) Remove
clone()in proc macro (#10762) (12e3180)(deps) Update
browserslist-rsto0.19(#10750) (f8bf21c)(deps) Remove unused deps with cargo-shear (#10765) (f4e4974)
(es/module) Drop
nodefeature ofswc_ecma_loader(#10761) (44471b5)(plugin/runner) Remove unused feature and dependency (#10764) (a7d8a0a)
Performance
(es/lexer) Use
bitflagsforSyntax(#10676) (bf8c722)(es/lexer) Do not scan number if there's no underscore (#10788) (f5d92ee)
(es/lints) Make rules not parallel (#10772) (4e6001c)
(es/lints) Merge critical rules (#10773) (816e75a)
(es/parser) Reduce the number of context set ops (#10742) (08b4e8b)
(es/parser) Reduce value set operations for context (#10751) (4976b12)
(es/parser) Reduce query ops of current token (#10766) (4304f91)
(es/parser) Remove useless call in
parse_ident(#10770) (4ca12c9)(es/renamer) Reduce time complexity in case of conflict (#10749) (0279914)
(hstr) Do not compare string during creating atoms (#10791) (43a4f11)
Replace
rayonwithpar-iter(#10774) (a6e6ebe)Refactor
(es) Make
swc_ecma_lintoptional forswccrate (#10767) (f80415b)(es/lexer) Use const fn in
SyntaxFlags(#10737) (b9eb23a)(es/parser) Cleanup
parse_setter_param(#10745) (70734f4)(es/parser) Cleanup
typed-arena(#10769) (ce5138d)(es/parser) Cleanup for ctx (#10777) (d60a611)
(es/parser) Delete
with_ctx(#10779) (ce057c5)(es/parser) Cleanup (#10781) (176ce36)
(es/preset) Remove deprecated
preset_envfunction andfeaturemodule (#10759) (fa0e0ab)(es/preset-env) Use phf for corejs3 entry (#10712) (658b26d)
Testing
(es/minifier) Update the terser test list (#10748) (1eace01)
(es/minifier) Update the passing test list (#10782) (8aa888b)
(es/parser) Add a test for duplicate labels (#10784) (28fc643)
Pref
v1.12.9Compare Source
Bug Fixes
(es/lexer) Parse uppercase hex numbers correctly (#10728) (ead6256)
(es/lexer) Allow keywords as jsx attribute names (#10730) (04ef20a)
(es/minifier) Fix top level option (#10227) (485fced)
(es/minifier) Do not drop self-referential class expressions (#10710) (39e6c2e)
(es/minifier) Mark
consandaltofCondExprasref(#10740) (9649cc8)(es/minifier) Fix termination detection (#10741) (87bc698)
(es/parser) Allow non-prop operand in delete (#10733) (38132e0)
Features
(es/minifier) Hoist more properties (#10707) (0f2c8d5)
(es/transforms) Expose
tsEnumIsMutableto JS (#10716) (6b3ae00)Performance
(es/minifier) Make
CharFreq::scanin mangler table-based (#10679) (04d39aa)(ts/fast-strip) Use
swc_ecma_parser::Lexer(#10677) (ffe0292)Optimize
Input::reset_to(#10719) (8084066)Refactor
(es/lexer) Useless reset (#10714) (c9eee0b)
(es/lexer) Cleanup
read_int(#10727) (c5fb4b1)(es/parser) Remove
read_number_no_dot(#10703) (fa8607f)(es/parser) Remove needless branching (#10717) (b0c23b2)
Testing
(es/preset-env) Add entry import bench (#10722) (9868b4d)
Make codspeed concurrent on main branch (#10711) (4392ce3)
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v8.37.0Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.36.0Compare Source
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
evanw/esbuild (esbuild)
v0.25.8Compare Source
Fix another TypeScript parsing edge case (#4248)
This fixes a regression with a change in the previous release that tries to more accurately parse TypeScript arrow functions inside the
?:operator. The regression specifically involves parsing an arrow function containing a#privateidentifier inside the middle of a?:ternary operator inside a class body. This was fixed by propagating private identifier state into the parser clone used to speculatively parse the arrow function body. Here is an example of some affected code:Fix a regression with the parsing of source phase imports
The change in the previous release to parse source phase imports failed to properly handle the following cases:
Parsing for these cases should now be fixed. The first case was incorrectly treated as a syntax error because esbuild was expecting the second case. And the last case was previously allowed but is now forbidden. TypeScript hasn't added this feature yet so it remains to be seen whether the last case will be allowed, but it's safer to disallow it for now. At least Babel doesn't allow the last case when parsing TypeScript, and Babel was involved with the source phase import specification.
v0.25.7Compare Source
Parse and print JavaScript imports with an explicit phase (#4238)
This release adds basic syntax support for the
deferandsourceimport phases in JavaScript:deferThis is a stage 3 proposal for an upcoming JavaScript feature that will provide one way to eagerly load but lazily initialize imported modules. The imported module is automatically initialized on first use. Support for this syntax will also be part of the upcoming release of TypeScript 5.9. The syntax looks like this:
Note that this feature deliberately cannot be used with the syntax
import defer foo from "<specifier>"orimport defer { foo } from "<specifier>".sourceThis is a stage 3 proposal for an upcoming JavaScript feature that will provide another way to eagerly load but lazily initialize imported modules. The imported module is returned in an uninitialized state. Support for this syntax may or may not be a part of TypeScript 5.9 (see this issue for details). The syntax looks like this:
Note that this feature deliberately cannot be used with the syntax
import defer * as foo from "<specifier>"orimport defer { foo } from "<specifier>".This change only adds support for this syntax. These imports cannot currently be bundled by esbuild. To use these new features with esbuild's bundler, the imported paths must be external to the bundle and the output format must be set to
esm.Support optionally emitting absolute paths instead of relative paths (#338, #2082, #3023)
This release introduces the
--abs-paths=feature which takes a comma-separated list of situations where esbuild should use absolute paths instead of relative paths. There are currently three supported situations:code(comments and string literals),log(log message text and location info), andmetafile(the JSON build metadata).Using absolute paths instead of relative paths is not the default behavior because it means that the build results are no longer machine-independent (which means builds are no longer reproducible). Absolute paths can be useful when used with certain terminal emulators that allow you to click on absolute paths in the terminal text and/or when esbuild is being automatically invoked from several different directories within the same script.
Fix a TypeScript parsing edge case (#4241)
This release fixes an edge case with parsing an arrow function in TypeScript with a return type that's in the middle of a
?:ternary operator. For example:The
:token in the value assigned toxpairs with the?token, so it's not the start of a return type annotation. However, the first:token in the value assigned toyis the start of a return type annotation because after parsing the arrow function body, it turns out there's another:token that can be used to pair with the?token. This case is notable as it's the first TypeScript edge case that esbuild has needed a backtracking parser to parse. It has been addressed by a quick hack (cloning the whole parser) as it's a rare edge case and esbuild doesn't otherwise need a backtracking parser. Hopefully this is sufficient and doesn't cause any issues.Inline small constant strings when minifying
Previously esbuild's minifier didn't inline string constants because strings can be arbitrarily long, and this isn't necessarily a size win if the string is used more than once. Starting with this release, esbuild will now inline string constants when the length of the string is three code units or less. For example:
Note that esbuild's constant inlining only happens in very restrictive scenarios to avoid issues with TDZ handling. This change doesn't change when esbuild's constant inlining happens. It only expands the scope of it to include certain string literals in addition to numeric and boolean literals.
v0.25.6Compare Source
Fix a memory leak when
cancel()is used on a build context (#4231)Calling
rebuild()followed bycancel()in rapid succession could previously leak memory. The bundler uses a producer/consumer model internally, and the resource leak was caused by the consumer being termianted while there were still remaining unreceived results from a producer. To avoid the leak, the consumer now waits for all producers to finish before terminating.Support empty
:is()and:where()syntax in CSS (#4232)Previously using these selectors with esbuild would generate a warning. That warning has been removed in this release for these cases.
Improve tree-shaking of
trystatements in dead code (#4224)With this release, esbuild will now remove certain
trystatements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:Consider negated bigints to have no side effects
While esbuild currently considers
1,-1, and1nto all have no side effects, it didn't previously consider-1nto have no side effects. This is because esbuild does constant folding with numbers but not bigints. However, it meant that unused negative bigint constants were not tree-shaken. With this release, esbuild will now consider these expressions to also be side-effect free:Support a configurable delay in watch mode before rebuilding (#3476, #4178)
The
watch()API now takes adelayoption that lets you add a delay (in milliseconds) before rebuilding when a change is detected in watch mode. If you use a tool that regenerates multiple source files very slowly, this should make it more likely that esbuild's watch mode won't generate a broken intermediate build before the successful final build. This option is also available via the CLI using the--watch-delay=flag.This should also help avoid confusion about the
watch()API's options argument. It was previously empty to allow for future API expansion, which caused some people to think that the documentation was missing. It's no longer empty now that thewatch()API has an option.Allow mixed array for
entryPointsAPI option (#4223)The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the
entryPointsAPI option, such as['foo.js', { out: 'lib', in: 'bar.js' }]. This was always possible to do in JavaScript but the TypeScript type definitions were previously too restrictive.Update Go from 1.23.8 to 1.23.10 (#4204, #4207)
This should have no effect on existing code as this version change does not change Go's operating system support. It may remove certain false positive reports (specifically CVE-2025-4673 and CVE-2025-22874) from vulnerability scanners that only detect which version of the Go compiler esbuild uses.
Experimental support for esbuild on OpenHarmony (#4212)
With this release, esbuild now publishes the
@esbuild/openharmony-arm64npm package for OpenHarmony. It contains a WebAssembly binary instead of a native binary because Go doesn't currently support OpenHarmony. Node does support it, however, so in theory esbuild should now work on OpenHarmony through WebAssembly.This change was contributed by @hqzing.
eslint/eslint (eslint)
v9.31.0Compare Source
v9.30.1Compare Source
prettier/eslint-config-prettier (eslint-config-prettier)
v10.1.8Compare Source
eslint-config-prettier
10.1.5
Patch Changes
60fef02Thanks @JounQin! - chore: addfundingfield intopackage.json10.1.4
Patch Changes
94b4799Thanks @silvenon! - fix(cli): do not crash on no rules configured10.1.3
Patch Changes
4e95a1dThanks @pilikan! - fix: this package iscommonjs, align its types correctly10.1.2
Patch Changes
a8768bfThanks @Fdawgs! - chore(package): add homepage for some 3rd-party registry - see #321 for more details10.1.1
Patch Changes
#309
eb56a5eThanks @JounQin! - fix: separate the/flatentry for compatibilityFor flat config users, the previous
"eslint-config-prettier"entry still works, but"eslint-config-prettier/flat"adds a newnameproperty for config-inspector, we just can't add it for the default entry for compatibility.See also #308
10.1.0
Minor Changes
56e2e34Thanks @JounQin! - feat: migrate to exports field10.0.3
Patch Changes
#294
8dbbd6dThanks @FloEdelmann! - feat: add name to config#280
cba5737Thanks @zanminkian! - feat: add declaration file10.0.2
Patch Changes
e750edcThanks @Fdawgs! - chore(package): explicitly declare js module type10.0.0
Major Changes
5be64beThanks @abrahamguo! - add support for @stylistic formatting rulesVersions before 10.0.0
Version 9.1.0 (2023-12-02)
ESLINT_CONFIG_PRETTIER_NO_DEPRECATEDenvironment variable.Version 9.0.0 (2023-08-05)
"unicode-bom": "off"to your config to disable it again, or run ESLint with--fixto fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@nstepien)!Version 8.10.0 (2023-08-03)
Version 8.9.0 (2023-07-27)
Version 8.8.0 (2023-03-20)
Version 8.7.0 (2023-03-06)
Version 8.6.0 (2023-01-02)
Version 8.5.0 (2022-03-02)
Version 8.4.0 (2022-02-19)
Version 8.3.0 (2021-04-24)
Version 8.2.0 (2021-04-13)
Version 8.1.0 (2021-02-24)
Version 8.0.0 (2021-02-21)
Changed: All configs have been merged into one!
To upgrade, change:
{ "extends": [ "some-other-config-you-use", "prettier", "prettier/@​typescript-eslint", "prettier/babel", "prettier/flowtype", "prettier/react", "prettier/standard", "prettier/unicorn", "prettier/vue" ] }Into:
{ "extends": [ "some-other-config-you-use", "prettier" ] }The
"prettier"config now includes not just ESLint core rules, but also rules from all plugins. Much simpler!So … what’s the catch? Why haven’t we done this earlier? Turns out it’s just a sad mistake. I (@lydell) was confused when testing, and thought that turning off unknown rules in a config was an error. Thanks to Georgii Dolzhykov (@thorn0) for pointing this out!
If you use [eslint-plugin-prettier], all you need is [plugin:prettier/recommended]:
{ "extends": [ "some-other-config-you-use", "plugin:prettier/recommended" ] }(The ["prettier/prettier" config][prettier-prettier-config] still exists separately. It’s the odd one out. The main
"prettier"config does not include the rules from it.)Changed: The CLI helper tool now only prints warnings for [arrow-body-style] and [prefer-arrow-callback], just like other “special rules.” This means that if you’ve decided to use those rules and [eslint-plugin-prettier] at the same time, you’ll get warnings but exit code zero (success).
Version 7.2.0 (2021-01-18)
Version 7.1.0 (2020-12-19)
Version 7.0.0 (2020-12-05)
Changed: At least ESLint 7.0.0 is now required.
Changed: [arrow-body-style] and [prefer-arrow-callback] are no longer turned off by default. They only need to be turned off if you use [eslint-plugin-prettier]. If you do, add
"prettier/prettier"to your"extends"array to turn them off again.{ "extends": ["prettier", "prettier/prettier"], "plugins": ["prettier"], "rules": { "prettier/prettier": "error" } }Alternatively, update [eslint-plugin-prettier] to version 3.2.0 or later which automatically turns off these two rules in its
"plugin:prettier/recommended"config.The CLI helper tool only warns about these rules if you have the
"prettier/prettier"rule enabled for a file.Changed:
no-tabsis now a validatable rule. If you use it, you should enableallowIndentationTabsso that the rule works regardless of your Prettier config:{ "rules": { "no-tabs": ["error", { "allowIndentationTabs": true }] } }Changed: The CLI helper tool is now called just
eslint-config-prettierinstead ofeslint-config-prettier-check. This is so thatnpx eslint-config-prettieralways works regardless of whether you have already installedeslint-config-prettieror not: If you have, the local installation is used; if you haven’t,npxdownloads a temporary copy.Changed: The CLI helper tool no longer requires you to pipe the output of
eslint --print-configto it. Instead, it does that automatically for you via ESLint API:s added in ESLint v7.Before:
After:
Improved: The npm package is now 75% smaller.
Version 6.15.0 (2020-10-27)
Version 6.14.0 (2020-10-21)
Version 6.13.0 (2020-10-16)
Version 6.12.0 (2020-09-25)
Version 6.11.0 (2020-04-21)
Version 6.10.1 (2020-03-22)
npxwhen running the CLI helper tool.Version 6.10.0 (2020-01-28)
Version 6.9.0 (2019-12-27)
Version 6.8.0 (2019-12-25)
Version 6.7.0 (2019-11-19)
Version 6.6.0 (2019-11-17)
Version 6.5.0 (2019-10-26)
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) in timezone Pacific/Auckland, 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.