@lynx-js/rspeedy-canary 0.11.2-canary-20250909-eb0a9aae → 0.11.2-canary-20250909-37a83f70
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 +22 -2
- package/dist/index.d.ts +73 -2
- package/dist/index.js +6 -2
- package/dist/src_cli_build_ts.js +6 -2
- package/dist/src_cli_dev_ts.js +6 -2
- package/dist/src_cli_inspect_ts.js +6 -2
- package/dist/src_cli_preview_ts.js +6 -2
- package/dist/src_config_validate_ts.js +30 -78
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.11.2-canary-
|
|
3
|
+
## 0.11.2-canary-20250909044343-37a83f70ed76f328b3ea7d03e17b494962294868
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- Support `command` and `env` parameters in the function exported by `lynx.config.js`. ([#1669](https://github.com/lynx-family/lynx-stack/pull/1669))
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
11
|
+
|
|
12
|
+
export default defineConfig(({ command, env }) => {
|
|
13
|
+
const isBuild = command === "build";
|
|
14
|
+
const isTest = env === "test";
|
|
15
|
+
|
|
16
|
+
return {
|
|
17
|
+
output: {
|
|
18
|
+
minify: !isTest,
|
|
19
|
+
},
|
|
20
|
+
performance: {
|
|
21
|
+
buildCache: isBuild,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
7
27
|
- Support `resolve.dedupe`. ([#1671](https://github.com/lynx-family/lynx-stack/pull/1671))
|
|
8
28
|
|
|
9
29
|
This is useful when having multiple duplicated packages in the bundle:
|
|
@@ -19,7 +39,7 @@
|
|
|
19
39
|
```
|
|
20
40
|
|
|
21
41
|
- Updated dependencies [[`d7c5da3`](https://github.com/lynx-family/lynx-stack/commit/d7c5da329caddfb12ed77159fb8b1b8f38717cff)]:
|
|
22
|
-
- @lynx-js/chunk-loading-webpack-plugin@0.3.3-canary-
|
|
42
|
+
- @lynx-js/chunk-loading-webpack-plugin@0.3.3-canary-20250909044343-37a83f70ed76f328b3ea7d03e17b494962294868
|
|
23
43
|
- @lynx-js/cache-events-webpack-plugin@0.0.2
|
|
24
44
|
|
|
25
45
|
## 0.11.1
|
package/dist/index.d.ts
CHANGED
|
@@ -443,6 +443,42 @@ export declare interface Config {
|
|
|
443
443
|
plugins?: RsbuildPlugins | undefined;
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
+
/**
|
|
447
|
+
* Parameters for the function exported from `lynx.config.js`.
|
|
448
|
+
*
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
export declare interface ConfigParams {
|
|
452
|
+
/**
|
|
453
|
+
* The value of `process.env['NODE_ENV']`
|
|
454
|
+
*
|
|
455
|
+
* @remarks
|
|
456
|
+
* Common values include (non-exhaustive):
|
|
457
|
+
* - `'production'`
|
|
458
|
+
*
|
|
459
|
+
* - `'development'`
|
|
460
|
+
*
|
|
461
|
+
* - `'test'`
|
|
462
|
+
*/
|
|
463
|
+
env: 'production' | 'development' | 'test' | (string & Record<never, never>);
|
|
464
|
+
/**
|
|
465
|
+
* The CLI command of Rspeedy.
|
|
466
|
+
*
|
|
467
|
+
* @remarks
|
|
468
|
+
*
|
|
469
|
+
* Possible values:
|
|
470
|
+
*
|
|
471
|
+
* - `'build'`
|
|
472
|
+
*
|
|
473
|
+
* - `'dev'`
|
|
474
|
+
*
|
|
475
|
+
* - `'inspect'`
|
|
476
|
+
*
|
|
477
|
+
* - `'preview'`
|
|
478
|
+
*/
|
|
479
|
+
command: 'build' | 'dev' | 'inspect' | 'preview' | (string & Record<never, never>);
|
|
480
|
+
}
|
|
481
|
+
|
|
446
482
|
/**
|
|
447
483
|
* The type of the console method.
|
|
448
484
|
*
|
|
@@ -914,9 +950,26 @@ export declare function defineConfig(config: Config): Config;
|
|
|
914
950
|
* })
|
|
915
951
|
* ```
|
|
916
952
|
*
|
|
953
|
+
* @example
|
|
954
|
+
*
|
|
955
|
+
* Use `defineConfig` with parameters in `lynx.config.ts`:
|
|
956
|
+
*
|
|
957
|
+
* ```ts
|
|
958
|
+
* import { defineConfig } from '@lynx-js/rspeedy'
|
|
959
|
+
*
|
|
960
|
+
* export default defineConfig(({ env }) => {
|
|
961
|
+
* const isTest = env === 'test'
|
|
962
|
+
* return {
|
|
963
|
+
* output: {
|
|
964
|
+
* minify: isTest ? false : true,
|
|
965
|
+
* },
|
|
966
|
+
* }
|
|
967
|
+
* })
|
|
968
|
+
* ```
|
|
969
|
+
*
|
|
917
970
|
* @public
|
|
918
971
|
*/
|
|
919
|
-
export declare function defineConfig(config: () => Config): () => Config;
|
|
972
|
+
export declare function defineConfig(config: (params: ConfigParams) => Config): (params: ConfigParams) => Config;
|
|
920
973
|
|
|
921
974
|
/**
|
|
922
975
|
* The `defineConfig` method is a helper function used to get TypeScript intellisense.
|
|
@@ -962,9 +1015,27 @@ export declare function defineConfig(config: Promise<Config>): Promise<Config>;
|
|
|
962
1015
|
* })
|
|
963
1016
|
* ```
|
|
964
1017
|
*
|
|
1018
|
+
* @example
|
|
1019
|
+
*
|
|
1020
|
+
* Use `defineConfig` with parameters in `lynx.config.ts`:
|
|
1021
|
+
*
|
|
1022
|
+
* ```ts
|
|
1023
|
+
* import { defineConfig } from '@lynx-js/rspeedy'
|
|
1024
|
+
*
|
|
1025
|
+
* export default defineConfig(async ({ env }) => {
|
|
1026
|
+
* const foo = await bar()
|
|
1027
|
+
* const isTest = env === 'test'
|
|
1028
|
+
* return {
|
|
1029
|
+
* output: {
|
|
1030
|
+
* minify: isTest ? false : true,
|
|
1031
|
+
* },
|
|
1032
|
+
* }
|
|
1033
|
+
* })
|
|
1034
|
+
* ```
|
|
1035
|
+
*
|
|
965
1036
|
* @public
|
|
966
1037
|
*/
|
|
967
|
-
export declare function defineConfig(config: () => Promise<Config>): () => Promise<Config>;
|
|
1038
|
+
export declare function defineConfig(config: (params: ConfigParams) => Promise<Config>): (params: ConfigParams) => Promise<Config>;
|
|
968
1039
|
|
|
969
1040
|
/**
|
|
970
1041
|
* {@inheritdoc Config.dev}
|
package/dist/index.js
CHANGED
|
@@ -469,10 +469,14 @@ async function loadConfig(loadConfigOptions) {
|
|
|
469
469
|
import(`${specifier}?t=${Date.now()}`),
|
|
470
470
|
__webpack_require__.e("src_config_validate_ts").then(__webpack_require__.bind(__webpack_require__, "./src/config/validate.ts"))
|
|
471
471
|
]);
|
|
472
|
-
const
|
|
472
|
+
const configExport = 'default' in exports ? exports.default : exports;
|
|
473
|
+
const rawContent = 'function' == typeof configExport ? await configExport({
|
|
474
|
+
command: process.argv[2] ?? 'build',
|
|
475
|
+
env: process.env['NODE_ENV'] ?? 'production'
|
|
476
|
+
}) : await configExport;
|
|
473
477
|
return {
|
|
474
478
|
configPath,
|
|
475
|
-
content:
|
|
479
|
+
content: validate(rawContent, configPath)
|
|
476
480
|
};
|
|
477
481
|
} finally{
|
|
478
482
|
unregister();
|
package/dist/src_cli_build_ts.js
CHANGED
|
@@ -99,10 +99,14 @@ export const __webpack_modules__ = {
|
|
|
99
99
|
import(`${specifier}?t=${Date.now()}`),
|
|
100
100
|
__webpack_require__.e("src_config_validate_ts").then(__webpack_require__.bind(__webpack_require__, "./src/config/validate.ts"))
|
|
101
101
|
]);
|
|
102
|
-
const
|
|
102
|
+
const configExport = 'default' in exports ? exports.default : exports;
|
|
103
|
+
const rawContent = 'function' == typeof configExport ? await configExport({
|
|
104
|
+
command: process.argv[2] ?? 'build',
|
|
105
|
+
env: process.env['NODE_ENV'] ?? 'production'
|
|
106
|
+
}) : await configExport;
|
|
103
107
|
return {
|
|
104
108
|
configPath,
|
|
105
|
-
content:
|
|
109
|
+
content: validate(rawContent, configPath)
|
|
106
110
|
};
|
|
107
111
|
} finally{
|
|
108
112
|
unregister();
|
package/dist/src_cli_dev_ts.js
CHANGED
|
@@ -91,10 +91,14 @@ export const __webpack_modules__ = {
|
|
|
91
91
|
import(`${specifier}?t=${Date.now()}`),
|
|
92
92
|
__webpack_require__.e("src_config_validate_ts").then(__webpack_require__.bind(__webpack_require__, "./src/config/validate.ts"))
|
|
93
93
|
]);
|
|
94
|
-
const
|
|
94
|
+
const configExport = 'default' in exports ? exports.default : exports;
|
|
95
|
+
const rawContent = 'function' == typeof configExport ? await configExport({
|
|
96
|
+
command: process.argv[2] ?? 'build',
|
|
97
|
+
env: process.env['NODE_ENV'] ?? 'production'
|
|
98
|
+
}) : await configExport;
|
|
95
99
|
return {
|
|
96
100
|
configPath,
|
|
97
|
-
content:
|
|
101
|
+
content: validate(rawContent, configPath)
|
|
98
102
|
};
|
|
99
103
|
} finally{
|
|
100
104
|
unregister();
|
|
@@ -56,10 +56,14 @@ export const __webpack_modules__ = {
|
|
|
56
56
|
import(`${specifier}?t=${Date.now()}`),
|
|
57
57
|
__webpack_require__.e("src_config_validate_ts").then(__webpack_require__.bind(__webpack_require__, "./src/config/validate.ts"))
|
|
58
58
|
]);
|
|
59
|
-
const
|
|
59
|
+
const configExport = 'default' in exports ? exports.default : exports;
|
|
60
|
+
const rawContent = 'function' == typeof configExport ? await configExport({
|
|
61
|
+
command: process.argv[2] ?? 'build',
|
|
62
|
+
env: process.env['NODE_ENV'] ?? 'production'
|
|
63
|
+
}) : await configExport;
|
|
60
64
|
return {
|
|
61
65
|
configPath,
|
|
62
|
-
content:
|
|
66
|
+
content: validate(rawContent, configPath)
|
|
63
67
|
};
|
|
64
68
|
} finally{
|
|
65
69
|
unregister();
|
|
@@ -56,10 +56,14 @@ export const __webpack_modules__ = {
|
|
|
56
56
|
import(`${specifier}?t=${Date.now()}`),
|
|
57
57
|
__webpack_require__.e("src_config_validate_ts").then(__webpack_require__.bind(__webpack_require__, "./src/config/validate.ts"))
|
|
58
58
|
]);
|
|
59
|
-
const
|
|
59
|
+
const configExport = 'default' in exports ? exports.default : exports;
|
|
60
|
+
const rawContent = 'function' == typeof configExport ? await configExport({
|
|
61
|
+
command: process.argv[2] ?? 'build',
|
|
62
|
+
env: process.env['NODE_ENV'] ?? 'production'
|
|
63
|
+
}) : await configExport;
|
|
60
64
|
return {
|
|
61
65
|
configPath,
|
|
62
|
-
content:
|
|
66
|
+
content: validate(rawContent, configPath)
|
|
63
67
|
};
|
|
64
68
|
} finally{
|
|
65
69
|
unregister();
|
|
@@ -1492,9 +1492,9 @@ export const __webpack_modules__ = {
|
|
|
1492
1492
|
if (void 0 === value) return true;
|
|
1493
1493
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1494
1494
|
});
|
|
1495
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1495
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6652"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1496
1496
|
if ([
|
|
1497
|
-
"__@toStringTag@
|
|
1497
|
+
"__@toStringTag@6652"
|
|
1498
1498
|
].some((prop)=>key === prop)) return true;
|
|
1499
1499
|
const value = input[key];
|
|
1500
1500
|
if (void 0 === value) return true;
|
|
@@ -3102,14 +3102,14 @@ export const __webpack_modules__ = {
|
|
|
3102
3102
|
if (void 0 === value) return true;
|
|
3103
3103
|
return false;
|
|
3104
3104
|
})));
|
|
3105
|
-
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@
|
|
3105
|
+
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@6652"] && Object.keys(input).every((key)=>{
|
|
3106
3106
|
if ([
|
|
3107
3107
|
"BYTES_PER_ELEMENT",
|
|
3108
3108
|
"buffer",
|
|
3109
3109
|
"byteLength",
|
|
3110
3110
|
"byteOffset",
|
|
3111
3111
|
"length",
|
|
3112
|
-
"__@toStringTag@
|
|
3112
|
+
"__@toStringTag@6652"
|
|
3113
3113
|
].some((prop)=>key === prop)) return true;
|
|
3114
3114
|
const value = input[key];
|
|
3115
3115
|
if (void 0 === value) return true;
|
|
@@ -6363,9 +6363,9 @@ export const __webpack_modules__ = {
|
|
|
6363
6363
|
if (void 0 === value) return true;
|
|
6364
6364
|
return false;
|
|
6365
6365
|
}));
|
|
6366
|
-
const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6366
|
+
const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6652"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6367
6367
|
if ([
|
|
6368
|
-
"__@toStringTag@
|
|
6368
|
+
"__@toStringTag@6652"
|
|
6369
6369
|
].some((prop)=>key === prop)) return true;
|
|
6370
6370
|
const value = input[key];
|
|
6371
6371
|
if (void 0 === value) return true;
|
|
@@ -6960,32 +6960,24 @@ export const __webpack_modules__ = {
|
|
|
6960
6960
|
if (void 0 === value) return true;
|
|
6961
6961
|
return false;
|
|
6962
6962
|
}));
|
|
6963
|
-
const _io460 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6662"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6964
|
-
if ([
|
|
6965
|
-
"__@toStringTag@6662"
|
|
6966
|
-
].some((prop)=>key === prop)) return true;
|
|
6967
|
-
const value = input[key];
|
|
6968
|
-
if (void 0 === value) return true;
|
|
6969
|
-
return false;
|
|
6970
|
-
}));
|
|
6971
6963
|
const _iu0 = (input, _exceptionable = true)=>(()=>{
|
|
6972
6964
|
if (_io121(input, false)) return _io121(input, _exceptionable);
|
|
6973
6965
|
if (_io120(input, false)) return _io120(input, _exceptionable);
|
|
6974
6966
|
return false;
|
|
6975
6967
|
})();
|
|
6976
6968
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
6977
|
-
if (void 0 !== input["__@toStringTag@
|
|
6969
|
+
if (void 0 !== input["__@toStringTag@6652"]) return _io149(input, _exceptionable);
|
|
6978
6970
|
if (void 0 !== input.pem) return _io150(input, _exceptionable);
|
|
6979
6971
|
return false;
|
|
6980
6972
|
})();
|
|
6981
6973
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
6982
|
-
if (void 0 !== input["__@toStringTag@
|
|
6974
|
+
if (void 0 !== input["__@toStringTag@6652"]) return _io149(input, _exceptionable);
|
|
6983
6975
|
if (void 0 !== input.buf) return _io151(input, _exceptionable);
|
|
6984
6976
|
return false;
|
|
6985
6977
|
})();
|
|
6986
6978
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
6987
6979
|
if (void 0 !== input.name) return _io405(input, _exceptionable);
|
|
6988
|
-
if (void 0 !== input["__@toStringTag@
|
|
6980
|
+
if (void 0 !== input["__@toStringTag@6652"]) return _io406(input, _exceptionable);
|
|
6989
6981
|
return false;
|
|
6990
6982
|
})();
|
|
6991
6983
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -7057,10 +7049,6 @@ export const __webpack_modules__ = {
|
|
|
7057
7049
|
if ("custom" === input.strategy) return _io417(input, _exceptionable);
|
|
7058
7050
|
return _io415(input, _exceptionable);
|
|
7059
7051
|
})();
|
|
7060
|
-
const _iu18 = (input, _exceptionable = true)=>(()=>{
|
|
7061
|
-
if (void 0 !== input["__@toStringTag@6662"]) return _io460(input, _exceptionable);
|
|
7062
|
-
return _io0(input, _exceptionable);
|
|
7063
|
-
})();
|
|
7064
7052
|
const _ia0 = (input, _exceptionable = true)=>input.every((elem, _index368)=>null != elem && ("function" == typeof elem || "string" == typeof elem || elem instanceof RegExp || Array.isArray(elem) && (_ia0(elem, _exceptionable) || false) || "object" == typeof elem && null !== elem && false === Array.isArray(elem) && _io174(elem, _exceptionable)));
|
|
7065
7053
|
const _ia1 = (input, _exceptionable = true)=>input.every((elem, _index369)=>null != elem && ("function" == typeof elem || "string" == typeof elem || elem instanceof RegExp || Array.isArray(elem) && (_ia1(elem, _exceptionable) || false) || "object" == typeof elem && null !== elem && false === Array.isArray(elem) && _io225(elem, _exceptionable)));
|
|
7066
7054
|
const _ia2 = (input, _exceptionable = true)=>input.every((elem, _index370)=>null != elem && ("function" == typeof elem || "string" == typeof elem || elem instanceof RegExp || Array.isArray(elem) && (_ia2(elem, _exceptionable) || false) || "object" == typeof elem && null !== elem && false === Array.isArray(elem) && _io227(elem, _exceptionable)));
|
|
@@ -9584,14 +9572,14 @@ export const __webpack_modules__ = {
|
|
|
9584
9572
|
}).every((flag)=>flag)
|
|
9585
9573
|
].every((flag)=>flag);
|
|
9586
9574
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9587
|
-
"string" == typeof input["__@toStringTag@
|
|
9588
|
-
path: _path + "[\"__@toStringTag@
|
|
9575
|
+
"string" == typeof input["__@toStringTag@6652"] || _report(_exceptionable, {
|
|
9576
|
+
path: _path + "[\"__@toStringTag@6652\"]",
|
|
9589
9577
|
expected: "string",
|
|
9590
|
-
value: input["__@toStringTag@
|
|
9578
|
+
value: input["__@toStringTag@6652"]
|
|
9591
9579
|
}),
|
|
9592
9580
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9593
9581
|
if ([
|
|
9594
|
-
"__@toStringTag@
|
|
9582
|
+
"__@toStringTag@6652"
|
|
9595
9583
|
].some((prop)=>key === prop)) return true;
|
|
9596
9584
|
const value = input[key];
|
|
9597
9585
|
if (void 0 === value) return true;
|
|
@@ -18605,10 +18593,10 @@ export const __webpack_modules__ = {
|
|
|
18605
18593
|
expected: "number",
|
|
18606
18594
|
value: input.length
|
|
18607
18595
|
}),
|
|
18608
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18609
|
-
path: _path + "[\"__@toStringTag@
|
|
18596
|
+
"Uint8Array" === input["__@toStringTag@6652"] || _report(_exceptionable, {
|
|
18597
|
+
path: _path + "[\"__@toStringTag@6652\"]",
|
|
18610
18598
|
expected: "\"Uint8Array\"",
|
|
18611
|
-
value: input["__@toStringTag@
|
|
18599
|
+
value: input["__@toStringTag@6652"]
|
|
18612
18600
|
}),
|
|
18613
18601
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18614
18602
|
if ([
|
|
@@ -18617,7 +18605,7 @@ export const __webpack_modules__ = {
|
|
|
18617
18605
|
"byteLength",
|
|
18618
18606
|
"byteOffset",
|
|
18619
18607
|
"length",
|
|
18620
|
-
"__@toStringTag@
|
|
18608
|
+
"__@toStringTag@6652"
|
|
18621
18609
|
].some((prop)=>key === prop)) return true;
|
|
18622
18610
|
const value = input[key];
|
|
18623
18611
|
if (void 0 === value) return true;
|
|
@@ -36678,14 +36666,14 @@ export const __webpack_modules__ = {
|
|
|
36678
36666
|
}).every((flag)=>flag)
|
|
36679
36667
|
].every((flag)=>flag);
|
|
36680
36668
|
const _vo406 = (input, _path, _exceptionable = true)=>[
|
|
36681
|
-
"string" == typeof input["__@toStringTag@
|
|
36682
|
-
path: _path + "[\"__@toStringTag@
|
|
36669
|
+
"string" == typeof input["__@toStringTag@6652"] || _report(_exceptionable, {
|
|
36670
|
+
path: _path + "[\"__@toStringTag@6652\"]",
|
|
36683
36671
|
expected: "string",
|
|
36684
|
-
value: input["__@toStringTag@
|
|
36672
|
+
value: input["__@toStringTag@6652"]
|
|
36685
36673
|
}),
|
|
36686
36674
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
36687
36675
|
if ([
|
|
36688
|
-
"__@toStringTag@
|
|
36676
|
+
"__@toStringTag@6652"
|
|
36689
36677
|
].some((prop)=>key === prop)) return true;
|
|
36690
36678
|
const value = input[key];
|
|
36691
36679
|
if (void 0 === value) return true;
|
|
@@ -39747,30 +39735,6 @@ export const __webpack_modules__ = {
|
|
|
39747
39735
|
});
|
|
39748
39736
|
}).every((flag)=>flag)
|
|
39749
39737
|
].every((flag)=>flag);
|
|
39750
|
-
const _vo460 = (input, _path, _exceptionable = true)=>[
|
|
39751
|
-
"string" == typeof input["__@toStringTag@6662"] || _report(_exceptionable, {
|
|
39752
|
-
path: _path + "[\"__@toStringTag@6662\"]",
|
|
39753
|
-
expected: "string",
|
|
39754
|
-
value: input["__@toStringTag@6662"]
|
|
39755
|
-
}),
|
|
39756
|
-
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
39757
|
-
if ([
|
|
39758
|
-
"__@toStringTag@6662"
|
|
39759
|
-
].some((prop)=>key === prop)) return true;
|
|
39760
|
-
const value = input[key];
|
|
39761
|
-
if (void 0 === value) return true;
|
|
39762
|
-
return _report(_exceptionable, {
|
|
39763
|
-
path: _path + typia_lib_internal_accessExpressionAsString_js__WEBPACK_IMPORTED_MODULE_0__._accessExpressionAsString(key),
|
|
39764
|
-
expected: "undefined",
|
|
39765
|
-
value: value,
|
|
39766
|
-
description: [
|
|
39767
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
39768
|
-
"",
|
|
39769
|
-
"Please remove the property next time."
|
|
39770
|
-
].join("\n")
|
|
39771
|
-
});
|
|
39772
|
-
}).every((flag)=>flag)
|
|
39773
|
-
].every((flag)=>flag);
|
|
39774
39738
|
const _vu0 = (input, _path, _exceptionable = true)=>(()=>{
|
|
39775
39739
|
if (_vo121(input, _path, false)) return _vo121(input, _path, _exceptionable);
|
|
39776
39740
|
if (_vo120(input, _path, false)) return _vo120(input, _path, _exceptionable);
|
|
@@ -39781,7 +39745,7 @@ export const __webpack_modules__ = {
|
|
|
39781
39745
|
});
|
|
39782
39746
|
})();
|
|
39783
39747
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
39784
|
-
if (void 0 !== input["__@toStringTag@
|
|
39748
|
+
if (void 0 !== input["__@toStringTag@6652"]) return _vo149(input, _path, _exceptionable);
|
|
39785
39749
|
if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
|
|
39786
39750
|
return _report(_exceptionable, {
|
|
39787
39751
|
path: _path,
|
|
@@ -39790,7 +39754,7 @@ export const __webpack_modules__ = {
|
|
|
39790
39754
|
});
|
|
39791
39755
|
})();
|
|
39792
39756
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
39793
|
-
if (void 0 !== input["__@toStringTag@
|
|
39757
|
+
if (void 0 !== input["__@toStringTag@6652"]) return _vo149(input, _path, _exceptionable);
|
|
39794
39758
|
if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
|
|
39795
39759
|
return _report(_exceptionable, {
|
|
39796
39760
|
path: _path,
|
|
@@ -39800,7 +39764,7 @@ export const __webpack_modules__ = {
|
|
|
39800
39764
|
})();
|
|
39801
39765
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
39802
39766
|
if (void 0 !== input.name) return _vo405(input, _path, _exceptionable);
|
|
39803
|
-
if (void 0 !== input["__@toStringTag@
|
|
39767
|
+
if (void 0 !== input["__@toStringTag@6652"]) return _vo406(input, _path, _exceptionable);
|
|
39804
39768
|
return _report(_exceptionable, {
|
|
39805
39769
|
path: _path,
|
|
39806
39770
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
|
@@ -39904,10 +39868,6 @@ export const __webpack_modules__ = {
|
|
|
39904
39868
|
if ("custom" === input.strategy) return _vo417(input, _path, _exceptionable);
|
|
39905
39869
|
return _vo415(input, _path, _exceptionable);
|
|
39906
39870
|
})();
|
|
39907
|
-
const _vu18 = (input, _path, _exceptionable = true)=>(()=>{
|
|
39908
|
-
if (void 0 !== input["__@toStringTag@6662"]) return _vo460(input, _path, _exceptionable);
|
|
39909
|
-
return _vo0(input, _path, _exceptionable);
|
|
39910
|
-
})();
|
|
39911
39871
|
const _va0 = (input, _path, _exceptionable = true)=>input.map((elem, _index740)=>(null !== elem || _report(_exceptionable, {
|
|
39912
39872
|
path: _path + "[" + _index740 + "]",
|
|
39913
39873
|
expected: "(RegExp | RuleSetConditions | RuleSetLogicalConditions | string)",
|
|
@@ -40001,30 +39961,22 @@ export const __webpack_modules__ = {
|
|
|
40001
39961
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | RsbuildPlugins | LooseRsbuildPlugin | Falsy | false | null | undefined)",
|
|
40002
39962
|
value: elem
|
|
40003
39963
|
})).every((flag)=>flag);
|
|
40004
|
-
const __is = (input, _exceptionable = true)=>
|
|
39964
|
+
const __is = (input, _exceptionable = true)=>"object" == typeof input && null !== input && false === Array.isArray(input) && _io0(input, true);
|
|
40005
39965
|
let errors;
|
|
40006
39966
|
let _report;
|
|
40007
39967
|
return typia_lib_internal_createStandardSchema_js__WEBPACK_IMPORTED_MODULE_1__._createStandardSchema((input)=>{
|
|
40008
39968
|
if (false === __is(input)) {
|
|
40009
39969
|
errors = [];
|
|
40010
39970
|
_report = typia_lib_internal_validateReport_js__WEBPACK_IMPORTED_MODULE_2__._validateReport(errors);
|
|
40011
|
-
((input, _path, _exceptionable = true)=>(null !== input || _report(true, {
|
|
40012
|
-
path: _path + "",
|
|
40013
|
-
expected: "(Config | Config.o7)",
|
|
40014
|
-
value: input
|
|
40015
|
-
})) && (void 0 !== input || _report(true, {
|
|
40016
|
-
path: _path + "",
|
|
40017
|
-
expected: "(Config | Config.o7)",
|
|
40018
|
-
value: input
|
|
40019
|
-
})) && ("function" == typeof input || ("object" == typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
39971
|
+
((input, _path, _exceptionable = true)=>("object" == typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
40020
39972
|
path: _path + "",
|
|
40021
|
-
expected: "
|
|
39973
|
+
expected: "Config",
|
|
40022
39974
|
value: input
|
|
40023
|
-
})) &&
|
|
39975
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
40024
39976
|
path: _path + "",
|
|
40025
|
-
expected: "
|
|
39977
|
+
expected: "Config",
|
|
40026
39978
|
value: input
|
|
40027
|
-
}))
|
|
39979
|
+
}))(input, "$input", true);
|
|
40028
39980
|
const success = 0 === errors.length;
|
|
40029
39981
|
return success ? {
|
|
40030
39982
|
success,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/rspeedy-canary",
|
|
3
|
-
"version": "0.11.2-canary-20250909-
|
|
3
|
+
"version": "0.11.2-canary-20250909-37a83f70",
|
|
4
4
|
"description": "A webpack/rspack-based frontend toolchain for Lynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@lynx-js/cache-events-webpack-plugin": "npm:@lynx-js/cache-events-webpack-plugin-canary@0.0.2",
|
|
52
|
-
"@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.3-canary-20250909-
|
|
52
|
+
"@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.3-canary-20250909-37a83f70",
|
|
53
53
|
"@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.2.0",
|
|
54
54
|
"@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
|
|
55
55
|
"@rsbuild/core": "1.5.2",
|