From 36c738e9e129f218ea12350ecc449cda39136d41 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 16 Jan 2025 14:25:09 +0100 Subject: [PATCH] Update dev-dependencies --- .remarkrc.js | 2 +- asset/index.css | 3 ++- asset/search.js | 1 + doc/learn/create-an-editor.md | 4 ++-- package.json | 8 ++++---- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.remarkrc.js b/.remarkrc.js index 3da3f6cc1d6..cc611eaee4d 100644 --- a/.remarkrc.js +++ b/.remarkrc.js @@ -46,7 +46,7 @@ const config = { remarkPresetWooorm, remarkFrontmatter, [remarkRetext, naturalLanguage], - remarkValidateLinks, + [remarkValidateLinks, false], [remarkLintNoDeadUrls, 'https://unifiedjs.com'], [remarkLintFirstHeadingLevel, 2], [remarkLintNoHtml, false] diff --git a/asset/index.css b/asset/index.css index 0c2b9cc624e..f613c8e4d15 100644 --- a/asset/index.css +++ b/asset/index.css @@ -489,6 +489,7 @@ abbr { .double-ellipsis { overflow: hidden; + /* stylelint-disable-next-line declaration-property-value-no-unknown */ display: box; -webkit-line-clamp: 2; line-clamp: 2; @@ -782,7 +783,7 @@ a.tag:focus .count { } .content li { - word-wrap: break-all; + word-wrap: break-word; margin-top: calc(0.25 * (1em + 1ex)); margin-bottom: calc(0.25 * (1em + 1ex)); margin-left: calc(1 * (1em + 1ex)); diff --git a/asset/search.js b/asset/search.js index 73cab420a8c..facdb00e6c0 100644 --- a/asset/search.js +++ b/asset/search.js @@ -1,5 +1,6 @@ /// +/* eslint-disable unicorn/prefer-global-this */ /* eslint-env browser */ /** diff --git a/doc/learn/create-an-editor.md b/doc/learn/create-an-editor.md index 28ccc650988..1b3700a9704 100644 --- a/doc/learn/create-an-editor.md +++ b/doc/learn/create-an-editor.md @@ -23,7 +23,7 @@ them. It’s made with [React][] and runs in a browser. For this example we’ll create an app that visualizes sentence length. -Based on a tip by [Gary Provost][gary-propost]. +Based on a tip by [Gary Provost][gary-provost]. The visualization is based on [a tweet by `@gregoryciotti`][gregoryciotti-tweet]. @@ -456,7 +456,7 @@ If you haven’t already, check out the other articles in the [esbuild]: https://esbuild.github.io -[gary-propost]: https://www.garyprovost.com/ +[gary-provost]: https://en.wikipedia.org/wiki/Gary_Provost [github-parse-english]: https://github.com/wooorm/parse-english diff --git a/package.json b/package.json index a7cc43b8ac3..c49255f8e8b 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "@types/d3-scale": "^4.0.0", "@types/node": "^22.0.0", "@types/random-useragent": "^0.3.0", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@types/xast": "^2.0.0", "@wooorm/starry-night": "^3.0.0", "bytes": "^3.0.0", @@ -98,7 +98,7 @@ "spdx-license-list": "^6.0.0", "strip-comments": "^2.0.0", "stylelint": "^16.0.0", - "stylelint-config-standard": "^36.0.0", + "stylelint-config-standard": "^37.0.0", "to-vfile": "^8.0.0", "type-coverage": "^2.0.0", "type-fest": "^4.0.0", @@ -117,7 +117,7 @@ "xast-util-sitemap": "^2.0.0", "xast-util-to-xml": "^4.0.0", "xastscript": "^4.0.0", - "xo": "^0.59.0", + "xo": "^0.60.0", "yaml": "^2.0.0" }, "homepage": "https://unifiedjs.com",