@fluixi/compiler 1.0.0-alpha.85 → 1.0.0-alpha.86
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/dist/analyze/static-graph.cjs +1 -1
- package/dist/analyze/static-graph.mjs +1 -1
- package/dist/{babel-TGY76XJ7.mjs → babel-EFKUQT45.mjs} +4 -4
- package/dist/{chunk-RUDJDZAA.mjs → chunk-D3ZN6JUI.mjs} +1 -1
- package/dist/{chunk-F74GFKSL.mjs → chunk-DREDGBKD.mjs} +1 -1
- package/dist/{chunk-4PLHS2FP.mjs → chunk-H6UK4N32.mjs} +1 -1
- package/dist/{chunk-6DB5FXS4.mjs → chunk-LOFOPSDV.mjs} +2 -2
- package/dist/{chunk-G6QC2WRJ.mjs → chunk-SYNSZIB2.mjs} +1 -1
- package/dist/frontend/babel/index.cjs +1 -1
- package/dist/frontend/babel/index.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/integrations.cjs +1 -1
- package/dist/integrations.mjs +8 -8
- package/dist/lower/compile-template.cjs +1 -1
- package/dist/lower/compile-template.mjs +1 -1
- package/dist/resolve/builtins.cjs +1 -1
- package/dist/resolve/builtins.mjs +1 -1
- package/dist/{server-fns-ZYWQTSZU.mjs → server-fns-7I2C3D5P.mjs} +4 -4
- package/dist/{server-functions-PCERFA7A.mjs → server-functions-GMKMN3D7.mjs} +3 -3
- package/dist/transform/index.cjs +1 -1
- package/dist/transform/index.mjs +1 -1
- package/dist/{transform-RWDTQUF5.mjs → transform-CRVH2C2I.mjs} +5 -5
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
analyzeStatic,
|
|
4
4
|
buildJsxIR,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
lowerTemplate,
|
|
11
11
|
resolveComponentSources,
|
|
12
12
|
shapeOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LOFOPSDV.mjs";
|
|
14
14
|
import {
|
|
15
15
|
CORE_CONTROL_FLOW,
|
|
16
16
|
ROUTER_COMPONENTS,
|
|
17
17
|
createComponentResolver
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-H6UK4N32.mjs";
|
|
19
|
+
import "./chunk-SYNSZIB2.mjs";
|
|
20
20
|
|
|
21
21
|
// src/frontend/babel/plugin.ts
|
|
22
22
|
import { declare } from "@babel/helper-plugin-utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
4
4
|
var comma = ",".charCodeAt(0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// src/resolve/component-resolver.ts
|
|
4
4
|
var isMapRule = (rule) => "components" in rule;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
INTRINSICS,
|
|
4
4
|
RESERVED_COMPONENTS,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
builtinComponentMap,
|
|
8
8
|
isIntrinsicName,
|
|
9
9
|
isPrimitiveModule
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H6UK4N32.mjs";
|
|
11
11
|
|
|
12
12
|
// src/analyze/expr-shape.ts
|
|
13
13
|
var CALL = /* @__PURE__ */ new Set(["CallExpression", "OptionalCallExpression"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
3
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
4
|
}) : x)(function(x) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// src/frontend/babel/plugin.ts
|
|
4
4
|
import { declare } from "@babel/helper-plugin-utils";
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
package/dist/index.mjs
CHANGED
package/dist/integrations.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist/integrations.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
INTRINSICS,
|
|
4
4
|
builtinComponentMap,
|
|
5
5
|
createComponentResolver
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-H6UK4N32.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__require
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SYNSZIB2.mjs";
|
|
10
10
|
|
|
11
11
|
// src/resolve/write-globals.ts
|
|
12
12
|
import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -204,7 +204,7 @@ import { join as _join } from "node:path";
|
|
|
204
204
|
async function createBabelPlugin(options = {}) {
|
|
205
205
|
let pluginModule = null;
|
|
206
206
|
try {
|
|
207
|
-
pluginModule = await import("./babel-
|
|
207
|
+
pluginModule = await import("./babel-EFKUQT45.mjs");
|
|
208
208
|
} catch (e) {
|
|
209
209
|
console.warn("Could not load the babel front-end:", e);
|
|
210
210
|
}
|
|
@@ -375,7 +375,7 @@ function transformOptions(options, id) {
|
|
|
375
375
|
}
|
|
376
376
|
async function rewriteProps(code, id, options) {
|
|
377
377
|
if (options.propsDestructure === false) return code;
|
|
378
|
-
const { transformProps } = await import("./transform-
|
|
378
|
+
const { transformProps } = await import("./transform-CRVH2C2I.mjs");
|
|
379
379
|
const result = transformProps(code, id);
|
|
380
380
|
reportDiagnostics({ propsDiagnostics: result.diagnostics }, id);
|
|
381
381
|
return result.rewritten > 0 ? result.code : code;
|
|
@@ -398,7 +398,7 @@ function reportDiagnostics(result, id) {
|
|
|
398
398
|
}
|
|
399
399
|
async function compileModule(code, id, options) {
|
|
400
400
|
if (!options.babel) {
|
|
401
|
-
const { transformTemplates } = await import("./transform-
|
|
401
|
+
const { transformTemplates } = await import("./transform-CRVH2C2I.mjs");
|
|
402
402
|
const result2 = transformTemplates(code, id, transformOptions(options, id));
|
|
403
403
|
reportDiagnostics(result2, id);
|
|
404
404
|
return result2;
|
|
@@ -517,10 +517,10 @@ export { isServerFnRequest, handleServerFn } from '@fluixi/start/server-fn';
|
|
|
517
517
|
if (!code.includes("use server")) return null;
|
|
518
518
|
const args = { ssr: !!opts?.ssr, filename: id, root };
|
|
519
519
|
if (options.babel) {
|
|
520
|
-
const { transformServerFunctions } = await import("./server-functions-
|
|
520
|
+
const { transformServerFunctions } = await import("./server-functions-GMKMN3D7.mjs");
|
|
521
521
|
return transformServerFunctions(code, args);
|
|
522
522
|
}
|
|
523
|
-
const { transformServerFns } = await import("./server-fns-
|
|
523
|
+
const { transformServerFns } = await import("./server-fns-7I2C3D5P.mjs");
|
|
524
524
|
return transformServerFns(code, args);
|
|
525
525
|
}
|
|
526
526
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
MagicString
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-D3ZN6JUI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
serverFnId
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-DREDGBKD.mjs";
|
|
8
|
+
import "./chunk-SYNSZIB2.mjs";
|
|
9
9
|
|
|
10
10
|
// src/transform/server-fns.ts
|
|
11
11
|
import { parse } from "@babel/parser";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
serverFnId
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-DREDGBKD.mjs";
|
|
5
|
+
import "./chunk-SYNSZIB2.mjs";
|
|
6
6
|
|
|
7
7
|
// src/frontend/babel/server-functions.ts
|
|
8
8
|
import { transformSync } from "@babel/core";
|
package/dist/transform/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist/transform/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// src/transform/templates.ts
|
|
4
4
|
import { parse as parse2 } from "@babel/parser";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.86 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
analyzeStatic,
|
|
4
4
|
buildJsxIR,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
resolveComponentSources,
|
|
15
15
|
resolveReactiveBindings,
|
|
16
16
|
shapeOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LOFOPSDV.mjs";
|
|
18
18
|
import {
|
|
19
19
|
CORE_CONTROL_FLOW,
|
|
20
20
|
DOM_CONTROL_FLOW,
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
createComponentResolver,
|
|
24
24
|
isIntrinsicName,
|
|
25
25
|
mayHaveIntrinsic
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-H6UK4N32.mjs";
|
|
27
27
|
import {
|
|
28
28
|
MagicString
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-D3ZN6JUI.mjs";
|
|
30
|
+
import "./chunk-SYNSZIB2.mjs";
|
|
31
31
|
|
|
32
32
|
// src/transform/templates.ts
|
|
33
33
|
import { parse as parse2 } from "@babel/parser";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluixi/compiler",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.86",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Ibrahima Touré",
|
|
6
6
|
"repository": {
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"inquirer": "^14.0.2",
|
|
70
70
|
"jsdom": "^25.0.0",
|
|
71
71
|
"vitest": "^1.6.1",
|
|
72
|
-
"@fluixi/dom": "1.0.0-alpha.
|
|
73
|
-
"@fluixi/reactive": "1.0.0-alpha.
|
|
72
|
+
"@fluixi/dom": "1.0.0-alpha.86",
|
|
73
|
+
"@fluixi/reactive": "1.0.0-alpha.86"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@babel/core": "^7.28.5",
|