@bhsd/codemirror-mediawiki 3.11.0 → 3.11.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/i18n/en.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.11.0",
2
+ "version": "3.11.2",
3
3
  "lang": "en",
4
4
  "title": "CodeMirror Addons",
5
5
  "label": "Please select the addons you wish to load",
package/i18n/zh-hans.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.11.0",
2
+ "version": "3.11.2",
3
3
  "lang": "zh-hans",
4
4
  "title": "CodeMirror插件",
5
5
  "label": "请选择您希望加载的插件",
package/i18n/zh-hant.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.11.0",
2
+ "version": "3.11.2",
3
3
  "lang": "zh-hant",
4
4
  "title": "CodeMirror外掛程式",
5
5
  "label": "請選擇您希望載入的外掛程式",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhsd/codemirror-mediawiki",
3
- "version": "3.11.0",
3
+ "version": "3.11.2",
4
4
  "description": "Modified CodeMirror mode based on wikimedia/mediawiki-extensions-CodeMirror",
5
5
  "keywords": [
6
6
  "mediawiki",
@@ -32,7 +32,7 @@
32
32
  "prepublishOnly": "npm run build",
33
33
  "checkout": "git checkout wikitext wikitext.html wikitext-page.js wikitext-page.css",
34
34
  "build:css": "esbuild ./css/index.css --bundle --minify --outfile=mediawiki.css",
35
- "build:core": "node build.cjs && tsc && esbuild src/config.ts --bundle --format=esm --external:@lezer/highlight --outfile=dist/config.js --legal-comments=inline && rm dist/*{-page,.test}.{js,d.ts}",
35
+ "build:core": "node build.cjs && tsc && esbuild src/config.ts src/javascript-globals.ts --bundle --format=esm --external:@lezer/highlight --outdir=dist --legal-comments=inline && gsed -i 's|globals/globals.json|globals|' dist/javascript-globals.d.ts && rm dist/*{-page,.test}.{js,d.ts}",
36
36
  "build:mw": "MODE=mw node build.cjs && esbuild ./mw/config.ts --charset=utf8 --bundle --target=es2019 --format=esm --outfile=dist/mwConfig.js --external:@bhsd/browser --external:@bhsd/cm-util",
37
37
  "build:wiki": "MODE=wiki node build.cjs",
38
38
  "build:gh-page": "esbuild src/*-page.ts --charset=utf8 --bundle --target=es2019 --format=esm --outdir=. --external:/codemirror-mediawiki/dist/main.min.js --external:/codemirror-mediawiki/dist/demo.min.js --external:/wikiparser-node/extensions/dist/test-page-common.js --external:/lezer-abusefilter/dist/dialect.test.js",
@@ -58,7 +58,7 @@
58
58
  "@bhsd/lezer-abusefilter": "^0.1.2",
59
59
  "@bhsd/stylelint-util": "^1.0.1",
60
60
  "@codemirror/autocomplete": "^6.20.0",
61
- "@codemirror/commands": "^6.10.1",
61
+ "@codemirror/commands": "^6.10.2",
62
62
  "@codemirror/language": "^6.12.1",
63
63
  "@codemirror/lang-css": "^6.3.1",
64
64
  "@codemirror/lang-html": "^6.4.11",
@@ -66,43 +66,43 @@
66
66
  "@codemirror/lang-json": "^6.0.2",
67
67
  "@codemirror/lang-vue": "^0.1.3",
68
68
  "@codemirror/legacy-modes": "^6.5.2",
69
- "@codemirror/lint": "^6.9.3",
69
+ "@codemirror/lint": "^6.9.4",
70
70
  "@codemirror/search": "^6.6.0",
71
71
  "@codemirror/state": "^6.5.4",
72
- "@codemirror/view": "^6.38.8",
72
+ "@codemirror/view": "^6.39.13",
73
73
  "cm6-theme-nord": "^0.2.0",
74
- "globals": "^17.2.0",
75
- "wikiparser-node": "^1.35.0"
74
+ "globals": "^17.3.0",
75
+ "wikiparser-node": "^1.35.2"
76
76
  },
77
77
  "devDependencies": {
78
- "@bhsd/code-standard": "^2.0.0",
78
+ "@bhsd/code-standard": "^2.0.1",
79
79
  "@bhsd/test-util": "^0.3.0",
80
- "@stylistic/eslint-plugin": "^5.7.1",
80
+ "@stylistic/eslint-plugin": "^5.8.0",
81
81
  "@stylistic/stylelint-plugin": "^5.0.1",
82
- "@types/eslint": "^8.56.12",
82
+ "@types/eslint": "^9.6.1",
83
83
  "@types/jquery": "^3.5.33",
84
84
  "@types/mocha": "^10.0.10",
85
- "@types/node": "^24.10.9",
85
+ "@types/node": "^24.10.13",
86
86
  "@types/oojs-ui": "^0.49.4",
87
87
  "@typescript-eslint/eslint-plugin": "^8.54.0",
88
88
  "@typescript-eslint/parser": "^8.54.0",
89
- "esbuild": "^0.27.2",
90
- "eslint": "^9.39.2",
91
- "eslint-plugin-es-x": "^9.3.0",
89
+ "esbuild": "^0.27.3",
90
+ "eslint": "^9.39.3",
91
+ "eslint-plugin-es-x": "^9.4.0",
92
92
  "eslint-plugin-eslint-comments": "^3.2.0",
93
- "eslint-plugin-jsdoc": "^62.5.0",
94
- "eslint-plugin-jsonc": "^2.21.0",
93
+ "eslint-plugin-jsdoc": "^62.7.0",
94
+ "eslint-plugin-jsonc": "^2.21.1",
95
95
  "eslint-plugin-promise": "^7.2.1",
96
96
  "eslint-plugin-regexp": "^3.0.0",
97
- "eslint-plugin-unicorn": "^62.0.0",
97
+ "eslint-plugin-unicorn": "^63.0.0",
98
98
  "http-server": "^14.1.1",
99
99
  "luacheck-browserify": "^0.10.0",
100
- "markdownlint-cli2": "^0.20.0",
100
+ "markdownlint-cli2": "^0.21.0",
101
101
  "mocha": "^11.7.5",
102
102
  "monaco-editor": "^0.55.1",
103
- "stylelint": "^17.1.1",
103
+ "stylelint": "^17.3.0",
104
104
  "stylelint-config-recommended": "^18.0.0",
105
- "stylelint-plugin-use-baseline": "^1.2.1",
105
+ "stylelint-plugin-use-baseline": "^1.2.2",
106
106
  "types-mediawiki": "^2.0.0",
107
107
  "typescript": "^5.9.3"
108
108
  }