linuxrun commited on
Commit
9671dbc
·
verified ·
1 Parent(s): 6def086

Upload 13 files

Browse files
Files changed (13) hide show
  1. eslint.config.js +22 -0
  2. index.js +3 -0
  3. package.json +32 -0
  4. pnpm-lock.yaml +2526 -0
  5. src/cors.js +22 -0
  6. src/metrics.js +34 -0
  7. src/proxyHandler.js +174 -0
  8. src/server.js +159 -0
  9. src/urlParser.js +34 -0
  10. src/utils.js +13 -0
  11. test/api.test.js +65 -0
  12. vitest-setup.js +6 -0
  13. vitest.config.js +9 -0
eslint.config.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import globals from "globals";
2
+ import js from "@eslint/js";
3
+ import prettierConfig from "eslint-config-prettier";
4
+
5
+ export default [
6
+ {
7
+ languageOptions: {
8
+ ecmaVersion: "latest",
9
+ sourceType: "module",
10
+ globals: {
11
+ ...globals.node,
12
+ },
13
+ },
14
+ },
15
+ js.configs.recommended,
16
+ prettierConfig,
17
+ {
18
+ rules: {
19
+ // 你可以在这里覆盖或添加规则
20
+ },
21
+ },
22
+ ];
index.js ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import { createServer } from "./src/server.js";
2
+
3
+ export { createServer };
package.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "cors-sp",
3
+ "version": "0.1.5",
4
+ "type": "module",
5
+ "main": "index.js",
6
+ "files": [
7
+ "index.js",
8
+ "src"
9
+ ],
10
+ "scripts": {
11
+ "dev": "PORT=4399 nodemon src/server.js",
12
+ "dev:windows": "set PORT=4399 && nodemon src/server.js",
13
+ "test": "vitest",
14
+ "start": "node src/server.js",
15
+ "lint": "eslint . --ext .js",
16
+ "format": "prettier --write ."
17
+ },
18
+ "dependencies": {
19
+ "http-proxy": "^1.18.1",
20
+ "proxy-from-env": "^1.1.0",
21
+ "tldjs": "^2.3.2"
22
+ },
23
+ "devDependencies": {
24
+ "eslint": "^9.34.0",
25
+ "eslint-config-prettier": "^10.1.8",
26
+ "eslint-plugin-prettier": "^5.5.4",
27
+ "nodemon": "^3.1.10",
28
+ "prettier": "^3.6.2",
29
+ "undici": "^7.15.0",
30
+ "vitest": "^3.2.4"
31
+ }
32
+ }
pnpm-lock.yaml ADDED
@@ -0,0 +1,2526 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ lockfileVersion: "9.0"
2
+
3
+ settings:
4
+ autoInstallPeers: true
5
+ excludeLinksFromLockfile: false
6
+
7
+ importers:
8
+ .:
9
+ dependencies:
10
+ http-proxy:
11
+ specifier: ^1.18.1
12
+ version: 1.18.1
13
+ proxy-from-env:
14
+ specifier: ^1.1.0
15
+ version: 1.1.0
16
+ tldjs:
17
+ specifier: ^2.3.2
18
+ version: 2.3.2
19
+ devDependencies:
20
+ eslint:
21
+ specifier: ^9.34.0
22
+ version: 9.34.0
23
+ eslint-config-prettier:
24
+ specifier: ^10.1.8
25
+ version: 10.1.8(eslint@9.34.0)
26
+ eslint-plugin-prettier:
27
+ specifier: ^5.5.4
28
+ version: 5.5.4(eslint-config-prettier@10.1.8(eslint@9.34.0))(eslint@9.34.0)(prettier@3.6.2)
29
+ nodemon:
30
+ specifier: ^3.1.10
31
+ version: 3.1.10
32
+ prettier:
33
+ specifier: ^3.6.2
34
+ version: 3.6.2
35
+ undici:
36
+ specifier: ^7.15.0
37
+ version: 7.15.0
38
+ vitest:
39
+ specifier: ^3.2.4
40
+ version: 3.2.4
41
+
42
+ packages:
43
+ "@esbuild/aix-ppc64@0.25.9":
44
+ resolution:
45
+ {
46
+ integrity: sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==,
47
+ }
48
+ engines: { node: ">=18" }
49
+ cpu: [ppc64]
50
+ os: [aix]
51
+
52
+ "@esbuild/android-arm64@0.25.9":
53
+ resolution:
54
+ {
55
+ integrity: sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==,
56
+ }
57
+ engines: { node: ">=18" }
58
+ cpu: [arm64]
59
+ os: [android]
60
+
61
+ "@esbuild/android-arm@0.25.9":
62
+ resolution:
63
+ {
64
+ integrity: sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==,
65
+ }
66
+ engines: { node: ">=18" }
67
+ cpu: [arm]
68
+ os: [android]
69
+
70
+ "@esbuild/android-x64@0.25.9":
71
+ resolution:
72
+ {
73
+ integrity: sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==,
74
+ }
75
+ engines: { node: ">=18" }
76
+ cpu: [x64]
77
+ os: [android]
78
+
79
+ "@esbuild/darwin-arm64@0.25.9":
80
+ resolution:
81
+ {
82
+ integrity: sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==,
83
+ }
84
+ engines: { node: ">=18" }
85
+ cpu: [arm64]
86
+ os: [darwin]
87
+
88
+ "@esbuild/darwin-x64@0.25.9":
89
+ resolution:
90
+ {
91
+ integrity: sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==,
92
+ }
93
+ engines: { node: ">=18" }
94
+ cpu: [x64]
95
+ os: [darwin]
96
+
97
+ "@esbuild/freebsd-arm64@0.25.9":
98
+ resolution:
99
+ {
100
+ integrity: sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==,
101
+ }
102
+ engines: { node: ">=18" }
103
+ cpu: [arm64]
104
+ os: [freebsd]
105
+
106
+ "@esbuild/freebsd-x64@0.25.9":
107
+ resolution:
108
+ {
109
+ integrity: sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==,
110
+ }
111
+ engines: { node: ">=18" }
112
+ cpu: [x64]
113
+ os: [freebsd]
114
+
115
+ "@esbuild/linux-arm64@0.25.9":
116
+ resolution:
117
+ {
118
+ integrity: sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==,
119
+ }
120
+ engines: { node: ">=18" }
121
+ cpu: [arm64]
122
+ os: [linux]
123
+
124
+ "@esbuild/linux-arm@0.25.9":
125
+ resolution:
126
+ {
127
+ integrity: sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==,
128
+ }
129
+ engines: { node: ">=18" }
130
+ cpu: [arm]
131
+ os: [linux]
132
+
133
+ "@esbuild/linux-ia32@0.25.9":
134
+ resolution:
135
+ {
136
+ integrity: sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==,
137
+ }
138
+ engines: { node: ">=18" }
139
+ cpu: [ia32]
140
+ os: [linux]
141
+
142
+ "@esbuild/linux-loong64@0.25.9":
143
+ resolution:
144
+ {
145
+ integrity: sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==,
146
+ }
147
+ engines: { node: ">=18" }
148
+ cpu: [loong64]
149
+ os: [linux]
150
+
151
+ "@esbuild/linux-mips64el@0.25.9":
152
+ resolution:
153
+ {
154
+ integrity: sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==,
155
+ }
156
+ engines: { node: ">=18" }
157
+ cpu: [mips64el]
158
+ os: [linux]
159
+
160
+ "@esbuild/linux-ppc64@0.25.9":
161
+ resolution:
162
+ {
163
+ integrity: sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==,
164
+ }
165
+ engines: { node: ">=18" }
166
+ cpu: [ppc64]
167
+ os: [linux]
168
+
169
+ "@esbuild/linux-riscv64@0.25.9":
170
+ resolution:
171
+ {
172
+ integrity: sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==,
173
+ }
174
+ engines: { node: ">=18" }
175
+ cpu: [riscv64]
176
+ os: [linux]
177
+
178
+ "@esbuild/linux-s390x@0.25.9":
179
+ resolution:
180
+ {
181
+ integrity: sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==,
182
+ }
183
+ engines: { node: ">=18" }
184
+ cpu: [s390x]
185
+ os: [linux]
186
+
187
+ "@esbuild/linux-x64@0.25.9":
188
+ resolution:
189
+ {
190
+ integrity: sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==,
191
+ }
192
+ engines: { node: ">=18" }
193
+ cpu: [x64]
194
+ os: [linux]
195
+
196
+ "@esbuild/netbsd-arm64@0.25.9":
197
+ resolution:
198
+ {
199
+ integrity: sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==,
200
+ }
201
+ engines: { node: ">=18" }
202
+ cpu: [arm64]
203
+ os: [netbsd]
204
+
205
+ "@esbuild/netbsd-x64@0.25.9":
206
+ resolution:
207
+ {
208
+ integrity: sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==,
209
+ }
210
+ engines: { node: ">=18" }
211
+ cpu: [x64]
212
+ os: [netbsd]
213
+
214
+ "@esbuild/openbsd-arm64@0.25.9":
215
+ resolution:
216
+ {
217
+ integrity: sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==,
218
+ }
219
+ engines: { node: ">=18" }
220
+ cpu: [arm64]
221
+ os: [openbsd]
222
+
223
+ "@esbuild/openbsd-x64@0.25.9":
224
+ resolution:
225
+ {
226
+ integrity: sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==,
227
+ }
228
+ engines: { node: ">=18" }
229
+ cpu: [x64]
230
+ os: [openbsd]
231
+
232
+ "@esbuild/openharmony-arm64@0.25.9":
233
+ resolution:
234
+ {
235
+ integrity: sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==,
236
+ }
237
+ engines: { node: ">=18" }
238
+ cpu: [arm64]
239
+ os: [openharmony]
240
+
241
+ "@esbuild/sunos-x64@0.25.9":
242
+ resolution:
243
+ {
244
+ integrity: sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==,
245
+ }
246
+ engines: { node: ">=18" }
247
+ cpu: [x64]
248
+ os: [sunos]
249
+
250
+ "@esbuild/win32-arm64@0.25.9":
251
+ resolution:
252
+ {
253
+ integrity: sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==,
254
+ }
255
+ engines: { node: ">=18" }
256
+ cpu: [arm64]
257
+ os: [win32]
258
+
259
+ "@esbuild/win32-ia32@0.25.9":
260
+ resolution:
261
+ {
262
+ integrity: sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==,
263
+ }
264
+ engines: { node: ">=18" }
265
+ cpu: [ia32]
266
+ os: [win32]
267
+
268
+ "@esbuild/win32-x64@0.25.9":
269
+ resolution:
270
+ {
271
+ integrity: sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==,
272
+ }
273
+ engines: { node: ">=18" }
274
+ cpu: [x64]
275
+ os: [win32]
276
+
277
+ "@eslint-community/eslint-utils@4.8.0":
278
+ resolution:
279
+ {
280
+ integrity: sha512-MJQFqrZgcW0UNYLGOuQpey/oTN59vyWwplvCGZztn1cKz9agZPPYpJB7h2OMmuu7VLqkvEjN8feFZJmxNF9D+Q==,
281
+ }
282
+ engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
283
+ peerDependencies:
284
+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
285
+
286
+ "@eslint-community/regexpp@4.12.1":
287
+ resolution:
288
+ {
289
+ integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==,
290
+ }
291
+ engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 }
292
+
293
+ "@eslint/config-array@0.21.0":
294
+ resolution:
295
+ {
296
+ integrity: sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==,
297
+ }
298
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
299
+
300
+ "@eslint/config-helpers@0.3.1":
301
+ resolution:
302
+ {
303
+ integrity: sha512-xR93k9WhrDYpXHORXpxVL5oHj3Era7wo6k/Wd8/IsQNnZUTzkGS29lyn3nAT05v6ltUuTFVCCYDEGfy2Or/sPA==,
304
+ }
305
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
306
+
307
+ "@eslint/core@0.15.2":
308
+ resolution:
309
+ {
310
+ integrity: sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==,
311
+ }
312
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
313
+
314
+ "@eslint/eslintrc@3.3.1":
315
+ resolution:
316
+ {
317
+ integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==,
318
+ }
319
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
320
+
321
+ "@eslint/js@9.34.0":
322
+ resolution:
323
+ {
324
+ integrity: sha512-EoyvqQnBNsV1CWaEJ559rxXL4c8V92gxirbawSmVUOWXlsRxxQXl6LmCpdUblgxgSkDIqKnhzba2SjRTI/A5Rw==,
325
+ }
326
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
327
+
328
+ "@eslint/object-schema@2.1.6":
329
+ resolution:
330
+ {
331
+ integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==,
332
+ }
333
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
334
+
335
+ "@eslint/plugin-kit@0.3.5":
336
+ resolution:
337
+ {
338
+ integrity: sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==,
339
+ }
340
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
341
+
342
+ "@humanfs/core@0.19.1":
343
+ resolution:
344
+ {
345
+ integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==,
346
+ }
347
+ engines: { node: ">=18.18.0" }
348
+
349
+ "@humanfs/node@0.16.7":
350
+ resolution:
351
+ {
352
+ integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==,
353
+ }
354
+ engines: { node: ">=18.18.0" }
355
+
356
+ "@humanwhocodes/module-importer@1.0.1":
357
+ resolution:
358
+ {
359
+ integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==,
360
+ }
361
+ engines: { node: ">=12.22" }
362
+
363
+ "@humanwhocodes/retry@0.4.3":
364
+ resolution:
365
+ {
366
+ integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==,
367
+ }
368
+ engines: { node: ">=18.18" }
369
+
370
+ "@jridgewell/sourcemap-codec@1.5.5":
371
+ resolution:
372
+ {
373
+ integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==,
374
+ }
375
+
376
+ "@pkgr/core@0.2.9":
377
+ resolution:
378
+ {
379
+ integrity: sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==,
380
+ }
381
+ engines: { node: ^12.20.0 || ^14.18.0 || >=16.0.0 }
382
+
383
+ "@rollup/rollup-android-arm-eabi@4.50.0":
384
+ resolution:
385
+ {
386
+ integrity: sha512-lVgpeQyy4fWN5QYebtW4buT/4kn4p4IJ+kDNB4uYNT5b8c8DLJDg6titg20NIg7E8RWwdWZORW6vUFfrLyG3KQ==,
387
+ }
388
+ cpu: [arm]
389
+ os: [android]
390
+
391
+ "@rollup/rollup-android-arm64@4.50.0":
392
+ resolution:
393
+ {
394
+ integrity: sha512-2O73dR4Dc9bp+wSYhviP6sDziurB5/HCym7xILKifWdE9UsOe2FtNcM+I4xZjKrfLJnq5UR8k9riB87gauiQtw==,
395
+ }
396
+ cpu: [arm64]
397
+ os: [android]
398
+
399
+ "@rollup/rollup-darwin-arm64@4.50.0":
400
+ resolution:
401
+ {
402
+ integrity: sha512-vwSXQN8T4sKf1RHr1F0s98Pf8UPz7pS6P3LG9NSmuw0TVh7EmaE+5Ny7hJOZ0M2yuTctEsHHRTMi2wuHkdS6Hg==,
403
+ }
404
+ cpu: [arm64]
405
+ os: [darwin]
406
+
407
+ "@rollup/rollup-darwin-x64@4.50.0":
408
+ resolution:
409
+ {
410
+ integrity: sha512-cQp/WG8HE7BCGyFVuzUg0FNmupxC+EPZEwWu2FCGGw5WDT1o2/YlENbm5e9SMvfDFR6FRhVCBePLqj0o8MN7Vw==,
411
+ }
412
+ cpu: [x64]
413
+ os: [darwin]
414
+
415
+ "@rollup/rollup-freebsd-arm64@4.50.0":
416
+ resolution:
417
+ {
418
+ integrity: sha512-UR1uTJFU/p801DvvBbtDD7z9mQL8J80xB0bR7DqW7UGQHRm/OaKzp4is7sQSdbt2pjjSS72eAtRh43hNduTnnQ==,
419
+ }
420
+ cpu: [arm64]
421
+ os: [freebsd]
422
+
423
+ "@rollup/rollup-freebsd-x64@4.50.0":
424
+ resolution:
425
+ {
426
+ integrity: sha512-G/DKyS6PK0dD0+VEzH/6n/hWDNPDZSMBmqsElWnCRGrYOb2jC0VSupp7UAHHQ4+QILwkxSMaYIbQ72dktp8pKA==,
427
+ }
428
+ cpu: [x64]
429
+ os: [freebsd]
430
+
431
+ "@rollup/rollup-linux-arm-gnueabihf@4.50.0":
432
+ resolution:
433
+ {
434
+ integrity: sha512-u72Mzc6jyJwKjJbZZcIYmd9bumJu7KNmHYdue43vT1rXPm2rITwmPWF0mmPzLm9/vJWxIRbao/jrQmxTO0Sm9w==,
435
+ }
436
+ cpu: [arm]
437
+ os: [linux]
438
+
439
+ "@rollup/rollup-linux-arm-musleabihf@4.50.0":
440
+ resolution:
441
+ {
442
+ integrity: sha512-S4UefYdV0tnynDJV1mdkNawp0E5Qm2MtSs330IyHgaccOFrwqsvgigUD29uT+B/70PDY1eQ3t40+xf6wIvXJyg==,
443
+ }
444
+ cpu: [arm]
445
+ os: [linux]
446
+
447
+ "@rollup/rollup-linux-arm64-gnu@4.50.0":
448
+ resolution:
449
+ {
450
+ integrity: sha512-1EhkSvUQXJsIhk4msxP5nNAUWoB4MFDHhtc4gAYvnqoHlaL9V3F37pNHabndawsfy/Tp7BPiy/aSa6XBYbaD1g==,
451
+ }
452
+ cpu: [arm64]
453
+ os: [linux]
454
+
455
+ "@rollup/rollup-linux-arm64-musl@4.50.0":
456
+ resolution:
457
+ {
458
+ integrity: sha512-EtBDIZuDtVg75xIPIK1l5vCXNNCIRM0OBPUG+tbApDuJAy9mKago6QxX+tfMzbCI6tXEhMuZuN1+CU8iDW+0UQ==,
459
+ }
460
+ cpu: [arm64]
461
+ os: [linux]
462
+
463
+ "@rollup/rollup-linux-loongarch64-gnu@4.50.0":
464
+ resolution:
465
+ {
466
+ integrity: sha512-BGYSwJdMP0hT5CCmljuSNx7+k+0upweM2M4YGfFBjnFSZMHOLYR0gEEj/dxyYJ6Zc6AiSeaBY8dWOa11GF/ppQ==,
467
+ }
468
+ cpu: [loong64]
469
+ os: [linux]
470
+
471
+ "@rollup/rollup-linux-ppc64-gnu@4.50.0":
472
+ resolution:
473
+ {
474
+ integrity: sha512-I1gSMzkVe1KzAxKAroCJL30hA4DqSi+wGc5gviD0y3IL/VkvcnAqwBf4RHXHyvH66YVHxpKO8ojrgc4SrWAnLg==,
475
+ }
476
+ cpu: [ppc64]
477
+ os: [linux]
478
+
479
+ "@rollup/rollup-linux-riscv64-gnu@4.50.0":
480
+ resolution:
481
+ {
482
+ integrity: sha512-bSbWlY3jZo7molh4tc5dKfeSxkqnf48UsLqYbUhnkdnfgZjgufLS/NTA8PcP/dnvct5CCdNkABJ56CbclMRYCA==,
483
+ }
484
+ cpu: [riscv64]
485
+ os: [linux]
486
+
487
+ "@rollup/rollup-linux-riscv64-musl@4.50.0":
488
+ resolution:
489
+ {
490
+ integrity: sha512-LSXSGumSURzEQLT2e4sFqFOv3LWZsEF8FK7AAv9zHZNDdMnUPYH3t8ZlaeYYZyTXnsob3htwTKeWtBIkPV27iQ==,
491
+ }
492
+ cpu: [riscv64]
493
+ os: [linux]
494
+
495
+ "@rollup/rollup-linux-s390x-gnu@4.50.0":
496
+ resolution:
497
+ {
498
+ integrity: sha512-CxRKyakfDrsLXiCyucVfVWVoaPA4oFSpPpDwlMcDFQvrv3XY6KEzMtMZrA+e/goC8xxp2WSOxHQubP8fPmmjOQ==,
499
+ }
500
+ cpu: [s390x]
501
+ os: [linux]
502
+
503
+ "@rollup/rollup-linux-x64-gnu@4.50.0":
504
+ resolution:
505
+ {
506
+ integrity: sha512-8PrJJA7/VU8ToHVEPu14FzuSAqVKyo5gg/J8xUerMbyNkWkO9j2ExBho/68RnJsMGNJq4zH114iAttgm7BZVkA==,
507
+ }
508
+ cpu: [x64]
509
+ os: [linux]
510
+
511
+ "@rollup/rollup-linux-x64-musl@4.50.0":
512
+ resolution:
513
+ {
514
+ integrity: sha512-SkE6YQp+CzpyOrbw7Oc4MgXFvTw2UIBElvAvLCo230pyxOLmYwRPwZ/L5lBe/VW/qT1ZgND9wJfOsdy0XptRvw==,
515
+ }
516
+ cpu: [x64]
517
+ os: [linux]
518
+
519
+ "@rollup/rollup-openharmony-arm64@4.50.0":
520
+ resolution:
521
+ {
522
+ integrity: sha512-PZkNLPfvXeIOgJWA804zjSFH7fARBBCpCXxgkGDRjjAhRLOR8o0IGS01ykh5GYfod4c2yiiREuDM8iZ+pVsT+Q==,
523
+ }
524
+ cpu: [arm64]
525
+ os: [openharmony]
526
+
527
+ "@rollup/rollup-win32-arm64-msvc@4.50.0":
528
+ resolution:
529
+ {
530
+ integrity: sha512-q7cIIdFvWQoaCbLDUyUc8YfR3Jh2xx3unO8Dn6/TTogKjfwrax9SyfmGGK6cQhKtjePI7jRfd7iRYcxYs93esg==,
531
+ }
532
+ cpu: [arm64]
533
+ os: [win32]
534
+
535
+ "@rollup/rollup-win32-ia32-msvc@4.50.0":
536
+ resolution:
537
+ {
538
+ integrity: sha512-XzNOVg/YnDOmFdDKcxxK410PrcbcqZkBmz+0FicpW5jtjKQxcW1BZJEQOF0NJa6JO7CZhett8GEtRN/wYLYJuw==,
539
+ }
540
+ cpu: [ia32]
541
+ os: [win32]
542
+
543
+ "@rollup/rollup-win32-x64-msvc@4.50.0":
544
+ resolution:
545
+ {
546
+ integrity: sha512-xMmiWRR8sp72Zqwjgtf3QbZfF1wdh8X2ABu3EaozvZcyHJeU0r+XAnXdKgs4cCAp6ORoYoCygipYP1mjmbjrsg==,
547
+ }
548
+ cpu: [x64]
549
+ os: [win32]
550
+
551
+ "@types/chai@5.2.2":
552
+ resolution:
553
+ {
554
+ integrity: sha512-8kB30R7Hwqf40JPiKhVzodJs2Qc1ZJ5zuT3uzw5Hq/dhNCl3G3l83jfpdI1e20BP348+fV7VIL/+FxaXkqBmWg==,
555
+ }
556
+
557
+ "@types/deep-eql@4.0.2":
558
+ resolution:
559
+ {
560
+ integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==,
561
+ }
562
+
563
+ "@types/estree@1.0.8":
564
+ resolution:
565
+ {
566
+ integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==,
567
+ }
568
+
569
+ "@types/json-schema@7.0.15":
570
+ resolution:
571
+ {
572
+ integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==,
573
+ }
574
+
575
+ "@vitest/expect@3.2.4":
576
+ resolution:
577
+ {
578
+ integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==,
579
+ }
580
+
581
+ "@vitest/mocker@3.2.4":
582
+ resolution:
583
+ {
584
+ integrity: sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==,
585
+ }
586
+ peerDependencies:
587
+ msw: ^2.4.9
588
+ vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0
589
+ peerDependenciesMeta:
590
+ msw:
591
+ optional: true
592
+ vite:
593
+ optional: true
594
+
595
+ "@vitest/pretty-format@3.2.4":
596
+ resolution:
597
+ {
598
+ integrity: sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==,
599
+ }
600
+
601
+ "@vitest/runner@3.2.4":
602
+ resolution:
603
+ {
604
+ integrity: sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==,
605
+ }
606
+
607
+ "@vitest/snapshot@3.2.4":
608
+ resolution:
609
+ {
610
+ integrity: sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==,
611
+ }
612
+
613
+ "@vitest/spy@3.2.4":
614
+ resolution:
615
+ {
616
+ integrity: sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==,
617
+ }
618
+
619
+ "@vitest/utils@3.2.4":
620
+ resolution:
621
+ {
622
+ integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==,
623
+ }
624
+
625
+ acorn-jsx@5.3.2:
626
+ resolution:
627
+ {
628
+ integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==,
629
+ }
630
+ peerDependencies:
631
+ acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
632
+
633
+ acorn@8.15.0:
634
+ resolution:
635
+ {
636
+ integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==,
637
+ }
638
+ engines: { node: ">=0.4.0" }
639
+ hasBin: true
640
+
641
+ ajv@6.12.6:
642
+ resolution:
643
+ {
644
+ integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==,
645
+ }
646
+
647
+ ansi-styles@4.3.0:
648
+ resolution:
649
+ {
650
+ integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==,
651
+ }
652
+ engines: { node: ">=8" }
653
+
654
+ anymatch@3.1.3:
655
+ resolution:
656
+ {
657
+ integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==,
658
+ }
659
+ engines: { node: ">= 8" }
660
+
661
+ argparse@2.0.1:
662
+ resolution:
663
+ {
664
+ integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==,
665
+ }
666
+
667
+ assertion-error@2.0.1:
668
+ resolution:
669
+ {
670
+ integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==,
671
+ }
672
+ engines: { node: ">=12" }
673
+
674
+ balanced-match@1.0.2:
675
+ resolution:
676
+ {
677
+ integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==,
678
+ }
679
+
680
+ binary-extensions@2.3.0:
681
+ resolution:
682
+ {
683
+ integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==,
684
+ }
685
+ engines: { node: ">=8" }
686
+
687
+ brace-expansion@1.1.12:
688
+ resolution:
689
+ {
690
+ integrity: sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==,
691
+ }
692
+
693
+ braces@3.0.3:
694
+ resolution:
695
+ {
696
+ integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==,
697
+ }
698
+ engines: { node: ">=8" }
699
+
700
+ cac@6.7.14:
701
+ resolution:
702
+ {
703
+ integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==,
704
+ }
705
+ engines: { node: ">=8" }
706
+
707
+ callsites@3.1.0:
708
+ resolution:
709
+ {
710
+ integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==,
711
+ }
712
+ engines: { node: ">=6" }
713
+
714
+ chai@5.3.3:
715
+ resolution:
716
+ {
717
+ integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==,
718
+ }
719
+ engines: { node: ">=18" }
720
+
721
+ chalk@4.1.2:
722
+ resolution:
723
+ {
724
+ integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==,
725
+ }
726
+ engines: { node: ">=10" }
727
+
728
+ check-error@2.1.1:
729
+ resolution:
730
+ {
731
+ integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==,
732
+ }
733
+ engines: { node: ">= 16" }
734
+
735
+ chokidar@3.6.0:
736
+ resolution:
737
+ {
738
+ integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==,
739
+ }
740
+ engines: { node: ">= 8.10.0" }
741
+
742
+ color-convert@2.0.1:
743
+ resolution:
744
+ {
745
+ integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==,
746
+ }
747
+ engines: { node: ">=7.0.0" }
748
+
749
+ color-name@1.1.4:
750
+ resolution:
751
+ {
752
+ integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==,
753
+ }
754
+
755
+ concat-map@0.0.1:
756
+ resolution:
757
+ {
758
+ integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==,
759
+ }
760
+
761
+ cross-spawn@7.0.6:
762
+ resolution:
763
+ {
764
+ integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==,
765
+ }
766
+ engines: { node: ">= 8" }
767
+
768
+ debug@4.4.1:
769
+ resolution:
770
+ {
771
+ integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==,
772
+ }
773
+ engines: { node: ">=6.0" }
774
+ peerDependencies:
775
+ supports-color: "*"
776
+ peerDependenciesMeta:
777
+ supports-color:
778
+ optional: true
779
+
780
+ deep-eql@5.0.2:
781
+ resolution:
782
+ {
783
+ integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==,
784
+ }
785
+ engines: { node: ">=6" }
786
+
787
+ deep-is@0.1.4:
788
+ resolution:
789
+ {
790
+ integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==,
791
+ }
792
+
793
+ es-module-lexer@1.7.0:
794
+ resolution:
795
+ {
796
+ integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==,
797
+ }
798
+
799
+ esbuild@0.25.9:
800
+ resolution:
801
+ {
802
+ integrity: sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==,
803
+ }
804
+ engines: { node: ">=18" }
805
+ hasBin: true
806
+
807
+ escape-string-regexp@4.0.0:
808
+ resolution:
809
+ {
810
+ integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==,
811
+ }
812
+ engines: { node: ">=10" }
813
+
814
+ eslint-config-prettier@10.1.8:
815
+ resolution:
816
+ {
817
+ integrity: sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==,
818
+ }
819
+ hasBin: true
820
+ peerDependencies:
821
+ eslint: ">=7.0.0"
822
+
823
+ eslint-plugin-prettier@5.5.4:
824
+ resolution:
825
+ {
826
+ integrity: sha512-swNtI95SToIz05YINMA6Ox5R057IMAmWZ26GqPxusAp1TZzj+IdY9tXNWWD3vkF/wEqydCONcwjTFpxybBqZsg==,
827
+ }
828
+ engines: { node: ^14.18.0 || >=16.0.0 }
829
+ peerDependencies:
830
+ "@types/eslint": ">=8.0.0"
831
+ eslint: ">=8.0.0"
832
+ eslint-config-prettier: ">= 7.0.0 <10.0.0 || >=10.1.0"
833
+ prettier: ">=3.0.0"
834
+ peerDependenciesMeta:
835
+ "@types/eslint":
836
+ optional: true
837
+ eslint-config-prettier:
838
+ optional: true
839
+
840
+ eslint-scope@8.4.0:
841
+ resolution:
842
+ {
843
+ integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==,
844
+ }
845
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
846
+
847
+ eslint-visitor-keys@3.4.3:
848
+ resolution:
849
+ {
850
+ integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==,
851
+ }
852
+ engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
853
+
854
+ eslint-visitor-keys@4.2.1:
855
+ resolution:
856
+ {
857
+ integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==,
858
+ }
859
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
860
+
861
+ eslint@9.34.0:
862
+ resolution:
863
+ {
864
+ integrity: sha512-RNCHRX5EwdrESy3Jc9o8ie8Bog+PeYvvSR8sDGoZxNFTvZ4dlxUB3WzQ3bQMztFrSRODGrLLj8g6OFuGY/aiQg==,
865
+ }
866
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
867
+ hasBin: true
868
+ peerDependencies:
869
+ jiti: "*"
870
+ peerDependenciesMeta:
871
+ jiti:
872
+ optional: true
873
+
874
+ espree@10.4.0:
875
+ resolution:
876
+ {
877
+ integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==,
878
+ }
879
+ engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 }
880
+
881
+ esquery@1.6.0:
882
+ resolution:
883
+ {
884
+ integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==,
885
+ }
886
+ engines: { node: ">=0.10" }
887
+
888
+ esrecurse@4.3.0:
889
+ resolution:
890
+ {
891
+ integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==,
892
+ }
893
+ engines: { node: ">=4.0" }
894
+
895
+ estraverse@5.3.0:
896
+ resolution:
897
+ {
898
+ integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==,
899
+ }
900
+ engines: { node: ">=4.0" }
901
+
902
+ estree-walker@3.0.3:
903
+ resolution:
904
+ {
905
+ integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==,
906
+ }
907
+
908
+ esutils@2.0.3:
909
+ resolution:
910
+ {
911
+ integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==,
912
+ }
913
+ engines: { node: ">=0.10.0" }
914
+
915
+ eventemitter3@4.0.7:
916
+ resolution:
917
+ {
918
+ integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==,
919
+ }
920
+
921
+ expect-type@1.2.2:
922
+ resolution:
923
+ {
924
+ integrity: sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA==,
925
+ }
926
+ engines: { node: ">=12.0.0" }
927
+
928
+ fast-deep-equal@3.1.3:
929
+ resolution:
930
+ {
931
+ integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==,
932
+ }
933
+
934
+ fast-diff@1.3.0:
935
+ resolution:
936
+ {
937
+ integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==,
938
+ }
939
+
940
+ fast-json-stable-stringify@2.1.0:
941
+ resolution:
942
+ {
943
+ integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==,
944
+ }
945
+
946
+ fast-levenshtein@2.0.6:
947
+ resolution:
948
+ {
949
+ integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==,
950
+ }
951
+
952
+ fdir@6.5.0:
953
+ resolution:
954
+ {
955
+ integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==,
956
+ }
957
+ engines: { node: ">=12.0.0" }
958
+ peerDependencies:
959
+ picomatch: ^3 || ^4
960
+ peerDependenciesMeta:
961
+ picomatch:
962
+ optional: true
963
+
964
+ file-entry-cache@8.0.0:
965
+ resolution:
966
+ {
967
+ integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==,
968
+ }
969
+ engines: { node: ">=16.0.0" }
970
+
971
+ fill-range@7.1.1:
972
+ resolution:
973
+ {
974
+ integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==,
975
+ }
976
+ engines: { node: ">=8" }
977
+
978
+ find-up@5.0.0:
979
+ resolution:
980
+ {
981
+ integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==,
982
+ }
983
+ engines: { node: ">=10" }
984
+
985
+ flat-cache@4.0.1:
986
+ resolution:
987
+ {
988
+ integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==,
989
+ }
990
+ engines: { node: ">=16" }
991
+
992
+ flatted@3.3.3:
993
+ resolution:
994
+ {
995
+ integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==,
996
+ }
997
+
998
+ follow-redirects@1.15.11:
999
+ resolution:
1000
+ {
1001
+ integrity: sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==,
1002
+ }
1003
+ engines: { node: ">=4.0" }
1004
+ peerDependencies:
1005
+ debug: "*"
1006
+ peerDependenciesMeta:
1007
+ debug:
1008
+ optional: true
1009
+
1010
+ fsevents@2.3.3:
1011
+ resolution:
1012
+ {
1013
+ integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==,
1014
+ }
1015
+ engines: { node: ^8.16.0 || ^10.6.0 || >=11.0.0 }
1016
+ os: [darwin]
1017
+
1018
+ glob-parent@5.1.2:
1019
+ resolution:
1020
+ {
1021
+ integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==,
1022
+ }
1023
+ engines: { node: ">= 6" }
1024
+
1025
+ glob-parent@6.0.2:
1026
+ resolution:
1027
+ {
1028
+ integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==,
1029
+ }
1030
+ engines: { node: ">=10.13.0" }
1031
+
1032
+ globals@14.0.0:
1033
+ resolution:
1034
+ {
1035
+ integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==,
1036
+ }
1037
+ engines: { node: ">=18" }
1038
+
1039
+ has-flag@3.0.0:
1040
+ resolution:
1041
+ {
1042
+ integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==,
1043
+ }
1044
+ engines: { node: ">=4" }
1045
+
1046
+ has-flag@4.0.0:
1047
+ resolution:
1048
+ {
1049
+ integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==,
1050
+ }
1051
+ engines: { node: ">=8" }
1052
+
1053
+ http-proxy@1.18.1:
1054
+ resolution:
1055
+ {
1056
+ integrity: sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==,
1057
+ }
1058
+ engines: { node: ">=8.0.0" }
1059
+
1060
+ ignore-by-default@1.0.1:
1061
+ resolution:
1062
+ {
1063
+ integrity: sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==,
1064
+ }
1065
+
1066
+ ignore@5.3.2:
1067
+ resolution:
1068
+ {
1069
+ integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==,
1070
+ }
1071
+ engines: { node: ">= 4" }
1072
+
1073
+ import-fresh@3.3.1:
1074
+ resolution:
1075
+ {
1076
+ integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==,
1077
+ }
1078
+ engines: { node: ">=6" }
1079
+
1080
+ imurmurhash@0.1.4:
1081
+ resolution:
1082
+ {
1083
+ integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==,
1084
+ }
1085
+ engines: { node: ">=0.8.19" }
1086
+
1087
+ is-binary-path@2.1.0:
1088
+ resolution:
1089
+ {
1090
+ integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==,
1091
+ }
1092
+ engines: { node: ">=8" }
1093
+
1094
+ is-extglob@2.1.1:
1095
+ resolution:
1096
+ {
1097
+ integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==,
1098
+ }
1099
+ engines: { node: ">=0.10.0" }
1100
+
1101
+ is-glob@4.0.3:
1102
+ resolution:
1103
+ {
1104
+ integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==,
1105
+ }
1106
+ engines: { node: ">=0.10.0" }
1107
+
1108
+ is-number@7.0.0:
1109
+ resolution:
1110
+ {
1111
+ integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==,
1112
+ }
1113
+ engines: { node: ">=0.12.0" }
1114
+
1115
+ isexe@2.0.0:
1116
+ resolution:
1117
+ {
1118
+ integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==,
1119
+ }
1120
+
1121
+ js-tokens@9.0.1:
1122
+ resolution:
1123
+ {
1124
+ integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==,
1125
+ }
1126
+
1127
+ js-yaml@4.1.0:
1128
+ resolution:
1129
+ {
1130
+ integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==,
1131
+ }
1132
+ hasBin: true
1133
+
1134
+ json-buffer@3.0.1:
1135
+ resolution:
1136
+ {
1137
+ integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==,
1138
+ }
1139
+
1140
+ json-schema-traverse@0.4.1:
1141
+ resolution:
1142
+ {
1143
+ integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==,
1144
+ }
1145
+
1146
+ json-stable-stringify-without-jsonify@1.0.1:
1147
+ resolution:
1148
+ {
1149
+ integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==,
1150
+ }
1151
+
1152
+ keyv@4.5.4:
1153
+ resolution:
1154
+ {
1155
+ integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==,
1156
+ }
1157
+
1158
+ levn@0.4.1:
1159
+ resolution:
1160
+ {
1161
+ integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==,
1162
+ }
1163
+ engines: { node: ">= 0.8.0" }
1164
+
1165
+ locate-path@6.0.0:
1166
+ resolution:
1167
+ {
1168
+ integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==,
1169
+ }
1170
+ engines: { node: ">=10" }
1171
+
1172
+ lodash.merge@4.6.2:
1173
+ resolution:
1174
+ {
1175
+ integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==,
1176
+ }
1177
+
1178
+ loupe@3.2.1:
1179
+ resolution:
1180
+ {
1181
+ integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==,
1182
+ }
1183
+
1184
+ magic-string@0.30.18:
1185
+ resolution:
1186
+ {
1187
+ integrity: sha512-yi8swmWbO17qHhwIBNeeZxTceJMeBvWJaId6dyvTSOwTipqeHhMhOrz6513r1sOKnpvQ7zkhlG8tPrpilwTxHQ==,
1188
+ }
1189
+
1190
+ minimatch@3.1.2:
1191
+ resolution:
1192
+ {
1193
+ integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==,
1194
+ }
1195
+
1196
+ ms@2.1.3:
1197
+ resolution:
1198
+ {
1199
+ integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==,
1200
+ }
1201
+
1202
+ nanoid@3.3.11:
1203
+ resolution:
1204
+ {
1205
+ integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==,
1206
+ }
1207
+ engines: { node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1 }
1208
+ hasBin: true
1209
+
1210
+ natural-compare@1.4.0:
1211
+ resolution:
1212
+ {
1213
+ integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==,
1214
+ }
1215
+
1216
+ nodemon@3.1.10:
1217
+ resolution:
1218
+ {
1219
+ integrity: sha512-WDjw3pJ0/0jMFmyNDp3gvY2YizjLmmOUQo6DEBY+JgdvW/yQ9mEeSw6H5ythl5Ny2ytb7f9C2nIbjSxMNzbJXw==,
1220
+ }
1221
+ engines: { node: ">=10" }
1222
+ hasBin: true
1223
+
1224
+ normalize-path@3.0.0:
1225
+ resolution:
1226
+ {
1227
+ integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==,
1228
+ }
1229
+ engines: { node: ">=0.10.0" }
1230
+
1231
+ optionator@0.9.4:
1232
+ resolution:
1233
+ {
1234
+ integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==,
1235
+ }
1236
+ engines: { node: ">= 0.8.0" }
1237
+
1238
+ p-limit@3.1.0:
1239
+ resolution:
1240
+ {
1241
+ integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==,
1242
+ }
1243
+ engines: { node: ">=10" }
1244
+
1245
+ p-locate@5.0.0:
1246
+ resolution:
1247
+ {
1248
+ integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==,
1249
+ }
1250
+ engines: { node: ">=10" }
1251
+
1252
+ parent-module@1.0.1:
1253
+ resolution:
1254
+ {
1255
+ integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==,
1256
+ }
1257
+ engines: { node: ">=6" }
1258
+
1259
+ path-exists@4.0.0:
1260
+ resolution:
1261
+ {
1262
+ integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==,
1263
+ }
1264
+ engines: { node: ">=8" }
1265
+
1266
+ path-key@3.1.1:
1267
+ resolution:
1268
+ {
1269
+ integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==,
1270
+ }
1271
+ engines: { node: ">=8" }
1272
+
1273
+ pathe@2.0.3:
1274
+ resolution:
1275
+ {
1276
+ integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==,
1277
+ }
1278
+
1279
+ pathval@2.0.1:
1280
+ resolution:
1281
+ {
1282
+ integrity: sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==,
1283
+ }
1284
+ engines: { node: ">= 14.16" }
1285
+
1286
+ picocolors@1.1.1:
1287
+ resolution:
1288
+ {
1289
+ integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==,
1290
+ }
1291
+
1292
+ picomatch@2.3.1:
1293
+ resolution:
1294
+ {
1295
+ integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==,
1296
+ }
1297
+ engines: { node: ">=8.6" }
1298
+
1299
+ picomatch@4.0.3:
1300
+ resolution:
1301
+ {
1302
+ integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==,
1303
+ }
1304
+ engines: { node: ">=12" }
1305
+
1306
+ postcss@8.5.6:
1307
+ resolution:
1308
+ {
1309
+ integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==,
1310
+ }
1311
+ engines: { node: ^10 || ^12 || >=14 }
1312
+
1313
+ prelude-ls@1.2.1:
1314
+ resolution:
1315
+ {
1316
+ integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==,
1317
+ }
1318
+ engines: { node: ">= 0.8.0" }
1319
+
1320
+ prettier-linter-helpers@1.0.0:
1321
+ resolution:
1322
+ {
1323
+ integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==,
1324
+ }
1325
+ engines: { node: ">=6.0.0" }
1326
+
1327
+ prettier@3.6.2:
1328
+ resolution:
1329
+ {
1330
+ integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==,
1331
+ }
1332
+ engines: { node: ">=14" }
1333
+ hasBin: true
1334
+
1335
+ proxy-from-env@1.1.0:
1336
+ resolution:
1337
+ {
1338
+ integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==,
1339
+ }
1340
+
1341
+ pstree.remy@1.1.8:
1342
+ resolution:
1343
+ {
1344
+ integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==,
1345
+ }
1346
+
1347
+ punycode@2.3.1:
1348
+ resolution:
1349
+ {
1350
+ integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==,
1351
+ }
1352
+ engines: { node: ">=6" }
1353
+
1354
+ readdirp@3.6.0:
1355
+ resolution:
1356
+ {
1357
+ integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==,
1358
+ }
1359
+ engines: { node: ">=8.10.0" }
1360
+
1361
+ requires-port@1.0.0:
1362
+ resolution:
1363
+ {
1364
+ integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==,
1365
+ }
1366
+
1367
+ resolve-from@4.0.0:
1368
+ resolution:
1369
+ {
1370
+ integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==,
1371
+ }
1372
+ engines: { node: ">=4" }
1373
+
1374
+ rollup@4.50.0:
1375
+ resolution:
1376
+ {
1377
+ integrity: sha512-/Zl4D8zPifNmyGzJS+3kVoyXeDeT/GrsJM94sACNg9RtUE0hrHa1bNPtRSrfHTMH5HjRzce6K7rlTh3Khiw+pw==,
1378
+ }
1379
+ engines: { node: ">=18.0.0", npm: ">=8.0.0" }
1380
+ hasBin: true
1381
+
1382
+ semver@7.7.2:
1383
+ resolution:
1384
+ {
1385
+ integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==,
1386
+ }
1387
+ engines: { node: ">=10" }
1388
+ hasBin: true
1389
+
1390
+ shebang-command@2.0.0:
1391
+ resolution:
1392
+ {
1393
+ integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==,
1394
+ }
1395
+ engines: { node: ">=8" }
1396
+
1397
+ shebang-regex@3.0.0:
1398
+ resolution:
1399
+ {
1400
+ integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==,
1401
+ }
1402
+ engines: { node: ">=8" }
1403
+
1404
+ siginfo@2.0.0:
1405
+ resolution:
1406
+ {
1407
+ integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==,
1408
+ }
1409
+
1410
+ simple-update-notifier@2.0.0:
1411
+ resolution:
1412
+ {
1413
+ integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==,
1414
+ }
1415
+ engines: { node: ">=10" }
1416
+
1417
+ source-map-js@1.2.1:
1418
+ resolution:
1419
+ {
1420
+ integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==,
1421
+ }
1422
+ engines: { node: ">=0.10.0" }
1423
+
1424
+ stackback@0.0.2:
1425
+ resolution:
1426
+ {
1427
+ integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==,
1428
+ }
1429
+
1430
+ std-env@3.9.0:
1431
+ resolution:
1432
+ {
1433
+ integrity: sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==,
1434
+ }
1435
+
1436
+ strip-json-comments@3.1.1:
1437
+ resolution:
1438
+ {
1439
+ integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==,
1440
+ }
1441
+ engines: { node: ">=8" }
1442
+
1443
+ strip-literal@3.0.0:
1444
+ resolution:
1445
+ {
1446
+ integrity: sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==,
1447
+ }
1448
+
1449
+ supports-color@5.5.0:
1450
+ resolution:
1451
+ {
1452
+ integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==,
1453
+ }
1454
+ engines: { node: ">=4" }
1455
+
1456
+ supports-color@7.2.0:
1457
+ resolution:
1458
+ {
1459
+ integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==,
1460
+ }
1461
+ engines: { node: ">=8" }
1462
+
1463
+ synckit@0.11.11:
1464
+ resolution:
1465
+ {
1466
+ integrity: sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==,
1467
+ }
1468
+ engines: { node: ^14.18.0 || >=16.0.0 }
1469
+
1470
+ tinybench@2.9.0:
1471
+ resolution:
1472
+ {
1473
+ integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==,
1474
+ }
1475
+
1476
+ tinyexec@0.3.2:
1477
+ resolution:
1478
+ {
1479
+ integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==,
1480
+ }
1481
+
1482
+ tinyglobby@0.2.14:
1483
+ resolution:
1484
+ {
1485
+ integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==,
1486
+ }
1487
+ engines: { node: ">=12.0.0" }
1488
+
1489
+ tinypool@1.1.1:
1490
+ resolution:
1491
+ {
1492
+ integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==,
1493
+ }
1494
+ engines: { node: ^18.0.0 || >=20.0.0 }
1495
+
1496
+ tinyrainbow@2.0.0:
1497
+ resolution:
1498
+ {
1499
+ integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==,
1500
+ }
1501
+ engines: { node: ">=14.0.0" }
1502
+
1503
+ tinyspy@4.0.3:
1504
+ resolution:
1505
+ {
1506
+ integrity: sha512-t2T/WLB2WRgZ9EpE4jgPJ9w+i66UZfDc8wHh0xrwiRNN+UwH98GIJkTeZqX9rg0i0ptwzqW+uYeIF0T4F8LR7A==,
1507
+ }
1508
+ engines: { node: ">=14.0.0" }
1509
+
1510
+ tldjs@2.3.2:
1511
+ resolution:
1512
+ {
1513
+ integrity: sha512-EORDwFMSZKrHPUVDhejCMDeAovRS5d8jZKiqALFiPp3cjKjEldPkxBY39ZSx3c45awz3RpKwJD1cCgGxEfy8/A==,
1514
+ }
1515
+ engines: { node: ">= 20" }
1516
+
1517
+ to-regex-range@5.0.1:
1518
+ resolution:
1519
+ {
1520
+ integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==,
1521
+ }
1522
+ engines: { node: ">=8.0" }
1523
+
1524
+ touch@3.1.1:
1525
+ resolution:
1526
+ {
1527
+ integrity: sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==,
1528
+ }
1529
+ hasBin: true
1530
+
1531
+ type-check@0.4.0:
1532
+ resolution:
1533
+ {
1534
+ integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==,
1535
+ }
1536
+ engines: { node: ">= 0.8.0" }
1537
+
1538
+ undefsafe@2.0.5:
1539
+ resolution:
1540
+ {
1541
+ integrity: sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==,
1542
+ }
1543
+
1544
+ undici@7.15.0:
1545
+ resolution:
1546
+ {
1547
+ integrity: sha512-7oZJCPvvMvTd0OlqWsIxTuItTpJBpU1tcbVl24FMn3xt3+VSunwUasmfPJRE57oNO1KsZ4PgA1xTdAX4hq8NyQ==,
1548
+ }
1549
+ engines: { node: ">=20.18.1" }
1550
+
1551
+ uri-js@4.4.1:
1552
+ resolution:
1553
+ {
1554
+ integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==,
1555
+ }
1556
+
1557
+ vite-node@3.2.4:
1558
+ resolution:
1559
+ {
1560
+ integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==,
1561
+ }
1562
+ engines: { node: ^18.0.0 || ^20.0.0 || >=22.0.0 }
1563
+ hasBin: true
1564
+
1565
+ vite@7.1.4:
1566
+ resolution:
1567
+ {
1568
+ integrity: sha512-X5QFK4SGynAeeIt+A7ZWnApdUyHYm+pzv/8/A57LqSGcI88U6R6ipOs3uCesdc6yl7nl+zNO0t8LmqAdXcQihw==,
1569
+ }
1570
+ engines: { node: ^20.19.0 || >=22.12.0 }
1571
+ hasBin: true
1572
+ peerDependencies:
1573
+ "@types/node": ^20.19.0 || >=22.12.0
1574
+ jiti: ">=1.21.0"
1575
+ less: ^4.0.0
1576
+ lightningcss: ^1.21.0
1577
+ sass: ^1.70.0
1578
+ sass-embedded: ^1.70.0
1579
+ stylus: ">=0.54.8"
1580
+ sugarss: ^5.0.0
1581
+ terser: ^5.16.0
1582
+ tsx: ^4.8.1
1583
+ yaml: ^2.4.2
1584
+ peerDependenciesMeta:
1585
+ "@types/node":
1586
+ optional: true
1587
+ jiti:
1588
+ optional: true
1589
+ less:
1590
+ optional: true
1591
+ lightningcss:
1592
+ optional: true
1593
+ sass:
1594
+ optional: true
1595
+ sass-embedded:
1596
+ optional: true
1597
+ stylus:
1598
+ optional: true
1599
+ sugarss:
1600
+ optional: true
1601
+ terser:
1602
+ optional: true
1603
+ tsx:
1604
+ optional: true
1605
+ yaml:
1606
+ optional: true
1607
+
1608
+ vitest@3.2.4:
1609
+ resolution:
1610
+ {
1611
+ integrity: sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==,
1612
+ }
1613
+ engines: { node: ^18.0.0 || ^20.0.0 || >=22.0.0 }
1614
+ hasBin: true
1615
+ peerDependencies:
1616
+ "@edge-runtime/vm": "*"
1617
+ "@types/debug": ^4.1.12
1618
+ "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0
1619
+ "@vitest/browser": 3.2.4
1620
+ "@vitest/ui": 3.2.4
1621
+ happy-dom: "*"
1622
+ jsdom: "*"
1623
+ peerDependenciesMeta:
1624
+ "@edge-runtime/vm":
1625
+ optional: true
1626
+ "@types/debug":
1627
+ optional: true
1628
+ "@types/node":
1629
+ optional: true
1630
+ "@vitest/browser":
1631
+ optional: true
1632
+ "@vitest/ui":
1633
+ optional: true
1634
+ happy-dom:
1635
+ optional: true
1636
+ jsdom:
1637
+ optional: true
1638
+
1639
+ which@2.0.2:
1640
+ resolution:
1641
+ {
1642
+ integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==,
1643
+ }
1644
+ engines: { node: ">= 8" }
1645
+ hasBin: true
1646
+
1647
+ why-is-node-running@2.3.0:
1648
+ resolution:
1649
+ {
1650
+ integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==,
1651
+ }
1652
+ engines: { node: ">=8" }
1653
+ hasBin: true
1654
+
1655
+ word-wrap@1.2.5:
1656
+ resolution:
1657
+ {
1658
+ integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==,
1659
+ }
1660
+ engines: { node: ">=0.10.0" }
1661
+
1662
+ yocto-queue@0.1.0:
1663
+ resolution:
1664
+ {
1665
+ integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==,
1666
+ }
1667
+ engines: { node: ">=10" }
1668
+
1669
+ snapshots:
1670
+ "@esbuild/aix-ppc64@0.25.9":
1671
+ optional: true
1672
+
1673
+ "@esbuild/android-arm64@0.25.9":
1674
+ optional: true
1675
+
1676
+ "@esbuild/android-arm@0.25.9":
1677
+ optional: true
1678
+
1679
+ "@esbuild/android-x64@0.25.9":
1680
+ optional: true
1681
+
1682
+ "@esbuild/darwin-arm64@0.25.9":
1683
+ optional: true
1684
+
1685
+ "@esbuild/darwin-x64@0.25.9":
1686
+ optional: true
1687
+
1688
+ "@esbuild/freebsd-arm64@0.25.9":
1689
+ optional: true
1690
+
1691
+ "@esbuild/freebsd-x64@0.25.9":
1692
+ optional: true
1693
+
1694
+ "@esbuild/linux-arm64@0.25.9":
1695
+ optional: true
1696
+
1697
+ "@esbuild/linux-arm@0.25.9":
1698
+ optional: true
1699
+
1700
+ "@esbuild/linux-ia32@0.25.9":
1701
+ optional: true
1702
+
1703
+ "@esbuild/linux-loong64@0.25.9":
1704
+ optional: true
1705
+
1706
+ "@esbuild/linux-mips64el@0.25.9":
1707
+ optional: true
1708
+
1709
+ "@esbuild/linux-ppc64@0.25.9":
1710
+ optional: true
1711
+
1712
+ "@esbuild/linux-riscv64@0.25.9":
1713
+ optional: true
1714
+
1715
+ "@esbuild/linux-s390x@0.25.9":
1716
+ optional: true
1717
+
1718
+ "@esbuild/linux-x64@0.25.9":
1719
+ optional: true
1720
+
1721
+ "@esbuild/netbsd-arm64@0.25.9":
1722
+ optional: true
1723
+
1724
+ "@esbuild/netbsd-x64@0.25.9":
1725
+ optional: true
1726
+
1727
+ "@esbuild/openbsd-arm64@0.25.9":
1728
+ optional: true
1729
+
1730
+ "@esbuild/openbsd-x64@0.25.9":
1731
+ optional: true
1732
+
1733
+ "@esbuild/openharmony-arm64@0.25.9":
1734
+ optional: true
1735
+
1736
+ "@esbuild/sunos-x64@0.25.9":
1737
+ optional: true
1738
+
1739
+ "@esbuild/win32-arm64@0.25.9":
1740
+ optional: true
1741
+
1742
+ "@esbuild/win32-ia32@0.25.9":
1743
+ optional: true
1744
+
1745
+ "@esbuild/win32-x64@0.25.9":
1746
+ optional: true
1747
+
1748
+ "@eslint-community/eslint-utils@4.8.0(eslint@9.34.0)":
1749
+ dependencies:
1750
+ eslint: 9.34.0
1751
+ eslint-visitor-keys: 3.4.3
1752
+
1753
+ "@eslint-community/regexpp@4.12.1": {}
1754
+
1755
+ "@eslint/config-array@0.21.0":
1756
+ dependencies:
1757
+ "@eslint/object-schema": 2.1.6
1758
+ debug: 4.4.1(supports-color@5.5.0)
1759
+ minimatch: 3.1.2
1760
+ transitivePeerDependencies:
1761
+ - supports-color
1762
+
1763
+ "@eslint/config-helpers@0.3.1": {}
1764
+
1765
+ "@eslint/core@0.15.2":
1766
+ dependencies:
1767
+ "@types/json-schema": 7.0.15
1768
+
1769
+ "@eslint/eslintrc@3.3.1":
1770
+ dependencies:
1771
+ ajv: 6.12.6
1772
+ debug: 4.4.1(supports-color@5.5.0)
1773
+ espree: 10.4.0
1774
+ globals: 14.0.0
1775
+ ignore: 5.3.2
1776
+ import-fresh: 3.3.1
1777
+ js-yaml: 4.1.0
1778
+ minimatch: 3.1.2
1779
+ strip-json-comments: 3.1.1
1780
+ transitivePeerDependencies:
1781
+ - supports-color
1782
+
1783
+ "@eslint/js@9.34.0": {}
1784
+
1785
+ "@eslint/object-schema@2.1.6": {}
1786
+
1787
+ "@eslint/plugin-kit@0.3.5":
1788
+ dependencies:
1789
+ "@eslint/core": 0.15.2
1790
+ levn: 0.4.1
1791
+
1792
+ "@humanfs/core@0.19.1": {}
1793
+
1794
+ "@humanfs/node@0.16.7":
1795
+ dependencies:
1796
+ "@humanfs/core": 0.19.1
1797
+ "@humanwhocodes/retry": 0.4.3
1798
+
1799
+ "@humanwhocodes/module-importer@1.0.1": {}
1800
+
1801
+ "@humanwhocodes/retry@0.4.3": {}
1802
+
1803
+ "@jridgewell/sourcemap-codec@1.5.5": {}
1804
+
1805
+ "@pkgr/core@0.2.9": {}
1806
+
1807
+ "@rollup/rollup-android-arm-eabi@4.50.0":
1808
+ optional: true
1809
+
1810
+ "@rollup/rollup-android-arm64@4.50.0":
1811
+ optional: true
1812
+
1813
+ "@rollup/rollup-darwin-arm64@4.50.0":
1814
+ optional: true
1815
+
1816
+ "@rollup/rollup-darwin-x64@4.50.0":
1817
+ optional: true
1818
+
1819
+ "@rollup/rollup-freebsd-arm64@4.50.0":
1820
+ optional: true
1821
+
1822
+ "@rollup/rollup-freebsd-x64@4.50.0":
1823
+ optional: true
1824
+
1825
+ "@rollup/rollup-linux-arm-gnueabihf@4.50.0":
1826
+ optional: true
1827
+
1828
+ "@rollup/rollup-linux-arm-musleabihf@4.50.0":
1829
+ optional: true
1830
+
1831
+ "@rollup/rollup-linux-arm64-gnu@4.50.0":
1832
+ optional: true
1833
+
1834
+ "@rollup/rollup-linux-arm64-musl@4.50.0":
1835
+ optional: true
1836
+
1837
+ "@rollup/rollup-linux-loongarch64-gnu@4.50.0":
1838
+ optional: true
1839
+
1840
+ "@rollup/rollup-linux-ppc64-gnu@4.50.0":
1841
+ optional: true
1842
+
1843
+ "@rollup/rollup-linux-riscv64-gnu@4.50.0":
1844
+ optional: true
1845
+
1846
+ "@rollup/rollup-linux-riscv64-musl@4.50.0":
1847
+ optional: true
1848
+
1849
+ "@rollup/rollup-linux-s390x-gnu@4.50.0":
1850
+ optional: true
1851
+
1852
+ "@rollup/rollup-linux-x64-gnu@4.50.0":
1853
+ optional: true
1854
+
1855
+ "@rollup/rollup-linux-x64-musl@4.50.0":
1856
+ optional: true
1857
+
1858
+ "@rollup/rollup-openharmony-arm64@4.50.0":
1859
+ optional: true
1860
+
1861
+ "@rollup/rollup-win32-arm64-msvc@4.50.0":
1862
+ optional: true
1863
+
1864
+ "@rollup/rollup-win32-ia32-msvc@4.50.0":
1865
+ optional: true
1866
+
1867
+ "@rollup/rollup-win32-x64-msvc@4.50.0":
1868
+ optional: true
1869
+
1870
+ "@types/chai@5.2.2":
1871
+ dependencies:
1872
+ "@types/deep-eql": 4.0.2
1873
+
1874
+ "@types/deep-eql@4.0.2": {}
1875
+
1876
+ "@types/estree@1.0.8": {}
1877
+
1878
+ "@types/json-schema@7.0.15": {}
1879
+
1880
+ "@vitest/expect@3.2.4":
1881
+ dependencies:
1882
+ "@types/chai": 5.2.2
1883
+ "@vitest/spy": 3.2.4
1884
+ "@vitest/utils": 3.2.4
1885
+ chai: 5.3.3
1886
+ tinyrainbow: 2.0.0
1887
+
1888
+ "@vitest/mocker@3.2.4(vite@7.1.4)":
1889
+ dependencies:
1890
+ "@vitest/spy": 3.2.4
1891
+ estree-walker: 3.0.3
1892
+ magic-string: 0.30.18
1893
+ optionalDependencies:
1894
+ vite: 7.1.4
1895
+
1896
+ "@vitest/pretty-format@3.2.4":
1897
+ dependencies:
1898
+ tinyrainbow: 2.0.0
1899
+
1900
+ "@vitest/runner@3.2.4":
1901
+ dependencies:
1902
+ "@vitest/utils": 3.2.4
1903
+ pathe: 2.0.3
1904
+ strip-literal: 3.0.0
1905
+
1906
+ "@vitest/snapshot@3.2.4":
1907
+ dependencies:
1908
+ "@vitest/pretty-format": 3.2.4
1909
+ magic-string: 0.30.18
1910
+ pathe: 2.0.3
1911
+
1912
+ "@vitest/spy@3.2.4":
1913
+ dependencies:
1914
+ tinyspy: 4.0.3
1915
+
1916
+ "@vitest/utils@3.2.4":
1917
+ dependencies:
1918
+ "@vitest/pretty-format": 3.2.4
1919
+ loupe: 3.2.1
1920
+ tinyrainbow: 2.0.0
1921
+
1922
+ acorn-jsx@5.3.2(acorn@8.15.0):
1923
+ dependencies:
1924
+ acorn: 8.15.0
1925
+
1926
+ acorn@8.15.0: {}
1927
+
1928
+ ajv@6.12.6:
1929
+ dependencies:
1930
+ fast-deep-equal: 3.1.3
1931
+ fast-json-stable-stringify: 2.1.0
1932
+ json-schema-traverse: 0.4.1
1933
+ uri-js: 4.4.1
1934
+
1935
+ ansi-styles@4.3.0:
1936
+ dependencies:
1937
+ color-convert: 2.0.1
1938
+
1939
+ anymatch@3.1.3:
1940
+ dependencies:
1941
+ normalize-path: 3.0.0
1942
+ picomatch: 2.3.1
1943
+
1944
+ argparse@2.0.1: {}
1945
+
1946
+ assertion-error@2.0.1: {}
1947
+
1948
+ balanced-match@1.0.2: {}
1949
+
1950
+ binary-extensions@2.3.0: {}
1951
+
1952
+ brace-expansion@1.1.12:
1953
+ dependencies:
1954
+ balanced-match: 1.0.2
1955
+ concat-map: 0.0.1
1956
+
1957
+ braces@3.0.3:
1958
+ dependencies:
1959
+ fill-range: 7.1.1
1960
+
1961
+ cac@6.7.14: {}
1962
+
1963
+ callsites@3.1.0: {}
1964
+
1965
+ chai@5.3.3:
1966
+ dependencies:
1967
+ assertion-error: 2.0.1
1968
+ check-error: 2.1.1
1969
+ deep-eql: 5.0.2
1970
+ loupe: 3.2.1
1971
+ pathval: 2.0.1
1972
+
1973
+ chalk@4.1.2:
1974
+ dependencies:
1975
+ ansi-styles: 4.3.0
1976
+ supports-color: 7.2.0
1977
+
1978
+ check-error@2.1.1: {}
1979
+
1980
+ chokidar@3.6.0:
1981
+ dependencies:
1982
+ anymatch: 3.1.3
1983
+ braces: 3.0.3
1984
+ glob-parent: 5.1.2
1985
+ is-binary-path: 2.1.0
1986
+ is-glob: 4.0.3
1987
+ normalize-path: 3.0.0
1988
+ readdirp: 3.6.0
1989
+ optionalDependencies:
1990
+ fsevents: 2.3.3
1991
+
1992
+ color-convert@2.0.1:
1993
+ dependencies:
1994
+ color-name: 1.1.4
1995
+
1996
+ color-name@1.1.4: {}
1997
+
1998
+ concat-map@0.0.1: {}
1999
+
2000
+ cross-spawn@7.0.6:
2001
+ dependencies:
2002
+ path-key: 3.1.1
2003
+ shebang-command: 2.0.0
2004
+ which: 2.0.2
2005
+
2006
+ debug@4.4.1(supports-color@5.5.0):
2007
+ dependencies:
2008
+ ms: 2.1.3
2009
+ optionalDependencies:
2010
+ supports-color: 5.5.0
2011
+
2012
+ deep-eql@5.0.2: {}
2013
+
2014
+ deep-is@0.1.4: {}
2015
+
2016
+ es-module-lexer@1.7.0: {}
2017
+
2018
+ esbuild@0.25.9:
2019
+ optionalDependencies:
2020
+ "@esbuild/aix-ppc64": 0.25.9
2021
+ "@esbuild/android-arm": 0.25.9
2022
+ "@esbuild/android-arm64": 0.25.9
2023
+ "@esbuild/android-x64": 0.25.9
2024
+ "@esbuild/darwin-arm64": 0.25.9
2025
+ "@esbuild/darwin-x64": 0.25.9
2026
+ "@esbuild/freebsd-arm64": 0.25.9
2027
+ "@esbuild/freebsd-x64": 0.25.9
2028
+ "@esbuild/linux-arm": 0.25.9
2029
+ "@esbuild/linux-arm64": 0.25.9
2030
+ "@esbuild/linux-ia32": 0.25.9
2031
+ "@esbuild/linux-loong64": 0.25.9
2032
+ "@esbuild/linux-mips64el": 0.25.9
2033
+ "@esbuild/linux-ppc64": 0.25.9
2034
+ "@esbuild/linux-riscv64": 0.25.9
2035
+ "@esbuild/linux-s390x": 0.25.9
2036
+ "@esbuild/linux-x64": 0.25.9
2037
+ "@esbuild/netbsd-arm64": 0.25.9
2038
+ "@esbuild/netbsd-x64": 0.25.9
2039
+ "@esbuild/openbsd-arm64": 0.25.9
2040
+ "@esbuild/openbsd-x64": 0.25.9
2041
+ "@esbuild/openharmony-arm64": 0.25.9
2042
+ "@esbuild/sunos-x64": 0.25.9
2043
+ "@esbuild/win32-arm64": 0.25.9
2044
+ "@esbuild/win32-ia32": 0.25.9
2045
+ "@esbuild/win32-x64": 0.25.9
2046
+
2047
+ escape-string-regexp@4.0.0: {}
2048
+
2049
+ eslint-config-prettier@10.1.8(eslint@9.34.0):
2050
+ dependencies:
2051
+ eslint: 9.34.0
2052
+
2053
+ eslint-plugin-prettier@5.5.4(eslint-config-prettier@10.1.8(eslint@9.34.0))(eslint@9.34.0)(prettier@3.6.2):
2054
+ dependencies:
2055
+ eslint: 9.34.0
2056
+ prettier: 3.6.2
2057
+ prettier-linter-helpers: 1.0.0
2058
+ synckit: 0.11.11
2059
+ optionalDependencies:
2060
+ eslint-config-prettier: 10.1.8(eslint@9.34.0)
2061
+
2062
+ eslint-scope@8.4.0:
2063
+ dependencies:
2064
+ esrecurse: 4.3.0
2065
+ estraverse: 5.3.0
2066
+
2067
+ eslint-visitor-keys@3.4.3: {}
2068
+
2069
+ eslint-visitor-keys@4.2.1: {}
2070
+
2071
+ eslint@9.34.0:
2072
+ dependencies:
2073
+ "@eslint-community/eslint-utils": 4.8.0(eslint@9.34.0)
2074
+ "@eslint-community/regexpp": 4.12.1
2075
+ "@eslint/config-array": 0.21.0
2076
+ "@eslint/config-helpers": 0.3.1
2077
+ "@eslint/core": 0.15.2
2078
+ "@eslint/eslintrc": 3.3.1
2079
+ "@eslint/js": 9.34.0
2080
+ "@eslint/plugin-kit": 0.3.5
2081
+ "@humanfs/node": 0.16.7
2082
+ "@humanwhocodes/module-importer": 1.0.1
2083
+ "@humanwhocodes/retry": 0.4.3
2084
+ "@types/estree": 1.0.8
2085
+ "@types/json-schema": 7.0.15
2086
+ ajv: 6.12.6
2087
+ chalk: 4.1.2
2088
+ cross-spawn: 7.0.6
2089
+ debug: 4.4.1(supports-color@5.5.0)
2090
+ escape-string-regexp: 4.0.0
2091
+ eslint-scope: 8.4.0
2092
+ eslint-visitor-keys: 4.2.1
2093
+ espree: 10.4.0
2094
+ esquery: 1.6.0
2095
+ esutils: 2.0.3
2096
+ fast-deep-equal: 3.1.3
2097
+ file-entry-cache: 8.0.0
2098
+ find-up: 5.0.0
2099
+ glob-parent: 6.0.2
2100
+ ignore: 5.3.2
2101
+ imurmurhash: 0.1.4
2102
+ is-glob: 4.0.3
2103
+ json-stable-stringify-without-jsonify: 1.0.1
2104
+ lodash.merge: 4.6.2
2105
+ minimatch: 3.1.2
2106
+ natural-compare: 1.4.0
2107
+ optionator: 0.9.4
2108
+ transitivePeerDependencies:
2109
+ - supports-color
2110
+
2111
+ espree@10.4.0:
2112
+ dependencies:
2113
+ acorn: 8.15.0
2114
+ acorn-jsx: 5.3.2(acorn@8.15.0)
2115
+ eslint-visitor-keys: 4.2.1
2116
+
2117
+ esquery@1.6.0:
2118
+ dependencies:
2119
+ estraverse: 5.3.0
2120
+
2121
+ esrecurse@4.3.0:
2122
+ dependencies:
2123
+ estraverse: 5.3.0
2124
+
2125
+ estraverse@5.3.0: {}
2126
+
2127
+ estree-walker@3.0.3:
2128
+ dependencies:
2129
+ "@types/estree": 1.0.8
2130
+
2131
+ esutils@2.0.3: {}
2132
+
2133
+ eventemitter3@4.0.7: {}
2134
+
2135
+ expect-type@1.2.2: {}
2136
+
2137
+ fast-deep-equal@3.1.3: {}
2138
+
2139
+ fast-diff@1.3.0: {}
2140
+
2141
+ fast-json-stable-stringify@2.1.0: {}
2142
+
2143
+ fast-levenshtein@2.0.6: {}
2144
+
2145
+ fdir@6.5.0(picomatch@4.0.3):
2146
+ optionalDependencies:
2147
+ picomatch: 4.0.3
2148
+
2149
+ file-entry-cache@8.0.0:
2150
+ dependencies:
2151
+ flat-cache: 4.0.1
2152
+
2153
+ fill-range@7.1.1:
2154
+ dependencies:
2155
+ to-regex-range: 5.0.1
2156
+
2157
+ find-up@5.0.0:
2158
+ dependencies:
2159
+ locate-path: 6.0.0
2160
+ path-exists: 4.0.0
2161
+
2162
+ flat-cache@4.0.1:
2163
+ dependencies:
2164
+ flatted: 3.3.3
2165
+ keyv: 4.5.4
2166
+
2167
+ flatted@3.3.3: {}
2168
+
2169
+ follow-redirects@1.15.11: {}
2170
+
2171
+ fsevents@2.3.3:
2172
+ optional: true
2173
+
2174
+ glob-parent@5.1.2:
2175
+ dependencies:
2176
+ is-glob: 4.0.3
2177
+
2178
+ glob-parent@6.0.2:
2179
+ dependencies:
2180
+ is-glob: 4.0.3
2181
+
2182
+ globals@14.0.0: {}
2183
+
2184
+ has-flag@3.0.0: {}
2185
+
2186
+ has-flag@4.0.0: {}
2187
+
2188
+ http-proxy@1.18.1:
2189
+ dependencies:
2190
+ eventemitter3: 4.0.7
2191
+ follow-redirects: 1.15.11
2192
+ requires-port: 1.0.0
2193
+ transitivePeerDependencies:
2194
+ - debug
2195
+
2196
+ ignore-by-default@1.0.1: {}
2197
+
2198
+ ignore@5.3.2: {}
2199
+
2200
+ import-fresh@3.3.1:
2201
+ dependencies:
2202
+ parent-module: 1.0.1
2203
+ resolve-from: 4.0.0
2204
+
2205
+ imurmurhash@0.1.4: {}
2206
+
2207
+ is-binary-path@2.1.0:
2208
+ dependencies:
2209
+ binary-extensions: 2.3.0
2210
+
2211
+ is-extglob@2.1.1: {}
2212
+
2213
+ is-glob@4.0.3:
2214
+ dependencies:
2215
+ is-extglob: 2.1.1
2216
+
2217
+ is-number@7.0.0: {}
2218
+
2219
+ isexe@2.0.0: {}
2220
+
2221
+ js-tokens@9.0.1: {}
2222
+
2223
+ js-yaml@4.1.0:
2224
+ dependencies:
2225
+ argparse: 2.0.1
2226
+
2227
+ json-buffer@3.0.1: {}
2228
+
2229
+ json-schema-traverse@0.4.1: {}
2230
+
2231
+ json-stable-stringify-without-jsonify@1.0.1: {}
2232
+
2233
+ keyv@4.5.4:
2234
+ dependencies:
2235
+ json-buffer: 3.0.1
2236
+
2237
+ levn@0.4.1:
2238
+ dependencies:
2239
+ prelude-ls: 1.2.1
2240
+ type-check: 0.4.0
2241
+
2242
+ locate-path@6.0.0:
2243
+ dependencies:
2244
+ p-locate: 5.0.0
2245
+
2246
+ lodash.merge@4.6.2: {}
2247
+
2248
+ loupe@3.2.1: {}
2249
+
2250
+ magic-string@0.30.18:
2251
+ dependencies:
2252
+ "@jridgewell/sourcemap-codec": 1.5.5
2253
+
2254
+ minimatch@3.1.2:
2255
+ dependencies:
2256
+ brace-expansion: 1.1.12
2257
+
2258
+ ms@2.1.3: {}
2259
+
2260
+ nanoid@3.3.11: {}
2261
+
2262
+ natural-compare@1.4.0: {}
2263
+
2264
+ nodemon@3.1.10:
2265
+ dependencies:
2266
+ chokidar: 3.6.0
2267
+ debug: 4.4.1(supports-color@5.5.0)
2268
+ ignore-by-default: 1.0.1
2269
+ minimatch: 3.1.2
2270
+ pstree.remy: 1.1.8
2271
+ semver: 7.7.2
2272
+ simple-update-notifier: 2.0.0
2273
+ supports-color: 5.5.0
2274
+ touch: 3.1.1
2275
+ undefsafe: 2.0.5
2276
+
2277
+ normalize-path@3.0.0: {}
2278
+
2279
+ optionator@0.9.4:
2280
+ dependencies:
2281
+ deep-is: 0.1.4
2282
+ fast-levenshtein: 2.0.6
2283
+ levn: 0.4.1
2284
+ prelude-ls: 1.2.1
2285
+ type-check: 0.4.0
2286
+ word-wrap: 1.2.5
2287
+
2288
+ p-limit@3.1.0:
2289
+ dependencies:
2290
+ yocto-queue: 0.1.0
2291
+
2292
+ p-locate@5.0.0:
2293
+ dependencies:
2294
+ p-limit: 3.1.0
2295
+
2296
+ parent-module@1.0.1:
2297
+ dependencies:
2298
+ callsites: 3.1.0
2299
+
2300
+ path-exists@4.0.0: {}
2301
+
2302
+ path-key@3.1.1: {}
2303
+
2304
+ pathe@2.0.3: {}
2305
+
2306
+ pathval@2.0.1: {}
2307
+
2308
+ picocolors@1.1.1: {}
2309
+
2310
+ picomatch@2.3.1: {}
2311
+
2312
+ picomatch@4.0.3: {}
2313
+
2314
+ postcss@8.5.6:
2315
+ dependencies:
2316
+ nanoid: 3.3.11
2317
+ picocolors: 1.1.1
2318
+ source-map-js: 1.2.1
2319
+
2320
+ prelude-ls@1.2.1: {}
2321
+
2322
+ prettier-linter-helpers@1.0.0:
2323
+ dependencies:
2324
+ fast-diff: 1.3.0
2325
+
2326
+ prettier@3.6.2: {}
2327
+
2328
+ proxy-from-env@1.1.0: {}
2329
+
2330
+ pstree.remy@1.1.8: {}
2331
+
2332
+ punycode@2.3.1: {}
2333
+
2334
+ readdirp@3.6.0:
2335
+ dependencies:
2336
+ picomatch: 2.3.1
2337
+
2338
+ requires-port@1.0.0: {}
2339
+
2340
+ resolve-from@4.0.0: {}
2341
+
2342
+ rollup@4.50.0:
2343
+ dependencies:
2344
+ "@types/estree": 1.0.8
2345
+ optionalDependencies:
2346
+ "@rollup/rollup-android-arm-eabi": 4.50.0
2347
+ "@rollup/rollup-android-arm64": 4.50.0
2348
+ "@rollup/rollup-darwin-arm64": 4.50.0
2349
+ "@rollup/rollup-darwin-x64": 4.50.0
2350
+ "@rollup/rollup-freebsd-arm64": 4.50.0
2351
+ "@rollup/rollup-freebsd-x64": 4.50.0
2352
+ "@rollup/rollup-linux-arm-gnueabihf": 4.50.0
2353
+ "@rollup/rollup-linux-arm-musleabihf": 4.50.0
2354
+ "@rollup/rollup-linux-arm64-gnu": 4.50.0
2355
+ "@rollup/rollup-linux-arm64-musl": 4.50.0
2356
+ "@rollup/rollup-linux-loongarch64-gnu": 4.50.0
2357
+ "@rollup/rollup-linux-ppc64-gnu": 4.50.0
2358
+ "@rollup/rollup-linux-riscv64-gnu": 4.50.0
2359
+ "@rollup/rollup-linux-riscv64-musl": 4.50.0
2360
+ "@rollup/rollup-linux-s390x-gnu": 4.50.0
2361
+ "@rollup/rollup-linux-x64-gnu": 4.50.0
2362
+ "@rollup/rollup-linux-x64-musl": 4.50.0
2363
+ "@rollup/rollup-openharmony-arm64": 4.50.0
2364
+ "@rollup/rollup-win32-arm64-msvc": 4.50.0
2365
+ "@rollup/rollup-win32-ia32-msvc": 4.50.0
2366
+ "@rollup/rollup-win32-x64-msvc": 4.50.0
2367
+ fsevents: 2.3.3
2368
+
2369
+ semver@7.7.2: {}
2370
+
2371
+ shebang-command@2.0.0:
2372
+ dependencies:
2373
+ shebang-regex: 3.0.0
2374
+
2375
+ shebang-regex@3.0.0: {}
2376
+
2377
+ siginfo@2.0.0: {}
2378
+
2379
+ simple-update-notifier@2.0.0:
2380
+ dependencies:
2381
+ semver: 7.7.2
2382
+
2383
+ source-map-js@1.2.1: {}
2384
+
2385
+ stackback@0.0.2: {}
2386
+
2387
+ std-env@3.9.0: {}
2388
+
2389
+ strip-json-comments@3.1.1: {}
2390
+
2391
+ strip-literal@3.0.0:
2392
+ dependencies:
2393
+ js-tokens: 9.0.1
2394
+
2395
+ supports-color@5.5.0:
2396
+ dependencies:
2397
+ has-flag: 3.0.0
2398
+
2399
+ supports-color@7.2.0:
2400
+ dependencies:
2401
+ has-flag: 4.0.0
2402
+
2403
+ synckit@0.11.11:
2404
+ dependencies:
2405
+ "@pkgr/core": 0.2.9
2406
+
2407
+ tinybench@2.9.0: {}
2408
+
2409
+ tinyexec@0.3.2: {}
2410
+
2411
+ tinyglobby@0.2.14:
2412
+ dependencies:
2413
+ fdir: 6.5.0(picomatch@4.0.3)
2414
+ picomatch: 4.0.3
2415
+
2416
+ tinypool@1.1.1: {}
2417
+
2418
+ tinyrainbow@2.0.0: {}
2419
+
2420
+ tinyspy@4.0.3: {}
2421
+
2422
+ tldjs@2.3.2:
2423
+ dependencies:
2424
+ punycode: 2.3.1
2425
+
2426
+ to-regex-range@5.0.1:
2427
+ dependencies:
2428
+ is-number: 7.0.0
2429
+
2430
+ touch@3.1.1: {}
2431
+
2432
+ type-check@0.4.0:
2433
+ dependencies:
2434
+ prelude-ls: 1.2.1
2435
+
2436
+ undefsafe@2.0.5: {}
2437
+
2438
+ undici@7.15.0: {}
2439
+
2440
+ uri-js@4.4.1:
2441
+ dependencies:
2442
+ punycode: 2.3.1
2443
+
2444
+ vite-node@3.2.4:
2445
+ dependencies:
2446
+ cac: 6.7.14
2447
+ debug: 4.4.1(supports-color@5.5.0)
2448
+ es-module-lexer: 1.7.0
2449
+ pathe: 2.0.3
2450
+ vite: 7.1.4
2451
+ transitivePeerDependencies:
2452
+ - "@types/node"
2453
+ - jiti
2454
+ - less
2455
+ - lightningcss
2456
+ - sass
2457
+ - sass-embedded
2458
+ - stylus
2459
+ - sugarss
2460
+ - supports-color
2461
+ - terser
2462
+ - tsx
2463
+ - yaml
2464
+
2465
+ vite@7.1.4:
2466
+ dependencies:
2467
+ esbuild: 0.25.9
2468
+ fdir: 6.5.0(picomatch@4.0.3)
2469
+ picomatch: 4.0.3
2470
+ postcss: 8.5.6
2471
+ rollup: 4.50.0
2472
+ tinyglobby: 0.2.14
2473
+ optionalDependencies:
2474
+ fsevents: 2.3.3
2475
+
2476
+ vitest@3.2.4:
2477
+ dependencies:
2478
+ "@types/chai": 5.2.2
2479
+ "@vitest/expect": 3.2.4
2480
+ "@vitest/mocker": 3.2.4(vite@7.1.4)
2481
+ "@vitest/pretty-format": 3.2.4
2482
+ "@vitest/runner": 3.2.4
2483
+ "@vitest/snapshot": 3.2.4
2484
+ "@vitest/spy": 3.2.4
2485
+ "@vitest/utils": 3.2.4
2486
+ chai: 5.3.3
2487
+ debug: 4.4.1(supports-color@5.5.0)
2488
+ expect-type: 1.2.2
2489
+ magic-string: 0.30.18
2490
+ pathe: 2.0.3
2491
+ picomatch: 4.0.3
2492
+ std-env: 3.9.0
2493
+ tinybench: 2.9.0
2494
+ tinyexec: 0.3.2
2495
+ tinyglobby: 0.2.14
2496
+ tinypool: 1.1.1
2497
+ tinyrainbow: 2.0.0
2498
+ vite: 7.1.4
2499
+ vite-node: 3.2.4
2500
+ why-is-node-running: 2.3.0
2501
+ transitivePeerDependencies:
2502
+ - jiti
2503
+ - less
2504
+ - lightningcss
2505
+ - msw
2506
+ - sass
2507
+ - sass-embedded
2508
+ - stylus
2509
+ - sugarss
2510
+ - supports-color
2511
+ - terser
2512
+ - tsx
2513
+ - yaml
2514
+
2515
+ which@2.0.2:
2516
+ dependencies:
2517
+ isexe: 2.0.0
2518
+
2519
+ why-is-node-running@2.3.0:
2520
+ dependencies:
2521
+ siginfo: 2.0.0
2522
+ stackback: 0.0.2
2523
+
2524
+ word-wrap@1.2.5: {}
2525
+
2526
+ yocto-queue@0.1.0: {}
src/cors.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * 为响应头添加 CORS 相关头部
3
+ * @param {object} headers
4
+ * @param {import('http').IncomingMessage} req
5
+ * @returns {object} 新的 headers
6
+ */
7
+ export function withCORS(headers, req) {
8
+ const origin = req.headers.origin || "*";
9
+ return {
10
+ ...headers,
11
+ "access-control-allow-origin": origin,
12
+ "access-control-allow-credentials": "true",
13
+ "access-control-allow-methods": "GET,POST,PUT,PATCH,DELETE,OPTIONS",
14
+ "access-control-allow-headers":
15
+ req.headers["access-control-request-headers"] || "*",
16
+ "access-control-expose-headers": "*",
17
+ // 可观测性与缓存友好:避免缓存污染
18
+ Vary: "Origin, Access-Control-Request-Method, Access-Control-Request-Headers",
19
+ // 预检缓存(基础默认)
20
+ "Access-Control-Max-Age": "600",
21
+ };
22
+ }
src/metrics.js ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // 简易 Prometheus 指标(KISS/YAGNI):仅计数与活动数
2
+ const metrics = {
3
+ requestsTotal: 0,
4
+ requestsInFlight: 0,
5
+ errorsTotal: 0,
6
+ };
7
+
8
+ export function onRequestStart() {
9
+ metrics.requestsTotal += 1;
10
+ metrics.requestsInFlight += 1;
11
+ }
12
+
13
+ export function onRequestEnd() {
14
+ if (metrics.requestsInFlight > 0) metrics.requestsInFlight -= 1;
15
+ }
16
+
17
+ export function onError() {
18
+ metrics.errorsTotal += 1;
19
+ }
20
+
21
+ export function renderPrometheus() {
22
+ return [
23
+ '# HELP cors_sp_requests_total Total HTTP requests received',
24
+ '# TYPE cors_sp_requests_total counter',
25
+ `cors_sp_requests_total ${metrics.requestsTotal}`,
26
+ '# HELP cors_sp_requests_inflight In-flight HTTP requests',
27
+ '# TYPE cors_sp_requests_inflight gauge',
28
+ `cors_sp_requests_inflight ${metrics.requestsInFlight}`,
29
+ '# HELP cors_sp_errors_total Total error responses',
30
+ '# TYPE cors_sp_errors_total counter',
31
+ `cors_sp_errors_total ${metrics.errorsTotal}`,
32
+ ].join('\n') + '\n';
33
+ }
34
+
src/proxyHandler.js ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { parseURL } from "./urlParser.js";
2
+ import { isValidHostName } from "./utils.js";
3
+ import { withCORS } from "./cors.js";
4
+ import { onRequestStart, onRequestEnd, onError, renderPrometheus } from "./metrics.js";
5
+
6
+ /**
7
+ * 创建代理处理器
8
+ * @param {object} options
9
+ * @param {import('http-proxy').default} proxy
10
+ * @returns {(req, res) => void}
11
+ */
12
+ export function createProxyHandler(options, proxy) {
13
+ const {
14
+ originBlacklist = [],
15
+ originWhitelist = [],
16
+ requireHeader = [],
17
+ removeHeaders = [],
18
+ setHeaders = {},
19
+ checkRateLimit = null,
20
+ redirectSameOrigin = false,
21
+ } = options || {};
22
+ // 根路径文档页渲染(KISS/YAGNI:仅提供必要说明)
23
+ const renderLandingHTML = (req) => {
24
+ const host = req.headers.host || `localhost:${process.env.PORT || 4399}`;
25
+ const base = `http://${host}`;
26
+ return `<!doctype html>\n<html lang="zh-CN">\n<head>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n <title>CORS Proxy 服务</title>\n <style>\n body { font-family: system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif; margin: 2rem; line-height: 1.6; }\n code, pre { background: #f5f7fa; padding: 0.2rem 0.4rem; border-radius: 4px; }\n pre { padding: 0.8rem; overflow: auto; }\n h1, h2 { margin: 0.2rem 0 0.6rem; }\n .tip { color: #666; }\n </style>\n</head>\n<body>\n <h1>CORS Proxy Server</h1>\n <p class="tip">通过在目标 URL 前加上代理前缀来解决跨域。</p>\n <h2>用法</h2>\n <pre><code>${base}/&lt;目标URL&gt;</code></pre>\n <h2>示例</h2>\n <pre><code>GET ${base}/https://api.github.com/users/octocat\nGET ${base}/https://jsonplaceholder.typicode.com/posts/1</code></pre>\n <h2>说明</h2>\n <ul>\n <li>支持 <code>GET/POST/PUT/DELETE</code> 等常见方法。</li>\n <li>自动添加 CORS 响应头。</li>\n <li>可设置 <code>PORT</code> 环境变量修改端口(默认 4399)。</li>\n </ul>\n <p class="tip">将真实 API 地址拼接在 <code>${base}/</code> 后即可。</p>\n</body>\n</html>`;
27
+ };
28
+ return (req, res) => {
29
+ const start = Date.now();
30
+ const reqId = Math.random().toString(36).slice(2, 10);
31
+ onRequestStart();
32
+ const log = (level, data) => {
33
+ try {
34
+ console.log(JSON.stringify({ level, reqId, method: req.method, path: req.url, origin: req.headers.origin || null, ...data }));
35
+ } catch {}
36
+ };
37
+
38
+ // 健康检查与指标
39
+ if (req.url === "/healthz") {
40
+ const headers = withCORS({ "Content-Type": "application/json" }, req);
41
+ res.writeHead(200, headers);
42
+ res.end(JSON.stringify({ status: "ok", uptime: process.uptime() }));
43
+ onRequestEnd();
44
+ return;
45
+ }
46
+ if (req.url === "/metrics") {
47
+ const text = renderPrometheus();
48
+ res.writeHead(200, { "Content-Type": "text/plain; version=0.0.4" });
49
+ res.end(text);
50
+ onRequestEnd();
51
+ return;
52
+ }
53
+ // 0. 处理 OPTIONS 预检请求
54
+ if (req.method === "OPTIONS") {
55
+ const headers = withCORS({}, req);
56
+ res.writeHead(200, headers);
57
+ res.end();
58
+ return;
59
+ }
60
+
61
+ // 0.1 检查来源黑/白名单
62
+ const origin = req.headers.origin || "";
63
+ if (originBlacklist.length && originBlacklist.includes(origin)) {
64
+ onError();
65
+ res.writeHead(403, withCORS({ "Content-Type": "application/json" }, req));
66
+ res.end(JSON.stringify({ error: "origin_blacklisted" }));
67
+ onRequestEnd();
68
+ return;
69
+ }
70
+ if (originWhitelist.length && !originWhitelist.includes(origin)) {
71
+ onError();
72
+ res.writeHead(403, withCORS({ "Content-Type": "application/json" }, req));
73
+ res.end(JSON.stringify({ error: "origin_not_whitelisted" }));
74
+ onRequestEnd();
75
+ return;
76
+ }
77
+
78
+ // 0.2 检查必需头部
79
+ if (
80
+ requireHeader.length &&
81
+ !requireHeader.every((h) => req.headers[h.toLowerCase()])
82
+ ) {
83
+ onError();
84
+ res.writeHead(400, withCORS({ "Content-Type": "application/json" }, req));
85
+ res.end(JSON.stringify({ error: "missing_required_header" }));
86
+ onRequestEnd();
87
+ return;
88
+ }
89
+
90
+ // 0.3 检查限流
91
+ if (typeof checkRateLimit === "function" && !checkRateLimit(req)) {
92
+ onError();
93
+ res.writeHead(429, withCORS({ "Content-Type": "application/json" }, req));
94
+ res.end(JSON.stringify({ error: "rate_limit_exceeded" }));
95
+ onRequestEnd();
96
+ return;
97
+ }
98
+ // 1. 提取目标 URL
99
+ const url = decodeURIComponent(req.url.substring(1));
100
+ if (!url || req.url === "/") {
101
+ const headers = withCORS({ "Content-Type": "text/html; charset=utf-8" }, req);
102
+ res.writeHead(200, headers);
103
+ res.end(renderLandingHTML(req));
104
+ onRequestEnd();
105
+ return;
106
+ }
107
+ const targetLocation = parseURL(url);
108
+ if (!targetLocation) {
109
+ onError();
110
+ res.writeHead(400, withCORS({ "Content-Type": "application/json" }, req));
111
+ res.end(JSON.stringify({ error: "invalid_target_url" }));
112
+ onRequestEnd();
113
+ return;
114
+ }
115
+ // 2. 主机名校验
116
+ if (!isValidHostName(targetLocation.hostname)) {
117
+ onError();
118
+ res.writeHead(404, withCORS({ "Content-Type": "application/json" }, req));
119
+ res.end(JSON.stringify({ error: "invalid_host" }));
120
+ onRequestEnd();
121
+ return;
122
+ }
123
+
124
+ // 2.1 移除指定头部
125
+ removeHeaders.forEach((h) => {
126
+ delete req.headers[h.toLowerCase()];
127
+ });
128
+ // 2.2 设置指定头部
129
+ Object.entries(setHeaders).forEach(([k, v]) => {
130
+ req.headers[k.toLowerCase()] = v;
131
+ });
132
+
133
+ // 3. 代理请求
134
+ proxy.once("proxyRes", (proxyRes, req2, res2) => {
135
+ // 处理重定向
136
+ if ([301, 302, 303, 307, 308].includes(proxyRes.statusCode)) {
137
+ const loc = proxyRes.headers["location"];
138
+ if (loc) {
139
+ const newUrl = new URL(loc, targetLocation);
140
+ // redirectSameOrigin: 只重定向同源
141
+ if (!redirectSameOrigin || newUrl.origin === targetLocation.origin) {
142
+ proxyRes.headers["location"] = "/" + newUrl.href;
143
+ }
144
+ }
145
+ }
146
+ // 添加 CORS 头
147
+ Object.entries(withCORS({}, req2)).forEach(([k, v]) => {
148
+ res2.setHeader(k, v);
149
+ });
150
+ // 记录成功日志
151
+ try { console.log(JSON.stringify({ level: "info", reqId, status: proxyRes.statusCode, target: targetLocation.href, duration_ms: Date.now() - start })); } catch {}
152
+ });
153
+ proxy.web(req, res, {
154
+ target: targetLocation.href,
155
+ ignorePath: true,
156
+ changeOrigin: true,
157
+ });
158
+ res.on("close", () => {
159
+ onRequestEnd();
160
+ });
161
+ };
162
+ }
163
+ // 基础可靠性:socket 超时(15s 默认)
164
+ try {
165
+ req.socket.setTimeout(15000, () => {
166
+ onError();
167
+ try {
168
+ res.writeHead(504, withCORS({ "Content-Type": "application/json" }, req));
169
+ res.end(JSON.stringify({ error: "client_timeout" }));
170
+ } catch {}
171
+ try { req.destroy(); } catch {}
172
+ onRequestEnd();
173
+ });
174
+ } catch {}
src/server.js ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * CORS 代理服务器模块
3
+ *
4
+ * 这是一个基于 Node.js 的 HTTP 代理服务器,专门用于解决跨域问题。
5
+ * 服务器接收请求后,将请求转发到目标服务器,并自动添加 CORS 头部。
6
+ *
7
+ * 主要功能:
8
+ * - 跨域请求代理
9
+ * - 自动 CORS 头部处理
10
+ * - 错误处理和响应
11
+ * - 支持多种配置选项
12
+ * - 增强:WebSocket、超时、Keep-Alive
13
+ *
14
+ * @fileoverview CORS 代理服务器核心模块
15
+ * @author cors-sp
16
+ * @version 0.1.4
17
+ */
18
+
19
+ // 基础 HTTP 服务器,ESM 语法
20
+ import http from "http";
21
+ import https from "https";
22
+ import { createProxyHandler } from "./proxyHandler.js";
23
+ import { withCORS } from "./cors.js";
24
+ import { fileURLToPath } from "url";
25
+ import { createRequire } from "node:module";
26
+
27
+ // 兼容 http-proxy 内部 util._extend 的弃用告警
28
+ const require = createRequire(import.meta.url);
29
+ try {
30
+ const cjsUtil = require("node:util");
31
+ cjsUtil._extend = Object.assign;
32
+ } catch {}
33
+
34
+ // 延迟加载 http-proxy,确保上述替换生效
35
+ const httpProxy = require("http-proxy");
36
+
37
+ /**
38
+ * 默认服务器端口
39
+ * 可通过环境变量 PORT 覆盖,默认为 4399
40
+ * @constant {number}
41
+ */
42
+ const PORT = process.env.PORT || 4399;
43
+
44
+ /**
45
+ * 创建 CORS 代理服务器
46
+ *
47
+ * 该函数创建一个配置了代理功能的 HTTP 服务器,能够处理跨域请求。
48
+ * 服务器会自动添加 CORS 头部,并支持多种安全配置选项。
49
+ *
50
+ * @param {Object} options - 服务器配置选项
51
+ * @param {string[]} [options.originBlacklist=[]] - 被禁止的源列表
52
+ * @param {string[]} [options.originWhitelist=[]] - 允许的源列表(如果设置,只允许列表中的源)
53
+ * @param {string[]} [options.requireHeader=[]] - 必需的请求头列表
54
+ * @param {string[]} [options.removeHeaders=[]] - 需要移除的请求头列表
55
+ * @param {Object} [options.setHeaders={}] - 需要设置的请求头键值对
56
+ * @param {Function} [options.checkRateLimit=null] - 限流检查函数
57
+ * @param {boolean} [options.redirectSameOrigin=false] - 是否只允许同源重定向
58
+ * - 默认超时:client/proxy 15s
59
+ * - WebSocket 代理支持
60
+ * - Keep-Alive Agent(WS 路径与必要处)
61
+ *
62
+ * @returns {http.Server} 配置好的 HTTP 服务器实例
63
+ *
64
+ * @example
65
+ * // 基本用法
66
+ * const server = createServer();
67
+ * server.listen(3000);
68
+ *
69
+ * @example
70
+ * // 带安全配置的用法
71
+ * const server = createServer({
72
+ * originWhitelist: ['https://example.com', 'https://app.example.com'],
73
+ * requireHeader: ['authorization'],
74
+ * setHeaders: {
75
+ * 'x-forwarded-for': 'proxy-server'
76
+ * }
77
+ * });
78
+ *
79
+ * @example
80
+ * // 带限流的用法
81
+ * const rateLimitMap = new Map();
82
+ * const checkRateLimit = (req) => {
83
+ * const ip = req.connection.remoteAddress;
84
+ * const now = Date.now();
85
+ * const requests = rateLimitMap.get(ip) || [];
86
+ * const recentRequests = requests.filter(time => now - time < 60000);
87
+ * if (recentRequests.length >= 100) return false;
88
+ * recentRequests.push(now);
89
+ * rateLimitMap.set(ip, recentRequests);
90
+ * return true;
91
+ * };
92
+ *
93
+ * const server = createServer({
94
+ * checkRateLimit
95
+ * });
96
+ */
97
+ const createServer = (options = {}) => {
98
+ const proxy = httpProxy.createProxyServer({
99
+ timeout: options.timeout ?? 15000,
100
+ proxyTimeout: options.proxyTimeout ?? 15000,
101
+ ...options,
102
+ });
103
+
104
+ // 代理错误统一为 JSON 文本
105
+ proxy.on("error", (err, req, res) => {
106
+ try {
107
+ const headers = withCORS({ "Content-Type": "application/json" }, req || { headers: {} });
108
+ res.writeHead(502, headers);
109
+ res.end(JSON.stringify({ error: "proxy_error", message: err?.message || "unknown" }));
110
+ } catch {}
111
+ });
112
+
113
+ // HTTP 处理器
114
+ const handler = createProxyHandler(options, proxy);
115
+ const server = http.createServer(handler);
116
+
117
+ // WebSocket 代理支持
118
+ server.on("upgrade", (req, socket, head) => {
119
+ try {
120
+ const raw = decodeURIComponent((req.url || "").substring(1));
121
+ if (!raw) {
122
+ socket.destroy();
123
+ return;
124
+ }
125
+ const target = new URL(raw);
126
+ const agent = target.protocol === "https:" ? new https.Agent({ keepAlive: true, maxSockets: 100 }) : new http.Agent({ keepAlive: true, maxSockets: 100 });
127
+ proxy.ws(req, socket, head, {
128
+ target: target.href,
129
+ changeOrigin: true,
130
+ agent,
131
+ });
132
+ } catch {
133
+ socket.destroy();
134
+ }
135
+ });
136
+
137
+ return server;
138
+ };
139
+
140
+ if (process.argv[1] === fileURLToPath(import.meta.url)) {
141
+ // 使用默认配置创建服务器
142
+ const server = createServer({});
143
+
144
+ // 启动服务器并监听指定端口
145
+ server.listen(PORT, () => {
146
+ console.log(`Proxy Server listening on http://localhost:${PORT}`);
147
+ console.log(`Usage: http://localhost:${PORT}/<target-url>`);
148
+ console.log(`Example: http://localhost:${PORT}/https://api.example.com/data`);
149
+ });
150
+ }
151
+
152
+ /**
153
+ * 导出 createServer 函数
154
+ *
155
+ * 允许其他模块导入并使用 createServer 函数来创建自定义配置的服务器实例。
156
+ *
157
+ * @exports {Function} createServer - 创建 CORS 代理服务器的函数
158
+ */
159
+ export { createServer };
src/urlParser.js ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * 解析目标 URL,支持 http(s)://、//、无协议等格式
3
+ * @param {string} url
4
+ * @returns {URL|null}
5
+ */
6
+ export function parseURL(url) {
7
+ if (!url) return null;
8
+ try {
9
+ // The url is the first part of the path, after the leading slash.
10
+ // e.g. http://localhost:8080/http://example.com/
11
+ let normalized = url.trim();
12
+ if (normalized.startsWith("http:/") && !normalized.startsWith("http://")) {
13
+ normalized = "http://" + normalized.substring("http:/".length);
14
+ } else if (
15
+ normalized.startsWith("https:/") &&
16
+ !normalized.startsWith("https://")
17
+ ) {
18
+ normalized = "https://" + normalized.substring("https:/".length);
19
+ }
20
+
21
+ const urlObject = new URL(normalized);
22
+ // The host of the URL object must be a valid hostname.
23
+ // For example, "http://http://example.com" is not a valid URL.
24
+ if (urlObject.hostname.includes(":")) {
25
+ // The hostname contains a colon, which is not allowed.
26
+ // This is a workaround for URLs like "http://http://example.com".
27
+ const newUrl = url.substring(url.indexOf("//") + 2);
28
+ return parseURL(newUrl);
29
+ }
30
+ return urlObject;
31
+ } catch {
32
+ return null;
33
+ }
34
+ }
src/utils.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import tldjs from "tldjs";
2
+ import net from "node:net";
3
+
4
+ /**
5
+ * 判断主机名是否合法
6
+ * @param {string} hostname
7
+ * @returns {boolean}
8
+ */
9
+ export function isValidHostName(hostname) {
10
+ if (!hostname) return false;
11
+ if (net.isIPv4(hostname) || net.isIPv6(hostname)) return true;
12
+ return tldjs.isValidHostname(hostname);
13
+ }
test/api.test.js ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { describe, it, expect, beforeAll, afterAll } from "vitest";
2
+ import { createServer } from "../src/server.js";
3
+
4
+ describe("cors-sp API Tests", () => {
5
+ let server;
6
+ let serverAddress;
7
+
8
+ beforeAll(async () => {
9
+ return new Promise((resolve) => {
10
+ const port = 0; // Use port 0 to let the OS assign a random free port
11
+ server = createServer({}).listen(port, () => {
12
+ const address = server.address();
13
+ serverAddress = `http://localhost:${address.port}`;
14
+ console.log(`Test server running on ${serverAddress}`);
15
+ resolve();
16
+ });
17
+ });
18
+ });
19
+
20
+ afterAll(() => {
21
+ return new Promise((resolve) => {
22
+ server.close(() => {
23
+ console.log("Test server closed.");
24
+ resolve();
25
+ });
26
+ });
27
+ });
28
+
29
+ it("root path returns landing html", async () => {
30
+ const res = await fetch(serverAddress + "/", {
31
+ headers: { Origin: "http://example.com" },
32
+ });
33
+ expect(res.status).toBe(200);
34
+ expect(res.headers.get("content-type")).toMatch(/text\/html/);
35
+ const text = await res.text();
36
+ expect(text).toContain("CORS Proxy Server");
37
+ });
38
+
39
+ it("invalid target url returns JSON error", async () => {
40
+ const res = await fetch(`${serverAddress}/invalidurl`, {
41
+ headers: { Origin: "http://example.com" },
42
+ });
43
+ expect(res.status).toBe(400);
44
+ expect(res.headers.get("content-type")).toMatch(/application\/json/);
45
+ const body = await res.json();
46
+ expect(body).toHaveProperty("error", "invalid_target_url");
47
+ });
48
+
49
+ it("healthz endpoint returns ok", async () => {
50
+ const res = await fetch(`${serverAddress}/healthz`);
51
+ expect(res.status).toBe(200);
52
+ expect(res.headers.get("content-type")).toMatch(/application\/json/);
53
+ const body = await res.json();
54
+ expect(body).toHaveProperty("status", "ok");
55
+ expect(typeof body.uptime).toBe("number");
56
+ });
57
+
58
+ it("metrics endpoint returns prometheus text", async () => {
59
+ const res = await fetch(`${serverAddress}/metrics`);
60
+ expect(res.status).toBe(200);
61
+ expect(res.headers.get("content-type")).toContain("text/plain");
62
+ const text = await res.text();
63
+ expect(text).toContain("cors_sp_requests_total");
64
+ });
65
+ });
vitest-setup.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import { fetch, Request, Response, Headers } from "undici";
2
+
3
+ global.fetch = fetch;
4
+ global.Request = Request;
5
+ global.Response = Response;
6
+ global.Headers = Headers;
vitest.config.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import { defineConfig } from "vitest/config";
2
+
3
+ export default defineConfig({
4
+ test: {
5
+ environment: "node",
6
+ globals: true,
7
+ setupFiles: ["vitest-setup.js"],
8
+ },
9
+ });