@lynx-js/rspeedy-canary 0.12.5-canary-20260104-f4b90f3a → 0.12.5
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.12.5
|
|
3
|
+
## 0.12.5
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies []:
|
|
8
|
-
- @lynx-js/web-rsbuild-server-middleware@0.19.4
|
|
8
|
+
- @lynx-js/web-rsbuild-server-middleware@0.19.4
|
|
9
9
|
|
|
10
10
|
## 0.12.4
|
|
11
11
|
|
|
@@ -128,11 +128,11 @@
|
|
|
128
128
|
- Support `command` and `env` parameters in the function exported by `lynx.config.js`. ([#1669](https://github.com/lynx-family/lynx-stack/pull/1669))
|
|
129
129
|
|
|
130
130
|
```js
|
|
131
|
-
import { defineConfig } from
|
|
131
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
132
132
|
|
|
133
133
|
export default defineConfig(({ command, env }) => {
|
|
134
|
-
const isBuild = command ===
|
|
135
|
-
const isTest = env ===
|
|
134
|
+
const isBuild = command === 'build'
|
|
135
|
+
const isTest = env === 'test'
|
|
136
136
|
|
|
137
137
|
return {
|
|
138
138
|
output: {
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
performance: {
|
|
142
142
|
buildCache: isBuild,
|
|
143
143
|
},
|
|
144
|
-
}
|
|
145
|
-
})
|
|
144
|
+
}
|
|
145
|
+
})
|
|
146
146
|
```
|
|
147
147
|
|
|
148
148
|
- Support `resolve.dedupe`. ([#1671](https://github.com/lynx-family/lynx-stack/pull/1671))
|
|
@@ -150,30 +150,30 @@
|
|
|
150
150
|
This is useful when having multiple duplicated packages in the bundle:
|
|
151
151
|
|
|
152
152
|
```js
|
|
153
|
-
import { defineConfig } from
|
|
153
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
154
154
|
|
|
155
155
|
export default defineConfig({
|
|
156
156
|
resolve: {
|
|
157
|
-
dedupe: [
|
|
157
|
+
dedupe: ['tslib'],
|
|
158
158
|
},
|
|
159
|
-
})
|
|
159
|
+
})
|
|
160
160
|
```
|
|
161
161
|
|
|
162
162
|
- Support `resolve.aliasStrategy` for controlling priority between `tsconfig.json` paths and `resolve.alias` ([#1722](https://github.com/lynx-family/lynx-stack/pull/1722))
|
|
163
163
|
|
|
164
164
|
```js
|
|
165
|
-
import { defineConfig } from
|
|
165
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
166
166
|
|
|
167
167
|
export default defineConfig({
|
|
168
168
|
resolve: {
|
|
169
169
|
alias: {
|
|
170
|
-
|
|
170
|
+
'@': './src',
|
|
171
171
|
},
|
|
172
172
|
// 'prefer-tsconfig' (default): tsconfig.json paths take priority
|
|
173
173
|
// 'prefer-alias': resolve.alias takes priority
|
|
174
|
-
aliasStrategy:
|
|
174
|
+
aliasStrategy: 'prefer-alias',
|
|
175
175
|
},
|
|
176
|
-
})
|
|
176
|
+
})
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
- Bump Rsbuild v1.5.4 with Rspack v1.5.2. ([#1644](https://github.com/lynx-family/lynx-stack/pull/1644))
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
- Add `output.dataUriLimit.*` for fine-grained control of asset inlining. ([#1648](https://github.com/lynx-family/lynx-stack/pull/1648))
|
|
194
194
|
|
|
195
195
|
```js
|
|
196
|
-
import { defineConfig } from
|
|
196
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
197
197
|
|
|
198
198
|
export default defineConfig({
|
|
199
199
|
output: {
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
media: 0,
|
|
203
203
|
},
|
|
204
204
|
},
|
|
205
|
-
})
|
|
205
|
+
})
|
|
206
206
|
```
|
|
207
207
|
|
|
208
208
|
## 0.11.0
|
|
@@ -322,28 +322,28 @@
|
|
|
322
322
|
|
|
323
323
|
```ts
|
|
324
324
|
type InlineChunkTestFunction = (params: {
|
|
325
|
-
size: number
|
|
326
|
-
name: string
|
|
327
|
-
}) => boolean
|
|
325
|
+
size: number
|
|
326
|
+
name: string
|
|
327
|
+
}) => boolean
|
|
328
328
|
|
|
329
|
-
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
329
|
+
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
330
330
|
|
|
331
331
|
type InlineChunkConfig =
|
|
332
332
|
| boolean
|
|
333
333
|
| InlineChunkTest
|
|
334
|
-
| { enable?: boolean |
|
|
334
|
+
| { enable?: boolean | 'auto', test: InlineChunkTest }
|
|
335
335
|
```
|
|
336
336
|
|
|
337
337
|
```ts
|
|
338
|
-
import { defineConfig } from
|
|
338
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
339
339
|
|
|
340
340
|
export default defineConfig({
|
|
341
341
|
output: {
|
|
342
342
|
inlineScripts: ({ name, size }) => {
|
|
343
|
-
return name.includes(
|
|
343
|
+
return name.includes('foo') && size < 1000
|
|
344
344
|
},
|
|
345
345
|
},
|
|
346
|
-
})
|
|
346
|
+
})
|
|
347
347
|
```
|
|
348
348
|
|
|
349
349
|
- docs: remove chunks: 'all' in comments ([#1168](https://github.com/lynx-family/lynx-stack/pull/1168))
|
|
@@ -386,13 +386,13 @@
|
|
|
386
386
|
example:
|
|
387
387
|
|
|
388
388
|
```js
|
|
389
|
-
import { defineConfig } from
|
|
389
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
390
390
|
|
|
391
391
|
export default defineConfig({
|
|
392
392
|
output: {
|
|
393
393
|
inlineScripts: false,
|
|
394
394
|
},
|
|
395
|
-
})
|
|
395
|
+
})
|
|
396
396
|
```
|
|
397
397
|
|
|
398
398
|
- Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
|
|
@@ -412,12 +412,12 @@
|
|
|
412
412
|
example:
|
|
413
413
|
|
|
414
414
|
```js
|
|
415
|
-
import { defineConfig } from
|
|
415
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
416
416
|
export default defineConfig({
|
|
417
417
|
source: {
|
|
418
|
-
preEntry:
|
|
418
|
+
preEntry: './src/polyfill.ts',
|
|
419
419
|
},
|
|
420
|
-
})
|
|
420
|
+
})
|
|
421
421
|
```
|
|
422
422
|
|
|
423
423
|
- Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
|
|
@@ -428,17 +428,17 @@
|
|
|
428
428
|
|
|
429
429
|
```js
|
|
430
430
|
export const myPlugin = {
|
|
431
|
-
name:
|
|
431
|
+
name: 'my-plugin',
|
|
432
432
|
setup(api) {
|
|
433
|
-
const { callerName } = api.context
|
|
433
|
+
const { callerName } = api.context
|
|
434
434
|
|
|
435
|
-
if (callerName ===
|
|
435
|
+
if (callerName === 'rslib') {
|
|
436
436
|
// ...
|
|
437
|
-
} else if (callerName ===
|
|
437
|
+
} else if (callerName === 'rspeedy') {
|
|
438
438
|
// ...
|
|
439
439
|
}
|
|
440
440
|
},
|
|
441
|
-
}
|
|
441
|
+
}
|
|
442
442
|
```
|
|
443
443
|
|
|
444
444
|
- Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
|
|
462
462
|
|
|
463
463
|
```js
|
|
464
|
-
import { defineConfig } from
|
|
464
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
465
465
|
|
|
466
466
|
export default defineConfig({
|
|
467
467
|
tools: {
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
},
|
|
472
472
|
},
|
|
473
473
|
},
|
|
474
|
-
})
|
|
474
|
+
})
|
|
475
475
|
```
|
|
476
476
|
|
|
477
477
|
See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
|
|
@@ -603,12 +603,12 @@
|
|
|
603
603
|
example:
|
|
604
604
|
|
|
605
605
|
```js
|
|
606
|
-
import { defineConfig } from
|
|
606
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
607
607
|
export default defineConfig({
|
|
608
608
|
server: {
|
|
609
|
-
base:
|
|
609
|
+
base: '/dist',
|
|
610
610
|
},
|
|
611
|
-
})
|
|
611
|
+
})
|
|
612
612
|
```
|
|
613
613
|
|
|
614
614
|
- Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
|
|
@@ -661,11 +661,11 @@
|
|
|
661
661
|
You can switch to other tools by using:
|
|
662
662
|
|
|
663
663
|
```js
|
|
664
|
-
import { defineConfig } from
|
|
664
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
665
665
|
import {
|
|
666
666
|
CssMinimizerWebpackPlugin,
|
|
667
667
|
pluginCssMinimizer,
|
|
668
|
-
} from
|
|
668
|
+
} from '@rsbuild/plugin-css-minimizer'
|
|
669
669
|
|
|
670
670
|
export default defineConfig({
|
|
671
671
|
plugins: [
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
},
|
|
679
679
|
}),
|
|
680
680
|
],
|
|
681
|
-
})
|
|
681
|
+
})
|
|
682
682
|
```
|
|
683
683
|
|
|
684
684
|
See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
|
|
@@ -688,8 +688,8 @@
|
|
|
688
688
|
You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
|
|
689
689
|
|
|
690
690
|
```js
|
|
691
|
-
import { defineConfig } from
|
|
692
|
-
import { pluginCssMinimizer } from
|
|
691
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
692
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
693
693
|
|
|
694
694
|
export default defineConfig({
|
|
695
695
|
plugins: [
|
|
@@ -701,7 +701,7 @@
|
|
|
701
701
|
},
|
|
702
702
|
}),
|
|
703
703
|
],
|
|
704
|
-
})
|
|
704
|
+
})
|
|
705
705
|
```
|
|
706
706
|
|
|
707
707
|
## 0.7.1
|
|
@@ -721,7 +721,7 @@
|
|
|
721
721
|
You may turn it off using `output.minify.css: false`:
|
|
722
722
|
|
|
723
723
|
```js
|
|
724
|
-
import { defineConfig } from
|
|
724
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
725
725
|
|
|
726
726
|
export default defineConfig({
|
|
727
727
|
output: {
|
|
@@ -729,18 +729,18 @@
|
|
|
729
729
|
css: false,
|
|
730
730
|
},
|
|
731
731
|
},
|
|
732
|
-
})
|
|
732
|
+
})
|
|
733
733
|
```
|
|
734
734
|
|
|
735
735
|
Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
|
|
736
736
|
|
|
737
737
|
```js
|
|
738
|
-
import { defineConfig } from
|
|
739
|
-
import { pluginCssMinimizer } from
|
|
738
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
739
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
740
740
|
|
|
741
741
|
export default defineConfig({
|
|
742
742
|
plugins: [pluginCssMinimizer()],
|
|
743
|
-
})
|
|
743
|
+
})
|
|
744
744
|
```
|
|
745
745
|
|
|
746
746
|
- 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
|
|
@@ -767,22 +767,22 @@
|
|
|
767
767
|
- The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
|
|
768
768
|
|
|
769
769
|
```js
|
|
770
|
-
import { defineConfig } from
|
|
770
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
771
771
|
|
|
772
772
|
export default defineConfig({
|
|
773
773
|
dev: {
|
|
774
774
|
watchFiles: [
|
|
775
775
|
{
|
|
776
|
-
type:
|
|
777
|
-
paths: [
|
|
776
|
+
type: 'reload-server',
|
|
777
|
+
paths: ['public/**/*.txt'],
|
|
778
778
|
},
|
|
779
779
|
{
|
|
780
|
-
type:
|
|
781
|
-
paths: [
|
|
780
|
+
type: 'reload-page',
|
|
781
|
+
paths: ['public/**/*.json'],
|
|
782
782
|
},
|
|
783
783
|
],
|
|
784
784
|
},
|
|
785
|
-
})
|
|
785
|
+
})
|
|
786
786
|
```
|
|
787
787
|
|
|
788
788
|
- be9b003: Add `source.exclude`.
|
|
@@ -1590,9 +1590,9 @@ export const __webpack_modules__ = {
|
|
|
1590
1590
|
if (void 0 === value) return true;
|
|
1591
1591
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1592
1592
|
});
|
|
1593
|
-
const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1593
|
+
const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6979"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1594
1594
|
if ([
|
|
1595
|
-
"__@toStringTag@
|
|
1595
|
+
"__@toStringTag@6979"
|
|
1596
1596
|
].some((prop)=>key === prop)) return true;
|
|
1597
1597
|
const value = input[key];
|
|
1598
1598
|
if (void 0 === value) return true;
|
|
@@ -3221,14 +3221,14 @@ export const __webpack_modules__ = {
|
|
|
3221
3221
|
if (void 0 === value) return true;
|
|
3222
3222
|
return false;
|
|
3223
3223
|
})));
|
|
3224
|
-
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@
|
|
3224
|
+
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@6979"] && Object.keys(input).every((key)=>{
|
|
3225
3225
|
if ([
|
|
3226
3226
|
"BYTES_PER_ELEMENT",
|
|
3227
3227
|
"buffer",
|
|
3228
3228
|
"byteLength",
|
|
3229
3229
|
"byteOffset",
|
|
3230
3230
|
"length",
|
|
3231
|
-
"__@toStringTag@
|
|
3231
|
+
"__@toStringTag@6979"
|
|
3232
3232
|
].some((prop)=>key === prop)) return true;
|
|
3233
3233
|
const value = input[key];
|
|
3234
3234
|
if (void 0 === value) return true;
|
|
@@ -6627,9 +6627,9 @@ export const __webpack_modules__ = {
|
|
|
6627
6627
|
if (void 0 === value) return true;
|
|
6628
6628
|
return false;
|
|
6629
6629
|
}));
|
|
6630
|
-
const _io419 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6630
|
+
const _io419 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6979"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6631
6631
|
if ([
|
|
6632
|
-
"__@toStringTag@
|
|
6632
|
+
"__@toStringTag@6979"
|
|
6633
6633
|
].some((prop)=>key === prop)) return true;
|
|
6634
6634
|
const value = input[key];
|
|
6635
6635
|
if (void 0 === value) return true;
|
|
@@ -7353,18 +7353,18 @@ export const __webpack_modules__ = {
|
|
|
7353
7353
|
return false;
|
|
7354
7354
|
})();
|
|
7355
7355
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7356
|
-
if (void 0 !== input["__@toStringTag@
|
|
7356
|
+
if (void 0 !== input["__@toStringTag@6979"]) return _io152(input, _exceptionable);
|
|
7357
7357
|
if (void 0 !== input.pem) return _io153(input, _exceptionable);
|
|
7358
7358
|
return false;
|
|
7359
7359
|
})();
|
|
7360
7360
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7361
|
-
if (void 0 !== input["__@toStringTag@
|
|
7361
|
+
if (void 0 !== input["__@toStringTag@6979"]) return _io152(input, _exceptionable);
|
|
7362
7362
|
if (void 0 !== input.buf) return _io154(input, _exceptionable);
|
|
7363
7363
|
return false;
|
|
7364
7364
|
})();
|
|
7365
7365
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7366
7366
|
if (void 0 !== input.name) return _io418(input, _exceptionable);
|
|
7367
|
-
if (void 0 !== input["__@toStringTag@
|
|
7367
|
+
if (void 0 !== input["__@toStringTag@6979"]) return _io419(input, _exceptionable);
|
|
7368
7368
|
return false;
|
|
7369
7369
|
})();
|
|
7370
7370
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -10028,14 +10028,14 @@ export const __webpack_modules__ = {
|
|
|
10028
10028
|
}).every((flag)=>flag)
|
|
10029
10029
|
].every((flag)=>flag);
|
|
10030
10030
|
const _vo42 = (input, _path, _exceptionable = true)=>[
|
|
10031
|
-
"string" == typeof input["__@toStringTag@
|
|
10032
|
-
path: _path + "[\"__@toStringTag@
|
|
10031
|
+
"string" == typeof input["__@toStringTag@6979"] || _report(_exceptionable, {
|
|
10032
|
+
path: _path + "[\"__@toStringTag@6979\"]",
|
|
10033
10033
|
expected: "string",
|
|
10034
|
-
value: input["__@toStringTag@
|
|
10034
|
+
value: input["__@toStringTag@6979"]
|
|
10035
10035
|
}),
|
|
10036
10036
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
10037
10037
|
if ([
|
|
10038
|
-
"__@toStringTag@
|
|
10038
|
+
"__@toStringTag@6979"
|
|
10039
10039
|
].some((prop)=>key === prop)) return true;
|
|
10040
10040
|
const value = input[key];
|
|
10041
10041
|
if (void 0 === value) return true;
|
|
@@ -19157,10 +19157,10 @@ export const __webpack_modules__ = {
|
|
|
19157
19157
|
expected: "number",
|
|
19158
19158
|
value: input.length
|
|
19159
19159
|
}),
|
|
19160
|
-
"Uint8Array" === input["__@toStringTag@
|
|
19161
|
-
path: _path + "[\"__@toStringTag@
|
|
19160
|
+
"Uint8Array" === input["__@toStringTag@6979"] || _report(_exceptionable, {
|
|
19161
|
+
path: _path + "[\"__@toStringTag@6979\"]",
|
|
19162
19162
|
expected: "\"Uint8Array\"",
|
|
19163
|
-
value: input["__@toStringTag@
|
|
19163
|
+
value: input["__@toStringTag@6979"]
|
|
19164
19164
|
}),
|
|
19165
19165
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
19166
19166
|
if ([
|
|
@@ -19169,7 +19169,7 @@ export const __webpack_modules__ = {
|
|
|
19169
19169
|
"byteLength",
|
|
19170
19170
|
"byteOffset",
|
|
19171
19171
|
"length",
|
|
19172
|
-
"__@toStringTag@
|
|
19172
|
+
"__@toStringTag@6979"
|
|
19173
19173
|
].some((prop)=>key === prop)) return true;
|
|
19174
19174
|
const value = input[key];
|
|
19175
19175
|
if (void 0 === value) return true;
|
|
@@ -38060,14 +38060,14 @@ export const __webpack_modules__ = {
|
|
|
38060
38060
|
}).every((flag)=>flag)
|
|
38061
38061
|
].every((flag)=>flag);
|
|
38062
38062
|
const _vo419 = (input, _path, _exceptionable = true)=>[
|
|
38063
|
-
"string" == typeof input["__@toStringTag@
|
|
38064
|
-
path: _path + "[\"__@toStringTag@
|
|
38063
|
+
"string" == typeof input["__@toStringTag@6979"] || _report(_exceptionable, {
|
|
38064
|
+
path: _path + "[\"__@toStringTag@6979\"]",
|
|
38065
38065
|
expected: "string",
|
|
38066
|
-
value: input["__@toStringTag@
|
|
38066
|
+
value: input["__@toStringTag@6979"]
|
|
38067
38067
|
}),
|
|
38068
38068
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
38069
38069
|
if ([
|
|
38070
|
-
"__@toStringTag@
|
|
38070
|
+
"__@toStringTag@6979"
|
|
38071
38071
|
].some((prop)=>key === prop)) return true;
|
|
38072
38072
|
const value = input[key];
|
|
38073
38073
|
if (void 0 === value) return true;
|
|
@@ -41815,7 +41815,7 @@ export const __webpack_modules__ = {
|
|
|
41815
41815
|
});
|
|
41816
41816
|
})();
|
|
41817
41817
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41818
|
-
if (void 0 !== input["__@toStringTag@
|
|
41818
|
+
if (void 0 !== input["__@toStringTag@6979"]) return _vo152(input, _path, _exceptionable);
|
|
41819
41819
|
if (void 0 !== input.pem) return _vo153(input, _path, _exceptionable);
|
|
41820
41820
|
return _report(_exceptionable, {
|
|
41821
41821
|
path: _path,
|
|
@@ -41824,7 +41824,7 @@ export const __webpack_modules__ = {
|
|
|
41824
41824
|
});
|
|
41825
41825
|
})();
|
|
41826
41826
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41827
|
-
if (void 0 !== input["__@toStringTag@
|
|
41827
|
+
if (void 0 !== input["__@toStringTag@6979"]) return _vo152(input, _path, _exceptionable);
|
|
41828
41828
|
if (void 0 !== input.buf) return _vo154(input, _path, _exceptionable);
|
|
41829
41829
|
return _report(_exceptionable, {
|
|
41830
41830
|
path: _path,
|
|
@@ -41834,7 +41834,7 @@ export const __webpack_modules__ = {
|
|
|
41834
41834
|
})();
|
|
41835
41835
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41836
41836
|
if (void 0 !== input.name) return _vo418(input, _path, _exceptionable);
|
|
41837
|
-
if (void 0 !== input["__@toStringTag@
|
|
41837
|
+
if (void 0 !== input["__@toStringTag@6979"]) return _vo419(input, _path, _exceptionable);
|
|
41838
41838
|
return _report(_exceptionable, {
|
|
41839
41839
|
path: _path,
|
|
41840
41840
|
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.12.
|
|
66
|
+
rE: "0.12.5"
|
|
67
67
|
};
|
|
68
68
|
const version = package_namespaceObject.rE;
|
|
69
69
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -1590,9 +1590,9 @@ export const __webpack_modules__ = {
|
|
|
1590
1590
|
if (void 0 === value) return true;
|
|
1591
1591
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1592
1592
|
});
|
|
1593
|
-
const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1593
|
+
const _io42 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@941"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1594
1594
|
if ([
|
|
1595
|
-
"__@toStringTag@
|
|
1595
|
+
"__@toStringTag@941"
|
|
1596
1596
|
].some((prop)=>key === prop)) return true;
|
|
1597
1597
|
const value = input[key];
|
|
1598
1598
|
if (void 0 === value) return true;
|
|
@@ -3221,14 +3221,14 @@ export const __webpack_modules__ = {
|
|
|
3221
3221
|
if (void 0 === value) return true;
|
|
3222
3222
|
return false;
|
|
3223
3223
|
})));
|
|
3224
|
-
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@
|
|
3224
|
+
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@941"] && Object.keys(input).every((key)=>{
|
|
3225
3225
|
if ([
|
|
3226
3226
|
"BYTES_PER_ELEMENT",
|
|
3227
3227
|
"buffer",
|
|
3228
3228
|
"byteLength",
|
|
3229
3229
|
"byteOffset",
|
|
3230
3230
|
"length",
|
|
3231
|
-
"__@toStringTag@
|
|
3231
|
+
"__@toStringTag@941"
|
|
3232
3232
|
].some((prop)=>key === prop)) return true;
|
|
3233
3233
|
const value = input[key];
|
|
3234
3234
|
if (void 0 === value) return true;
|
|
@@ -6627,9 +6627,9 @@ export const __webpack_modules__ = {
|
|
|
6627
6627
|
if (void 0 === value) return true;
|
|
6628
6628
|
return false;
|
|
6629
6629
|
}));
|
|
6630
|
-
const _io419 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6630
|
+
const _io419 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@941"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6631
6631
|
if ([
|
|
6632
|
-
"__@toStringTag@
|
|
6632
|
+
"__@toStringTag@941"
|
|
6633
6633
|
].some((prop)=>key === prop)) return true;
|
|
6634
6634
|
const value = input[key];
|
|
6635
6635
|
if (void 0 === value) return true;
|
|
@@ -7353,18 +7353,18 @@ export const __webpack_modules__ = {
|
|
|
7353
7353
|
return false;
|
|
7354
7354
|
})();
|
|
7355
7355
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7356
|
-
if (void 0 !== input["__@toStringTag@
|
|
7356
|
+
if (void 0 !== input["__@toStringTag@941"]) return _io152(input, _exceptionable);
|
|
7357
7357
|
if (void 0 !== input.pem) return _io153(input, _exceptionable);
|
|
7358
7358
|
return false;
|
|
7359
7359
|
})();
|
|
7360
7360
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7361
|
-
if (void 0 !== input["__@toStringTag@
|
|
7361
|
+
if (void 0 !== input["__@toStringTag@941"]) return _io152(input, _exceptionable);
|
|
7362
7362
|
if (void 0 !== input.buf) return _io154(input, _exceptionable);
|
|
7363
7363
|
return false;
|
|
7364
7364
|
})();
|
|
7365
7365
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7366
7366
|
if (void 0 !== input.name) return _io418(input, _exceptionable);
|
|
7367
|
-
if (void 0 !== input["__@toStringTag@
|
|
7367
|
+
if (void 0 !== input["__@toStringTag@941"]) return _io419(input, _exceptionable);
|
|
7368
7368
|
return false;
|
|
7369
7369
|
})();
|
|
7370
7370
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -10028,14 +10028,14 @@ export const __webpack_modules__ = {
|
|
|
10028
10028
|
}).every((flag)=>flag)
|
|
10029
10029
|
].every((flag)=>flag);
|
|
10030
10030
|
const _vo42 = (input, _path, _exceptionable = true)=>[
|
|
10031
|
-
"string" == typeof input["__@toStringTag@
|
|
10032
|
-
path: _path + "[\"__@toStringTag@
|
|
10031
|
+
"string" == typeof input["__@toStringTag@941"] || _report(_exceptionable, {
|
|
10032
|
+
path: _path + "[\"__@toStringTag@941\"]",
|
|
10033
10033
|
expected: "string",
|
|
10034
|
-
value: input["__@toStringTag@
|
|
10034
|
+
value: input["__@toStringTag@941"]
|
|
10035
10035
|
}),
|
|
10036
10036
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
10037
10037
|
if ([
|
|
10038
|
-
"__@toStringTag@
|
|
10038
|
+
"__@toStringTag@941"
|
|
10039
10039
|
].some((prop)=>key === prop)) return true;
|
|
10040
10040
|
const value = input[key];
|
|
10041
10041
|
if (void 0 === value) return true;
|
|
@@ -19157,10 +19157,10 @@ export const __webpack_modules__ = {
|
|
|
19157
19157
|
expected: "number",
|
|
19158
19158
|
value: input.length
|
|
19159
19159
|
}),
|
|
19160
|
-
"Uint8Array" === input["__@toStringTag@
|
|
19161
|
-
path: _path + "[\"__@toStringTag@
|
|
19160
|
+
"Uint8Array" === input["__@toStringTag@941"] || _report(_exceptionable, {
|
|
19161
|
+
path: _path + "[\"__@toStringTag@941\"]",
|
|
19162
19162
|
expected: "\"Uint8Array\"",
|
|
19163
|
-
value: input["__@toStringTag@
|
|
19163
|
+
value: input["__@toStringTag@941"]
|
|
19164
19164
|
}),
|
|
19165
19165
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
19166
19166
|
if ([
|
|
@@ -19169,7 +19169,7 @@ export const __webpack_modules__ = {
|
|
|
19169
19169
|
"byteLength",
|
|
19170
19170
|
"byteOffset",
|
|
19171
19171
|
"length",
|
|
19172
|
-
"__@toStringTag@
|
|
19172
|
+
"__@toStringTag@941"
|
|
19173
19173
|
].some((prop)=>key === prop)) return true;
|
|
19174
19174
|
const value = input[key];
|
|
19175
19175
|
if (void 0 === value) return true;
|
|
@@ -38060,14 +38060,14 @@ export const __webpack_modules__ = {
|
|
|
38060
38060
|
}).every((flag)=>flag)
|
|
38061
38061
|
].every((flag)=>flag);
|
|
38062
38062
|
const _vo419 = (input, _path, _exceptionable = true)=>[
|
|
38063
|
-
"string" == typeof input["__@toStringTag@
|
|
38064
|
-
path: _path + "[\"__@toStringTag@
|
|
38063
|
+
"string" == typeof input["__@toStringTag@941"] || _report(_exceptionable, {
|
|
38064
|
+
path: _path + "[\"__@toStringTag@941\"]",
|
|
38065
38065
|
expected: "string",
|
|
38066
|
-
value: input["__@toStringTag@
|
|
38066
|
+
value: input["__@toStringTag@941"]
|
|
38067
38067
|
}),
|
|
38068
38068
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
38069
38069
|
if ([
|
|
38070
|
-
"__@toStringTag@
|
|
38070
|
+
"__@toStringTag@941"
|
|
38071
38071
|
].some((prop)=>key === prop)) return true;
|
|
38072
38072
|
const value = input[key];
|
|
38073
38073
|
if (void 0 === value) return true;
|
|
@@ -41815,7 +41815,7 @@ export const __webpack_modules__ = {
|
|
|
41815
41815
|
});
|
|
41816
41816
|
})();
|
|
41817
41817
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41818
|
-
if (void 0 !== input["__@toStringTag@
|
|
41818
|
+
if (void 0 !== input["__@toStringTag@941"]) return _vo152(input, _path, _exceptionable);
|
|
41819
41819
|
if (void 0 !== input.pem) return _vo153(input, _path, _exceptionable);
|
|
41820
41820
|
return _report(_exceptionable, {
|
|
41821
41821
|
path: _path,
|
|
@@ -41824,7 +41824,7 @@ export const __webpack_modules__ = {
|
|
|
41824
41824
|
});
|
|
41825
41825
|
})();
|
|
41826
41826
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41827
|
-
if (void 0 !== input["__@toStringTag@
|
|
41827
|
+
if (void 0 !== input["__@toStringTag@941"]) return _vo152(input, _path, _exceptionable);
|
|
41828
41828
|
if (void 0 !== input.buf) return _vo154(input, _path, _exceptionable);
|
|
41829
41829
|
return _report(_exceptionable, {
|
|
41830
41830
|
path: _path,
|
|
@@ -41834,7 +41834,7 @@ export const __webpack_modules__ = {
|
|
|
41834
41834
|
})();
|
|
41835
41835
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
41836
41836
|
if (void 0 !== input.name) return _vo418(input, _path, _exceptionable);
|
|
41837
|
-
if (void 0 !== input["__@toStringTag@
|
|
41837
|
+
if (void 0 !== input["__@toStringTag@941"]) return _vo419(input, _path, _exceptionable);
|
|
41838
41838
|
return _report(_exceptionable, {
|
|
41839
41839
|
path: _path,
|
|
41840
41840
|
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.12.
|
|
14
|
+
rE: "0.12.5"
|
|
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.12.
|
|
111
|
+
rE: "0.12.5"
|
|
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.5
|
|
3
|
+
"version": "0.12.5",
|
|
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.4
|
|
53
|
+
"@lynx-js/web-rsbuild-server-middleware": "npm:@lynx-js/web-rsbuild-server-middleware-canary@0.19.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.13",
|