@tanstack/react-query 5.28.9 → 5.28.12
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/build/codemods/coverage/clover.xml +74 -55
- package/build/codemods/coverage/coverage-final.json +4 -4
- package/build/codemods/coverage/index.html +11 -11
- package/build/codemods/coverage/utils/index.html +1 -1
- package/build/codemods/coverage/utils/index.js.html +1 -1
- package/build/codemods/coverage/utils/transformers/index.html +1 -1
- package/build/codemods/coverage/utils/transformers/query-cache-transformer.js.html +1 -1
- package/build/codemods/coverage/utils/transformers/query-client-transformer.js.html +1 -1
- package/build/codemods/coverage/utils/transformers/use-query-like-transformer.js.html +1 -1
- package/build/codemods/coverage/v4/index.html +1 -1
- package/build/codemods/coverage/v4/key-transformation.js.html +1 -1
- package/build/codemods/coverage/v4/replace-import-specifier.js.html +1 -1
- package/build/codemods/coverage/v4/utils/replacers/index.html +1 -1
- package/build/codemods/coverage/v4/utils/replacers/key-replacer.js.html +1 -1
- package/build/codemods/coverage/v5/is-loading/index.html +1 -1
- package/build/codemods/coverage/v5/is-loading/is-loading.js.html +1 -1
- package/build/codemods/coverage/v5/keep-previous-data/index.html +1 -1
- package/build/codemods/coverage/v5/keep-previous-data/keep-previous-data.js.html +1 -1
- package/build/codemods/coverage/v5/keep-previous-data/utils/already-has-placeholder-data-property.js.html +1 -1
- package/build/codemods/coverage/v5/keep-previous-data/utils/index.html +1 -1
- package/build/codemods/coverage/v5/remove-overloads/index.html +1 -1
- package/build/codemods/coverage/v5/remove-overloads/remove-overloads.js.html +9 -3
- package/build/codemods/coverage/v5/remove-overloads/transformers/filter-aware-usage-transformer.js.html +137 -17
- package/build/codemods/coverage/v5/remove-overloads/transformers/index.html +7 -7
- package/build/codemods/coverage/v5/remove-overloads/transformers/query-fn-aware-usage-transformer.js.html +1 -1
- package/build/codemods/coverage/v5/remove-overloads/utils/index.html +1 -1
- package/build/codemods/coverage/v5/remove-overloads/utils/index.js.html +1 -1
- package/build/codemods/coverage/v5/remove-overloads/utils/unknown-usage-error.js.html +1 -1
- package/build/codemods/coverage/v5/rename-hydrate/index.html +1 -1
- package/build/codemods/coverage/v5/rename-hydrate/rename-hydrate.js.html +1 -1
- package/build/codemods/coverage/v5/rename-properties/index.html +1 -1
- package/build/codemods/coverage/v5/rename-properties/rename-properties.js.html +1 -1
- package/build/codemods/src/v5/remove-overloads/remove-overloads.js +3 -1
- package/build/codemods/src/v5/remove-overloads/transformers/filter-aware-usage-transformer.js +52 -12
- package/package.json +2 -2
- package/src/__tests__/useInfiniteQuery.test-d.tsx +0 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1712041270799" clover="3.2.0">
|
|
3
|
+
<project timestamp="1712041270799" name="All files">
|
|
4
|
+
<metrics statements="2080" coveredstatements="0" conditionals="344" coveredconditionals="0" methods="485" coveredmethods="0" elements="2909" coveredelements="0" complexity="0" loc="2080" ncloc="2080" packages="18" files="49" classes="49"/>
|
|
5
5
|
<package name="utils">
|
|
6
6
|
<metrics statements="69" coveredstatements="0" conditionals="35" coveredconditionals="0" methods="23" coveredmethods="0"/>
|
|
7
7
|
<file name="index.js" path="/home/workflows/workspace/packages/query-codemods/src/utils/index.js">
|
|
@@ -1580,15 +1580,15 @@
|
|
|
1580
1580
|
<line num="12" count="0" type="stmt"/>
|
|
1581
1581
|
<line num="14" count="0" type="stmt"/>
|
|
1582
1582
|
<line num="16" count="0" type="stmt"/>
|
|
1583
|
-
<line num="
|
|
1584
|
-
<line num="
|
|
1585
|
-
<line num="
|
|
1583
|
+
<line num="35" count="0" type="stmt"/>
|
|
1584
|
+
<line num="45" count="0" type="stmt"/>
|
|
1585
|
+
<line num="60" count="0" type="stmt"/>
|
|
1586
1586
|
</file>
|
|
1587
1587
|
</package>
|
|
1588
1588
|
<package name="v5.remove-overloads.__testfixtures__">
|
|
1589
|
-
<metrics statements="
|
|
1589
|
+
<metrics statements="358" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="50" coveredmethods="0"/>
|
|
1590
1590
|
<file name="bug-reports.input.tsx" path="/home/workflows/workspace/packages/query-codemods/src/v5/remove-overloads/__testfixtures__/bug-reports.input.tsx">
|
|
1591
|
-
<metrics statements="
|
|
1591
|
+
<metrics statements="16" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="11" coveredmethods="0"/>
|
|
1592
1592
|
<line num="3" count="0" type="stmt"/>
|
|
1593
1593
|
<line num="4" count="0" type="stmt"/>
|
|
1594
1594
|
<line num="5" count="0" type="stmt"/>
|
|
@@ -1600,9 +1600,14 @@
|
|
|
1600
1600
|
<line num="17" count="0" type="stmt"/>
|
|
1601
1601
|
<line num="22" count="0" type="stmt"/>
|
|
1602
1602
|
<line num="24" count="0" type="stmt"/>
|
|
1603
|
+
<line num="31" count="0" type="stmt"/>
|
|
1604
|
+
<line num="32" count="0" type="stmt"/>
|
|
1605
|
+
<line num="40" count="0" type="stmt"/>
|
|
1606
|
+
<line num="42" count="0" type="stmt"/>
|
|
1607
|
+
<line num="49" count="0" type="stmt"/>
|
|
1603
1608
|
</file>
|
|
1604
1609
|
<file name="bug-reports.output.tsx" path="/home/workflows/workspace/packages/query-codemods/src/v5/remove-overloads/__testfixtures__/bug-reports.output.tsx">
|
|
1605
|
-
<metrics statements="
|
|
1610
|
+
<metrics statements="16" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="11" coveredmethods="0"/>
|
|
1606
1611
|
<line num="3" count="0" type="stmt"/>
|
|
1607
1612
|
<line num="4" count="0" type="stmt"/>
|
|
1608
1613
|
<line num="5" count="0" type="stmt"/>
|
|
@@ -1614,6 +1619,11 @@
|
|
|
1614
1619
|
<line num="23" count="0" type="stmt"/>
|
|
1615
1620
|
<line num="28" count="0" type="stmt"/>
|
|
1616
1621
|
<line num="30" count="0" type="stmt"/>
|
|
1622
|
+
<line num="37" count="0" type="stmt"/>
|
|
1623
|
+
<line num="39" count="0" type="stmt"/>
|
|
1624
|
+
<line num="48" count="0" type="stmt"/>
|
|
1625
|
+
<line num="50" count="0" type="stmt"/>
|
|
1626
|
+
<line num="57" count="0" type="stmt"/>
|
|
1617
1627
|
</file>
|
|
1618
1628
|
<file name="default-import.input.tsx" path="/home/workflows/workspace/packages/query-codemods/src/v5/remove-overloads/__testfixtures__/default-import.input.tsx">
|
|
1619
1629
|
<metrics statements="160" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
@@ -1949,9 +1959,9 @@
|
|
|
1949
1959
|
</file>
|
|
1950
1960
|
</package>
|
|
1951
1961
|
<package name="v5.remove-overloads.transformers">
|
|
1952
|
-
<metrics statements="
|
|
1962
|
+
<metrics statements="136" coveredstatements="0" conditionals="79" coveredconditionals="0" methods="15" coveredmethods="0"/>
|
|
1953
1963
|
<file name="filter-aware-usage-transformer.js" path="/home/workflows/workspace/packages/query-codemods/src/v5/remove-overloads/transformers/filter-aware-usage-transformer.js">
|
|
1954
|
-
<metrics statements="
|
|
1964
|
+
<metrics statements="70" coveredstatements="0" conditionals="43" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
1955
1965
|
<line num="2" count="0" type="stmt"/>
|
|
1956
1966
|
<line num="4" count="0" type="stmt"/>
|
|
1957
1967
|
<line num="6" count="0" type="stmt"/>
|
|
@@ -1959,60 +1969,69 @@
|
|
|
1959
1969
|
<line num="10" count="0" type="stmt"/>
|
|
1960
1970
|
<line num="19" count="0" type="stmt"/>
|
|
1961
1971
|
<line num="26" count="0" type="stmt"/>
|
|
1962
|
-
<line num="33" count="0" type="stmt"/>
|
|
1963
1972
|
<line num="34" count="0" type="stmt"/>
|
|
1964
|
-
<line num="
|
|
1973
|
+
<line num="35" count="0" type="stmt"/>
|
|
1965
1974
|
<line num="37" count="0" type="stmt"/>
|
|
1966
|
-
<line num="
|
|
1967
|
-
<line num="
|
|
1968
|
-
<line num="
|
|
1969
|
-
<line num="
|
|
1970
|
-
<line num="62" count="0" type="stmt"/>
|
|
1975
|
+
<line num="38" count="0" type="stmt"/>
|
|
1976
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1977
|
+
<line num="49" count="0" type="stmt"/>
|
|
1978
|
+
<line num="63" count="0" type="stmt"/>
|
|
1971
1979
|
<line num="64" count="0" type="stmt"/>
|
|
1972
|
-
<line num="
|
|
1973
|
-
<line num="
|
|
1980
|
+
<line num="65" count="0" type="stmt"/>
|
|
1981
|
+
<line num="67" count="0" type="stmt"/>
|
|
1974
1982
|
<line num="73" count="0" type="stmt"/>
|
|
1975
|
-
<line num="74" count="0" type="
|
|
1976
|
-
<line num="
|
|
1977
|
-
<line num="
|
|
1978
|
-
<line num="
|
|
1979
|
-
<line num="
|
|
1980
|
-
<line num="
|
|
1981
|
-
<line num="
|
|
1982
|
-
<line num="
|
|
1983
|
+
<line num="74" count="0" type="stmt"/>
|
|
1984
|
+
<line num="76" count="0" type="stmt"/>
|
|
1985
|
+
<line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1986
|
+
<line num="78" count="0" type="stmt"/>
|
|
1987
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1988
|
+
<line num="82" count="0" type="stmt"/>
|
|
1989
|
+
<line num="88" count="0" type="stmt"/>
|
|
1990
|
+
<line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1983
1991
|
<line num="96" count="0" type="stmt"/>
|
|
1984
|
-
<line num="
|
|
1985
|
-
<line num="
|
|
1992
|
+
<line num="98" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1993
|
+
<line num="99" count="0" type="stmt"/>
|
|
1994
|
+
<line num="106" count="0" type="stmt"/>
|
|
1995
|
+
<line num="107" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1996
|
+
<line num="108" count="0" type="stmt"/>
|
|
1997
|
+
<line num="116" count="0" type="stmt"/>
|
|
1986
1998
|
<line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1987
1999
|
<line num="120" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1988
2000
|
<line num="121" count="0" type="stmt"/>
|
|
1989
|
-
<line num="
|
|
1990
|
-
<line num="
|
|
1991
|
-
<line num="
|
|
1992
|
-
<line num="
|
|
1993
|
-
<line num="
|
|
1994
|
-
<line num="
|
|
1995
|
-
<line num="
|
|
1996
|
-
<line num="
|
|
1997
|
-
<line num="
|
|
1998
|
-
<line num="153" count="0" type="stmt"/>
|
|
2001
|
+
<line num="128" count="0" type="stmt"/>
|
|
2002
|
+
<line num="134" count="0" type="stmt"/>
|
|
2003
|
+
<line num="145" count="0" type="stmt"/>
|
|
2004
|
+
<line num="156" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2005
|
+
<line num="158" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2006
|
+
<line num="160" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2007
|
+
<line num="161" count="0" type="stmt"/>
|
|
2008
|
+
<line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2009
|
+
<line num="165" count="0" type="stmt"/>
|
|
1999
2010
|
<line num="166" count="0" type="stmt"/>
|
|
2000
|
-
<line num="
|
|
2001
|
-
<line num="
|
|
2002
|
-
<line num="
|
|
2003
|
-
<line num="
|
|
2004
|
-
<line num="
|
|
2005
|
-
<line num="
|
|
2006
|
-
<line num="
|
|
2007
|
-
<line num="
|
|
2008
|
-
<line num="
|
|
2011
|
+
<line num="179" count="0" type="stmt"/>
|
|
2012
|
+
<line num="186" count="0" type="stmt"/>
|
|
2013
|
+
<line num="187" count="0" type="stmt"/>
|
|
2014
|
+
<line num="189" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2015
|
+
<line num="190" count="0" type="stmt"/>
|
|
2016
|
+
<line num="192" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2017
|
+
<line num="193" count="0" type="stmt"/>
|
|
2018
|
+
<line num="206" count="0" type="stmt"/>
|
|
2019
|
+
<line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2020
|
+
<line num="210" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2009
2021
|
<line num="211" count="0" type="stmt"/>
|
|
2010
|
-
<line num="
|
|
2011
|
-
<line num="
|
|
2012
|
-
<line num="
|
|
2013
|
-
<line num="
|
|
2014
|
-
<line num="
|
|
2015
|
-
<line num="
|
|
2022
|
+
<line num="218" count="0" type="stmt"/>
|
|
2023
|
+
<line num="224" count="0" type="stmt"/>
|
|
2024
|
+
<line num="234" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2025
|
+
<line num="235" count="0" type="stmt"/>
|
|
2026
|
+
<line num="242" count="0" type="stmt"/>
|
|
2027
|
+
<line num="249" count="0" type="stmt"/>
|
|
2028
|
+
<line num="251" count="0" type="stmt"/>
|
|
2029
|
+
<line num="253" count="0" type="stmt"/>
|
|
2030
|
+
<line num="259" count="0" type="stmt"/>
|
|
2031
|
+
<line num="263" count="0" type="stmt"/>
|
|
2032
|
+
<line num="268" count="0" type="stmt"/>
|
|
2033
|
+
<line num="273" count="0" type="stmt"/>
|
|
2034
|
+
<line num="276" count="0" type="stmt"/>
|
|
2016
2035
|
</file>
|
|
2017
2036
|
<file name="query-fn-aware-usage-transformer.js" path="/home/workflows/workspace/packages/query-codemods/src/v5/remove-overloads/transformers/query-fn-aware-usage-transformer.js">
|
|
2018
2037
|
<metrics statements="66" coveredstatements="0" conditionals="36" coveredconditionals="0" methods="8" coveredmethods="0"/>
|