@lynx-js/rspeedy-canary 0.11.7-canary-20251021-353312e0 → 0.11.7
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,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.11.7
|
|
3
|
+
## 0.11.7
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
- support web preview in rspeedy dev (experimental)
|
|
12
12
|
|
|
13
13
|
- Updated dependencies []:
|
|
14
|
-
- @lynx-js/web-rsbuild-server-middleware@0.18.1
|
|
14
|
+
- @lynx-js/web-rsbuild-server-middleware@0.18.1
|
|
15
15
|
|
|
16
16
|
## 0.11.6
|
|
17
17
|
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
- Support `command` and `env` parameters in the function exported by `lynx.config.js`. ([#1669](https://github.com/lynx-family/lynx-stack/pull/1669))
|
|
59
59
|
|
|
60
60
|
```js
|
|
61
|
-
import { defineConfig } from
|
|
61
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
62
62
|
|
|
63
63
|
export default defineConfig(({ command, env }) => {
|
|
64
|
-
const isBuild = command ===
|
|
65
|
-
const isTest = env ===
|
|
64
|
+
const isBuild = command === 'build'
|
|
65
|
+
const isTest = env === 'test'
|
|
66
66
|
|
|
67
67
|
return {
|
|
68
68
|
output: {
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
performance: {
|
|
72
72
|
buildCache: isBuild,
|
|
73
73
|
},
|
|
74
|
-
}
|
|
75
|
-
})
|
|
74
|
+
}
|
|
75
|
+
})
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
- Support `resolve.dedupe`. ([#1671](https://github.com/lynx-family/lynx-stack/pull/1671))
|
|
@@ -80,30 +80,30 @@
|
|
|
80
80
|
This is useful when having multiple duplicated packages in the bundle:
|
|
81
81
|
|
|
82
82
|
```js
|
|
83
|
-
import { defineConfig } from
|
|
83
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
84
84
|
|
|
85
85
|
export default defineConfig({
|
|
86
86
|
resolve: {
|
|
87
|
-
dedupe: [
|
|
87
|
+
dedupe: ['tslib'],
|
|
88
88
|
},
|
|
89
|
-
})
|
|
89
|
+
})
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
- Support `resolve.aliasStrategy` for controlling priority between `tsconfig.json` paths and `resolve.alias` ([#1722](https://github.com/lynx-family/lynx-stack/pull/1722))
|
|
93
93
|
|
|
94
94
|
```js
|
|
95
|
-
import { defineConfig } from
|
|
95
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
96
96
|
|
|
97
97
|
export default defineConfig({
|
|
98
98
|
resolve: {
|
|
99
99
|
alias: {
|
|
100
|
-
|
|
100
|
+
'@': './src',
|
|
101
101
|
},
|
|
102
102
|
// 'prefer-tsconfig' (default): tsconfig.json paths take priority
|
|
103
103
|
// 'prefer-alias': resolve.alias takes priority
|
|
104
|
-
aliasStrategy:
|
|
104
|
+
aliasStrategy: 'prefer-alias',
|
|
105
105
|
},
|
|
106
|
-
})
|
|
106
|
+
})
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
- Bump Rsbuild v1.5.4 with Rspack v1.5.2. ([#1644](https://github.com/lynx-family/lynx-stack/pull/1644))
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
- Add `output.dataUriLimit.*` for fine-grained control of asset inlining. ([#1648](https://github.com/lynx-family/lynx-stack/pull/1648))
|
|
124
124
|
|
|
125
125
|
```js
|
|
126
|
-
import { defineConfig } from
|
|
126
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
127
127
|
|
|
128
128
|
export default defineConfig({
|
|
129
129
|
output: {
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
media: 0,
|
|
133
133
|
},
|
|
134
134
|
},
|
|
135
|
-
})
|
|
135
|
+
})
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
## 0.11.0
|
|
@@ -252,28 +252,28 @@
|
|
|
252
252
|
|
|
253
253
|
```ts
|
|
254
254
|
type InlineChunkTestFunction = (params: {
|
|
255
|
-
size: number
|
|
256
|
-
name: string
|
|
257
|
-
}) => boolean
|
|
255
|
+
size: number
|
|
256
|
+
name: string
|
|
257
|
+
}) => boolean
|
|
258
258
|
|
|
259
|
-
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
259
|
+
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
260
260
|
|
|
261
261
|
type InlineChunkConfig =
|
|
262
262
|
| boolean
|
|
263
263
|
| InlineChunkTest
|
|
264
|
-
| { enable?: boolean |
|
|
264
|
+
| { enable?: boolean | 'auto', test: InlineChunkTest }
|
|
265
265
|
```
|
|
266
266
|
|
|
267
267
|
```ts
|
|
268
|
-
import { defineConfig } from
|
|
268
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
269
269
|
|
|
270
270
|
export default defineConfig({
|
|
271
271
|
output: {
|
|
272
272
|
inlineScripts: ({ name, size }) => {
|
|
273
|
-
return name.includes(
|
|
273
|
+
return name.includes('foo') && size < 1000
|
|
274
274
|
},
|
|
275
275
|
},
|
|
276
|
-
})
|
|
276
|
+
})
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
- docs: remove chunks: 'all' in comments ([#1168](https://github.com/lynx-family/lynx-stack/pull/1168))
|
|
@@ -316,13 +316,13 @@
|
|
|
316
316
|
example:
|
|
317
317
|
|
|
318
318
|
```js
|
|
319
|
-
import { defineConfig } from
|
|
319
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
320
320
|
|
|
321
321
|
export default defineConfig({
|
|
322
322
|
output: {
|
|
323
323
|
inlineScripts: false,
|
|
324
324
|
},
|
|
325
|
-
})
|
|
325
|
+
})
|
|
326
326
|
```
|
|
327
327
|
|
|
328
328
|
- Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
|
|
@@ -342,12 +342,12 @@
|
|
|
342
342
|
example:
|
|
343
343
|
|
|
344
344
|
```js
|
|
345
|
-
import { defineConfig } from
|
|
345
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
346
346
|
export default defineConfig({
|
|
347
347
|
source: {
|
|
348
|
-
preEntry:
|
|
348
|
+
preEntry: './src/polyfill.ts',
|
|
349
349
|
},
|
|
350
|
-
})
|
|
350
|
+
})
|
|
351
351
|
```
|
|
352
352
|
|
|
353
353
|
- Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
|
|
@@ -358,17 +358,17 @@
|
|
|
358
358
|
|
|
359
359
|
```js
|
|
360
360
|
export const myPlugin = {
|
|
361
|
-
name:
|
|
361
|
+
name: 'my-plugin',
|
|
362
362
|
setup(api) {
|
|
363
|
-
const { callerName } = api.context
|
|
363
|
+
const { callerName } = api.context
|
|
364
364
|
|
|
365
|
-
if (callerName ===
|
|
365
|
+
if (callerName === 'rslib') {
|
|
366
366
|
// ...
|
|
367
|
-
} else if (callerName ===
|
|
367
|
+
} else if (callerName === 'rspeedy') {
|
|
368
368
|
// ...
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
|
-
}
|
|
371
|
+
}
|
|
372
372
|
```
|
|
373
373
|
|
|
374
374
|
- Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
|
|
392
392
|
|
|
393
393
|
```js
|
|
394
|
-
import { defineConfig } from
|
|
394
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
395
395
|
|
|
396
396
|
export default defineConfig({
|
|
397
397
|
tools: {
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
},
|
|
402
402
|
},
|
|
403
403
|
},
|
|
404
|
-
})
|
|
404
|
+
})
|
|
405
405
|
```
|
|
406
406
|
|
|
407
407
|
See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
|
|
@@ -533,12 +533,12 @@
|
|
|
533
533
|
example:
|
|
534
534
|
|
|
535
535
|
```js
|
|
536
|
-
import { defineConfig } from
|
|
536
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
537
537
|
export default defineConfig({
|
|
538
538
|
server: {
|
|
539
|
-
base:
|
|
539
|
+
base: '/dist',
|
|
540
540
|
},
|
|
541
|
-
})
|
|
541
|
+
})
|
|
542
542
|
```
|
|
543
543
|
|
|
544
544
|
- Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
|
|
@@ -591,11 +591,11 @@
|
|
|
591
591
|
You can switch to other tools by using:
|
|
592
592
|
|
|
593
593
|
```js
|
|
594
|
-
import { defineConfig } from
|
|
594
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
595
595
|
import {
|
|
596
596
|
CssMinimizerWebpackPlugin,
|
|
597
597
|
pluginCssMinimizer,
|
|
598
|
-
} from
|
|
598
|
+
} from '@rsbuild/plugin-css-minimizer'
|
|
599
599
|
|
|
600
600
|
export default defineConfig({
|
|
601
601
|
plugins: [
|
|
@@ -608,7 +608,7 @@
|
|
|
608
608
|
},
|
|
609
609
|
}),
|
|
610
610
|
],
|
|
611
|
-
})
|
|
611
|
+
})
|
|
612
612
|
```
|
|
613
613
|
|
|
614
614
|
See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
|
|
@@ -618,8 +618,8 @@
|
|
|
618
618
|
You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
|
|
619
619
|
|
|
620
620
|
```js
|
|
621
|
-
import { defineConfig } from
|
|
622
|
-
import { pluginCssMinimizer } from
|
|
621
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
622
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
623
623
|
|
|
624
624
|
export default defineConfig({
|
|
625
625
|
plugins: [
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
},
|
|
632
632
|
}),
|
|
633
633
|
],
|
|
634
|
-
})
|
|
634
|
+
})
|
|
635
635
|
```
|
|
636
636
|
|
|
637
637
|
## 0.7.1
|
|
@@ -651,7 +651,7 @@
|
|
|
651
651
|
You may turn it off using `output.minify.css: false`:
|
|
652
652
|
|
|
653
653
|
```js
|
|
654
|
-
import { defineConfig } from
|
|
654
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
655
655
|
|
|
656
656
|
export default defineConfig({
|
|
657
657
|
output: {
|
|
@@ -659,18 +659,18 @@
|
|
|
659
659
|
css: false,
|
|
660
660
|
},
|
|
661
661
|
},
|
|
662
|
-
})
|
|
662
|
+
})
|
|
663
663
|
```
|
|
664
664
|
|
|
665
665
|
Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
|
|
666
666
|
|
|
667
667
|
```js
|
|
668
|
-
import { defineConfig } from
|
|
669
|
-
import { pluginCssMinimizer } from
|
|
668
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
669
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
670
670
|
|
|
671
671
|
export default defineConfig({
|
|
672
672
|
plugins: [pluginCssMinimizer()],
|
|
673
|
-
})
|
|
673
|
+
})
|
|
674
674
|
```
|
|
675
675
|
|
|
676
676
|
- 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
|
|
@@ -697,22 +697,22 @@
|
|
|
697
697
|
- The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
|
|
698
698
|
|
|
699
699
|
```js
|
|
700
|
-
import { defineConfig } from
|
|
700
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
701
701
|
|
|
702
702
|
export default defineConfig({
|
|
703
703
|
dev: {
|
|
704
704
|
watchFiles: [
|
|
705
705
|
{
|
|
706
|
-
type:
|
|
707
|
-
paths: [
|
|
706
|
+
type: 'reload-server',
|
|
707
|
+
paths: ['public/**/*.txt'],
|
|
708
708
|
},
|
|
709
709
|
{
|
|
710
|
-
type:
|
|
711
|
-
paths: [
|
|
710
|
+
type: 'reload-page',
|
|
711
|
+
paths: ['public/**/*.json'],
|
|
712
712
|
},
|
|
713
713
|
],
|
|
714
714
|
},
|
|
715
|
-
})
|
|
715
|
+
})
|
|
716
716
|
```
|
|
717
717
|
|
|
718
718
|
- 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)",
|
|
@@ -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.7"
|
|
67
67
|
};
|
|
68
68
|
const version = package_namespaceObject.rE;
|
|
69
69
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -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/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.7"
|
|
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.7"
|
|
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.7
|
|
3
|
+
"version": "0.11.7",
|
|
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.1
|
|
53
|
+
"@lynx-js/web-rsbuild-server-middleware": "npm:@lynx-js/web-rsbuild-server-middleware-canary@0.18.1",
|
|
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",
|