Skip to content

build(deps-dev): Bump esbuild from 0.28.0 to 0.28.1 - #1

Closed
dependabot[bot] wants to merge 9 commits into
mainfrom
dependabot/npm_and_yarn/esbuild-0.28.1
Closed

dependabot[bot] wants to merge 9 commits into
mainfrom
dependabot/npm_and_yarn/esbuild-0.28.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps esbuild from 0.28.0 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

Dependabot compatibility score

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.

leonacostaok and others added 9 commits June 9, 2026 10:54
…ling

Zero-dependency TypeScript monorepo (npm workspaces, Node >=20), built by
expert agents against a locked @qproof/core contract:

- @qproof/core    shared engine: JS/TS + config crypto detectors, vulnerable-
                  dependency DB, inventory + readiness score, SARIF/JSON/text reporters
- @qproof/qscan   CLI: scan any codebase, baselines, severity gating, SARIF
- @qproof/mcp     MCP server (stdio JSON-RPC from scratch) + hostable HTTP scaffold
- @qproof/action  GitHub Action: fail CI on newly-introduced quantum-vulnerable crypto
- @qproof/sieve   ML-KEM/ML-DSA conformance battery over a JSON protocol
                  (honest: ships no KAT vectors, never fabricates)

Tooling: TypeScript + tsx only; tests are node:test (182 passing). Apache-2.0.
docs/AUDIT.md captures the post-build audit + efficiency/parallelism/hosted-MCP roadmap.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Finalize the tech (no code changes — improvements catalogued for pickup):

- docs/audits/{security,cryptography,architecture,performance,testing-devex}.md
  — five independent expert audits (file:line findings, CWE/NIST-mapped).
- docs/COMPLIANCE.md — what the tools touch / align to: NIST FIPS 203/204/205,
  SP 800-208, CNSA 2.0, SARIF, CWE, ISO/IEC 27001 (A.8.24), Common Criteria,
  FIPS 140-3, EU DORA/NIS2, US M-23-02/NSM-10, SLSA/OpenSSF/SPDX.
- docs/ROADMAP.md — consolidated P0/P1/P2 plan + 'what's missing' gap matrix.
- docs/README.md — documentation index.
- Governance: SECURITY.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, CHANGELOG.md,
  .editorconfig, issue/PR templates.
- CI: GitHub Actions (build+test on Node 20/22 + informational self-scan).
- README badges + docs/audits/compliance section.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
core: shared baseline module, DetectorRegistry + Detector scope/language, wired
ScanOptions (include/files/minified), EC=key-exchange HNDL fix (P0-4), hardened
TLS regex + binary-search nearCall (P0-6), new detectors (DH/SSH/cert-sig/JOSE/
one-shot/secp256k1, P1-5), CNSA 2.0 C5 + SP 800-208 remediation (P1-6), perf
(precompiled regexes, skip minified, large-lockfile handling, P1-9), CWE tags +
CycloneDX CBOM (P2-6), scanParallel worker pool (P2-1), changedFiles (P2-2).

sieve: scrubbed SUT env (P0-3), FIPS 203 §7.2 ek modulus-range check + deeper
ML-DSA + deterministic/hedged probe (P1-7), SLH-DSA/FIPS 205 (P2-8), bounded
pipelining (P2-3).

docs: THREAT-MODEL, ADRs, VERSIONING, CONFIG spec, SUPPLY-CHAIN, ISO 27001
A.8.24 evidence + ACVP provenance designs; Scorecard + release workflows; REUSE.

Build clean; 251 tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
qscan: shared baseline + new flags (--include/--max-file-size/--scan-minified/
--changed/--since/--parallel/--concurrency/--cbom). (P1-1/P1-2/P2-1/P2-2/P2-6)
mcp: safe-by-default HTTP (loopback, QPROOF_MCP_TOKEN auth, FS tools gated by
QPROOF_MCP_ALLOW_FS, timeouts + caps), explain_finding rule resolution,
generate_cbom tool. (P0-1/P0-5)
action: reuse qscan runQscan + core shared baseline; escape PR-comment Markdown
and ::error:: workflow-command injection. (P1-3/P0-2)
tooling: ESLint flat config + Prettier, test:coverage, scripts/bench.mjs, CI
lint/coverage jobs, per-package repository/bugs/homepage. (P2-4/P2-5/P1-8)

