@loopback/typeorm 0.9.5 → 0.10.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.
@@ -75,19 +75,19 @@ export declare function TypeOrmMixin<T extends MixinTarget<Application>>(superCl
75
75
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): Application;
76
76
  (event: string | symbol, listener: (...args: any[]) => void): Application;
77
77
  };
78
- [EventEmitter.captureRejectionSymbol]?: ((error: Error, event: string, ...args: any[]) => void) | undefined;
79
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
80
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
81
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
78
+ [EventEmitter.captureRejectionSymbol]?: (<K>(error: Error, event: string | symbol, ...args: any[]) => void) | undefined;
79
+ addListener: <K_1>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
80
+ removeListener: <K_2>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
81
+ off: <K_3>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
82
82
  removeAllListeners: (event?: string | symbol | undefined) => Application;
83
83
  setMaxListeners: (n: number) => Application;
84
84
  getMaxListeners: () => number;
85
- listeners: (eventName: string | symbol) => Function[];
86
- rawListeners: (eventName: string | symbol) => Function[];
87
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
88
- listenerCount: (eventName: string | symbol) => number;
89
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
90
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
85
+ listeners: <K_4>(eventName: string | symbol) => Function[];
86
+ rawListeners: <K_5>(eventName: string | symbol) => Function[];
87
+ emit: <K_6>(eventName: string | symbol, ...args: any[]) => boolean;
88
+ listenerCount: <K_7>(eventName: string | symbol, listener?: Function | undefined) => number;
89
+ prependListener: <K_8>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
90
+ prependOnceListener: <K_9>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
91
91
  eventNames: () => (string | symbol)[];
92
92
  };
93
93
  } & T;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/typeorm",
3
3
  "description": "Adds support for TypeORM in LoopBack",
4
- "version": "0.9.5",
4
+ "version": "0.10.0",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "directory": "extensions/typeorm"
14
14
  },
15
15
  "engines": {
16
- "node": "16 || 18 || 20"
16
+ "node": "18 || 20"
17
17
  },
18
18
  "scripts": {
19
19
  "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
@@ -33,27 +33,27 @@
33
33
  "!*/__tests__"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@loopback/boot": "^6.0.0",
37
- "@loopback/core": "^5.0.0",
38
- "@loopback/rest": "^13.0.0"
36
+ "@loopback/boot": "^7.0.0",
37
+ "@loopback/core": "^6.0.0",
38
+ "@loopback/rest": "^14.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "debug": "^4.3.4",
42
42
  "tslib": "^2.6.2",
43
- "typeorm": "^0.3.19"
43
+ "typeorm": "^0.3.20"
44
44
  },
45
45
  "devDependencies": {
46
- "@loopback/boot": "^6.1.5",
47
- "@loopback/build": "^10.1.5",
48
- "@loopback/core": "^5.1.5",
49
- "@loopback/eslint-config": "^14.0.5",
50
- "@loopback/repository": "^6.1.5",
51
- "@loopback/rest": "^13.1.5",
52
- "@loopback/testlab": "^6.1.5",
46
+ "@loopback/boot": "^7.0.0",
47
+ "@loopback/build": "^11.0.0",
48
+ "@loopback/core": "^6.0.0",
49
+ "@loopback/eslint-config": "^15.0.0",
50
+ "@loopback/repository": "^7.0.0",
51
+ "@loopback/rest": "^14.0.0",
52
+ "@loopback/testlab": "^7.0.0",
53
53
  "@types/debug": "^4.1.12",
54
54
  "@types/json-schema": "^7.0.15",
55
- "@types/node": "^16.18.70",
55
+ "@types/node": "^16.18.86",
56
56
  "sqlite3": "^5.1.4"
57
57
  },
58
- "gitHead": "3f73360ac38e1615317cae977ac20c2e124e3518"
58
+ "gitHead": "bb4864f7405492d9c86c7db6e714542a292a8790"
59
59
  }