@lynx-js/rspeedy 0.14.3 → 0.14.5
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 +34 -0
- package/dist/0~src_config_validate_ts.js +30 -30
- package/dist/0~src_plugins_swc_plugin_ts.js +1 -1
- package/dist/1~src_config_validate_ts.js +30 -30
- package/dist/1~src_plugins_swc_plugin_ts.js +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/src_cli_main_ts.js +1 -1
- package/dist/src_index_ts.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
+
## 0.14.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Respect custom SWC target configuration in `lynx.config.js`, such as: ([#2654](https://github.com/lynx-family/lynx-stack/pull/2654))
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
11
|
+
|
|
12
|
+
export default defineConfig({
|
|
13
|
+
tools: {
|
|
14
|
+
swc: {
|
|
15
|
+
jsc: {
|
|
16
|
+
target: 'es5',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
})
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
- Updated dependencies []:
|
|
24
|
+
- @lynx-js/web-rsbuild-server-middleware@0.21.0
|
|
25
|
+
|
|
26
|
+
## 0.14.4
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- feat(qrcode): support get entry from api exposed from rspeedy.env.entries ([#2551](https://github.com/lynx-family/lynx-stack/pull/2551))
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [[`ad1f90f`](https://github.com/lynx-family/lynx-stack/commit/ad1f90fc05bc634b22a27b17528f8736c1aba425)]:
|
|
33
|
+
- @lynx-js/chunk-loading-webpack-plugin@0.3.4
|
|
34
|
+
- @lynx-js/web-rsbuild-server-middleware@0.20.4
|
|
35
|
+
- @lynx-js/cache-events-webpack-plugin@0.0.3
|
|
36
|
+
|
|
3
37
|
## 0.14.3
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -1479,9 +1479,9 @@ const validateConfig = (()=>{
|
|
|
1479
1479
|
if (void 0 === value) return true;
|
|
1480
1480
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1481
1481
|
});
|
|
1482
|
-
const _io43 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1482
|
+
const _io43 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@940"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1483
1483
|
if ([
|
|
1484
|
-
"__@toStringTag@
|
|
1484
|
+
"__@toStringTag@940"
|
|
1485
1485
|
].some((prop)=>key === prop)) return true;
|
|
1486
1486
|
const value = input[key];
|
|
1487
1487
|
if (void 0 === value) return true;
|
|
@@ -3351,14 +3351,14 @@ const validateConfig = (()=>{
|
|
|
3351
3351
|
if (void 0 === value) return true;
|
|
3352
3352
|
return false;
|
|
3353
3353
|
}));
|
|
3354
|
-
const _io162 = (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@
|
|
3354
|
+
const _io162 = (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@940"] && Object.keys(input).every((key)=>{
|
|
3355
3355
|
if ([
|
|
3356
3356
|
"BYTES_PER_ELEMENT",
|
|
3357
3357
|
"buffer",
|
|
3358
3358
|
"byteLength",
|
|
3359
3359
|
"byteOffset",
|
|
3360
3360
|
"length",
|
|
3361
|
-
"__@toStringTag@
|
|
3361
|
+
"__@toStringTag@940"
|
|
3362
3362
|
].some((prop)=>key === prop)) return true;
|
|
3363
3363
|
const value = input[key];
|
|
3364
3364
|
if (void 0 === value) return true;
|
|
@@ -3391,14 +3391,14 @@ const validateConfig = (()=>{
|
|
|
3391
3391
|
if (void 0 === value) return true;
|
|
3392
3392
|
return false;
|
|
3393
3393
|
});
|
|
3394
|
-
const _io166 = (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 && "Float16Array" === input["__@toStringTag@
|
|
3394
|
+
const _io166 = (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 && "Float16Array" === input["__@toStringTag@940"] && Object.keys(input).every((key)=>{
|
|
3395
3395
|
if ([
|
|
3396
3396
|
"BYTES_PER_ELEMENT",
|
|
3397
3397
|
"buffer",
|
|
3398
3398
|
"byteLength",
|
|
3399
3399
|
"byteOffset",
|
|
3400
3400
|
"length",
|
|
3401
|
-
"__@toStringTag@
|
|
3401
|
+
"__@toStringTag@940"
|
|
3402
3402
|
].some((prop)=>key === prop)) return true;
|
|
3403
3403
|
const value = input[key];
|
|
3404
3404
|
if (void 0 === value) return true;
|
|
@@ -6610,9 +6610,9 @@ const validateConfig = (()=>{
|
|
|
6610
6610
|
if (void 0 === value) return true;
|
|
6611
6611
|
return false;
|
|
6612
6612
|
}));
|
|
6613
|
-
const _io429 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6613
|
+
const _io429 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@940"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6614
6614
|
if ([
|
|
6615
|
-
"__@toStringTag@
|
|
6615
|
+
"__@toStringTag@940"
|
|
6616
6616
|
].some((prop)=>key === prop)) return true;
|
|
6617
6617
|
const value = input[key];
|
|
6618
6618
|
if (void 0 === value) return true;
|
|
@@ -7341,18 +7341,18 @@ const validateConfig = (()=>{
|
|
|
7341
7341
|
return false;
|
|
7342
7342
|
})();
|
|
7343
7343
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7344
|
-
if (void 0 !== input["__@toStringTag@
|
|
7344
|
+
if (void 0 !== input["__@toStringTag@940"]) return _io162(input, _exceptionable);
|
|
7345
7345
|
if (void 0 !== input.pem) return _io163(input, _exceptionable);
|
|
7346
7346
|
return false;
|
|
7347
7347
|
})();
|
|
7348
7348
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7349
|
-
if (void 0 !== input["__@toStringTag@
|
|
7349
|
+
if (void 0 !== input["__@toStringTag@940"]) return _io162(input, _exceptionable);
|
|
7350
7350
|
if (void 0 !== input.buf) return _io164(input, _exceptionable);
|
|
7351
7351
|
return false;
|
|
7352
7352
|
})();
|
|
7353
7353
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7354
7354
|
if (void 0 !== input.name) return _io428(input, _exceptionable);
|
|
7355
|
-
if (void 0 !== input["__@toStringTag@
|
|
7355
|
+
if (void 0 !== input["__@toStringTag@940"]) return _io429(input, _exceptionable);
|
|
7356
7356
|
return false;
|
|
7357
7357
|
})();
|
|
7358
7358
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -10053,14 +10053,14 @@ const validateConfig = (()=>{
|
|
|
10053
10053
|
}).every((flag)=>flag)
|
|
10054
10054
|
].every((flag)=>flag);
|
|
10055
10055
|
const _vo43 = (input, _path, _exceptionable = true)=>[
|
|
10056
|
-
"string" == typeof input["__@toStringTag@
|
|
10057
|
-
path: _path + "[\"__@toStringTag@
|
|
10056
|
+
"string" == typeof input["__@toStringTag@940"] || _report(_exceptionable, {
|
|
10057
|
+
path: _path + "[\"__@toStringTag@940\"]",
|
|
10058
10058
|
expected: "string",
|
|
10059
|
-
value: input["__@toStringTag@
|
|
10059
|
+
value: input["__@toStringTag@940"]
|
|
10060
10060
|
}),
|
|
10061
10061
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
10062
10062
|
if ([
|
|
10063
|
-
"__@toStringTag@
|
|
10063
|
+
"__@toStringTag@940"
|
|
10064
10064
|
].some((prop)=>key === prop)) return true;
|
|
10065
10065
|
const value = input[key];
|
|
10066
10066
|
if (void 0 === value) return true;
|
|
@@ -20489,10 +20489,10 @@ const validateConfig = (()=>{
|
|
|
20489
20489
|
expected: "number",
|
|
20490
20490
|
value: input.length
|
|
20491
20491
|
}),
|
|
20492
|
-
"Uint8Array" === input["__@toStringTag@
|
|
20493
|
-
path: _path + "[\"__@toStringTag@
|
|
20492
|
+
"Uint8Array" === input["__@toStringTag@940"] || _report(_exceptionable, {
|
|
20493
|
+
path: _path + "[\"__@toStringTag@940\"]",
|
|
20494
20494
|
expected: "\"Uint8Array\"",
|
|
20495
|
-
value: input["__@toStringTag@
|
|
20495
|
+
value: input["__@toStringTag@940"]
|
|
20496
20496
|
}),
|
|
20497
20497
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
20498
20498
|
if ([
|
|
@@ -20501,7 +20501,7 @@ const validateConfig = (()=>{
|
|
|
20501
20501
|
"byteLength",
|
|
20502
20502
|
"byteOffset",
|
|
20503
20503
|
"length",
|
|
20504
|
-
"__@toStringTag@
|
|
20504
|
+
"__@toStringTag@940"
|
|
20505
20505
|
].some((prop)=>key === prop)) return true;
|
|
20506
20506
|
const value = input[key];
|
|
20507
20507
|
if (void 0 === value) return true;
|
|
@@ -20652,10 +20652,10 @@ const validateConfig = (()=>{
|
|
|
20652
20652
|
expected: "number",
|
|
20653
20653
|
value: input.length
|
|
20654
20654
|
}),
|
|
20655
|
-
"Float16Array" === input["__@toStringTag@
|
|
20656
|
-
path: _path + "[\"__@toStringTag@
|
|
20655
|
+
"Float16Array" === input["__@toStringTag@940"] || _report(_exceptionable, {
|
|
20656
|
+
path: _path + "[\"__@toStringTag@940\"]",
|
|
20657
20657
|
expected: "\"Float16Array\"",
|
|
20658
|
-
value: input["__@toStringTag@
|
|
20658
|
+
value: input["__@toStringTag@940"]
|
|
20659
20659
|
}),
|
|
20660
20660
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
20661
20661
|
if ([
|
|
@@ -20664,7 +20664,7 @@ const validateConfig = (()=>{
|
|
|
20664
20664
|
"byteLength",
|
|
20665
20665
|
"byteOffset",
|
|
20666
20666
|
"length",
|
|
20667
|
-
"__@toStringTag@
|
|
20667
|
+
"__@toStringTag@940"
|
|
20668
20668
|
].some((prop)=>key === prop)) return true;
|
|
20669
20669
|
const value = input[key];
|
|
20670
20670
|
if (void 0 === value) return true;
|
|
@@ -38555,14 +38555,14 @@ const validateConfig = (()=>{
|
|
|
38555
38555
|
}).every((flag)=>flag)
|
|
38556
38556
|
].every((flag)=>flag);
|
|
38557
38557
|
const _vo429 = (input, _path, _exceptionable = true)=>[
|
|
38558
|
-
"string" == typeof input["__@toStringTag@
|
|
38559
|
-
path: _path + "[\"__@toStringTag@
|
|
38558
|
+
"string" == typeof input["__@toStringTag@940"] || _report(_exceptionable, {
|
|
38559
|
+
path: _path + "[\"__@toStringTag@940\"]",
|
|
38560
38560
|
expected: "string",
|
|
38561
|
-
value: input["__@toStringTag@
|
|
38561
|
+
value: input["__@toStringTag@940"]
|
|
38562
38562
|
}),
|
|
38563
38563
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
38564
38564
|
if ([
|
|
38565
|
-
"__@toStringTag@
|
|
38565
|
+
"__@toStringTag@940"
|
|
38566
38566
|
].some((prop)=>key === prop)) return true;
|
|
38567
38567
|
const value = input[key];
|
|
38568
38568
|
if (void 0 === value) return true;
|
|
@@ -42151,7 +42151,7 @@ const validateConfig = (()=>{
|
|
|
42151
42151
|
});
|
|
42152
42152
|
})();
|
|
42153
42153
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
42154
|
-
if (void 0 !== input["__@toStringTag@
|
|
42154
|
+
if (void 0 !== input["__@toStringTag@940"]) return _vo162(input, _path, _exceptionable);
|
|
42155
42155
|
if (void 0 !== input.pem) return _vo163(input, _path, _exceptionable);
|
|
42156
42156
|
return _report(_exceptionable, {
|
|
42157
42157
|
path: _path,
|
|
@@ -42160,7 +42160,7 @@ const validateConfig = (()=>{
|
|
|
42160
42160
|
});
|
|
42161
42161
|
})();
|
|
42162
42162
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
42163
|
-
if (void 0 !== input["__@toStringTag@
|
|
42163
|
+
if (void 0 !== input["__@toStringTag@940"]) return _vo162(input, _path, _exceptionable);
|
|
42164
42164
|
if (void 0 !== input.buf) return _vo164(input, _path, _exceptionable);
|
|
42165
42165
|
return _report(_exceptionable, {
|
|
42166
42166
|
path: _path,
|
|
@@ -42170,7 +42170,7 @@ const validateConfig = (()=>{
|
|
|
42170
42170
|
})();
|
|
42171
42171
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
42172
42172
|
if (void 0 !== input.name) return _vo428(input, _path, _exceptionable);
|
|
42173
|
-
if (void 0 !== input["__@toStringTag@
|
|
42173
|
+
if (void 0 !== input["__@toStringTag@940"]) return _vo429(input, _path, _exceptionable);
|
|
42174
42174
|
return _report(_exceptionable, {
|
|
42175
42175
|
path: _path,
|
|
42176
42176
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
|
@@ -1479,9 +1479,9 @@ const validateConfig = (()=>{
|
|
|
1479
1479
|
if (void 0 === value) return true;
|
|
1480
1480
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1481
1481
|
});
|
|
1482
|
-
const _io43 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1482
|
+
const _io43 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@7377"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1483
1483
|
if ([
|
|
1484
|
-
"__@toStringTag@
|
|
1484
|
+
"__@toStringTag@7377"
|
|
1485
1485
|
].some((prop)=>key === prop)) return true;
|
|
1486
1486
|
const value = input[key];
|
|
1487
1487
|
if (void 0 === value) return true;
|
|
@@ -3351,14 +3351,14 @@ const validateConfig = (()=>{
|
|
|
3351
3351
|
if (void 0 === value) return true;
|
|
3352
3352
|
return false;
|
|
3353
3353
|
}));
|
|
3354
|
-
const _io162 = (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@
|
|
3354
|
+
const _io162 = (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@7377"] && Object.keys(input).every((key)=>{
|
|
3355
3355
|
if ([
|
|
3356
3356
|
"BYTES_PER_ELEMENT",
|
|
3357
3357
|
"buffer",
|
|
3358
3358
|
"byteLength",
|
|
3359
3359
|
"byteOffset",
|
|
3360
3360
|
"length",
|
|
3361
|
-
"__@toStringTag@
|
|
3361
|
+
"__@toStringTag@7377"
|
|
3362
3362
|
].some((prop)=>key === prop)) return true;
|
|
3363
3363
|
const value = input[key];
|
|
3364
3364
|
if (void 0 === value) return true;
|
|
@@ -3391,14 +3391,14 @@ const validateConfig = (()=>{
|
|
|
3391
3391
|
if (void 0 === value) return true;
|
|
3392
3392
|
return false;
|
|
3393
3393
|
});
|
|
3394
|
-
const _io166 = (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 && "Float16Array" === input["__@toStringTag@
|
|
3394
|
+
const _io166 = (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 && "Float16Array" === input["__@toStringTag@7377"] && Object.keys(input).every((key)=>{
|
|
3395
3395
|
if ([
|
|
3396
3396
|
"BYTES_PER_ELEMENT",
|
|
3397
3397
|
"buffer",
|
|
3398
3398
|
"byteLength",
|
|
3399
3399
|
"byteOffset",
|
|
3400
3400
|
"length",
|
|
3401
|
-
"__@toStringTag@
|
|
3401
|
+
"__@toStringTag@7377"
|
|
3402
3402
|
].some((prop)=>key === prop)) return true;
|
|
3403
3403
|
const value = input[key];
|
|
3404
3404
|
if (void 0 === value) return true;
|
|
@@ -6610,9 +6610,9 @@ const validateConfig = (()=>{
|
|
|
6610
6610
|
if (void 0 === value) return true;
|
|
6611
6611
|
return false;
|
|
6612
6612
|
}));
|
|
6613
|
-
const _io429 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6613
|
+
const _io429 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@7377"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6614
6614
|
if ([
|
|
6615
|
-
"__@toStringTag@
|
|
6615
|
+
"__@toStringTag@7377"
|
|
6616
6616
|
].some((prop)=>key === prop)) return true;
|
|
6617
6617
|
const value = input[key];
|
|
6618
6618
|
if (void 0 === value) return true;
|
|
@@ -7341,18 +7341,18 @@ const validateConfig = (()=>{
|
|
|
7341
7341
|
return false;
|
|
7342
7342
|
})();
|
|
7343
7343
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7344
|
-
if (void 0 !== input["__@toStringTag@
|
|
7344
|
+
if (void 0 !== input["__@toStringTag@7377"]) return _io162(input, _exceptionable);
|
|
7345
7345
|
if (void 0 !== input.pem) return _io163(input, _exceptionable);
|
|
7346
7346
|
return false;
|
|
7347
7347
|
})();
|
|
7348
7348
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7349
|
-
if (void 0 !== input["__@toStringTag@
|
|
7349
|
+
if (void 0 !== input["__@toStringTag@7377"]) return _io162(input, _exceptionable);
|
|
7350
7350
|
if (void 0 !== input.buf) return _io164(input, _exceptionable);
|
|
7351
7351
|
return false;
|
|
7352
7352
|
})();
|
|
7353
7353
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7354
7354
|
if (void 0 !== input.name) return _io428(input, _exceptionable);
|
|
7355
|
-
if (void 0 !== input["__@toStringTag@
|
|
7355
|
+
if (void 0 !== input["__@toStringTag@7377"]) return _io429(input, _exceptionable);
|
|
7356
7356
|
return false;
|
|
7357
7357
|
})();
|
|
7358
7358
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -10053,14 +10053,14 @@ const validateConfig = (()=>{
|
|
|
10053
10053
|
}).every((flag)=>flag)
|
|
10054
10054
|
].every((flag)=>flag);
|
|
10055
10055
|
const _vo43 = (input, _path, _exceptionable = true)=>[
|
|
10056
|
-
"string" == typeof input["__@toStringTag@
|
|
10057
|
-
path: _path + "[\"__@toStringTag@
|
|
10056
|
+
"string" == typeof input["__@toStringTag@7377"] || _report(_exceptionable, {
|
|
10057
|
+
path: _path + "[\"__@toStringTag@7377\"]",
|
|
10058
10058
|
expected: "string",
|
|
10059
|
-
value: input["__@toStringTag@
|
|
10059
|
+
value: input["__@toStringTag@7377"]
|
|
10060
10060
|
}),
|
|
10061
10061
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
10062
10062
|
if ([
|
|
10063
|
-
"__@toStringTag@
|
|
10063
|
+
"__@toStringTag@7377"
|
|
10064
10064
|
].some((prop)=>key === prop)) return true;
|
|
10065
10065
|
const value = input[key];
|
|
10066
10066
|
if (void 0 === value) return true;
|
|
@@ -20489,10 +20489,10 @@ const validateConfig = (()=>{
|
|
|
20489
20489
|
expected: "number",
|
|
20490
20490
|
value: input.length
|
|
20491
20491
|
}),
|
|
20492
|
-
"Uint8Array" === input["__@toStringTag@
|
|
20493
|
-
path: _path + "[\"__@toStringTag@
|
|
20492
|
+
"Uint8Array" === input["__@toStringTag@7377"] || _report(_exceptionable, {
|
|
20493
|
+
path: _path + "[\"__@toStringTag@7377\"]",
|
|
20494
20494
|
expected: "\"Uint8Array\"",
|
|
20495
|
-
value: input["__@toStringTag@
|
|
20495
|
+
value: input["__@toStringTag@7377"]
|
|
20496
20496
|
}),
|
|
20497
20497
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
20498
20498
|
if ([
|
|
@@ -20501,7 +20501,7 @@ const validateConfig = (()=>{
|
|
|
20501
20501
|
"byteLength",
|
|
20502
20502
|
"byteOffset",
|
|
20503
20503
|
"length",
|
|
20504
|
-
"__@toStringTag@
|
|
20504
|
+
"__@toStringTag@7377"
|
|
20505
20505
|
].some((prop)=>key === prop)) return true;
|
|
20506
20506
|
const value = input[key];
|
|
20507
20507
|
if (void 0 === value) return true;
|
|
@@ -20652,10 +20652,10 @@ const validateConfig = (()=>{
|
|
|
20652
20652
|
expected: "number",
|
|
20653
20653
|
value: input.length
|
|
20654
20654
|
}),
|
|
20655
|
-
"Float16Array" === input["__@toStringTag@
|
|
20656
|
-
path: _path + "[\"__@toStringTag@
|
|
20655
|
+
"Float16Array" === input["__@toStringTag@7377"] || _report(_exceptionable, {
|
|
20656
|
+
path: _path + "[\"__@toStringTag@7377\"]",
|
|
20657
20657
|
expected: "\"Float16Array\"",
|
|
20658
|
-
value: input["__@toStringTag@
|
|
20658
|
+
value: input["__@toStringTag@7377"]
|
|
20659
20659
|
}),
|
|
20660
20660
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
20661
20661
|
if ([
|
|
@@ -20664,7 +20664,7 @@ const validateConfig = (()=>{
|
|
|
20664
20664
|
"byteLength",
|
|
20665
20665
|
"byteOffset",
|
|
20666
20666
|
"length",
|
|
20667
|
-
"__@toStringTag@
|
|
20667
|
+
"__@toStringTag@7377"
|
|
20668
20668
|
].some((prop)=>key === prop)) return true;
|
|
20669
20669
|
const value = input[key];
|
|
20670
20670
|
if (void 0 === value) return true;
|
|
@@ -38555,14 +38555,14 @@ const validateConfig = (()=>{
|
|
|
38555
38555
|
}).every((flag)=>flag)
|
|
38556
38556
|
].every((flag)=>flag);
|
|
38557
38557
|
const _vo429 = (input, _path, _exceptionable = true)=>[
|
|
38558
|
-
"string" == typeof input["__@toStringTag@
|
|
38559
|
-
path: _path + "[\"__@toStringTag@
|
|
38558
|
+
"string" == typeof input["__@toStringTag@7377"] || _report(_exceptionable, {
|
|
38559
|
+
path: _path + "[\"__@toStringTag@7377\"]",
|
|
38560
38560
|
expected: "string",
|
|
38561
|
-
value: input["__@toStringTag@
|
|
38561
|
+
value: input["__@toStringTag@7377"]
|
|
38562
38562
|
}),
|
|
38563
38563
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
38564
38564
|
if ([
|
|
38565
|
-
"__@toStringTag@
|
|
38565
|
+
"__@toStringTag@7377"
|
|
38566
38566
|
].some((prop)=>key === prop)) return true;
|
|
38567
38567
|
const value = input[key];
|
|
38568
38568
|
if (void 0 === value) return true;
|
|
@@ -42151,7 +42151,7 @@ const validateConfig = (()=>{
|
|
|
42151
42151
|
});
|
|
42152
42152
|
})();
|
|
42153
42153
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
42154
|
-
if (void 0 !== input["__@toStringTag@
|
|
42154
|
+
if (void 0 !== input["__@toStringTag@7377"]) return _vo162(input, _path, _exceptionable);
|
|
42155
42155
|
if (void 0 !== input.pem) return _vo163(input, _path, _exceptionable);
|
|
42156
42156
|
return _report(_exceptionable, {
|
|
42157
42157
|
path: _path,
|
|
@@ -42160,7 +42160,7 @@ const validateConfig = (()=>{
|
|
|
42160
42160
|
});
|
|
42161
42161
|
})();
|
|
42162
42162
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
42163
|
-
if (void 0 !== input["__@toStringTag@
|
|
42163
|
+
if (void 0 !== input["__@toStringTag@7377"]) return _vo162(input, _path, _exceptionable);
|
|
42164
42164
|
if (void 0 !== input.buf) return _vo164(input, _path, _exceptionable);
|
|
42165
42165
|
return _report(_exceptionable, {
|
|
42166
42166
|
path: _path,
|
|
@@ -42170,7 +42170,7 @@ const validateConfig = (()=>{
|
|
|
42170
42170
|
})();
|
|
42171
42171
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
42172
42172
|
if (void 0 !== input.name) return _vo428(input, _path, _exceptionable);
|
|
42173
|
-
if (void 0 !== input["__@toStringTag@
|
|
42173
|
+
if (void 0 !== input["__@toStringTag@7377"]) return _vo429(input, _path, _exceptionable);
|
|
42174
42174
|
return _report(_exceptionable, {
|
|
42175
42175
|
path: _path,
|
|
42176
42176
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import type { PerformanceConfig } from '@rsbuild/core';
|
|
|
26
26
|
import type { Plugin } from '@rsdoctor/types';
|
|
27
27
|
import type { ProxyConfig } from '@rsbuild/core';
|
|
28
28
|
import type { RsbuildConfig } from '@rsbuild/core';
|
|
29
|
+
import type { RsbuildEntry } from '@rsbuild/core';
|
|
29
30
|
import type { RsbuildInstance } from '@rsbuild/core';
|
|
30
31
|
import { RsbuildPlugin } from '@rsbuild/core';
|
|
31
32
|
import { RsbuildPluginAPI } from '@rsbuild/core';
|
|
@@ -1544,6 +1545,10 @@ export declare interface ExposedAPI {
|
|
|
1544
1545
|
* The version of Rspeedy.
|
|
1545
1546
|
*/
|
|
1546
1547
|
version: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* Used for plugin qrcode get entry points from self-defined environments rather than default lynx environment.
|
|
1550
|
+
*/
|
|
1551
|
+
entries?: RsbuildEntry;
|
|
1547
1552
|
}
|
|
1548
1553
|
|
|
1549
1554
|
/**
|
package/dist/src_cli_main_ts.js
CHANGED
|
@@ -192,7 +192,7 @@ async function exit_onExit(signal) {
|
|
|
192
192
|
await Promise.allSettled(exitPromises);
|
|
193
193
|
}
|
|
194
194
|
var package_namespaceObject = {
|
|
195
|
-
rE: "0.14.
|
|
195
|
+
rE: "0.14.5"
|
|
196
196
|
};
|
|
197
197
|
const version_version = package_namespaceObject.rE;
|
|
198
198
|
const rspackVersion = rspack.rspackVersion;
|
package/dist/src_index_ts.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/rspeedy",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.5",
|
|
4
4
|
"description": "A webpack/rspack-based frontend toolchain for Lynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"@rsbuild/plugin-css-minimizer": "1.1.1",
|
|
53
53
|
"@rsdoctor/rspack-plugin": "~1.5.6",
|
|
54
54
|
"@lynx-js/cache-events-webpack-plugin": "^0.0.3",
|
|
55
|
-
"@lynx-js/chunk-loading-webpack-plugin": "^0.3.
|
|
56
|
-
"@lynx-js/web-rsbuild-server-middleware": "0.
|
|
55
|
+
"@lynx-js/chunk-loading-webpack-plugin": "^0.3.4",
|
|
56
|
+
"@lynx-js/web-rsbuild-server-middleware": "0.21.0",
|
|
57
57
|
"@lynx-js/webpack-dev-transport": "^0.2.0",
|
|
58
58
|
"@lynx-js/websocket": "^0.0.4"
|
|
59
59
|
},
|