@lynx-js/react-rsbuild-plugin-canary 0.9.11-canary-20250523-77524bcf → 0.10.0-canary-20250523-5ddec124

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +14 -9
  2. package/dist/index.js +523 -574
  3. package/package.json +9 -10
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.9.11-canary-20250523101322-77524bcf502675a182923823bf5c892846e0c729
3
+ ## 0.10.0-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
4
+
5
+ ### Minor Changes
6
+
7
+ - **BREAKING CHANGE**: Remove the unused `jsx` option. ([#903](https://github.com/lynx-family/lynx-stack/pull/903))
4
8
 
5
9
  ### Patch Changes
6
10
 
@@ -22,14 +26,15 @@
22
26
 
23
27
  - Support `@lynx-js/react` v0.109.0. ([#840](https://github.com/lynx-family/lynx-stack/pull/840))
24
28
 
25
- - Updated dependencies [[`7beb35e`](https://github.com/lynx-family/lynx-stack/commit/7beb35ebf72f9475c0a200c93c6b9bdaa7980e1b), [`26b75df`](https://github.com/lynx-family/lynx-stack/commit/26b75df8ccc1a2a6d519a12b857bbf6494ef1313), [`d3967c0`](https://github.com/lynx-family/lynx-stack/commit/d3967c037da4f4b57980e4938095329a6045bfa7), [`b6e27da`](https://github.com/lynx-family/lynx-stack/commit/b6e27daf865b0627b1c3238228a4fdf65ad87ee3), [`d3967c0`](https://github.com/lynx-family/lynx-stack/commit/d3967c037da4f4b57980e4938095329a6045bfa7), [`77524bc`](https://github.com/lynx-family/lynx-stack/commit/77524bcf502675a182923823bf5c892846e0c729), [`998a13d`](https://github.com/lynx-family/lynx-stack/commit/998a13dc7d0082b3328151da49d24a557a4d7991), [`fdab5dc`](https://github.com/lynx-family/lynx-stack/commit/fdab5dc9d624de0b39957695599cc8eebab90973), [`3520031`](https://github.com/lynx-family/lynx-stack/commit/352003113596692c34d98644db401ece362bc936), [`ff63b58`](https://github.com/lynx-family/lynx-stack/commit/ff63b58af137be5265458cb08db9af0aaa69c416), [`fdab5dc`](https://github.com/lynx-family/lynx-stack/commit/fdab5dc9d624de0b39957695599cc8eebab90973), [`2b83934`](https://github.com/lynx-family/lynx-stack/commit/2b83934f12c9ad9ed46ef76233d5bb12a1e6af23), [`3520031`](https://github.com/lynx-family/lynx-stack/commit/352003113596692c34d98644db401ece362bc936)]:
26
- - @lynx-js/template-webpack-plugin@0.7.0-canary-20250523101322-77524bcf502675a182923823bf5c892846e0c729
27
- - @lynx-js/react@0.109.0-canary-20250523101322-77524bcf502675a182923823bf5c892846e0c729
28
- - @lynx-js/css-extract-webpack-plugin@0.5.4-canary-20250523101322-77524bcf502675a182923823bf5c892846e0c729
29
- - @lynx-js/react-refresh-webpack-plugin@0.3.3-canary-20250523101322-77524bcf502675a182923823bf5c892846e0c729
30
- - @lynx-js/react-webpack-plugin@0.6.14-canary-20250523101322-77524bcf502675a182923823bf5c892846e0c729
31
- - @lynx-js/web-webpack-plugin@0.6.8-canary-20250523101322-77524bcf502675a182923823bf5c892846e0c729
32
- - @lynx-js/react-alias-rsbuild-plugin@0.9.11-canary-20250523101322-77524bcf502675a182923823bf5c892846e0c729
29
+ - Use `WebEncodePlugin` instead of `WebWebpackPlugin`. ([#904](https://github.com/lynx-family/lynx-stack/pull/904))
30
+
31
+ - Updated dependencies [[`7beb35e`](https://github.com/lynx-family/lynx-stack/commit/7beb35ebf72f9475c0a200c93c6b9bdaa7980e1b), [`26b75df`](https://github.com/lynx-family/lynx-stack/commit/26b75df8ccc1a2a6d519a12b857bbf6494ef1313), [`d3967c0`](https://github.com/lynx-family/lynx-stack/commit/d3967c037da4f4b57980e4938095329a6045bfa7), [`b6e27da`](https://github.com/lynx-family/lynx-stack/commit/b6e27daf865b0627b1c3238228a4fdf65ad87ee3), [`5ddec12`](https://github.com/lynx-family/lynx-stack/commit/5ddec124ab26e61e415576d575a400e76c7bd8d2), [`d3967c0`](https://github.com/lynx-family/lynx-stack/commit/d3967c037da4f4b57980e4938095329a6045bfa7), [`77524bc`](https://github.com/lynx-family/lynx-stack/commit/77524bcf502675a182923823bf5c892846e0c729), [`998a13d`](https://github.com/lynx-family/lynx-stack/commit/998a13dc7d0082b3328151da49d24a557a4d7991), [`fdab5dc`](https://github.com/lynx-family/lynx-stack/commit/fdab5dc9d624de0b39957695599cc8eebab90973), [`3520031`](https://github.com/lynx-family/lynx-stack/commit/352003113596692c34d98644db401ece362bc936), [`ff63b58`](https://github.com/lynx-family/lynx-stack/commit/ff63b58af137be5265458cb08db9af0aaa69c416), [`fdab5dc`](https://github.com/lynx-family/lynx-stack/commit/fdab5dc9d624de0b39957695599cc8eebab90973), [`2b83934`](https://github.com/lynx-family/lynx-stack/commit/2b83934f12c9ad9ed46ef76233d5bb12a1e6af23), [`3520031`](https://github.com/lynx-family/lynx-stack/commit/352003113596692c34d98644db401ece362bc936)]:
32
+ - @lynx-js/template-webpack-plugin@0.7.0-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
33
+ - @lynx-js/react@0.109.0-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
34
+ - @lynx-js/css-extract-webpack-plugin@0.5.4-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
35
+ - @lynx-js/react-refresh-webpack-plugin@0.3.3-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
36
+ - @lynx-js/react-webpack-plugin@0.6.14-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
37
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.0-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
33
38
 
34
39
  ## 0.9.10
35
40
 
package/dist/index.js CHANGED
@@ -5,7 +5,6 @@ import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
6
6
  import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_template_webpack_plugin_e98d2f08__ from "@lynx-js/template-webpack-plugin";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_runtime_wrapper_webpack_plugin_27793081__ from "@lynx-js/runtime-wrapper-webpack-plugin";
8
- import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_web_webpack_plugin_6ba19e5a__ from "@lynx-js/web-webpack-plugin";
9
8
  import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_react_refresh_webpack_plugin_a01c5e97__ from "@lynx-js/react-refresh-webpack-plugin";
10
9
  var __webpack_modules__ = {
11
10
  "../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/internal/_accessExpressionAsString.js": function(__unused_webpack_module, exports) {
@@ -53,104 +52,38 @@ var __webpack_modules__ = {
53
52
  "with"
54
53
  ]);
55
54
  },
56
- "../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/internal/_createStandardSchema.js": function(__unused_webpack_module, exports) {
57
- exports._createStandardSchema = void 0;
58
- const _createStandardSchema = (fn)=>Object.assign(fn, {
59
- "~standard": {
60
- version: 1,
61
- vendor: "typia",
62
- validate: (input)=>{
63
- const result = fn(input);
64
- if (result.success) return {
65
- value: result.data
66
- };
67
- return {
68
- issues: result.errors.map((error)=>({
69
- message: `expected ${error.expected}, got ${error.value}`,
70
- path: typiaPathToStandardSchemaPath(error.path)
71
- }))
72
- };
73
- }
74
- }
75
- });
76
- exports._createStandardSchema = _createStandardSchema;
77
- var PathParserState;
78
- (function(PathParserState) {
79
- PathParserState[PathParserState["Start"] = 0] = "Start";
80
- PathParserState[PathParserState["Property"] = 1] = "Property";
81
- PathParserState[PathParserState["StringKey"] = 2] = "StringKey";
82
- PathParserState[PathParserState["NumberKey"] = 3] = "NumberKey";
83
- })(PathParserState || (PathParserState = {}));
84
- const typiaPathToStandardSchemaPath = (path)=>{
85
- if (!path.startsWith("$input")) throw new Error(`Invalid path: ${JSON.stringify(path)}`);
86
- const segments = [];
87
- let currentSegment = "";
88
- let state = PathParserState.Start;
89
- let index = 5;
90
- while(index < path.length - 1){
91
- index++;
92
- const char = path[index];
93
- if (state === PathParserState.Property) if ("." === char || "[" === char) {
94
- segments.push({
95
- key: currentSegment
96
- });
97
- state = PathParserState.Start;
98
- } else if (index === path.length - 1) {
99
- currentSegment += char;
100
- segments.push({
101
- key: currentSegment
102
- });
103
- index++;
104
- state = PathParserState.Start;
105
- } else currentSegment += char;
106
- else if (state === PathParserState.StringKey) if ('"' === char) {
107
- segments.push({
108
- key: JSON.parse(currentSegment + char)
109
- });
110
- index += 2;
111
- state = PathParserState.Start;
112
- } else if ("\\" === char) {
113
- currentSegment += path[index];
114
- index++;
115
- currentSegment += path[index];
116
- } else currentSegment += char;
117
- else if (state === PathParserState.NumberKey) if ("]" === char) {
118
- segments.push({
119
- key: Number.parseInt(currentSegment)
120
- });
121
- index++;
122
- state = PathParserState.Start;
123
- } else currentSegment += char;
124
- if (state === PathParserState.Start && index < path.length - 1) {
125
- const newChar = path[index];
126
- currentSegment = "";
127
- if ("[" === newChar) if ('"' === path[index + 1]) {
128
- state = PathParserState.StringKey;
129
- index++;
130
- currentSegment = '"';
131
- } else state = PathParserState.NumberKey;
132
- else if ("." === newChar) state = PathParserState.Property;
133
- else throw new Error("Unreachable: pointer points invalid character");
134
- }
135
- }
136
- if (state !== PathParserState.Start) throw new Error(`Failed to parse path: ${JSON.stringify(path)}`);
137
- return segments;
55
+ "../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/internal/_assertGuard.js": function(__unused_webpack_module, exports, __webpack_require__) {
56
+ exports._assertGuard = void 0;
57
+ const TypeGuardError_1 = __webpack_require__("../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/TypeGuardError.mjs");
58
+ const _assertGuard = (exceptionable, props, factory)=>{
59
+ if (true === exceptionable) if (factory) throw factory(props);
60
+ else throw new TypeGuardError_1.TypeGuardError(props);
61
+ return false;
138
62
  };
63
+ exports._assertGuard = _assertGuard;
139
64
  },
140
- "../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/internal/_validateReport.js": function(__unused_webpack_module, exports) {
141
- exports._validateReport = void 0;
142
- const _validateReport = (array)=>{
143
- const reportable = (path)=>{
144
- if (0 === array.length) return true;
145
- const last = array[array.length - 1].path;
146
- return path.length > last.length || last.substring(0, path.length) !== path;
147
- };
148
- return (exceptable, error)=>{
149
- if (exceptable && reportable(error.path)) array.push(error);
150
- return false;
151
- };
152
- };
153
- exports._validateReport = _validateReport;
65
+ "../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/TypeGuardError.mjs": function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
66
+ __webpack_require__.r(__webpack_exports__);
67
+ __webpack_require__.d(__webpack_exports__, {
68
+ TypeGuardError: ()=>TypeGuardError
69
+ });
70
+ class TypeGuardError extends Error {
71
+ method;
72
+ path;
73
+ expected;
74
+ value;
75
+ fake_expected_typed_value_;
76
+ constructor(props){
77
+ super(props.message || `Error on ${props.method}(): invalid type${props.path ? ` on ${props.path}` : ""}, expect to be ${props.expected}`);
78
+ const proto = new.target.prototype;
79
+ if (Object.setPrototypeOf) Object.setPrototypeOf(this, proto);
80
+ else this.__proto__ = proto;
81
+ this.method = props.method;
82
+ this.path = props.path;
83
+ this.expected = props.expected;
84
+ this.value = props.value;
85
+ }
86
+ }
154
87
  }
155
88
  };
156
89
  var __webpack_module_cache__ = {};
@@ -163,6 +96,27 @@ function __webpack_require__(moduleId) {
163
96
  __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
164
97
  return module.exports;
165
98
  }
99
+ (()=>{
100
+ __webpack_require__.d = (exports, definition)=>{
101
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
102
+ enumerable: true,
103
+ get: definition[key]
104
+ });
105
+ };
106
+ })();
107
+ (()=>{
108
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
109
+ })();
110
+ (()=>{
111
+ __webpack_require__.r = (exports)=>{
112
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports, Symbol.toStringTag, {
113
+ value: 'Module'
114
+ });
115
+ Object.defineProperty(exports, '__esModule', {
116
+ value: true
117
+ });
118
+ };
119
+ })();
166
120
  function applyAlias(api, lazy) {
167
121
  return (0, __WEBPACK_EXTERNAL_MODULE__lynx_js_react_alias_rsbuild_plugin_2a0391db__.pluginReactAlias)({
168
122
  LAYERS: __WEBPACK_EXTERNAL_MODULE__lynx_js_react_webpack_plugin_1806f3f7__.LAYERS,
@@ -376,7 +330,7 @@ function applyEntry(api, options) {
376
330
  }
377
331
  ]).end();
378
332
  }
379
- if (isWeb) chain.plugin(PLUGIN_NAME_WEB).use(__WEBPACK_EXTERNAL_MODULE__lynx_js_web_webpack_plugin_6ba19e5a__.WebWebpackPlugin, []).end();
333
+ if (isWeb) chain.plugin(PLUGIN_NAME_WEB).use(__WEBPACK_EXTERNAL_MODULE__lynx_js_template_webpack_plugin_e98d2f08__.WebEncodePlugin, []).end();
380
334
  const rsbuildConfig = api.getRsbuildConfig();
381
335
  chain.plugin(PLUGIN_NAME_REACT).after(PLUGIN_NAME_TEMPLATE).use(__WEBPACK_EXTERNAL_MODULE__lynx_js_react_webpack_plugin_1806f3f7__.ReactWebpackPlugin, [
382
336
  {
@@ -445,7 +399,7 @@ function applyLazy(api) {
445
399
  });
446
400
  }
447
401
  function applyLoaders(api, options) {
448
- const { compat, enableRemoveCSSScope, jsx, shake, defineDCE, experimental_isLazyBundle } = options;
402
+ const { compat, enableRemoveCSSScope, shake, defineDCE, experimental_isLazyBundle } = options;
449
403
  api.modifyBundlerChain((chain, { CHAIN_ID })=>{
450
404
  const experiments = chain.get('experiments');
451
405
  chain.experiments({
@@ -460,7 +414,6 @@ function applyLoaders(api, options) {
460
414
  backgroundRule.issuerLayer(__WEBPACK_EXTERNAL_MODULE__lynx_js_react_webpack_plugin_1806f3f7__.LAYERS.BACKGROUND).uses.merge(uses).end().use(__WEBPACK_EXTERNAL_MODULE__lynx_js_react_webpack_plugin_1806f3f7__.LAYERS.BACKGROUND).loader(__WEBPACK_EXTERNAL_MODULE__lynx_js_react_webpack_plugin_1806f3f7__.ReactWebpackPlugin.loaders.BACKGROUND).options({
461
415
  compat,
462
416
  enableRemoveCSSScope,
463
- jsx,
464
417
  isDynamicComponent: experimental_isLazyBundle,
465
418
  inlineSourcesContent,
466
419
  defineDCE
@@ -480,7 +433,6 @@ function applyLoaders(api, options) {
480
433
  }).use(__WEBPACK_EXTERNAL_MODULE__lynx_js_react_webpack_plugin_1806f3f7__.LAYERS.MAIN_THREAD).loader(__WEBPACK_EXTERNAL_MODULE__lynx_js_react_webpack_plugin_1806f3f7__.ReactWebpackPlugin.loaders.MAIN_THREAD).options({
481
434
  compat,
482
435
  enableRemoveCSSScope,
483
- jsx,
484
436
  inlineSourcesContent,
485
437
  isDynamicComponent: experimental_isLazyBundle,
486
438
  shake,
@@ -569,9 +521,8 @@ function applySWC(api) {
569
521
  }, config));
570
522
  }
571
523
  var _accessExpressionAsString = __webpack_require__("../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/internal/_accessExpressionAsString.js");
572
- var _validateReport = __webpack_require__("../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/internal/_validateReport.js");
573
- var _createStandardSchema = __webpack_require__("../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/internal/_createStandardSchema.js");
574
- const validate = (()=>{
524
+ var _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@9.3.1_@samchon+openapi@4.3.2_typescript@5.8.3/node_modules/typia/lib/internal/_assertGuard.js");
525
+ const validateConfig = (()=>{
575
526
  const _io0 = (input, _exceptionable = true)=>(void 0 === input.compat || "object" == typeof input.compat && null !== input.compat && false === Array.isArray(input.compat) && _io1(input.compat, _exceptionable)) && (void 0 === input.customCSSInheritanceList || Array.isArray(input.customCSSInheritanceList) && input.customCSSInheritanceList.every((elem, _index1)=>"string" == typeof elem)) && (void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside) && (void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear) && (void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement) && (void 0 === input.enableICU || "boolean" == typeof input.enableICU) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance) && (void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation) && (void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector) && (void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture) && (void 0 === input.enableParallelElement || "boolean" == typeof input.enableParallelElement) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope) && (void 0 === input.firstScreenSyncTiming || "immediately" === input.firstScreenSyncTiming || "jsReady" === input.firstScreenSyncTiming) && (void 0 === input.enableSSR || "boolean" == typeof input.enableSSR) && (void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope) && (void 0 === input.shake || "object" == typeof input.shake && null !== input.shake && false === Array.isArray(input.shake) && _io4(input.shake, _exceptionable)) && (void 0 === input.defineDCE || "object" == typeof input.defineDCE && null !== input.defineDCE && false === Array.isArray(input.defineDCE) && _io5(input.defineDCE, _exceptionable)) && (void 0 === input.engineVersion || "string" == typeof input.engineVersion) && (void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion) && null !== input.extractStr && (void 0 === input.extractStr || "boolean" == typeof input.extractStr || "object" == typeof input.extractStr && null !== input.extractStr && false === Array.isArray(input.extractStr) && _io7(input.extractStr, _exceptionable)) && (void 0 === input.experimental_isLazyBundle || "boolean" == typeof input.experimental_isLazyBundle) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
576
527
  if ([
577
528
  "compat",
@@ -665,486 +616,485 @@ const validate = (()=>{
665
616
  if (void 0 === value) return true;
666
617
  return false;
667
618
  }));
668
- const _vo0 = (input, _path, _exceptionable = true)=>[
669
- void 0 === input.compat || ("object" == typeof input.compat && null !== input.compat && false === Array.isArray(input.compat) || _report(_exceptionable, {
670
- path: _path + ".compat",
671
- expected: "(Partial<CompatVisitorConfig> & { disableCreateSelectorQueryIncompatibleWarning?: boolean; } | undefined)",
672
- value: input.compat
673
- })) && _vo1(input.compat, _path + ".compat", _exceptionable) || _report(_exceptionable, {
674
- path: _path + ".compat",
675
- expected: "(Partial<CompatVisitorConfig> & { disableCreateSelectorQueryIncompatibleWarning?: boolean; } | undefined)",
676
- value: input.compat
677
- }),
678
- void 0 === input.customCSSInheritanceList || (Array.isArray(input.customCSSInheritanceList) || _report(_exceptionable, {
679
- path: _path + ".customCSSInheritanceList",
680
- expected: "(Array<string> | undefined)",
681
- value: input.customCSSInheritanceList
682
- })) && input.customCSSInheritanceList.map((elem, _index8)=>"string" == typeof elem || _report(_exceptionable, {
683
- path: _path + ".customCSSInheritanceList[" + _index8 + "]",
684
- expected: "string",
685
- value: elem
686
- })).every((flag)=>flag) || _report(_exceptionable, {
687
- path: _path + ".customCSSInheritanceList",
688
- expected: "(Array<string> | undefined)",
689
- value: input.customCSSInheritanceList
690
- }),
691
- void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside || _report(_exceptionable, {
692
- path: _path + ".debugInfoOutside",
693
- expected: "(boolean | undefined)",
694
- value: input.debugInfoOutside
695
- }),
696
- void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear || _report(_exceptionable, {
697
- path: _path + ".defaultDisplayLinear",
698
- expected: "(boolean | undefined)",
699
- value: input.defaultDisplayLinear
700
- }),
701
- void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement || _report(_exceptionable, {
702
- path: _path + ".enableAccessibilityElement",
703
- expected: "(boolean | undefined)",
704
- value: input.enableAccessibilityElement
705
- }),
706
- void 0 === input.enableICU || "boolean" == typeof input.enableICU || _report(_exceptionable, {
707
- path: _path + ".enableICU",
708
- expected: "(boolean | undefined)",
709
- value: input.enableICU
710
- }),
711
- void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance || _report(_exceptionable, {
712
- path: _path + ".enableCSSInheritance",
713
- expected: "(boolean | undefined)",
714
- value: input.enableCSSInheritance
715
- }),
716
- void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation || _report(_exceptionable, {
717
- path: _path + ".enableCSSInvalidation",
718
- expected: "(boolean | undefined)",
719
- value: input.enableCSSInvalidation
720
- }),
721
- void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector || _report(_exceptionable, {
722
- path: _path + ".enableCSSSelector",
723
- expected: "(boolean | undefined)",
724
- value: input.enableCSSSelector
725
- }),
726
- void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture || _report(_exceptionable, {
727
- path: _path + ".enableNewGesture",
728
- expected: "(boolean | undefined)",
729
- value: input.enableNewGesture
730
- }),
731
- void 0 === input.enableParallelElement || "boolean" == typeof input.enableParallelElement || _report(_exceptionable, {
732
- path: _path + ".enableParallelElement",
733
- expected: "(boolean | undefined)",
734
- value: input.enableParallelElement
735
- }),
736
- void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope || _report(_exceptionable, {
737
- path: _path + ".enableRemoveCSSScope",
738
- expected: "(boolean | undefined)",
739
- value: input.enableRemoveCSSScope
740
- }),
741
- void 0 === input.firstScreenSyncTiming || "immediately" === input.firstScreenSyncTiming || "jsReady" === input.firstScreenSyncTiming || _report(_exceptionable, {
742
- path: _path + ".firstScreenSyncTiming",
743
- expected: "(\"immediately\" | \"jsReady\" | undefined)",
744
- value: input.firstScreenSyncTiming
745
- }),
746
- void 0 === input.enableSSR || "boolean" == typeof input.enableSSR || _report(_exceptionable, {
747
- path: _path + ".enableSSR",
748
- expected: "(boolean | undefined)",
749
- value: input.enableSSR
750
- }),
751
- void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig || _report(_exceptionable, {
752
- path: _path + ".pipelineSchedulerConfig",
753
- expected: "(number | undefined)",
754
- value: input.pipelineSchedulerConfig
755
- }),
756
- void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope || _report(_exceptionable, {
757
- path: _path + ".removeDescendantSelectorScope",
758
- expected: "(boolean | undefined)",
759
- value: input.removeDescendantSelectorScope
760
- }),
761
- void 0 === input.shake || ("object" == typeof input.shake && null !== input.shake && false === Array.isArray(input.shake) || _report(_exceptionable, {
762
- path: _path + ".shake",
763
- expected: "(Partial<ShakeVisitorConfig> | undefined)",
764
- value: input.shake
765
- })) && _vo4(input.shake, _path + ".shake", _exceptionable) || _report(_exceptionable, {
766
- path: _path + ".shake",
767
- expected: "(Partial<ShakeVisitorConfig> | undefined)",
768
- value: input.shake
769
- }),
770
- void 0 === input.defineDCE || ("object" == typeof input.defineDCE && null !== input.defineDCE && false === Array.isArray(input.defineDCE) || _report(_exceptionable, {
771
- path: _path + ".defineDCE",
772
- expected: "(Partial<DefineDceVisitorConfig> | undefined)",
773
- value: input.defineDCE
774
- })) && _vo5(input.defineDCE, _path + ".defineDCE", _exceptionable) || _report(_exceptionable, {
775
- path: _path + ".defineDCE",
776
- expected: "(Partial<DefineDceVisitorConfig> | undefined)",
777
- value: input.defineDCE
778
- }),
779
- void 0 === input.engineVersion || "string" == typeof input.engineVersion || _report(_exceptionable, {
780
- path: _path + ".engineVersion",
781
- expected: "(string | undefined)",
782
- value: input.engineVersion
783
- }),
784
- void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion || _report(_exceptionable, {
785
- path: _path + ".targetSdkVersion",
786
- expected: "(string | undefined)",
787
- value: input.targetSdkVersion
788
- }),
789
- (null !== input.extractStr || _report(_exceptionable, {
790
- path: _path + ".extractStr",
791
- expected: "(Partial<ExtractStrConfig> | boolean | undefined)",
792
- value: input.extractStr
793
- })) && (void 0 === input.extractStr || "boolean" == typeof input.extractStr || ("object" == typeof input.extractStr && null !== input.extractStr && false === Array.isArray(input.extractStr) || _report(_exceptionable, {
794
- path: _path + ".extractStr",
795
- expected: "(Partial<ExtractStrConfig> | boolean | undefined)",
796
- value: input.extractStr
797
- })) && _vo7(input.extractStr, _path + ".extractStr", _exceptionable) || _report(_exceptionable, {
798
- path: _path + ".extractStr",
799
- expected: "(Partial<ExtractStrConfig> | boolean | undefined)",
800
- value: input.extractStr
801
- })),
802
- void 0 === input.experimental_isLazyBundle || "boolean" == typeof input.experimental_isLazyBundle || _report(_exceptionable, {
803
- path: _path + ".experimental_isLazyBundle",
804
- expected: "(boolean | undefined)",
805
- value: input.experimental_isLazyBundle
806
- }),
807
- 0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
808
- if ([
809
- "compat",
810
- "customCSSInheritanceList",
811
- "debugInfoOutside",
812
- "defaultDisplayLinear",
813
- "enableAccessibilityElement",
814
- "enableICU",
815
- "enableCSSInheritance",
816
- "enableCSSInvalidation",
817
- "enableCSSSelector",
818
- "enableNewGesture",
819
- "enableParallelElement",
820
- "enableRemoveCSSScope",
821
- "firstScreenSyncTiming",
822
- "enableSSR",
823
- "pipelineSchedulerConfig",
824
- "removeDescendantSelectorScope",
825
- "shake",
826
- "defineDCE",
827
- "engineVersion",
828
- "targetSdkVersion",
829
- "extractStr",
830
- "experimental_isLazyBundle"
831
- ].some((prop)=>key === prop)) return true;
832
- const value = input[key];
833
- if (void 0 === value) return true;
834
- return _report(_exceptionable, {
835
- path: _path + _accessExpressionAsString._accessExpressionAsString(key),
836
- expected: "undefined",
837
- value: value
838
- });
839
- }).every((flag)=>flag)
840
- ].every((flag)=>flag);
841
- const _vo1 = (input, _path, _exceptionable = true)=>[
842
- void 0 === input.componentsPkg || (Array.isArray(input.componentsPkg) || _report(_exceptionable, {
843
- path: _path + ".componentsPkg",
844
- expected: "(Array<string> | undefined)",
845
- value: input.componentsPkg
846
- })) && input.componentsPkg.map((elem, _index9)=>"string" == typeof elem || _report(_exceptionable, {
847
- path: _path + ".componentsPkg[" + _index9 + "]",
848
- expected: "string",
849
- value: elem
850
- })).every((flag)=>flag) || _report(_exceptionable, {
851
- path: _path + ".componentsPkg",
852
- expected: "(Array<string> | undefined)",
853
- value: input.componentsPkg
854
- }),
855
- void 0 === input.oldRuntimePkg || (Array.isArray(input.oldRuntimePkg) || _report(_exceptionable, {
856
- path: _path + ".oldRuntimePkg",
857
- expected: "(Array<string> | undefined)",
858
- value: input.oldRuntimePkg
859
- })) && input.oldRuntimePkg.map((elem, _index10)=>"string" == typeof elem || _report(_exceptionable, {
860
- path: _path + ".oldRuntimePkg[" + _index10 + "]",
861
- expected: "string",
862
- value: elem
863
- })).every((flag)=>flag) || _report(_exceptionable, {
864
- path: _path + ".oldRuntimePkg",
865
- expected: "(Array<string> | undefined)",
866
- value: input.oldRuntimePkg
867
- }),
868
- void 0 === input.newRuntimePkg || "string" == typeof input.newRuntimePkg || _report(_exceptionable, {
869
- path: _path + ".newRuntimePkg",
870
- expected: "(string | undefined)",
871
- value: input.newRuntimePkg
872
- }),
873
- void 0 === input.additionalComponentAttributes || (Array.isArray(input.additionalComponentAttributes) || _report(_exceptionable, {
874
- path: _path + ".additionalComponentAttributes",
875
- expected: "(Array<string> | undefined)",
876
- value: input.additionalComponentAttributes
877
- })) && input.additionalComponentAttributes.map((elem, _index11)=>"string" == typeof elem || _report(_exceptionable, {
878
- path: _path + ".additionalComponentAttributes[" + _index11 + "]",
879
- expected: "string",
880
- value: elem
881
- })).every((flag)=>flag) || _report(_exceptionable, {
882
- path: _path + ".additionalComponentAttributes",
883
- expected: "(Array<string> | undefined)",
884
- value: input.additionalComponentAttributes
885
- }),
886
- (null !== input.addComponentElement || _report(_exceptionable, {
887
- path: _path + ".addComponentElement",
888
- expected: "(AddComponentElementConfig | boolean | undefined)",
889
- value: input.addComponentElement
890
- })) && (void 0 === input.addComponentElement || "boolean" == typeof input.addComponentElement || ("object" == typeof input.addComponentElement && null !== input.addComponentElement || _report(_exceptionable, {
891
- path: _path + ".addComponentElement",
892
- expected: "(AddComponentElementConfig | boolean | undefined)",
893
- value: input.addComponentElement
894
- })) && _vo2(input.addComponentElement, _path + ".addComponentElement", _exceptionable) || _report(_exceptionable, {
895
- path: _path + ".addComponentElement",
896
- expected: "(AddComponentElementConfig | boolean | undefined)",
897
- value: input.addComponentElement
898
- })),
899
- void 0 === input.simplifyCtorLikeReactLynx2 || "boolean" == typeof input.simplifyCtorLikeReactLynx2 || _report(_exceptionable, {
900
- path: _path + ".simplifyCtorLikeReactLynx2",
901
- expected: "(boolean | undefined)",
902
- value: input.simplifyCtorLikeReactLynx2
903
- }),
904
- void 0 === input.removeComponentAttrRegex || "string" == typeof input.removeComponentAttrRegex || _report(_exceptionable, {
905
- path: _path + ".removeComponentAttrRegex",
906
- expected: "(string | undefined)",
907
- value: input.removeComponentAttrRegex
908
- }),
909
- void 0 === input.disableDeprecatedWarning || "boolean" == typeof input.disableDeprecatedWarning || _report(_exceptionable, {
910
- path: _path + ".disableDeprecatedWarning",
911
- expected: "(boolean | undefined)",
912
- value: input.disableDeprecatedWarning
913
- }),
914
- (null !== input.darkMode || _report(_exceptionable, {
915
- path: _path + ".darkMode",
916
- expected: "(DarkModeConfig | boolean | undefined)",
917
- value: input.darkMode
918
- })) && (void 0 === input.darkMode || "boolean" == typeof input.darkMode || ("object" == typeof input.darkMode && null !== input.darkMode || _report(_exceptionable, {
919
- path: _path + ".darkMode",
920
- expected: "(DarkModeConfig | boolean | undefined)",
921
- value: input.darkMode
922
- })) && _vo3(input.darkMode, _path + ".darkMode", _exceptionable) || _report(_exceptionable, {
923
- path: _path + ".darkMode",
924
- expected: "(DarkModeConfig | boolean | undefined)",
925
- value: input.darkMode
926
- })),
927
- void 0 === input.disableCreateSelectorQueryIncompatibleWarning || "boolean" == typeof input.disableCreateSelectorQueryIncompatibleWarning || _report(_exceptionable, {
928
- path: _path + ".disableCreateSelectorQueryIncompatibleWarning",
929
- expected: "(boolean | undefined)",
930
- value: input.disableCreateSelectorQueryIncompatibleWarning
931
- }),
932
- 0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
933
- if ([
934
- "componentsPkg",
935
- "oldRuntimePkg",
936
- "newRuntimePkg",
937
- "additionalComponentAttributes",
938
- "addComponentElement",
939
- "simplifyCtorLikeReactLynx2",
940
- "removeComponentAttrRegex",
941
- "disableDeprecatedWarning",
942
- "darkMode",
943
- "disableCreateSelectorQueryIncompatibleWarning"
944
- ].some((prop)=>key === prop)) return true;
945
- const value = input[key];
946
- if (void 0 === value) return true;
947
- return _report(_exceptionable, {
948
- path: _path + _accessExpressionAsString._accessExpressionAsString(key),
949
- expected: "undefined",
950
- value: value
951
- });
952
- }).every((flag)=>flag)
953
- ].every((flag)=>flag);
954
- const _vo2 = (input, _path, _exceptionable = true)=>[
955
- "boolean" == typeof input.compilerOnly || _report(_exceptionable, {
956
- path: _path + ".compilerOnly",
957
- expected: "boolean",
958
- value: input.compilerOnly
959
- }),
960
- 1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
961
- if ([
962
- "compilerOnly"
963
- ].some((prop)=>key === prop)) return true;
964
- const value = input[key];
965
- if (void 0 === value) return true;
966
- return _report(_exceptionable, {
967
- path: _path + _accessExpressionAsString._accessExpressionAsString(key),
968
- expected: "undefined",
969
- value: value
970
- });
971
- }).every((flag)=>flag)
972
- ].every((flag)=>flag);
973
- const _vo3 = (input, _path, _exceptionable = true)=>[
974
- "string" == typeof input.themeExpr || _report(_exceptionable, {
975
- path: _path + ".themeExpr",
619
+ const _ao0 = (input, _path, _exceptionable = true)=>(void 0 === input.compat || ("object" == typeof input.compat && null !== input.compat && false === Array.isArray(input.compat) || _assertGuard._assertGuard(_exceptionable, {
620
+ method: "typia.createAssertEquals",
621
+ path: _path + ".compat",
622
+ expected: "(Partial<CompatVisitorConfig> & { disableCreateSelectorQueryIncompatibleWarning?: boolean; } | undefined)",
623
+ value: input.compat
624
+ }, _errorFactory)) && _ao1(input.compat, _path + ".compat", _exceptionable) || _assertGuard._assertGuard(_exceptionable, {
625
+ method: "typia.createAssertEquals",
626
+ path: _path + ".compat",
627
+ expected: "(Partial<CompatVisitorConfig> & { disableCreateSelectorQueryIncompatibleWarning?: boolean; } | undefined)",
628
+ value: input.compat
629
+ }, _errorFactory)) && (void 0 === input.customCSSInheritanceList || (Array.isArray(input.customCSSInheritanceList) || _assertGuard._assertGuard(_exceptionable, {
630
+ method: "typia.createAssertEquals",
631
+ path: _path + ".customCSSInheritanceList",
632
+ expected: "(Array<string> | undefined)",
633
+ value: input.customCSSInheritanceList
634
+ }, _errorFactory)) && input.customCSSInheritanceList.every((elem, _index8)=>"string" == typeof elem || _assertGuard._assertGuard(_exceptionable, {
635
+ method: "typia.createAssertEquals",
636
+ path: _path + ".customCSSInheritanceList[" + _index8 + "]",
976
637
  expected: "string",
977
- value: input.themeExpr
978
- }),
979
- 1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
980
- if ([
981
- "themeExpr"
982
- ].some((prop)=>key === prop)) return true;
983
- const value = input[key];
984
- if (void 0 === value) return true;
985
- return _report(_exceptionable, {
986
- path: _path + _accessExpressionAsString._accessExpressionAsString(key),
987
- expected: "undefined",
988
- value: value
989
- });
990
- }).every((flag)=>flag)
991
- ].every((flag)=>flag);
992
- const _vo4 = (input, _path, _exceptionable = true)=>[
993
- void 0 === input.pkgName || (Array.isArray(input.pkgName) || _report(_exceptionable, {
994
- path: _path + ".pkgName",
995
- expected: "(Array<string> | undefined)",
996
- value: input.pkgName
997
- })) && input.pkgName.map((elem, _index12)=>"string" == typeof elem || _report(_exceptionable, {
998
- path: _path + ".pkgName[" + _index12 + "]",
999
- expected: "string",
1000
- value: elem
1001
- })).every((flag)=>flag) || _report(_exceptionable, {
1002
- path: _path + ".pkgName",
1003
- expected: "(Array<string> | undefined)",
1004
- value: input.pkgName
1005
- }),
1006
- void 0 === input.retainProp || (Array.isArray(input.retainProp) || _report(_exceptionable, {
1007
- path: _path + ".retainProp",
1008
- expected: "(Array<string> | undefined)",
1009
- value: input.retainProp
1010
- })) && input.retainProp.map((elem, _index13)=>"string" == typeof elem || _report(_exceptionable, {
1011
- path: _path + ".retainProp[" + _index13 + "]",
1012
- expected: "string",
1013
- value: elem
1014
- })).every((flag)=>flag) || _report(_exceptionable, {
1015
- path: _path + ".retainProp",
1016
- expected: "(Array<string> | undefined)",
1017
- value: input.retainProp
1018
- }),
1019
- void 0 === input.removeCallParams || (Array.isArray(input.removeCallParams) || _report(_exceptionable, {
1020
- path: _path + ".removeCallParams",
1021
- expected: "(Array<string> | undefined)",
1022
- value: input.removeCallParams
1023
- })) && input.removeCallParams.map((elem, _index14)=>"string" == typeof elem || _report(_exceptionable, {
1024
- path: _path + ".removeCallParams[" + _index14 + "]",
1025
- expected: "string",
1026
- value: elem
1027
- })).every((flag)=>flag) || _report(_exceptionable, {
1028
- path: _path + ".removeCallParams",
1029
- expected: "(Array<string> | undefined)",
1030
- value: input.removeCallParams
1031
- }),
1032
- 0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
1033
- if ([
1034
- "pkgName",
1035
- "retainProp",
1036
- "removeCallParams"
1037
- ].some((prop)=>key === prop)) return true;
1038
- const value = input[key];
1039
- if (void 0 === value) return true;
1040
- return _report(_exceptionable, {
1041
- path: _path + _accessExpressionAsString._accessExpressionAsString(key),
1042
- expected: "undefined",
1043
- value: value
1044
- });
1045
- }).every((flag)=>flag)
1046
- ].every((flag)=>flag);
1047
- const _vo5 = (input, _path, _exceptionable = true)=>[
1048
- void 0 === input.define || ("object" == typeof input.define && null !== input.define && false === Array.isArray(input.define) || _report(_exceptionable, {
1049
- path: _path + ".define",
1050
- expected: "(Record<string, string> | undefined)",
1051
- value: input.define
1052
- })) && _vo6(input.define, _path + ".define", _exceptionable) || _report(_exceptionable, {
1053
- path: _path + ".define",
1054
- expected: "(Record<string, string> | undefined)",
1055
- value: input.define
1056
- }),
1057
- 0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
1058
- if ([
1059
- "define"
1060
- ].some((prop)=>key === prop)) return true;
1061
- const value = input[key];
1062
- if (void 0 === value) return true;
1063
- return _report(_exceptionable, {
1064
- path: _path + _accessExpressionAsString._accessExpressionAsString(key),
1065
- expected: "undefined",
1066
- value: value
1067
- });
1068
- }).every((flag)=>flag)
1069
- ].every((flag)=>flag);
1070
- const _vo6 = (input, _path, _exceptionable = true)=>[
1071
- false === _exceptionable || Object.keys(input).map((key)=>{
1072
- const value = input[key];
1073
- if (void 0 === value) return true;
1074
- return "string" == typeof value || _report(_exceptionable, {
1075
- path: _path + _accessExpressionAsString._accessExpressionAsString(key),
1076
- expected: "string",
1077
- value: value
1078
- });
1079
- }).every((flag)=>flag)
1080
- ].every((flag)=>flag);
1081
- const _vo7 = (input, _path, _exceptionable = true)=>[
1082
- void 0 === input.strLength || "number" == typeof input.strLength || _report(_exceptionable, {
1083
- path: _path + ".strLength",
1084
- expected: "(number | undefined)",
1085
- value: input.strLength
1086
- }),
1087
- 0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
1088
- if ([
1089
- "strLength"
1090
- ].some((prop)=>key === prop)) return true;
1091
- const value = input[key];
1092
- if (void 0 === value) return true;
1093
- return _report(_exceptionable, {
1094
- path: _path + _accessExpressionAsString._accessExpressionAsString(key),
1095
- expected: "undefined",
1096
- value: value
1097
- });
1098
- }).every((flag)=>flag)
1099
- ].every((flag)=>flag);
638
+ value: elem
639
+ }, _errorFactory)) || _assertGuard._assertGuard(_exceptionable, {
640
+ method: "typia.createAssertEquals",
641
+ path: _path + ".customCSSInheritanceList",
642
+ expected: "(Array<string> | undefined)",
643
+ value: input.customCSSInheritanceList
644
+ }, _errorFactory)) && (void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside || _assertGuard._assertGuard(_exceptionable, {
645
+ method: "typia.createAssertEquals",
646
+ path: _path + ".debugInfoOutside",
647
+ expected: "(boolean | undefined)",
648
+ value: input.debugInfoOutside
649
+ }, _errorFactory)) && (void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear || _assertGuard._assertGuard(_exceptionable, {
650
+ method: "typia.createAssertEquals",
651
+ path: _path + ".defaultDisplayLinear",
652
+ expected: "(boolean | undefined)",
653
+ value: input.defaultDisplayLinear
654
+ }, _errorFactory)) && (void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement || _assertGuard._assertGuard(_exceptionable, {
655
+ method: "typia.createAssertEquals",
656
+ path: _path + ".enableAccessibilityElement",
657
+ expected: "(boolean | undefined)",
658
+ value: input.enableAccessibilityElement
659
+ }, _errorFactory)) && (void 0 === input.enableICU || "boolean" == typeof input.enableICU || _assertGuard._assertGuard(_exceptionable, {
660
+ method: "typia.createAssertEquals",
661
+ path: _path + ".enableICU",
662
+ expected: "(boolean | undefined)",
663
+ value: input.enableICU
664
+ }, _errorFactory)) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance || _assertGuard._assertGuard(_exceptionable, {
665
+ method: "typia.createAssertEquals",
666
+ path: _path + ".enableCSSInheritance",
667
+ expected: "(boolean | undefined)",
668
+ value: input.enableCSSInheritance
669
+ }, _errorFactory)) && (void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation || _assertGuard._assertGuard(_exceptionable, {
670
+ method: "typia.createAssertEquals",
671
+ path: _path + ".enableCSSInvalidation",
672
+ expected: "(boolean | undefined)",
673
+ value: input.enableCSSInvalidation
674
+ }, _errorFactory)) && (void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector || _assertGuard._assertGuard(_exceptionable, {
675
+ method: "typia.createAssertEquals",
676
+ path: _path + ".enableCSSSelector",
677
+ expected: "(boolean | undefined)",
678
+ value: input.enableCSSSelector
679
+ }, _errorFactory)) && (void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture || _assertGuard._assertGuard(_exceptionable, {
680
+ method: "typia.createAssertEquals",
681
+ path: _path + ".enableNewGesture",
682
+ expected: "(boolean | undefined)",
683
+ value: input.enableNewGesture
684
+ }, _errorFactory)) && (void 0 === input.enableParallelElement || "boolean" == typeof input.enableParallelElement || _assertGuard._assertGuard(_exceptionable, {
685
+ method: "typia.createAssertEquals",
686
+ path: _path + ".enableParallelElement",
687
+ expected: "(boolean | undefined)",
688
+ value: input.enableParallelElement
689
+ }, _errorFactory)) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope || _assertGuard._assertGuard(_exceptionable, {
690
+ method: "typia.createAssertEquals",
691
+ path: _path + ".enableRemoveCSSScope",
692
+ expected: "(boolean | undefined)",
693
+ value: input.enableRemoveCSSScope
694
+ }, _errorFactory)) && (void 0 === input.firstScreenSyncTiming || "immediately" === input.firstScreenSyncTiming || "jsReady" === input.firstScreenSyncTiming || _assertGuard._assertGuard(_exceptionable, {
695
+ method: "typia.createAssertEquals",
696
+ path: _path + ".firstScreenSyncTiming",
697
+ expected: "(\"immediately\" | \"jsReady\" | undefined)",
698
+ value: input.firstScreenSyncTiming
699
+ }, _errorFactory)) && (void 0 === input.enableSSR || "boolean" == typeof input.enableSSR || _assertGuard._assertGuard(_exceptionable, {
700
+ method: "typia.createAssertEquals",
701
+ path: _path + ".enableSSR",
702
+ expected: "(boolean | undefined)",
703
+ value: input.enableSSR
704
+ }, _errorFactory)) && (void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig || _assertGuard._assertGuard(_exceptionable, {
705
+ method: "typia.createAssertEquals",
706
+ path: _path + ".pipelineSchedulerConfig",
707
+ expected: "(number | undefined)",
708
+ value: input.pipelineSchedulerConfig
709
+ }, _errorFactory)) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope || _assertGuard._assertGuard(_exceptionable, {
710
+ method: "typia.createAssertEquals",
711
+ path: _path + ".removeDescendantSelectorScope",
712
+ expected: "(boolean | undefined)",
713
+ value: input.removeDescendantSelectorScope
714
+ }, _errorFactory)) && (void 0 === input.shake || ("object" == typeof input.shake && null !== input.shake && false === Array.isArray(input.shake) || _assertGuard._assertGuard(_exceptionable, {
715
+ method: "typia.createAssertEquals",
716
+ path: _path + ".shake",
717
+ expected: "(Partial<ShakeVisitorConfig> | undefined)",
718
+ value: input.shake
719
+ }, _errorFactory)) && _ao4(input.shake, _path + ".shake", _exceptionable) || _assertGuard._assertGuard(_exceptionable, {
720
+ method: "typia.createAssertEquals",
721
+ path: _path + ".shake",
722
+ expected: "(Partial<ShakeVisitorConfig> | undefined)",
723
+ value: input.shake
724
+ }, _errorFactory)) && (void 0 === input.defineDCE || ("object" == typeof input.defineDCE && null !== input.defineDCE && false === Array.isArray(input.defineDCE) || _assertGuard._assertGuard(_exceptionable, {
725
+ method: "typia.createAssertEquals",
726
+ path: _path + ".defineDCE",
727
+ expected: "(Partial<DefineDceVisitorConfig> | undefined)",
728
+ value: input.defineDCE
729
+ }, _errorFactory)) && _ao5(input.defineDCE, _path + ".defineDCE", _exceptionable) || _assertGuard._assertGuard(_exceptionable, {
730
+ method: "typia.createAssertEquals",
731
+ path: _path + ".defineDCE",
732
+ expected: "(Partial<DefineDceVisitorConfig> | undefined)",
733
+ value: input.defineDCE
734
+ }, _errorFactory)) && (void 0 === input.engineVersion || "string" == typeof input.engineVersion || _assertGuard._assertGuard(_exceptionable, {
735
+ method: "typia.createAssertEquals",
736
+ path: _path + ".engineVersion",
737
+ expected: "(string | undefined)",
738
+ value: input.engineVersion
739
+ }, _errorFactory)) && (void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion || _assertGuard._assertGuard(_exceptionable, {
740
+ method: "typia.createAssertEquals",
741
+ path: _path + ".targetSdkVersion",
742
+ expected: "(string | undefined)",
743
+ value: input.targetSdkVersion
744
+ }, _errorFactory)) && (null !== input.extractStr || _assertGuard._assertGuard(_exceptionable, {
745
+ method: "typia.createAssertEquals",
746
+ path: _path + ".extractStr",
747
+ expected: "(Partial<ExtractStrConfig> | boolean | undefined)",
748
+ value: input.extractStr
749
+ }, _errorFactory)) && (void 0 === input.extractStr || "boolean" == typeof input.extractStr || ("object" == typeof input.extractStr && null !== input.extractStr && false === Array.isArray(input.extractStr) || _assertGuard._assertGuard(_exceptionable, {
750
+ method: "typia.createAssertEquals",
751
+ path: _path + ".extractStr",
752
+ expected: "(Partial<ExtractStrConfig> | boolean | undefined)",
753
+ value: input.extractStr
754
+ }, _errorFactory)) && _ao7(input.extractStr, _path + ".extractStr", _exceptionable) || _assertGuard._assertGuard(_exceptionable, {
755
+ method: "typia.createAssertEquals",
756
+ path: _path + ".extractStr",
757
+ expected: "(Partial<ExtractStrConfig> | boolean | undefined)",
758
+ value: input.extractStr
759
+ }, _errorFactory)) && (void 0 === input.experimental_isLazyBundle || "boolean" == typeof input.experimental_isLazyBundle || _assertGuard._assertGuard(_exceptionable, {
760
+ method: "typia.createAssertEquals",
761
+ path: _path + ".experimental_isLazyBundle",
762
+ expected: "(boolean | undefined)",
763
+ value: input.experimental_isLazyBundle
764
+ }, _errorFactory)) && (0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).every((key)=>{
765
+ if ([
766
+ "compat",
767
+ "customCSSInheritanceList",
768
+ "debugInfoOutside",
769
+ "defaultDisplayLinear",
770
+ "enableAccessibilityElement",
771
+ "enableICU",
772
+ "enableCSSInheritance",
773
+ "enableCSSInvalidation",
774
+ "enableCSSSelector",
775
+ "enableNewGesture",
776
+ "enableParallelElement",
777
+ "enableRemoveCSSScope",
778
+ "firstScreenSyncTiming",
779
+ "enableSSR",
780
+ "pipelineSchedulerConfig",
781
+ "removeDescendantSelectorScope",
782
+ "shake",
783
+ "defineDCE",
784
+ "engineVersion",
785
+ "targetSdkVersion",
786
+ "extractStr",
787
+ "experimental_isLazyBundle"
788
+ ].some((prop)=>key === prop)) return true;
789
+ const value = input[key];
790
+ if (void 0 === value) return true;
791
+ return _assertGuard._assertGuard(_exceptionable, {
792
+ method: "typia.createAssertEquals",
793
+ path: _path + _accessExpressionAsString._accessExpressionAsString(key),
794
+ expected: "undefined",
795
+ value: value
796
+ }, _errorFactory);
797
+ }));
798
+ const _ao1 = (input, _path, _exceptionable = true)=>(void 0 === input.componentsPkg || (Array.isArray(input.componentsPkg) || _assertGuard._assertGuard(_exceptionable, {
799
+ method: "typia.createAssertEquals",
800
+ path: _path + ".componentsPkg",
801
+ expected: "(Array<string> | undefined)",
802
+ value: input.componentsPkg
803
+ }, _errorFactory)) && input.componentsPkg.every((elem, _index9)=>"string" == typeof elem || _assertGuard._assertGuard(_exceptionable, {
804
+ method: "typia.createAssertEquals",
805
+ path: _path + ".componentsPkg[" + _index9 + "]",
806
+ expected: "string",
807
+ value: elem
808
+ }, _errorFactory)) || _assertGuard._assertGuard(_exceptionable, {
809
+ method: "typia.createAssertEquals",
810
+ path: _path + ".componentsPkg",
811
+ expected: "(Array<string> | undefined)",
812
+ value: input.componentsPkg
813
+ }, _errorFactory)) && (void 0 === input.oldRuntimePkg || (Array.isArray(input.oldRuntimePkg) || _assertGuard._assertGuard(_exceptionable, {
814
+ method: "typia.createAssertEquals",
815
+ path: _path + ".oldRuntimePkg",
816
+ expected: "(Array<string> | undefined)",
817
+ value: input.oldRuntimePkg
818
+ }, _errorFactory)) && input.oldRuntimePkg.every((elem, _index10)=>"string" == typeof elem || _assertGuard._assertGuard(_exceptionable, {
819
+ method: "typia.createAssertEquals",
820
+ path: _path + ".oldRuntimePkg[" + _index10 + "]",
821
+ expected: "string",
822
+ value: elem
823
+ }, _errorFactory)) || _assertGuard._assertGuard(_exceptionable, {
824
+ method: "typia.createAssertEquals",
825
+ path: _path + ".oldRuntimePkg",
826
+ expected: "(Array<string> | undefined)",
827
+ value: input.oldRuntimePkg
828
+ }, _errorFactory)) && (void 0 === input.newRuntimePkg || "string" == typeof input.newRuntimePkg || _assertGuard._assertGuard(_exceptionable, {
829
+ method: "typia.createAssertEquals",
830
+ path: _path + ".newRuntimePkg",
831
+ expected: "(string | undefined)",
832
+ value: input.newRuntimePkg
833
+ }, _errorFactory)) && (void 0 === input.additionalComponentAttributes || (Array.isArray(input.additionalComponentAttributes) || _assertGuard._assertGuard(_exceptionable, {
834
+ method: "typia.createAssertEquals",
835
+ path: _path + ".additionalComponentAttributes",
836
+ expected: "(Array<string> | undefined)",
837
+ value: input.additionalComponentAttributes
838
+ }, _errorFactory)) && input.additionalComponentAttributes.every((elem, _index11)=>"string" == typeof elem || _assertGuard._assertGuard(_exceptionable, {
839
+ method: "typia.createAssertEquals",
840
+ path: _path + ".additionalComponentAttributes[" + _index11 + "]",
841
+ expected: "string",
842
+ value: elem
843
+ }, _errorFactory)) || _assertGuard._assertGuard(_exceptionable, {
844
+ method: "typia.createAssertEquals",
845
+ path: _path + ".additionalComponentAttributes",
846
+ expected: "(Array<string> | undefined)",
847
+ value: input.additionalComponentAttributes
848
+ }, _errorFactory)) && (null !== input.addComponentElement || _assertGuard._assertGuard(_exceptionable, {
849
+ method: "typia.createAssertEquals",
850
+ path: _path + ".addComponentElement",
851
+ expected: "(AddComponentElementConfig | boolean | undefined)",
852
+ value: input.addComponentElement
853
+ }, _errorFactory)) && (void 0 === input.addComponentElement || "boolean" == typeof input.addComponentElement || ("object" == typeof input.addComponentElement && null !== input.addComponentElement || _assertGuard._assertGuard(_exceptionable, {
854
+ method: "typia.createAssertEquals",
855
+ path: _path + ".addComponentElement",
856
+ expected: "(AddComponentElementConfig | boolean | undefined)",
857
+ value: input.addComponentElement
858
+ }, _errorFactory)) && _ao2(input.addComponentElement, _path + ".addComponentElement", _exceptionable) || _assertGuard._assertGuard(_exceptionable, {
859
+ method: "typia.createAssertEquals",
860
+ path: _path + ".addComponentElement",
861
+ expected: "(AddComponentElementConfig | boolean | undefined)",
862
+ value: input.addComponentElement
863
+ }, _errorFactory)) && (void 0 === input.simplifyCtorLikeReactLynx2 || "boolean" == typeof input.simplifyCtorLikeReactLynx2 || _assertGuard._assertGuard(_exceptionable, {
864
+ method: "typia.createAssertEquals",
865
+ path: _path + ".simplifyCtorLikeReactLynx2",
866
+ expected: "(boolean | undefined)",
867
+ value: input.simplifyCtorLikeReactLynx2
868
+ }, _errorFactory)) && (void 0 === input.removeComponentAttrRegex || "string" == typeof input.removeComponentAttrRegex || _assertGuard._assertGuard(_exceptionable, {
869
+ method: "typia.createAssertEquals",
870
+ path: _path + ".removeComponentAttrRegex",
871
+ expected: "(string | undefined)",
872
+ value: input.removeComponentAttrRegex
873
+ }, _errorFactory)) && (void 0 === input.disableDeprecatedWarning || "boolean" == typeof input.disableDeprecatedWarning || _assertGuard._assertGuard(_exceptionable, {
874
+ method: "typia.createAssertEquals",
875
+ path: _path + ".disableDeprecatedWarning",
876
+ expected: "(boolean | undefined)",
877
+ value: input.disableDeprecatedWarning
878
+ }, _errorFactory)) && (null !== input.darkMode || _assertGuard._assertGuard(_exceptionable, {
879
+ method: "typia.createAssertEquals",
880
+ path: _path + ".darkMode",
881
+ expected: "(DarkModeConfig | boolean | undefined)",
882
+ value: input.darkMode
883
+ }, _errorFactory)) && (void 0 === input.darkMode || "boolean" == typeof input.darkMode || ("object" == typeof input.darkMode && null !== input.darkMode || _assertGuard._assertGuard(_exceptionable, {
884
+ method: "typia.createAssertEquals",
885
+ path: _path + ".darkMode",
886
+ expected: "(DarkModeConfig | boolean | undefined)",
887
+ value: input.darkMode
888
+ }, _errorFactory)) && _ao3(input.darkMode, _path + ".darkMode", _exceptionable) || _assertGuard._assertGuard(_exceptionable, {
889
+ method: "typia.createAssertEquals",
890
+ path: _path + ".darkMode",
891
+ expected: "(DarkModeConfig | boolean | undefined)",
892
+ value: input.darkMode
893
+ }, _errorFactory)) && (void 0 === input.disableCreateSelectorQueryIncompatibleWarning || "boolean" == typeof input.disableCreateSelectorQueryIncompatibleWarning || _assertGuard._assertGuard(_exceptionable, {
894
+ method: "typia.createAssertEquals",
895
+ path: _path + ".disableCreateSelectorQueryIncompatibleWarning",
896
+ expected: "(boolean | undefined)",
897
+ value: input.disableCreateSelectorQueryIncompatibleWarning
898
+ }, _errorFactory)) && (0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).every((key)=>{
899
+ if ([
900
+ "componentsPkg",
901
+ "oldRuntimePkg",
902
+ "newRuntimePkg",
903
+ "additionalComponentAttributes",
904
+ "addComponentElement",
905
+ "simplifyCtorLikeReactLynx2",
906
+ "removeComponentAttrRegex",
907
+ "disableDeprecatedWarning",
908
+ "darkMode",
909
+ "disableCreateSelectorQueryIncompatibleWarning"
910
+ ].some((prop)=>key === prop)) return true;
911
+ const value = input[key];
912
+ if (void 0 === value) return true;
913
+ return _assertGuard._assertGuard(_exceptionable, {
914
+ method: "typia.createAssertEquals",
915
+ path: _path + _accessExpressionAsString._accessExpressionAsString(key),
916
+ expected: "undefined",
917
+ value: value
918
+ }, _errorFactory);
919
+ }));
920
+ const _ao2 = (input, _path, _exceptionable = true)=>("boolean" == typeof input.compilerOnly || _assertGuard._assertGuard(_exceptionable, {
921
+ method: "typia.createAssertEquals",
922
+ path: _path + ".compilerOnly",
923
+ expected: "boolean",
924
+ value: input.compilerOnly
925
+ }, _errorFactory)) && (1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).every((key)=>{
926
+ if ([
927
+ "compilerOnly"
928
+ ].some((prop)=>key === prop)) return true;
929
+ const value = input[key];
930
+ if (void 0 === value) return true;
931
+ return _assertGuard._assertGuard(_exceptionable, {
932
+ method: "typia.createAssertEquals",
933
+ path: _path + _accessExpressionAsString._accessExpressionAsString(key),
934
+ expected: "undefined",
935
+ value: value
936
+ }, _errorFactory);
937
+ }));
938
+ const _ao3 = (input, _path, _exceptionable = true)=>("string" == typeof input.themeExpr || _assertGuard._assertGuard(_exceptionable, {
939
+ method: "typia.createAssertEquals",
940
+ path: _path + ".themeExpr",
941
+ expected: "string",
942
+ value: input.themeExpr
943
+ }, _errorFactory)) && (1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).every((key)=>{
944
+ if ([
945
+ "themeExpr"
946
+ ].some((prop)=>key === prop)) return true;
947
+ const value = input[key];
948
+ if (void 0 === value) return true;
949
+ return _assertGuard._assertGuard(_exceptionable, {
950
+ method: "typia.createAssertEquals",
951
+ path: _path + _accessExpressionAsString._accessExpressionAsString(key),
952
+ expected: "undefined",
953
+ value: value
954
+ }, _errorFactory);
955
+ }));
956
+ const _ao4 = (input, _path, _exceptionable = true)=>(void 0 === input.pkgName || (Array.isArray(input.pkgName) || _assertGuard._assertGuard(_exceptionable, {
957
+ method: "typia.createAssertEquals",
958
+ path: _path + ".pkgName",
959
+ expected: "(Array<string> | undefined)",
960
+ value: input.pkgName
961
+ }, _errorFactory)) && input.pkgName.every((elem, _index12)=>"string" == typeof elem || _assertGuard._assertGuard(_exceptionable, {
962
+ method: "typia.createAssertEquals",
963
+ path: _path + ".pkgName[" + _index12 + "]",
964
+ expected: "string",
965
+ value: elem
966
+ }, _errorFactory)) || _assertGuard._assertGuard(_exceptionable, {
967
+ method: "typia.createAssertEquals",
968
+ path: _path + ".pkgName",
969
+ expected: "(Array<string> | undefined)",
970
+ value: input.pkgName
971
+ }, _errorFactory)) && (void 0 === input.retainProp || (Array.isArray(input.retainProp) || _assertGuard._assertGuard(_exceptionable, {
972
+ method: "typia.createAssertEquals",
973
+ path: _path + ".retainProp",
974
+ expected: "(Array<string> | undefined)",
975
+ value: input.retainProp
976
+ }, _errorFactory)) && input.retainProp.every((elem, _index13)=>"string" == typeof elem || _assertGuard._assertGuard(_exceptionable, {
977
+ method: "typia.createAssertEquals",
978
+ path: _path + ".retainProp[" + _index13 + "]",
979
+ expected: "string",
980
+ value: elem
981
+ }, _errorFactory)) || _assertGuard._assertGuard(_exceptionable, {
982
+ method: "typia.createAssertEquals",
983
+ path: _path + ".retainProp",
984
+ expected: "(Array<string> | undefined)",
985
+ value: input.retainProp
986
+ }, _errorFactory)) && (void 0 === input.removeCallParams || (Array.isArray(input.removeCallParams) || _assertGuard._assertGuard(_exceptionable, {
987
+ method: "typia.createAssertEquals",
988
+ path: _path + ".removeCallParams",
989
+ expected: "(Array<string> | undefined)",
990
+ value: input.removeCallParams
991
+ }, _errorFactory)) && input.removeCallParams.every((elem, _index14)=>"string" == typeof elem || _assertGuard._assertGuard(_exceptionable, {
992
+ method: "typia.createAssertEquals",
993
+ path: _path + ".removeCallParams[" + _index14 + "]",
994
+ expected: "string",
995
+ value: elem
996
+ }, _errorFactory)) || _assertGuard._assertGuard(_exceptionable, {
997
+ method: "typia.createAssertEquals",
998
+ path: _path + ".removeCallParams",
999
+ expected: "(Array<string> | undefined)",
1000
+ value: input.removeCallParams
1001
+ }, _errorFactory)) && (0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).every((key)=>{
1002
+ if ([
1003
+ "pkgName",
1004
+ "retainProp",
1005
+ "removeCallParams"
1006
+ ].some((prop)=>key === prop)) return true;
1007
+ const value = input[key];
1008
+ if (void 0 === value) return true;
1009
+ return _assertGuard._assertGuard(_exceptionable, {
1010
+ method: "typia.createAssertEquals",
1011
+ path: _path + _accessExpressionAsString._accessExpressionAsString(key),
1012
+ expected: "undefined",
1013
+ value: value
1014
+ }, _errorFactory);
1015
+ }));
1016
+ const _ao5 = (input, _path, _exceptionable = true)=>(void 0 === input.define || ("object" == typeof input.define && null !== input.define && false === Array.isArray(input.define) || _assertGuard._assertGuard(_exceptionable, {
1017
+ method: "typia.createAssertEquals",
1018
+ path: _path + ".define",
1019
+ expected: "(Record<string, string> | undefined)",
1020
+ value: input.define
1021
+ }, _errorFactory)) && _ao6(input.define, _path + ".define", _exceptionable) || _assertGuard._assertGuard(_exceptionable, {
1022
+ method: "typia.createAssertEquals",
1023
+ path: _path + ".define",
1024
+ expected: "(Record<string, string> | undefined)",
1025
+ value: input.define
1026
+ }, _errorFactory)) && (0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).every((key)=>{
1027
+ if ([
1028
+ "define"
1029
+ ].some((prop)=>key === prop)) return true;
1030
+ const value = input[key];
1031
+ if (void 0 === value) return true;
1032
+ return _assertGuard._assertGuard(_exceptionable, {
1033
+ method: "typia.createAssertEquals",
1034
+ path: _path + _accessExpressionAsString._accessExpressionAsString(key),
1035
+ expected: "undefined",
1036
+ value: value
1037
+ }, _errorFactory);
1038
+ }));
1039
+ const _ao6 = (input, _path, _exceptionable = true)=>false === _exceptionable || Object.keys(input).every((key)=>{
1040
+ const value = input[key];
1041
+ if (void 0 === value) return true;
1042
+ return "string" == typeof value || _assertGuard._assertGuard(_exceptionable, {
1043
+ method: "typia.createAssertEquals",
1044
+ path: _path + _accessExpressionAsString._accessExpressionAsString(key),
1045
+ expected: "string",
1046
+ value: value
1047
+ }, _errorFactory);
1048
+ });
1049
+ const _ao7 = (input, _path, _exceptionable = true)=>(void 0 === input.strLength || "number" == typeof input.strLength || _assertGuard._assertGuard(_exceptionable, {
1050
+ method: "typia.createAssertEquals",
1051
+ path: _path + ".strLength",
1052
+ expected: "(number | undefined)",
1053
+ value: input.strLength
1054
+ }, _errorFactory)) && (0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).every((key)=>{
1055
+ if ([
1056
+ "strLength"
1057
+ ].some((prop)=>key === prop)) return true;
1058
+ const value = input[key];
1059
+ if (void 0 === value) return true;
1060
+ return _assertGuard._assertGuard(_exceptionable, {
1061
+ method: "typia.createAssertEquals",
1062
+ path: _path + _accessExpressionAsString._accessExpressionAsString(key),
1063
+ expected: "undefined",
1064
+ value: value
1065
+ }, _errorFactory);
1066
+ }));
1100
1067
  const __is = (input, _exceptionable = true)=>void 0 === input || "object" == typeof input && null !== input && false === Array.isArray(input) && _io0(input, true);
