@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.mjs CHANGED
@@ -1467,7 +1467,7 @@ function rewriteKeyedArrayReorderPipelineHints(root, hintedStateIndices, statesB
1467
1467
  };
1468
1468
  }
1469
1469
  function rewriteQueuedKeyedArrayReorderMapHints(root, statesBySetter, mapUpdateIdentifier, queuedMapPipelineIdentifier, mapReorderIdentifier, reorderIdentifier, sortIdentifier, structuralReorderIdentifier, structuralSortIdentifier, allowed) {
1470
- if (!allowed) return { root: types.cloneNode(root, true), mapCount: 0 };
1470
+ if (!allowed) return { root, mapCount: 0 };
1471
1471
  const file = expressionFile(types.cloneNode(root, true));
1472
1472
  let mapCount = 0;
1473
1473
  const containsHelperCall = (updater, helperNames) => {
@@ -1563,7 +1563,7 @@ function countKeyedArrayMapPipeline(updater, mapUpdateIdentifier) {
1563
1563
  function rewriteQueuedKeyedArrayMappedStructuralHints(root, statesBySetter, mapUpdateIdentifier, queuedMapPipelineIdentifier, mappedStructuralIdentifier, filterIdentifier, sliceIdentifier, allowed) {
1564
1564
  if (!allowed) {
1565
1565
  return {
1566
- root: types.cloneNode(root, true),
1566
+ root,
1567
1567
  mapCount: 0,
1568
1568
  structuralCount: 0,
1569
1569
  stateIndices: /* @__PURE__ */ new Set()
@@ -1660,7 +1660,7 @@ function rewriteQueuedKeyedArrayMappedStructuralHints(root, statesBySetter, mapU
1660
1660
  function rewriteQueuedKeyedArrayStructuralMapHints(root, statesBySetter, mapUpdateIdentifier, mapPipelineIdentifier, appendIdentifier, mappedStructuralAppendIdentifier, structuralAppendMapPipelineIdentifier, filterIdentifier, sliceIdentifier, mappedStructuralIdentifier, allowed) {
1661
1661
  if (!allowed) {
1662
1662
  return {
1663
- root: types.cloneNode(root, true),
1663
+ root,
1664
1664
  mapCount: 0,
1665
1665
  mappedStructuralAppendCount: 0,
1666
1666
  structuralAppendMapCount: 0,
@@ -1784,7 +1784,7 @@ function rewriteQueuedKeyedArrayStructuralMapHints(root, statesBySetter, mapUpda
1784
1784
  function rewriteQueuedKeyedArrayStructuralPrependMapHints(root, statesBySetter, mapUpdateIdentifier, mapPipelineIdentifier, prependIdentifier, mappedStructuralPrependIdentifier, structuralPrependMapPipelineIdentifier, filterIdentifier, sliceIdentifier, mappedStructuralIdentifier, allowed) {
1785
1785
  if (!allowed) {
1786
1786
  return {
1787
- root: types.cloneNode(root, true),
1787
+ root,
1788
1788
  mapCount: 0,
1789
1789
  mappedStructuralPrependCount: 0,
1790
1790
  structuralPrependMapCount: 0,
@@ -1910,7 +1910,7 @@ function rewriteQueuedKeyedArrayRollingWindowMapHints(root, statesBySetter, mapU
1910
1910
  return {
1911
1911
  chainedMapCount: 0,
1912
1912
  chainedRollingWindowCount: 0,
1913
- root: types.cloneNode(root, true),
1913
+ root,
1914
1914
  leadingMapCount: 0,
1915
1915
  mappedRollingWindowCount: 0,
1916
1916
  rollingWindowCount: 0,
@@ -2068,7 +2068,7 @@ function rewriteQueuedKeyedArrayRollingWindowMapHints(root, statesBySetter, mapU
2068
2068
  function rewriteQueuedKeyedArrayStructuralReorderHints(root, statesBySetter, filterIdentifier, sliceIdentifier, mapPipelineIdentifier, queuedMapPipelineIdentifier, mappedStructuralIdentifier, mapReorderIdentifier, reorderIdentifier, sortIdentifier, structuralReorderIdentifier, structuralSortIdentifier, allowed) {
2069
2069
  if (!allowed) {
2070
2070
  return {
2071
- root: types.cloneNode(root, true),
2071
+ root,
2072
2072
  reorderCount: 0,
2073
2073
  sortCount: 0,
2074
2074
  replacedMapReorderCount: 0,
@@ -2198,7 +2198,7 @@ function rewriteQueuedKeyedArrayStructuralReorderHints(root, statesBySetter, fil
2198
2198
  function rewriteQueuedKeyedArrayMapReorderHints(root, statesBySetter, mapUpdateIdentifier, queuedMapPipelineIdentifier, mapReorderIdentifier, reorderIdentifier, sortIdentifier, structuralReorderIdentifier, structuralSortIdentifier, allowed) {
2199
2199
  if (!allowed) {
2200
2200
  return {
2201
- root: types.cloneNode(root, true),
2201
+ root,
2202
2202
  mapCount: 0,
2203
2203
  mapReorderCount: 0,
2204
2204
  mapSortCount: 0