octane 0.16.1 → 0.16.2
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/cjs/runtime/hydration.cjs +13 -5
- package/dist/cjs/runtime/roots.cjs +1 -1
- package/dist/cjs/version.cjs +1 -1
- package/dist/node/runtime/hydration.js +13 -5
- package/dist/node/runtime/roots.js +1 -1
- package/dist/node/version.js +1 -1
- package/dist/runtime/hydration.js +13 -5
- package/dist/runtime/roots.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1347,24 +1347,32 @@ function adopt(h, template, lazy, loc, partialStyles) {
|
|
|
1347
1347
|
const fragment = template;
|
|
1348
1348
|
h.fail(
|
|
1349
1349
|
__octaneDev ? (0, import_diagnostics.componentSourceLoc)(h.rootBlock.body) : void 0,
|
|
1350
|
-
() => `a fragment starting with ${describeHydrationNode((0, import_templates.getFirstChild)(fragment))}
|
|
1350
|
+
() => __octaneDev ? `a fragment starting with ${describeHydrationNode((0, import_templates.getFirstChild)(fragment))}` : "",
|
|
1351
1351
|
cursor
|
|
1352
1352
|
);
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
if (cursor === null) {
|
|
1356
|
-
h.fail(
|
|
1356
|
+
h.fail(
|
|
1357
|
+
loc,
|
|
1358
|
+
() => __octaneDev ? describeHydrationNode(template ?? (0, import_templates.resolveLazyTemplate)(lazy)) : "",
|
|
1359
|
+
null
|
|
1360
|
+
);
|
|
1357
1361
|
}
|
|
1358
1362
|
if (!isFragment && (template !== null ? !hydrationNodeMatches(cursor, template) : !(0, import_templates.lazyRootMatches)(cursor, lazy))) {
|
|
1359
1363
|
const match = skipForeign(h, cursor, template, lazy);
|
|
1360
1364
|
if (match === null)
|
|
1361
|
-
h.fail(
|
|
1365
|
+
h.fail(
|
|
1366
|
+
loc,
|
|
1367
|
+
() => __octaneDev ? describeHydrationNode(template ?? (0, import_templates.resolveLazyTemplate)(lazy)) : "",
|
|
1368
|
+
cursor
|
|
1369
|
+
);
|
|
1362
1370
|
h.node = cursor = match;
|
|
1363
1371
|
}
|
|
1364
1372
|
if (!isFragment && (0, import_templates.rootWalkMisses)(cursor, template, lazy))
|
|
1365
1373
|
h.fail(
|
|
1366
1374
|
loc,
|
|
1367
|
-
() => describeHydrationNode((0, import_templates.firstElementChild)(template ?? (0, import_templates.resolveLazyTemplate)(lazy))),
|
|
1375
|
+
() => __octaneDev ? describeHydrationNode((0, import_templates.firstElementChild)(template ?? (0, import_templates.resolveLazyTemplate)(lazy))) : "",
|
|
1368
1376
|
(0, import_templates.getFirstChild)(cursor)
|
|
1369
1377
|
);
|
|
1370
1378
|
if (isFragment) {
|
|
@@ -1375,7 +1383,7 @@ function adopt(h, template, lazy, loc, partialStyles) {
|
|
|
1375
1383
|
const fragment = template ?? (0, import_templates.resolveLazyTemplate)(lazy);
|
|
1376
1384
|
h.fail(
|
|
1377
1385
|
loc,
|
|
1378
|
-
() => `a fragment starting with ${describeHydrationNode((0, import_templates.getFirstChild)(fragment))}
|
|
1386
|
+
() => __octaneDev ? `a fragment starting with ${describeHydrationNode((0, import_templates.getFirstChild)(fragment))}` : "",
|
|
1379
1387
|
cursor
|
|
1380
1388
|
);
|
|
1381
1389
|
}
|
|
@@ -732,7 +732,7 @@ function createIndependentHydrateActivator(body) {
|
|
|
732
732
|
scope.block.endMarker
|
|
733
733
|
);
|
|
734
734
|
};
|
|
735
|
-
const root =
|
|
735
|
+
const root = __hydrateVoidRoot(element, adapter, captures, {
|
|
736
736
|
identifierPrefix: manifest.boundaryId + "-",
|
|
737
737
|
identifierSeed: manifest.idSeed,
|
|
738
738
|
signalInstancePrefix: manifest.boundaryId,
|
package/dist/cjs/version.cjs
CHANGED
|
@@ -21,7 +21,7 @@ __export(version_exports, {
|
|
|
21
21
|
version: () => version
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(version_exports);
|
|
24
|
-
const version = "0.16.
|
|
24
|
+
const version = "0.16.2";
|
|
25
25
|
// Annotate the CommonJS export names for ESM import in node:
|
|
26
26
|
0 && (module.exports = {
|
|
27
27
|
version
|
|
@@ -1352,24 +1352,32 @@ function adopt(h, template, lazy, loc, partialStyles) {
|
|
|
1352
1352
|
const fragment = template;
|
|
1353
1353
|
h.fail(
|
|
1354
1354
|
__octaneDev ? componentSourceLoc(h.rootBlock.body) : void 0,
|
|
1355
|
-
() => `a fragment starting with ${describeHydrationNode(getFirstChild(fragment))}
|
|
1355
|
+
() => __octaneDev ? `a fragment starting with ${describeHydrationNode(getFirstChild(fragment))}` : "",
|
|
1356
1356
|
cursor
|
|
1357
1357
|
);
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
1360
|
if (cursor === null) {
|
|
1361
|
-
h.fail(
|
|
1361
|
+
h.fail(
|
|
1362
|
+
loc,
|
|
1363
|
+
() => __octaneDev ? describeHydrationNode(template ?? resolveLazyTemplate(lazy)) : "",
|
|
1364
|
+
null
|
|
1365
|
+
);
|
|
1362
1366
|
}
|
|
1363
1367
|
if (!isFragment && (template !== null ? !hydrationNodeMatches(cursor, template) : !lazyRootMatches(cursor, lazy))) {
|
|
1364
1368
|
const match = skipForeign(h, cursor, template, lazy);
|
|
1365
1369
|
if (match === null)
|
|
1366
|
-
h.fail(
|
|
1370
|
+
h.fail(
|
|
1371
|
+
loc,
|
|
1372
|
+
() => __octaneDev ? describeHydrationNode(template ?? resolveLazyTemplate(lazy)) : "",
|
|
1373
|
+
cursor
|
|
1374
|
+
);
|
|
1367
1375
|
h.node = cursor = match;
|
|
1368
1376
|
}
|
|
1369
1377
|
if (!isFragment && rootWalkMisses(cursor, template, lazy))
|
|
1370
1378
|
h.fail(
|
|
1371
1379
|
loc,
|
|
1372
|
-
() => describeHydrationNode(firstElementChild(template ?? resolveLazyTemplate(lazy))),
|
|
1380
|
+
() => __octaneDev ? describeHydrationNode(firstElementChild(template ?? resolveLazyTemplate(lazy))) : "",
|
|
1373
1381
|
getFirstChild(cursor)
|
|
1374
1382
|
);
|
|
1375
1383
|
if (isFragment) {
|
|
@@ -1380,7 +1388,7 @@ function adopt(h, template, lazy, loc, partialStyles) {
|
|
|
1380
1388
|
const fragment = template ?? resolveLazyTemplate(lazy);
|
|
1381
1389
|
h.fail(
|
|
1382
1390
|
loc,
|
|
1383
|
-
() => `a fragment starting with ${describeHydrationNode(getFirstChild(fragment))}
|
|
1391
|
+
() => __octaneDev ? `a fragment starting with ${describeHydrationNode(getFirstChild(fragment))}` : "",
|
|
1384
1392
|
cursor
|
|
1385
1393
|
);
|
|
1386
1394
|
}
|
|
@@ -774,7 +774,7 @@ function createIndependentHydrateActivator(body) {
|
|
|
774
774
|
scope.block.endMarker
|
|
775
775
|
);
|
|
776
776
|
};
|
|
777
|
-
const root =
|
|
777
|
+
const root = __hydrateVoidRoot(element, adapter, captures, {
|
|
778
778
|
identifierPrefix: manifest.boundaryId + "-",
|
|
779
779
|
identifierSeed: manifest.idSeed,
|
|
780
780
|
signalInstancePrefix: manifest.boundaryId,
|
package/dist/node/version.js
CHANGED
|
@@ -1351,24 +1351,32 @@ function adopt(h, template, lazy, loc, partialStyles) {
|
|
|
1351
1351
|
const fragment = template;
|
|
1352
1352
|
h.fail(
|
|
1353
1353
|
process.env.NODE_ENV !== "production" ? componentSourceLoc(h.rootBlock.body) : void 0,
|
|
1354
|
-
() => `a fragment starting with ${describeHydrationNode(getFirstChild(fragment))}
|
|
1354
|
+
() => process.env.NODE_ENV !== "production" ? `a fragment starting with ${describeHydrationNode(getFirstChild(fragment))}` : "",
|
|
1355
1355
|
cursor
|
|
1356
1356
|
);
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
if (cursor === null) {
|
|
1360
|
-
h.fail(
|
|
1360
|
+
h.fail(
|
|
1361
|
+
loc,
|
|
1362
|
+
() => process.env.NODE_ENV !== "production" ? describeHydrationNode(template ?? resolveLazyTemplate(lazy)) : "",
|
|
1363
|
+
null
|
|
1364
|
+
);
|
|
1361
1365
|
}
|
|
1362
1366
|
if (!isFragment && (template !== null ? !hydrationNodeMatches(cursor, template) : !lazyRootMatches(cursor, lazy))) {
|
|
1363
1367
|
const match = skipForeign(h, cursor, template, lazy);
|
|
1364
1368
|
if (match === null)
|
|
1365
|
-
h.fail(
|
|
1369
|
+
h.fail(
|
|
1370
|
+
loc,
|
|
1371
|
+
() => process.env.NODE_ENV !== "production" ? describeHydrationNode(template ?? resolveLazyTemplate(lazy)) : "",
|
|
1372
|
+
cursor
|
|
1373
|
+
);
|
|
1366
1374
|
h.node = cursor = match;
|
|
1367
1375
|
}
|
|
1368
1376
|
if (!isFragment && rootWalkMisses(cursor, template, lazy))
|
|
1369
1377
|
h.fail(
|
|
1370
1378
|
loc,
|
|
1371
|
-
() => describeHydrationNode(firstElementChild(template ?? resolveLazyTemplate(lazy))),
|
|
1379
|
+
() => process.env.NODE_ENV !== "production" ? describeHydrationNode(firstElementChild(template ?? resolveLazyTemplate(lazy))) : "",
|
|
1372
1380
|
getFirstChild(cursor)
|
|
1373
1381
|
);
|
|
1374
1382
|
if (isFragment) {
|
|
@@ -1379,7 +1387,7 @@ function adopt(h, template, lazy, loc, partialStyles) {
|
|
|
1379
1387
|
const fragment = template ?? resolveLazyTemplate(lazy);
|
|
1380
1388
|
h.fail(
|
|
1381
1389
|
loc,
|
|
1382
|
-
() => `a fragment starting with ${describeHydrationNode(getFirstChild(fragment))}
|
|
1390
|
+
() => process.env.NODE_ENV !== "production" ? `a fragment starting with ${describeHydrationNode(getFirstChild(fragment))}` : "",
|
|
1383
1391
|
cursor
|
|
1384
1392
|
);
|
|
1385
1393
|
}
|
package/dist/runtime/roots.js
CHANGED
|
@@ -773,7 +773,7 @@ function createIndependentHydrateActivator(body) {
|
|
|
773
773
|
scope.block.endMarker
|
|
774
774
|
);
|
|
775
775
|
};
|
|
776
|
-
const root =
|
|
776
|
+
const root = __hydrateVoidRoot(element, adapter, captures, {
|
|
777
777
|
identifierPrefix: manifest.boundaryId + "-",
|
|
778
778
|
identifierSeed: manifest.idSeed,
|
|
779
779
|
signalInstancePrefix: manifest.boundaryId,
|
package/dist/version.js
CHANGED