@lynx-js/rspeedy-canary 0.11.6 → 0.11.7-canary-20251015-e9e7c093
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 +60 -54
- package/dist/0~src_config_validate_ts.js +24 -24
- package/dist/1~src_config_validate_ts.js +24 -24
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
+
## 0.11.7-canary-20251015040621-e9e7c093db36fbae51dc964afc1de4600a8b44a1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Bump Rsbuild v1.5.17. ([#1889](https://github.com/lynx-family/lynx-stack/pull/1889))
|
|
8
|
+
|
|
3
9
|
## 0.11.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -45,11 +51,11 @@
|
|
|
45
51
|
- Support `command` and `env` parameters in the function exported by `lynx.config.js`. ([#1669](https://github.com/lynx-family/lynx-stack/pull/1669))
|
|
46
52
|
|
|
47
53
|
```js
|
|
48
|
-
import { defineConfig } from
|
|
54
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
49
55
|
|
|
50
56
|
export default defineConfig(({ command, env }) => {
|
|
51
|
-
const isBuild = command ===
|
|
52
|
-
const isTest = env ===
|
|
57
|
+
const isBuild = command === "build";
|
|
58
|
+
const isTest = env === "test";
|
|
53
59
|
|
|
54
60
|
return {
|
|
55
61
|
output: {
|
|
@@ -58,8 +64,8 @@
|
|
|
58
64
|
performance: {
|
|
59
65
|
buildCache: isBuild,
|
|
60
66
|
},
|
|
61
|
-
}
|
|
62
|
-
})
|
|
67
|
+
};
|
|
68
|
+
});
|
|
63
69
|
```
|
|
64
70
|
|
|
65
71
|
- Support `resolve.dedupe`. ([#1671](https://github.com/lynx-family/lynx-stack/pull/1671))
|
|
@@ -67,30 +73,30 @@
|
|
|
67
73
|
This is useful when having multiple duplicated packages in the bundle:
|
|
68
74
|
|
|
69
75
|
```js
|
|
70
|
-
import { defineConfig } from
|
|
76
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
71
77
|
|
|
72
78
|
export default defineConfig({
|
|
73
79
|
resolve: {
|
|
74
|
-
dedupe: [
|
|
80
|
+
dedupe: ["tslib"],
|
|
75
81
|
},
|
|
76
|
-
})
|
|
82
|
+
});
|
|
77
83
|
```
|
|
78
84
|
|
|
79
85
|
- Support `resolve.aliasStrategy` for controlling priority between `tsconfig.json` paths and `resolve.alias` ([#1722](https://github.com/lynx-family/lynx-stack/pull/1722))
|
|
80
86
|
|
|
81
87
|
```js
|
|
82
|
-
import { defineConfig } from
|
|
88
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
83
89
|
|
|
84
90
|
export default defineConfig({
|
|
85
91
|
resolve: {
|
|
86
92
|
alias: {
|
|
87
|
-
|
|
93
|
+
"@": "./src",
|
|
88
94
|
},
|
|
89
95
|
// 'prefer-tsconfig' (default): tsconfig.json paths take priority
|
|
90
96
|
// 'prefer-alias': resolve.alias takes priority
|
|
91
|
-
aliasStrategy:
|
|
97
|
+
aliasStrategy: "prefer-alias",
|
|
92
98
|
},
|
|
93
|
-
})
|
|
99
|
+
});
|
|
94
100
|
```
|
|
95
101
|
|
|
96
102
|
- Bump Rsbuild v1.5.4 with Rspack v1.5.2. ([#1644](https://github.com/lynx-family/lynx-stack/pull/1644))
|
|
@@ -110,7 +116,7 @@
|
|
|
110
116
|
- Add `output.dataUriLimit.*` for fine-grained control of asset inlining. ([#1648](https://github.com/lynx-family/lynx-stack/pull/1648))
|
|
111
117
|
|
|
112
118
|
```js
|
|
113
|
-
import { defineConfig } from
|
|
119
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
114
120
|
|
|
115
121
|
export default defineConfig({
|
|
116
122
|
output: {
|
|
@@ -119,7 +125,7 @@
|
|
|
119
125
|
media: 0,
|
|
120
126
|
},
|
|
121
127
|
},
|
|
122
|
-
})
|
|
128
|
+
});
|
|
123
129
|
```
|
|
124
130
|
|
|
125
131
|
## 0.11.0
|
|
@@ -239,28 +245,28 @@
|
|
|
239
245
|
|
|
240
246
|
```ts
|
|
241
247
|
type InlineChunkTestFunction = (params: {
|
|
242
|
-
size: number
|
|
243
|
-
name: string
|
|
244
|
-
}) => boolean
|
|
248
|
+
size: number;
|
|
249
|
+
name: string;
|
|
250
|
+
}) => boolean;
|
|
245
251
|
|
|
246
|
-
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
252
|
+
type InlineChunkTest = RegExp | InlineChunkTestFunction;
|
|
247
253
|
|
|
248
254
|
type InlineChunkConfig =
|
|
249
255
|
| boolean
|
|
250
256
|
| InlineChunkTest
|
|
251
|
-
| { enable?: boolean |
|
|
257
|
+
| { enable?: boolean | "auto"; test: InlineChunkTest };
|
|
252
258
|
```
|
|
253
259
|
|
|
254
260
|
```ts
|
|
255
|
-
import { defineConfig } from
|
|
261
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
256
262
|
|
|
257
263
|
export default defineConfig({
|
|
258
264
|
output: {
|
|
259
265
|
inlineScripts: ({ name, size }) => {
|
|
260
|
-
return name.includes(
|
|
266
|
+
return name.includes("foo") && size < 1000;
|
|
261
267
|
},
|
|
262
268
|
},
|
|
263
|
-
})
|
|
269
|
+
});
|
|
264
270
|
```
|
|
265
271
|
|
|
266
272
|
- docs: remove chunks: 'all' in comments ([#1168](https://github.com/lynx-family/lynx-stack/pull/1168))
|
|
@@ -303,13 +309,13 @@
|
|
|
303
309
|
example:
|
|
304
310
|
|
|
305
311
|
```js
|
|
306
|
-
import { defineConfig } from
|
|
312
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
307
313
|
|
|
308
314
|
export default defineConfig({
|
|
309
315
|
output: {
|
|
310
316
|
inlineScripts: false,
|
|
311
317
|
},
|
|
312
|
-
})
|
|
318
|
+
});
|
|
313
319
|
```
|
|
314
320
|
|
|
315
321
|
- Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
|
|
@@ -329,12 +335,12 @@
|
|
|
329
335
|
example:
|
|
330
336
|
|
|
331
337
|
```js
|
|
332
|
-
import { defineConfig } from
|
|
338
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
333
339
|
export default defineConfig({
|
|
334
340
|
source: {
|
|
335
|
-
preEntry:
|
|
341
|
+
preEntry: "./src/polyfill.ts",
|
|
336
342
|
},
|
|
337
|
-
})
|
|
343
|
+
});
|
|
338
344
|
```
|
|
339
345
|
|
|
340
346
|
- Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
|
|
@@ -345,17 +351,17 @@
|
|
|
345
351
|
|
|
346
352
|
```js
|
|
347
353
|
export const myPlugin = {
|
|
348
|
-
name:
|
|
354
|
+
name: "my-plugin",
|
|
349
355
|
setup(api) {
|
|
350
|
-
const { callerName } = api.context
|
|
356
|
+
const { callerName } = api.context;
|
|
351
357
|
|
|
352
|
-
if (callerName ===
|
|
358
|
+
if (callerName === "rslib") {
|
|
353
359
|
// ...
|
|
354
|
-
} else if (callerName ===
|
|
360
|
+
} else if (callerName === "rspeedy") {
|
|
355
361
|
// ...
|
|
356
362
|
}
|
|
357
363
|
},
|
|
358
|
-
}
|
|
364
|
+
};
|
|
359
365
|
```
|
|
360
366
|
|
|
361
367
|
- Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
|
|
@@ -378,7 +384,7 @@
|
|
|
378
384
|
Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
|
|
379
385
|
|
|
380
386
|
```js
|
|
381
|
-
import { defineConfig } from
|
|
387
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
382
388
|
|
|
383
389
|
export default defineConfig({
|
|
384
390
|
tools: {
|
|
@@ -388,7 +394,7 @@
|
|
|
388
394
|
},
|
|
389
395
|
},
|
|
390
396
|
},
|
|
391
|
-
})
|
|
397
|
+
});
|
|
392
398
|
```
|
|
393
399
|
|
|
394
400
|
See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
|
|
@@ -520,12 +526,12 @@
|
|
|
520
526
|
example:
|
|
521
527
|
|
|
522
528
|
```js
|
|
523
|
-
import { defineConfig } from
|
|
529
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
524
530
|
export default defineConfig({
|
|
525
531
|
server: {
|
|
526
|
-
base:
|
|
532
|
+
base: "/dist",
|
|
527
533
|
},
|
|
528
|
-
})
|
|
534
|
+
});
|
|
529
535
|
```
|
|
530
536
|
|
|
531
537
|
- Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
|
|
@@ -578,11 +584,11 @@
|
|
|
578
584
|
You can switch to other tools by using:
|
|
579
585
|
|
|
580
586
|
```js
|
|
581
|
-
import { defineConfig } from
|
|
587
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
582
588
|
import {
|
|
583
589
|
CssMinimizerWebpackPlugin,
|
|
584
590
|
pluginCssMinimizer,
|
|
585
|
-
} from
|
|
591
|
+
} from "@rsbuild/plugin-css-minimizer";
|
|
586
592
|
|
|
587
593
|
export default defineConfig({
|
|
588
594
|
plugins: [
|
|
@@ -595,7 +601,7 @@
|
|
|
595
601
|
},
|
|
596
602
|
}),
|
|
597
603
|
],
|
|
598
|
-
})
|
|
604
|
+
});
|
|
599
605
|
```
|
|
600
606
|
|
|
601
607
|
See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
|
|
@@ -605,8 +611,8 @@
|
|
|
605
611
|
You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
|
|
606
612
|
|
|
607
613
|
```js
|
|
608
|
-
import { defineConfig } from
|
|
609
|
-
import { pluginCssMinimizer } from
|
|
614
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
615
|
+
import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
|
|
610
616
|
|
|
611
617
|
export default defineConfig({
|
|
612
618
|
plugins: [
|
|
@@ -618,7 +624,7 @@
|
|
|
618
624
|
},
|
|
619
625
|
}),
|
|
620
626
|
],
|
|
621
|
-
})
|
|
627
|
+
});
|
|
622
628
|
```
|
|
623
629
|
|
|
624
630
|
## 0.7.1
|
|
@@ -638,7 +644,7 @@
|
|
|
638
644
|
You may turn it off using `output.minify.css: false`:
|
|
639
645
|
|
|
640
646
|
```js
|
|
641
|
-
import { defineConfig } from
|
|
647
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
642
648
|
|
|
643
649
|
export default defineConfig({
|
|
644
650
|
output: {
|
|
@@ -646,18 +652,18 @@
|
|
|
646
652
|
css: false,
|
|
647
653
|
},
|
|
648
654
|
},
|
|
649
|
-
})
|
|
655
|
+
});
|
|
650
656
|
```
|
|
651
657
|
|
|
652
658
|
Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
|
|
653
659
|
|
|
654
660
|
```js
|
|
655
|
-
import { defineConfig } from
|
|
656
|
-
import { pluginCssMinimizer } from
|
|
661
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
662
|
+
import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
|
|
657
663
|
|
|
658
664
|
export default defineConfig({
|
|
659
665
|
plugins: [pluginCssMinimizer()],
|
|
660
|
-
})
|
|
666
|
+
});
|
|
661
667
|
```
|
|
662
668
|
|
|
663
669
|
- 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
|
|
@@ -684,22 +690,22 @@
|
|
|
684
690
|
- The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
|
|
685
691
|
|
|
686
692
|
```js
|
|
687
|
-
import { defineConfig } from
|
|
693
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
688
694
|
|
|
689
695
|
export default defineConfig({
|
|
690
696
|
dev: {
|
|
691
697
|
watchFiles: [
|
|
692
698
|
{
|
|
693
|
-
type:
|
|
694
|
-
paths: [
|
|
699
|
+
type: "reload-server",
|
|
700
|
+
paths: ["public/**/*.txt"],
|
|
695
701
|
},
|
|
696
702
|
{
|
|
697
|
-
type:
|
|
698
|
-
paths: [
|
|
703
|
+
type: "reload-page",
|
|
704
|
+
paths: ["public/**/*.json"],
|
|
699
705
|
},
|
|
700
706
|
],
|
|
701
707
|
},
|
|
702
|
-
})
|
|
708
|
+
});
|
|
703
709
|
```
|
|
704
710
|
|
|
705
711
|
- be9b003: Add `source.exclude`.
|
|
@@ -1494,9 +1494,9 @@ export const __webpack_modules__ = {
|
|
|
1494
1494
|
if (void 0 === value) return true;
|
|
1495
1495
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1496
1496
|
});
|
|
1497
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1497
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@926"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1498
1498
|
if ([
|
|
1499
|
-
"__@toStringTag@
|
|
1499
|
+
"__@toStringTag@926"
|
|
1500
1500
|
].some((prop)=>key === prop)) return true;
|
|
1501
1501
|
const value = input[key];
|
|
1502
1502
|
if (void 0 === value) return true;
|
|
@@ -3105,14 +3105,14 @@ export const __webpack_modules__ = {
|
|
|
3105
3105
|
if (void 0 === value) return true;
|
|
3106
3106
|
return false;
|
|
3107
3107
|
})));
|
|
3108
|
-
const _io149 = (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@
|
|
3108
|
+
const _io149 = (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@926"] && Object.keys(input).every((key)=>{
|
|
3109
3109
|
if ([
|
|
3110
3110
|
"BYTES_PER_ELEMENT",
|
|
3111
3111
|
"buffer",
|
|
3112
3112
|
"byteLength",
|
|
3113
3113
|
"byteOffset",
|
|
3114
3114
|
"length",
|
|
3115
|
-
"__@toStringTag@
|
|
3115
|
+
"__@toStringTag@926"
|
|
3116
3116
|
].some((prop)=>key === prop)) return true;
|
|
3117
3117
|
const value = input[key];
|
|
3118
3118
|
if (void 0 === value) return true;
|
|
@@ -6392,9 +6392,9 @@ export const __webpack_modules__ = {
|
|
|
6392
6392
|
if (void 0 === value) return true;
|
|
6393
6393
|
return false;
|
|
6394
6394
|
}));
|
|
6395
|
-
const _io408 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6395
|
+
const _io408 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@926"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6396
6396
|
if ([
|
|
6397
|
-
"__@toStringTag@
|
|
6397
|
+
"__@toStringTag@926"
|
|
6398
6398
|
].some((prop)=>key === prop)) return true;
|
|
6399
6399
|
const value = input[key];
|
|
6400
6400
|
if (void 0 === value) return true;
|
|
@@ -7147,18 +7147,18 @@ export const __webpack_modules__ = {
|
|
|
7147
7147
|
return false;
|
|
7148
7148
|
})();
|
|
7149
7149
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7150
|
-
if (void 0 !== input["__@toStringTag@
|
|
7150
|
+
if (void 0 !== input["__@toStringTag@926"]) return _io149(input, _exceptionable);
|
|
7151
7151
|
if (void 0 !== input.pem) return _io150(input, _exceptionable);
|
|
7152
7152
|
return false;
|
|
7153
7153
|
})();
|
|
7154
7154
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7155
|
-
if (void 0 !== input["__@toStringTag@
|
|
7155
|
+
if (void 0 !== input["__@toStringTag@926"]) return _io149(input, _exceptionable);
|
|
7156
7156
|
if (void 0 !== input.buf) return _io151(input, _exceptionable);
|
|
7157
7157
|
return false;
|
|
7158
7158
|
})();
|
|
7159
7159
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7160
7160
|
if (void 0 !== input.name) return _io407(input, _exceptionable);
|
|
7161
|
-
if (void 0 !== input["__@toStringTag@
|
|
7161
|
+
if (void 0 !== input["__@toStringTag@926"]) return _io408(input, _exceptionable);
|
|
7162
7162
|
return false;
|
|
7163
7163
|
})();
|
|
7164
7164
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9774,14 +9774,14 @@ export const __webpack_modules__ = {
|
|
|
9774
9774
|
}).every((flag)=>flag)
|
|
9775
9775
|
].every((flag)=>flag);
|
|
9776
9776
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9777
|
-
"string" == typeof input["__@toStringTag@
|
|
9778
|
-
path: _path + "[\"__@toStringTag@
|
|
9777
|
+
"string" == typeof input["__@toStringTag@926"] || _report(_exceptionable, {
|
|
9778
|
+
path: _path + "[\"__@toStringTag@926\"]",
|
|
9779
9779
|
expected: "string",
|
|
9780
|
-
value: input["__@toStringTag@
|
|
9780
|
+
value: input["__@toStringTag@926"]
|
|
9781
9781
|
}),
|
|
9782
9782
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9783
9783
|
if ([
|
|
9784
|
-
"__@toStringTag@
|
|
9784
|
+
"__@toStringTag@926"
|
|
9785
9785
|
].some((prop)=>key === prop)) return true;
|
|
9786
9786
|
const value = input[key];
|
|
9787
9787
|
if (void 0 === value) return true;
|
|
@@ -18801,10 +18801,10 @@ export const __webpack_modules__ = {
|
|
|
18801
18801
|
expected: "number",
|
|
18802
18802
|
value: input.length
|
|
18803
18803
|
}),
|
|
18804
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18805
|
-
path: _path + "[\"__@toStringTag@
|
|
18804
|
+
"Uint8Array" === input["__@toStringTag@926"] || _report(_exceptionable, {
|
|
18805
|
+
path: _path + "[\"__@toStringTag@926\"]",
|
|
18806
18806
|
expected: "\"Uint8Array\"",
|
|
18807
|
-
value: input["__@toStringTag@
|
|
18807
|
+
value: input["__@toStringTag@926"]
|
|
18808
18808
|
}),
|
|
18809
18809
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18810
18810
|
if ([
|
|
@@ -18813,7 +18813,7 @@ export const __webpack_modules__ = {
|
|
|
18813
18813
|
"byteLength",
|
|
18814
18814
|
"byteOffset",
|
|
18815
18815
|
"length",
|
|
18816
|
-
"__@toStringTag@
|
|
18816
|
+
"__@toStringTag@926"
|
|
18817
18817
|
].some((prop)=>key === prop)) return true;
|
|
18818
18818
|
const value = input[key];
|
|
18819
18819
|
if (void 0 === value) return true;
|
|
@@ -37042,14 +37042,14 @@ export const __webpack_modules__ = {
|
|
|
37042
37042
|
}).every((flag)=>flag)
|
|
37043
37043
|
].every((flag)=>flag);
|
|
37044
37044
|
const _vo408 = (input, _path, _exceptionable = true)=>[
|
|
37045
|
-
"string" == typeof input["__@toStringTag@
|
|
37046
|
-
path: _path + "[\"__@toStringTag@
|
|
37045
|
+
"string" == typeof input["__@toStringTag@926"] || _report(_exceptionable, {
|
|
37046
|
+
path: _path + "[\"__@toStringTag@926\"]",
|
|
37047
37047
|
expected: "string",
|
|
37048
|
-
value: input["__@toStringTag@
|
|
37048
|
+
value: input["__@toStringTag@926"]
|
|
37049
37049
|
}),
|
|
37050
37050
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
37051
37051
|
if ([
|
|
37052
|
-
"__@toStringTag@
|
|
37052
|
+
"__@toStringTag@926"
|
|
37053
37053
|
].some((prop)=>key === prop)) return true;
|
|
37054
37054
|
const value = input[key];
|
|
37055
37055
|
if (void 0 === value) return true;
|
|
@@ -40930,7 +40930,7 @@ export const __webpack_modules__ = {
|
|
|
40930
40930
|
});
|
|
40931
40931
|
})();
|
|
40932
40932
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40933
|
-
if (void 0 !== input["__@toStringTag@
|
|
40933
|
+
if (void 0 !== input["__@toStringTag@926"]) return _vo149(input, _path, _exceptionable);
|
|
40934
40934
|
if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
|
|
40935
40935
|
return _report(_exceptionable, {
|
|
40936
40936
|
path: _path,
|
|
@@ -40939,7 +40939,7 @@ export const __webpack_modules__ = {
|
|
|
40939
40939
|
});
|
|
40940
40940
|
})();
|
|
40941
40941
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40942
|
-
if (void 0 !== input["__@toStringTag@
|
|
40942
|
+
if (void 0 !== input["__@toStringTag@926"]) return _vo149(input, _path, _exceptionable);
|
|
40943
40943
|
if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
|
|
40944
40944
|
return _report(_exceptionable, {
|
|
40945
40945
|
path: _path,
|
|
@@ -40949,7 +40949,7 @@ export const __webpack_modules__ = {
|
|
|
40949
40949
|
})();
|
|
40950
40950
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40951
40951
|
if (void 0 !== input.name) return _vo407(input, _path, _exceptionable);
|
|
40952
|
-
if (void 0 !== input["__@toStringTag@
|
|
40952
|
+
if (void 0 !== input["__@toStringTag@926"]) return _vo408(input, _path, _exceptionable);
|
|
40953
40953
|
return _report(_exceptionable, {
|
|
40954
40954
|
path: _path,
|
|
40955
40955
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
|
@@ -1494,9 +1494,9 @@ export const __webpack_modules__ = {
|
|
|
1494
1494
|
if (void 0 === value) return true;
|
|
1495
1495
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1496
1496
|
});
|
|
1497
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1497
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6827"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1498
1498
|
if ([
|
|
1499
|
-
"__@toStringTag@
|
|
1499
|
+
"__@toStringTag@6827"
|
|
1500
1500
|
].some((prop)=>key === prop)) return true;
|
|
1501
1501
|
const value = input[key];
|
|
1502
1502
|
if (void 0 === value) return true;
|
|
@@ -3105,14 +3105,14 @@ export const __webpack_modules__ = {
|
|
|
3105
3105
|
if (void 0 === value) return true;
|
|
3106
3106
|
return false;
|
|
3107
3107
|
})));
|
|
3108
|
-
const _io149 = (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@
|
|
3108
|
+
const _io149 = (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@6827"] && Object.keys(input).every((key)=>{
|
|
3109
3109
|
if ([
|
|
3110
3110
|
"BYTES_PER_ELEMENT",
|
|
3111
3111
|
"buffer",
|
|
3112
3112
|
"byteLength",
|
|
3113
3113
|
"byteOffset",
|
|
3114
3114
|
"length",
|
|
3115
|
-
"__@toStringTag@
|
|
3115
|
+
"__@toStringTag@6827"
|
|
3116
3116
|
].some((prop)=>key === prop)) return true;
|
|
3117
3117
|
const value = input[key];
|
|
3118
3118
|
if (void 0 === value) return true;
|
|
@@ -6392,9 +6392,9 @@ export const __webpack_modules__ = {
|
|
|
6392
6392
|
if (void 0 === value) return true;
|
|
6393
6393
|
return false;
|
|
6394
6394
|
}));
|
|
6395
|
-
const _io408 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6395
|
+
const _io408 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6827"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6396
6396
|
if ([
|
|
6397
|
-
"__@toStringTag@
|
|
6397
|
+
"__@toStringTag@6827"
|
|
6398
6398
|
].some((prop)=>key === prop)) return true;
|
|
6399
6399
|
const value = input[key];
|
|
6400
6400
|
if (void 0 === value) return true;
|
|
@@ -7147,18 +7147,18 @@ export const __webpack_modules__ = {
|
|
|
7147
7147
|
return false;
|
|
7148
7148
|
})();
|
|
7149
7149
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7150
|
-
if (void 0 !== input["__@toStringTag@
|
|
7150
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _io149(input, _exceptionable);
|
|
7151
7151
|
if (void 0 !== input.pem) return _io150(input, _exceptionable);
|
|
7152
7152
|
return false;
|
|
7153
7153
|
})();
|
|
7154
7154
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7155
|
-
if (void 0 !== input["__@toStringTag@
|
|
7155
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _io149(input, _exceptionable);
|
|
7156
7156
|
if (void 0 !== input.buf) return _io151(input, _exceptionable);
|
|
7157
7157
|
return false;
|
|
7158
7158
|
})();
|
|
7159
7159
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7160
7160
|
if (void 0 !== input.name) return _io407(input, _exceptionable);
|
|
7161
|
-
if (void 0 !== input["__@toStringTag@
|
|
7161
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _io408(input, _exceptionable);
|
|
7162
7162
|
return false;
|
|
7163
7163
|
})();
|
|
7164
7164
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9774,14 +9774,14 @@ export const __webpack_modules__ = {
|
|
|
9774
9774
|
}).every((flag)=>flag)
|
|
9775
9775
|
].every((flag)=>flag);
|
|
9776
9776
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9777
|
-
"string" == typeof input["__@toStringTag@
|
|
9778
|
-
path: _path + "[\"__@toStringTag@
|
|
9777
|
+
"string" == typeof input["__@toStringTag@6827"] || _report(_exceptionable, {
|
|
9778
|
+
path: _path + "[\"__@toStringTag@6827\"]",
|
|
9779
9779
|
expected: "string",
|
|
9780
|
-
value: input["__@toStringTag@
|
|
9780
|
+
value: input["__@toStringTag@6827"]
|
|
9781
9781
|
}),
|
|
9782
9782
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9783
9783
|
if ([
|
|
9784
|
-
"__@toStringTag@
|
|
9784
|
+
"__@toStringTag@6827"
|
|
9785
9785
|
].some((prop)=>key === prop)) return true;
|
|
9786
9786
|
const value = input[key];
|
|
9787
9787
|
if (void 0 === value) return true;
|
|
@@ -18801,10 +18801,10 @@ export const __webpack_modules__ = {
|
|
|
18801
18801
|
expected: "number",
|
|
18802
18802
|
value: input.length
|
|
18803
18803
|
}),
|
|
18804
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18805
|
-
path: _path + "[\"__@toStringTag@
|
|
18804
|
+
"Uint8Array" === input["__@toStringTag@6827"] || _report(_exceptionable, {
|
|
18805
|
+
path: _path + "[\"__@toStringTag@6827\"]",
|
|
18806
18806
|
expected: "\"Uint8Array\"",
|
|
18807
|
-
value: input["__@toStringTag@
|
|
18807
|
+
value: input["__@toStringTag@6827"]
|
|
18808
18808
|
}),
|
|
18809
18809
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18810
18810
|
if ([
|
|
@@ -18813,7 +18813,7 @@ export const __webpack_modules__ = {
|
|
|
18813
18813
|
"byteLength",
|
|
18814
18814
|
"byteOffset",
|
|
18815
18815
|
"length",
|
|
18816
|
-
"__@toStringTag@
|
|
18816
|
+
"__@toStringTag@6827"
|
|
18817
18817
|
].some((prop)=>key === prop)) return true;
|
|
18818
18818
|
const value = input[key];
|
|
18819
18819
|
if (void 0 === value) return true;
|
|
@@ -37042,14 +37042,14 @@ export const __webpack_modules__ = {
|
|
|
37042
37042
|
}).every((flag)=>flag)
|
|
37043
37043
|
].every((flag)=>flag);
|
|
37044
37044
|
const _vo408 = (input, _path, _exceptionable = true)=>[
|
|
37045
|
-
"string" == typeof input["__@toStringTag@
|
|
37046
|
-
path: _path + "[\"__@toStringTag@
|
|
37045
|
+
"string" == typeof input["__@toStringTag@6827"] || _report(_exceptionable, {
|
|
37046
|
+
path: _path + "[\"__@toStringTag@6827\"]",
|
|
37047
37047
|
expected: "string",
|
|
37048
|
-
value: input["__@toStringTag@
|
|
37048
|
+
value: input["__@toStringTag@6827"]
|
|
37049
37049
|
}),
|
|
37050
37050
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
37051
37051
|
if ([
|
|
37052
|
-
"__@toStringTag@
|
|
37052
|
+
"__@toStringTag@6827"
|
|
37053
37053
|
].some((prop)=>key === prop)) return true;
|
|
37054
37054
|
const value = input[key];
|
|
37055
37055
|
if (void 0 === value) return true;
|
|
@@ -40930,7 +40930,7 @@ export const __webpack_modules__ = {
|
|
|
40930
40930
|
});
|
|
40931
40931
|
})();
|
|
40932
40932
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40933
|
-
if (void 0 !== input["__@toStringTag@
|
|
40933
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _vo149(input, _path, _exceptionable);
|
|
40934
40934
|
if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
|
|
40935
40935
|
return _report(_exceptionable, {
|
|
40936
40936
|
path: _path,
|
|
@@ -40939,7 +40939,7 @@ export const __webpack_modules__ = {
|
|
|
40939
40939
|
});
|
|
40940
40940
|
})();
|
|
40941
40941
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40942
|
-
if (void 0 !== input["__@toStringTag@
|
|
40942
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _vo149(input, _path, _exceptionable);
|
|
40943
40943
|
if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
|
|
40944
40944
|
return _report(_exceptionable, {
|
|
40945
40945
|
path: _path,
|
|
@@ -40949,7 +40949,7 @@ export const __webpack_modules__ = {
|
|
|
40949
40949
|
})();
|
|
40950
40950
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40951
40951
|
if (void 0 !== input.name) return _vo407(input, _path, _exceptionable);
|
|
40952
|
-
if (void 0 !== input["__@toStringTag@
|
|
40952
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _vo408(input, _path, _exceptionable);
|
|
40953
40953
|
return _report(_exceptionable, {
|
|
40954
40954
|
path: _path,
|
|
40955
40955
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/rspeedy-canary",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.7-canary-20251015-e9e7c093",
|
|
4
4
|
"description": "A webpack/rspack-based frontend toolchain for Lynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.3",
|
|
53
53
|
"@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.2.0",
|
|
54
54
|
"@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
|
|
55
|
-
"@rsbuild/core": "1.5.
|
|
55
|
+
"@rsbuild/core": "1.5.17",
|
|
56
56
|
"@rsbuild/plugin-css-minimizer": "1.0.3",
|
|
57
57
|
"@rsdoctor/rspack-plugin": "1.2.3"
|
|
58
58
|
},
|