Repository navigation
chore(deps): update non-major - #214
renovate[bot] wants to merge 1 commit into
Conversation
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
416f608 to
2141090
Compare
ec0c73f to
57c73cc
Compare
78e352b to
b91d961
Compare
f31b04b to
a12b47d
Compare
a0497ca to
96fb244
Compare
b3c0ffa to
1b5278f
Compare
804fac8 to
bd68e7c
Compare
2a8a622 to
3270d02
Compare
6b54161 to
79e916b
Compare
88e3e33 to
d9516fa
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 116b6d8. Configure here.
| "oxlint-tsgolint": "^7.0.2001", | ||
| "tsdown": "^0.22.14", | ||
| "@sanity/tsdown-config": "^0.31.2", | ||
| "@vitest/coverage-v8": "^4.1.12", |
There was a problem hiding this comment.
Vitest coverage peer version mismatch
Medium Severity
@vitest/coverage-v8@4.1.12 declares an exact peer on vitest@4.1.12, but vitest stays at 4.1.10. The lockfile therefore installs mixed @vitest/pretty-format and @vitest/utils copies, which can make pnpm coverage fail or report incorrectly.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 116b6d8. Configure here.


Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
^0.23.0→^0.32.0^4.1.10→^4.1.12^0.62.0→^0.80.0^1.77.0→^1.95.0^7.0.2001→^7.0.2008a311e91→58ab2e1^0.22.14→^0.23.7Release Notes
sanity-io/pkg-utils (@sanity/tsdown-config)
v0.32.0Compare Source
Minor Changes
#3780
45cd20cThanks @stipsan! - Remove thevanillaExtractoption.BREAKING: the
vanillaExtractoption and thePackageVanillaExtractOptionstype are gone, and@sanity/vanilla-extract-tsdown-pluginis no longer a dependency.defineConfig()throws whenvanillaExtractis set. To keep using vanilla-extract, append one of its own bundler plugins, for examplevanillaExtractPlugin()from@vanilla-extract/rollup-plugin, to thepluginsof the configdefineConfig()returns (see the README), or move the styles to thecssorpandaoptions, which keep the conditional CSS export.CssExportsOptionsis still exported.v0.31.6Compare Source
Patch Changes
v0.31.5Compare Source
Patch Changes
7c0d36bThanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.3.37c0d36b]:v0.31.4Compare Source
Patch Changes
b62fa20Thanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.3.2b62fa20]:v0.31.3Compare Source
Patch Changes
#3713
ccf0d44Thanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.5#3736
34fbc5cThanks @stipsan! - fix(deps): update dependency @microsoft/api-extractor to ^7.60.1#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 []:
v0.31.2Compare Source
Patch Changes
b4849abThanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.4v0.31.1Compare Source
No changes in this release.
v0.31.0Compare Source
Minor Changes
#3646
95ad65aThanks @stipsan! - Addpanda.cascadeLayers, passed through to@sanity/pandacss-tsdown-plugin. It defaults totrue, so the Panda stylesheet keeps its cascade layers, as before;panda: {cascadeLayers: false}publishes it without them, so consumers can override its base styles without overriding its states. Switching the default tofalseis planned for a later release of its own, once@sanity/uiandsanityhave adopted the option.A
pandaoption the installed plugin doesn't have (cascadeLayerson a plugin before 0.2.0, say) now fails the config with the upgrade to make, instead of reaching a plugin that ignores it; the peer range still accepts every version of the plugin.v0.30.1Compare Source
Patch Changes
#3642
158b317Thanks @stipsan! - Fix how CSS targets and thepandaoption resolve:target: 'baseline-widely-available'now transforms the CSS ofvanillaExtract,pandaandcssfor the browsers tsdown expands it to, instead of the@sanity/browserslist-configfallback. A browser you name next to the alias (['chrome61', 'baseline-widely-available']) keeps the lower of the two versions.pandareads the top-leveltargetfrom the final config, so atargetyou set withmergeConfig()afterdefineConfig()decides the browsers. An explicitpanda.targetorpanda.lightningcss.targetsstill wins.pandaandvanillaExtractorcsswriting the same stylesheet is detected for./-prefixed names too, and acssoption withsplittingno longer counts as a conflict.pandawithout@sanity/pandacss-tsdown-plugininstalled explains how to install it.The target fixes apply with
@sanity/pandacss-tsdown-plugin0.1.0 as well.v0.30.0Compare Source
Minor Changes
#3639
da36413Thanks @stipsan! - Add thepandaoption for packages styled with Panda CSS. Setpanda: trueto enable@sanity/pandacss-tsdown-pluginwith the Sanity defaults, or pass an options object to customize it.By default:
dist/bundle.css./bundle.cssexport: thebrowserandstyleconditions select the CSS file,nodeanddefaulta no-op JS shim, so the import also loads in Node.jsThe CSS syntax is transformed for the configured browsers —
panda.target, falling back to the top-leveltarget. When neither names browsers (for examplenode20), the browsers of@sanity/browserslist-configare used instead.Minification is opt-in:
Setup: install
@sanity/pandacss-tsdown-pluginas a dev dependency; it is an optional peer dependency of this package.@pandacss/devis recommended — for the usual"prepare": "panda codegen"script and thepandaCLI — but not required.#3623
04ff6bdThanks @stipsan! -vanillaExtract.minifyandcss.minifyno longer default totrue. CSS is left unminified unlessminify: trueis set. The CSS syntax-loweringtargetdefault is unchanged.Patch Changes
648e64bThanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.14648e64b]:v0.29.0Compare Source
Minor Changes
#3618
a5b59dfThanks @stipsan! - feat: add the opt-inidentifiers: 'safe'option, keeping class names apart across package releasesThe default
'short'identifiers hash only the package name and the file path, then append a counter of the identifiers generated in the file so far. So a release that reorders a file's styles reuses its class names for different rules:._2mi48t0is the Button loading overlay in@sanity/ui4.4.2 and the Button root in 4.4.4, and pages that loaded the CSS of both releases styled the new Buttons with the old overlay rule.identifiers: 'safe'is'short'with the package version in the file-scope hash:@emotion/hash(packageName + '@' + packageVersion + filePath), followed by the same base-36 counter, with the same_prefix when the name starts with a digit. The version is read from the samepackage.jsonas the package name. Every release gets its own class names, and the same release always builds the same ones. It is available in@sanity/vanilla-extract-rolldown-plugin,@sanity/vanilla-extract-tsdown-plugin,@sanity/vanilla-extract-vite-plugin(includingcreateCompiler), and thevanillaExtractoption of@sanity/tsdown-config:The defaults are unchanged.
@sanity/vanilla-extract-integrationexportsresolveIdentifierOption()and thePluginIdentifierOptiontype that implement the option, andgetPackageInfo()now also returns the packageversion.Patch Changes
a5b59df]:v0.28.8Compare Source
Patch Changes
dd545f3Thanks @squiggler-app! - fix(deps): update tsdown to ^0.23.1dd545f3]:v0.28.7Compare Source
Patch Changes
v0.28.6Compare Source
Patch Changes
#3569
5f50c99Thanks @squiggler-app! - fix(deps): update dependency @microsoft/api-extractor to ^7.59.4#3576
a7d96e4Thanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.13Updated dependencies [
a7d96e4,d212bfa]:v0.28.5Compare Source
Patch Changes
#3559
54a7663Thanks @squiggler-app! - fix(deps): update dependency @vitejs/plugin-react to ^6.1.2#3561
809af9aThanks @squiggler-app! - fix(deps): update dependency package-manager-detector to ^1.9.0Updated dependencies []:
v0.28.4Compare Source
Patch Changes
#3534
847e9c3Thanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.12#3541
ea9ea1cThanks @squiggler-app! - fix(deps): update dependency publint to ^0.3.25#3546
733c107Thanks @squiggler-app! - fix(deps): update dependency @microsoft/api-extractor to ^7.59.3#3547
db47390Thanks @squiggler-app! - fix(deps): update dependency @microsoft/tsdoc-config to ^0.18.3#3548
3cc7ff8Thanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.3Updated dependencies [
847e9c3]:v0.28.3Compare Source
Patch Changes
v0.28.2Compare Source
Patch Changes
#3488
76c7488Thanks @squiggler-app! - fix(deps): update dependency @microsoft/api-extractor to ^7.59.2#3504
a709c9eThanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.1#3513
9f1d9faThanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.11Updated dependencies [
9f1d9fa]:v0.28.1Compare Source
Patch Changes
#3424
232d6eaThanks @squiggler-app! - fix(deps): update dependency @microsoft/api-extractor to ^7.59.1#3440
4c451e1Thanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.29.0#3441
7bbcee4Thanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.9#3449
857c2ddThanks @squiggler-app! - fix(deps): update dependency @microsoft/tsdoc-config to ^0.18.2Updated dependencies [
7bbcee4]:v0.28.0Compare Source
Minor Changes
#3406
5372ae6Thanks @stipsan! - Upgrade tsdown and@tsdown/cssto 0.23.BREAKING: the
@sanity/tsdown-configand@sanity/vanilla-extract-tsdown-plugintsdownpeer range is now^0.23.0; tsdown 0.22 is no longer supported. Node.js 25can no longer run either package or
pkg build. Use Node^22.18.0,^24.11.0, or>=26.0.0.tsdown 0.23 removes deprecated config options. Replace
dts.tsgo: trueanddts.oxc: truewithdts.generator: 'tsgo'anddts.generator: 'oxc'.Replace
dts.oxc: falsewithdts.generator: 'tsc'. Removedts.cjsReexport.Replace
dts.volarPluginswithdts.customLanguagesand rename each language'screatehook tocreateVolarPlugins.Under
deps, replaceskipNodeModulesBundle: truewithneverBundle: trueand
onlyAllowBundlewithonlyBundle.deps.resolveDepSubpath: truepreserves the old dependency-specifier behavior.pkg watchnow closes tsdown's native watch handle, including its Rolldown watchersand keyboard-shortcut resources, and sets
ignoreWatchonpackage.jsonandtsconfig.jsonso tsdown does not restart itself and orphan a watcher that abortcannot close. CSS builds now need
@tsdown/css@0.23.0, the exact version tsdown 0.23pins.
tsdown 0.23 also emits declarations with inline
export declaremodifiers instead ofa trailing export list. A
.d.tswith no export statement is an export context, so atype that the source left unexported becomes part of the published API. Export the
types you mean to publish and tag them
@public.Patch Changes
7edcb76Thanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.77edcb76,5372ae6]:v0.27.1Compare Source
Patch Changes
#3348
4abbbe4Thanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.6#3361
b7ca997Thanks @squiggler-app! - fix(deps): update dependency @vitejs/plugin-react to ^6.1.1Updated dependencies [
4abbbe4]:v0.27.0Compare Source
Minor Changes
8d15fe5Thanks @stipsan! - Breaking: the babel pipeline is opt-in.reactCompilerdefaults totransform: 'oxc', and@rolldown/plugin-babel+@babel/coreare optional peer dependencies instead of dependencies. To stay on babel: settransform: 'babel'andpnpm add -D @rolldown/plugin-babel @babel/core babel-plugin-react-compiler.Patch Changes
v0.26.2Compare Source
Patch Changes
#3317
dd6510fThanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.5Updated dependencies [
dd6510f]:v0.26.1Compare Source
Patch Changes
#3332
39567eaThanks @squiggler-app! - fix(deps): update dependency @microsoft/api-extractor to ^7.58.13#3334
8aa45dfThanks @squiggler-app! - fix(deps): update dependency publint to ^0.3.24#3338
c22bbd1Thanks @squiggler-app! - fix(deps): update dependency @microsoft/api-extractor to ^7.59.0#3319
f4ce0f7Thanks @stipsan! - Installing only one of the optional React Compiler packages no longer breaksdefineConfig()'s types. The missing package's typings used to degrade toanyand collapse theReactCompilerOptionsunion, so everyreactCompilerconfig resolved to thereactServer: trueoverload (Promise<UserConfig[]>) unless consumers stubbed the missing module. Now the uninstalled branch degrades to justtransform/reactServerwhile the installed one keeps its real typings — stubs like sanity-io/ui'stypings/babel-plugin-react-compiler.d.tscan be deleted.Updated dependencies [
8aa45df]:v0.26.0Compare Source
Minor Changes
24bfc3fThanks @stipsan! - AddreactCompiler.transformto pick the React Compiler implementation:'babel'(the default, runsbabel-plugin-react-compiler) or the experimental'oxc'(runsoxc-transform-react, the Rust port — one native pass for React Compiler + TypeScript/JSX). Both compilers are optional peer dependencies.v0.25.0Compare Source
Minor Changes
#3310
171251eThanks @stipsan! - Add abundleAnalyzeroption that wires Rolldown's experimental markdown bundle analyzer.trueselectsformat: 'md'(an LLM-friendlyanalyze-data.mdinoutDir) rather than the plugin's own JSON default, so an env-gated opt-in is enough:Pass an object to customize
format/fileName. The report is not a publishable artifact — exclude it frompackage.jsonfiles(e.g."!dist/analyze-data.md").@sanity/pkg-utilsforwards the same option frompackage.config.ts.v0.24.2Compare Source
Patch Changes
#3297
5496b49Thanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.4#3288
5bfa760Thanks @stipsan! - Stop flagging the synthesized namespace wrappers of the declaration bundler withae-missing-release-tag.Namespace re-exports (
export * as ns from './module', orimport * as ns+export {ns}) make the declaration bundling pass synthesize adeclare namespace <module>_d_exports {…}wrapper that drops the doc comment of the re-export statement, so the wrapper could never carry a release tag and there was no userland fix short of downgrading the rule for the whole package. The TSDoc check now recognizes those wrappers (the interop naming, declared as a namespace in the entry or a shared chunk, a body that only re-exports sibling declarations, and re-exported under an alias) and exempts them fromae-missing-release-tag, like API Extractor's own rollups never checked the equivalent namespace. Everything else, including user namespaces that merely resemble the interop naming, stays checked: a namespace that declares members of its own is yours to tag, even when the bundler's deconflicting hands it a wrapper-shaped name.Updated dependencies [
5496b49]:v0.24.1Compare Source
Patch Changes
#3214
23788f8Thanks @squiggler-app! - fix(deps): update dependency rolldown to ~1.2.3#3271
f489697Thanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.28.8Updated dependencies [
23788f8]:v0.24.0Compare Source
Minor Changes
#3250
33e7b93Thanks @stipsan! - Move the conditional CSS export frominject.nodeCompattoexports.nodeCompat, and give@tsdown/cssoutput the same treatment.nodeCompatconfigures how the CSS file is published, not how the import is injected, so it moves to a dedicatedexportsoption.injectandexportsare now independent:injectprepends an import of the CSS to entry chunks, whileexportspublishes it as the./<fileName>export subpath (which also makes any injected import self-referential).exports: truedeclares a plain string export for browser-only packages;exports: {nodeCompat: true}declares the conditional export and emits the no-op JS shim plus its.d.ts.inject: {nodeCompat: true}keeps working, normalized to{inject: true, exports: {nodeCompat: true}}with a deprecation warning; an explicitexportswins over it.@sanity/tsdown-configgains acss.exportsoption implementing the same pattern on top of@tsdown/css(an optional peer dependency), which compiles CSS but has no node-shim concept of its own — itsinjectemits a relative import that throws in runtimes that cannot load.cssfiles.@sanity/pkg-utilsgains acssoption, and builds a.cssexport subpath that declares asource:pkg buildcompiles it todist/ui/styles.csswith the same minify and lowering settingsvanillaExtractgets, emits the shim, and fills in thetypes/browser/style/node/defaultconditions.@sanity/parse-package-jsonexposes the newparseCssExportsfor reading those subpaths, andparseExportsno longer returns them as JS entries.#3253
bc16006Thanks @stipsan! - SuppressCIRCULAR_DEPENDENCYwarnings from the declaration bundling pass by default, and add asuppressWarningsoption.defineConfigenables Rolldown'schecks.circularDependency, which also reports cycles between the emitted.d.tsmodules. Those imports are type-only and erased at runtime, so the cycles carry none of the hazards the check exists to surface, and they're unavoidable for mutually referencing public types — in sanity-io/sanity#13753 109 of 136 cycle warnings were declaration-only, drowning out the 27 real ones. The config now sets tsdown'ssuppressWarningsto drop warnings whose entire cycle consists of declaration files (.d.ts/.d.mts/.d.cts); a cycle that includes even one runtime module still warns. Consumers that filtered these out themselves (like@repo/tsdown.configinsanity-io/sanity) can drop their own predicate.The new
suppressWarningsoption takes tsdown's own value shapes (strings matched withincludes, regular expressions matched withtest, or a predicate) and is OR'd with the built-in suppression, so per-package suppressions can't silently undo it. MergingsuppressWarningsover the returned config still replaces the default entirely (mergeConfigreplaces functions), which is the escape hatch for restoring every warning:mergeConfig(await defineConfig(), {suppressWarnings: () => false}).tsdown added
suppressWarningsin0.22.7, so thetsdownpeer range is raised from^0.22.5to^0.22.7. On0.22.5/0.22.6the option is silently ignored (the cycle warnings keep appearing) and theUserConfig['suppressWarnings']indexed access in the published declarations does not resolve.#3246
c1106f1Thanks @stipsan! - Move thetsdocfeature (API Extractor TSDoc/release-tag checking) from@sanity/pkg-utilsinto@sanity/tsdown-config.In
@sanity/tsdown-configthe option isfalseby default; settsdoc: true(or an options object) to run the check after the build via tsdown'sbuild:donehook. The checker lives at@sanity/tsdown-config/tsdocand is lazy-loaded from the root config, so API Extractor is not part of the default entry's module graph.@sanity/pkg-utilscontinues enabling it by default (tsdoc: true) when composing the config, and still runs it duringpkg checkviacheckTsdocfrom@sanity/tsdown-config/tsdoc.Patch Changes
#3252
d952984Thanks @squiggler-app! - fix(deps): update dependency publint to ^0.3.23Updated dependencies [
33e7b93,d952984]:vitest-dev/vitest (@vitest/coverage-v8)
v4.1.12Compare Source
🐞 Bug Fixes
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here
Note
Low Risk
Dependency and lockfile-only updates with shared workflow SHA pins; risk is limited to CI/build/lint behavior regressions.
Overview
Bumps devDependencies for build, test, and lint tooling and refreshes
pnpm-lock.yamlto match.Toolchain:
@sanity/tsdown-config0.23 → 0.32,tsdown0.22 → 0.23.7, plus minor bumps to@vitest/coverage-v8(4.1.12),oxfmt,oxlint, andoxlint-tsgolint.CI: Reusable workflow refs in
format-if-needed,release, andrenovatenow point at commit58ab2e10onportabletext/.github(wasa311e91e).No application source changes; runtime dependencies are unchanged.
Reviewed by Cursor Bugbot for commit 97b26ef. Bugbot is set up for automated code reviews on this repo. Configure here.