uql-codemod 0.40.0 → 0.41.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.js CHANGED
File without changes
package/dist/transform.js CHANGED
@@ -23,7 +23,10 @@ const REMOVED_DECORATORS = new Map([
23
23
  * same reason as the decorators: what replaces each is decided at its call site.
24
24
  */
25
25
  const REMOVED_EXPORTS = new Map([
26
- ['setQuerierPool', 'pass the pool where it is used: `createFetchHandler({ pool })`, `querierMiddleware({ pool })`'],
26
+ [
27
+ 'setQuerierPool',
28
+ 'pass the pool where it is used: `createFetchHandler({ pool, include })`, `querierMiddleware({ pool, include })`',
29
+ ],
27
30
  ['getQuerierPool', 'take the pool from the module that builds it, or from Nest DI'],
28
31
  ['getQuerier', 'use `pool.withQuerier(...)` / `pool.transaction(...)`, which release the connection'],
29
32
  ['QueryWhereFieldMap', 'use `QueryWhere`'],
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "uql-codemod",
3
3
  "description": "Upgrade uql-orm across versions that introduce breaking changes",
4
4
  "license": "MIT",
5
- "version": "0.40.0",
5
+ "version": "0.41.0",
6
6
  "type": "module",
7
7
  "engines": {
8
8
  "node": ">=24"