wikilint 2.46.0 → 2.46.1

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.
@@ -41,7 +41,7 @@ const filterGadget = (id) => {
41
41
  const n = Number(id);
42
42
  return n < 2300 || n > 2303; // Gadget, Gadget talk, Gadget definition, Gadget definition talk
43
43
  };
44
- const pkg = 'wikilint', version = '2.46.0';
44
+ const pkg = 'wikilint', version = '2.46.1';
45
45
  /**
46
46
  * Get the parser configuration for a Wikimedia Foundation project.
47
47
  * @param site site nickname
package/dist/lib/lsp.d.ts CHANGED
@@ -77,7 +77,7 @@ export declare class LanguageService implements LanguageServiceBase {
77
77
  * 提供文档高亮
78
78
  * @param text source Wikitext / 源代码
79
79
  * @param position position / 位置
80
- * @since v1.46.0
80
+ * @since v1.46.1
81
81
  */
82
82
  provideDocumentHighlights(text: string, position: Position): Promise<DocumentHighlight[] | undefined>;
83
83
  /**
package/dist/lib/lsp.js CHANGED
@@ -1150,7 +1150,7 @@ class LanguageService {
1150
1150
  * 提供文档高亮
1151
1151
  * @param text source Wikitext / 源代码
1152
1152
  * @param position position / 位置
1153
- * @since v1.46.0
1153
+ * @since v1.46.1
1154
1154
  */
1155
1155
  async provideDocumentHighlights(text, position) {
1156
1156
  const root = await this.#queue(text), index = root.indexFromPos(position.line, position.character), node = root.elementFromIndex(index), type = node?.type;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wikilint",
3
- "version": "2.46.0",
3
+ "version": "2.46.1",
4
4
  "description": "A Node.js linter for MediaWiki markup",
5
5
  "keywords": [
6
6
  "mediawiki",
@@ -101,6 +101,7 @@
101
101
  "@bhsd/cm-util": "^2.3.0",
102
102
  "@bhsd/common": "^4.0.0",
103
103
  "@bhsd/stylelint-util": "^1.1.0",
104
+ "culori": "^4.0.2",
104
105
  "entities": "^8.0.0",
105
106
  "vscode-languageserver-types": "^3.18.0"
106
107
  },
@@ -109,7 +110,6 @@
109
110
  "@bhsd/nodejs": "^1.2.1",
110
111
  "@bhsd/test-util": "^3.1.0",
111
112
  "c8": "^11.0.0",
112
- "culori": "^4.0.2",
113
113
  "diff2html-cli": "^5.2.15",
114
114
  "esbuild": "^0.28.1",
115
115
  "eslint": "^10.7.0",