Skip to content

build(deps): Migrate from npm to pnpm and bump deps - #1465

Merged
benoit-cty merged 4 commits into
masterfrom
dependabot/npm_and_yarn/webapp/npm_and_yarn-11c2e24550
Oct 26, 2026
Merged

benoit-cty merged 4 commits into
masterfrom
dependabot/npm_and_yarn/webapp/npm_and_yarn-11c2e24550

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm_and_yarn group with 1 update in the /webapp directory: zod.

Updates zod from 3.25.76 to 4.6.7

Release notes

Sourced from zod's releases.

v4.6.7

Commits:

  • b500a2ee95134f81d74da7911d7378dd2853d042 4.6.7

v4.6.6

Six malicious commits pushed to main on September 21 with a compromised git credential were reverted the same day in #6620 and have since been removed from the history of main. None were ever published to npm. The npm provenance for 4.6.6 names 284243fb, the pre-rewrite copy of 9c219833 with identical contents.

Commits:

  • 0cd3af5e9f50ad11bbcd4407a46a21b8848ba574 docs: load the en locale directly in Zod Mini
  • 9d5e60f162997b764b40d45aa02481888db50dea docs: import locales from zod/locales, not z.locales
  • 34a626f307871ecbb0123947559328dc52ed5e3e docs: tighten the z.locales tree-shaking note
  • 74304ce5b5796b5edb9a88ceb8e170b6ea3e82df release: stage npm versions instead of publishing them (#6622)
  • b2ef983e0711ff6517d6020b021071e2e5653efa docs: add Code for Japan to bronze sponsors
  • 8fb2faf0584828a6a027d8279db36f6f52784462 docs: crop the Code for Japan logo and list it first in bronze
  • bacad518c41610d654658172d325874bf0ee6290 docs: square the Code for Japan logo to match the other bronze tiles
  • c42596bd1c87e941d7241d10e012c5c196adcc10 release: hold the run on the release-approval environment until the staged versions are approved (#6638)
  • a2ba4a67986a3e6b2b131be30084a2f460d9ea67 fix(types): declare record output and input as members, not base type arguments (#6645)
  • a0ebf970f2d752e5f58527cd2942ff48be4f46bd fix(v4): check array, set and map size bounds before parsing elements (#6652)
  • 529f78dd9431b07f49647fee3aa0819b3f8b66b7 4.6.6
  • 9c219833c3a3764fa1f1ea9c5ecec8254a63c0b1 ci: stage at verbose so a failed OIDC token exchange says why

v4.6.5

Commits:

  • d2b135cfb7a3582b9eb515756b9166bcb9521f4a docs: add the 4.6.x patch highlights to the 4.6 post
  • f1448f7cee00df9fe1e9ad84a000aa1828cc8bc1 docs: fold the 4.6.x patch highlights into the 4.6 post's own sections
  • de65a5cb39ed22a507fac935788f718fa88d104f docs: lead the properties section with the check and add a Zod Mini tab (#6598)
  • 56222cd1532c07bcb91b67df529cab4c0a215330 feat(instanceof): key the .properties() shape off the instance type (#6600)
  • ca0229a404818290e6cdcfefcd7eb2d04bcbb543 Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)"
  • cc4cd4ee9c52fcaa10964e48cc144541e41a5ed9 Revert "Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)""
  • 0f3f5ee3ca56c7574bf849e54f79e9a6e02562ee 4.6.5
  • 59bbc03e10c636b9eb3c393dfeb552819774ec21 chore: re-pin the integration peers to the workspace zod after the 4.6.5 bump

v4.6.4

A patch on top of 4.6.3.

  • d6bc1e30 feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)
  • ad32d751 perf: z.url() rejects an invalid URL with URL.canParse() instead of a throwing constructor, about 50x faster; fewer allocations on the validation path (#6588)
  • 2bb08717 chore: re-pin the integration peers to the workspace zod after the 4.6.4 bump
  • f6e1701a chore(deps): bump next to 15.5.25 and vite to 7.3.6 (#6153)

v4.6.3

A patch on top of 4.6.2.

  • 413cce9a fix(v4): make z.properties() a check again (#6594) — removes the standalone z.properties() schema from 4.6.0; z.instanceof().properties() and .check(...z.properties()) are unchanged
  • 75d63ee1 docs: show only the .properties() method form in the 4.6 post
  • 46da9572 docs: match the error-message examples to what the parsers emit

... (truncated)

Commits
  • b500a2e 4.6.7
  • 9c21983 ci: stage at verbose so a failed OIDC token exchange says why
  • 529f78d 4.6.6
  • a0ebf97 fix(v4): check array, set and map size bounds before parsing elements (#6652)
  • a2ba4a6 fix(types): declare record output and input as members, not base type argumen...
  • c42596b release: hold the run on the release-approval environment until the staged ve...
  • bacad51 docs: square the Code for Japan logo to match the other bronze tiles
  • 8fb2faf docs: crop the Code for Japan logo and list it first in bronze
  • b2ef983 docs: add Code for Japan to bronze sponsors
  • 74304ce release: stage npm versions instead of publishing them (#6622)
  • Additional commits viewable in compare view
Maintainer changes

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


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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot
dependabot Bot requested a review from a team as a code owner October 26, 2026 04:20
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 26, 2026

@benoit-cty benoit-cty 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.

@github-actions github-actions Bot added size/XL and removed size/XS labels Oct 26, 2026

@benoit-cty benoit-cty 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.

Switch to npm on Node 24 and upgrade dependencies

CI and the deployment install with npm ci --include=dev, but local
upgrades went through pnpm, so package-lock.json drifted from
package.json and npm ci failed. Regenerate the lockfile with npm, drop
the pnpm packageManager pin, require Node >=24 and move @types/node to
24 (vitest 5 peer). The Dockerfile used pnpm and a lockfile that isn't
tracked; it now runs the same npm commands as the deployment.

Take the pending major upgrades along with it:

  • recharts 3: retype the chart tooltip/legend content props, read the
    scatter click's run id from its payload, and give the chart container
    a size in tests, since recharts 3 renders nothing at 0x0.
  • zod 4: ZodError.errors is now .issues.
  • eslint 10: declare @eslint/js and globals, which it no longer bundles;
    bump eslint-config-prettier to 10.

README and the agent instructions now document npm.

@benoit-cty

Copy link
Copy Markdown
Contributor

Following discussion with @SaboniAmine :

Make pnpm the only package manager:

  • commit pnpm-lock.yaml, drop package-lock.json
  • pin pnpm 12.15.0
  • move CI and the Dockerfile to frozen pnpm installs.

pnpm is kept for its supply-chain defaults, now stated in
pnpm-workspace.yaml: dependency install scripts are refused unless
allow-listed, and releases younger than 7 days are not installed. The
typescript-eslint and vite floors drop to their newest releases outside
that window. The npm-style overrides, which pnpm ignores, move to the
workspace file.

The Clever Cloud frontend app needs CC_NODE_BUILD_TOOL=pnpm and
CC_BUILD_COMMAND="pnpm install --frozen-lockfile && pnpm run build";
docs and agent instructions now describe the pnpm workflow.

@benoit-cty benoit-cty changed the title build(deps): bump zod from 3.25.76 to 4.6.7 in /webapp in the npm_and_yarn group across 1 directory build(deps): Migrate from npm to pnpm and bump deps Oct 26, 2026
dependabot Bot and others added 4 commits October 26, 2026 10:15
Bumps the npm_and_yarn group with 1 update in the /webapp directory: [zod](https://github.com/colinhacks/zod).


Updates `zod` from 3.25.76 to 4.6.7
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v3.25.76...v4.6.7)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
CI and the deployment install with `npm ci --include=dev`, but local
upgrades went through pnpm, so package-lock.json drifted from
package.json and `npm ci` failed. Regenerate the lockfile with npm, drop
the pnpm packageManager pin, require Node >=24 and move @types/node to
24 (vitest 5 peer). The Dockerfile used pnpm and a lockfile that isn't
tracked; it now runs the same npm commands as the deployment.

Take the pending major upgrades along with it:
- recharts 3: retype the chart tooltip/legend content props, read the
  scatter click's run id from its payload, and give the chart container
  a size in tests, since recharts 3 renders nothing at 0x0.
- zod 4: ZodError.errors is now .issues.
- eslint 10: declare @eslint/js and globals, which it no longer bundles;
  bump eslint-config-prettier to 10.

README, AGENTS.md and the agent instructions now document npm.
@benoit-cty
benoit-cty force-pushed the dependabot/npm_and_yarn/webapp/npm_and_yarn-11c2e24550 branch from b5e97be to bc67a63 Compare October 26, 2026 09:15
@benoit-cty
benoit-cty merged commit dfefae0 into master Oct 26, 2026
9 checks passed
@benoit-cty
benoit-cty deleted the dependabot/npm_and_yarn/webapp/npm_and_yarn-11c2e24550 branch October 26, 2026 09:18
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 size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant