@zeus-js/compiler 0.1.0-beta.4 → 0.1.0-beta.6

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * compiler v0.1.0-beta.4
2
+ * compiler v0.1.0-beta.6
3
3
  * (c) 2026 baicie
4
4
  * Released under the MIT License.
5
5
  **/
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  let _babel_helper_plugin_utils = require("@babel/helper-plugin-utils");
33
33
  let _zeus_js_shared = require("@zeus-js/shared");
34
34
  let _babel_types = require("@babel/types");
35
- _babel_types = __toESM(_babel_types);
35
+ _babel_types = __toESM(_babel_types, 1);
36
36
  //#region packages/core/compiler/src/codegen/support/imports.ts
37
37
  /**
38
38
  * Runtime helpers registration and program injection.
@@ -222,7 +222,7 @@ function escapeHTML(value, attr = false) {
222
222
  function trimJSXText(value) {
223
223
  return value.replace(/\r\n?/g, "\n").split("\n").map((line) => line.trim()).filter(Boolean).join(" ");
224
224
  }
225
- const rawTextElements = new Set([
225
+ const rawTextElements = /* @__PURE__ */ new Set([
226
226
  "script",
227
227
  "style",
228
228
  "textarea",
@@ -1051,7 +1051,7 @@ function lowerChildren(children, context) {
1051
1051
  }
1052
1052
  //#endregion
1053
1053
  //#region packages/core/compiler/src/lower/lowerBuiltin.ts
1054
- const HOST_SKIP_PROPS = new Set([
1054
+ const HOST_SKIP_PROPS = /* @__PURE__ */ new Set([
1055
1055
  "key",
1056
1056
  "__slot",
1057
1057
  "__anchor"
@@ -1733,7 +1733,7 @@ function hasParserPlugin(plugins, name) {
1733
1733
  return plugins.some((plugin) => (Array.isArray(plugin) ? plugin[0] : plugin) === name);
1734
1734
  }
1735
1735
  var src_default = (0, _babel_helper_plugin_utils.declare)((api, options) => {
1736
- api.assertVersion(7);
1736
+ api.assertVersion(8);
1737
1737
  return {
1738
1738
  name: "babel-plugin-zeus-compiler",
1739
1739
  manipulateOptions(_opts, parserOpts) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * compiler v0.1.0-beta.4
2
+ * compiler v0.1.0-beta.6
3
3
  * (c) 2026 baicie
4
4
  * Released under the MIT License.
5
5
  **/
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  let _babel_helper_plugin_utils = require("@babel/helper-plugin-utils");
33
33
  let _zeus_js_shared = require("@zeus-js/shared");
34
34
  let _babel_types = require("@babel/types");
35
- _babel_types = __toESM(_babel_types);
35
+ _babel_types = __toESM(_babel_types, 1);
36
36
  //#region packages/core/compiler/src/codegen/support/imports.ts
37
37
  /**
38
38
  * Runtime helpers registration and program injection.
@@ -222,7 +222,7 @@ function escapeHTML(value, attr = false) {
222
222
  function trimJSXText(value) {
223
223
  return value.replace(/\r\n?/g, "\n").split("\n").map((line) => line.trim()).filter(Boolean).join(" ");
224
224
  }
225
- const rawTextElements = new Set([
225
+ const rawTextElements = /* @__PURE__ */ new Set([
226
226
  "script",
227
227
  "style",
228
228
  "textarea",
@@ -1051,7 +1051,7 @@ function lowerChildren(children, context) {
1051
1051
  }
1052
1052
  //#endregion
1053
1053
  //#region packages/core/compiler/src/lower/lowerBuiltin.ts
1054
- const HOST_SKIP_PROPS = new Set([
1054
+ const HOST_SKIP_PROPS = /* @__PURE__ */ new Set([
1055
1055
  "key",
1056
1056
  "__slot",
1057
1057
  "__anchor"
@@ -1733,7 +1733,7 @@ function hasParserPlugin(plugins, name) {
1733
1733
  return plugins.some((plugin) => (Array.isArray(plugin) ? plugin[0] : plugin) === name);
1734
1734
  }
1735
1735
  var src_default = (0, _babel_helper_plugin_utils.declare)((api, options) => {
1736
- api.assertVersion(7);
1736
+ api.assertVersion(8);
1737
1737
  return {
1738
1738
  name: "babel-plugin-zeus-compiler",
1739
1739
  manipulateOptions(_opts, parserOpts) {
@@ -85,6 +85,6 @@ export interface CompilerOptions {
85
85
  inlineStyles: boolean;
86
86
  }
87
87
 
88
- declare const _default: (api: object, options: CompilerOptions | null | undefined, dirname: string) => _babel_core.PluginObj<_babel_core.PluginPass>;
88
+ declare const _default: (api: _babel_core.PluginAPI, options: CompilerOptions | null | undefined, dirname: string) => _babel_core.PluginObject<object & _babel_core.PluginPass<object>>;
89
89
 
90
90
  export { _default as default };