Skip to content

Bump the dependencies group with 7 updates - #98

Merged
nstepien merged 7 commits into
mainfrom
dependabot/npm_and_yarn/dependencies-072f99b133
Oct 15, 2026
Merged

nstepien merged 7 commits into
mainfrom
dependabot/npm_and_yarn/dependencies-072f99b133

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the dependencies group with 7 updates:

Package From To
@types/node 26.6.4 26.6.5
oxfmt 0.71.0 0.72.0
oxlint 1.86.0 1.87.0
oxlint-tsgolint 7.0.2003 7.0.2004
rolldown 1.2.12 1.2.13
rolldown-plugin-dts 0.28.6 0.28.8
vite 8.3.2 8.3.4

Updates @types/node from 26.6.4 to 26.6.5

Commits

Updates oxfmt from 0.71.0 to 0.72.0

Release notes

Sourced from oxfmt's releases.

oxfmt v0.72.0

💥 BREAKING CHANGES

  • e2c68b1 oxfmt: [BREAKING] Format parser:markdown files by oxc_formatter_markdown (#27256) (leaysgur)

🚀 Features

  • b538e3c formatter_css: Parse embedded CSS as a block's contents (#27284) (leaysgur)

🐛 Bug Fixes

  • 71e400b formatter_markdown: Fixed remaining issues found by fuzz (#27334) (leaysgur)
  • 7d0e54d formatter_markdown: Preserve line breaks around Chinese/Japanese characters in all proseWrap (#27331) (leaysgur)
  • e9ae2d8 formatter_css: Fix layouts found in mdn-content repo (css-in-md) (#27326) (leaysgur)
  • df85b4c oxfmt: Keep blank lines after a line break in Prettier Doc to IR (#27325) (leaysgur)
  • 7f65b75 formatter: Format assignment target property as assignment-like (#27289) (leaysgur)
  • 6c08f2a formatter_css: Apply the url() import exception to a lone comma group (#27288) (leaysgur)
  • 1967302 formatter_css: Hug a spaced ident ( only at the at-rule prelude head (#27283) (leaysgur)
  • 2445064 formatter_markdown: Keep a preserved line break before a delimiter row that opens no table (#27278) (leaysgur)
  • dd72fbf formatter_markdown: Keep container columns as spaces under useTabs (#27277) (leaysgur)
  • 1686018 oxfmt: Make one state conditionalGroup fit up to first hardline (#27275) (leaysgur)
  • fd4ddce formatter_json: Flatten block comment only array|object (#27274) (leaysgur)
  • 267557c formatter,oxfmt: Embed only original JSDoc plugin supported languages (#27241) (leaysgur)
  • 2606c60 oxfmt: Do not re-include a file below an excluded directory with a negated pattern (#27237) (Nicolas Le Cam)
  • c2de02b formatter: Decide embedded template layout from AST, not source shape (#27218) (leaysgur)
  • c9e1224 formatter: Handle quoteProps: consistent for patterns and computed keys (#27216) (leaysgur)
  • 36e14df formatter: Keep comments between callee and its opener on the callee side (#27172) (leaysgur)
  • 6da7657 oxfmt: Render diagnostics with source in Stdin mode (#27130) (leaysgur)
  • e9b2ec5 oxfmt/lsp: Reload .prettierignore on watched file change (#27129) (leaysgur)
  • 30eb463 oxfmt: Check global ignores before resolving nested config in Stdin mode (#27128) (leaysgur)

⚡ Performance

  • 72f42a3 formatter_markdown: Pre-allocate the IR buffer (#27333) (leaysgur)
  • cea47e3 formatter_core: Avoid exponential will_break check on nested interned (#27211) (leaysgur)
  • 0aba566 oxfmt: Do not resolve root js config from nested context (#27147) (leaysgur)

📚 Documentation

  • 51506c6 formatter_css: Record divergences found in mdn-content (css-in-md) (#27327) (leaysgur)
  • 656b81c formatter_markdown: Record unclosed fences closing at a directive's closer (#27279) (leaysgur)
  • 66545bf formatter_markdown: Record setext heading wrap divergence (#27221) (leaysgur)
  • af4b269 oxfmt: Document why format() API does not take cwd (#27131) (leaysgur)
Commits

Updates oxlint from 1.86.0 to 1.87.0

Release notes

Sourced from oxlint's releases.

oxlint v1.87.0

🚀 Features

  • 42dcfd2 linter/react/no-unescaped-entities: Implement suggestion (#27292) (Mikhail Baev)
  • cd4510d linter/unicorn/no-useless-switch-case: Implement suggestion (#27245) (Mikhail Baev)
  • 1a7c902 linter/react/jsx-no-target-blank: Implement suggestion (#27181) (Mikhail Baev)

🐛 Bug Fixes

  • 176b4b9 linter/jsx-a11y/label-has-associated-control: Validate label attribute values (#27302) (sama Pyb)
  • 7d381c3 linter/jsx-a11y/mouse-events-have-key-events: Handle nullish event handlers (#27306) (sama Pyb)
  • 4e09837 linter/jsx-a11y/lang: Validate lang expression strings (#27304) (sama Pyb)
  • 7d28a66 linter/unicorn/numeric-separators-style: Report misgrouped BigInt literals (#27207) (breken)
  • e928322 linter/unicorn/no-zero-fractions: Parenthesize separator and large integers in fixer (#27206) (breken)
  • 3d61a59 parser: Validate TypeScript type member separators (#27222) (camc314)
  • f08236b linter/eslint/prefer-exponentiation-operator: Preserve autofix precedence (#27150) (camc314)
  • 7d60ae3 linter/valid-title: Continue checks after allowed words (#27146) (Cameron)
  • ad5dd5d linter/eslint/no-unused-vars: Respect disabled argument checks for used ignore patterns (#26925) (camc314)
Changelog

Sourced from oxlint's changelog.

Changelog

All notable changes to this package will be documented in this file.

The format is based on Keep a Changelog.

[1.88.0] - 2026-10-13

🚀 Features

  • 3c361a7 linter/unicorn/prefer-query-selector: Add allowWithVariables option (#27346) (Mikhail Baev)
Commits

Updates oxlint-tsgolint from 7.0.2003 to 7.0.2004

Release notes

Sourced from oxlint-tsgolint's releases.

v7.0.2004

What's Changed

New Contributors

Full Changelog: oxc-project/tsgolint@v7.0.2003...v7.0.2004

Commits
  • a612891 fix: restore line disable comments for type-aware diagnostics (#1271)
  • fc7068f chore(deps): update crate-ci/typos action to v1.51.1 (#1269)
  • 8d4c05c chore(deps): update crate-ci/typos action to v1.51.0 (#1268)
  • 6d20f35 fix(no-unnecessary-type-parameters): parenthesize constraint in optional tupl...
  • 322b385 fix(no-deprecated): include reasons for variable declarations (#1266)
  • db76296 fix(no-unsafe-return): avoid panic on JSDoc callbacks without returns (#1264)
  • 24b18b4 fix(no-floating-promises): respect safe-call declaration sources (#1261)
  • c8f5cbc chore(deps): update npm packages (#1259)
  • 93fe3a5 chore(deps): update taiki-e/install-action action to v2.87.22 (#1258)
  • dd0a306 chore(deps): update dprint plugins (#1256)
  • Additional commits viewable in compare view

Updates rolldown from 1.2.12 to 1.2.13

Release notes

Sourced from rolldown's releases.

v1.2.13

[1.2.13] - 2026-10-07

🚀 Features

  • rolldown_plugin_vite_import_glob: follow file creation and deletion via hotUpdate (#10550) by @​shulaoda
  • inline-common-chunks: deduplicate shared code along known loading paths (#11093) by @​hyfdev
  • rolldown_plugin_vite_import_glob: record a matcher per glob call in dev (#10592) by @​shulaoda
  • rolldown_plugin_vite_import_glob: watch the directory each glob reads (#10549) by @​shulaoda
  • watch: hand watch.exclude to notify as its ignore filter (#11008) by @​shulaoda
  • dev: add experimental.devMode.hotUpdate option (#11123) by @​h-a-n-a

🐛 Bug Fixes

📚 Documentation

⚡ Performance

... (truncated)

Changelog

Sourced from rolldown's changelog.

[1.2.13] - 2026-10-07

🚀 Features

  • rolldown_plugin_vite_import_glob: follow file creation and deletion via hotUpdate (#10550) by @​shulaoda
  • inline-common-chunks: deduplicate shared code along known loading paths (#11093) by @​hyfdev
  • rolldown_plugin_vite_import_glob: record a matcher per glob call in dev (#10592) by @​shulaoda
  • rolldown_plugin_vite_import_glob: watch the directory each glob reads (#10549) by @​shulaoda
  • watch: hand watch.exclude to notify as its ignore filter (#11008) by @​shulaoda
  • dev: add experimental.devMode.hotUpdate option (#11123) by @​h-a-n-a

🐛 Bug Fixes

📚 Documentation

⚡ Performance

... (truncated)

Commits
  • f7de35f release: v1.2.13 (#11144)
  • 4229721 chore(deps): upgrade oxc to 0.153.0 (#11109)
  • 0f60926 fix(devtools): honor devtools.sessionId
  • f918ebb feat(inline-common-chunks): deduplicate shared code along known loading paths...
  • 047cec1 fix: sanitize preserveModules chunk names after resolving the relative path (...
  • 37f4b00 fix(generator): filter DISABLE_JS_HOOK bits from generated HookUsage (#10346)
  • d0e7203 feat(dev): add experimental.devMode.hotUpdate option (#11123)
  • 4f53338 fix(node): give each renderChunk call its own meta object (#11115)
  • fdd3604 docs: say the CLI bundles multiple configs one after another (#11111)
  • ddabe04 chore(deps): update napi (#11108)
  • Additional commits viewable in compare view

Updates rolldown-plugin-dts from 0.28.6 to 0.28.8

Release notes

Sourced from rolldown-plugin-dts's releases.

v0.28.8

   🐞 Bug Fixes

    View changes on GitHub

v0.28.7

   🐞 Bug Fixes

  • Prevent implicit exports of private declarations  -  by @​sxzz and Harshit (00403)
    View changes on GitHub
Commits
  • 84c7841 chore: release v0.28.8
  • a5f2216 chore: upgrade deps
  • 849c39b fix: tree-shake a namespace import referenced only by qualified name (#315)
  • 45e6094 chore: release v0.28.7
  • 004032f fix: prevent implicit exports of private declarations
  • 18d7aa1 chore: upgrade deps
  • ea829e8 chore(deps): update all non-major dependencies to ^0.17.0 (#316)
  • 748f1d1 chore(deps): upgrade yuku to v0.15 (#314)
  • 38a9ce1 chore: declare package side effects
  • 402893f chore: align pnpm workspace settings
  • Additional commits viewable in compare view

Updates vite from 8.3.2 to 8.3.4

Release notes

Sourced from vite's releases.

v8.3.4

Features

  • bundled-dev: support import.meta.hot.acceptExports (#23463) (bc0f21c)

Bug Fixes

  • avoid mutating hmr defaults (fix #23575) (#23576) (574d5e3)
  • build: correct preloads when chunkImportMap is enabled with non-root base (#23698) (2a8c0f0)
  • build: wait for in-flight stylesheets in preload helper (fix #23652) (#23662) (036b745)
  • bundled-dev: serve /@vite/client and stub @vite/env (#23664) (5afc5a8)
  • client: skip rewriting unchanged adopted styles (#23697) (fa71469)
  • css: resolve imported preprocessors from their file path with lightningcss (#23688) (cf52011)
  • deps: update all non-major dependencies (#23648) (8a4c19c)
  • deps: update rolldown-related dependencies (#23649) (794516d)
  • dev: a restart requested during a restart used to be dropped (fix #23392) (#23484) (70d56ea)
  • don't treat modules ending with js-like query as js (#23687) (fcb6f12)
  • html: avoid adding filesystem root to watcher (#23689) (3a7f2ae)
  • html: skip caching CSS of chunks in a cycle (fix #23628) (#23636) (15d82f7)
  • optimizer: scan deep imports with custom extensions (#23678) (8579189)
  • remove input option unescaping for now (#23694) (facc2fb)
  • server: match static aliases on path boundaries (#23643) (b28db28)
  • watcher: normalize file before root check in ensureWatchedFile (#23673) (12bb28c)

Performance Improvements

  • module-runner: skip cloning call sites that have no source map (#23646) (3d67486)

Code Refactoring

  • bundled-dev: import CSS HMR helpers from /@vite/client (#23674) (182f5b2)

v8.3.3

Bug Fixes

  • deps: update launch-editor to v2.14.2 (#23654) (22fd1d5)
  • html: filename passed to transformIndexHtml should not include queries (#23653) (7dafd8e)
  • server: check fs.serve for ?vite-wasm-instance (#23655) (ba8b7ab)
  • server: store ids to safeModulePaths rather than URLs (#23656) (c3e06f9)
Changelog

Sourced from vite's changelog.

8.3.4 (2026-10-08)

Features

  • bundled-dev: support import.meta.hot.acceptExports (#23463) (bc0f21c)

Bug Fixes

  • avoid mutating hmr defaults (fix #23575) (#23576) (574d5e3)
  • build: correct preloads when chunkImportMap is enabled with non-root base (#23698) (2a8c0f0)
  • build: wait for in-flight stylesheets in preload helper (fix #23652) (#23662) (036b745)
  • bundled-dev: serve /@vite/client and stub @vite/env (#23664) (5afc5a8)
  • client: skip rewriting unchanged adopted styles (#23697) (fa71469)
  • css: resolve imported preprocessors from their file path with lightningcss (#23688) (cf52011)
  • deps: update all non-major dependencies (#23648) (8a4c19c)
  • deps: update rolldown-related dependencies (#23649) (794516d)
  • dev: a restart requested during a restart used to be dropped (fix #23392) (#23484) (70d56ea)
  • don't treat modules ending with js-like query as js (#23687) (fcb6f12)
  • html: avoid adding filesystem root to watcher (#23689) (3a7f2ae)
  • html: skip caching CSS of chunks in a cycle (fix #23628) (#23636) (15d82f7)
  • optimizer: scan deep imports with custom extensions (#23678) (8579189)
  • remove input option unescaping for now (#23694) (facc2fb)
  • server: match static aliases on path boundaries (#23643) (b28db28)
  • watcher: normalize file before root check in ensureWatchedFile (#23673) (12bb28c)

Performance Improvements

  • module-runner: skip cloning call sites that have no source map (#23646) (3d67486)

Code Refactoring

  • bundled-dev: import CSS HMR helpers from /@vite/client (#23674) (182f5b2)

8.3.3 (2026-10-06)

Bug Fixes

  • deps: update launch-editor to v2.14.2 (#23654) (22fd1d5)
  • html: filename passed to transformIndexHtml should not include queries (#23653) (7dafd8e)
  • server: check fs.serve for ?vite-wasm-instance (#23655) (ba8b7ab)
  • server: store ids to safeModulePaths rather than URLs (#23656) (c3e06f9)
Commits
  • b6c20f6 release: v8.3.4 (#23702)
  • b28db28 fix(server): match static aliases on path boundaries (#23643)
  • bc0f21c feat(bundled-dev): support import.meta.hot.acceptExports (#23463)
  • fa71469 fix(client): skip rewriting unchanged adopted styles (#23697)
  • 2a8c0f0 fix(build): correct preloads when chunkImportMap is enabled with non-root bas...
  • 3a7f2ae fix(html): avoid adding filesystem root to watcher (#23689)
  • facc2fb fix: remove input option unescaping for now (#23694)
  • 70d56ea fix(dev): a restart requested during a restart used to be dropped (fix #23392...
  • cf52011 fix(css): resolve imported preprocessors from their file path with lightningc...
  • fcb6f12 fix: don't treat modules ending with js-like query as js (#23687)
  • Additional commits viewable in compare view

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

Bumps the dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.4` | `26.6.5` |
| [oxfmt](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt) | `0.71.0` | `0.72.0` |
| [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) | `1.86.0` | `1.87.0` |
| [oxlint-tsgolint](https://github.com/oxc-project/tsgolint) | `7.0.2003` | `7.0.2004` |
| [rolldown](https://github.com/rolldown/rolldown/tree/HEAD/packages/rolldown) | `1.2.12` | `1.2.13` |
| [rolldown-plugin-dts](https://github.com/sxzz/rolldown-plugin-dts) | `0.28.6` | `0.28.8` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.2` | `8.3.4` |


Updates `@types/node` from 26.6.4 to 26.6.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `oxfmt` from 0.71.0 to 0.72.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxfmt/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxfmt_v0.72.0/npm/oxfmt)

Updates `oxlint` from 1.86.0 to 1.87.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.87.0/npm/oxlint)

Updates `oxlint-tsgolint` from 7.0.2003 to 7.0.2004
- [Release notes](https://github.com/oxc-project/tsgolint/releases)
- [Commits](oxc-project/tsgolint@v7.0.2003...v7.0.2004)

Updates `rolldown` from 1.2.12 to 1.2.13
- [Release notes](https://github.com/rolldown/rolldown/releases)
- [Changelog](https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rolldown/rolldown/commits/v1.2.13/packages/rolldown)

Updates `rolldown-plugin-dts` from 0.28.6 to 0.28.8
- [Release notes](https://github.com/sxzz/rolldown-plugin-dts/releases)
- [Commits](sxzz/rolldown-plugin-dts@v0.28.6...v0.28.8)

Updates `vite` from 8.3.2 to 8.3.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: oxfmt
  dependency-version: 0.72.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: oxlint
  dependency-version: 1.87.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: oxlint-tsgolint
  dependency-version: 7.0.2004
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: rolldown
  dependency-version: 1.2.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: rolldown-plugin-dts
  dependency-version: 0.28.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: vite
  dependency-version: 8.3.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 14, 2026
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 91eeb296-35fa-4e3a-b072-c1b42d279c76

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

nstepien and others added 5 commits October 15, 2026 12:52
Rolldown 1.2.14 (rolldown/rolldown#10825) folds template literals into
constants, so `optimization.inlineConst` started inlining the class names
ecij emitted as template literals. Once all used exports of a
`sideEffects: false` module are inlined, the module is dropped along with
its stylesheet import, silently removing the extracted CSS.

Emit `(() => "css-…")()` instead: Rolldown does not evaluate calls as
constants and Oxc's dead code elimination keeps IIFEs intact, yet the IIFE
still counts as side-effect-free, and minifiers (Oxc, esbuild, terser) fold
it back to a plain string. It is deliberately not annotated `@__PURE__`,
since terser does not inline annotated IIFEs. Passing the class name
through `JSON.stringify` also escapes any `classPrefix` correctly.

Add a test that minified output keeps the CSS and contains plain class
name strings, anchor the sourcemap test on the class name string, and
update README and AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Comment thread src/index.ts Dismissed
@nstepien
nstepien merged commit 4f18907 into main Oct 15, 2026
8 checks passed
@nstepien
nstepien deleted the dependabot/npm_and_yarn/dependencies-072f99b133 branch October 15, 2026 14:55
nstepien added a commit that referenced this pull request Oct 15, 2026
…ooldown for peer dependencies (#99)

Follow-ups from auditing the plugin's workarounds against Rolldown
1.2.14 / Vite 8.3.4 after #98. Neither workaround can be dropped, so the
minimum versions stay as they are:

- **Class names emitted as IIFEs**: still required. With
`optimization.inlineConst`, Rolldown 1.2.14 drops the extracted CSS for
both string and template literal class names, and the upstream issues
are still open.
- **Fallback when `meta.magicString` is missing**: still required, at
any version. Vite rebuilds `meta` to add its `ssr` flag, which drops
Rolldown's lazily created `magicString`, so every Vite build and dev
server takes the fallback (checked on Vite 8.2.0 and 8.3.4). Only plain
Rolldown builds take the native path.

## Changes

- **Test plain Rolldown builds.** The suite only ran Vite builds, so the
native magic string path was never exercised. A new test checks that the
plugin works in a plain Rolldown build: the output code, the stylesheet
modules kept in the chunk (dependency stylesheet first), no warnings,
and the sourcemap position of a class name. Rolldown no longer bundles
CSS (rolldown/rolldown#4271), so the test stands in for a CSS plugin.
Without this test, coverage reports the native branch as uncovered;
breaking only that branch fails this test while the 14 Vite tests still
pass.
- **Hook filters.**
- `transform`: the manual `code.includes('ecij')` check moves into a
`code: 'ecij'` filter.
- `resolveId` and `load`: filter on the generated stylesheet ID pattern
(`STYLESHEET_ID_REGEX`), the only IDs they answer for. `load` otherwise
runs for every module, and in plain Rolldown builds `resolveId` runs for
every import. For the comprehensive fixture in the Vite dev server, the
handlers now run 4 + 4 times instead of 6 + 19, with identical results.
The handlers become single expressions, so coverage reports no lines
only a foreign ID matching the pattern could reach.
- All filters are honored by Rolldown builds, Vite builds, and the Vite
dev server on both ends of the peer range (Rolldown 1.2.0 / Vite 8.2.0
and Rolldown 1.2.14 / Vite 8.3.4).
- **Docs.** Fix the stale `stylesheetImportPerFile` description, and
correct AGENTS.md, which described the fallback as Vite-dev-only.
- **Dependabot.** Dependabot now holds back new releases for 3 days by
default. On 2026-10-14, it proposed rolldown 1.2.13 hours after 1.2.14
shipped the change that broke ecij, while consumers get such releases
immediately within our peer ranges. `rolldown` and `vite` are now
excluded from the cooldown; dev-only tooling keeps it as a supply chain
safeguard. The config validates against the SchemaStore `dependabot-2.0`
schema. To drop the cooldown entirely later, use `exclude: ['*']`
(`default-days` cannot be 0).
- **Typos and grammar** (separate commit): a misspelling, comma splices,
missing words and punctuation, capitalization, and serial commas.
- **Wording.** Every "e.g." is now "like", "such as", or "for example",
and the README no longer joins sentences with semicolons.
- **README.** List Vite, tsdown, and Rolldown from high to low level,
merge the three setup snippets into one, and say "the bundler" where
listing them adds nothing. tsdown runs Rolldown plugins and bundles the
extracted CSS once [`@tsdown/css`](https://tsdown.dev/options/css) is
installed (verified with tsdown 0.23.1). Like Vite, it already depends
on `rolldown`, and npm and pnpm 10 and 12 resolve ecij's peer to that
same copy.
- **Tests.** `assert(value, message)` becomes `expect(value,
message).toBeTruthy()`, with a short subject so failures read "JS chunk
sourcemap: expected null to be truthy". The plain Rolldown test no
longer passes Rolldown's default `format: 'es'`.

## Test plan

- [x] `node --run format:check`, `lint`, `typecheck`, `build`
- [x] `node --run test`: 15/15 against the source and against the built
`dist` (`CI=true`)
- [x] Mutation check: returning the original code from the native branch
fails only the new test
- [x] Vite dev server smoke test (client and SSR) before and after the
filters, on Vite 8.2.0 and 8.3.4: the same stylesheets resolve and load
- [x] Peer floor builds (Vite 8.2.0 + Rolldown 1.2.0, with the built
plugin's own `rolldown` imports from 1.2.0): the same CSS and class
names as current versions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
nstepien added a commit that referenced this pull request Oct 17, 2026
main took in the first slice of this PR (#79) and solved several of its
other problems differently since August, so the merge ports the rest of
this branch onto main's design instead of keeping both:

- Values, class names included, come from the parse of each module, and
  const initializers resolve lazily (#79). Re-exports, `export *`,
  default and namespace imports, and `export default` resolve through the
  same evaluator, with ESM precedence and ambiguity.
- Cycles are handled by main's pendingLoads and isWaitingFor (#102), so
  the wait graph, the deferred same-file passes, and the import-last
  ordering are gone, along with the guard against inlining the class
  names of skipped templates, which needed the imported modules'
  transforms.
- Class names are IIFEs (#87, #98), so `moduleSideEffects: true` is gone.
- Vite's dev server keeps main's behavior (#104) and does not transform
  imported modules through transformRequest. There, the code of modules
  that no file holds comes from their `load` hooks.
- UNREADABLE_MODULE and UNPARSEABLE_MODULE are gone: a module whose code
  cannot be read exports nothing, and modules are parsed as the language
  Rolldown assigned them.
- Kept: raw TypeScript bindings, `meta.moduleType` parsing,
  prologue-safe imports, query-variant module identity, skipping
  external modules, and resolving each import once per transform.

Tests: main's suite, plus this branch's tests of the kept features, with
new cases for the paths that no fixture reached. The tests of the removed
behavior, and the cycle test that main already has, are dropped.
basic.input.ts is restored for main's inlineConst tests, and this
branch's barrel.ts is now barrel-index.ts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

2 participants