fix(deps): update all non-major dependencies #16
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:
^0.18.1
->^0.18.4
^8.42.0
->^8.43.0
^0.32.0
->^0.32.2
Release Notes
evanw/esbuild
v0.18.4
Compare Source
Bundling no longer unnecessarily transforms class syntax (#1360, #1328, #1524, #2416)
When bundling, esbuild automatically converts top-level class statements to class expressions. Previously this conversion had the unfortunate side-effect of also transforming certain other class-related syntax features to avoid correctness issues when the references to the class name within the class body. This conversion has been reworked to avoid doing this:
This conversion process is very complicated and has many edge cases (including interactions with static fields, static blocks, private class properties, and TypeScript experimental decorators). It should already be pretty robust but a change like this may introduce new unintentional behavior. Please report any issues with this upgrade on the esbuild bug tracker.
You may be wondering why esbuild needs to do this at all. One reason to do this is that esbuild's bundler sometimes needs to lazily-evaluate a module. For example, a module may end up being both the target of a dynamic
import()
call and a staticimport
statement. Lazy module evaluation is done by wrapping the top-level module code in a closure. To avoid a performance hit for staticimport
statements, esbuild stores top-level exported symbols outside of the closure and references them directly instead of indirectly.Another reason to do this is that multiple JavaScript VMs have had and continue to have performance issues with TDZ (i.e. "temporal dead zone") checks. These checks validate that a let, or const, or class symbol isn't used before it's initialized. Here are two issues with well-known VMs:
JavaScriptCore had a severe performance issue as their TDZ implementation had time complexity that was quadratic in the number of variables needing TDZ checks in the same scope (with the top-level scope typically being the worst offender). V8 has ongoing issues with TDZ checks being present throughout the code their JIT generates even when they have already been checked earlier in the same function or when the function in question has already been run (so the checks have already happened).
Due to esbuild's parallel architecture, esbuild both a) needs to convert class statements into class expressions during parsing and b) doesn't yet know whether this module will need to be lazily-evaluated or not in the parser. So esbuild always does this conversion during bundling in case it's needed for correctness (and also to avoid potentially catastrophic performance issues due to bundling creating a large scope with many TDZ variables).
Enforce TDZ errors in computed class property keys (#2045)
JavaScript allows class property keys to be generated at run-time using code, like this:
Previously esbuild treated references to the containing class name within computed property keys as a reference to the partially-initialized class object. That meant code that attempted to reference properties of the class object (such as the code above) would get back
undefined
instead of throwing an error.This release rewrites references to the containing class name within computed property keys into code that always throws an error at run-time, which is how this JavaScript code is supposed to work. Code that does this will now also generate a warning. You should never write code like this, but it now should be more obvious when incorrect code like this is written.
Fix an issue with experimental decorators and static fields (#2629)
This release also fixes a bug regarding TypeScript experimental decorators and static class fields which reference the enclosing class name in their initializer. This affected top-level classes when bundling was enabled. Previously code that does this could crash because the class name wasn't initialized yet. This case should now be handled correctly:
Fix a minification regression with negative numeric properties (#3169)
Version 0.18.0 introduced a regression where computed properties with negative numbers were incorrectly shortened into a non-computed property when minification was enabled. This regression has been fixed:
v0.18.3
Compare Source
Fix a panic due to empty static class blocks (#3161)
This release fixes a bug where an internal invariant that was introduced in the previous release was sometimes violated, which then caused a panic. It happened when bundling code containing an empty static class block with both minification and bundling enabled.
v0.18.2
Compare Source
Lower static blocks when static fields are lowered (#2800, #2950, #3025)
This release fixes a bug where esbuild incorrectly did not lower static class blocks when static class fields needed to be lowered. For example, the following code should print
1 2 3
but previously printed2 1 3
instead due to this bug:Use static blocks to implement
--keep-names
on classes (#2389)This change fixes a bug where the
name
property could previously be incorrect within a class static context when using--keep-names
. The problem was that thename
property was being initialized after static blocks were run instead of before. This has been fixed by moving thename
property initializer into a static block at the top of the class body:This change was somewhat involved, especially regarding what esbuild considers to be side-effect free. Some unused classes that weren't removed by tree shaking in previous versions of esbuild may now be tree-shaken. One example is classes with static private fields that are transformed by esbuild into code that doesn't use JavaScript's private field syntax. Previously esbuild's tree shaking analysis ran on the class after syntax lowering, but with this release it will run on the class before syntax lowering, meaning it should no longer be confused by class mutations resulting from automatically-generated syntax lowering code.
eslint/eslint
v8.43.0
Compare Source
Features
14581ff
feat: directive prologue detection and autofix condition inquotes
(#17284) (Francesco Trotta)e50fac3
feat: add declaration loc to message in block-scoped-var (#17252) (Milos Djermanovic)1b7faf0
feat: addskipJSXText
option tono-irregular-whitespace
rule (#17182) (Azat S)Bug Fixes
5338b56
fix: normalizecwd
passed toESLint
/FlatESLint
constructor (#17277) (Milos Djermanovic)54383e6
fix: Removeno-extra-parens
autofix for potential directives (#17022) (Francesco Trotta)Documentation
8b855ea
docs: resubmit pr17061 doc changes (#17292) (唯然)372722e
docs: resubmit pr17012 doc changes (#17293) (唯然)67e7af3
docs: resubmit custom-rules doc changes (#17294) (唯然)9e3d77c
docs: Resubmit Fix formatting in Custom Rules docs (#17281) (Milos Djermanovic)503647a
docs: Resubmit markVariableAsUsed docs (#17280) (Nicholas C. Zakas)e0cf0d8
docs: Custom rule & plugin tutorial (#17024) (Ben Perlmutter)8e51ea9
docs: resubmitno-new
rule documentation (#17264) (Nitin Kumar)1b217f8
docs: resubmitCustom Processors
documentation (#17265) (Nitin Kumar)428fc76
docs: resubmitCreate Plugins
documentation (#17268) (Nitin Kumar)bdca88c
docs: resubmitConfiguration Files
documentation (#17267) (Nitin Kumar)f5c01f2
docs: resubmitManage Issues
documentation (#17266) (Nitin Kumar)b199295
docs: Resubmit custom rules update docs (#17273) (Ben Perlmutter)0e9980c
docs: add newomitLastInOneLineClassBody
option to thesemi
rule (#17263) (Nitin Kumar)cb2560f
docs: Resubmit getScope/getDeclaredVariables docs (#17262) (Nicholas C. Zakas)85d2b30
docs: explain how to include predefined globals (#17261) (Marcus Wyatt)de4d3c1
docs: update flat config default ignore patterns (#17258) (Milos Djermanovic)3912f3a
docs: Improveignores
documentation (#17239) (Francesco Trotta)35e11d3
docs: fix typos and missing info (#17257) (Ed Lucas)0bc257c
docs: Clarifyno-div-regex
rule docs (#17051) (#17255) (Francesco Trotta)788d836
docs: add references to MIT License (#17248) (Milos Djermanovic)58aab6b
docs: Update README (GitHub Actions Bot)3ef5814
docs: Revert all changes after the license change (#17227) (Milos Djermanovic)03fc4aa
docs: Update README (GitHub Actions Bot)Chores
78350f6
chore: upgrade @eslint/js@8.43.0 (#17295) (Milos Djermanovic)62bf759
chore: package.json update for @eslint/js release (ESLint Jenkins)e0a2448
chore: docs package.license ISC => MIT (#17254) (唯然)6a0196c
chore: use eslint-plugin-eslint-plugin flat configs (#17204) (Milos Djermanovic)vitest-dev/vitest
v0.32.2
Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.32.1
Compare Source
🚀 Features
registerConsoleShortcuts
fromvitest/node
- by @deot in https://github.com/vitest-dev/vitest/issues/3563 (bc49b)expect.unreachable
- by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3556 (8e385)describe
/test
name support anonymous function - by @btea in https://github.com/vitest-dev/vitest/issues/3562 (3d436)🐞 Bug Fixes
performance
fromperf_hooks
- by @Max10240 and wangbaolong.wbl in https://github.com/vitest-dev/vitest/issues/3578 and https://github.com/vitest-dev/vitest/issues/3579 (24ec8)vitest
- by @userquin in https://github.com/vitest-dev/vitest/issues/3580 (b4ac8)View changes on GitHub
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.