@trpc/upgrade 11.22.2-canary.7.c01346ec8 → 11.23.0

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/bin.mjs CHANGED
@@ -12,7 +12,7 @@ import { promisify } from "node:util";
12
12
  var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
13
13
  //#endregion
14
14
  //#region package.json
15
- var version = "11.22.2-canary.7.c01346ec8";
15
+ var version = "11.23.0";
16
16
  //#endregion
17
17
  //#region src/lib/ast/scanners.ts
18
18
  function getProgram() {
@@ -1 +1 @@
1
- {"version":3,"file":"hooksToOptions.d.cts","names":[],"sources":["../../src/transforms/hooksToOptions.ts"],"mappings":";;UAgBU,yBAAyB;EACjC;;wBA6CsB,UACtB,MAAM,UACN,KAAK,KACL,SAAS;qBA2XE"}
1
+ {"version":3,"file":"hooksToOptions.d.cts","names":[],"sources":["../../src/transforms/hooksToOptions.ts"],"mappings":";;UAgBU,yBAAyB;EACjC;;wBA6CsB,UACtB,MAAM,UACN,KAAK,KACL,SAAS;qBA6XE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/upgrade",
3
- "version": "11.22.2-canary.7.c01346ec8",
3
+ "version": "11.23.0",
4
4
  "description": "Upgrade scripts for tRPC",
5
5
  "author": "juliusmarminge",
6
6
  "license": "MIT",
@@ -38,13 +38,14 @@
38
38
  "typescript": "^6.0.3"
39
39
  },
40
40
  "devDependencies": {
41
- "@tanstack/react-query": "^5.80.3",
42
- "@trpc/client": "11.22.2-canary.7.c01346ec8",
43
- "@trpc/react-query": "11.22.2-canary.7.c01346ec8",
44
- "@trpc/server": "11.22.2-canary.7.c01346ec8",
45
- "@trpc/tanstack-react-query": "11.22.2-canary.7.c01346ec8",
41
+ "@tanstack/react-query": "^5.105.0",
42
+ "@trpc/client": "11.23.0",
43
+ "@trpc/react-query": "11.23.0",
44
+ "@trpc/server": "11.23.0",
45
+ "@trpc/tanstack-react-query": "11.23.0",
46
46
  "@types/jscodeshift": "17.3.0",
47
47
  "@types/node": "^24.13.4",
48
+ "oxfmt": "^0.75.0",
48
49
  "react": "^19.1.0",
49
50
  "react-dom": "^19.1.0",
50
51
  "tsdown": "0.23.0",
@@ -56,5 +57,5 @@
56
57
  "funding": [
57
58
  "https://trpc.io/sponsor"
58
59
  ],
59
- "gitHead": "c01346ec806b650af0bff74d3c13cdadb7887c8d"
60
+ "gitHead": "c3c5ebb95499dc8e91b639013c22d695be8c3cf8"
60
61
  }
@@ -1,5 +1,5 @@
1
- /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
- /* eslint-disable no-console */
1
+ /* oxlint-disable typescript/no-non-null-assertion */
2
+ /* oxlint-disable no-console */
3
3
  import type {
4
4
  API,
5
5
  ArrowFunctionExpression,
@@ -262,10 +262,12 @@ export default function transform(
262
262
  return;
263
263
  }
264
264
 
265
- if (!(
266
- j.Identifier.check(memberExpr.property) &&
267
- memberExpr.property.name in utilMap
268
- )) {
265
+ if (
266
+ !(
267
+ j.Identifier.check(memberExpr.property) &&
268
+ memberExpr.property.name in utilMap
269
+ )
270
+ ) {
269
271
  console.warn(
270
272
  'Failed to identify utilMethod from proxy call expression',
271
273
  memberExpr,