@replohq/sandbox-runtime 1.7.3 → 1.7.4
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/buildMetadata.js +3 -3
- package/package.json +4 -4
- package/select-mode/fiber.js +3 -2
package/buildMetadata.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const BUILD_METADATA = {
|
|
2
2
|
"packageName": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"branch": "HEAD",
|
|
5
|
-
"commit": "
|
|
6
|
-
"builtAt": "2026-09-
|
|
5
|
+
"commit": "f6125c1834fe26cb6f884cdff75da5f5788f3ca8",
|
|
6
|
+
"builtAt": "2026-09-17T01:40:15.017Z"
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"reploBuild": {
|
|
5
5
|
"packageName": "@replohq/sandbox-runtime",
|
|
6
|
-
"version": "1.7.
|
|
6
|
+
"version": "1.7.4",
|
|
7
7
|
"branch": "HEAD",
|
|
8
|
-
"commit": "
|
|
9
|
-
"builtAt": "2026-09-
|
|
8
|
+
"commit": "f6125c1834fe26cb6f884cdff75da5f5788f3ca8",
|
|
9
|
+
"builtAt": "2026-09-17T01:40:15.017Z"
|
|
10
10
|
},
|
|
11
11
|
"description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
|
|
12
12
|
"license": "SEE LICENSE IN LICENSE",
|
package/select-mode/fiber.js
CHANGED
|
@@ -146,7 +146,7 @@ function getSourceLocation(element) {
|
|
|
146
146
|
while (currentElement) {
|
|
147
147
|
const fiber = getFiberFromElement(currentElement);
|
|
148
148
|
if (fiber) {
|
|
149
|
-
const debugInfo = findDebugSource(fiber);
|
|
149
|
+
const debugInfo = findDebugSource(resolveCurrentFiber(fiber));
|
|
150
150
|
if (debugInfo?.source) {
|
|
151
151
|
return {
|
|
152
152
|
filePath: debugInfo.source.fileName,
|
|
@@ -419,7 +419,8 @@ function getSerializableProps(props) {
|
|
|
419
419
|
return Object.keys(serializedProps).length > 0 ? serializedProps : void 0;
|
|
420
420
|
}
|
|
421
421
|
function getFiberChain(element) {
|
|
422
|
-
const
|
|
422
|
+
const cachedFiber = getFiberFromElement(element);
|
|
423
|
+
const rootFiber = cachedFiber ? resolveCurrentFiber(cachedFiber) : null;
|
|
423
424
|
const fiberChain = [];
|
|
424
425
|
const seenKeys = /* @__PURE__ */ new Set();
|
|
425
426
|
const seenOwners = /* @__PURE__ */ new Set();
|