Build clean; ESLint + Prettier clean; 307 tests pass. ROADMAP/CHANGELOG updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- qproof.config.json: core loadConfig + qScan flags>config>defaults precedence
  (--config / --no-config-file); CONFIG.md marked implemented.
- Deterministic seeded fuzz targets for the hand-rolled parsers (core manifest +
  SARIF, sieve protocol/base64, qscan args) — no crash / typed errors only.
- Zero-dep pre-commit hook (.githooks/pre-commit) + CONTRIBUTING opt-in.
- scripts/validate-sarif.mjs structural SARIF 2.1.0 check + CI 'sarif' job.
- Advisory 'bench' CI job. ROADMAP/CHANGELOG updated.

Build clean; ESLint + Prettier clean; 340 tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Step 3 of the post-v0.2 plan — empirical validation, all reproducible:

- Detection benchmark (packages/core/test/benchmark/): labeled positive/negative
  corpus + scorer test. Measured P 0.969 / R 1.000 / F1 0.984; documents the one
  false positive (createECDH in a comment) and two detector gaps honestly.
- Sieve vs a REAL audited impl (validation/sieve-real-sut/ → @noble/post-quantum,
  standalone, outside the workspaces so packages stay zero-dep): ML-KEM-768,
  ML-DSA-65, SLH-DSA pass; a broken variant is correctly FAILED; and Sieve
  surfaced a genuine FIPS 203 §7.2 ek-modulus-check deviation in @noble. The
  env-scrub (P0-3) is confirmed — env-injected faults don't reach the SUT.
- qScan dogfood on jsonwebtoken + jose: accurate inventory + correct 0/100 verdict
  on crypto-heavy code.
- docs/validation/{detection-benchmark,sieve-real-impl,qscan-dogfood}.md + index.

Build clean; ESLint + Prettier clean; 343 tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Scorecard auto-ran on push and failed: it referenced a non-existent
ossf/scorecard-action@v2 tag, and its result-publishing + code-scanning SARIF
upload require a PUBLIC repo (this repo is private). Gate it to workflow_dispatch
only, pin v2.4.3, set publish_results:false, and tolerate the code-scanning
upload — so day-to-day pushes show only the (green) CI workflow. Re-enable the
schedule/push triggers + publish_results when the repo goes public.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Scorecard's score-publishing and code-scanning SARIF upload both require a PUBLIC
repo, so the workflow only ever produced failing runs here. Remove it; document
in SUPPLY-CHAIN.md to re-add it (pinned ossf/scorecard-action@v2.4.3) when the
repo goes public. The release workflow stays (gated, manual).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.28.0 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.28.0...v0.28.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.28.1
  dependency-type: indirect
...

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 13, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

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/esbuild-0.28.1 branch June 22, 2026 13:59
leonacostaok added a commit that referenced this pull request Jul 20, 2026
…NCSC

Closes the audit's #1 gap: the tool was hardcoded to a NIST/CNSA worldview, and its
"hybrids optional" guidance was regime-WRONG for ANSSI/BSI (where hybridization is
required), with no way to choose otherwise.

- New core `StandardsProfile` layer (standards-profiles.ts): five cited, dated
  built-in regimes (nist default, cnsa-2.0, bsi-tr-02102, anssi, uk-ncsc), each
  carrying parameter sets, deprecate/disallow deadlines, and a HYBRID STANCE
  (required | recommended | optional). `remediationForProfile` + `formatProfileGuidance`
  compose regime-correct guidance.
- `qscan --profile <id>` tailors the migration-targets footer; `--tier category-5`
  is now an alias for `--profile cnsa-2.0` (the old CNSA-tier footer is unified onto
  the profile path). `--policy` still composes an org's exceptions on top.
- Verified end-to-end: ANSSI → "ML-KEM-1024 … hybrid required"; CNSA 2.0 → "hybrids
  optional"; BSI → "hybrid required" at commercial params.
- New public API: StandardsProfile, HybridStance, STANDARDS_PROFILES,
  getStandardsProfile, standardsProfileIds, defaultStandardsProfile, DEFAULT_PROFILE_ID,
  remediationForProfile, formatProfileGuidance (frozen in the surface). A drift test
  keeps profile params aligned with PQC_STANDARDS.

Docs: CHANGELOG, ROADMAP, CLI help. Suite: 936 passing; all gates clean.
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.

1 participant