Repository navigation
Bump the dependencies group with 7 updates - #98
Merged
Merged
Conversation
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]>
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
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]>
nstepien
approved these changes
Oct 15, 2026
5 tasks done
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]>
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.
Bumps the dependencies group with 7 updates:
26.6.426.6.50.71.00.72.01.86.01.87.07.0.20037.0.20041.2.121.2.130.28.60.28.88.3.28.3.4Updates
@types/nodefrom 26.6.4 to 26.6.5Commits
Updates
oxfmtfrom 0.71.0 to 0.72.0Release notes
Sourced from oxfmt's releases.
Commits
2bd08ebrelease(apps): oxlint v1.87.0 && oxfmt v0.72.0 (#27341)Updates
oxlintfrom 1.86.0 to 1.87.0Release notes
Sourced from oxlint's releases.
Changelog
Sourced from oxlint's changelog.
Commits
2bd08ebrelease(apps): oxlint v1.87.0 && oxfmt v0.72.0 (#27341)Updates
oxlint-tsgolintfrom 7.0.2003 to 7.0.2004Release notes
Sourced from oxlint-tsgolint's releases.
Commits
a612891fix: restore line disable comments for type-aware diagnostics (#1271)fc7068fchore(deps): update crate-ci/typos action to v1.51.1 (#1269)8d4c05cchore(deps): update crate-ci/typos action to v1.51.0 (#1268)6d20f35fix(no-unnecessary-type-parameters): parenthesize constraint in optional tupl...322b385fix(no-deprecated): include reasons for variable declarations (#1266)db76296fix(no-unsafe-return): avoid panic on JSDoc callbacks without returns (#1264)24b18b4fix(no-floating-promises): respect safe-call declaration sources (#1261)c8f5cbcchore(deps): update npm packages (#1259)93fe3a5chore(deps): update taiki-e/install-action action to v2.87.22 (#1258)dd0a306chore(deps): update dprint plugins (#1256)Updates
rolldownfrom 1.2.12 to 1.2.13Release notes
Sourced from rolldown's releases.
... (truncated)
Changelog
Sourced from rolldown's changelog.
... (truncated)
Commits
f7de35frelease: v1.2.13 (#11144)4229721chore(deps): upgrade oxc to 0.153.0 (#11109)0f60926fix(devtools): honordevtools.sessionIdf918ebbfeat(inline-common-chunks): deduplicate shared code along known loading paths...047cec1fix: sanitize preserveModules chunk names after resolving the relative path (...37f4b00fix(generator): filter DISABLE_JS_HOOK bits from generated HookUsage (#10346)d0e7203feat(dev): addexperimental.devMode.hotUpdateoption (#11123)4f53338fix(node): give each renderChunk call its own meta object (#11115)fdd3604docs: say the CLI bundles multiple configs one after another (#11111)ddabe04chore(deps): update napi (#11108)Updates
rolldown-plugin-dtsfrom 0.28.6 to 0.28.8Release notes
Sourced from rolldown-plugin-dts's releases.
Commits
84c7841chore: release v0.28.8a5f2216chore: upgrade deps849c39bfix: tree-shake a namespace import referenced only by qualified name (#315)45e6094chore: release v0.28.7004032ffix: prevent implicit exports of private declarations18d7aa1chore: upgrade depsea829e8chore(deps): update all non-major dependencies to ^0.17.0 (#316)748f1d1chore(deps): upgrade yuku to v0.15 (#314)38a9ce1chore: declare package side effects402893fchore: align pnpm workspace settingsUpdates
vitefrom 8.3.2 to 8.3.4Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
Commits
b6c20f6release: v8.3.4 (#23702)b28db28fix(server): match static aliases on path boundaries (#23643)bc0f21cfeat(bundled-dev): supportimport.meta.hot.acceptExports(#23463)fa71469fix(client): skip rewriting unchanged adopted styles (#23697)2a8c0f0fix(build): correct preloads when chunkImportMap is enabled with non-root bas...3a7f2aefix(html): avoid adding filesystem root to watcher (#23689)facc2fbfix: remove input option unescaping for now (#23694)70d56eafix(dev): a restart requested during a restart used to be dropped (fix #23392...cf52011fix(css): resolve imported preprocessors from their file path with lightningc...fcb6f12fix: don't treat modules ending with js-like query as js (#23687)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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