Skip to content

chore(deps-dev): bump @size-limit/time from 13.1.1 to 14.0.0 - #609

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/size-limit/time-14.0.0
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/size-limit/time-14.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 18, 2026

Copy link
Copy Markdown
Contributor

Bumps @size-limit/time from 13.1.1 to 14.0.0.

Release notes

Sourced from @​size-limit/time's releases.

14.0.0

  • Moved to rolldown by default in @size-limit/preset-small-lib.
  • Unified Node.js support accross projects.
  • Removed dependencies.
Changelog

Sourced from @​size-limit/time's changelog.

14.0.0

  • Moved to rolldown by default in @size-limit/preset-small-lib.
  • Unified Node.js support accross projects.
  • Removed dependencies.
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)

Bumps [@size-limit/time](https://github.com/ai/size-limit) from 13.1.1 to 14.0.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@13.1.1...14.0.0)

---
updated-dependencies:
- dependency-name: "@size-limit/time"
  dependency-version: 14.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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 Sep 18, 2026
@dependabot
dependabot Bot requested review from a team as code owners September 18, 2026 14:17
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 18, 2026
@nev21

nev21 commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

@copilot review the changes in this PR as well as 608, 607 and 606 and update to pass also update the dependabot settings so that these packages are all updated together as a single dependabot PR

Co-authored-by: nev21 <82737406+nev21@users.noreply.github.com>

Copilot AI commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

@copilot review the changes in this PR as well as 608, 607 and 606 and update to pass also update the dependabot settings so that these packages are all updated together as a single dependabot PR

Addressed in d22d40a. The PR now includes the related size-limit 14.x updates from #606-#608, groups future size-limit / @size-limit/* root npm updates into a single Dependabot PR, and rebases the size-limit thresholds so the updated toolchain passes validation.

Copilot AI requested a review from nev21 September 18, 2026 16:10
Comment thread .size-limit.json
"name": "es5-full",
"path": "lib/dist/es5/mod/ts-utils.js",
"limit": "37.75 kb",
"limit": "55.5 kb",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@copilot WHY are you increasing these values?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Because size-limit 14 changes how these checks are measured. @size-limit/preset-small-lib moved to rolldown by default in v14, so the reported bundle sizes increased even though the library code did not. I raised only the limits that started failing so npm run size would pass with the new toolchain.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@copilot Why does rolldown cause the bundle size to be larger

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Because @size-limit/preset-small-lib switched from esbuild in 13.1.1 to rolldown in 14.0.0. Different bundlers make different tree-shaking, interop, and minification choices, so the measured bundled output can change even when this repo’s source code does not. In this PR the increase looks like toolchain drift from that bundler swap, not a library code-size regression.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@copilot my question is not a generic why, I want an analysis of what is not being tree-shaken

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I dug into the actual saved size-limit bundles from 13.1.1 vs 14.0.0 for this repo. For the selective cases ({ getWindow } and the es5-env import set), I do not see an unrelated module/API staying live — both versions pull the same dependency closure around the lazy global lookup/cache helpers (safe, _getGlobalValue, _getGlobalConfig, cached-value wrapper, lazy accessor). The big difference is that the 14.0.0 rolldown output is much less aggressively collapsed/minified: es5-env goes from 1303B to 1690B, getWindow from 927B to 1126B, and the full bundle from 37657B to 55351B. So my current read is: this is not one obvious thing failing to tree-shake; it’s mostly a bundler/output-optimization difference in the new preset.

@nevware21-bot nevware21-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved by nevware21-bot

This branch has not been deployed

No deployments
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.

3 participants