@tanstack/react-query 5.0.0-alpha.57 → 5.0.0-alpha.59

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.
@@ -1,10 +1,11 @@
1
1
  class UnknownUsageError extends Error {
2
2
  /**
3
3
  * @param {import('jscodeshift').CallExpression} callExpression
4
+ * @param {string} filePath
4
5
  */
5
6
  constructor(callExpression, filePath) {
6
7
  super('')
7
- this.message = this.#buildMessage(callExpression, filePath)
8
+ this.message = this.buildMessage(callExpression, filePath)
8
9
  this.name = 'UnknownUsageError'
9
10
  }
10
11
 
@@ -14,7 +15,7 @@ class UnknownUsageError extends Error {
14
15
  * @param {string} filePath
15
16
  * @returns {string}
16
17
  */
17
- #buildMessage(callExpression, filePath) {
18
+ buildMessage(callExpression, filePath) {
18
19
  const location = callExpression.callee.loc
19
20
  const start = location.start.line
20
21
  const end = location.end.line
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-query",
3
- "version": "5.0.0-alpha.57",
3
+ "version": "5.0.0-alpha.59",
4
4
  "description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",