Repository navigation
chore(deps): update dependency @sanity/pkg-utils to v14 - #61
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
requested review from
a team and
mariuslundgard
and removed request for
a team
December 1, 2026 02:30
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^13.0.2→^14.3.3Release Notes
sanity-io/pkg-utils (@sanity/pkg-utils)
v14.3.3Compare Source
Patch Changes
8b0fb56,8b0fb56]:v14.3.2Compare Source
Patch Changes
c68e78a,c68e78a,c68e78a,c68e78a]:v14.3.1Compare Source
Patch Changes
f49c993]:v14.3.0Compare Source
Minor Changes
#3850
02e0984Thanks @stipsan! - feat: experimentalexperimental: {hoistCssImportsToEntry: true}optionCSS imports that Rolldown leaves in content-hashed chunks (such as
import "@portabletext/plugin-table/ui/styles.css") move into the entry chunks that can load them,so those chunks stop being side-effectful and drop out of the generated
package.json#sideEffects.The source keeps each CSS import next to its component; only the ESM output changes. Type-only
imports don't count, a lazy chunk's CSS loads with the entries that can
import()it, and hoistedimports go after the CSS imports an entry already has, such as
bundle.css.DEBUG=sanity:side-effectsreports where each import was hoisted from.Patch Changes
02e0984,47a2f46]:v14.2.2Compare Source
Patch Changes
#3845
e12715aThanks @squiggler-app! - fix(deps): update dependency @babel/core to ^7.29.16#3849
d910e82Thanks @stipsan! - fix: the generatedsideEffectsno longer changes the next buildRolldown reads the nearest
package.json#sideEffectsfor every module it bundles — the package'sown sources included, not just dependencies. The field the build writes describes the emitted
files (
./dist/style.css,./dist/index.js, orfalse), so applied to the sources it markedevery one of them side-effect free, and the build after the one that wrote the field dropped the
side-effect-only modules (
import './register') the first build kept, changing the output downto the hashed chunk names. The sources are now bundled as if the field were absent, so building
twice gives the same output whether or not the field is already committed. Dependencies keep
their own
sideEffectsmetadata, and an explicittreeshake.moduleSideEffectsstill decides.Updated dependencies [
e12715a,d910e82]:v14.2.1Compare Source
Patch Changes
635e9d5Thanks @squiggler-app! - fix(deps): update dependency @rolldown/plugin-babel to ^0.3.24566c40,635e9d5,c1ed8c4]:v14.2.0Compare Source
Minor Changes
#3833
4aa99e6Thanks @stipsan! - feat:DEBUG=sanity:side-effectsexplains the generatedsideEffectsSet
DEBUG=sanity:side-effectswhen runningtsdownorpkg buildto log why each file islisted in
package.json#sideEffects(a CSS asset, a.css.jschunk, or a CSS import in itsemitted code), and why each chunk got an injected
style.css/bundle.cssimport. Each reasonis traced to the module chain from an entry down to the CSS import, and shared content-hashed
chunks are flagged.
@sanity/pandacss-tsdown-pluginexposes the reasons for its injected importson
api.cssInjections.Patch Changes
4aa99e6,9182046]:v14.1.1Compare Source
Patch Changes
#3818
350d18bThanks @stipsan! - fix: don't rewritepackage.json#sideEffectswhenoutDiris outside the packageCalling
build()with anoutDiroutside the package directory (for example a test that builds intoos.tmpdir()) wrote paths like../../tmp/…/styles.cssintosideEffects, dropping the real./dist/…entries. Such builds now leavesideEffectsuntouched.Updated dependencies [
350d18b]:v14.1.0Compare Source
Minor Changes
#3805
f867d0eThanks @stipsan! - feat: auto-generatepackage.json#sideEffectsfrom the build@sanity/tsdown-confignow rewritessideEffectsafter every build from the CSS assets,.css.jschunks, and JS files that import stylesheets the build produced. When nothing isside-effectful the field is set to
false. Opt out withsideEffects: falseto leave thefield untouched.
@sanity/pkg-utilsforwards the same option frompackage.config.ts.Patch Changes
#3782
c79915fThanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.6#3810
bc8871eThanks @squiggler-app! - fix(deps): update dependency cac to ^7.1.1Updated dependencies [
f867d0e,c79915f]:v14.0.0Compare Source
Major Changes
#3780
45cd20cThanks @stipsan! - Remove vanilla-extract support.BREAKING: the
vanillaExtractoption and thePackageVanillaExtractOptionstype are gone, andpkg buildno longer compiles.css.tsfiles. Apackage.config.tsthat still setsvanillaExtractfails with a link to the migration notes, even withlegacyChecks: false.To migrate, remove
vanillaExtractfrompackage.config.ts, then either:plugins, for exampleplugins: [vanillaExtractPlugin()]from@vanilla-extract/rollup-plugin. The plugin decides how the CSS is emitted and imported; pkg-utils no longer injectsimport "<pkg>/bundle.css", emits thebundle-css.jsshim or writes the./bundle.cssexport for it, orcssoption, which keeps the conditional CSS export.css: {fileName: 'bundle.css'}keeps the./bundle.csssubpath.See MIGRATE.md.
The
@sanity/vanilla-extract-integration,@sanity/vanilla-extract-rolldown-plugin,@sanity/vanilla-extract-tsdown-pluginand@sanity/vanilla-extract-vite-pluginpackages are deprecated and no longer maintained.Patch Changes
45cd20c]:v13.0.20Compare Source
Patch Changes
v13.0.19Compare Source
Patch Changes
7c0d36b]:v13.0.18Compare Source
Patch Changes
b62fa20]:v13.0.17Compare Source
Patch Changes
#3713
ccf0d44Thanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.5#3731
0a83842Thanks @stipsan! - fix(deps): update the rolldown/tsdown toolchain to latest (tsdown ^0.23.7, rolldown ~1.3.1, vite ^8.3.8, @vitejs/plugin-react ^6.3.0, @rolldown/plugin-babel ^0.3.1)@sanity/pkg-utilspassesdts.tsc.newContextanddts.dtsOnlyinstead of the options rolldown-plugin-dts 0.29/0.30 deprecated, and drops a leftover top-levelnewContextso the two levels cannot conflict. A declaration-only build that setsdts.entryapplies that filter to the build inputs and omitsentry, because rolldown-plugin-dts 0.30 rejectsentrytogether withdtsOnly. A leading./on those patterns, as inexports.source, is ignored so the filter still matches.@sanity/tsdown-config's TSDoc check includes every@types/*package again when the tsconfig doesn't settypes. API Extractor 7.60 bundles TypeScript 6, which defaultstypesto[], so declarations that use an ambient global such asReact.JSX.Elementcrashed the check with "Unable to follow symbol". The package now depends on API Extractor^7.60.0; 7.59 bundles TypeScript 5.9, which treatstypes: ['*']as a package name.PackageCssOptionsno longer includes tsdown's newcss: falsevalue.tsdownbuilds that keep the legacymain/modulefields now get"types": "./dist/index.d.cts"instead of./dist/index.d.ts, matchingmain. tsdown always preferred the CJS declarations for this field; rolldown-plugin-dts 0.30 no longer hides them.pkg buildwrites the hand-writtentypesvalue back after the canonical build, so packages built with@sanity/pkg-utilskeep that field.Updated dependencies [
ccf0d44,34fbc5c,0a83842]:v13.0.16Compare Source
Patch Changes
b4849abThanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.4b4849ab]:v13.0.15Compare Source
Patch Changes
v13.0.14Compare Source
Patch Changes
95ad65a]:v13.0.13Compare Source
Patch Changes
158b317]:v13.0.12Compare Source
Patch Changes
648e64b,da36413,04ff6bd]:v13.0.11Compare Source
Patch Changes
a5b59df]:v13.0.9Compare Source
Patch Changes
#3595
dd545f3Thanks @squiggler-app! - fix(deps): update tsdown to ^0.23.1#3605
2214615Thanks @squiggler-app! - fix(deps): update dependency prettier to ^3.9.10#3606
304bc15Thanks @squiggler-app! - fix(deps): update dependency zod to ^4.6.6#3607
154f346Thanks @squiggler-app! - fix(deps): update dependency cac to ^7.1.0Updated dependencies [
dd545f3,304bc15]:v13.0.8Compare Source
Patch Changes
24c9a21Thanks @squiggler-app! - fix(deps): update dependency cac to ^7.0.1v13.0.7Compare Source
Patch Changes
5f50c99,a7d96e4]:v13.0.6Compare Source
Patch Changes
54a7663,809af9a]:v13.0.5Compare Source
Patch Changes
#3541
ea9ea1cThanks @squiggler-app! - fix(deps): update dependency publint to ^0.3.25#3548
3cc7ff8Thanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.3Updated dependencies [
847e9c3,ea9ea1c,733c107,db47390,3cc7ff8]:v13.0.4Compare Source
Patch Changes
#3524
3feccb8Thanks @squiggler-app! - fix(deps): update dependency chalk to ^6.0.1#3527
a02de7cThanks @squiggler-app! - fix(deps): update dependency pretty-bytes to ^7.2.0Updated dependencies []:
v13.0.3Compare Source
Patch Changes
#3490
cb5a10bThanks @squiggler-app! - fix(deps): update dependency tsx to ^4.23.15#3504
a709c9eThanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.1Updated dependencies [
76c7488,a709c9e,9f1d9fa]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here
Note
Medium Risk
Major bump to the package build toolchain only; no runtime source changes, but build output or generated manifest fields could shift until CI/local build is verified.
Overview
Bumps
@sanity/pkg-utilsfrom ^13.0.2 to ^14.3.3 in rootpackage.jsonand refreshespnpm-lock.yamlso dev/build tooling matches the new major line (Rolldown 1.3.4, tsdown 0.23.7, updated @sanity/tsdown-config, Babel 7.29.16, and related transitive bumps). The lockfile also drops packages that v14 no longer pulls in (e.g. vanilla-extract integration and older yuku split packages).package.config.tsis unchanged and does not use removed options likevanillaExtract;pkg-utils build/pkg-utils check --strictremain the release path. Reviewers should confirm a cleanpnpm buildand that publishedpackage.jsonmetadata (e.g.sideEffects) still looks right under v14’s build behavior.Reviewed by Cursor Bugbot for commit 92332d7. Bugbot is set up for automated code reviews on this repo. Configure here.