xshell 1.2.45 → 1.2.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/net.d.ts +0 -1
- package/net.js +3 -5
- package/package.json +15 -15
package/net.d.ts
CHANGED
package/net.js
CHANGED
|
@@ -179,14 +179,12 @@ export async function request(url, options = {}) {
|
|
|
179
179
|
case 'application/x-www-form-urlencoded':
|
|
180
180
|
return (body instanceof URLSearchParams ? body : new URLSearchParams(body)).toString();
|
|
181
181
|
case 'multipart/form-data':
|
|
182
|
-
if (body
|
|
182
|
+
if (body && body[Symbol.toStringTag] === 'FormData')
|
|
183
183
|
return body;
|
|
184
184
|
else {
|
|
185
185
|
let form = new FormData();
|
|
186
|
-
for (const key in body)
|
|
187
|
-
|
|
188
|
-
form.set(key, value);
|
|
189
|
-
}
|
|
186
|
+
for (const key in body)
|
|
187
|
+
form.set(key, body[key]);
|
|
190
188
|
return form;
|
|
191
189
|
}
|
|
192
190
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xshell",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.46",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -49,17 +49,17 @@
|
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@babel/core": "^7.27.
|
|
53
|
-
"@babel/parser": "^7.27.
|
|
54
|
-
"@babel/traverse": "^7.27.
|
|
52
|
+
"@babel/core": "^7.27.4",
|
|
53
|
+
"@babel/parser": "^7.27.5",
|
|
54
|
+
"@babel/traverse": "^7.27.4",
|
|
55
55
|
"@koa/cors": "^5.0.0",
|
|
56
|
-
"@stylistic/eslint-plugin": "^4.4.
|
|
56
|
+
"@stylistic/eslint-plugin": "^4.4.1",
|
|
57
57
|
"@svgr/webpack": "^8.1.0",
|
|
58
58
|
"@types/sass-loader": "^8.0.9",
|
|
59
59
|
"@types/ws": "^8.18.1",
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^8.33.
|
|
61
|
-
"@typescript-eslint/parser": "^8.33.
|
|
62
|
-
"@typescript-eslint/utils": "^8.33.
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^8.33.1",
|
|
61
|
+
"@typescript-eslint/parser": "^8.33.1",
|
|
62
|
+
"@typescript-eslint/utils": "^8.33.1",
|
|
63
63
|
"archiver": "^7.0.1",
|
|
64
64
|
"chalk": "^5.4.1",
|
|
65
65
|
"cli-table3": "^0.6.5",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"commander": "^14.0.0",
|
|
68
68
|
"css-loader": "^7.1.2",
|
|
69
69
|
"emoji-regex": "^10.4.0",
|
|
70
|
-
"eslint": "^9.
|
|
70
|
+
"eslint": "^9.28.0",
|
|
71
71
|
"eslint-plugin-import": "^2.31.0",
|
|
72
72
|
"eslint-plugin-react": "^7.37.5",
|
|
73
73
|
"gulp-sort": "^2.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"react-i18next": "^15.5.2",
|
|
85
85
|
"react-object-model": "^1.2.24",
|
|
86
86
|
"resolve-path": "^1.4.0",
|
|
87
|
-
"sass": "^1.89.
|
|
87
|
+
"sass": "^1.89.1",
|
|
88
88
|
"sass-loader": "^16.0.5",
|
|
89
89
|
"source-map-loader": "^5.0.0",
|
|
90
90
|
"strip-ansi": "^7.1.0",
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
"typescript": "^5.8.3",
|
|
97
97
|
"ua-parser-js": "^2.0.3",
|
|
98
98
|
"undici": "^7.10.0",
|
|
99
|
-
"vinyl": "^3.0.
|
|
100
|
-
"vinyl-fs": "^4.0.
|
|
99
|
+
"vinyl": "^3.0.1",
|
|
100
|
+
"vinyl-fs": "^4.0.2",
|
|
101
101
|
"webpack": "^5.99.9",
|
|
102
102
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
103
103
|
"ws": "^8.18.2"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
|
-
"@babel/types": "^7.27.
|
|
106
|
+
"@babel/types": "^7.27.6",
|
|
107
107
|
"@types/archiver": "^6.0.3",
|
|
108
108
|
"@types/babel__traverse": "^7.20.7",
|
|
109
109
|
"@types/eslint": "^9.6.1",
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
"@types/gulp-sort": "^2.0.4",
|
|
112
112
|
"@types/koa": "^2.15.0",
|
|
113
113
|
"@types/koa-compress": "^4.0.6",
|
|
114
|
-
"@types/mime-types": "^
|
|
115
|
-
"@types/node": "^22.15.
|
|
114
|
+
"@types/mime-types": "^3.0.0",
|
|
115
|
+
"@types/node": "^22.15.30",
|
|
116
116
|
"@types/react": "^19.1.6",
|
|
117
117
|
"@types/through2": "^2.0.41",
|
|
118
118
|
"@types/tough-cookie": "^4.0.5",
|