@absolutejs/absolute 0.19.0-beta.990 → 0.19.0-beta.991
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,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-Po6HbY/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-Po6HbY/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-Po6HbY/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/build.js
CHANGED
|
@@ -13206,14 +13206,6 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
13206
13206
|
const serverCode = assembleModule(generateRenderFunction(true), "ssrRender", false) + islandMetadataExports;
|
|
13207
13207
|
const clientOutputPath = join27(outputDirs.client, `${relativeWithoutExtension}.js`);
|
|
13208
13208
|
const serverOutputPath = join27(outputDirs.server, `${relativeWithoutExtension}.js`);
|
|
13209
|
-
const relDir = dirname13(relativeFilePath);
|
|
13210
|
-
const relDepth = relDir === "." ? 0 : relDir.split("/").length;
|
|
13211
|
-
const adjustImports = (code) => code.replace(/(from\s+['"])(\.\.\/(?:\.\.\/)*)/g, (_2, prefix, dots) => {
|
|
13212
|
-
const upCount = dots.split("/").length - 1;
|
|
13213
|
-
if (upCount <= relDepth)
|
|
13214
|
-
return `${prefix}${dots}`;
|
|
13215
|
-
return `${prefix}../../${dots}`;
|
|
13216
|
-
});
|
|
13217
13209
|
const rewritePackageImports = (code, outputPath, mode) => {
|
|
13218
13210
|
let result2 = code;
|
|
13219
13211
|
for (const [bareImport, paths] of packageImportRewrites) {
|
|
@@ -13227,8 +13219,8 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
13227
13219
|
};
|
|
13228
13220
|
await mkdir5(dirname13(clientOutputPath), { recursive: true });
|
|
13229
13221
|
await mkdir5(dirname13(serverOutputPath), { recursive: true });
|
|
13230
|
-
const clientFinal = rewritePackageImports(
|
|
13231
|
-
const serverFinal = rewritePackageImports(
|
|
13222
|
+
const clientFinal = rewritePackageImports(clientCode, clientOutputPath, "client");
|
|
13223
|
+
const serverFinal = rewritePackageImports(serverCode, serverOutputPath, "server");
|
|
13232
13224
|
const inlineSourceMapFor = (finalContent) => {
|
|
13233
13225
|
if (!compiledScript.map || !hasScript)
|
|
13234
13226
|
return "";
|
|
@@ -27008,5 +27000,5 @@ export {
|
|
|
27008
27000
|
build
|
|
27009
27001
|
};
|
|
27010
27002
|
|
|
27011
|
-
//# debugId=
|
|
27003
|
+
//# debugId=FD2252DE0FA04BFA64756E2164756E21
|
|
27012
27004
|
//# sourceMappingURL=build.js.map
|