Skip to content

Bump esbuild and nhsuk-prototype-kit#11

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-eaefbaeacf
Open

Bump esbuild and nhsuk-prototype-kit#11
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-eaefbaeacf

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps esbuild to 0.28.1 and updates ancestor dependency nhsuk-prototype-kit. These dependencies need to be updated together.

Updates esbuild from 0.27.3 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.

0.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)

Commits

Updates nhsuk-prototype-kit from 8.1.0 to 8.3.0

Release notes

Sourced from nhsuk-prototype-kit's releases.

v8.3.0

This minor release updates NHS.UK frontend and contains some bug fixes and security updates.

🔧 Maintenance and fixes

  • Update to use NHS.UK frontend 10.5 and the new template-with-imports.njk template.
  • Fix link to guidance on password not set error page
  • Add contact support message to error page
  • Dependency updates including security fixes

v8.2.3

This is a bug fix release.

🔧 Fixes

  • Fix 404 handling for unknown file types

Full Changelog: nhsuk/nhsuk-prototype-kit-package@v8.2.2...v8.2.3

v8.2.2

This is a bug fix release.

🔧 Fixes

  • Make sure internal views use admin layout
  • Fix custom routes to Nunjucks views
  • Add import for NHS.UK frontend code component
  • Add import for NHS.UK frontend legend component
  • Import NHS.UK frontend components using namespace directory
  • Improve error page styling

Full Changelog: nhsuk/nhsuk-prototype-kit-package@v8.2.1...v8.2.2

v8.2.1

Dependency updates and security fixes.

Full Changelog: nhsuk/nhsuk-prototype-kit-package@v8.2.0...v8.2.1

v8.2.0

This release contains a new feature and some fixes and security updates.

🆕 Feature

  • A new formatPostcode filter has been added for formatting postcodes - #248

🔧 Fixes and updates

  • Avoid using 6000 port number - #286
  • Update minimum NHS.UK frontend version number to 10.4
  • Various dependency updates containing security fixes

... (truncated)

Changelog

Sourced from nhsuk-prototype-kit's changelog.

8.3.0 - 4 June 2026

🔧 Maintenance and fixes

  • Update to use NHS.UK frontend 10.5 and the new template-with-imports.njk template.
  • Fix link to guidance on password not set error page
  • Add contact support message to error page
  • Dependency updates including security fixes

8.2.3 - 8 May 2026

🔧 Fixes

  • Fix 404 handling for unknown file types

8.2.2 - 7 May 2026

🔧 Fixes

  • Make sure internal views use admin layout
  • Fix custom routes to Nunjucks views
  • Add import for NHS.UK frontend code component
  • Add import for NHS.UK frontend legend component
  • Import NHS.UK frontend components using namespace directory
  • Improve error page styling

8.2.1 - 5 May 2026

🔧 Fixes

  • Dependency updates including security fixes

8.2.0 - 14 April 2026

🆕 New features

  • Add a formatPostcode filter

🔧 Fixes

  • Avoid using 6000 port number
  • Update NHS.UK frontend minimum version to 10.4
  • Dependency updates with security fixes
Commits
  • a8ecf6d Release 8.3.0 (#345)
  • bbba472 Bump actions/checkout from 6 to 6.0.2 (#342)
  • 5b29422 Bump @​inquirer/prompts from 8.4.3 to 8.5.1 in the tools group (#343)
  • 71f6b62 Bump sass-embedded from 1.99.0 to 1.100.0 (#344)
  • d6d91e1 Use NHS frontend 10.5.0 and new template with imports (#340)
  • 27d161c Bump the lint group across 1 directory with 6 updates (#339)
  • 03cc52a Dependency updates (#341)
  • d75057c Fix error message rendering (#332)
  • 80068fb Bump brace-expansion from 5.0.5 to 5.0.6 (#335)
  • bfd75ab Bump @​inquirer/prompts from 8.4.2 to 8.4.3 in the tools group (#336)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.28.1 and updates ancestor dependency [nhsuk-prototype-kit](https://github.com/nhsuk/nhsuk-prototype-kit-package). These dependencies need to be updated together.


Updates `esbuild` from 0.27.3 to 0.28.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.27.3...v0.28.1)

Updates `nhsuk-prototype-kit` from 8.1.0 to 8.3.0
- [Release notes](https://github.com/nhsuk/nhsuk-prototype-kit-package/releases)
- [Changelog](https://github.com/nhsuk/nhsuk-prototype-kit-package/blob/main/CHANGELOG.md)
- [Commits](nhsuk/nhsuk-prototype-kit-package@v8.1.0...v8.3.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.28.1
  dependency-type: indirect
- dependency-name: nhsuk-prototype-kit
  dependency-version: 8.3.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 12, 2026
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