Skip to content

chore(deps): bump esbuild, @storybook/addon-essentials, @storybook/cli, @storybook/react, @storybook/react-vite, vite and storybook in /react#517

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/react/multi-ba06638785
Closed

chore(deps): bump esbuild, @storybook/addon-essentials, @storybook/cli, @storybook/react, @storybook/react-vite, vite and storybook in /react#517
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/react/multi-ba06638785

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 10, 2025

Bumps esbuild to 0.25.6 and updates ancestor dependencies esbuild, @storybook/addon-essentials, @storybook/cli, @storybook/react, @storybook/react-vite, vite and storybook. These dependencies need to be updated together.

Updates esbuild from 0.18.20 to 0.25.6

Release notes

Sourced from esbuild'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's changelog.

Changelog: 2023

This changelog documents all esbuild versions published in the year 2023 (versions 0.16.13 through 0.19.11).

0.19.11

  • Fix TypeScript-specific class transform edge case (#3559)

    The previous release introduced an optimization that avoided transforming super() in the class constructor for TypeScript code compiled with useDefineForClassFields set to false if all class instance fields have no initializers. The rationale was that in this case, all class instance fields are omitted in the output so no changes to the constructor are needed. However, if all of this is the case and there are #private instance fields with initializers, those private instance field initializers were still being moved into the constructor. This was problematic because they were being inserted before the call to super() (since super() is now no longer transformed in that case). This release introduces an additional optimization that avoids moving the private instance field initializers into the constructor in this edge case, which generates smaller code, matches the TypeScript compiler's output more closely, and avoids this bug:

    // Original code
    class Foo extends Bar {
      #private = 1;
      public: any;
      constructor() {
        super();
      }
    }
    // Old output (with esbuild v0.19.9)
    class Foo extends Bar {
    constructor() {
    super();
    this.#private = 1;
    }
    #private;
    }
    // Old output (with esbuild v0.19.10)
    class Foo extends Bar {
    constructor() {
    this.#private = 1;
    super();
    }
    #private;
    }
    // New output
    class Foo extends Bar {
    #private = 1;
    constructor() {
    super();
    }
    }

  • Minifier: allow reording a primitive past a side-effect (#3568)

    The minifier previously allowed reordering a side-effect past a primitive, but didn't handle the case of reordering a primitive past a side-effect. This additional case is now handled:

... (truncated)

Commits

Updates @storybook/addon-essentials from 7.6.20 to 8.6.14

Release notes

Sourced from @​storybook/addon-essentials's releases.

v8.6.14

8.6.14

v8.6.13

8.6.13

v8.6.12

8.6.12

v8.6.11

8.6.11

v8.6.10

8.6.10

v8.6.9

8.6.9

v8.6.8

8.6.8

... (truncated)

Changelog

Sourced from @​storybook/addon-essentials's changelog.

8.6.14

8.6.13

8.6.12

8.6.11

8.6.10

8.6.9

8.6.8

8.6.7

8.6.6

  • Angular: Make sure that polyfills are loaded before the storybook is loaded - #30811, thanks @​kasperpeulen!

... (truncated)

Commits
  • ab87178 Bump version from "8.6.13" to "8.6.14" [skip ci]
  • 8fa9049 Bump version from "8.6.12" to "8.6.13" [skip ci]
  • 1c35b29 Bump version from "8.6.11" to "8.6.12" [skip ci]
  • 2afd30d Bump version from "8.6.10" to "8.6.11" [skip ci]
  • 23d2037 Bump version from "8.6.9" to "8.6.10" [skip ci]
  • 207c2f4 Bump version from "8.6.8" to "8.6.9" [skip ci]
  • d4960ea Bump version from "8.6.7" to "8.6.8" [skip ci]
  • 019cd1f Bump version from "8.6.6" to "8.6.7" [skip ci]
  • 9a7a795 Bump version from "8.6.5" to "8.6.6" [skip ci]
  • 4e23d75 Bump version from "8.6.4" to "8.6.5" [skip ci]
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by storybook-bot, a new releaser for @​storybook/addon-essentials since your current version.


Updates @storybook/cli from 7.6.20 to 9.0.16

Release notes

Sourced from @​storybook/cli's releases.

v9.0.16

9.0.16

v9.0.15

9.0.15

  • CLI: Do not fail incompatible package check in doctor if only core packages used - #31886, thanks @​mrginglymus!
  • React: Bump @​joshwooding/vite-plugin-react-docgen-typescript to 0.6.1 - #31899, thanks @​mrginglymus!

v9.0.14

9.0.14

v9.0.13

9.0.13

v9.0.12

9.0.12

v9.0.11

... (truncated)

Commits
  • 8d4f43e delete
  • 10bb8e0 Merge branch 'next' into norbert/merge-core-cli
  • 7be3215 Bump version from "8.6.0-beta.3" to "8.6.0-beta.4" [skip ci]
  • 64dc78c Bump version from "8.6.0-beta.2" to "8.6.0-beta.3" [skip ci]
  • 00d9e6b Bump version from "8.6.0-beta.1" to "8.6.0-beta.2" [skip ci]
  • 9410cdd Bump version from "8.6.0-beta.0" to "8.6.0-beta.1" [skip ci]
  • 8bd3ed6 Bump version from "8.6.0-alpha.5" to "8.6.0-beta.0" [skip ci]
  • 7da4abd Merge pull request #30197 from storybookjs/kasper/csf-factories
  • a3e07f6 Merge remote-tracking branch 'origin/next' into kasper/csf-factories
  • 6271cb6 Fix presets getting a CJS module of core when core is running in ESM
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by storybook-bot, a new releaser for @​storybook/cli since your current version.


Updates @storybook/react from 7.6.20 to 9.0.16

Release notes

Sourced from @​storybook/react's releases.

v9.0.16

9.0.16

v9.0.15

9.0.15

  • CLI: Do not fail incompatible package check in doctor if only core packages used - #31886, thanks @​mrginglymus!
  • React: Bump @​joshwooding/vite-plugin-react-docgen-typescript to 0.6.1 - #31899, thanks @​mrginglymus!

v9.0.14

9.0.14

v9.0.13

9.0.13

v9.0.12

9.0.12

v9.0.11

... (truncated)

Changelog

Sourced from @​storybook/react's changelog.

9.0.16

9.0.15

  • CLI: Do not fail incompatible package check in doctor if only core packages used - #31886, thanks @​mrginglymus!
  • React: Bump @​joshwooding/vite-plugin-react-docgen-typescript to 0.6.1 - #31899, thanks @​mrginglymus!

9.0.14

9.0.13

9.0.12

9.0.11

... (truncated)

Commits
  • 998ec18 Bump version from "9.0.15" to "9.0.16" [skip ci]
  • d6367d8 Bump version from "9.0.14" to "9.0.15" [skip ci]
  • 677da03 Bump version from "9.0.13" to "9.0.14" [skip ci]
  • caef66a Bump version from "9.0.12" to "9.0.13" [skip ci]
  • 2dc8551 Bump version from "9.0.11" to "9.0.12" [skip ci]
  • a834932 Merge pull request #31715 from storybookjs/valentin/support-vitest-3-2
  • f7e49a4 Bump version from "9.0.10" to "9.0.11" [skip ci]
  • 3b5ba4c Bump version from "9.0.9" to "9.0.10" [skip ci]
  • c5946aa Bump version from "9.0.8" to "9.0.9" [skip ci]
  • 95bdbee Bump version from "9.0.7" to "9.0.8" [skip ci]
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by storybook-bot, a new releaser for @​storybook/react since your current version.


Updates @storybook/react-vite from 7.6.20 to 9.0.16

Release notes

Sourced from @​storybook/react-vite's releases.

v9.0.16

9.0.16

v9.0.15

9.0.15

  • CLI: Do not fail incompatible package check in doctor if only core packages used - #31886, thanks @​mrginglymus!
  • React: Bump @​joshwooding/vite-plugin-react-docgen-typescript to 0.6.1 - #31899, thanks @​mrginglymus!

v9.0.14

9.0.14

v9.0.13

9.0.13

v9.0.12

9.0.12

v9.0.11

... (truncated)

Changelog

Sourced from @​storybook/react-vite's changelog.

9.0.16

9.0.15

  • CLI: Do not fail incompatible package check in doctor if only core packages used - #31886, thanks @​mrginglymus!
  • React: Bump @​joshwooding/vite-plugin-react-docgen-typescript to 0.6.1 - #31899, thanks @​mrginglymus!

9.0.14

9.0.13

9.0.12

  • Addon Vitest: Support init in Vitest >= 3.2 - #31715, thanks @​valentinpalkovic!
  • CLI: Fix package manager instantiation in empty directories - #31743, thanks @​yannbf!
  • CLI: Improve support for upgrading Storybook in monorepos -

…i, @storybook/react, @storybook/react-vite, vite and storybook

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.6 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials), [@storybook/cli](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli), [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react), [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) and [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/core). These dependencies need to be updated together.


Updates `esbuild` from 0.18.20 to 0.25.6
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](evanw/esbuild@v0.18.20...v0.25.6)

