kysely 0.29.0 → 0.29.1

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://stand-with-ukraine.pp.ua)
2
2
 
3
3
  [![NPM Version](https://img.shields.io/npm/v/kysely?style=flat&label=latest)](https://github.com/kysely-org/kysely/releases/latest)
4
- [![Socket Badge](https://badge.socket.dev/npm/package/kysely/0.29.0-rc.0)](https://socket.dev/npm/package/kysely/overview/0.29.0-rc.0)
4
+ [![Socket Badge](https://badge.socket.dev/npm/package/kysely/0.29.1)](https://socket.dev/npm/package/kysely/overview/0.29.1)
5
5
  [![Tests](https://github.com/kysely-org/kysely/actions/workflows/test.yml/badge.svg)](https://github.com/kysely-org/kysely)
6
6
  [![License](https://img.shields.io/github/license/kysely-org/kysely?style=flat)](https://github.com/kysely-org/kysely/blob/master/LICENSE)
7
7
  [![Issues](https://img.shields.io/github/issues-closed/kysely-org/kysely?logo=github)](https://github.com/kysely-org/kysely/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)
@@ -160,13 +160,9 @@ export class QueryExecutorBase {
160
160
  }
161
161
  }
162
162
  async #transformResult(result, queryId, options) {
163
- const args = freeze({
164
- queryId,
165
- result,
166
- signal: options?.signal,
167
- });
163
+ const { signal } = options || {};
168
164
  for (const plugin of this.#plugins) {
169
- result = await plugin.transformResult(args);
165
+ result = await plugin.transformResult(freeze({ queryId, result, signal }));
170
166
  }
171
167
  return result;
172
168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kysely",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "Type safe SQL query builder",
5
5
  "repository": {
6
6
  "type": "git",
@@ -68,33 +68,33 @@
68
68
  "@types/chai": "5.2.3",
69
69
  "@types/chai-as-promised": "8.0.2",
70
70
  "@types/mocha": "10.0.10",
71
- "@types/node": "25.6.1",
71
+ "@types/node": "25.8.0",
72
72
  "@types/pg": "8.20.0",
73
73
  "@types/pg-cursor": "2.7.2",
74
74
  "@types/prototype-pollution-vulnerable-lodash.merge-dont-upgrade": "npm:@types/lodash.merge@4.6.1",
75
75
  "@types/semver": "7.7.1",
76
76
  "@types/sinon": "21.0.1",
77
- "better-sqlite3": "12.9.0",
77
+ "better-sqlite3": "12.10.0",
78
78
  "chai": "6.2.2",
79
79
  "chai-as-promised": "8.0.2",
80
80
  "esbuild": "0.28.0",
81
81
  "jsr": "0.14.3",
82
- "lodash": "4.18.1",
83
82
  "mocha": "11.7.5",
84
83
  "mysql2": "3.22.3",
85
84
  "pathe": "2.0.3",
86
85
  "pg": "8.20.0",
87
86
  "pg-cursor": "2.19.0",
88
- "playwright": "1.59.1",
87
+ "playwright": "1.60.0",
89
88
  "prettier": "3.8.3",
90
89
  "prototype-pollution-vulnerable-lodash.merge-dont-upgrade": "npm:lodash.merge@4.6.1",
91
- "semver": "7.7.4",
90
+ "remeda": "2.34.1",
91
+ "semver": "7.8.0",
92
92
  "sinon": "22.0.0",
93
93
  "std-env": "4.1.0",
94
94
  "tarn": "3.0.2",
95
95
  "tedious": "19.2.1",
96
96
  "tsd": "0.33.0",
97
- "tsx": "4.21.0",
97
+ "tsx": "4.22.0",
98
98
  "typescript": "6.0.3"
99
99
  },
100
100
  "scripts": {
@@ -121,7 +121,7 @@
121
121
  "script:copy-interface-doc": "node scripts/copy-interface-documentation.cjs",
122
122
  "script:add-deno-type-references": "node scripts/add-deno-type-references.cjs",
123
123
  "script:align-versions": "node --experimental-strip-types scripts/align-versions.mts",
124
- "script:generate-site-examples": "node scripts/generate-site-examples.cjs",
124
+ "script:generate-site-examples": "node scripts/generate-site-examples.mts",
125
125
  "script:override-tsconfig-target": "node --experimental-strip-types scripts/override-tsconfig-target.mts",
126
126
  "script:remove-global-augmentations": "node --experimental-strip-types scripts/remove-global-augmentations.mts",
127
127
  "version": "pnpm script:align-versions && git add ."