@bhsd/codemirror-mediawiki 3.10.0 → 3.10.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/README.md +78 -78
- package/dist/bidi.d.ts +5 -0
- package/dist/bidi.js +5 -0
- package/dist/codemirror.d.ts +7 -0
- package/dist/codemirror.js +10 -3
- package/dist/color.d.ts +7 -4
- package/dist/color.js +4 -0
- package/dist/css.d.ts +5 -0
- package/dist/css.js +5 -0
- package/dist/escape.d.ts +21 -1
- package/dist/escape.js +42 -24
- package/dist/fold.d.ts +55 -3
- package/dist/fold.js +54 -30
- package/dist/hover.d.ts +14 -1
- package/dist/hover.js +49 -31
- package/dist/html.js +17 -12
- package/dist/indent.d.ts +7 -0
- package/dist/indent.js +7 -1
- package/dist/inlay.js +1 -1
- package/dist/javascript.d.ts +10 -1
- package/dist/javascript.js +6 -1
- package/dist/keybindings.d.ts +1 -0
- package/dist/keybindings.js +1 -0
- package/dist/keymap.d.ts +11 -0
- package/dist/keymap.js +3 -4
- package/dist/linter.d.ts +16 -0
- package/dist/linter.js +8 -1
- package/dist/lintsource.d.ts +36 -4
- package/dist/lintsource.js +37 -4
- package/dist/lua.js +31 -20
- package/dist/main.min.js +29 -29
- package/dist/matchBrackets.d.ts +16 -0
- package/dist/matchBrackets.js +16 -0
- package/dist/matchTag.d.ts +5 -2
- package/dist/matchTag.js +7 -4
- package/dist/mediawiki.d.ts +11 -0
- package/dist/mediawiki.js +8 -4
- package/dist/mw.min.js +31 -31
- package/dist/mwConfig.js +1 -1
- package/dist/openLinks.d.ts +8 -0
- package/dist/openLinks.js +8 -0
- package/dist/ref.d.ts +15 -1
- package/dist/ref.js +81 -65
- package/dist/signature.d.ts +6 -0
- package/dist/signature.js +22 -19
- package/dist/static.d.ts +4 -0
- package/dist/static.js +4 -0
- package/dist/theme.d.ts +1 -0
- package/dist/theme.js +3 -1
- package/dist/token.d.ts +9 -1
- package/dist/token.js +12 -6
- package/dist/util.d.ts +8 -0
- package/dist/util.js +8 -0
- package/dist/wiki.min.js +30 -30
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/package.json +22 -22
package/i18n/en.json
CHANGED
package/i18n/zh-hans.json
CHANGED
package/i18n/zh-hant.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bhsd/codemirror-mediawiki",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.2",
|
|
4
4
|
"description": "Modified CodeMirror mode based on wikimedia/mediawiki-extensions-CodeMirror",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mediawiki",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"lint": "npm run lint:ts && npm run lint:css && npm run lint:md",
|
|
49
49
|
"prof": "node --prof test/dist/test/prof.js && node --prof-process isolate-0x*-v8.log > test/prof.txt && gsed -i '0,/Bottom up/d' test/prof.txt && rm isolate-0x*-v8.log",
|
|
50
50
|
"server": "npm run test:end; http-server .. -c-1 --cors -s &",
|
|
51
|
-
"test": "mocha test/dist/test/*.test.js && mocha
|
|
51
|
+
"test": "mocha test/dist/test/*.test.js && mocha test/dist/test/test.js",
|
|
52
52
|
"test:end": "pkill -x http-server",
|
|
53
53
|
"test:real": "node test/dist/test/real.js",
|
|
54
54
|
"diff": "git diff --ignore-all-space --color-moved --minimal npm wikitext"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@bhsd/browser": "^0.2.1",
|
|
58
58
|
"@bhsd/cm-util": "^0.1.0",
|
|
59
59
|
"@bhsd/codemirror-css-color-picker": "^6.3.2",
|
|
60
|
-
"@bhsd/common": "^1.3.
|
|
60
|
+
"@bhsd/common": "^1.3.1",
|
|
61
61
|
"@bhsd/lezer-abusefilter": "^0.1.2",
|
|
62
62
|
"@bhsd/stylelint-util": "^1.0.1",
|
|
63
63
|
"@codemirror/autocomplete": "^6.20.0",
|
|
@@ -69,43 +69,43 @@
|
|
|
69
69
|
"@codemirror/lang-json": "^6.0.2",
|
|
70
70
|
"@codemirror/lang-vue": "^0.1.3",
|
|
71
71
|
"@codemirror/legacy-modes": "^6.5.2",
|
|
72
|
-
"@codemirror/lint": "^6.9.
|
|
73
|
-
"@codemirror/search": "^6.
|
|
74
|
-
"@codemirror/state": "^6.5.
|
|
72
|
+
"@codemirror/lint": "^6.9.3",
|
|
73
|
+
"@codemirror/search": "^6.6.0",
|
|
74
|
+
"@codemirror/state": "^6.5.4",
|
|
75
75
|
"@codemirror/view": "^6.38.8",
|
|
76
76
|
"cm6-theme-nord": "^0.2.0",
|
|
77
|
-
"globals": "^
|
|
77
|
+
"globals": "^17.2.0",
|
|
78
78
|
"wikiparser-node": "^1.35.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@bhsd/code-standard": "^
|
|
81
|
+
"@bhsd/code-standard": "^2.0.0",
|
|
82
82
|
"@bhsd/test-util": "^0.3.0",
|
|
83
|
-
"@stylistic/eslint-plugin": "^5.
|
|
84
|
-
"@stylistic/stylelint-plugin": "^5.0.
|
|
83
|
+
"@stylistic/eslint-plugin": "^5.7.1",
|
|
84
|
+
"@stylistic/stylelint-plugin": "^5.0.1",
|
|
85
85
|
"@types/eslint": "^8.56.12",
|
|
86
86
|
"@types/jquery": "^3.5.33",
|
|
87
87
|
"@types/mocha": "^10.0.10",
|
|
88
|
-
"@types/node": "^24.10.
|
|
88
|
+
"@types/node": "^24.10.9",
|
|
89
89
|
"@types/oojs-ui": "^0.49.4",
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
91
|
-
"@typescript-eslint/parser": "^8.
|
|
92
|
-
"esbuild": "^0.
|
|
93
|
-
"eslint": "^9.39.
|
|
94
|
-
"eslint-plugin-es-x": "^9.
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
91
|
+
"@typescript-eslint/parser": "^8.54.0",
|
|
92
|
+
"esbuild": "^0.27.2",
|
|
93
|
+
"eslint": "^9.39.2",
|
|
94
|
+
"eslint-plugin-es-x": "^9.3.0",
|
|
95
95
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
96
|
-
"eslint-plugin-jsdoc": "^
|
|
96
|
+
"eslint-plugin-jsdoc": "^62.5.0",
|
|
97
97
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
98
98
|
"eslint-plugin-promise": "^7.2.1",
|
|
99
|
-
"eslint-plugin-regexp": "^
|
|
99
|
+
"eslint-plugin-regexp": "^3.0.0",
|
|
100
100
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
101
101
|
"http-server": "^14.1.1",
|
|
102
102
|
"luacheck-browserify": "^0.10.0",
|
|
103
|
-
"markdownlint-cli2": "^0.
|
|
103
|
+
"markdownlint-cli2": "^0.20.0",
|
|
104
104
|
"mocha": "^11.7.5",
|
|
105
|
-
"monaco-editor": "^0.
|
|
106
|
-
"stylelint": "^17.
|
|
105
|
+
"monaco-editor": "^0.55.1",
|
|
106
|
+
"stylelint": "^17.1.0",
|
|
107
107
|
"stylelint-config-recommended": "^18.0.0",
|
|
108
|
-
"stylelint-plugin-use-baseline": "^1.2.
|
|
108
|
+
"stylelint-plugin-use-baseline": "^1.2.1",
|
|
109
109
|
"types-mediawiki": "^2.0.0",
|
|
110
110
|
"typescript": "^5.9.3"
|
|
111
111
|
}
|