Updates `@storybook/addon-essentials` from 7.6.20 to 8.6.14
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v8.6.14/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.14/code/addons/essentials)

Updates `@storybook/cli` from 7.6.20 to 9.0.16
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Commits](https://github.com/storybookjs/storybook/commits/v9.0.16/code/lib/cli)

Updates `@storybook/react` from 7.6.20 to 9.0.16
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v9.0.16/code/renderers/react)

Updates `@storybook/react-vite` from 7.6.20 to 9.0.16
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v9.0.16/code/frameworks/react-vite)

Updates `vite` from 4.5.14 to 7.0.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.0.4/packages/vite)

Updates `storybook` from 7.6.20 to 9.0.16
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v9.0.16/code/core)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.6
  dependency-type: indirect
- dependency-name: "@storybook/addon-essentials"
  dependency-version: 8.6.14
  dependency-type: direct:development
- dependency-name: "@storybook/cli"
  dependency-version: 9.0.16
  dependency-type: direct:development
- dependency-name: "@storybook/react"
  dependency-version: 9.0.16
  dependency-type: direct:development
- dependency-name: "@storybook/react-vite"
  dependency-version: 9.0.16
  dependency-type: direct:development
- dependency-name: vite
  dependency-version: 7.0.4
  dependency-type: direct:development
- dependency-name: storybook
  dependency-version: 9.0.16
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript labels Jul 10, 2025
@Klakurka Klakurka requested a review from Copilot July 11, 2025 17:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates multiple Storybook and build dependencies to their latest versions, including a major version upgrade from Storybook v7 to v8/v9. The main purpose is to keep the development tooling up to date with the latest features, bug fixes, and security improvements.

  • Major Storybook upgrade from v7.6.x to v8.6.14 (addon-essentials) and v9.0.16 (cli, react, react-vite)
  • Vite upgrade from v4.4.5 to v7.0.4
  • esbuild upgrade from v0.18.20 to v0.25.6 (transitive dependency)

"@storybook/cli": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.6.17",
"@storybook/cli": "^9.0.16",
Copy link

Copilot AI Jul 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Storybook packages have inconsistent major versions - @storybook/addon-essentials is at v8.6.14 while @storybook/cli, @storybook/react, and @storybook/react-vite are at v9.0.16. This version mismatch could cause compatibility issues. All Storybook packages should be aligned to the same major version.

Copilot uses AI. Check for mistakes.
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 11, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react/multi-ba06638785 branch August 11, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants