From 29e488fc7a2a9c2448309e79ae0918b9af509896 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 May 2026 21:09:13 +0000 Subject: [PATCH 1/6] chore(deps): bump the npm-packages group across 1 directory with 18 updates Bumps the npm-packages group with 18 updates in the /docs directory: | Package | From | To | | --- | --- | --- | | [@docsearch/react](https://github.com/algolia/docsearch/tree/HEAD/packages/docsearch-react) | `3.9.0` | `4.6.3` | | [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `1.7.19` | `2.2.10` | | [@markdoc/markdoc](https://github.com/markdoc/markdoc) | `0.2.2` | `0.5.7` | | [@markdoc/next.js](https://github.com/markdoc/next.js) | `0.2.3` | `0.5.0` | | [@sindresorhus/slugify](https://github.com/sindresorhus/slugify) | `2.2.1` | `3.0.0` | | [clsx](https://github.com/lukeed/clsx) | `1.2.1` | `2.1.1` | | [next](https://github.com/vercel/next.js) | `14.2.35` | `16.2.6` | | [postcss-focus-visible](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-focus-visible) | `6.0.4` | `11.0.0` | | [postcss-import](https://github.com/postcss/postcss-import) | `14.1.0` | `16.1.1` | | [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) | `1.3.5` | `2.4.1` | | [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.2.0` | `19.2.6` | | [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.2.0` | `19.2.6` | | [react-icons](https://github.com/react-icons/react-icons) | `4.12.0` | `5.6.0` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `3.4.19` | `4.3.0` | | [eslint](https://github.com/eslint/eslint) | `8.26.0` | `10.3.0` | | [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `13.0.2` | `16.2.6` | | [prettier](https://github.com/prettier/prettier) | `2.8.8` | `3.8.3` | | [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) | `0.1.13` | `0.8.0` | Updates `@docsearch/react` from 3.9.0 to 4.6.3 - [Release notes](https://github.com/algolia/docsearch/releases) - [Changelog](https://github.com/algolia/docsearch/blob/main/CHANGELOG.md) - [Commits](https://github.com/algolia/docsearch/commits/v4.6.3/packages/docsearch-react) Updates `@headlessui/react` from 1.7.19 to 2.2.10 - [Release notes](https://github.com/tailwindlabs/headlessui/releases) - [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.10/packages/@headlessui-react) Updates `@markdoc/markdoc` from 0.2.2 to 0.5.7 - [Release notes](https://github.com/markdoc/markdoc/releases) - [Commits](https://github.com/markdoc/markdoc/compare/0.2.2...0.5.7) Updates `@markdoc/next.js` from 0.2.3 to 0.5.0 - [Release notes](https://github.com/markdoc/next.js/releases) - [Commits](https://github.com/markdoc/next.js/compare/0.2.3...0.5.0) Updates `@sindresorhus/slugify` from 2.2.1 to 3.0.0 - [Release notes](https://github.com/sindresorhus/slugify/releases) - [Commits](https://github.com/sindresorhus/slugify/compare/v2.2.1...v3.0.0) Updates `clsx` from 1.2.1 to 2.1.1 - [Release notes](https://github.com/lukeed/clsx/releases) - [Commits](https://github.com/lukeed/clsx/compare/v1.2.1...v2.1.1) Updates `next` from 14.2.35 to 16.2.6 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v14.2.35...v16.2.6) Updates `postcss-focus-visible` from 6.0.4 to 11.0.0 - [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-focus-visible/CHANGELOG.md) - [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugins/postcss-focus-visible) Updates `postcss-import` from 14.1.0 to 16.1.1 - [Release notes](https://github.com/postcss/postcss-import/releases) - [Changelog](https://github.com/postcss/postcss-import/blob/master/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss-import/compare/14.1.0...16.1.1) Updates `prism-react-renderer` from 1.3.5 to 2.4.1 - [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases) - [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/v1.3.5...prism-react-renderer@2.4.1) Updates `react` from 18.2.0 to 19.2.6 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react) Updates `react-dom` from 18.2.0 to 19.2.6 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react-dom) Updates `react-icons` from 4.12.0 to 5.6.0 - [Release notes](https://github.com/react-icons/react-icons/releases) - [Commits](https://github.com/react-icons/react-icons/compare/v4.12.0...v5.6.0) Updates `tailwindcss` from 3.4.19 to 4.3.0 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.0/packages/tailwindcss) Updates `eslint` from 8.26.0 to 10.3.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v8.26.0...v10.3.0) Updates `eslint-config-next` from 13.0.2 to 16.2.6 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.2.6/packages/eslint-config-next) Updates `prettier` from 2.8.8 to 3.8.3 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.8.3) Updates `prettier-plugin-tailwindcss` from 0.1.13 to 0.8.0 - [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.1.13...v0.8.0) --- updated-dependencies: - dependency-name: "@docsearch/react" dependency-version: 4.6.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: "@headlessui/react" dependency-version: 2.2.10 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: "@markdoc/markdoc" dependency-version: 0.5.7 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-packages - dependency-name: "@markdoc/next.js" dependency-version: 0.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-packages - dependency-name: "@sindresorhus/slugify" dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: clsx dependency-version: 2.1.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: eslint dependency-version: 10.3.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: eslint-config-next dependency-version: 16.2.6 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: next dependency-version: 16.2.6 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: postcss-focus-visible dependency-version: 11.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: postcss-import dependency-version: 16.1.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: prettier dependency-version: 3.8.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: prettier-plugin-tailwindcss dependency-version: 0.8.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-packages - dependency-name: prism-react-renderer dependency-version: 2.4.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: react dependency-version: 19.2.6 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: react-dom dependency-version: 19.2.6 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: react-icons dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages - dependency-name: tailwindcss dependency-version: 4.3.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-packages ... Signed-off-by: dependabot[bot] --- docs/package.json | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/package.json b/docs/package.json index a77d271..1476b06 100644 --- a/docs/package.json +++ b/docs/package.json @@ -10,28 +10,28 @@ }, "browserslist": "defaults, not ie <= 11", "dependencies": { - "@docsearch/react": "^3.3.4", - "@headlessui/react": "^1.7.2", - "@markdoc/markdoc": "^0.2.2", - "@markdoc/next.js": "^0.2.2", - "@sindresorhus/slugify": "^2.1.0", + "@docsearch/react": "^4.6.3", + "@headlessui/react": "^2.2.10", + "@markdoc/markdoc": "^0.5.7", + "@markdoc/next.js": "^0.5.0", + "@sindresorhus/slugify": "^3.0.0", "@tailwindcss/typography": "^0.5.7", "autoprefixer": "^10.4.12", - "clsx": "^1.2.1", + "clsx": "^2.1.1", "focus-visible": "^5.2.0", - "next": "14.2.35", - "postcss-focus-visible": "^6.0.4", - "postcss-import": "^14.1.0", - "prism-react-renderer": "^1.3.5", - "react": "18.2.0", - "react-dom": "18.2.0", - "react-icons": "^4.8.0", - "tailwindcss": "^3.2.1" + "next": "16.2.6", + "postcss-focus-visible": "^11.0.0", + "postcss-import": "^16.1.1", + "prism-react-renderer": "^2.4.1", + "react": "19.2.6", + "react-dom": "19.2.6", + "react-icons": "^5.6.0", + "tailwindcss": "^4.3.0" }, "devDependencies": { - "eslint": "8.26.0", - "eslint-config-next": "13.0.2", - "prettier": "^2.7.1", - "prettier-plugin-tailwindcss": "^0.1.13" + "eslint": "10.3.0", + "eslint-config-next": "16.2.6", + "prettier": "^3.8.3", + "prettier-plugin-tailwindcss": "^0.8.0" } } From 0db0964ae85f7294fbfa6890aa6c4dc97beef4bc Mon Sep 17 00:00:00 2001 From: Brian Thorne Date: Fri, 15 May 2026 19:43:40 +1200 Subject: [PATCH 2/6] fix: keep docs dependency update buildable --- docs/package.json | 4 ++-- docs/src/components/Fence.jsx | 7 +++---- docs/src/components/Hero.jsx | 3 +-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/package.json b/docs/package.json index 1476b06..e8e9c60 100644 --- a/docs/package.json +++ b/docs/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "next build --webpack", "start": "next start", "lint": "next lint" }, @@ -26,7 +26,7 @@ "react": "19.2.6", "react-dom": "19.2.6", "react-icons": "^5.6.0", - "tailwindcss": "^4.3.0" + "tailwindcss": "^3.4.19" }, "devDependencies": { "eslint": "10.3.0", diff --git a/docs/src/components/Fence.jsx b/docs/src/components/Fence.jsx index 182609b..bee06ff 100644 --- a/docs/src/components/Fence.jsx +++ b/docs/src/components/Fence.jsx @@ -1,7 +1,7 @@ import React from "react"; import { Fragment } from 'react' -import Highlight, { defaultProps } from 'prism-react-renderer' +import { Highlight } from 'prism-react-renderer' export function Fence({ children, language }) { const [copied, setCopied] = React.useState(false); @@ -24,9 +24,8 @@ export function Fence({ children, language }) { return ( <> {({ className, style, tokens, getTokenProps }) => ( @@ -87,4 +86,4 @@ const CopiedIcon = () => ( > -); \ No newline at end of file +); diff --git a/docs/src/components/Hero.jsx b/docs/src/components/Hero.jsx index 34cc234..044ae6a 100644 --- a/docs/src/components/Hero.jsx +++ b/docs/src/components/Hero.jsx @@ -1,7 +1,7 @@ import React, { Fragment, useState } from 'react' import Image from 'next/image' import clsx from 'clsx' -import Highlight, { defaultProps } from 'prism-react-renderer' +import { Highlight } from 'prism-react-renderer' import { Button } from '@/components/Button' import { HeroBackground } from '@/components/HeroBackground' @@ -161,7 +161,6 @@ export function Hero() { ))} Date: Fri, 15 May 2026 20:17:57 +1200 Subject: [PATCH 3/6] fix: pin docs Node runtime --- docs/.node-version | 1 + docs/package.json | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 docs/.node-version diff --git a/docs/.node-version b/docs/.node-version new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/docs/.node-version @@ -0,0 +1 @@ +22 diff --git a/docs/package.json b/docs/package.json index e8e9c60..2b479d0 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,6 +2,9 @@ "name": "tailwindui-syntax", "version": "0.1.0", "private": true, + "engines": { + "node": ">=20.9.0" + }, "scripts": { "dev": "next dev", "build": "next build --webpack", From 9b4ebb30e2e6e441c4b86e96000b487c602d0e80 Mon Sep 17 00:00:00 2001 From: Brian Thorne Date: Fri, 15 May 2026 20:33:39 +1200 Subject: [PATCH 4/6] fix: add Cloudflare docs Node version hint --- docs/.nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/.nvmrc diff --git a/docs/.nvmrc b/docs/.nvmrc new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/docs/.nvmrc @@ -0,0 +1 @@ +22 From 7e223a9c3aba105b2caf761411e044eec3e36f0b Mon Sep 17 00:00:00 2001 From: Brian Thorne Date: Sat, 16 May 2026 07:15:58 +1200 Subject: [PATCH 5/6] fix: keep docs build on Next 15 --- docs/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/package.json b/docs/package.json index 2b479d0..2cb7884 100644 --- a/docs/package.json +++ b/docs/package.json @@ -7,7 +7,7 @@ }, "scripts": { "dev": "next dev", - "build": "next build --webpack", + "build": "next build", "start": "next start", "lint": "next lint" }, @@ -22,7 +22,7 @@ "autoprefixer": "^10.4.12", "clsx": "^2.1.1", "focus-visible": "^5.2.0", - "next": "16.2.6", + "next": "15.5.18", "postcss-focus-visible": "^11.0.0", "postcss-import": "^16.1.1", "prism-react-renderer": "^2.4.1", @@ -32,8 +32,8 @@ "tailwindcss": "^3.4.19" }, "devDependencies": { - "eslint": "10.3.0", - "eslint-config-next": "16.2.6", + "eslint": "9.39.4", + "eslint-config-next": "15.5.18", "prettier": "^3.8.3", "prettier-plugin-tailwindcss": "^0.8.0" } From ce59cbd4f266bb94262c50cd15f79799e8bc15f0 Mon Sep 17 00:00:00 2001 From: Brian Thorne Date: Sat, 16 May 2026 07:31:54 +1200 Subject: [PATCH 6/6] fix: override vulnerable docs PostCSS --- docs/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/package.json b/docs/package.json index 2cb7884..4d36d6e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,6 +12,9 @@ "lint": "next lint" }, "browserslist": "defaults, not ie <= 11", + "overrides": { + "postcss": "8.5.14" + }, "dependencies": { "@docsearch/react": "^4.6.3", "@headlessui/react": "^2.2.10",