From eb90df2dbc477e0ffb49264679cf0c737d0b1c65 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 6 Aug 2026 13:02:32 +0000 Subject: [PATCH 1/3] Bump linkinator from 7.6.1 to 8.0.3 Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 7.6.1 to 8.0.3. - [Release notes](https://github.com/JustinBeckwith/linkinator/releases) - [Changelog](https://github.com/JustinBeckwith/linkinator/blob/main/CHANGELOG.md) - [Commits](https://github.com/JustinBeckwith/linkinator/compare/linkinator-v7.6.1...linkinator-v8.0.3) --- updated-dependencies: - dependency-name: linkinator dependency-version: 8.0.3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 134 +++++++++++++++++++++++++++++++++++----------- package.json | 2 +- 2 files changed, 103 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2f9e316b9d..0e9f834865 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@docusaurus/theme-mermaid": "3.10.2", "@mdx-js/react": "^3.1.1", "classnames": "^2.2.6", - "linkinator": "^7.6.1", + "linkinator": "^8.0.3", "lunr": "^2.3.9", "mermaid": "^11.16.0", "prism-react-renderer": "^2.4.1", @@ -13251,27 +13251,27 @@ "license": "MIT" }, "node_modules/linkinator": { - "version": "7.6.1", - "resolved": "https://registry.npmjs.org/linkinator/-/linkinator-7.6.1.tgz", - "integrity": "sha512-+VzKKZXA8wyCW1x0B0YeQvyuenDu3vZGIWMdzK1yEK0HlBfmEKopt87+Judt4VdPOGRMioKzJK0+X8ifIvOc5Q==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/linkinator/-/linkinator-8.0.3.tgz", + "integrity": "sha512-1WG/oEMICKXtXZEH92UQJr3R7PBJqAl/xAZQwc71Pej30QCcNyb69PpzizM+5sgpLw3jKF52ob6LFJv5/k/+rA==", "license": "MIT", "dependencies": { - "chalk": "^5.0.0", + "chalk": "^6.0.0", "escape-html": "^1.0.3", "glob": "^13.0.0", - "htmlparser2": "^10.0.0", - "marked": "^17.0.0", - "marked-gfm-heading-id": "^4.1.3", + "htmlparser2": "^12.0.0", + "marked": "^18.0.0", + "marked-gfm-heading-id": "^4.1.4", "meow": "^14.0.0", "mime": "^4.0.0", "srcset": "^5.0.0", - "undici": "^7.16.0" + "undici": "^8.0.0" }, "bin": { "linkinator": "build/src/cli.js" }, "engines": { - "node": ">=20" + "node": ">=22" } }, "node_modules/linkinator/node_modules/balanced-match": { @@ -13296,24 +13296,91 @@ } }, "node_modules/linkinator/node_modules/chalk": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-6.0.0.tgz", + "integrity": "sha512-2uNTXIuTTxk7ciZgAU1BQcgnchcG0xXnrs6jzkQfj9SsRa9M2s5zE8WT96hS6KmG4MzWHSrvH43DF1m4XRkrFg==", "license": "MIT", "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" + "node": ">=22" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/linkinator/node_modules/dom-serializer": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.1.1.tgz", + "integrity": "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw==", + "license": "MIT", + "dependencies": { + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0", + "entities": "^8.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/linkinator/node_modules/domelementtype": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-3.0.0.tgz", + "integrity": "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/linkinator/node_modules/domhandler": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-6.0.1.tgz", + "integrity": "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg==", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^3.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/linkinator/node_modules/domutils": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-4.0.2.tgz", + "integrity": "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA==", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^3.0.0", + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, "node_modules/linkinator/node_modules/entities": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", - "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-8.0.0.tgz", + "integrity": "sha512-zwfzJecQ/Uej6tusMqwAqU/6KL2XaB2VZ2Jg54Je6ahNBGNH6Ek6g3jjNCF0fG9EWQKGZNddNjU5F1ZQn/sBnA==", "license": "BSD-2-Clause", "engines": { - "node": ">=0.12" + "node": ">=20.19.0" }, "funding": { "url": "https://github.com/fb55/entities?sponsor=1" @@ -13337,9 +13404,9 @@ } }, "node_modules/linkinator/node_modules/htmlparser2": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz", - "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-12.0.0.tgz", + "integrity": "sha512-Tz7u1i95/g2x2jz81+x0FBVhBhY5aRTvD3tXXdFaljuNdzDLJ8UGNRrTcj2cgQvAg3iW/h77Fz15nLW0L0CrZw==", "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", { @@ -13349,16 +13416,19 @@ ], "license": "MIT", "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.2.2", - "entities": "^7.0.1" + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0", + "domutils": "^4.0.2", + "entities": "^8.0.0" + }, + "engines": { + "node": ">=20.19.0" } }, "node_modules/linkinator/node_modules/marked": { - "version": "17.0.6", - "resolved": "https://registry.npmjs.org/marked/-/marked-17.0.6.tgz", - "integrity": "sha512-gB0gkNafnonOw0obSTEGZTT86IuhILt2Wfx0mWH/1Au83kybTayroZ/V6nS25mN7u8ASy+5fMhgB3XPNrOZdmA==", + "version": "18.0.9", + "resolved": "https://registry.npmjs.org/marked/-/marked-18.0.9.tgz", + "integrity": "sha512-/Sa4qiiHZxf0/FQdBBowr9q4r10krCwMvpK48FUBdXdUXScDxiQGR9zCPrFgRVR5LU3iySOiIjy09ZQvADir1w==", "license": "MIT", "bin": { "marked": "bin/marked.js" @@ -20980,12 +21050,12 @@ } }, "node_modules/undici": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz", - "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.10.0.tgz", + "integrity": "sha512-HvltHd7avK13QIw/oLe4qoOLyoVSoafqJ2jYOrtMRBkbYT31eiBQ8O0ehRKZiEZCMEyLFQNIADpgCWC5fALvYQ==", "license": "MIT", "engines": { - "node": ">=20.18.1" + "node": ">=22.19.0" } }, "node_modules/undici-types": { diff --git a/package.json b/package.json index a1cfdeb964..12d422e29c 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@docusaurus/core": "3.10.2", "@docusaurus/preset-classic": "3.10.2", "@docusaurus/theme-mermaid": "3.10.2", - "linkinator": "^7.6.1", + "linkinator": "^8.0.3", "classnames": "^2.2.6", "lunr": "^2.3.9", "mermaid": "^11.16.0", From dd69660ec2b43fd0690249fc642ac28f2b993ad4 Mon Sep 17 00:00:00 2001 From: mbaj Date: Thu, 6 Aug 2026 09:33:03 -0400 Subject: [PATCH 2/3] corrected the updating of linkinator --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 12d422e29c..1c0aecd039 100644 --- a/package.json +++ b/package.json @@ -14,17 +14,17 @@ "lint": "eslint --cache \"**/*.js\"", "prettier": "prettier --config .prettierrc --write \"**/*.{js,md}\"", "prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,md}\"", - "check-links": "linkinator ./build --config linkinator.config.json --format json 2>/dev/null | node -e \"const c=[];process.stdin.on('data',d=>c.push(d));process.stdin.on('end',()=>{const raw=c.join('');if(!raw.trim()){console.error('[ERROR] linkinator produced no output');process.exit(1);}const r=JSON.parse(raw);const b=r.links.filter(l=>l.state==='BROKEN');if(!b.length){console.log('All '+r.links.length+' links OK');}else{console.log('[ERROR] BROKEN LINKS ('+b.length+' of '+r.links.length+'):\\n');b.forEach(l=>{console.log('['+l.status+'] '+l.url);if(l.failureDetails){console.log(' reason: '+l.failureDetails);}console.log(' found in: '+l.parent);});process.exit(1);}})\"" + "check-links": "linkinator ./build --config linkinator.config.json --format json | node -e \"const c=[];process.stdin.on('data',d=>c.push(d));process.stdin.on('end',()=>{const raw=c.join('');if(!raw.trim()){console.error('[ERROR] linkinator produced no output');process.exit(1);}const r=JSON.parse(raw);const b=r.links.filter(l=>l.state==='BROKEN');if(!b.length){console.log('All '+r.links.length+' links OK');}else{console.log('[ERROR] BROKEN LINKS ('+b.length+' of '+r.links.length+'):\\n');b.forEach(l=>{console.log('['+l.status+'] '+l.url);if(l.failureDetails){console.log(' reason: '+l.failureDetails);}console.log(' found in: '+l.parent);});process.exit(1);}})\"" }, "dependencies": { "@docusaurus/core": "3.10.2", "@docusaurus/preset-classic": "3.10.2", "@docusaurus/theme-mermaid": "3.10.2", - "linkinator": "^8.0.3", + "@mdx-js/react": "^3.1.1", "classnames": "^2.2.6", + "linkinator": "^8.0.3", "lunr": "^2.3.9", "mermaid": "^11.16.0", - "@mdx-js/react": "^3.1.1", "prism-react-renderer": "^2.4.1", "react": "^19.2.8", "react-dom": "^19.2.8", From 112a2361150e422b15892a96c08e07193a751282 Mon Sep 17 00:00:00 2001 From: mbaj Date: Thu, 6 Aug 2026 10:03:22 -0400 Subject: [PATCH 3/3] Additional changes to support bumping linkinator and simplifying the differences betweeen main and juniper-docs-migration branches --- .github/workflows/main.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 46cdb68290..7a8b043bc0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 with: - node-version: '20.x' + node-version: '22.x' - name: Cache Node.js modules uses: actions/cache@v6 diff --git a/package.json b/package.json index 1c0aecd039..35dced4eba 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "start": "docusaurus start --host 0.0.0.0", "start:offline": "OFFLINE_DOCS=1 docusaurus start --host 0.0.0.0", "serve": "docusaurus serve", - "build": "docusaurus build", + "build": "docusaurus build --out-dir ${BUILD_OUT_DIR:-build}", "build:offline": "OFFLINE_DOCS=1 docusaurus build --out-dir=offline-docs", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", @@ -14,7 +14,7 @@ "lint": "eslint --cache \"**/*.js\"", "prettier": "prettier --config .prettierrc --write \"**/*.{js,md}\"", "prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,md}\"", - "check-links": "linkinator ./build --config linkinator.config.json --format json | node -e \"const c=[];process.stdin.on('data',d=>c.push(d));process.stdin.on('end',()=>{const raw=c.join('');if(!raw.trim()){console.error('[ERROR] linkinator produced no output');process.exit(1);}const r=JSON.parse(raw);const b=r.links.filter(l=>l.state==='BROKEN');if(!b.length){console.log('All '+r.links.length+' links OK');}else{console.log('[ERROR] BROKEN LINKS ('+b.length+' of '+r.links.length+'):\\n');b.forEach(l=>{console.log('['+l.status+'] '+l.url);if(l.failureDetails){console.log(' reason: '+l.failureDetails);}console.log(' found in: '+l.parent);});process.exit(1);}})\"" + "check-links": "linkinator \"${LINKINATOR_PATH:-**/*.html}\" --server-root ${BUILD_OUT_DIR:-build} --config linkinator.config.json --format json | node -e \"const c=[];process.stdin.on('data',d=>c.push(d));process.stdin.on('end',()=>{const raw=c.join('');if(!raw.trim()){console.error('[ERROR] linkinator produced no output');process.exit(1);}const r=JSON.parse(raw);const b=r.links.filter(l=>l.state==='BROKEN');if(!b.length){console.log('All '+r.links.length+' links OK');}else{console.log('[ERROR] BROKEN LINKS ('+b.length+' of '+r.links.length+'):\\n');b.forEach(l=>{console.log('['+l.status+'] '+l.url);if(l.failureDetails){console.log(' reason: '+l.failureDetails);}console.log(' found in: '+l.parent);});process.exit(1);}})\"" }, "dependencies": { "@docusaurus/core": "3.10.2",