knex 0.95.3 → 0.95.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Master (Unreleased)
2
2
 
3
+ # 0.95.4 - 26 March, 2021
4
+
5
+ ### Typings:
6
+
7
+ - Fix mistyping of stream #4400
8
+
3
9
  # 0.95.3 - 25 March, 2021
4
10
 
5
11
  ### New features:
package/bin/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knex",
3
- "version": "0.95.3",
3
+ "version": "0.95.4",
4
4
  "description": "A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser",
5
5
  "main": "knex",
6
6
  "types": "types/index.d.ts",
package/types/index.d.ts CHANGED
@@ -1737,13 +1737,12 @@ export declare namespace Knex {
1737
1737
  connection(connection: any): this;
1738
1738
  debug(enabled: boolean): this;
1739
1739
  transacting(trx: Transaction): this;
1740
- stream(): AsyncIterable<ArrayMember<T>>;
1741
1740
  stream(handler: (readable: stream.PassThrough) => any): Promise<any>;
1742
1741
  stream(
1743
1742
  options: Readonly<{ [key: string]: any }>,
1744
1743
  handler: (readable: stream.PassThrough) => any
1745
1744
  ): Promise<any>;
1746
- stream(options?: Readonly<{ [key: string]: any }>): stream.PassThrough;
1745
+ stream(options?: Readonly<{ [key: string]: any }>): stream.PassThrough & AsyncIterable<ArrayMember<T>>;
1747
1746
  pipe<T extends NodeJS.WritableStream>(
1748
1747
  writable: T,
1749
1748
  options?: Readonly<{ [key: string]: any }>