are-docs-informative
Advanced tools
Comparing version
@@ -23,3 +23,3 @@ export * from "./types.js"; | ||
return (typeof text === "string" ? [text] : text).flatMap((name2) => { | ||
return name2.replace(/\W+/gu, " ").replace(/([a-z])([A-Z])/gu, "$1 $2").trim().split(" "); | ||
return name2.replace(/[^\p{L}\p{N}_]+/gu, " ").replace(/(\p{Ll})(\p{Lu})/gu, "$1 $2").trim().split(" "); | ||
}).flatMap(normalizeWord).filter(Boolean); | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "are-docs-informative", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Checks whether a documentation description introduces any new information. ℹ️", | ||
@@ -38,26 +38,26 @@ "repository": { | ||
"devDependencies": { | ||
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1", | ||
"@eslint/js": "9.24.0", | ||
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0", | ||
"@eslint/js": "9.28.0", | ||
"@release-it/conventional-changelog": "10.0.0", | ||
"@types/eslint-plugin-markdown": "2.0.2", | ||
"@types/node": "22.14.0", | ||
"@vitest/coverage-v8": "3.1.1", | ||
"@vitest/eslint-plugin": "1.1.38", | ||
"@types/node": "22.15.0", | ||
"@vitest/coverage-v8": "3.2.0", | ||
"@vitest/eslint-plugin": "1.2.0", | ||
"console-fail-test": "0.5.0", | ||
"create-typescript-app": "2.34.0", | ||
"cspell": "8.18.0", | ||
"eslint": "9.24.0", | ||
"eslint-plugin-jsdoc": "50.6.8", | ||
"cspell": "9.0.0", | ||
"eslint": "9.28.0", | ||
"eslint-plugin-jsdoc": "50.7.0", | ||
"eslint-plugin-jsonc": "2.20.0", | ||
"eslint-plugin-markdown": "5.1.0", | ||
"eslint-plugin-n": "17.16.2", | ||
"eslint-plugin-package-json": "0.29.0", | ||
"eslint-plugin-perfectionist": "4.11.0", | ||
"eslint-plugin-regexp": "2.7.0", | ||
"eslint-plugin-yml": "1.17.0", | ||
"eslint-plugin-package-json": "0.33.0", | ||
"eslint-plugin-perfectionist": "4.14.0", | ||
"eslint-plugin-regexp": "2.8.0", | ||
"eslint-plugin-yml": "1.18.0", | ||
"husky": "9.1.7", | ||
"knip": "5.50.1", | ||
"lint-staged": "15.5.0", | ||
"markdownlint": "0.37.4", | ||
"markdownlint-cli": "0.44.0", | ||
"knip": "5.60.0", | ||
"lint-staged": "16.1.0", | ||
"markdownlint": "0.38.0", | ||
"markdownlint-cli": "0.45.0", | ||
"prettier": "3.5.3", | ||
@@ -67,10 +67,10 @@ "prettier-plugin-curly": "0.3.1", | ||
"prettier-plugin-sh": "0.17.0", | ||
"release-it": "18.1.2", | ||
"release-it": "19.0.1", | ||
"sentences-per-line": "0.3.0", | ||
"tsup": "8.4.0", | ||
"tsup": "8.5.0", | ||
"typescript": "5.8.2", | ||
"typescript-eslint": "8.29.0", | ||
"vitest": "3.1.1" | ||
"typescript-eslint": "8.33.0", | ||
"vitest": "3.2.0" | ||
}, | ||
"packageManager": "pnpm@10.8.0", | ||
"packageManager": "pnpm@10.11.0", | ||
"engines": { | ||
@@ -77,0 +77,0 @@ "node": ">=18" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10245
0.13%0
-100%