@lynx-js/rspeedy-canary 0.12.2 → 0.12.3-canary-20251215-6a1a5d3d

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
@@ -1,5 +1,12 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
+ ## 0.12.3-canary-20251215160846-6a1a5d3d36ba6281e5e54ef38244efc0a75ae271
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @lynx-js/web-rsbuild-server-middleware@0.19.2-canary-20251215160846-6a1a5d3d36ba6281e5e54ef38244efc0a75ae271
9
+
3
10
  ## 0.12.2
4
11
 
5
12
  ### Patch Changes
@@ -105,11 +112,11 @@
105
112
  - Support `command` and `env` parameters in the function exported by `lynx.config.js`. ([#1669](https://github.com/lynx-family/lynx-stack/pull/1669))
106
113
 
107
114
  ```js
108
- import { defineConfig } from '@lynx-js/rspeedy'
115
+ import { defineConfig } from "@lynx-js/rspeedy";
109
116
 
110
117
  export default defineConfig(({ command, env }) => {
111
- const isBuild = command === 'build'
112
- const isTest = env === 'test'
118
+ const isBuild = command === "build";
119
+ const isTest = env === "test";
113
120
 
114
121
  return {
115
122
  output: {
@@ -118,8 +125,8 @@
118
125
  performance: {
119
126
  buildCache: isBuild,
120
127
  },
121
- }
122
- })
128
+ };
129
+ });
123
130
  ```
124
131
 
125
132
  - Support `resolve.dedupe`. ([#1671](https://github.com/lynx-family/lynx-stack/pull/1671))
@@ -127,30 +134,30 @@
127
134
  This is useful when having multiple duplicated packages in the bundle:
128
135
 
129
136
  ```js
130
- import { defineConfig } from '@lynx-js/rspeedy'
137
+ import { defineConfig } from "@lynx-js/rspeedy";
131
138
 
132
139
  export default defineConfig({
133
140
  resolve: {
134
- dedupe: ['tslib'],
141
+ dedupe: ["tslib"],
135
142
  },
136
- })
143
+ });
137
144
  ```
138
145
 
139
146
  - Support `resolve.aliasStrategy` for controlling priority between `tsconfig.json` paths and `resolve.alias` ([#1722](https://github.com/lynx-family/lynx-stack/pull/1722))
140
147
 
141
148
  ```js
142
- import { defineConfig } from '@lynx-js/rspeedy'
149
+ import { defineConfig } from "@lynx-js/rspeedy";
143
150
 
144
151
  export default defineConfig({
145
152
  resolve: {
146
153
  alias: {
147
- '@': './src',
154
+ "@": "./src",
148
155
  },
149
156
  // 'prefer-tsconfig' (default): tsconfig.json paths take priority
150
157
  // 'prefer-alias': resolve.alias takes priority
151
- aliasStrategy: 'prefer-alias',
158
+ aliasStrategy: "prefer-alias",
152
159
  },
153
- })
160
+ });
154
161
  ```
155
162
 
156
163
  - Bump Rsbuild v1.5.4 with Rspack v1.5.2. ([#1644](https://github.com/lynx-family/lynx-stack/pull/1644))
@@ -170,7 +177,7 @@
170
177
  - Add `output.dataUriLimit.*` for fine-grained control of asset inlining. ([#1648](https://github.com/lynx-family/lynx-stack/pull/1648))
171
178
 
172
179
  ```js
173
- import { defineConfig } from '@lynx-js/rspeedy'
180
+ import { defineConfig } from "@lynx-js/rspeedy";
174
181
 
175
182
  export default defineConfig({
176
183
  output: {
@@ -179,7 +186,7 @@
179
186
  media: 0,
180
187
  },
181
188
  },
182
- })
189
+ });
183
190
  ```
184
191
 
185
192
  ## 0.11.0
@@ -299,28 +306,28 @@
299
306
 
300
307
  ```ts
301
308
  type InlineChunkTestFunction = (params: {
302
- size: number
303
- name: string
304
- }) => boolean
309
+ size: number;
310
+ name: string;
311
+ }) => boolean;
305
312
 
306
- type InlineChunkTest = RegExp | InlineChunkTestFunction
313
+ type InlineChunkTest = RegExp | InlineChunkTestFunction;
307
314
 
308
315
  type InlineChunkConfig =
309
316
  | boolean
310
317
  | InlineChunkTest
311
- | { enable?: boolean | 'auto', test: InlineChunkTest }
318
+ | { enable?: boolean | "auto"; test: InlineChunkTest };
312
319
  ```
313
320
 
314
321
  ```ts
315
- import { defineConfig } from '@lynx-js/rspeedy'
322
+ import { defineConfig } from "@lynx-js/rspeedy";
316
323
 
317
324
  export default defineConfig({
318
325
  output: {
319
326
  inlineScripts: ({ name, size }) => {
320
- return name.includes('foo') && size < 1000
327
+ return name.includes("foo") && size < 1000;
321
328
  },
322
329
  },
323
- })
330
+ });
324
331
  ```
325
332
 
326
333
  - docs: remove chunks: 'all' in comments ([#1168](https://github.com/lynx-family/lynx-stack/pull/1168))
@@ -363,13 +370,13 @@
363
370
  example:
364
371
 
365
372
  ```js
366
- import { defineConfig } from '@lynx-js/rspeedy'
373
+ import { defineConfig } from "@lynx-js/rspeedy";
367
374
 
368
375
  export default defineConfig({
369
376
  output: {
370
377
  inlineScripts: false,
371
378
  },
372
- })
379
+ });
373
380
  ```
374
381
 
375
382
  - Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
@@ -389,12 +396,12 @@
389
396
  example:
390
397
 
391
398
  ```js
392
- import { defineConfig } from '@lynx-js/rspeedy'
399
+ import { defineConfig } from "@lynx-js/rspeedy";
393
400
  export default defineConfig({
394
401
  source: {
395
- preEntry: './src/polyfill.ts',
402
+ preEntry: "./src/polyfill.ts",
396
403
  },
397
- })
404
+ });
398
405
  ```
399
406
 
400
407
  - Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
@@ -405,17 +412,17 @@
405
412
 
406
413
  ```js
407
414
  export const myPlugin = {
408
- name: 'my-plugin',
415
+ name: "my-plugin",
409
416
  setup(api) {
410
- const { callerName } = api.context
417
+ const { callerName } = api.context;
411
418
 
412
- if (callerName === 'rslib') {
419
+ if (callerName === "rslib") {
413
420
  // ...
414
- } else if (callerName === 'rspeedy') {
421
+ } else if (callerName === "rspeedy") {
415
422
  // ...
416
423
  }
417
424
  },
418
- }
425
+ };
419
426
  ```
420
427
 
421
428
  - Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
@@ -438,7 +445,7 @@
438
445
  Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
439
446
 
440
447
  ```js
441
- import { defineConfig } from '@lynx-js/rspeedy'
448
+ import { defineConfig } from "@lynx-js/rspeedy";
442
449
 
443
450
  export default defineConfig({
444
451
  tools: {
@@ -448,7 +455,7 @@
448
455
  },
449
456
  },
450
457
  },
451
- })
458
+ });
452
459
  ```
453
460
 
454
461
  See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
@@ -580,12 +587,12 @@
580
587
  example:
581
588
 
582
589
  ```js
583
- import { defineConfig } from '@lynx-js/rspeedy'
590
+ import { defineConfig } from "@lynx-js/rspeedy";
584
591
  export default defineConfig({
585
592
  server: {
586
- base: '/dist',
593
+ base: "/dist",
587
594
  },
588
- })
595
+ });
589
596
  ```
590
597
 
591
598
  - Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
@@ -638,11 +645,11 @@
638
645
  You can switch to other tools by using:
639
646
 
640
647
  ```js
641
- import { defineConfig } from '@lynx-js/rspeedy'
648
+ import { defineConfig } from "@lynx-js/rspeedy";
642
649
  import {
643
650
  CssMinimizerWebpackPlugin,
644
651
  pluginCssMinimizer,
645
- } from '@rsbuild/plugin-css-minimizer'
652
+ } from "@rsbuild/plugin-css-minimizer";
646
653
 
647
654
  export default defineConfig({
648
655
  plugins: [
@@ -655,7 +662,7 @@
655
662
  },
656
663
  }),
657
664
  ],
658
- })
665
+ });
659
666
  ```
660
667
 
661
668
  See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
@@ -665,8 +672,8 @@
665
672
  You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
666
673
 
667
674
  ```js
668
- import { defineConfig } from '@lynx-js/rspeedy'
669
- import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
675
+ import { defineConfig } from "@lynx-js/rspeedy";
676
+ import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
670
677
 
671
678
  export default defineConfig({
672
679
  plugins: [
@@ -678,7 +685,7 @@
678
685
  },
679
686
  }),
680
687
  ],
681
- })
688
+ });
682
689
  ```
683
690
 
684
691
  ## 0.7.1
@@ -698,7 +705,7 @@
698
705
  You may turn it off using `output.minify.css: false`:
699
706
 
700
707
  ```js
701
- import { defineConfig } from '@lynx-js/rspeedy'
708
+ import { defineConfig } from "@lynx-js/rspeedy";
702
709
 
703
710
  export default defineConfig({
704
711
  output: {
@@ -706,18 +713,18 @@
706
713
  css: false,
707
714
  },
708
715
  },
709
- })
716
+ });
710
717
  ```
711
718
 
712
719
  Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
713
720
 
714
721
  ```js
715
- import { defineConfig } from '@lynx-js/rspeedy'
716
- import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
722
+ import { defineConfig } from "@lynx-js/rspeedy";
723
+ import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
717
724
 
718
725
  export default defineConfig({
719
726
  plugins: [pluginCssMinimizer()],
720
- })
727
+ });
721
728
  ```
722
729
 
723
730
  - 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
@@ -744,22 +751,22 @@
744
751
  - The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
745
752
 
746
753
  ```js
747
- import { defineConfig } from '@lynx-js/rspeedy'
754
+ import { defineConfig } from "@lynx-js/rspeedy";
748
755
 
749
756
  export default defineConfig({
750
757
  dev: {
751
758
  watchFiles: [
752
759
  {
753
- type: 'reload-server',
754
- paths: ['public/**/*.txt'],
760
+ type: "reload-server",
761
+ paths: ["public/**/*.txt"],
755
762
  },
756
763
  {
757
- type: 'reload-page',
758
- paths: ['public/**/*.json'],
764
+ type: "reload-page",
765
+ paths: ["public/**/*.json"],
759
766
  },
760
767
  ],
761
768
  },
762
- })
769
+ });
763
770
  ```
764
771
 
765
772
  - be9b003: Add `source.exclude`.
@@ -1584,9 +1584,9 @@ export const __webpack_modules__ = {
1584
1584
  if (void 0 === value) return true;
1585
1585
  return "string" == typeof value || "boolean" == typeof value;
1586
1586
  });
1587
- const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@933"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1587
+ const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6960"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1588
1588
  if ([
1589
- "__@toStringTag@933"
1589
+ "__@toStringTag@6960"
1590
1590
  ].some((prop)=>key === prop)) return true;
1591
1591
  const value = input[key];
1592
1592
  if (void 0 === value) return true;
@@ -3214,14 +3214,14 @@ export const __webpack_modules__ = {
3214
3214
  if (void 0 === value) return true;
3215
3215
  return false;
3216
3216
  })));
3217
- const _io152 = (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@933"] && Object.keys(input).every((key)=>{
3217
+ const _io152 = (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@6960"] && Object.keys(input).every((key)=>{
3218
3218
  if ([
3219
3219
  "BYTES_PER_ELEMENT",
3220
3220
  "buffer",
3221
3221
  "byteLength",
3222
3222
  "byteOffset",
3223
3223
  "length",
3224
- "__@toStringTag@933"
3224
+ "__@toStringTag@6960"
3225
3225
  ].some((prop)=>key === prop)) return true;
3226
3226
  const value = input[key];
3227
3227
  if (void 0 === value) return true;
@@ -6635,9 +6635,9 @@ export const __webpack_modules__ = {
6635
6635
  if (void 0 === value) return true;
6636
6636
  return false;
6637
6637
  }));
6638
- const _io422 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@933"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6638
+ const _io422 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6960"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6639
6639
  if ([
6640
- "__@toStringTag@933"
6640
+ "__@toStringTag@6960"
6641
6641
  ].some((prop)=>key === prop)) return true;
6642
6642
  const value = input[key];
6643
6643
  if (void 0 === value) return true;
@@ -7361,18 +7361,18 @@ export const __webpack_modules__ = {
7361
7361
  return false;
7362
7362
  })();
7363
7363
  const _iu1 = (input, _exceptionable = true)=>(()=>{
7364
- if (void 0 !== input["__@toStringTag@933"]) return _io152(input, _exceptionable);
7364
+ if (void 0 !== input["__@toStringTag@6960"]) return _io152(input, _exceptionable);
7365
7365
  if (void 0 !== input.pem) return _io153(input, _exceptionable);
7366
7366
  return false;
7367
7367
  })();
7368
7368
  const _iu2 = (input, _exceptionable = true)=>(()=>{
7369
- if (void 0 !== input["__@toStringTag@933"]) return _io152(input, _exceptionable);
7369
+ if (void 0 !== input["__@toStringTag@6960"]) return _io152(input, _exceptionable);
7370
7370
  if (void 0 !== input.buf) return _io154(input, _exceptionable);
7371
7371
  return false;
7372
7372
  })();
7373
7373
  const _iu3 = (input, _exceptionable = true)=>(()=>{
7374
7374
  if (void 0 !== input.name) return _io421(input, _exceptionable);
7375
- if (void 0 !== input["__@toStringTag@933"]) return _io422(input, _exceptionable);
7375
+ if (void 0 !== input["__@toStringTag@6960"]) return _io422(input, _exceptionable);
7376
7376
  return false;
7377
7377
  })();
7378
7378
  const _iu4 = (input, _exceptionable = true)=>(()=>{
@@ -10036,14 +10036,14 @@ export const __webpack_modules__ = {
10036
10036
  }).every((flag)=>flag)
10037
10037
  ].every((flag)=>flag);
10038
10038
  const _vo42 = (input, _path, _exceptionable = true)=>[
10039
- "string" == typeof input["__@toStringTag@933"] || _report(_exceptionable, {
10040
- path: _path + "[\"__@toStringTag@933\"]",
10039
+ "string" == typeof input["__@toStringTag@6960"] || _report(_exceptionable, {
10040
+ path: _path + "[\"__@toStringTag@6960\"]",
10041
10041
  expected: "string",
10042
- value: input["__@toStringTag@933"]
10042
+ value: input["__@toStringTag@6960"]
10043
10043
  }),
10044
10044
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
10045
10045
  if ([
10046
- "__@toStringTag@933"
10046
+ "__@toStringTag@6960"
10047
10047
  ].some((prop)=>key === prop)) return true;
10048
10048
  const value = input[key];
10049
10049
  if (void 0 === value) return true;
@@ -19155,10 +19155,10 @@ export const __webpack_modules__ = {
19155
19155
  expected: "number",
19156
19156
  value: input.length
19157
19157
  }),
19158
- "Uint8Array" === input["__@toStringTag@933"] || _report(_exceptionable, {
19159
- path: _path + "[\"__@toStringTag@933\"]",
19158
+ "Uint8Array" === input["__@toStringTag@6960"] || _report(_exceptionable, {
19159
+ path: _path + "[\"__@toStringTag@6960\"]",
19160
19160
  expected: "\"Uint8Array\"",
19161
- value: input["__@toStringTag@933"]
19161
+ value: input["__@toStringTag@6960"]
19162
19162
  }),
19163
19163
  false === _exceptionable || Object.keys(input).map((key)=>{
19164
19164
  if ([
@@ -19167,7 +19167,7 @@ export const __webpack_modules__ = {
19167
19167
  "byteLength",
19168
19168
  "byteOffset",
19169
19169
  "length",
19170
- "__@toStringTag@933"
19170
+ "__@toStringTag@6960"
19171
19171
  ].some((prop)=>key === prop)) return true;
19172
19172
  const value = input[key];
19173
19173
  if (void 0 === value) return true;
@@ -38056,14 +38056,14 @@ export const __webpack_modules__ = {
38056
38056
  }).every((flag)=>flag)
38057
38057
  ].every((flag)=>flag);
38058
38058
  const _vo422 = (input, _path, _exceptionable = true)=>[
38059
- "string" == typeof input["__@toStringTag@933"] || _report(_exceptionable, {
38060
- path: _path + "[\"__@toStringTag@933\"]",
38059
+ "string" == typeof input["__@toStringTag@6960"] || _report(_exceptionable, {
38060
+ path: _path + "[\"__@toStringTag@6960\"]",
38061
38061
  expected: "string",
38062
- value: input["__@toStringTag@933"]
38062
+ value: input["__@toStringTag@6960"]
38063
38063
  }),
38064
38064
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
38065
38065
  if ([
38066
- "__@toStringTag@933"
38066
+ "__@toStringTag@6960"
38067
38067
  ].some((prop)=>key === prop)) return true;
38068
38068
  const value = input[key];
38069
38069
  if (void 0 === value) return true;
@@ -41811,7 +41811,7 @@ export const __webpack_modules__ = {
41811
41811
  });
41812
41812
  })();
41813
41813
  const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
41814
- if (void 0 !== input["__@toStringTag@933"]) return _vo152(input, _path, _exceptionable);
41814
+ if (void 0 !== input["__@toStringTag@6960"]) return _vo152(input, _path, _exceptionable);
41815
41815
  if (void 0 !== input.pem) return _vo153(input, _path, _exceptionable);
41816
41816
  return _report(_exceptionable, {
41817
41817
  path: _path,
@@ -41820,7 +41820,7 @@ export const __webpack_modules__ = {
41820
41820
  });
41821
41821
  })();
41822
41822
  const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
41823
- if (void 0 !== input["__@toStringTag@933"]) return _vo152(input, _path, _exceptionable);
41823
+ if (void 0 !== input["__@toStringTag@6960"]) return _vo152(input, _path, _exceptionable);
41824
41824
  if (void 0 !== input.buf) return _vo154(input, _path, _exceptionable);
41825
41825
  return _report(_exceptionable, {
41826
41826
  path: _path,
@@ -41830,7 +41830,7 @@ export const __webpack_modules__ = {
41830
41830
  })();
41831
41831
  const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
41832
41832
  if (void 0 !== input.name) return _vo421(input, _path, _exceptionable);
41833
- if (void 0 !== input["__@toStringTag@933"]) return _vo422(input, _path, _exceptionable);
41833
+ if (void 0 !== input["__@toStringTag@6960"]) return _vo422(input, _path, _exceptionable);
41834
41834
  return _report(_exceptionable, {
41835
41835
  path: _path,
41836
41836
  expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
@@ -1584,9 +1584,9 @@ export const __webpack_modules__ = {
1584
1584
  if (void 0 === value) return true;
1585
1585
  return "string" == typeof value || "boolean" == typeof value;
1586
1586
  });
1587
- const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6960"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1587
+ const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@933"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1588
1588
  if ([
1589
- "__@toStringTag@6960"
1589
+ "__@toStringTag@933"
1590
1590
  ].some((prop)=>key === prop)) return true;
1591
1591
  const value = input[key];
1592
1592
  if (void 0 === value) return true;
@@ -3214,14 +3214,14 @@ export const __webpack_modules__ = {
3214
3214
  if (void 0 === value) return true;
3215
3215
  return false;
3216
3216
  })));
3217
- const _io152 = (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@6960"] && Object.keys(input).every((key)=>{
3217
+ const _io152 = (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@933"] && Object.keys(input).every((key)=>{
3218
3218
  if ([
3219
3219
  "BYTES_PER_ELEMENT",
3220
3220
  "buffer",
3221
3221
  "byteLength",
3222
3222
  "byteOffset",
3223
3223
  "length",
3224
- "__@toStringTag@6960"
3224
+ "__@toStringTag@933"
3225
3225
  ].some((prop)=>key === prop)) return true;
3226
3226
  const value = input[key];
3227
3227
  if (void 0 === value) return true;
@@ -6635,9 +6635,9 @@ export const __webpack_modules__ = {
6635
6635
  if (void 0 === value) return true;
6636
6636
  return false;
6637
6637
  }));
6638
- const _io422 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6960"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6638
+ const _io422 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@933"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6639
6639
  if ([
6640
- "__@toStringTag@6960"
6640
+ "__@toStringTag@933"
6641
6641
  ].some((prop)=>key === prop)) return true;
6642
6642
  const value = input[key];
6643
6643
  if (void 0 === value) return true;
@@ -7361,18 +7361,18 @@ export const __webpack_modules__ = {
7361
7361
  return false;
7362
7362
  })();
7363
7363
  const _iu1 = (input, _exceptionable = true)=>(()=>{
7364
- if (void 0 !== input["__@toStringTag@6960"]) return _io152(input, _exceptionable);
7364
+ if (void 0 !== input["__@toStringTag@933"]) return _io152(input, _exceptionable);
7365
7365
  if (void 0 !== input.pem) return _io153(input, _exceptionable);
7366
7366
  return false;
7367
7367
  })();
7368
7368
  const _iu2 = (input, _exceptionable = true)=>(()=>{
7369
- if (void 0 !== input["__@toStringTag@6960"]) return _io152(input, _exceptionable);
7369
+ if (void 0 !== input["__@toStringTag@933"]) return _io152(input, _exceptionable);
7370
7370
  if (void 0 !== input.buf) return _io154(input, _exceptionable);
7371
7371
  return false;
7372
7372
  })();
7373
7373
  const _iu3 = (input, _exceptionable = true)=>(()=>{
7374
7374
  if (void 0 !== input.name) return _io421(input, _exceptionable);
7375
- if (void 0 !== input["__@toStringTag@6960"]) return _io422(input, _exceptionable);
7375
+ if (void 0 !== input["__@toStringTag@933"]) return _io422(input, _exceptionable);
7376
7376
  return false;
7377
7377
  })();
7378
7378
  const _iu4 = (input, _exceptionable = true)=>(()=>{
@@ -10036,14 +10036,14 @@ export const __webpack_modules__ = {
10036
10036
  }).every((flag)=>flag)
10037
10037
  ].every((flag)=>flag);
10038
10038
  const _vo42 = (input, _path, _exceptionable = true)=>[
10039
- "string" == typeof input["__@toStringTag@6960"] || _report(_exceptionable, {
10040
- path: _path + "[\"__@toStringTag@6960\"]",
10039
+ "string" == typeof input["__@toStringTag@933"] || _report(_exceptionable, {
10040
+ path: _path + "[\"__@toStringTag@933\"]",
10041
10041
  expected: "string",
10042
- value: input["__@toStringTag@6960"]
10042
+ value: input["__@toStringTag@933"]
10043
10043
  }),
10044
10044
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
10045
10045
  if ([
10046
- "__@toStringTag@6960"
10046
+ "__@toStringTag@933"
10047
10047
  ].some((prop)=>key === prop)) return true;
10048
10048
  const value = input[key];
10049
10049
  if (void 0 === value) return true;
@@ -19155,10 +19155,10 @@ export const __webpack_modules__ = {
19155
19155
  expected: "number",
19156
19156
  value: input.length
19157
19157
  }),
19158
- "Uint8Array" === input["__@toStringTag@6960"] || _report(_exceptionable, {
19159
- path: _path + "[\"__@toStringTag@6960\"]",
19158
+ "Uint8Array" === input["__@toStringTag@933"] || _report(_exceptionable, {
19159
+ path: _path + "[\"__@toStringTag@933\"]",
19160
19160
  expected: "\"Uint8Array\"",
19161
- value: input["__@toStringTag@6960"]
19161
+ value: input["__@toStringTag@933"]
19162
19162
  }),
19163
19163
  false === _exceptionable || Object.keys(input).map((key)=>{
19164
19164
  if ([
@@ -19167,7 +19167,7 @@ export const __webpack_modules__ = {
19167
19167
  "byteLength",
19168
19168
  "byteOffset",
19169
19169
  "length",
19170
- "__@toStringTag@6960"
19170
+ "__@toStringTag@933"
19171
19171
  ].some((prop)=>key === prop)) return true;
19172
19172
  const value = input[key];
19173
19173
  if (void 0 === value) return true;
@@ -38056,14 +38056,14 @@ export const __webpack_modules__ = {
38056
38056
  }).every((flag)=>flag)
38057
38057
  ].every((flag)=>flag);
38058
38058
  const _vo422 = (input, _path, _exceptionable = true)=>[
38059
- "string" == typeof input["__@toStringTag@6960"] || _report(_exceptionable, {
38060
- path: _path + "[\"__@toStringTag@6960\"]",
38059
+ "string" == typeof input["__@toStringTag@933"] || _report(_exceptionable, {
38060
+ path: _path + "[\"__@toStringTag@933\"]",
38061
38061
  expected: "string",
38062
- value: input["__@toStringTag@6960"]
38062
+ value: input["__@toStringTag@933"]
38063
38063
  }),
38064
38064
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
38065
38065
  if ([
38066
- "__@toStringTag@6960"
38066
+ "__@toStringTag@933"
38067
38067
  ].some((prop)=>key === prop)) return true;
38068
38068
  const value = input[key];
38069
38069
  if (void 0 === value) return true;
@@ -41811,7 +41811,7 @@ export const __webpack_modules__ = {
41811
41811
  });
41812
41812
  })();
41813
41813
  const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
41814
- if (void 0 !== input["__@toStringTag@6960"]) return _vo152(input, _path, _exceptionable);
41814
+ if (void 0 !== input["__@toStringTag@933"]) return _vo152(input, _path, _exceptionable);
41815
41815
  if (void 0 !== input.pem) return _vo153(input, _path, _exceptionable);
41816
41816
  return _report(_exceptionable, {
41817
41817
  path: _path,
@@ -41820,7 +41820,7 @@ export const __webpack_modules__ = {
41820
41820
  });
41821
41821
  })();
41822
41822
  const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
41823
- if (void 0 !== input["__@toStringTag@6960"]) return _vo152(input, _path, _exceptionable);
41823
+ if (void 0 !== input["__@toStringTag@933"]) return _vo152(input, _path, _exceptionable);
41824
41824
  if (void 0 !== input.buf) return _vo154(input, _path, _exceptionable);
41825
41825
  return _report(_exceptionable, {
41826
41826
  path: _path,
@@ -41830,7 +41830,7 @@ export const __webpack_modules__ = {
41830
41830
  })();
41831
41831
  const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
41832
41832
  if (void 0 !== input.name) return _vo421(input, _path, _exceptionable);
41833
- if (void 0 !== input["__@toStringTag@6960"]) return _vo422(input, _path, _exceptionable);
41833
+ if (void 0 !== input["__@toStringTag@933"]) return _vo422(input, _path, _exceptionable);
41834
41834
  return _report(_exceptionable, {
41835
41835
  path: _path,
41836
41836
  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.12.2",
3
+ "version": "0.12.3-canary-20251215-6a1a5d3d",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "@lynx-js/cache-events-webpack-plugin": "npm:@lynx-js/cache-events-webpack-plugin-canary@0.0.2",
52
52
  "@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.3",
53
- "@lynx-js/web-rsbuild-server-middleware": "npm:@lynx-js/web-rsbuild-server-middleware-canary@0.19.1",
53
+ "@lynx-js/web-rsbuild-server-middleware": "npm:@lynx-js/web-rsbuild-server-middleware-canary@0.19.2-canary-20251215-6a1a5d3d",
54
54
  "@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.2.0",
55
55
  "@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
56
56
  "@rsbuild/core": "1.6.13",