1101
- let errors;
1102
- let _report;
1103
- return _createStandardSchema._createStandardSchema((input)=>{
1068
+ let _errorFactory;
1069
+ return (input, errorFactory = ({ path, expected, value })=>{
1070
+ if ('undefined' === expected) {
1071
+ const errorMessage = `Unknown property: \`${path}\` in the configuration of pluginReactLynx`;
1072
+ return new Error(errorMessage);
1073
+ }
1074
+ return new Error([
1075
+ `Invalid config on pluginReactLynx: \`${path}\`.`,
1076
+ ` - Expect to be ${expected}`,
1077
+ ` - Got: ${whatIs(value)}`,
1078
+ ''
1079
+ ].join('\n'));
1080
+ })=>{
1104
1081
  if (false === __is(input)) {
1105
- errors = [];
1106
- _report = _validateReport._validateReport(errors);
1107
- ((input, _path, _exceptionable = true)=>void 0 === input || ("object" == typeof input && null !== input && false === Array.isArray(input) || _report(true, {
1082
+ _errorFactory = errorFactory;
1083
+ ((input, _path, _exceptionable = true)=>void 0 === input || ("object" == typeof input && null !== input && false === Array.isArray(input) || _assertGuard._assertGuard(true, {
1084
+ method: "typia.createAssertEquals",
1108
1085
  path: _path + "",
1109
1086
  expected: "(PluginReactLynxOptions | undefined)",
1110
1087
  value: input
1111
- })) && _vo0(input, _path + "", true) || _report(true, {
1088
+ }, _errorFactory)) && _ao0(input, _path + "", true) || _assertGuard._assertGuard(true, {
1089
+ method: "typia.createAssertEquals",
1112
1090
  path: _path + "",
1113
1091
  expected: "(PluginReactLynxOptions | undefined)",
1114
1092
  value: input
1115
- }))(input, "$input", true);
1116
- const success = 0 === errors.length;
1117
- return success ? {
1118
- success,
1119
- data: input
1120
- } : {
1121
- success,
1122
- errors,
1123
- data: input
1124
- };
1093
+ }, _errorFactory))(input, "$input", true);
1125
1094
  }
1126
- return {
1127
- success: true,
1128
- data: input
1129
- };
1130
- });
1095
+ return input;
1096
+ };
1131
1097
  })();
