@lynx-js/rspeedy-canary 0.11.9-canary-20251106-5eb6d949 → 0.11.9
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 +56 -56
- package/dist/0~src_config_validate_ts.js +24 -24
- package/dist/1~src_cli_commands_ts.js +1 -1
- package/dist/1~src_config_validate_ts.js +24 -24
- package/dist/1~src_version_ts.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.11.9
|
|
3
|
+
## 0.11.9
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies []:
|
|
8
|
-
- @lynx-js/web-rsbuild-server-middleware@0.18.3
|
|
8
|
+
- @lynx-js/web-rsbuild-server-middleware@0.18.3
|
|
9
9
|
|
|
10
10
|
## 0.11.8
|
|
11
11
|
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
- Support `command` and `env` parameters in the function exported by `lynx.config.js`. ([#1669](https://github.com/lynx-family/lynx-stack/pull/1669))
|
|
77
77
|
|
|
78
78
|
```js
|
|
79
|
-
import { defineConfig } from
|
|
79
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
80
80
|
|
|
81
81
|
export default defineConfig(({ command, env }) => {
|
|
82
|
-
const isBuild = command ===
|
|
83
|
-
const isTest = env ===
|
|
82
|
+
const isBuild = command === 'build'
|
|
83
|
+
const isTest = env === 'test'
|
|
84
84
|
|
|
85
85
|
return {
|
|
86
86
|
output: {
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
performance: {
|
|
90
90
|
buildCache: isBuild,
|
|
91
91
|
},
|
|
92
|
-
}
|
|
93
|
-
})
|
|
92
|
+
}
|
|
93
|
+
})
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
- Support `resolve.dedupe`. ([#1671](https://github.com/lynx-family/lynx-stack/pull/1671))
|
|
@@ -98,30 +98,30 @@
|
|
|
98
98
|
This is useful when having multiple duplicated packages in the bundle:
|
|
99
99
|
|
|
100
100
|
```js
|
|
101
|
-
import { defineConfig } from
|
|
101
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
102
102
|
|
|
103
103
|
export default defineConfig({
|
|
104
104
|
resolve: {
|
|
105
|
-
dedupe: [
|
|
105
|
+
dedupe: ['tslib'],
|
|
106
106
|
},
|
|
107
|
-
})
|
|
107
|
+
})
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
- Support `resolve.aliasStrategy` for controlling priority between `tsconfig.json` paths and `resolve.alias` ([#1722](https://github.com/lynx-family/lynx-stack/pull/1722))
|
|
111
111
|
|
|
112
112
|
```js
|
|
113
|
-
import { defineConfig } from
|
|
113
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
114
114
|
|
|
115
115
|
export default defineConfig({
|
|
116
116
|
resolve: {
|
|
117
117
|
alias: {
|
|
118
|
-
|
|
118
|
+
'@': './src',
|
|
119
119
|
},
|
|
120
120
|
// 'prefer-tsconfig' (default): tsconfig.json paths take priority
|
|
121
121
|
// 'prefer-alias': resolve.alias takes priority
|
|
122
|
-
aliasStrategy:
|
|
122
|
+
aliasStrategy: 'prefer-alias',
|
|
123
123
|
},
|
|
124
|
-
})
|
|
124
|
+
})
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
- Bump Rsbuild v1.5.4 with Rspack v1.5.2. ([#1644](https://github.com/lynx-family/lynx-stack/pull/1644))
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
- Add `output.dataUriLimit.*` for fine-grained control of asset inlining. ([#1648](https://github.com/lynx-family/lynx-stack/pull/1648))
|
|
142
142
|
|
|
143
143
|
```js
|
|
144
|
-
import { defineConfig } from
|
|
144
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
145
145
|
|
|
146
146
|
export default defineConfig({
|
|
147
147
|
output: {
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
media: 0,
|
|
151
151
|
},
|
|
152
152
|
},
|
|
153
|
-
})
|
|
153
|
+
})
|
|
154
154
|
```
|
|
155
155
|
|
|
156
156
|
## 0.11.0
|
|
@@ -270,28 +270,28 @@
|
|
|
270
270
|
|
|
271
271
|
```ts
|
|
272
272
|
type InlineChunkTestFunction = (params: {
|
|
273
|
-
size: number
|
|
274
|
-
name: string
|
|
275
|
-
}) => boolean
|
|
273
|
+
size: number
|
|
274
|
+
name: string
|
|
275
|
+
}) => boolean
|
|
276
276
|
|
|
277
|
-
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
277
|
+
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
278
278
|
|
|
279
279
|
type InlineChunkConfig =
|
|
280
280
|
| boolean
|
|
281
281
|
| InlineChunkTest
|
|
282
|
-
| { enable?: boolean |
|
|
282
|
+
| { enable?: boolean | 'auto', test: InlineChunkTest }
|
|
283
283
|
```
|
|
284
284
|
|
|
285
285
|
```ts
|
|
286
|
-
import { defineConfig } from
|
|
286
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
287
287
|
|
|
288
288
|
export default defineConfig({
|
|
289
289
|
output: {
|
|
290
290
|
inlineScripts: ({ name, size }) => {
|
|
291
|
-
return name.includes(
|
|
291
|
+
return name.includes('foo') && size < 1000
|
|
292
292
|
},
|
|
293
293
|
},
|
|
294
|
-
})
|
|
294
|
+
})
|
|
295
295
|
```
|
|
296
296
|
|
|
297
297
|
- docs: remove chunks: 'all' in comments ([#1168](https://github.com/lynx-family/lynx-stack/pull/1168))
|
|
@@ -334,13 +334,13 @@
|
|
|
334
334
|
example:
|
|
335
335
|
|
|
336
336
|
```js
|
|
337
|
-
import { defineConfig } from
|
|
337
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
338
338
|
|
|
339
339
|
export default defineConfig({
|
|
340
340
|
output: {
|
|
341
341
|
inlineScripts: false,
|
|
342
342
|
},
|
|
343
|
-
})
|
|
343
|
+
})
|
|
344
344
|
```
|
|
345
345
|
|
|
346
346
|
- Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
|
|
@@ -360,12 +360,12 @@
|
|
|
360
360
|
example:
|
|
361
361
|
|
|
362
362
|
```js
|
|
363
|
-
import { defineConfig } from
|
|
363
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
364
364
|
export default defineConfig({
|
|
365
365
|
source: {
|
|
366
|
-
preEntry:
|
|
366
|
+
preEntry: './src/polyfill.ts',
|
|
367
367
|
},
|
|
368
|
-
})
|
|
368
|
+
})
|
|
369
369
|
```
|
|
370
370
|
|
|
371
371
|
- Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
|
|
@@ -376,17 +376,17 @@
|
|
|
376
376
|
|
|
377
377
|
```js
|
|
378
378
|
export const myPlugin = {
|
|
379
|
-
name:
|
|
379
|
+
name: 'my-plugin',
|
|
380
380
|
setup(api) {
|
|
381
|
-
const { callerName } = api.context
|
|
381
|
+
const { callerName } = api.context
|
|
382
382
|
|
|
383
|
-
if (callerName ===
|
|
383
|
+
if (callerName === 'rslib') {
|
|
384
384
|
// ...
|
|
385
|
-
} else if (callerName ===
|
|
385
|
+
} else if (callerName === 'rspeedy') {
|
|
386
386
|
// ...
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
|
-
}
|
|
389
|
+
}
|
|
390
390
|
```
|
|
391
391
|
|
|
392
392
|
- Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
|
|
410
410
|
|
|
411
411
|
```js
|
|
412
|
-
import { defineConfig } from
|
|
412
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
413
413
|
|
|
414
414
|
export default defineConfig({
|
|
415
415
|
tools: {
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
},
|
|
420
420
|
},
|
|
421
421
|
},
|
|
422
|
-
})
|
|
422
|
+
})
|
|
423
423
|
```
|
|
424
424
|
|
|
425
425
|
See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
|
|
@@ -551,12 +551,12 @@
|
|
|
551
551
|
example:
|
|
552
552
|
|
|
553
553
|
```js
|
|
554
|
-
import { defineConfig } from
|
|
554
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
555
555
|
export default defineConfig({
|
|
556
556
|
server: {
|
|
557
|
-
base:
|
|
557
|
+
base: '/dist',
|
|
558
558
|
},
|
|
559
|
-
})
|
|
559
|
+
})
|
|
560
560
|
```
|
|
561
561
|
|
|
562
562
|
- Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
|
|
@@ -609,11 +609,11 @@
|
|
|
609
609
|
You can switch to other tools by using:
|
|
610
610
|
|
|
611
611
|
```js
|
|
612
|
-
import { defineConfig } from
|
|
612
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
613
613
|
import {
|
|
614
614
|
CssMinimizerWebpackPlugin,
|
|
615
615
|
pluginCssMinimizer,
|
|
616
|
-
} from
|
|
616
|
+
} from '@rsbuild/plugin-css-minimizer'
|
|
617
617
|
|
|
618
618
|
export default defineConfig({
|
|
619
619
|
plugins: [
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
},
|
|
627
627
|
}),
|
|
628
628
|
],
|
|
629
|
-
})
|
|
629
|
+
})
|
|
630
630
|
```
|
|
631
631
|
|
|
632
632
|
See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
|
|
@@ -636,8 +636,8 @@
|
|
|
636
636
|
You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
|
|
637
637
|
|
|
638
638
|
```js
|
|
639
|
-
import { defineConfig } from
|
|
640
|
-
import { pluginCssMinimizer } from
|
|
639
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
640
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
641
641
|
|
|
642
642
|
export default defineConfig({
|
|
643
643
|
plugins: [
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
},
|
|
650
650
|
}),
|
|
651
651
|
],
|
|
652
|
-
})
|
|
652
|
+
})
|
|
653
653
|
```
|
|
654
654
|
|
|
655
655
|
## 0.7.1
|
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
You may turn it off using `output.minify.css: false`:
|
|
670
670
|
|
|
671
671
|
```js
|
|
672
|
-
import { defineConfig } from
|
|
672
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
673
673
|
|
|
674
674
|
export default defineConfig({
|
|
675
675
|
output: {
|
|
@@ -677,18 +677,18 @@
|
|
|
677
677
|
css: false,
|
|
678
678
|
},
|
|
679
679
|
},
|
|
680
|
-
})
|
|
680
|
+
})
|
|
681
681
|
```
|
|
682
682
|
|
|
683
683
|
Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
|
|
684
684
|
|
|
685
685
|
```js
|
|
686
|
-
import { defineConfig } from
|
|
687
|
-
import { pluginCssMinimizer } from
|
|
686
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
687
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
688
688
|
|
|
689
689
|
export default defineConfig({
|
|
690
690
|
plugins: [pluginCssMinimizer()],
|
|
691
|
-
})
|
|
691
|
+
})
|
|
692
692
|
```
|
|
693
693
|
|
|
694
694
|
- 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
|
|
@@ -715,22 +715,22 @@
|
|
|
715
715
|
- The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
|
|
716
716
|
|
|
717
717
|
```js
|
|
718
|
-
import { defineConfig } from
|
|
718
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
719
719
|
|
|
720
720
|
export default defineConfig({
|
|
721
721
|
dev: {
|
|
722
722
|
watchFiles: [
|
|
723
723
|
{
|
|
724
|
-
type:
|
|
725
|
-
paths: [
|
|
724
|
+
type: 'reload-server',
|
|
725
|
+
paths: ['public/**/*.txt'],
|
|
726
726
|
},
|
|
727
727
|
{
|
|
728
|
-
type:
|
|
729
|
-
paths: [
|
|
728
|
+
type: 'reload-page',
|
|
729
|
+
paths: ['public/**/*.json'],
|
|
730
730
|
},
|
|
731
731
|
],
|
|
732
732
|
},
|
|
733
|
-
})
|
|
733
|
+
})
|
|
734
734
|
```
|
|
735
735
|
|
|
736
736
|
- be9b003: Add `source.exclude`.
|
|
@@ -1574,9 +1574,9 @@ export const __webpack_modules__ = {
|
|
|
1574
1574
|
if (void 0 === value) return true;
|
|
1575
1575
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1576
1576
|
});
|
|
1577
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1577
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@925"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1578
1578
|
if ([
|
|
1579
|
-
"__@toStringTag@
|
|
1579
|
+
"__@toStringTag@925"
|
|
1580
1580
|
].some((prop)=>key === prop)) return true;
|
|
1581
1581
|
const value = input[key];
|
|
1582
1582
|
if (void 0 === value) return true;
|
|
@@ -3203,14 +3203,14 @@ export const __webpack_modules__ = {
|
|
|
3203
3203
|
if (void 0 === value) return true;
|
|
3204
3204
|
return false;
|
|
3205
3205
|
})));
|
|
3206
|
-
const _io151 = (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@
|
|
3206
|
+
const _io151 = (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@925"] && Object.keys(input).every((key)=>{
|
|
3207
3207
|
if ([
|
|
3208
3208
|
"BYTES_PER_ELEMENT",
|
|
3209
3209
|
"buffer",
|
|
3210
3210
|
"byteLength",
|
|
3211
3211
|
"byteOffset",
|
|
3212
3212
|
"length",
|
|
3213
|
-
"__@toStringTag@
|
|
3213
|
+
"__@toStringTag@925"
|
|
3214
3214
|
].some((prop)=>key === prop)) return true;
|
|
3215
3215
|
const value = input[key];
|
|
3216
3216
|
if (void 0 === value) return true;
|
|
@@ -6493,9 +6493,9 @@ export const __webpack_modules__ = {
|
|
|
6493
6493
|
if (void 0 === value) return true;
|
|
6494
6494
|
return false;
|
|
6495
6495
|
}));
|
|
6496
|
-
const _io410 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6496
|
+
const _io410 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@925"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6497
6497
|
if ([
|
|
6498
|
-
"__@toStringTag@
|
|
6498
|
+
"__@toStringTag@925"
|
|
6499
6499
|
].some((prop)=>key === prop)) return true;
|
|
6500
6500
|
const value = input[key];
|
|
6501
6501
|
if (void 0 === value) return true;
|
|
@@ -7248,18 +7248,18 @@ export const __webpack_modules__ = {
|
|
|
7248
7248
|
return false;
|
|
7249
7249
|
})();
|
|
7250
7250
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7251
|
-
if (void 0 !== input["__@toStringTag@
|
|
7251
|
+
if (void 0 !== input["__@toStringTag@925"]) return _io151(input, _exceptionable);
|
|
7252
7252
|
if (void 0 !== input.pem) return _io152(input, _exceptionable);
|
|
7253
7253
|
return false;
|
|
7254
7254
|
})();
|
|
7255
7255
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7256
|
-
if (void 0 !== input["__@toStringTag@
|
|
7256
|
+
if (void 0 !== input["__@toStringTag@925"]) return _io151(input, _exceptionable);
|
|
7257
7257
|
if (void 0 !== input.buf) return _io153(input, _exceptionable);
|
|
7258
7258
|
return false;
|
|
7259
7259
|
})();
|
|
7260
7260
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7261
7261
|
if (void 0 !== input.name) return _io409(input, _exceptionable);
|
|
7262
|
-
if (void 0 !== input["__@toStringTag@
|
|
7262
|
+
if (void 0 !== input["__@toStringTag@925"]) return _io410(input, _exceptionable);
|
|
7263
7263
|
return false;
|
|
7264
7264
|
})();
|
|
7265
7265
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9875,14 +9875,14 @@ export const __webpack_modules__ = {
|
|
|
9875
9875
|
}).every((flag)=>flag)
|
|
9876
9876
|
].every((flag)=>flag);
|
|
9877
9877
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9878
|
-
"string" == typeof input["__@toStringTag@
|
|
9879
|
-
path: _path + "[\"__@toStringTag@
|
|
9878
|
+
"string" == typeof input["__@toStringTag@925"] || _report(_exceptionable, {
|
|
9879
|
+
path: _path + "[\"__@toStringTag@925\"]",
|
|
9880
9880
|
expected: "string",
|
|
9881
|
-
value: input["__@toStringTag@
|
|
9881
|
+
value: input["__@toStringTag@925"]
|
|
9882
9882
|
}),
|
|
9883
9883
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9884
9884
|
if ([
|
|
9885
|
-
"__@toStringTag@
|
|
9885
|
+
"__@toStringTag@925"
|
|
9886
9886
|
].some((prop)=>key === prop)) return true;
|
|
9887
9887
|
const value = input[key];
|
|
9888
9888
|
if (void 0 === value) return true;
|
|
@@ -18988,10 +18988,10 @@ export const __webpack_modules__ = {
|
|
|
18988
18988
|
expected: "number",
|
|
18989
18989
|
value: input.length
|
|
18990
18990
|
}),
|
|
18991
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18992
|
-
path: _path + "[\"__@toStringTag@
|
|
18991
|
+
"Uint8Array" === input["__@toStringTag@925"] || _report(_exceptionable, {
|
|
18992
|
+
path: _path + "[\"__@toStringTag@925\"]",
|
|
18993
18993
|
expected: "\"Uint8Array\"",
|
|
18994
|
-
value: input["__@toStringTag@
|
|
18994
|
+
value: input["__@toStringTag@925"]
|
|
18995
18995
|
}),
|
|
18996
18996
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18997
18997
|
if ([
|
|
@@ -19000,7 +19000,7 @@ export const __webpack_modules__ = {
|
|
|
19000
19000
|
"byteLength",
|
|
19001
19001
|
"byteOffset",
|
|
19002
19002
|
"length",
|
|
19003
|
-
"__@toStringTag@
|
|
19003
|
+
"__@toStringTag@925"
|
|
19004
19004
|
].some((prop)=>key === prop)) return true;
|
|
19005
19005
|
const value = input[key];
|
|
19006
19006
|
if (void 0 === value) return true;
|
|
@@ -37251,14 +37251,14 @@ export const __webpack_modules__ = {
|
|
|
37251
37251
|
}).every((flag)=>flag)
|
|
37252
37252
|
].every((flag)=>flag);
|
|
37253
37253
|
const _vo410 = (input, _path, _exceptionable = true)=>[
|
|
37254
|
-
"string" == typeof input["__@toStringTag@
|
|
37255
|
-
path: _path + "[\"__@toStringTag@
|
|
37254
|
+
"string" == typeof input["__@toStringTag@925"] || _report(_exceptionable, {
|
|
37255
|
+
path: _path + "[\"__@toStringTag@925\"]",
|
|
37256
37256
|
expected: "string",
|
|
37257
|
-
value: input["__@toStringTag@
|
|
37257
|
+
value: input["__@toStringTag@925"]
|
|
37258
37258
|
}),
|
|
37259
37259
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
37260
37260
|
if ([
|
|
37261
|
-
"__@toStringTag@
|
|
37261
|
+
"__@toStringTag@925"
|
|
37262
37262
|
].some((prop)=>key === prop)) return true;
|
|
37263
37263
|
const value = input[key];
|
|
37264
37264
|
if (void 0 === value) return true;
|
|
@@ -41139,7 +41139,7 @@ export const __webpack_modules__ = {
|
|
|
41139
41139
|
});
|
|
41140
41140
|
})();
|
|
41141
41141
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41142
|
-
if (void 0 !== input["__@toStringTag@
|
|
41142
|
+
if (void 0 !== input["__@toStringTag@925"]) return _vo151(input, _path, _exceptionable);
|
|
41143
41143
|
if (void 0 !== input.pem) return _vo152(input, _path, _exceptionable);
|
|
41144
41144
|
return _report(_exceptionable, {
|
|
41145
41145
|
path: _path,
|
|
@@ -41148,7 +41148,7 @@ export const __webpack_modules__ = {
|
|
|
41148
41148
|
});
|
|
41149
41149
|
})();
|
|
41150
41150
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41151
|
-
if (void 0 !== input["__@toStringTag@
|
|
41151
|
+
if (void 0 !== input["__@toStringTag@925"]) return _vo151(input, _path, _exceptionable);
|
|
41152
41152
|
if (void 0 !== input.buf) return _vo153(input, _path, _exceptionable);
|
|
41153
41153
|
return _report(_exceptionable, {
|
|
41154
41154
|
path: _path,
|
|
@@ -41158,7 +41158,7 @@ export const __webpack_modules__ = {
|
|
|
41158
41158
|
})();
|
|
41159
41159
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41160
41160
|
if (void 0 !== input.name) return _vo409(input, _path, _exceptionable);
|
|
41161
|
-
if (void 0 !== input["__@toStringTag@
|
|
41161
|
+
if (void 0 !== input["__@toStringTag@925"]) return _vo410(input, _path, _exceptionable);
|
|
41162
41162
|
return _report(_exceptionable, {
|
|
41163
41163
|
path: _path,
|
|
41164
41164
|
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.
|
|
66
|
+
rE: "0.11.9"
|
|
67
67
|
};
|
|
68
68
|
const version = package_namespaceObject.rE;
|
|
69
69
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -1574,9 +1574,9 @@ export const __webpack_modules__ = {
|
|
|
1574
1574
|
if (void 0 === value) return true;
|
|
1575
1575
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1576
1576
|
});
|
|
1577
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1577
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6848"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1578
1578
|
if ([
|
|
1579
|
-
"__@toStringTag@
|
|
1579
|
+
"__@toStringTag@6848"
|
|
1580
1580
|
].some((prop)=>key === prop)) return true;
|
|
1581
1581
|
const value = input[key];
|
|
1582
1582
|
if (void 0 === value) return true;
|
|
@@ -3203,14 +3203,14 @@ export const __webpack_modules__ = {
|
|
|
3203
3203
|
if (void 0 === value) return true;
|
|
3204
3204
|
return false;
|
|
3205
3205
|
})));
|
|
3206
|
-
const _io151 = (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@
|
|
3206
|
+
const _io151 = (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@6848"] && Object.keys(input).every((key)=>{
|
|
3207
3207
|
if ([
|
|
3208
3208
|
"BYTES_PER_ELEMENT",
|
|
3209
3209
|
"buffer",
|
|
3210
3210
|
"byteLength",
|
|
3211
3211
|
"byteOffset",
|
|
3212
3212
|
"length",
|
|
3213
|
-
"__@toStringTag@
|
|
3213
|
+
"__@toStringTag@6848"
|
|
3214
3214
|
].some((prop)=>key === prop)) return true;
|
|
3215
3215
|
const value = input[key];
|
|
3216
3216
|
if (void 0 === value) return true;
|
|
@@ -6493,9 +6493,9 @@ export const __webpack_modules__ = {
|
|
|
6493
6493
|
if (void 0 === value) return true;
|
|
6494
6494
|
return false;
|
|
6495
6495
|
}));
|
|
6496
|
-
const _io410 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6496
|
+
const _io410 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6848"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6497
6497
|
if ([
|
|
6498
|
-
"__@toStringTag@
|
|
6498
|
+
"__@toStringTag@6848"
|
|
6499
6499
|
].some((prop)=>key === prop)) return true;
|
|
6500
6500
|
const value = input[key];
|
|
6501
6501
|
if (void 0 === value) return true;
|
|
@@ -7248,18 +7248,18 @@ export const __webpack_modules__ = {
|
|
|
7248
7248
|
return false;
|
|
7249
7249
|
})();
|
|
7250
7250
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7251
|
-
if (void 0 !== input["__@toStringTag@
|
|
7251
|
+
if (void 0 !== input["__@toStringTag@6848"]) return _io151(input, _exceptionable);
|
|
7252
7252
|
if (void 0 !== input.pem) return _io152(input, _exceptionable);
|
|
7253
7253
|
return false;
|
|
7254
7254
|
})();
|
|
7255
7255
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7256
|
-
if (void 0 !== input["__@toStringTag@
|
|
7256
|
+
if (void 0 !== input["__@toStringTag@6848"]) return _io151(input, _exceptionable);
|
|
7257
7257
|
if (void 0 !== input.buf) return _io153(input, _exceptionable);
|
|
7258
7258
|
return false;
|
|
7259
7259
|
})();
|
|
7260
7260
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7261
7261
|
if (void 0 !== input.name) return _io409(input, _exceptionable);
|
|
7262
|
-
if (void 0 !== input["__@toStringTag@
|
|
7262
|
+
if (void 0 !== input["__@toStringTag@6848"]) return _io410(input, _exceptionable);
|
|
7263
7263
|
return false;
|
|
7264
7264
|
})();
|
|
7265
7265
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9875,14 +9875,14 @@ export const __webpack_modules__ = {
|
|
|
9875
9875
|
}).every((flag)=>flag)
|
|
9876
9876
|
].every((flag)=>flag);
|
|
9877
9877
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9878
|
-
"string" == typeof input["__@toStringTag@
|
|
9879
|
-
path: _path + "[\"__@toStringTag@
|
|
9878
|
+
"string" == typeof input["__@toStringTag@6848"] || _report(_exceptionable, {
|
|
9879
|
+
path: _path + "[\"__@toStringTag@6848\"]",
|
|
9880
9880
|
expected: "string",
|
|
9881
|
-
value: input["__@toStringTag@
|
|
9881
|
+
value: input["__@toStringTag@6848"]
|
|
9882
9882
|
}),
|
|
9883
9883
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9884
9884
|
if ([
|
|
9885
|
-
"__@toStringTag@
|
|
9885
|
+
"__@toStringTag@6848"
|
|
9886
9886
|
].some((prop)=>key === prop)) return true;
|
|
9887
9887
|
const value = input[key];
|
|
9888
9888
|
if (void 0 === value) return true;
|
|
@@ -18988,10 +18988,10 @@ export const __webpack_modules__ = {
|
|
|
18988
18988
|
expected: "number",
|
|
18989
18989
|
value: input.length
|
|
18990
18990
|
}),
|
|
18991
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18992
|
-
path: _path + "[\"__@toStringTag@
|
|
18991
|
+
"Uint8Array" === input["__@toStringTag@6848"] || _report(_exceptionable, {
|
|
18992
|
+
path: _path + "[\"__@toStringTag@6848\"]",
|
|
18993
18993
|
expected: "\"Uint8Array\"",
|
|
18994
|
-
value: input["__@toStringTag@
|
|
18994
|
+
value: input["__@toStringTag@6848"]
|
|
18995
18995
|
}),
|
|
18996
18996
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18997
18997
|
if ([
|
|
@@ -19000,7 +19000,7 @@ export const __webpack_modules__ = {
|
|
|
19000
19000
|
"byteLength",
|
|
19001
19001
|
"byteOffset",
|
|
19002
19002
|
"length",
|
|
19003
|
-
"__@toStringTag@
|
|
19003
|
+
"__@toStringTag@6848"
|
|
19004
19004
|
].some((prop)=>key === prop)) return true;
|
|
19005
19005
|
const value = input[key];
|
|
19006
19006
|
if (void 0 === value) return true;
|
|
@@ -37251,14 +37251,14 @@ export const __webpack_modules__ = {
|
|
|
37251
37251
|
}).every((flag)=>flag)
|
|
37252
37252
|
].every((flag)=>flag);
|
|
37253
37253
|
const _vo410 = (input, _path, _exceptionable = true)=>[
|
|
37254
|
-
"string" == typeof input["__@toStringTag@
|
|
37255
|
-
path: _path + "[\"__@toStringTag@
|
|
37254
|
+
"string" == typeof input["__@toStringTag@6848"] || _report(_exceptionable, {
|
|
37255
|
+
path: _path + "[\"__@toStringTag@6848\"]",
|
|
37256
37256
|
expected: "string",
|
|
37257
|
-
value: input["__@toStringTag@
|
|
37257
|
+
value: input["__@toStringTag@6848"]
|
|
37258
37258
|
}),
|
|
37259
37259
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
37260
37260
|
if ([
|
|
37261
|
-
"__@toStringTag@
|
|
37261
|
+
"__@toStringTag@6848"
|
|
37262
37262
|
].some((prop)=>key === prop)) return true;
|
|
37263
37263
|
const value = input[key];
|
|
37264
37264
|
if (void 0 === value) return true;
|
|
@@ -41139,7 +41139,7 @@ export const __webpack_modules__ = {
|
|
|
41139
41139
|
});
|
|
41140
41140
|
})();
|
|
41141
41141
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41142
|
-
if (void 0 !== input["__@toStringTag@
|
|
41142
|
+
if (void 0 !== input["__@toStringTag@6848"]) return _vo151(input, _path, _exceptionable);
|
|
41143
41143
|
if (void 0 !== input.pem) return _vo152(input, _path, _exceptionable);
|
|
41144
41144
|
return _report(_exceptionable, {
|
|
41145
41145
|
path: _path,
|
|
@@ -41148,7 +41148,7 @@ export const __webpack_modules__ = {
|
|
|
41148
41148
|
});
|
|
41149
41149
|
})();
|
|
41150
41150
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41151
|
-
if (void 0 !== input["__@toStringTag@
|
|
41151
|
+
if (void 0 !== input["__@toStringTag@6848"]) return _vo151(input, _path, _exceptionable);
|
|
41152
41152
|
if (void 0 !== input.buf) return _vo153(input, _path, _exceptionable);
|
|
41153
41153
|
return _report(_exceptionable, {
|
|
41154
41154
|
path: _path,
|
|
@@ -41158,7 +41158,7 @@ export const __webpack_modules__ = {
|
|
|
41158
41158
|
})();
|
|
41159
41159
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41160
41160
|
if (void 0 !== input.name) return _vo409(input, _path, _exceptionable);
|
|
41161
|
-
if (void 0 !== input["__@toStringTag@
|
|
41161
|
+
if (void 0 !== input["__@toStringTag@6848"]) return _vo410(input, _path, _exceptionable);
|
|
41162
41162
|
return _report(_exceptionable, {
|
|
41163
41163
|
path: _path,
|
|
41164
41164
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
package/dist/1~src_version_ts.js
CHANGED
|
@@ -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.
|
|
14
|
+
rE: "0.11.9"
|
|
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.
|
|
111
|
+
rE: "0.11.9"
|
|
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.11.9
|
|
3
|
+
"version": "0.11.9",
|
|
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.3
|
|
53
|
+
"@lynx-js/web-rsbuild-server-middleware": "npm:@lynx-js/web-rsbuild-server-middleware-canary@0.18.3",
|
|
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.5.17",
|