Skip to content

chore(deps): bump esbuild and @size-limit/preset-small-lib - #37

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-7e1ed3cca0
Open

chore(deps): bump esbuild and @size-limit/preset-small-lib#37
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-7e1ed3cca0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps esbuild to 0.28.1 and updates ancestor dependency @size-limit/preset-small-lib. These dependencies need to be updated together.

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


Updates @size-limit/preset-small-lib from 11.2.0 to 12.1.0

Release notes

Sourced from @​size-limit/preset-small-lib's releases.

12.1.0

  • Added disablePlugins option (by @​JPeer264).
  • Updated esbuild.

12.0.1

12.0.0

  • Moved jiti to optional dependency.
  • Removed chokidar dependency in favor of fs.watch.
  • Removed Node.js 18 support.
  • Updated open & esbuild dependencies.
  • Fixed docs (by @​nlopin & @​just-boris).
Changelog

Sourced from @​size-limit/preset-small-lib's changelog.

12.1.0

  • Added disablePlugins option (by @​JPeer264).
  • Updated esbuild.

12.0.1

12.0.0

  • Moved jiti to optional dependency.
  • Removed chokidar dependency in favor of fs.watch.
  • Removed Node.js 18 support.
  • Updated open & esbuild dependencies.
  • Fixed docs (by @​nlopin & @​just-boris).
Commits

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.

Summary by CodeRabbit

  • Chores
    • Updated development dependency for build-related tooling.

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.28.1 and updates ancestor dependency [@size-limit/preset-small-lib](https://github.com/ai/size-limit). These dependencies need to be updated together.


Updates `esbuild` from 0.25.1 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.1...v0.28.1)

Updates `@size-limit/preset-small-lib` from 11.2.0 to 12.1.0
- [Release notes](https://github.com/ai/size-limit/releases)
- [Changelog](https://github.com/ai/size-limit/blob/main/CHANGELOG.md)
- [Commits](ai/size-limit@11.2.0...12.1.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.28.1
  dependency-type: indirect
- dependency-name: "@size-limit/preset-small-lib"
  dependency-version: 12.1.0
  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 Pull requests that update javascript code labels Jun 14, 2026
@coderabbitai

coderabbitai Bot commented Jun 14, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The @size-limit/preset-small-lib development dependency in package.json is bumped from ^11.1.4 to ^12.1.0. No source code, exports, or public APIs are changed.

Changes

Dependency Version Bump

Layer / File(s) Summary
Bump @size-limit/preset-small-lib
package.json
@size-limit/preset-small-lib devDependency updated from ^11.1.4 to ^12.1.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 A version number hops up the tree,
From eleven to twelve, small as can be.
The size limit checks, still keeping it neat,
One line in the JSON — now isn't that sweet?
Hippity-hop, the bunny approves! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title mentions bumping esbuild and @size-limit/preset-small-lib, but the raw_summary only shows a change to @size-limit/preset-small-lib; esbuild changes are not reflected in the provided changeset. Verify whether esbuild was actually updated in this PR. If esbuild changes are present but not shown in the summary, clarify the scope; if not, revise the title to accurately reflect only the @size-limit/preset-small-lib update.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/multi-7e1ed3cca0

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 66: The `@size-limit/preset-small-lib` bump to 12.1.0 requires accompanying
updates to maintain consistency. Update the size-limit package version from
^11.1.4 to ^12.1.0 to match the preset dependency requirement, and update the
engines.node field from >=18 to >=20 to satisfy the Node version requirement
imposed by size-limit 12.1.0. Make both changes in the same commit to ensure a
cohesive toolchain without incompatible major versions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0ced28f8-d2ea-4e0a-a421-54dae0ec5971

📥 Commits

Reviewing files that changed from the base of the PR and between c526a91 and 026d659.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.4",
"@size-limit/preset-small-lib": "^11.1.4",
"@size-limit/preset-small-lib": "^12.1.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n '"`@size-limit/preset-small-lib`"|"size-limit"|"engines"' package.json package-lock.json .github/workflows .nvmrc .node-version

Repository: Short-io/qreator

Length of output: 17438


🏁 Script executed:

# Get the engines requirement from package.json
sed -n '107,115p' package.json

Repository: Short-io/qreator

Length of output: 193


🏁 Script executed:

# Get the full `@size-limit/preset-small-lib` entry from package-lock.json
sed -n '1872,1945p' package-lock.json

Repository: Short-io/qreator

Length of output: 3071


Ensure size-limit and Node engine floor are updated alongside this preset bump.

@size-limit/preset-small-lib 12.1.0 requires size-limit 12.1.0, which mandates Node 20+. The lockfile confirms nested dependencies enforce "node": "^20.0.0 || ^22.0.0 || >=24.0.0". However, package.json still pins size-limit to ^11.1.4 and advertises engines.node as >=18. Merging this preset update alone will create a split toolchain with incompatible major versions.

Update both size-limit and the Node engine floor in the same commit, or defer this preset bump until those dependencies are ready.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 66, The `@size-limit/preset-small-lib` bump to 12.1.0
requires accompanying updates to maintain consistency. Update the size-limit
package version from ^11.1.4 to ^12.1.0 to match the preset dependency
requirement, and update the engines.node field from >=18 to >=20 to satisfy the
Node version requirement imposed by size-limit 12.1.0. Make both changes in the
same commit to ensure a cohesive toolchain without incompatible major versions.

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