1132
- const validateConfig = (input)=>{
1133
- const result = validate(input);
1134
- if (result.success) return result.data;
1135
- const messages = result.errors.flatMap(({ expected, path, value })=>{
1136
- if (path && ('$input.jsx' === path || path.startsWith('$input.jsx.')) && 'undefined' === expected) return null;
1137
- if ('undefined' === expected) return `Unknown property: \`${path}\` in the configuration of pluginReactLynx`;
1138
- return [
1139
- `Invalid config on pluginReactLynx: \`${path}\`.`,
1140
- ` - Expect to be ${expected}`,
1141
- ` - Got: ${whatIs(value)}`,
1142
- ''
1143
- ];
1144
- }).filter((message)=>null !== message);
1145
- if (0 === messages.length) return result.data;
1146
- throw new Error(messages.join('\n'));
1147
- };
1148
1098
  function whatIs(value) {
1149
1099
  return Object.prototype.toString.call(value).replace(/^\[object\s+([a-z]+)\]$/i, '$1').toLowerCase();
1150
1100
  }
@@ -1166,7 +1116,6 @@ function pluginReactLynx(userOptions) {
1166
1116
  enableRemoveCSSScope: true,
1167
1117
  firstScreenSyncTiming: 'immediately',
1168
1118
  enableSSR: false,
1169
- jsx: void 0,
1170
1119
  pipelineSchedulerConfig: 0x00010000,
1171
1120
  removeDescendantSelectorScope: true,
1172
1121
  shake: void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin-canary",
3
- "version": "0.9.11-canary-20250523-77524bcf",
3
+ "version": "0.10.0-canary-20250523-5ddec124",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -32,13 +32,12 @@
32
32
  "README.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.4-canary-20250523-77524bcf",
36
- "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.9.11-canary-20250523-77524bcf",
37
- "@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.3-canary-20250523-77524bcf",
38
- "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.6.14-canary-20250523-77524bcf",
35
+ "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.4-canary-20250523-5ddec124",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.0-canary-20250523-5ddec124",
37
+ "@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.3-canary-20250523-5ddec124",
38
+ "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.6.14-canary-20250523-5ddec124",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.0",
40
- "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.7.0-canary-20250523-77524bcf",
41
- "@lynx-js/web-webpack-plugin": "npm:@lynx-js/web-webpack-plugin-canary@0.6.8-canary-20250523-77524bcf",
40
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.7.0-canary-20250523-5ddec124",
42
41
  "background-only": "npm:background-only-canary@0.0.1"
43
42
  },
44
43
  "devDependencies": {
@@ -55,9 +54,9 @@
55
54
  "typia": "9.3.1",
56
55
  "typia-rspack-plugin": "2.1.0",
57
56
  "@lynx-js/react-transform": "0.2.0",
58
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.109.0-canary-20250523-77524bcf",
59
- "@lynx-js/vitest-setup": "0.0.0",
60
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.9.6-canary-20250523-77524bcf"
57
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.109.0-canary-20250523-5ddec124",
58
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.9.6-canary-20250523-5ddec124",
59
+ "@lynx-js/vitest-setup": "0.0.0"
61
60
  },
62
61
  "peerDependencies": {
63
62
  "@lynx-js/react": "*"