meta-json-schema 1.19.1 → 1.19.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/CHANGELOG.md CHANGED
@@ -1,9 +1,22 @@
1
+ ## v1.19.2
2
+
3
+ ### Changes
4
+
5
+ - 新增: hy2 新增 `initial-stream-receive-window`、`max-stream-receive-window`、`initial-connection-receive-window`、`max-connection-receive-window` quic-go配置项
6
+ - 新增: inbound 新增 vless `listeners` 配置项
7
+
8
+ ### Bugs Fixes
9
+
10
+ - 修复: 枚举 `cipher` 缺失加密方法 `2022-blake3-aes-128-ccm`、`2022-blake3-aes-256-ccm`、`2022-blake3-chacha8-poly1305`、`chacha20-poly1305`、`chacha8-ietf-poly1305`、`xchacha8-ietf-poly1305`、`zero`
11
+
12
+ ---
13
+
1
14
  ## v1.19.1
2
15
 
3
16
  ### Changes
4
17
 
5
- - 新增:rule-providers 新增 `inline` 内联规则配置
6
- - 新增:proxy-providers 新增 `inline` 内联proxies配置
18
+ - 新增: rule-providers 新增 `inline` 内联规则配置
19
+ - 新增: proxy-providers 新增 `inline` 内联proxies配置
7
20
  - 调整: outbound 的 `header` 配置项宽松,不再限制value的类型为 string
8
21
 
9
22
  ### Bugs Fixes
@@ -55,8 +68,6 @@
55
68
  - 新增: `dns` 新增 `fake-ip-filter-mode` 配置项
56
69
  - 调整: 规则 `GEOIP`、`IP-ASN`、`IP-CIDR`、`IP-CIDR6`、`IP-SUFFIX`、`RULE-SET` 支持追加 `,src` 选项
57
70
 
58
- ### Bugs Fixes
59
-
60
71
  ---
61
72
 
62
73
  ## v1.18.7
@@ -70,8 +81,6 @@
70
81
  - 新增: 全局配置新增 `keep-alive-idle` 和 `disable-keep-alive` 保持连接相关配置
71
82
  - 移除: 不再支持 `ebpf` 配置
72
83
 
73
- ### Bugs Fixes
74
-
75
84
  ---
76
85
 
77
86
  ## v1.18.6
@@ -135,8 +144,6 @@
135
144
 
136
145
  ### Features
137
146
 
138
- - 首个JSON Schema版本
139
-
140
- ### Bugs Fixes
147
+ - 首个 JSON Schema 版本
141
148
 
142
149
  ---
package/README.md CHANGED
@@ -21,59 +21,59 @@ VS Code 扩展商店搜索 `Meta JSON Schema` 或 `ClashMeta.meta-json-schema`
21
21
  <details>
22
22
  <summary>Monaco Editor中使用</summary>
23
23
 
