@bhsd/common 0.9.1 → 0.9.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/cm.d.ts +2 -2
- package/package.json +6 -6
package/dist/cm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ConfigData } from 'wikiparser-node/dist/base';
|
|
2
2
|
export interface MwConfig {
|
|
3
3
|
readonly tags: Record<string, true>;
|
|
4
4
|
tagModes: Record<string, string>;
|
|
@@ -30,7 +30,7 @@ export declare const getConfig: (magicWords: MagicWord[], rule: MagicRule, flip?
|
|
|
30
30
|
* @param minConfig 基础Config
|
|
31
31
|
* @param mwConfig MwConfig
|
|
32
32
|
*/
|
|
33
|
-
export declare const getParserConfig: (minConfig:
|
|
33
|
+
export declare const getParserConfig: (minConfig: ConfigData, mwConfig: MwConfig) => ConfigData;
|
|
34
34
|
/**
|
|
35
35
|
* 获取语言变体
|
|
36
36
|
* @param variants 语言变体列表
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bhsd/common",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Bhsd",
|
|
6
6
|
"files": [
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@stylistic/stylelint-plugin": "^3.1.2",
|
|
47
47
|
"@types/mocha": "^10.0.10",
|
|
48
48
|
"@types/node": "^22.13.1",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
50
|
-
"@typescript-eslint/parser": "^8.
|
|
51
|
-
"esbuild": "^0.25.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.29.0",
|
|
50
|
+
"@typescript-eslint/parser": "^8.29.0",
|
|
51
|
+
"esbuild": "^0.25.2",
|
|
52
52
|
"eslint": "^8.57.1",
|
|
53
53
|
"eslint-plugin-es-x": "^8.4.1",
|
|
54
54
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"http-server": "^14.1.1",
|
|
63
63
|
"mocha": "^11.1.0",
|
|
64
64
|
"stylelint": "^16.14.1",
|
|
65
|
-
"typescript": "^5.
|
|
66
|
-
"wikiparser-node": "^1.
|
|
65
|
+
"typescript": "^5.8.2",
|
|
66
|
+
"wikiparser-node": "^1.19.0"
|
|
67
67
|
}
|
|
68
68
|
}
|