An open index of dependabot pull requests across open source projects.

Bump the npm group with 35 updates

Open
Number: #2406
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 0
Created: July 08, 2025 at 09:41 AM UTC
(2 months ago)
Updated: July 08, 2025 at 09:41 AM UTC
(2 months ago)
Labels:
dependencies javascript
Assignees:
poad
Description:

Bumps the npm group with 35 updates:

Package From To
typescript-eslint 8.35.1 8.36.0
vite 7.0.2 7.0.3
@esbuild/aix-ppc64 0.25.5 0.25.6
@esbuild/android-arm64 0.25.5 0.25.6
@esbuild/android-arm 0.25.5 0.25.6
@esbuild/android-x64 0.25.5 0.25.6
@esbuild/darwin-arm64 0.25.5 0.25.6
@esbuild/darwin-x64 0.25.5 0.25.6
@esbuild/freebsd-arm64 0.25.5 0.25.6
@esbuild/freebsd-x64 0.25.5 0.25.6
@esbuild/linux-arm64 0.25.5 0.25.6
@esbuild/linux-arm 0.25.5 0.25.6
@esbuild/linux-ia32 0.25.5 0.25.6
@esbuild/linux-loong64 0.25.5 0.25.6
@esbuild/linux-mips64el 0.25.5 0.25.6
@esbuild/linux-ppc64 0.25.5 0.25.6
@esbuild/linux-riscv64 0.25.5 0.25.6
@esbuild/linux-s390x 0.25.5 0.25.6
@esbuild/linux-x64 0.25.5 0.25.6
@esbuild/netbsd-arm64 0.25.5 0.25.6
@esbuild/netbsd-x64 0.25.5 0.25.6
@esbuild/openbsd-arm64 0.25.5 0.25.6
@esbuild/openbsd-x64 0.25.5 0.25.6
@esbuild/sunos-x64 0.25.5 0.25.6
@esbuild/win32-arm64 0.25.5 0.25.6
@esbuild/win32-ia32 0.25.5 0.25.6
@esbuild/win32-x64 0.25.5 0.25.6
@typescript-eslint/eslint-plugin 8.35.1 8.36.0
@typescript-eslint/parser 8.35.1 8.36.0
@typescript-eslint/type-utils 8.35.1 8.36.0
@typescript-eslint/utils 8.35.1 8.36.0
@typescript-eslint/visitor-keys 8.35.1 8.36.0
agent-base 7.1.3 7.1.4
electron-to-chromium 1.5.179 1.5.180
esbuild 0.25.5 0.25.6

Updates typescript-eslint from 8.35.1 to 8.36.0

Release notes

Sourced from typescript-eslint's releases.

v8.36.0

8.36.0 (2025-07-07)

