xshell 1.0.188 → 1.0.190
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/builder.js +9 -6
- package/package.json +9 -9
package/builder.js
CHANGED
|
@@ -352,14 +352,17 @@ export class Bundler {
|
|
|
352
352
|
} : {}
|
|
353
353
|
},
|
|
354
354
|
ignoreWarnings: [
|
|
355
|
-
/Failed to parse source map
|
|
356
|
-
...this.license ? [
|
|
355
|
+
...this.source_map ? [/Failed to parse source map/] : [],
|
|
356
|
+
...this.license ? [
|
|
357
|
+
/** LicenseWebpackPlugin 会添加过时的 string 类型的 warning,无法被正则表达式的逻辑匹配,这里只能手动用函数过滤 */
|
|
358
|
+
(warning) => typeof warning === 'string' && warning.startsWith('license-webpack-plugin: could not find any license ')
|
|
359
|
+
] : [],
|
|
357
360
|
...target === 'nodejs' ? [
|
|
358
|
-
/Can't resolve '(bufferutil|utf-8-validate)'
|
|
361
|
+
/Can't resolve '(bufferutil|utf-8-validate)'/,
|
|
362
|
+
// 打包 ali-oss 时可能的报错
|
|
363
|
+
(warning) => warning.message?.includes('the request of a dependency is an expression') &&
|
|
364
|
+
warning.module?.context?.endsWith('any-promise')
|
|
359
365
|
] : [],
|
|
360
|
-
// 打包 ali-oss 时可能的报错
|
|
361
|
-
warning => warning.message?.includes('the request of a dependency is an expression') &&
|
|
362
|
-
warning.module?.context?.endsWith('any-promise')
|
|
363
366
|
],
|
|
364
367
|
performance: {
|
|
365
368
|
hints: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xshell",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.190",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@babel/core": "^7.
|
|
53
|
-
"@babel/parser": "^7.
|
|
52
|
+
"@babel/core": "^7.26.0",
|
|
53
|
+
"@babel/parser": "^7.26.1",
|
|
54
54
|
"@babel/traverse": "^7.25.9",
|
|
55
55
|
"@koa/cors": "^5.0.0",
|
|
56
56
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"gulp-sort": "^2.0.0",
|
|
82
82
|
"hash-string": "^1.0.0",
|
|
83
83
|
"https-proxy-agent": "^7.0.5",
|
|
84
|
-
"i18next": "^23.16.
|
|
84
|
+
"i18next": "^23.16.4",
|
|
85
85
|
"i18next-scanner": "^4.6.0",
|
|
86
86
|
"koa": "^2.15.3",
|
|
87
87
|
"koa-compress": "^5.1.1",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"react-i18next": "^15.1.0",
|
|
95
95
|
"react-object-model": "^1.2.14",
|
|
96
96
|
"resolve-path": "^1.4.0",
|
|
97
|
-
"sass": "^1.80.
|
|
97
|
+
"sass": "^1.80.4",
|
|
98
98
|
"sass-loader": "^16.0.2",
|
|
99
99
|
"source-map-loader": "^5.0.0",
|
|
100
100
|
"strip-ansi": "^7.1.0",
|
|
@@ -113,9 +113,9 @@
|
|
|
113
113
|
"ws": "^8.18.0"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@babel/types": "^7.
|
|
116
|
+
"@babel/types": "^7.26.0",
|
|
117
117
|
"@types/ali-oss": "^6.16.11",
|
|
118
|
-
"@types/archiver": "^6.0.
|
|
118
|
+
"@types/archiver": "^6.0.3",
|
|
119
119
|
"@types/babel__traverse": "^7.20.6",
|
|
120
120
|
"@types/byte-size": "^8.1.2",
|
|
121
121
|
"@types/chardet": "^0.8.3",
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
"@types/koa-compress": "^4.0.6",
|
|
127
127
|
"@types/lodash": "^4.17.12",
|
|
128
128
|
"@types/mime-types": "^2.1.4",
|
|
129
|
-
"@types/node": "^22.
|
|
130
|
-
"@types/react": "^18.3.
|
|
129
|
+
"@types/node": "^22.8.1",
|
|
130
|
+
"@types/react": "^18.3.12",
|
|
131
131
|
"@types/through2": "^2.0.41",
|
|
132
132
|
"@types/tough-cookie": "^4.0.5",
|
|
133
133
|
"@types/ua-parser-js": "^0.7.39",
|