24
- 1. 安装 `monaco-editor` (编辑器)和 `monaco-yaml` (YAML支持)。
25
-
26
- ```
27
- npm install monaco-editor
28
- npm install monaco-yaml
29
- ```
30
-
31
- 2. 如果是vite项目,可通过安装插件简化初始化(其他构建工具如 `webpack` 请参考[monaco-yaml文档](https://github.com/remcohaszing/monaco-yaml?tab=readme-ov-file#using-monaco-webpack-loader-plugin))。
32
-
33
- 1. 安装 `vite-plugin-monaco-editor` 。
34
-
35
- ```
36
- npm install vite-plugin-monaco-editor
37
- ```
38
-
39
- 2. 配置 `vite.config.ts` 。
40
-
41
- ```javascript
42
- import { defineConfig } from "vite";
43
- import monacoEditor from "vite-plugin-monaco-editor";
44
-
45
- export default defineConfig({
46
- plugins: [
47
- monacoEditor({
48
- languageWorkers: ["editorWorkerService"],
49
- customWorkers: [
50
- {
51
- label: "yaml",
52
- entry: "monaco-yaml/yaml.worker"
53
- }
54
- ]
55
- })
56
- ]
57
- });
58
- ```
59
-
60
- 3. 代码中配置schema(请根据需求自行修改 `fileMatch` )。
61
-
62
- ```javascript
63
- import * as monaco from "monaco-editor";
64
- import { configureMonacoYaml } from "monaco-yaml";
65
-
66
- configureMonacoYaml(monaco, {
67
- validate: true,
68
- enableSchemaRequest: true,
69
- schemas: [
70
- {
71
- uri: "https://fastly.jsdelivr.net/gh/dongchengjie/meta-json-schema@main/schemas/meta-json-schema.json",
72
- fileMatch: ["**/*.clash.yaml"]
73
- }
74
- ]
75
- });
76
- ```
24
+ 1. 安装 `monaco-editor` (编辑器)和 `monaco-yaml` (YAML支持)。
25
+
26
+ ```
27
+ npm install monaco-editor
28
+ npm install monaco-yaml
29
+ ```
30
+
31
+ 2. 如果是vite项目,可通过安装插件简化初始化(其他构建工具如 `webpack` 请参考[monaco-yaml文档](https://github.com/remcohaszing/monaco-yaml?tab=readme-ov-file#using-monaco-webpack-loader-plugin))。
32
+
33
+ 1. 安装 `vite-plugin-monaco-editor` 。
34
+
35
+ ```
36
+ npm install vite-plugin-monaco-editor
37
+ ```
38
+
39
+ 2. 配置 `vite.config.ts` 。
40
+
41
+ ```javascript
42
+ import { defineConfig } from "vite";
43
+ import monacoEditor from "vite-plugin-monaco-editor";
44
+
45
+ export default defineConfig({
46
+ plugins: [
47
+ monacoEditor({
48
+ languageWorkers: ["editorWorkerService"],
49
+ customWorkers: [
50
+ {
51
+ label: "yaml",
52
+ entry: "monaco-yaml/yaml.worker"
53
+ }
54
+ ]
55
+ })
56
+ ]
57
+ });
58
+ ```
59
+
60
+ 3. 代码中配置schema(请根据需求自行修改 `fileMatch` )。
61
+
62
+ ```javascript
63
+ import * as monaco from "monaco-editor";
64
+ import { configureMonacoYaml } from "monaco-yaml";
65
+
66
+ configureMonacoYaml(monaco, {
67
+ validate: true,
68
+ enableSchemaRequest: true,
69
+ schemas: [
70
+ {
71
+ uri: "https://fastly.jsdelivr.net/gh/dongchengjie/meta-json-schema@main/schemas/meta-json-schema.json",
72
+ fileMatch: ["**/*.clash.yaml"]
73
+ }
74
+ ]
75
+ });
76
+ ```
77
77
 
78
78
  </details>
79
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meta-json-schema",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "description": "JSON Schema for Clash Meta",
5
5
  "keywords": [
6
6
  "clash",
@@ -27,15 +27,14 @@
27
27
  "prepare": "lefthook install",
28
28
  "dev": "npx json-schema-artifact --watch",
29
29
  "release": "npx json-schema-artifact",
30
- "preview": "pnpm publish --dry-run"
30
+ "preview": "npm publish --dry-run"
31
31
  },
32
32
  "devDependencies": {
33
- "@commitlint/cli": "^19.6.0",
34
- "@commitlint/config-conventional": "^19.6.0",
35
- "@trivago/prettier-plugin-sort-imports": "^4.3.0",
33
+ "@commitlint/cli": "^19.7.1",
34
+ "@commitlint/config-conventional": "^19.7.1",
35
+ "dprint": "^0.49.0",
36
36
  "json-schema-artifact": "^1.1.3",
37
- "lefthook": "^1.9.0",
38
- "prettier": "^3.4.2"
37
+ "lefthook": "^1.10.10"
39
38
  },
40
39
  "commitlint": {
41
40
  "extends": [
@@ -46,5 +45,5 @@
46
45
  "node": ">=18",
47
46
  "pnpm": ">=9"
48
47
  },
49
- "packageManager": "pnpm@9.15.0"
48
+ "packageManager": "pnpm@9.15.4"
50
49
  }