@absolutejs/absolute 0.19.0-beta.841 → 0.19.0-beta.842
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/build.js +6 -4
- package/dist/build.js.map +7 -7
- package/dist/cli/index.js +3 -2
- package/dist/dev/client/errorOverlay.ts +5 -7
- package/dist/index.js +6 -4
- package/dist/index.js.map +7 -7
- package/dist/react/index.js.map +2 -2
- package/dist/react/server.js.map +2 -2
- package/dist/svelte/router/Router.svelte +1 -3
- package/dist/vue/index.js.map +2 -2
- package/dist/vue/server.js.map +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-Ur6B4p/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-Ur6B4p/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-Ur6B4p/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
|
@@ -13583,7 +13583,7 @@ var escapeRegex2 = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), jsRewrit
|
|
|
13583
13583
|
const namedImportRe = new RegExp(`\\bimport\\s*\\{[^}]*\\b${ident}\\b[^}]*\\}\\s*from\\b`);
|
|
13584
13584
|
if (namedImportRe.test(content))
|
|
13585
13585
|
continue;
|
|
13586
|
-
const importPathRe = /from\s
|
|
13586
|
+
const importPathRe = /(?:from\s+|import\s*)["']([^"']+)["']/g;
|
|
13587
13587
|
let pathMatch;
|
|
13588
13588
|
let sourcePath;
|
|
13589
13589
|
while ((pathMatch = importPathRe.exec(content)) !== null) {
|
|
@@ -13593,7 +13593,8 @@ var escapeRegex2 = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), jsRewrit
|
|
|
13593
13593
|
const base = p2.split("/").pop()?.replace(/\.[mc]?js$/, "");
|
|
13594
13594
|
if (!base)
|
|
13595
13595
|
continue;
|
|
13596
|
-
|
|
13596
|
+
const normalized = base.startsWith("_") ? base.slice(1) : base;
|
|
13597
|
+
if (normalized === ident || normalized.endsWith(`_${ident}`)) {
|
|
13597
13598
|
sourcePath = p2;
|
|
13598
13599
|
break;
|
|
13599
13600
|
}
|
|
@@ -18872,7 +18873,8 @@ var toSafeFileName6 = (specifier) => {
|
|
|
18872
18873
|
await Bun.write(entryPath, await generateVendorEntrySource(specifier));
|
|
18873
18874
|
return { entryPath, specifier };
|
|
18874
18875
|
}));
|
|
18875
|
-
const
|
|
18876
|
+
const isPrefixOrEqual = (candidate, current) => current === candidate || current.startsWith(`${candidate}/`);
|
|
18877
|
+
const otherSpecsFor = (current) => specifiers.filter((spec) => !isPrefixOrEqual(spec, current));
|
|
18876
18878
|
const results = await Promise.all(entries.map(({ entryPath, specifier }) => bunBuild9({
|
|
18877
18879
|
entrypoints: [entryPath],
|
|
18878
18880
|
external: [...FRAMEWORK_EXTERNALS, ...otherSpecsFor(specifier)],
|
|
@@ -19343,5 +19345,5 @@ export {
|
|
|
19343
19345
|
build
|
|
19344
19346
|
};
|
|
19345
19347
|
|
|
19346
|
-
//# debugId=
|
|
19348
|
+
//# debugId=4D4396D799FC767D64756E2164756E21
|
|
19347
19349
|
//# sourceMappingURL=build.js.map
|