@lynx-js/rspeedy-canary 0.10.3-canary-20250725-e156e76e → 0.10.3-canary-20250728-1f7b2d07
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1469,9 +1469,9 @@ export const __webpack_modules__ = {
|
|
|
1469
1469
|
if (void 0 === value) return true;
|
|
1470
1470
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1471
1471
|
});
|
|
1472
|
-
const _io40 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1472
|
+
const _io40 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6578"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1473
1473
|
if ([
|
|
1474
|
-
"__@toStringTag@
|
|
1474
|
+
"__@toStringTag@6578"
|
|
1475
1475
|
].some((prop)=>key === prop)) return true;
|
|
1476
1476
|
const value = input[key];
|
|
1477
1477
|
if (void 0 === value) return true;
|
|
@@ -3076,14 +3076,14 @@ export const __webpack_modules__ = {
|
|
|
3076
3076
|
if (void 0 === value) return true;
|
|
3077
3077
|
return false;
|
|
3078
3078
|
})));
|
|
3079
|
-
const _io148 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@
|
|
3079
|
+
const _io148 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@6578"] && Object.keys(input).every((key)=>{
|
|
3080
3080
|
if ([
|
|
3081
3081
|
"BYTES_PER_ELEMENT",
|
|
3082
3082
|
"buffer",
|
|
3083
3083
|
"byteLength",
|
|
3084
3084
|
"byteOffset",
|
|
3085
3085
|
"length",
|
|
3086
|
-
"__@toStringTag@
|
|
3086
|
+
"__@toStringTag@6578"
|
|
3087
3087
|
].some((prop)=>key === prop)) return true;
|
|
3088
3088
|
const value = input[key];
|
|
3089
3089
|
if (void 0 === value) return true;
|
|
@@ -5800,10 +5800,9 @@ export const __webpack_modules__ = {
|
|
|
5800
5800
|
if (void 0 === value) return true;
|
|
5801
5801
|
return false;
|
|
5802
5802
|
}));
|
|
5803
|
-
const _io364 = (input, _exceptionable = true)=>(void 0 === input.minify || "boolean" == typeof input.minify) &&
|
|
5803
|
+
const _io364 = (input, _exceptionable = true)=>(void 0 === input.minify || "boolean" == typeof input.minify) && null !== input.compress && (void 0 === input.compress || "boolean" == typeof input.compress || "object" == typeof input.compress && null !== input.compress && false === Array.isArray(input.compress) && _io365(input.compress, _exceptionable)) && null !== input.mangle && (void 0 === input.mangle || "boolean" == typeof input.mangle || "object" == typeof input.mangle && null !== input.mangle && false === Array.isArray(input.mangle) && _io366(input.mangle, _exceptionable)) && (void 0 === input.format || "object" == typeof input.format && null !== input.format && false === Array.isArray(input.format) && _io368(input.format, _exceptionable)) && (void 0 === input["module"] || "boolean" == typeof input["module"]) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
5804
5804
|
if ([
|
|
5805
5805
|
"minify",
|
|
5806
|
-
"ecma",
|
|
5807
5806
|
"compress",
|
|
5808
5807
|
"mangle",
|
|
5809
5808
|
"format",
|
|
@@ -6293,9 +6292,9 @@ export const __webpack_modules__ = {
|
|
|
6293
6292
|
if (void 0 === value) return true;
|
|
6294
6293
|
return false;
|
|
6295
6294
|
}));
|
|
6296
|
-
const _io402 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6295
|
+
const _io402 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6578"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6297
6296
|
if ([
|
|
6298
|
-
"__@toStringTag@
|
|
6297
|
+
"__@toStringTag@6578"
|
|
6299
6298
|
].some((prop)=>key === prop)) return true;
|
|
6300
6299
|
const value = input[key];
|
|
6301
6300
|
if (void 0 === value) return true;
|
|
@@ -6884,18 +6883,18 @@ export const __webpack_modules__ = {
|
|
|
6884
6883
|
return false;
|
|
6885
6884
|
})();
|
|
6886
6885
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
6887
|
-
if (void 0 !== input["__@toStringTag@
|
|
6886
|
+
if (void 0 !== input["__@toStringTag@6578"]) return _io148(input, _exceptionable);
|
|
6888
6887
|
if (void 0 !== input.pem) return _io149(input, _exceptionable);
|
|
6889
6888
|
return false;
|
|
6890
6889
|
})();
|
|
6891
6890
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
6892
|
-
if (void 0 !== input["__@toStringTag@
|
|
6891
|
+
if (void 0 !== input["__@toStringTag@6578"]) return _io148(input, _exceptionable);
|
|
6893
6892
|
if (void 0 !== input.buf) return _io150(input, _exceptionable);
|
|
6894
6893
|
return false;
|
|
6895
6894
|
})();
|
|
6896
6895
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
6897
6896
|
if (void 0 !== input.name) return _io401(input, _exceptionable);
|
|
6898
|
-
if (void 0 !== input["__@toStringTag@
|
|
6897
|
+
if (void 0 !== input["__@toStringTag@6578"]) return _io402(input, _exceptionable);
|
|
6899
6898
|
return false;
|
|
6900
6899
|
})();
|
|
6901
6900
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9261,14 +9260,14 @@ export const __webpack_modules__ = {
|
|
|
9261
9260
|
}).every((flag)=>flag)
|
|
9262
9261
|
].every((flag)=>flag);
|
|
9263
9262
|
const _vo40 = (input, _path, _exceptionable = true)=>[
|
|
9264
|
-
"string" == typeof input["__@toStringTag@
|
|
9265
|
-
path: _path + "[\"__@toStringTag@
|
|
9263
|
+
"string" == typeof input["__@toStringTag@6578"] || _report(_exceptionable, {
|
|
9264
|
+
path: _path + "[\"__@toStringTag@6578\"]",
|
|
9266
9265
|
expected: "string",
|
|
9267
|
-
value: input["__@toStringTag@
|
|
9266
|
+
value: input["__@toStringTag@6578"]
|
|
9268
9267
|
}),
|
|
9269
9268
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9270
9269
|
if ([
|
|
9271
|
-
"__@toStringTag@
|
|
9270
|
+
"__@toStringTag@6578"
|
|
9272
9271
|
].some((prop)=>key === prop)) return true;
|
|
9273
9272
|
const value = input[key];
|
|
9274
9273
|
if (void 0 === value) return true;
|
|
@@ -17821,10 +17820,10 @@ export const __webpack_modules__ = {
|
|
|
17821
17820
|
expected: "number",
|
|
17822
17821
|
value: input.length
|
|
17823
17822
|
}),
|
|
17824
|
-
"Uint8Array" === input["__@toStringTag@
|
|
17825
|
-
path: _path + "[\"__@toStringTag@
|
|
17823
|
+
"Uint8Array" === input["__@toStringTag@6578"] || _report(_exceptionable, {
|
|
17824
|
+
path: _path + "[\"__@toStringTag@6578\"]",
|
|
17826
17825
|
expected: "\"Uint8Array\"",
|
|
17827
|
-
value: input["__@toStringTag@
|
|
17826
|
+
value: input["__@toStringTag@6578"]
|
|
17828
17827
|
}),
|
|
17829
17828
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
17830
17829
|
if ([
|
|
@@ -17833,7 +17832,7 @@ export const __webpack_modules__ = {
|
|
|
17833
17832
|
"byteLength",
|
|
17834
17833
|
"byteOffset",
|
|
17835
17834
|
"length",
|
|
17836
|
-
"__@toStringTag@
|
|
17835
|
+
"__@toStringTag@6578"
|
|
17837
17836
|
].some((prop)=>key === prop)) return true;
|
|
17838
17837
|
const value = input[key];
|
|
17839
17838
|
if (void 0 === value) return true;
|
|
@@ -32151,11 +32150,6 @@ export const __webpack_modules__ = {
|
|
|
32151
32150
|
expected: "(boolean | undefined)",
|
|
32152
32151
|
value: input.minify
|
|
32153
32152
|
}),
|
|
32154
|
-
void 0 === input.ecma || "string" == typeof input.ecma || "number" == typeof input.ecma || _report(_exceptionable, {
|
|
32155
|
-
path: _path + ".ecma",
|
|
32156
|
-
expected: "(number | string | undefined)",
|
|
32157
|
-
value: input.ecma
|
|
32158
|
-
}),
|
|
32159
32153
|
(null !== input.compress || _report(_exceptionable, {
|
|
32160
32154
|
path: _path + ".compress",
|
|
32161
32155
|
expected: "(TerserCompressOptions.o1 | boolean | undefined)",
|
|
@@ -32199,7 +32193,6 @@ export const __webpack_modules__ = {
|
|
|
32199
32193
|
0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
32200
32194
|
if ([
|
|
32201
32195
|
"minify",
|
|
32202
|
-
"ecma",
|
|
32203
32196
|
"compress",
|
|
32204
32197
|
"mangle",
|
|
32205
32198
|
"format",
|
|
@@ -34688,14 +34681,14 @@ export const __webpack_modules__ = {
|
|
|
34688
34681
|
}).every((flag)=>flag)
|
|
34689
34682
|
].every((flag)=>flag);
|
|
34690
34683
|
const _vo402 = (input, _path, _exceptionable = true)=>[
|
|
34691
|
-
"string" == typeof input["__@toStringTag@
|
|
34692
|
-
path: _path + "[\"__@toStringTag@
|
|
34684
|
+
"string" == typeof input["__@toStringTag@6578"] || _report(_exceptionable, {
|
|
34685
|
+
path: _path + "[\"__@toStringTag@6578\"]",
|
|
34693
34686
|
expected: "string",
|
|
34694
|
-
value: input["__@toStringTag@
|
|
34687
|
+
value: input["__@toStringTag@6578"]
|
|
34695
34688
|
}),
|
|
34696
34689
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
34697
34690
|
if ([
|
|
34698
|
-
"__@toStringTag@
|
|
34691
|
+
"__@toStringTag@6578"
|
|
34699
34692
|
].some((prop)=>key === prop)) return true;
|
|
34700
34693
|
const value = input[key];
|
|
34701
34694
|
if (void 0 === value) return true;
|
|
@@ -37432,7 +37425,7 @@ export const __webpack_modules__ = {
|
|
|
37432
37425
|
});
|
|
37433
37426
|
})();
|
|
37434
37427
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
37435
|
-
if (void 0 !== input["__@toStringTag@
|
|
37428
|
+
if (void 0 !== input["__@toStringTag@6578"]) return _vo148(input, _path, _exceptionable);
|
|
37436
37429
|
if (void 0 !== input.pem) return _vo149(input, _path, _exceptionable);
|
|
37437
37430
|
return _report(_exceptionable, {
|
|
37438
37431
|
path: _path,
|
|
@@ -37441,7 +37434,7 @@ export const __webpack_modules__ = {
|
|
|
37441
37434
|
});
|
|
37442
37435
|
})();
|
|
37443
37436
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
37444
|
-
if (void 0 !== input["__@toStringTag@
|
|
37437
|
+
if (void 0 !== input["__@toStringTag@6578"]) return _vo148(input, _path, _exceptionable);
|
|
37445
37438
|
if (void 0 !== input.buf) return _vo150(input, _path, _exceptionable);
|
|
37446
37439
|
return _report(_exceptionable, {
|
|
37447
37440
|
path: _path,
|
|
@@ -37451,7 +37444,7 @@ export const __webpack_modules__ = {
|
|
|
37451
37444
|
})();
|
|
37452
37445
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
37453
37446
|
if (void 0 !== input.name) return _vo401(input, _path, _exceptionable);
|
|
37454
|
-
if (void 0 !== input["__@toStringTag@
|
|
37447
|
+
if (void 0 !== input["__@toStringTag@6578"]) return _vo402(input, _path, _exceptionable);
|
|
37455
37448
|
return _report(_exceptionable, {
|
|
37456
37449
|
path: _path,
|
|
37457
37450
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
|
@@ -19,11 +19,11 @@ export const __webpack_modules__ = {
|
|
|
19
19
|
config,
|
|
20
20
|
debug: _debug_js__WEBPACK_IMPORTED_MODULE_1__.fF,
|
|
21
21
|
async exit (code) {
|
|
22
|
-
const { exit } = await
|
|
22
|
+
const { exit } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
|
|
23
23
|
return exit(code);
|
|
24
24
|
},
|
|
25
25
|
logger: _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger,
|
|
26
|
-
version: _version_js__WEBPACK_IMPORTED_MODULE_2__.
|
|
26
|
+
version: _version_js__WEBPACK_IMPORTED_MODULE_2__.version
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
};
|
|
@@ -7,10 +7,8 @@ export const __webpack_modules__ = {
|
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginRsdoctor: ()=>pluginRsdoctor
|
|
9
9
|
});
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
13
|
-
}
|
|
10
|
+
var _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("@rsbuild/core");
|
|
11
|
+
var _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./src/utils/is-ci.ts");
|
|
14
12
|
function pluginRsdoctor(options) {
|
|
15
13
|
return {
|
|
16
14
|
name: 'lynx:rsbuild:rsdoctor',
|
|
@@ -27,7 +25,7 @@ export const __webpack_modules__ = {
|
|
|
27
25
|
if (registered) continue;
|
|
28
26
|
config.plugins ??= [];
|
|
29
27
|
const defaultOptions = {
|
|
30
|
-
disableClientServer:
|
|
28
|
+
disableClientServer: (0, _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__.y)(),
|
|
31
29
|
supports: {
|
|
32
30
|
banner: true
|
|
33
31
|
},
|
|
@@ -42,12 +40,20 @@ export const __webpack_modules__ = {
|
|
|
42
40
|
}
|
|
43
41
|
}
|
|
44
42
|
};
|
|
45
|
-
config.plugins.push(new RsdoctorRspackPlugin((0,
|
|
43
|
+
config.plugins.push(new RsdoctorRspackPlugin((0, _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.mergeRsbuildConfig)(defaultOptions, options)));
|
|
46
44
|
}
|
|
47
|
-
|
|
45
|
+
_rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.info("Rsdoctor is enabled.");
|
|
48
46
|
});
|
|
49
47
|
}
|
|
50
48
|
};
|
|
51
49
|
}
|
|
50
|
+
},
|
|
51
|
+
"./src/utils/is-ci.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
52
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
53
|
+
y: ()=>isCI
|
|
54
|
+
});
|
|
55
|
+
function isCI() {
|
|
56
|
+
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
57
|
+
}
|
|
52
58
|
}
|
|
53
59
|
};
|