This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@vitejs/plugin-react](https://redirect.github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme) ([source](https://redirect.github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react)) | [`6.1.1` → `6.1.2`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/6.1.1/6.1.2) |  |  | | [oxlint](https://oxc.rs/docs/guide/usage/linter) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`1.86.0` → `1.87.0`](https://renovatebot.com/diffs/npm/oxlint/1.86.0/1.87.0) |  |  | | [prettier](https://prettier.io) ([source](https://redirect.github.com/prettier/prettier)) | [`3.9.9` → `3.9.10`](https://renovatebot.com/diffs/npm/prettier/3.9.9/3.9.10) |  |  | | [vite](https://vite.dev) ([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite)) | [`8.3.3` → `8.3.4`](https://renovatebot.com/diffs/npm/vite/8.3.3/8.3.4) |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/10578) for more information. --- ### Release Notes <details> <summary>vitejs/vite-plugin-react (@​vitejs/plugin-react)</summary> ### [`v6.1.2`](https://redirect.github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#612-2026-10-05) [Compare Source](https://redirect.github.com/vitejs/vite-plugin-react/compare/04cac5020e349f452d76c5a4f6d788ad4b38930a...ac47648e17674299accb51816e9e33b8a7b07b05) ##### Fix HMR for compound components ([#​1484](https://redirect.github.com/vitejs/vite-plugin-react/pull/1484)) Adding or removing a component from a compound component was not handled, creating stale updates. Doing this now triggers hmr invalidate on the file and propagates the invalidation to importers. ##### Fix `compiler.logDiagnostics` option not working ([#​1483](https://redirect.github.com/vitejs/vite-plugin-react/pull/1483)) With `oxc-transform-react` >= 0.148, the `logDiagnostics` was not working. This version fixes it and requires `oxc-transform-react` >= 0.152 as a peer dependency if you are using the `compiler` option. `compiler.logDiagnostics` option is now deprecated and should be swapped for the builtin `compiler.reportDiagnostics`. ##### Disable refresh for non-jsx with compiler enabled (fix [#​1478](https://redirect.github.com/vitejs/vite-plugin-react/issues/1478)) ([#​1485](https://redirect.github.com/vitejs/vite-plugin-react/pull/1485)) When the compiler was enabled, TS files could trigger fast refresh which would cause runtime errors. The logic now follows what the builtin oxc plugin in Vite does. </details> <details> <summary>oxc-project/oxc (oxlint)</summary> ### [`v1.87.0`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v1.87.0): oxlint v1.87.0 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.86.0...oxlint_v1.87.0) ##### 🚀 Features - [`42dcfd2`](https://redirect.github.com/oxc-project/oxc/commit/42dcfd2) linter/react/no-unescaped-entities: Implement suggestion ([#​27292](https://redirect.github.com/oxc-project/oxc/issues/27292)) (Mikhail Baev) - [`cd4510d`](https://redirect.github.com/oxc-project/oxc/commit/cd4510d) linter/unicorn/no-useless-switch-case: Implement suggestion ([#​27245](https://redirect.github.com/oxc-project/oxc/issues/27245)) (Mikhail Baev) - [`1a7c902`](https://redirect.github.com/oxc-project/oxc/commit/1a7c902) linter/react/jsx-no-target-blank: Implement suggestion ([#​27181](https://redirect.github.com/oxc-project/oxc/issues/27181)) (Mikhail Baev) ##### 🐛 Bug Fixes - [`176b4b9`](https://redirect.github.com/oxc-project/oxc/commit/176b4b9) linter/jsx-a11y/label-has-associated-control: Validate label attribute values ([#​27302](https://redirect.github.com/oxc-project/oxc/issues/27302)) (sama Pyb) - [`7d381c3`](https://redirect.github.com/oxc-project/oxc/commit/7d381c3) linter/jsx-a11y/mouse-events-have-key-events: Handle nullish event handlers ([#​27306](https://redirect.github.com/oxc-project/oxc/issues/27306)) (sama Pyb) - [`4e09837`](https://redirect.github.com/oxc-project/oxc/commit/4e09837) linter/jsx-a11y/lang: Validate lang expression strings ([#​27304](https://redirect.github.com/oxc-project/oxc/issues/27304)) (sama Pyb) - [`7d28a66`](https://redirect.github.com/oxc-project/oxc/commit/7d28a66) linter/unicorn/numeric-separators-style: Report misgrouped BigInt literals ([#​27207](https://redirect.github.com/oxc-project/oxc/issues/27207)) (breken) - [`e928322`](https://redirect.github.com/oxc-project/oxc/commit/e928322) linter/unicorn/no-zero-fractions: Parenthesize separator and large integers in fixer ([#​27206](https://redirect.github.com/oxc-project/oxc/issues/27206)) (breken) - [`3d61a59`](https://redirect.github.com/oxc-project/oxc/commit/3d61a59) parser: Validate TypeScript type member separators ([#​27222](https://redirect.github.com/oxc-project/oxc/issues/27222)) (camc314) - [`f08236b`](https://redirect.github.com/oxc-project/oxc/commit/f08236b) linter/eslint/prefer-exponentiation-operator: Preserve autofix precedence ([#​27150](https://redirect.github.com/oxc-project/oxc/issues/27150)) (camc314) - [`7d60ae3`](https://redirect.github.com/oxc-project/oxc/commit/7d60ae3) linter/valid-title: Continue checks after allowed words ([#​27146](https://redirect.github.com/oxc-project/oxc/issues/27146)) (Cameron) - [`ad5dd5d`](https://redirect.github.com/oxc-project/oxc/commit/ad5dd5d) linter/eslint/no-unused-vars: Respect disabled argument checks for used ignore patterns ([#​26925](https://redirect.github.com/oxc-project/oxc/issues/26925)) (camc314) </details> <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.9.10`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#3910) [Compare Source](https://redirect.github.com/prettier/prettier/compare/3.9.9...3.9.10) [diff](https://redirect.github.com/prettier/prettier/compare/3.9.9...3.9.10) ##### Markdown: Update `micromark-extension-gfm-table` to fix the table parse issue on performance ([#​20266](https://redirect.github.com/prettier/prettier/pull/20266) by [@​fisker](https://redirect.github.com/fisker)) See [micromark/micromark-extension-gfm-table@`4f43ead`](https://redirect.github.com/micromark/micromark-extension-gfm-table/commit/4f43ead37b786bc531d924530d4ab4c714886267) for details. </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v8.3.4`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small-834-2026-10-08-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v8.3.3...v8.3.4) ##### Features - **bundled-dev:** support `import.meta.hot.acceptExports` ([#​23463](https://redirect.github.com/vitejs/vite/issues/23463)) ([bc0f21c](https://redirect.github.com/vitejs/vite/commit/bc0f21c56a2e003a4d2dd23ccb9da3ec8c706c4e)) ##### Bug Fixes - avoid mutating hmr defaults (fix [#​23575](https://redirect.github.com/vitejs/vite/issues/23575)) ([#​23576](https://redirect.github.com/vitejs/vite/issues/23576)) ([574d5e3](https://redirect.github.com/vitejs/vite/commit/574d5e351905fe99891364d03c2440531378f7fd)) - **build:** correct preloads when chunkImportMap is enabled with non-root base ([#​23698](https://redirect.github.com/vitejs/vite/issues/23698)) ([2a8c0f0](https://redirect.github.com/vitejs/vite/commit/2a8c0f05c76e35c43ab3560984a5103c8db8dbcd)) - **build:** wait for in-flight stylesheets in preload helper (fix [#​23652](https://redirect.github.com/vitejs/vite/issues/23652)) ([#​23662](https://redirect.github.com/vitejs/vite/issues/23662)) ([036b745](https://redirect.github.com/vitejs/vite/commit/036b74599b2fe1d8c61475371b856ceb88d26963)) - **bundled-dev:** serve `/@vite/client` and stub `@vite/env` ([#​23664](https://redirect.github.com/vitejs/vite/issues/23664)) ([5afc5a8](https://redirect.github.com/vitejs/vite/commit/5afc5a8876624888fc1e8f43fed1c85c4b0e830b)) - **client:** skip rewriting unchanged adopted styles ([#​23697](https://redirect.github.com/vitejs/vite/issues/23697)) ([fa71469](https://redirect.github.com/vitejs/vite/commit/fa7146938b0ca703653c90c20907191a01c032ba)) - **css:** resolve imported preprocessors from their file path with lightningcss ([#​23688](https://redirect.github.com/vitejs/vite/issues/23688)) ([cf52011](https://redirect.github.com/vitejs/vite/commit/cf52011c46409a4a45f3d74bba631b8f005c4bc9)) - **deps:** update all non-major dependencies ([#​23648](https://redirect.github.com/vitejs/vite/issues/23648)) ([8a4c19c](https://redirect.github.com/vitejs/vite/commit/8a4c19cfc035f2dd203f2fa6d00ab9256a5e77c9)) - **deps:** update rolldown-related dependencies ([#​23649](https://redirect.github.com/vitejs/vite/issues/23649)) ([794516d](https://redirect.github.com/vitejs/vite/commit/794516d50cff80e405bc9b3e5faac1c82987566c)) - **dev:** a restart requested during a restart used to be dropped (fix [#​23392](https://redirect.github.com/vitejs/vite/issues/23392)) ([#​23484](https://redirect.github.com/vitejs/vite/issues/23484)) ([70d56ea](https://redirect.github.com/vitejs/vite/commit/70d56ea1848909edab416934f3f68ce14343eb73)) - don't treat modules ending with js-like query as js ([#​23687](https://redirect.github.com/vitejs/vite/issues/23687)) ([fcb6f12](https://redirect.github.com/vitejs/vite/commit/fcb6f1252a95857823d935f98554b938888d41a0)) - **html:** avoid adding filesystem root to watcher ([#​23689](https://redirect.github.com/vitejs/vite/issues/23689)) ([3a7f2ae](https://redirect.github.com/vitejs/vite/commit/3a7f2aea757d59bae66ad6edf6b321d26a7e6778)) - **html:** skip caching CSS of chunks in a cycle (fix [#​23628](https://redirect.github.com/vitejs/vite/issues/23628)) ([#​23636](https://redirect.github.com/vitejs/vite/issues/23636)) ([15d82f7](https://redirect.github.com/vitejs/vite/commit/15d82f7dc679ab9c18d5ce2c3711157c2365ddd1)) - **optimizer:** scan deep imports with custom extensions ([#​23678](https://redirect.github.com/vitejs/vite/issues/23678)) ([8579189](https://redirect.github.com/vitejs/vite/commit/8579189bae8626b6ddab55a09325e209d62e027e)) - remove input option unescaping for now ([#​23694](https://redirect.github.com/vitejs/vite/issues/23694)) ([facc2fb](https://redirect.github.com/vitejs/vite/commit/facc2fb1fffce03d9e2dd7011d0bd0eeddc7d0f6)) - **server:** match static aliases on path boundaries ([#​23643](https://redirect.github.com/vitejs/vite/issues/23643)) ([b28db28](https://redirect.github.com/vitejs/vite/commit/b28db28e9e62d9866a9a0f1b22e74589cc180577)) - **watcher:** normalize file before root check in `ensureWatchedFile` ([#​23673](https://redirect.github.com/vitejs/vite/issues/23673)) ([12bb28c](https://redirect.github.com/vitejs/vite/commit/12bb28c22379c8d2fe90088fa0eefbfa2ab3fb80)) ##### Performance Improvements - **module-runner:** skip cloning call sites that have no source map ([#​23646](https://redirect.github.com/vitejs/vite/issues/23646)) ([3d67486](https://redirect.github.com/vitejs/vite/commit/3d674869a50a0bca84a8cc8dc55bd35d57100e37)) ##### Code Refactoring - **bundled-dev:** import CSS HMR helpers from `/@vite/client` ([#​23674](https://redirect.github.com/vitejs/vite/issues/23674)) ([182f5b2](https://redirect.github.com/vitejs/vite/commit/182f5b2a65391da5bee05f9c3df1aeb3794e98d9)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 4am on Wednesday" - Automerge - At any time (no schedule defined) 🚦 **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](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
playground
In-browser playground for Ruff. Available https://play.ruff.rs/.
Getting started
Use npm 11.10.0 or newer so that the dependency cooldown in .npmrc is enforced.
Install the NPM dependencies with npm ci --ignore-scripts, and run the development server with
npm start --workspace ruff-playground or npm start --workspace ty-playground.
You may need to restart the server after making changes to Ruff or ty to re-build the WASM
module.
To run the datastore, which is based
on Workers KV,
run npm ci --ignore-scripts and npm start -- --local from the ./playground/api directory
to use the locked Wrangler CLI.
The datastore is only required to generate shareable URLs for code snippets. The development datastore does not
require Cloudflare authentication or login, but in turn only persists data locally.
Architecture
The playground is implemented as a single-page React application powered by Vite, with the editor experience itself powered by Monaco.
The playground stores state in localStorage, but supports persisting code snippets to
a persistent datastore based
on Workers KV
and exposed via
a Cloudflare Worker.
The playground design is originally based on Tailwind Play, with additional inspiration from the Biome Playground.
Known issues
Stack overflows
If you see stack overflows in the playground, build the WASM module in release mode:
npm run --workspace ty-playground build:wasm.