@lynx-js/rspeedy-canary 0.12.0-canary-20251121-e1a9493a → 0.12.0

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,6 +1,6 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
- ## 0.12.0-canary-20251121034851-e1a9493a1d565fd077d55cba818ba12fbefc30a1
3
+ ## 0.12.0
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,7 +9,7 @@
9
9
  ### Patch Changes
10
10
 
11
11
  - Updated dependencies []:
12
- - @lynx-js/web-rsbuild-server-middleware@0.18.4-canary-20251121034851-e1a9493a1d565fd077d55cba818ba12fbefc30a1
12
+ - @lynx-js/web-rsbuild-server-middleware@0.18.4
13
13
 
14
14
  ## 0.11.9
15
15
 
@@ -87,11 +87,11 @@
87
87
  - Support `command` and `env` parameters in the function exported by `lynx.config.js`. ([#1669](https://github.com/lynx-family/lynx-stack/pull/1669))
88
88
 
89
89
  ```js
90
- import { defineConfig } from "@lynx-js/rspeedy";
90
+ import { defineConfig } from '@lynx-js/rspeedy'
91
91
 
92
92
  export default defineConfig(({ command, env }) => {
93
- const isBuild = command === "build";
94
- const isTest = env === "test";
93
+ const isBuild = command === 'build'
94
+ const isTest = env === 'test'
95
95
 
96
96
  return {
97
97
  output: {
@@ -100,8 +100,8 @@
100
100
  performance: {
101
101
  buildCache: isBuild,
102
102
  },
103
- };
104
- });
103
+ }
104
+ })
105
105
  ```
106
106
 
107
107
  - Support `resolve.dedupe`. ([#1671](https://github.com/lynx-family/lynx-stack/pull/1671))
@@ -109,30 +109,30 @@
109
109
  This is useful when having multiple duplicated packages in the bundle:
110
110
 
111
111
  ```js
112
- import { defineConfig } from "@lynx-js/rspeedy";
112
+ import { defineConfig } from '@lynx-js/rspeedy'
113
113
 
114
114
  export default defineConfig({
115
115
  resolve: {
116
- dedupe: ["tslib"],
116
+ dedupe: ['tslib'],
117
117
  },
118
- });
118
+ })
119
119
  ```
120
120
 
121
121
  - Support `resolve.aliasStrategy` for controlling priority between `tsconfig.json` paths and `resolve.alias` ([#1722](https://github.com/lynx-family/lynx-stack/pull/1722))
122
122
 
123
123
  ```js
124
- import { defineConfig } from "@lynx-js/rspeedy";
124
+ import { defineConfig } from '@lynx-js/rspeedy'
125
125
 
126
126
  export default defineConfig({
127
127
  resolve: {
128
128
  alias: {
129
- "@": "./src",
129
+ '@': './src',
130
130
  },
131
131
  // 'prefer-tsconfig' (default): tsconfig.json paths take priority
132
132
  // 'prefer-alias': resolve.alias takes priority
133
- aliasStrategy: "prefer-alias",
133
+ aliasStrategy: 'prefer-alias',
134
134
  },
135
- });
135
+ })
136
136
  ```
137
137
 
138
138
  - Bump Rsbuild v1.5.4 with Rspack v1.5.2. ([#1644](https://github.com/lynx-family/lynx-stack/pull/1644))
@@ -152,7 +152,7 @@
152
152
  - Add `output.dataUriLimit.*` for fine-grained control of asset inlining. ([#1648](https://github.com/lynx-family/lynx-stack/pull/1648))
153
153
 
154
154
  ```js
155
- import { defineConfig } from "@lynx-js/rspeedy";
155
+ import { defineConfig } from '@lynx-js/rspeedy'
156
156
 
157
157
  export default defineConfig({
158
158
  output: {
@@ -161,7 +161,7 @@
161
161
  media: 0,
162
162
  },
163
163
  },
164
- });
164
+ })
165
165
  ```
166
166
 
167
167
  ## 0.11.0
@@ -281,28 +281,28 @@
281
281
 
282
282
  ```ts
283
283
  type InlineChunkTestFunction = (params: {
284
- size: number;
285
- name: string;
286
- }) => boolean;
284
+ size: number
285
+ name: string
286
+ }) => boolean
287
287
 
288
- type InlineChunkTest = RegExp | InlineChunkTestFunction;
288
+ type InlineChunkTest = RegExp | InlineChunkTestFunction
289
289
 
290
290
  type InlineChunkConfig =
291
291
  | boolean
292
292
  | InlineChunkTest
293
- | { enable?: boolean | "auto"; test: InlineChunkTest };
293
+ | { enable?: boolean | 'auto', test: InlineChunkTest }
294
294
  ```
295
295
 
296
296
  ```ts
297
- import { defineConfig } from "@lynx-js/rspeedy";
297
+ import { defineConfig } from '@lynx-js/rspeedy'
298
298
 
299
299
  export default defineConfig({
300
300
  output: {
301
301
  inlineScripts: ({ name, size }) => {
302
- return name.includes("foo") && size < 1000;
302
+ return name.includes('foo') && size < 1000
303
303
  },
304
304
  },
305
- });
305
+ })
306
306
  ```
307
307
 
308
308
  - docs: remove chunks: 'all' in comments ([#1168](https://github.com/lynx-family/lynx-stack/pull/1168))
@@ -345,13 +345,13 @@
345
345
  example:
346
346
 
347
347
  ```js
348
- import { defineConfig } from "@lynx-js/rspeedy";
348
+ import { defineConfig } from '@lynx-js/rspeedy'
349
349
 
350
350
  export default defineConfig({
351
351
  output: {
352
352
  inlineScripts: false,
353
353
  },
354
- });
354
+ })
355
355
  ```
356
356
 
357
357
  - Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
@@ -371,12 +371,12 @@
371
371
  example:
372
372
 
373
373
  ```js
374
- import { defineConfig } from "@lynx-js/rspeedy";
374
+ import { defineConfig } from '@lynx-js/rspeedy'
375
375
  export default defineConfig({
376
376
  source: {
377
- preEntry: "./src/polyfill.ts",
377
+ preEntry: './src/polyfill.ts',
378
378
  },
379
- });
379
+ })
380
380
  ```
381
381
 
382
382
  - Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
@@ -387,17 +387,17 @@
387
387
 
388
388
  ```js
389
389
  export const myPlugin = {
390
- name: "my-plugin",
390
+ name: 'my-plugin',
391
391
  setup(api) {
392
- const { callerName } = api.context;
392
+ const { callerName } = api.context
393
393
 
394
- if (callerName === "rslib") {
394
+ if (callerName === 'rslib') {
395
395
  // ...
396
- } else if (callerName === "rspeedy") {
396
+ } else if (callerName === 'rspeedy') {
397
397
  // ...
398
398
  }
399
399
  },
400
- };
400
+ }
401
401
  ```
402
402
 
403
403
  - Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
@@ -420,7 +420,7 @@
420
420
  Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
421
421
 
422
422
  ```js
423
- import { defineConfig } from "@lynx-js/rspeedy";
423
+ import { defineConfig } from '@lynx-js/rspeedy'
424
424
 
425
425
  export default defineConfig({
426
426
  tools: {
@@ -430,7 +430,7 @@
430
430
  },
431
431
  },
432
432
  },
433
- });
433
+ })
434
434
  ```
435
435
 
436
436
  See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
@@ -562,12 +562,12 @@
562
562
  example:
563
563
 
564
564
  ```js
565
- import { defineConfig } from "@lynx-js/rspeedy";
565
+ import { defineConfig } from '@lynx-js/rspeedy'
566
566
  export default defineConfig({
567
567
  server: {
568
- base: "/dist",
568
+ base: '/dist',
569
569
  },
570
- });
570
+ })
571
571
  ```
572
572
 
573
573
  - Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
@@ -620,11 +620,11 @@
620
620
  You can switch to other tools by using:
621
621
 
622
622
  ```js
623
- import { defineConfig } from "@lynx-js/rspeedy";
623
+ import { defineConfig } from '@lynx-js/rspeedy'
624
624
  import {
625
625
  CssMinimizerWebpackPlugin,
626
626
  pluginCssMinimizer,
627
- } from "@rsbuild/plugin-css-minimizer";
627
+ } from '@rsbuild/plugin-css-minimizer'
628
628
 
629
629
  export default defineConfig({
630
630
  plugins: [
@@ -637,7 +637,7 @@
637
637
  },
638
638
  }),
639
639
  ],
640
- });
640
+ })
641
641
  ```
642
642
 
643
643
  See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
@@ -647,8 +647,8 @@
647
647
  You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
648
648
 
649
649
  ```js
650
- import { defineConfig } from "@lynx-js/rspeedy";
651
- import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
650
+ import { defineConfig } from '@lynx-js/rspeedy'
651
+ import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
652
652
 
653
653
  export default defineConfig({
654
654
  plugins: [
@@ -660,7 +660,7 @@
660
660
  },
661
661
  }),
662
662
  ],
663
- });
663
+ })
664
664
  ```
665
665
 
666
666
  ## 0.7.1
@@ -680,7 +680,7 @@
680
680
  You may turn it off using `output.minify.css: false`:
681
681
 
682
682
  ```js
683
- import { defineConfig } from "@lynx-js/rspeedy";
683
+ import { defineConfig } from '@lynx-js/rspeedy'
684
684
 
685
685
  export default defineConfig({
686
686
  output: {
@@ -688,18 +688,18 @@
688
688
  css: false,
689
689
  },
690
690
  },
691
- });
691
+ })
692
692
  ```
693
693
 
694
694
  Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
695
695
 
696
696
  ```js
697
- import { defineConfig } from "@lynx-js/rspeedy";
698
- import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
697
+ import { defineConfig } from '@lynx-js/rspeedy'
698
+ import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
699
699
 
700
700
  export default defineConfig({
701
701
  plugins: [pluginCssMinimizer()],
702
- });
702
+ })
703
703
  ```
704
704
 
705
705
  - 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
@@ -726,22 +726,22 @@
726
726
  - The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
727
727
 
728
728
  ```js
729
- import { defineConfig } from "@lynx-js/rspeedy";
729
+ import { defineConfig } from '@lynx-js/rspeedy'
730
730
 
731
731
  export default defineConfig({
732
732
  dev: {
733
733
  watchFiles: [
734
734
  {
735
- type: "reload-server",
736
- paths: ["public/**/*.txt"],
735
+ type: 'reload-server',
736
+ paths: ['public/**/*.txt'],
737
737
  },
738
738
  {
739
- type: "reload-page",
740
- paths: ["public/**/*.json"],
739
+ type: 'reload-page',
740
+ paths: ['public/**/*.json'],
741
741
  },
742
742
  ],
743
743
  },
744
- });
744
+ })
745
745
  ```
746
746
 
747
747
  - be9b003: Add `source.exclude`.
@@ -1583,9 +1583,9 @@ export const __webpack_modules__ = {
1583
1583
  if (void 0 === value) return true;
1584
1584
  return "string" == typeof value || "boolean" == typeof value;
1585
1585
  });
1586
- const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@935"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1586
+ const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6959"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1587
1587
  if ([
1588
- "__@toStringTag@935"
1588
+ "__@toStringTag@6959"
1589
1589
  ].some((prop)=>key === prop)) return true;
1590
1590
  const value = input[key];
1591
1591
  if (void 0 === value) return true;
@@ -3212,14 +3212,14 @@ export const __webpack_modules__ = {
3212
3212
  if (void 0 === value) return true;
3213
3213
  return false;
3214
3214
  })));
3215
- 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@935"] && Object.keys(input).every((key)=>{
3215
+ 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@6959"] && Object.keys(input).every((key)=>{
3216
3216
  if ([
3217
3217
  "BYTES_PER_ELEMENT",
3218
3218
  "buffer",
3219
3219
  "byteLength",
3220
3220
  "byteOffset",
3221
3221
  "length",
3222
- "__@toStringTag@935"
3222
+ "__@toStringTag@6959"
3223
3223
  ].some((prop)=>key === prop)) return true;
3224
3224
  const value = input[key];
3225
3225
  if (void 0 === value) return true;
@@ -6623,9 +6623,9 @@ export const __webpack_modules__ = {
6623
6623
  if (void 0 === value) return true;
6624
6624
  return false;
6625
6625
  }));
6626
- const _io421 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@935"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6626
+ const _io421 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6959"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6627
6627
  if ([
6628
- "__@toStringTag@935"
6628
+ "__@toStringTag@6959"
6629
6629
  ].some((prop)=>key === prop)) return true;
6630
6630
  const value = input[key];
6631
6631
  if (void 0 === value) return true;
@@ -7349,18 +7349,18 @@ export const __webpack_modules__ = {
7349
7349
  return false;
7350
7350
  })();
7351
7351
  const _iu1 = (input, _exceptionable = true)=>(()=>{
7352
- if (void 0 !== input["__@toStringTag@935"]) return _io152(input, _exceptionable);
7352
+ if (void 0 !== input["__@toStringTag@6959"]) return _io152(input, _exceptionable);
7353
7353
  if (void 0 !== input.pem) return _io153(input, _exceptionable);
7354
7354
  return false;
7355
7355
  })();
7356
7356
  const _iu2 = (input, _exceptionable = true)=>(()=>{
7357
- if (void 0 !== input["__@toStringTag@935"]) return _io152(input, _exceptionable);
7357
+ if (void 0 !== input["__@toStringTag@6959"]) return _io152(input, _exceptionable);
7358
7358
  if (void 0 !== input.buf) return _io154(input, _exceptionable);
7359
7359
  return false;
7360
7360
  })();
7361
7361
  const _iu3 = (input, _exceptionable = true)=>(()=>{
7362
7362
  if (void 0 !== input.name) return _io420(input, _exceptionable);
7363
- if (void 0 !== input["__@toStringTag@935"]) return _io421(input, _exceptionable);
7363
+ if (void 0 !== input["__@toStringTag@6959"]) return _io421(input, _exceptionable);
7364
7364
  return false;
7365
7365
  })();
7366
7366
  const _iu4 = (input, _exceptionable = true)=>(()=>{
@@ -10018,14 +10018,14 @@ export const __webpack_modules__ = {
10018
10018
  }).every((flag)=>flag)
10019
10019
  ].every((flag)=>flag);
10020
10020
  const _vo42 = (input, _path, _exceptionable = true)=>[
10021
- "string" == typeof input["__@toStringTag@935"] || _report(_exceptionable, {
10022
- path: _path + "[\"__@toStringTag@935\"]",
10021
+ "string" == typeof input["__@toStringTag@6959"] || _report(_exceptionable, {
10022
+ path: _path + "[\"__@toStringTag@6959\"]",
10023
10023
  expected: "string",
10024
- value: input["__@toStringTag@935"]
10024
+ value: input["__@toStringTag@6959"]
10025
10025
  }),
10026
10026
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
10027
10027
  if ([
10028
- "__@toStringTag@935"
10028
+ "__@toStringTag@6959"
10029
10029
  ].some((prop)=>key === prop)) return true;
10030
10030
  const value = input[key];
10031
10031
  if (void 0 === value) return true;
@@ -19131,10 +19131,10 @@ export const __webpack_modules__ = {
19131
19131
  expected: "number",
19132
19132
  value: input.length
19133
19133
  }),
19134
- "Uint8Array" === input["__@toStringTag@935"] || _report(_exceptionable, {
19135
- path: _path + "[\"__@toStringTag@935\"]",
19134
+ "Uint8Array" === input["__@toStringTag@6959"] || _report(_exceptionable, {
19135
+ path: _path + "[\"__@toStringTag@6959\"]",
19136
19136
  expected: "\"Uint8Array\"",
19137
- value: input["__@toStringTag@935"]
19137
+ value: input["__@toStringTag@6959"]
19138
19138
  }),
19139
19139
  false === _exceptionable || Object.keys(input).map((key)=>{
19140
19140
  if ([
@@ -19143,7 +19143,7 @@ export const __webpack_modules__ = {
19143
19143
  "byteLength",
19144
19144
  "byteOffset",
19145
19145
  "length",
19146
- "__@toStringTag@935"
19146
+ "__@toStringTag@6959"
19147
19147
  ].some((prop)=>key === prop)) return true;
19148
19148
  const value = input[key];
19149
19149
  if (void 0 === value) return true;
@@ -37988,14 +37988,14 @@ export const __webpack_modules__ = {
37988
37988
  }).every((flag)=>flag)
37989
37989
  ].every((flag)=>flag);
37990
37990
  const _vo421 = (input, _path, _exceptionable = true)=>[
37991
- "string" == typeof input["__@toStringTag@935"] || _report(_exceptionable, {
37992
- path: _path + "[\"__@toStringTag@935\"]",
37991
+ "string" == typeof input["__@toStringTag@6959"] || _report(_exceptionable, {
37992
+ path: _path + "[\"__@toStringTag@6959\"]",
37993
37993
  expected: "string",
37994
- value: input["__@toStringTag@935"]
37994
+ value: input["__@toStringTag@6959"]
37995
37995
  }),
37996
37996
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
37997
37997
  if ([
37998
- "__@toStringTag@935"
37998
+ "__@toStringTag@6959"
37999
37999
  ].some((prop)=>key === prop)) return true;
38000
38000
  const value = input[key];
38001
38001
  if (void 0 === value) return true;
@@ -41743,7 +41743,7 @@ export const __webpack_modules__ = {
41743
41743
  });
41744
41744
  })();
41745
41745
  const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
41746
- if (void 0 !== input["__@toStringTag@935"]) return _vo152(input, _path, _exceptionable);
41746
+ if (void 0 !== input["__@toStringTag@6959"]) return _vo152(input, _path, _exceptionable);
41747
41747
  if (void 0 !== input.pem) return _vo153(input, _path, _exceptionable);
41748
41748
  return _report(_exceptionable, {
41749
41749
  path: _path,
@@ -41752,7 +41752,7 @@ export const __webpack_modules__ = {
41752
41752
  });
41753
41753
  })();
41754
41754
  const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
41755
- if (void 0 !== input["__@toStringTag@935"]) return _vo152(input, _path, _exceptionable);
41755
+ if (void 0 !== input["__@toStringTag@6959"]) return _vo152(input, _path, _exceptionable);
41756
41756
  if (void 0 !== input.buf) return _vo154(input, _path, _exceptionable);
41757
41757
  return _report(_exceptionable, {
41758
41758
  path: _path,
@@ -41762,7 +41762,7 @@ export const __webpack_modules__ = {
41762
41762
  })();
41763
41763
  const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
41764
41764
  if (void 0 !== input.name) return _vo420(input, _path, _exceptionable);
41765
- if (void 0 !== input["__@toStringTag@935"]) return _vo421(input, _path, _exceptionable);
41765
+ if (void 0 !== input["__@toStringTag@6959"]) return _vo421(input, _path, _exceptionable);
41766
41766
  return _report(_exceptionable, {
41767
41767
  path: _path,
41768
41768
  expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
@@ -63,7 +63,7 @@ export const __webpack_modules__ = {
63
63
  });
64
64
  var core_ = __webpack_require__("@rsbuild/core");
65
65
  var package_namespaceObject = {
66
- rE: "0.11.9"
66
+ rE: "0.12.0"
67
67
  };
68
68
  const version = package_namespaceObject.rE;
69
69
  const rspackVersion = core_.rspack.rspackVersion;
@@ -1583,9 +1583,9 @@ export const __webpack_modules__ = {
1583
1583
  if (void 0 === value) return true;
1584
1584
  return "string" == typeof value || "boolean" == typeof value;
1585
1585
  });
1586
- const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6959"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1586
+ const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@935"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1587
1587
  if ([
1588
- "__@toStringTag@6959"
1588
+ "__@toStringTag@935"
1589
1589
  ].some((prop)=>key === prop)) return true;
1590
1590
  const value = input[key];
1591
1591
  if (void 0 === value) return true;
@@ -3212,14 +3212,14 @@ export const __webpack_modules__ = {
3212
3212
  if (void 0 === value) return true;
3213
3213
  return false;
3214
3214
  })));
3215
- 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@6959"] && Object.keys(input).every((key)=>{
3215
+ 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@935"] && Object.keys(input).every((key)=>{
3216
3216
  if ([
3217
3217
  "BYTES_PER_ELEMENT",
3218
3218
  "buffer",
3219
3219
  "byteLength",
3220
3220
  "byteOffset",
3221
3221
  "length",
3222
- "__@toStringTag@6959"
3222
+ "__@toStringTag@935"
3223
3223
  ].some((prop)=>key === prop)) return true;
3224
3224
  const value = input[key];
3225
3225
  if (void 0 === value) return true;
@@ -6623,9 +6623,9 @@ export const __webpack_modules__ = {
6623
6623
  if (void 0 === value) return true;
6624
6624
  return false;
6625
6625
  }));
6626
- const _io421 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6959"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6626
+ const _io421 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@935"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6627
6627
  if ([
6628
- "__@toStringTag@6959"
6628
+ "__@toStringTag@935"
6629
6629
  ].some((prop)=>key === prop)) return true;
6630
6630
  const value = input[key];
6631
6631
  if (void 0 === value) return true;
@@ -7349,18 +7349,18 @@ export const __webpack_modules__ = {
7349
7349
  return false;
7350
7350
  })();
7351
7351
  const _iu1 = (input, _exceptionable = true)=>(()=>{
7352
- if (void 0 !== input["__@toStringTag@6959"]) return _io152(input, _exceptionable);
7352
+ if (void 0 !== input["__@toStringTag@935"]) return _io152(input, _exceptionable);
7353
7353
  if (void 0 !== input.pem) return _io153(input, _exceptionable);
7354
7354
  return false;
7355
7355
  })();
7356
7356
  const _iu2 = (input, _exceptionable = true)=>(()=>{
7357
- if (void 0 !== input["__@toStringTag@6959"]) return _io152(input, _exceptionable);
7357
+ if (void 0 !== input["__@toStringTag@935"]) return _io152(input, _exceptionable);
7358
7358
  if (void 0 !== input.buf) return _io154(input, _exceptionable);
7359
7359
  return false;
7360
7360
  })();
7361
7361
  const _iu3 = (input, _exceptionable = true)=>(()=>{
7362
7362
  if (void 0 !== input.name) return _io420(input, _exceptionable);
7363
- if (void 0 !== input["__@toStringTag@6959"]) return _io421(input, _exceptionable);
7363
+ if (void 0 !== input["__@toStringTag@935"]) return _io421(input, _exceptionable);
7364
7364
  return false;
7365
7365
  })();
7366
7366
  const _iu4 = (input, _exceptionable = true)=>(()=>{
@@ -10018,14 +10018,14 @@ export const __webpack_modules__ = {
10018
10018
  }).every((flag)=>flag)
10019
10019
  ].every((flag)=>flag);
10020
10020
  const _vo42 = (input, _path, _exceptionable = true)=>[
10021
- "string" == typeof input["__@toStringTag@6959"] || _report(_exceptionable, {
10022
- path: _path + "[\"__@toStringTag@6959\"]",
10021
+ "string" == typeof input["__@toStringTag@935"] || _report(_exceptionable, {
10022
+ path: _path + "[\"__@toStringTag@935\"]",
10023
10023
  expected: "string",
10024
- value: input["__@toStringTag@6959"]
10024
+ value: input["__@toStringTag@935"]
10025
10025
  }),
10026
10026
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
10027
10027
  if ([
10028
- "__@toStringTag@6959"
10028
+ "__@toStringTag@935"
10029
10029
  ].some((prop)=>key === prop)) return true;
10030
10030
  const value = input[key];
10031
10031
  if (void 0 === value) return true;
@@ -19131,10 +19131,10 @@ export const __webpack_modules__ = {
19131
19131
  expected: "number",
19132
19132
  value: input.length
19133
19133
  }),
19134
- "Uint8Array" === input["__@toStringTag@6959"] || _report(_exceptionable, {
19135
- path: _path + "[\"__@toStringTag@6959\"]",
19134
+ "Uint8Array" === input["__@toStringTag@935"] || _report(_exceptionable, {
19135
+ path: _path + "[\"__@toStringTag@935\"]",
19136
19136
  expected: "\"Uint8Array\"",
19137
- value: input["__@toStringTag@6959"]
19137
+ value: input["__@toStringTag@935"]
19138
19138
  }),
19139
19139
  false === _exceptionable || Object.keys(input).map((key)=>{
19140
19140
  if ([
@@ -19143,7 +19143,7 @@ export const __webpack_modules__ = {
19143
19143
  "byteLength",
19144
19144
  "byteOffset",
19145
19145
  "length",
19146
- "__@toStringTag@6959"
19146
+ "__@toStringTag@935"
19147
19147
  ].some((prop)=>key === prop)) return true;
19148
19148
  const value = input[key];
19149
19149
  if (void 0 === value) return true;
@@ -37988,14 +37988,14 @@ export const __webpack_modules__ = {
37988
37988
  }).every((flag)=>flag)
37989
37989
  ].every((flag)=>flag);
37990
37990
  const _vo421 = (input, _path, _exceptionable = true)=>[
37991
- "string" == typeof input["__@toStringTag@6959"] || _report(_exceptionable, {
37992
- path: _path + "[\"__@toStringTag@6959\"]",
37991
+ "string" == typeof input["__@toStringTag@935"] || _report(_exceptionable, {
37992
+ path: _path + "[\"__@toStringTag@935\"]",
37993
37993
  expected: "string",
37994
- value: input["__@toStringTag@6959"]
37994
+ value: input["__@toStringTag@935"]
37995
37995
  }),
37996
37996
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
37997
37997
  if ([
37998
- "__@toStringTag@6959"
37998
+ "__@toStringTag@935"
37999
37999
  ].some((prop)=>key === prop)) return true;
38000
38000
  const value = input[key];
38001
38001
  if (void 0 === value) return true;
@@ -41743,7 +41743,7 @@ export const __webpack_modules__ = {
41743
41743
  });
41744
41744
  })();
41745
41745
  const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
41746
- if (void 0 !== input["__@toStringTag@6959"]) return _vo152(input, _path, _exceptionable);
41746
+ if (void 0 !== input["__@toStringTag@935"]) return _vo152(input, _path, _exceptionable);
41747
41747
  if (void 0 !== input.pem) return _vo153(input, _path, _exceptionable);
41748
41748
  return _report(_exceptionable, {
41749
41749
  path: _path,
@@ -41752,7 +41752,7 @@ export const __webpack_modules__ = {
41752
41752
  });
41753
41753
  })();
41754
41754
  const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
41755
- if (void 0 !== input["__@toStringTag@6959"]) return _vo152(input, _path, _exceptionable);
41755
+ if (void 0 !== input["__@toStringTag@935"]) return _vo152(input, _path, _exceptionable);
41756
41756
  if (void 0 !== input.buf) return _vo154(input, _path, _exceptionable);
41757
41757
  return _report(_exceptionable, {
41758
41758
  path: _path,
@@ -41762,7 +41762,7 @@ export const __webpack_modules__ = {
41762
41762
  })();
41763
41763
  const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
41764
41764
  if (void 0 !== input.name) return _vo420(input, _path, _exceptionable);
41765
- if (void 0 !== input["__@toStringTag@6959"]) return _vo421(input, _path, _exceptionable);
41765
+ if (void 0 !== input["__@toStringTag@935"]) return _vo421(input, _path, _exceptionable);
41766
41766
  return _report(_exceptionable, {
41767
41767
  path: _path,
41768
41768
  expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
@@ -11,7 +11,7 @@ export const __webpack_modules__ = {
11
11
  });
12
12
  var core_ = __webpack_require__("@rsbuild/core");
13
13
  var package_namespaceObject = {
14
- rE: "0.11.9"
14
+ rE: "0.12.0"
15
15
  };
16
16
  const version = package_namespaceObject.rE;
17
17
  const rspackVersion = core_.rspack.rspackVersion;
package/dist/index.js CHANGED
@@ -108,7 +108,7 @@ var __webpack_modules__ = {
108
108
  });
109
109
  var core_ = __webpack_require__("@rsbuild/core");
110
110
  var package_namespaceObject = {
111
- rE: "0.11.9"
111
+ rE: "0.12.0"
112
112
  };
113
113
  const version = package_namespaceObject.rE;
114
114
  const rspackVersion = core_.rspack.rspackVersion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/rspeedy-canary",
3
- "version": "0.12.0-canary-20251121-e1a9493a",
3
+ "version": "0.12.0",
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.18.4-canary-20251121-e1a9493a",
53
+ "@lynx-js/web-rsbuild-server-middleware": "npm:@lynx-js/web-rsbuild-server-middleware-canary@0.18.4",
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.7",