🚀 Features

  • typescript-eslint: support basePath in tseslint.config() (#11357)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

Changelog

Sourced from typescript-eslint's changelog.

8.36.0 (2025-07-07)

🚀 Features

  • typescript-eslint: support basePath in tseslint.config() (#11357)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

Commits

Updates vite from 7.0.2 to 7.0.3

Release notes

Sourced from vite's releases.

v7.0.3

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

7.0.3 (2025-07-08)

Bug Fixes

  • client: protect against window being defined but addEv undefined (#20359) (31d1467)
  • define: replace optional values (#20338) (9465ae1)
  • deps: update all non-major dependencies (#20366) (43ac73d)

Miscellaneous Chores

Code Refactoring

  • minor changes to reduce diff between normal Vite and rolldown-vite (#20354) (2e8050e)
Commits
  • f562df8 release: v7.0.3
  • 38bb268 chore: use n/prefer-node-protocol rule (#20368)
  • 45040d4 chore(deps): update dependency dotenv to v17 (#20325)
  • 9465ae1 fix(define): replace optional values (#20338)
  • 43ac73d fix(deps): update all non-major dependencies (#20366)
  • 31d1467 fix(client): protect against window being defined but addEv undefined (#20359)
  • 5ab25e7 chore(deps): update dependency rolldown to ^1.0.0-beta.24 (#20365)
  • 2e8050e refactor: minor changes to reduce diff between normal Vite and rolldown-vite ...
  • See full diff in compare view

Updates @esbuild/aix-ppc64 from 0.25.5 to 0.25.6

Release notes

Sourced from @​esbuild/aix-ppc64's releases.

v0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Changelog

Sourced from @​esbuild/aix-ppc64's changelog.

0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Commits

Updates @esbuild/android-arm64 from 0.25.5 to 0.25.6

Release notes

Sourced from @​esbuild/android-arm64's releases.

v0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Changelog

Sourced from @​esbuild/android-arm64's changelog.

0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Commits

Updates @esbuild/android-arm from 0.25.5 to 0.25.6

Release notes

Sourced from @​esbuild/android-arm's releases.

v0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Changelog

Sourced from @​esbuild/android-arm's changelog.

0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Commits

Updates @esbuild/android-x64 from 0.25.5 to 0.25.6

Release notes

Sourced from @​esbuild/android-x64's releases.

v0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Changelog

Sourced from @​esbuild/android-x64's changelog.

0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Commits

Updates @esbuild/darwin-arm64 from 0.25.5 to 0.25.6

Release notes

Sourced from @​esbuild/darwin-arm64's releases.

v0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Changelog

Sourced from @​esbuild/darwin-arm64's changelog.

0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The watch() API now takes a delay option 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 the watch() API has an option.

  • Allow mixed array for entryPoints API option (#4223)

    The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the entryPoints API 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.

... (truncated)

Commits

Updates @esbuild/darwin-x64 from 0.25.5 to 0.25.6

Release notes

Sourced from @​esbuild/darwin-x64's releases.

v0.25.6

  • Fix a memory leak when cancel() is used on a build context (#4231)

    Calling rebuild() followed by cancel() 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 try statements in dead code (#4224)

    With this release, esbuild will now remove certain try statements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:

    // Original code
    return 'foo'
    try { return 'bar' } catch {}
    

    // Old output (with --minify) return"foo";try{return"bar"}catch{}

    // New output (with --minify) return"foo";

  • Consider negated bigints to have no side effects

    While esbuild currently considers 1, -1, and 1n to all have no side effects, it didn't previously consider -1n to 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:

    // Original code
    let a = 1, b = -1, c = 1n, d = -1n
    

    // Old output (with --bundle --minify) (()=>{var n=-1n;})();

    // New output (with --bundle --minify) (()=>{})();

  • Support a configurable delay in watch mode before rebuilding (#3476, #4178)

    The...

    Description has been truncated

Pull Request Statistics
Commits:
1
Files Changed:
2
Additions:
+213
Deletions:
-197
Package Dependencies
Package:
vite
Ecosystem:
npm
Version Change:
7.0.2 → 7.0.3
Update Type:
Patch
Ecosystem:
npm
Version Change:
8.35.1 → 8.36.0
Update Type:
Minor
Package:
esbuild
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
1.5.179 → 1.5.180
Update Type:
Patch
Ecosystem:
npm
Version Change:
8.35.1 → 8.36.0
Update Type:
Minor
Ecosystem:
npm
Version Change:
8.35.1 → 8.36.0
Update Type:
Minor
Ecosystem:
npm
Version Change:
8.35.1 → 8.36.0
Update Type:
Minor
Ecosystem:
npm
Version Change:
8.35.1 → 8.36.0
Update Type:
Minor
Ecosystem:
npm
Version Change:
8.35.1 → 8.36.0
Update Type:
Minor
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Ecosystem:
npm
Version Change:
0.25.5 → 0.25.6
Update Type:
Patch
Package:
agent-base
Ecosystem:
npm
Version Change:
7.1.3 → 7.1.4
Update Type:
Patch
Technical Details
ID: 2974843
UUID: 2649240001
Node ID: PR_kwDOE3aIh86d6DHB
Host: GitHub
Repository: poad/github-pull-requester
Merge State: Unknown