@absolutejs/absolute 0.18.3-beta.12 → 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 +45 -49
- package/dist/index.js.map +7 -7
- package/dist/react/index.js +1 -44
- package/dist/react/index.js.map +4 -5
- package/package.json +1 -1
package/dist/build.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",
|
|
@@ -173814,5 +173771,5 @@ export {
|
|
|
173814
173771
|
build
|
|
173815
173772
|
};
|
|
173816
173773
|
|
|
173817
|
-
//# debugId=
|
|
173774
|
+
//# debugId=1F269857F58E64E164756E2164756E21
|
|
173818
173775
|
//# sourceMappingURL=build.js.map
|