@absolutejs/absolute 0.19.0-beta.1110 → 0.19.0-beta.1112
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js +15 -2
- package/dist/angular/index.js.map +5 -4
- package/dist/angular/server.js +15 -2
- package/dist/angular/server.js.map +5 -4
- package/dist/build.js +25 -649
- package/dist/build.js.map +8 -8
- package/dist/index.js +25 -649
- package/dist/index.js.map +8 -8
- package/dist/islands/index.js +15 -2
- package/dist/islands/index.js.map +5 -4
- package/dist/react/index.js +15 -2
- package/dist/react/index.js.map +5 -4
- package/dist/src/utils/vueCompiler.d.ts +1 -0
- package/dist/svelte/index.js +15 -2
- package/dist/svelte/index.js.map +5 -4
- package/dist/vue/index.js +15 -2
- package/dist/vue/index.js.map +5 -4
- package/package.json +1 -1
- package/dist/tailwindcss-oxide.linux-x64-gnu-vcb5zrt4.node +0 -0
- package/dist/tailwindcss-oxide.linux-x64-musl-vr6z8t87.node +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-j6kTJ1/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-j6kTJ1/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-j6kTJ1/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
package/dist/angular/index.js
CHANGED
|
@@ -2681,6 +2681,19 @@ var init_svelteServerModule = __esm(() => {
|
|
|
2681
2681
|
});
|
|
2682
2682
|
});
|
|
2683
2683
|
|
|
2684
|
+
// src/utils/vueCompiler.ts
|
|
2685
|
+
var createVueCompiler = async () => {
|
|
2686
|
+
const [compiler, typescript] = await Promise.all([
|
|
2687
|
+
import("@vue/compiler-sfc"),
|
|
2688
|
+
import("typescript")
|
|
2689
|
+
]);
|
|
2690
|
+
compiler.registerTS?.(() => typescript);
|
|
2691
|
+
return compiler;
|
|
2692
|
+
}, compilerPromise, loadVueCompiler = () => {
|
|
2693
|
+
compilerPromise ??= createVueCompiler();
|
|
2694
|
+
return compilerPromise;
|
|
2695
|
+
};
|
|
2696
|
+
|
|
2684
2697
|
// src/core/vueServerModule.ts
|
|
2685
2698
|
import { existsSync as existsSync4, readFileSync as readFileSync4, realpathSync } from "fs";
|
|
2686
2699
|
import { mkdir as mkdir3 } from "fs/promises";
|
|
@@ -2722,7 +2735,7 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
|
|
|
2722
2735
|
const cachedModulePath = compiledModuleCache3.get(sourcePath);
|
|
2723
2736
|
if (cachedModulePath)
|
|
2724
2737
|
return cachedModulePath;
|
|
2725
|
-
const compiler = await
|
|
2738
|
+
const compiler = await loadVueCompiler();
|
|
2726
2739
|
const source = await Bun.file(sourcePath).text();
|
|
2727
2740
|
const { descriptor } = compiler.parse(source, { filename: sourcePath });
|
|
2728
2741
|
const componentId = Bun.hash(sourcePath).toString(BASE_36_RADIX).slice(0, ISLAND_COMPONENT_ID_LENGTH);
|
|
@@ -16215,5 +16228,5 @@ export {
|
|
|
16215
16228
|
ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
|
|
16216
16229
|
};
|
|
16217
16230
|
|
|
16218
|
-
//# debugId=
|
|
16231
|
+
//# debugId=0B08A2C1DE7AD36664756E2164756E21
|
|
16219
16232
|
//# sourceMappingURL=index.js.map
|