Skip to content

chore(deps)(deps-dev): bump esbuild from 0.25.12 to 0.28.1 in /product-sdk#209

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/product-sdk/esbuild-0.28.1
Open

chore(deps)(deps-dev): bump esbuild from 0.25.12 to 0.28.1 in /product-sdk#209
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/product-sdk/esbuild-0.28.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 12, 2026

Copy link
Copy Markdown
Contributor

Bumps esbuild from 0.25.12 to 0.28.1.

Release notes

Sourced from esbuild's releases.

v0.28.1

  • Disallow \ in local development server HTTP requests (GHSA-g7r4-m6w7-qqqr)

    This release fixes a security issue where HTTP requests to esbuild's local development server could traverse outside of the serve directory on Windows using a \ backslash character. It happened due to the use of Go's path.Clean() function, which only handles Unix-style / characters. HTTP requests with paths containing \ are no longer allowed.

    Thanks to @​dellalibera for reporting this issue.

  • Add integrity checks to the Deno API (GHSA-gv7w-rqvm-qjhr)

    The previous release of esbuild added integrity checks to esbuild's npm install script. This release also adds integrity checks to esbuild's Deno install script. Now esbuild's Deno API will also fail with an error if the downloaded esbuild binary contains something other than the expected content.

    Note that esbuild's Deno API installs from registry.npmjs.org by default, but allows the NPM_CONFIG_REGISTRY environment variable to override this with a custom package registry. This change means that the esbuild executable served by NPM_CONFIG_REGISTRY must now match the expected content.

    Thanks to @​sondt99 for reporting this issue.

  • Avoid inlining using and await using declarations (#4482)

    Previously esbuild's minifier sometimes incorrectly inlined using and await using declarations into subsequent uses of that declaration, which then fails to dispose of the resource correctly. This bug happened because inlining was done for let and const declarations by avoiding doing it for var declarations, which no longer worked when more declaration types were added. Here's an example:

    // Original code
    {
      using x = new Resource()
      x.activate()
    }
    // Old output (with --minify)
    new Resource().activate();
    // New output (with --minify)
    {using e=new Resource;e.activate()}

  • Fix module evaluation when an error is thrown (#4461, #4467)

    If an error is thrown during module evaluation, esbuild previously didn't preserve the state of the module for subsequent module references. This was observable if import() or require() is used to import a module multiple times. The thrown error is supposed to be thrown by every call to import() or require(), not just the first. With this release, esbuild will now throw the same error every time you call import() or require() on a module that throws during its evaluation.

  • Fix some edge cases around the new operator (#4477)

    Previously esbuild incorrectly printed certain edge cases involving complex expressions inside the target of a new expression (specifically an optional chain and/or a tagged template literal). The generated code for the new target was not correctly wrapped with parentheses, and either contained a syntax error or had different semantics. These edge cases have been fixed so that they now correctly wrap the new target in parentheses. Here is an example of some affected code:

    // Original code
    new (foo()`bar`)()
    new (foo()?.bar)()
    // Old output
    new foo()bar();
    new (foo())?.bar();

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2025

This changelog documents all esbuild versions published in the year 2025 (versions 0.25.0 through 0.27.2).

0.27.2

  • Allow import path specifiers starting with #/ (#4361)

    Previously the specification for package.json disallowed import path specifiers starting with #/, but this restriction has recently been relaxed and support for it is being added across the JavaScript ecosystem. One use case is using it for a wildcard pattern such as mapping #/* to ./src/* (previously you had to use another character such as #_* instead, which was more confusing). There is some more context in nodejs/node#49182.

    This change was contributed by @​hybrist.

  • Automatically add the -webkit-mask prefix (#4357, #4358)

    This release automatically adds the -webkit- vendor prefix for the mask CSS shorthand property:

    /* Original code */
    main {
      mask: url(x.png) center/5rem no-repeat
    }
    /* Old output (with --target=chrome110) */
    main {
    mask: url(x.png) center/5rem no-repeat;
    }
    /* New output (with --target=chrome110) */
    main {
    -webkit-mask: url(x.png) center/5rem no-repeat;
    mask: url(x.png) center/5rem no-repeat;
    }

    This change was contributed by @​BPJEnnova.

  • Additional minification of switch statements (#4176, #4359)

    This release contains additional minification patterns for reducing switch statements. Here is an example:

    // Original code
    switch (x) {
      case 0:
        foo()
        break
      case 1:
      default:
        bar()
    }

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for esbuild since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 12, 2026
@socket-security

socket-security Bot commented Jun 12, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedesbuild@​0.28.1911007391100

View full report

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

📦 Bundle size impact

Comparing 2026-06-17T10:12:16.451Z2026-06-17T10:12:13.688Z

Package Entry Bundled before Bundled after Δ Ship gzip Δ Shake ratio
🟢 @parity/product-sdk . 6.26 MB 6.26 MB -159 B (-0.0%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./chain 6.01 MB 6.01 MB -95 B (-0.0%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./cloud-storage 6.18 MB 6.18 MB -192 B (-0.0%) 0 B 3% (was 3%)
🟢 @parity/product-sdk ./contracts 74.8 KB 74.8 KB +53 B (+0.1%) 0 B 24% (was 24%)
🟢 @parity/product-sdk ./core 6.26 MB 6.26 MB -159 B (-0.0%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./crypto 72.5 KB 72.5 KB +33 B (+0.0%) 0 B 46% (was 46%)
🟢 @parity/product-sdk ./host 95.6 KB 95.5 KB -95 B (-0.1%) 0 B 31% (was 31%)
🟢 @parity/product-sdk ./identity 64.5 KB 64.5 KB +33 B (+0.0%) 0 B 54% (was 54%)
🟢 @parity/product-sdk ./local-storage 91.0 KB 90.9 KB -95 B (-0.1%) 0 B 100% (was 100%)
🟢 @parity/product-sdk ./react 6.27 MB 6.27 MB -159 B (-0.0%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./wallet 208.4 KB 208.3 KB -95 B (-0.0%) 0 B 1% (was 1%)
🟢 @parity/product-sdk-chain-client . 6.01 MB 6.01 MB -95 B (-0.0%) 0 B 0% (was 0%)
🟢 @parity/product-sdk-cloud-storage . 6.18 MB 6.18 MB -192 B (-0.0%) 0 B 3% (was 3%)
🟢 @parity/product-sdk-contracts . 74.8 KB 74.8 KB +53 B (+0.1%) 0 B 24% (was 24%)
🟢 @parity/product-sdk-crypto . 72.5 KB 72.5 KB +33 B (+0.0%) 0 B 46% (was 46%)
🟢 @parity/product-sdk-descriptors ./kusama-asset-hub 1018.2 KB 1018.2 KB +53 B (+0.0%) 0 B 17% (was 17%)
🟢 @parity/product-sdk-descriptors ./paseo-asset-hub 1021.6 KB 1021.7 KB +53 B (+0.0%) 0 B 17% (was 17%)
🟢 @parity/product-sdk-descriptors ./paseo-bulletin 301.8 KB 301.9 KB +53 B (+0.0%) 0 B 18% (was 18%)
🟢 @parity/product-sdk-descriptors ./paseo-individuality 652.4 KB 652.5 KB +53 B (+0.0%) 0 B 19% (was 19%)
🟢 @parity/product-sdk-descriptors ./polkadot-asset-hub 963.3 KB 963.3 KB +53 B (+0.0%) 0 B 17% (was 17%)
🟢 @parity/product-sdk-descriptors ./summit-asset-hub 1021.7 KB 1021.7 KB +53 B (+0.0%) 0 B 17% (was 17%)
🟢 @parity/product-sdk-descriptors ./summit-bulletin 301.9 KB 301.9 KB +53 B (+0.0%) 0 B 18% (was 18%)
🟢 @parity/product-sdk-descriptors ./summit-individuality 652.4 KB 652.5 KB +53 B (+0.0%) 0 B 19% (was 19%)
🟢 @parity/product-sdk-host . 95.6 KB 95.5 KB -95 B (-0.1%) 0 B 31% (was 31%)
🟢 @parity/product-sdk-keys . 161.7 KB 161.7 KB +33 B (+0.0%) 0 B 70% (was 70%)
🟢 @parity/product-sdk-local-storage . 91.0 KB 90.9 KB -95 B (-0.1%) 0 B 100% (was 100%)
🟢 @parity/product-sdk-signer . 208.4 KB 208.3 KB -95 B (-0.0%) 0 B 1% (was 1%)
🟢 @parity/product-sdk-statement-store . 104.8 KB 104.7 KB -95 B (-0.1%) 0 B 10% (was 10%)
🟢 @parity/product-sdk-terminal . 681.7 KB 681.7 KB -1 B (-0.0%) 0 B 31% (was 31%)

Thresholds — warn: ≥10% or ≥5.0 KB · fail: ≥20% or ≥15.0 KB (bundled). Percentage only applies once the baseline is ≥ 10 KB.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/product-sdk/esbuild-0.28.1 branch 2 times, most recently from 5eae20c to 4cbf3f0 Compare June 16, 2026 10:25
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.25.12 to 0.28.1.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2025.md)
- [Commits](evanw/esbuild@v0.25.12...v0.28.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.28.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/product-sdk/esbuild-0.28.1 branch from 4cbf3f0 to 6443a94 Compare June 17, 2026 10:08
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants