@farm.js/react 0.1.0-beta.28 → 0.1.0-beta.29

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/vite.cjs CHANGED
@@ -1469,7 +1469,7 @@ function rewriteKeyedArrayReorderPipelineHints(root, hintedStateIndices, statesB
1469
1469
  };
1470
1470
  }
1471
1471
  function rewriteQueuedKeyedArrayReorderMapHints(root, statesBySetter, mapUpdateIdentifier, queuedMapPipelineIdentifier, mapReorderIdentifier, reorderIdentifier, sortIdentifier, structuralReorderIdentifier, structuralSortIdentifier, allowed) {
1472
- if (!allowed) return { root: core.types.cloneNode(root, true), mapCount: 0 };
1472
+ if (!allowed) return { root, mapCount: 0 };
1473
1473
  const file = expressionFile(core.types.cloneNode(root, true));
1474
1474
  let mapCount = 0;
1475
1475
  const containsHelperCall = (updater, helperNames) => {
@@ -1565,7 +1565,7 @@ function countKeyedArrayMapPipeline(updater, mapUpdateIdentifier) {
1565
1565
  function rewriteQueuedKeyedArrayMappedStructuralHints(root, statesBySetter, mapUpdateIdentifier, queuedMapPipelineIdentifier, mappedStructuralIdentifier, filterIdentifier, sliceIdentifier, allowed) {
1566
1566
  if (!allowed) {
1567
1567
  return {
1568
- root: core.types.cloneNode(root, true),
1568
+ root,
1569
1569
  mapCount: 0,
1570
1570
  structuralCount: 0,
1571
1571
  stateIndices: /* @__PURE__ */ new Set()
@@ -1662,7 +1662,7 @@ function rewriteQueuedKeyedArrayMappedStructuralHints(root, statesBySetter, mapU
1662
1662
  function rewriteQueuedKeyedArrayStructuralMapHints(root, statesBySetter, mapUpdateIdentifier, mapPipelineIdentifier, appendIdentifier, mappedStructuralAppendIdentifier, structuralAppendMapPipelineIdentifier, filterIdentifier, sliceIdentifier, mappedStructuralIdentifier, allowed) {
1663
1663
  if (!allowed) {
1664
1664
  return {
1665
- root: core.types.cloneNode(root, true),
1665
+ root,
1666
1666
  mapCount: 0,
1667
1667
  mappedStructuralAppendCount: 0,
1668
1668
  structuralAppendMapCount: 0,
@@ -1786,7 +1786,7 @@ function rewriteQueuedKeyedArrayStructuralMapHints(root, statesBySetter, mapUpda
1786
1786
  function rewriteQueuedKeyedArrayStructuralPrependMapHints(root, statesBySetter, mapUpdateIdentifier, mapPipelineIdentifier, prependIdentifier, mappedStructuralPrependIdentifier, structuralPrependMapPipelineIdentifier, filterIdentifier, sliceIdentifier, mappedStructuralIdentifier, allowed) {
1787
1787
  if (!allowed) {
1788
1788
  return {
1789
- root: core.types.cloneNode(root, true),
1789
+ root,
1790
1790
  mapCount: 0,
1791
1791
  mappedStructuralPrependCount: 0,
1792
1792
  structuralPrependMapCount: 0,
@@ -1912,7 +1912,7 @@ function rewriteQueuedKeyedArrayRollingWindowMapHints(root, statesBySetter, mapU
1912
1912
  return {
1913
1913
  chainedMapCount: 0,
1914
1914
  chainedRollingWindowCount: 0,
1915
- root: core.types.cloneNode(root, true),
1915
+ root,
1916
1916
  leadingMapCount: 0,
1917
1917
  mappedRollingWindowCount: 0,
1918
1918
  rollingWindowCount: 0,
@@ -2070,7 +2070,7 @@ function rewriteQueuedKeyedArrayRollingWindowMapHints(root, statesBySetter, mapU
2070
2070
  function rewriteQueuedKeyedArrayStructuralReorderHints(root, statesBySetter, filterIdentifier, sliceIdentifier, mapPipelineIdentifier, queuedMapPipelineIdentifier, mappedStructuralIdentifier, mapReorderIdentifier, reorderIdentifier, sortIdentifier, structuralReorderIdentifier, structuralSortIdentifier, allowed) {
2071
2071
  if (!allowed) {
2072
2072
  return {
2073
- root: core.types.cloneNode(root, true),
2073
+ root,
2074
2074
  reorderCount: 0,
2075
2075
  sortCount: 0,
2076
2076
  replacedMapReorderCount: 0,
@@ -2200,7 +2200,7 @@ function rewriteQueuedKeyedArrayStructuralReorderHints(root, statesBySetter, fil
2200
2200
  function rewriteQueuedKeyedArrayMapReorderHints(root, statesBySetter, mapUpdateIdentifier, queuedMapPipelineIdentifier, mapReorderIdentifier, reorderIdentifier, sortIdentifier, structuralReorderIdentifier, structuralSortIdentifier, allowed) {
2201
2201
  if (!allowed) {
2202
2202
  return {
2203
- root: core.types.cloneNode(root, true),
2203
+ root,
2204
2204
  mapCount: 0,
2205
2205
  mapReorderCount: 0,
2206
2206
  mapSortCount: 0