@absolutejs/absolute 0.18.3-beta.13 → 0.18.3-beta.14
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/build.js +1 -44
- package/dist/build.js.map +4 -5
- package/dist/index.js +40 -44
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -173544,45 +173544,6 @@ var init_rebuildTrigger = __esm(() => {
|
|
|
173544
173544
|
init_webSocket();
|
|
173545
173545
|
});
|
|
173546
173546
|
|
|
173547
|
-
// src/react/bridgeInternals.ts
|
|
173548
|
-
var INTERNALS_KEYS, findInternals = (mod) => {
|
|
173549
|
-
for (const key of INTERNALS_KEYS) {
|
|
173550
|
-
const val = mod[key];
|
|
173551
|
-
if (val)
|
|
173552
|
-
return val;
|
|
173553
|
-
}
|
|
173554
|
-
return;
|
|
173555
|
-
}, bridgeReactInternals = async () => {
|
|
173556
|
-
const pinned = globalThis.__reactModuleRef;
|
|
173557
|
-
if (!pinned)
|
|
173558
|
-
return;
|
|
173559
|
-
const react = await import("react");
|
|
173560
|
-
if (pinned === react)
|
|
173561
|
-
return;
|
|
173562
|
-
const pinnedInternals = findInternals(pinned);
|
|
173563
|
-
const currentInternals = findInternals(react);
|
|
173564
|
-
if (!pinnedInternals || !currentInternals || pinnedInternals === currentInternals)
|
|
173565
|
-
return;
|
|
173566
|
-
for (const prop of Object.keys(pinnedInternals)) {
|
|
173567
|
-
Object.defineProperty(currentInternals, prop, {
|
|
173568
|
-
get() {
|
|
173569
|
-
return pinnedInternals[prop];
|
|
173570
|
-
},
|
|
173571
|
-
set(v) {
|
|
173572
|
-
pinnedInternals[prop] = v;
|
|
173573
|
-
},
|
|
173574
|
-
configurable: true,
|
|
173575
|
-
enumerable: true
|
|
173576
|
-
});
|
|
173577
|
-
}
|
|
173578
|
-
};
|
|
173579
|
-
var init_bridgeInternals = __esm(() => {
|
|
173580
|
-
INTERNALS_KEYS = [
|
|
173581
|
-
"__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE",
|
|
173582
|
-
"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"
|
|
173583
|
-
];
|
|
173584
|
-
});
|
|
173585
|
-
|
|
173586
173547
|
// src/core/devBuild.ts
|
|
173587
173548
|
var exports_devBuild = {};
|
|
173588
173549
|
__export(exports_devBuild, {
|
|
@@ -173671,9 +173632,6 @@ var FRAMEWORK_DIR_KEYS, reloadConfig = async () => {
|
|
|
173671
173632
|
await cleanStaleAssets(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
|
|
173672
173633
|
}
|
|
173673
173634
|
state.rebuildCount++;
|
|
173674
|
-
if (state.config.reactDirectory) {
|
|
173675
|
-
await bridgeReactInternals();
|
|
173676
|
-
}
|
|
173677
173635
|
} catch {} finally {
|
|
173678
173636
|
state.isRebuilding = false;
|
|
173679
173637
|
state.fileChangeQueue.clear();
|
|
@@ -173795,7 +173753,6 @@ var init_devBuild = __esm(() => {
|
|
|
173795
173753
|
init_assetStore();
|
|
173796
173754
|
init_rebuildTrigger();
|
|
173797
173755
|
init_logger();
|
|
173798
|
-
init_bridgeInternals();
|
|
173799
173756
|
FRAMEWORK_DIR_KEYS = [
|
|
173800
173757
|
"reactDirectory",
|
|
173801
173758
|
"svelteDirectory",
|
|
@@ -173806,6 +173763,45 @@ var init_devBuild = __esm(() => {
|
|
|
173806
173763
|
];
|
|
173807
173764
|
});
|
|
173808
173765
|
|
|
173766
|
+
// src/react/bridgeInternals.ts
|
|
173767
|
+
var INTERNALS_KEYS, findInternals = (mod) => {
|
|
173768
|
+
for (const key of INTERNALS_KEYS) {
|
|
173769
|
+
const val = mod[key];
|
|
173770
|
+
if (val)
|
|
173771
|
+
return val;
|
|
173772
|
+
}
|
|
173773
|
+
return;
|
|
173774
|
+
}, bridgeReactInternals = async () => {
|
|
173775
|
+
const pinned = globalThis.__reactModuleRef;
|
|
173776
|
+
if (!pinned)
|
|
173777
|
+
return;
|
|
173778
|
+
const react = await import("react");
|
|
173779
|
+
if (pinned === react)
|
|
173780
|
+
return;
|
|
173781
|
+
const pinnedInternals = findInternals(pinned);
|
|
173782
|
+
const currentInternals = findInternals(react);
|
|
173783
|
+
if (!pinnedInternals || !currentInternals || pinnedInternals === currentInternals)
|
|
173784
|
+
return;
|
|
173785
|
+
for (const prop of Object.keys(pinnedInternals)) {
|
|
173786
|
+
Object.defineProperty(currentInternals, prop, {
|
|
173787
|
+
get() {
|
|
173788
|
+
return pinnedInternals[prop];
|
|
173789
|
+
},
|
|
173790
|
+
set(v) {
|
|
173791
|
+
pinnedInternals[prop] = v;
|
|
173792
|
+
},
|
|
173793
|
+
configurable: true,
|
|
173794
|
+
enumerable: true
|
|
173795
|
+
});
|
|
173796
|
+
}
|
|
173797
|
+
};
|
|
173798
|
+
var init_bridgeInternals = __esm(() => {
|
|
173799
|
+
INTERNALS_KEYS = [
|
|
173800
|
+
"__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE",
|
|
173801
|
+
"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"
|
|
173802
|
+
];
|
|
173803
|
+
});
|
|
173804
|
+
|
|
173809
173805
|
// src/plugins/hmr.ts
|
|
173810
173806
|
var exports_hmr = {};
|
|
173811
173807
|
__export(exports_hmr, {
|
|
@@ -174242,5 +174238,5 @@ export {
|
|
|
174242
174238
|
ANGULAR_INIT_TIMEOUT_MS
|
|
174243
174239
|
};
|
|
174244
174240
|
|
|
174245
|
-
//# debugId=
|
|
174241
|
+
//# debugId=2A3A0CC85454252364756E2164756E21
|
|
174246
174242
|
//# sourceMappingURL=index.js.map
|