wikilint 2.35.1 → 2.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/config.js +1 -1
- package/dist/lib/text.js +1 -1
- package/package.json +11 -11
package/dist/bin/config.js
CHANGED
package/dist/lib/text.js
CHANGED
|
@@ -10,7 +10,7 @@ const debug_1 = require("../util/debug");
|
|
|
10
10
|
const index_1 = __importDefault(require("../index"));
|
|
11
11
|
const node_1 = require("./node");
|
|
12
12
|
const sp = /* #__PURE__ */ (() => String.raw `[${string_1.zs}\t]*`)(), source = /* #__PURE__ */ (() => String.raw `<(?:/[^\S\n]*)?([a-z]\w*)|\{+|\}+|\[{2,}|\[(?![^[]*?\])|((?:^|\])[^[]*?)\]+|\n={2,}`)();
|
|
13
|
-
const errorSyntax = /* #__PURE__ */ (() => new RegExp(String.raw `${source}
|
|
13
|
+
const errorSyntax = /* #__PURE__ */ (() => new RegExp(String.raw `${source}|\bhttps?[:/]/+|\b(?:rfc|pmid)(?=[-::]?${sp}\d)|\bisbn(?=[-::]?${sp}(?:\d(?:${sp}|-)){6})`, 'giu'))();
|
|
14
14
|
const errorSyntaxUrl = /* #__PURE__ */ new RegExp(source, 'giu'), noLinkTypes = new Set(['attr-value', 'ext-link-text', 'link-text']), regexes = {
|
|
15
15
|
'[': /[[\]]/u,
|
|
16
16
|
'{': /[{}]/u,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wikilint",
|
|
3
|
-
"version": "2.35.
|
|
3
|
+
"version": "2.35.2",
|
|
4
4
|
"description": "A Node.js linter for MediaWiki markup",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mediawiki",
|
|
@@ -82,36 +82,36 @@
|
|
|
82
82
|
"color-name": "^2.0.0",
|
|
83
83
|
"entities": "^7.0.1",
|
|
84
84
|
"mathoid-texvcjs": "^0.6.0",
|
|
85
|
-
"minimatch": "^10.
|
|
86
|
-
"stylelint": "^17.
|
|
85
|
+
"minimatch": "^10.2.2",
|
|
86
|
+
"stylelint": "^17.3.0",
|
|
87
87
|
"vscode-css-languageservice": "^6.3.9",
|
|
88
88
|
"vscode-html-languageservice": "^5.6.1",
|
|
89
89
|
"vscode-json-languageservice": "^5.7.1"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@bhsd/code-standard": "^2.0.
|
|
92
|
+
"@bhsd/code-standard": "^2.0.1",
|
|
93
93
|
"@bhsd/nodejs": "^0.1.0",
|
|
94
94
|
"@bhsd/test-util": "^0.3.0",
|
|
95
|
-
"@stylistic/eslint-plugin": "^5.
|
|
95
|
+
"@stylistic/eslint-plugin": "^5.8.0",
|
|
96
96
|
"@types/color-name": "^2.0.0",
|
|
97
97
|
"@types/color-rgba": "^2.1.3",
|
|
98
98
|
"@types/mocha": "^10.0.10",
|
|
99
|
-
"@types/node": "^24.10.
|
|
99
|
+
"@types/node": "^24.10.13",
|
|
100
100
|
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
101
101
|
"@typescript-eslint/parser": "^8.54.0",
|
|
102
102
|
"c8": "^10.1.3",
|
|
103
103
|
"color-rgba": "^3.0.0",
|
|
104
104
|
"diff2html-cli": "^5.2.15",
|
|
105
105
|
"esbuild": "^0.27.3",
|
|
106
|
-
"eslint": "^9.39.
|
|
106
|
+
"eslint": "^9.39.3",
|
|
107
107
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
108
|
-
"eslint-plugin-jsdoc": "^62.
|
|
109
|
-
"eslint-plugin-jsonc": "^2.21.
|
|
108
|
+
"eslint-plugin-jsdoc": "^62.7.0",
|
|
109
|
+
"eslint-plugin-jsonc": "^2.21.1",
|
|
110
110
|
"eslint-plugin-n": "^17.23.2",
|
|
111
111
|
"eslint-plugin-promise": "^7.2.1",
|
|
112
112
|
"eslint-plugin-regexp": "^3.0.0",
|
|
113
|
-
"eslint-plugin-unicorn": "^
|
|
114
|
-
"markdownlint-cli2": "^0.
|
|
113
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
114
|
+
"markdownlint-cli2": "^0.21.0",
|
|
115
115
|
"mocha": "^11.7.5",
|
|
116
116
|
"typescript": "^5.9.3",
|
|
117
117
|
"v8r": "^5.1.0",
|