@lynx-js/rspeedy-canary 0.10.0-canary-20250704-bf2a43a3 → 0.10.1-canary-20250708-84928010
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 +3 -1
- package/dist/index.js +1 -1
- package/dist/src_cli_commands_ts.js +1 -1
- package/dist/src_config_validate_ts.js +24 -24
- package/dist/src_plugins_api_plugin_ts.js +2 -2
- package/dist/src_plugins_rsdoctor_plugin_ts.js +13 -7
- package/dist/src_version_ts.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -112,7 +112,7 @@ var __webpack_modules__ = {
|
|
|
112
112
|
});
|
|
113
113
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
114
114
|
var package_namespaceObject = {
|
|
115
|
-
i8: "0.
|
|
115
|
+
i8: "0.10.0"
|
|
116
116
|
};
|
|
117
117
|
const version = package_namespaceObject.i8;
|
|
118
118
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -40,7 +40,7 @@ export const __webpack_modules__ = {
|
|
|
40
40
|
});
|
|
41
41
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
42
42
|
var package_namespaceObject = {
|
|
43
|
-
i8: "0.
|
|
43
|
+
i8: "0.10.0"
|
|
44
44
|
};
|
|
45
45
|
const version = package_namespaceObject.i8;
|
|
46
46
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -1464,9 +1464,9 @@ export const __webpack_modules__ = {
|
|
|
1464
1464
|
if (void 0 === value) return true;
|
|
1465
1465
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1466
1466
|
});
|
|
1467
|
-
const _io39 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1467
|
+
const _io39 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6572"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1468
1468
|
if ([
|
|
1469
|
-
"__@toStringTag@
|
|
1469
|
+
"__@toStringTag@6572"
|
|
1470
1470
|
].some((prop)=>key === prop)) return true;
|
|
1471
1471
|
const value = input[key];
|
|
1472
1472
|
if (void 0 === value) return true;
|
|
@@ -3066,14 +3066,14 @@ export const __webpack_modules__ = {
|
|
|
3066
3066
|
if (void 0 === value) return true;
|
|
3067
3067
|
return false;
|
|
3068
3068
|
})));
|
|
3069
|
-
const _io147 = (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@
|
|
3069
|
+
const _io147 = (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@6572"] && Object.keys(input).every((key)=>{
|
|
3070
3070
|
if ([
|
|
3071
3071
|
"BYTES_PER_ELEMENT",
|
|
3072
3072
|
"buffer",
|
|
3073
3073
|
"byteLength",
|
|
3074
3074
|
"byteOffset",
|
|
3075
3075
|
"length",
|
|
3076
|
-
"__@toStringTag@
|
|
3076
|
+
"__@toStringTag@6572"
|
|
3077
3077
|
].some((prop)=>key === prop)) return true;
|
|
3078
3078
|
const value = input[key];
|
|
3079
3079
|
if (void 0 === value) return true;
|
|
@@ -6282,9 +6282,9 @@ export const __webpack_modules__ = {
|
|
|
6282
6282
|
if (void 0 === value) return true;
|
|
6283
6283
|
return false;
|
|
6284
6284
|
}));
|
|
6285
|
-
const _io401 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6285
|
+
const _io401 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6572"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6286
6286
|
if ([
|
|
6287
|
-
"__@toStringTag@
|
|
6287
|
+
"__@toStringTag@6572"
|
|
6288
6288
|
].some((prop)=>key === prop)) return true;
|
|
6289
6289
|
const value = input[key];
|
|
6290
6290
|
if (void 0 === value) return true;
|
|
@@ -6873,18 +6873,18 @@ export const __webpack_modules__ = {
|
|
|
6873
6873
|
return false;
|
|
6874
6874
|
})();
|
|
6875
6875
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
6876
|
-
if (void 0 !== input["__@toStringTag@
|
|
6876
|
+
if (void 0 !== input["__@toStringTag@6572"]) return _io147(input, _exceptionable);
|
|
6877
6877
|
if (void 0 !== input.pem) return _io148(input, _exceptionable);
|
|
6878
6878
|
return false;
|
|
6879
6879
|
})();
|
|
6880
6880
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
6881
|
-
if (void 0 !== input["__@toStringTag@
|
|
6881
|
+
if (void 0 !== input["__@toStringTag@6572"]) return _io147(input, _exceptionable);
|
|
6882
6882
|
if (void 0 !== input.buf) return _io149(input, _exceptionable);
|
|
6883
6883
|
return false;
|
|
6884
6884
|
})();
|
|
6885
6885
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
6886
6886
|
if (void 0 !== input.name) return _io400(input, _exceptionable);
|
|
6887
|
-
if (void 0 !== input["__@toStringTag@
|
|
6887
|
+
if (void 0 !== input["__@toStringTag@6572"]) return _io401(input, _exceptionable);
|
|
6888
6888
|
return false;
|
|
6889
6889
|
})();
|
|
6890
6890
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9234,14 +9234,14 @@ export const __webpack_modules__ = {
|
|
|
9234
9234
|
}).every((flag)=>flag)
|
|
9235
9235
|
].every((flag)=>flag);
|
|
9236
9236
|
const _vo39 = (input, _path, _exceptionable = true)=>[
|
|
9237
|
-
"string" == typeof input["__@toStringTag@
|
|
9238
|
-
path: _path + "[\"__@toStringTag@
|
|
9237
|
+
"string" == typeof input["__@toStringTag@6572"] || _report(_exceptionable, {
|
|
9238
|
+
path: _path + "[\"__@toStringTag@6572\"]",
|
|
9239
9239
|
expected: "string",
|
|
9240
|
-
value: input["__@toStringTag@
|
|
9240
|
+
value: input["__@toStringTag@6572"]
|
|
9241
9241
|
}),
|
|
9242
9242
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9243
9243
|
if ([
|
|
9244
|
-
"__@toStringTag@
|
|
9244
|
+
"__@toStringTag@6572"
|
|
9245
9245
|
].some((prop)=>key === prop)) return true;
|
|
9246
9246
|
const value = input[key];
|
|
9247
9247
|
if (void 0 === value) return true;
|
|
@@ -17771,10 +17771,10 @@ export const __webpack_modules__ = {
|
|
|
17771
17771
|
expected: "number",
|
|
17772
17772
|
value: input.length
|
|
17773
17773
|
}),
|
|
17774
|
-
"Uint8Array" === input["__@toStringTag@
|
|
17775
|
-
path: _path + "[\"__@toStringTag@
|
|
17774
|
+
"Uint8Array" === input["__@toStringTag@6572"] || _report(_exceptionable, {
|
|
17775
|
+
path: _path + "[\"__@toStringTag@6572\"]",
|
|
17776
17776
|
expected: "\"Uint8Array\"",
|
|
17777
|
-
value: input["__@toStringTag@
|
|
17777
|
+
value: input["__@toStringTag@6572"]
|
|
17778
17778
|
}),
|
|
17779
17779
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
17780
17780
|
if ([
|
|
@@ -17783,7 +17783,7 @@ export const __webpack_modules__ = {
|
|
|
17783
17783
|
"byteLength",
|
|
17784
17784
|
"byteOffset",
|
|
17785
17785
|
"length",
|
|
17786
|
-
"__@toStringTag@
|
|
17786
|
+
"__@toStringTag@6572"
|
|
17787
17787
|
].some((prop)=>key === prop)) return true;
|
|
17788
17788
|
const value = input[key];
|
|
17789
17789
|
if (void 0 === value) return true;
|
|
@@ -34632,14 +34632,14 @@ export const __webpack_modules__ = {
|
|
|
34632
34632
|
}).every((flag)=>flag)
|
|
34633
34633
|
].every((flag)=>flag);
|
|
34634
34634
|
const _vo401 = (input, _path, _exceptionable = true)=>[
|
|
34635
|
-
"string" == typeof input["__@toStringTag@
|
|
34636
|
-
path: _path + "[\"__@toStringTag@
|
|
34635
|
+
"string" == typeof input["__@toStringTag@6572"] || _report(_exceptionable, {
|
|
34636
|
+
path: _path + "[\"__@toStringTag@6572\"]",
|
|
34637
34637
|
expected: "string",
|
|
34638
|
-
value: input["__@toStringTag@
|
|
34638
|
+
value: input["__@toStringTag@6572"]
|
|
34639
34639
|
}),
|
|
34640
34640
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
34641
34641
|
if ([
|
|
34642
|
-
"__@toStringTag@
|
|
34642
|
+
"__@toStringTag@6572"
|
|
34643
34643
|
].some((prop)=>key === prop)) return true;
|
|
34644
34644
|
const value = input[key];
|
|
34645
34645
|
if (void 0 === value) return true;
|
|
@@ -37376,7 +37376,7 @@ export const __webpack_modules__ = {
|
|
|
37376
37376
|
});
|
|
37377
37377
|
})();
|
|
37378
37378
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
37379
|
-
if (void 0 !== input["__@toStringTag@
|
|
37379
|
+
if (void 0 !== input["__@toStringTag@6572"]) return _vo147(input, _path, _exceptionable);
|
|
37380
37380
|
if (void 0 !== input.pem) return _vo148(input, _path, _exceptionable);
|
|
37381
37381
|
return _report(_exceptionable, {
|
|
37382
37382
|
path: _path,
|
|
@@ -37385,7 +37385,7 @@ export const __webpack_modules__ = {
|
|
|
37385
37385
|
});
|
|
37386
37386
|
})();
|
|
37387
37387
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
37388
|
-
if (void 0 !== input["__@toStringTag@
|
|
37388
|
+
if (void 0 !== input["__@toStringTag@6572"]) return _vo147(input, _path, _exceptionable);
|
|
37389
37389
|
if (void 0 !== input.buf) return _vo149(input, _path, _exceptionable);
|
|
37390
37390
|
return _report(_exceptionable, {
|
|
37391
37391
|
path: _path,
|
|
@@ -37395,7 +37395,7 @@ export const __webpack_modules__ = {
|
|
|
37395
37395
|
})();
|
|
37396
37396
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
37397
37397
|
if (void 0 !== input.name) return _vo400(input, _path, _exceptionable);
|
|
37398
|
-
if (void 0 !== input["__@toStringTag@
|
|
37398
|
+
if (void 0 !== input["__@toStringTag@6572"]) return _vo401(input, _path, _exceptionable);
|
|
37399
37399
|
return _report(_exceptionable, {
|
|
37400
37400
|
path: _path,
|
|
37401
37401
|
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
|
};
|
package/dist/src_version_ts.js
CHANGED
|
@@ -10,7 +10,7 @@ export const __webpack_modules__ = {
|
|
|
10
10
|
});
|
|
11
11
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
12
12
|
var package_namespaceObject = {
|
|
13
|
-
i8: "0.
|
|
13
|
+
i8: "0.10.0"
|
|
14
14
|
};
|
|
15
15
|
const version = package_namespaceObject.i8;
|
|
16
16
|
const rspackVersion = core_.rspack.rspackVersion;
|