nest-knexjs 0.0.16 → 0.0.18
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.
|
@@ -16,7 +16,7 @@ jobs:
|
|
|
16
16
|
node-version: [16.x, 18.x]
|
|
17
17
|
|
|
18
18
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
20
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
21
21
|
uses: actions/setup-node@v3
|
|
22
22
|
with:
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
needs: [build]
|
|
35
35
|
|
|
36
36
|
steps:
|
|
37
|
-
- uses: actions/checkout@
|
|
37
|
+
- uses: actions/checkout@v4
|
|
38
38
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
39
39
|
uses: actions/setup-node@v3
|
|
40
40
|
with:
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { KnexModuleOptions } from '../interfaces/knex-options.interface';
|
|
2
|
-
export declare const InjectModel: (connection?: string) =>
|
|
2
|
+
export declare const InjectModel: (connection?: string) => PropertyDecorator & ParameterDecorator;
|
|
3
3
|
export declare const InjectConnection: (connection?: KnexModuleOptions | string) => ParameterDecorator;
|
package/dist/knex-core.module.js
CHANGED
|
@@ -98,10 +98,10 @@ let KnexCoreModule = KnexCoreModule_1 = class KnexCoreModule {
|
|
|
98
98
|
}).pipe((0, knex_utils_1.handleRetry)(options.retryAttempts, options.retryDelay)));
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
KnexCoreModule =
|
|
101
|
+
exports.KnexCoreModule = KnexCoreModule;
|
|
102
|
+
exports.KnexCoreModule = KnexCoreModule = KnexCoreModule_1 = __decorate([
|
|
102
103
|
(0, common_1.Global)(),
|
|
103
104
|
(0, common_1.Module)({}),
|
|
104
105
|
__param(0, (0, common_1.Inject)(knex_constants_1.KNEX_MODULE_OPTIONS)),
|
|
105
106
|
__metadata("design:paramtypes", [Object, core_1.ModuleRef])
|
|
106
107
|
], KnexCoreModule);
|
|
107
|
-
exports.KnexCoreModule = KnexCoreModule;
|
package/dist/knex.module.js
CHANGED
|
@@ -24,7 +24,7 @@ let KnexModule = KnexModule_1 = class KnexModule {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
KnexModule =
|
|
27
|
+
exports.KnexModule = KnexModule;
|
|
28
|
+
exports.KnexModule = KnexModule = KnexModule_1 = __decorate([
|
|
28
29
|
(0, common_1.Module)({})
|
|
29
30
|
], KnexModule);
|
|
30
|
-
exports.KnexModule = KnexModule;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nest-knexjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "Knexjs module for Nest framework (node.js) 😻",
|
|
5
5
|
"author": "Tony133",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,38 +19,38 @@
|
|
|
19
19
|
"prepare": "husky install"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@commitlint/cli": "17.
|
|
23
|
-
"@commitlint/config-angular": "17.
|
|
24
|
-
"@nestjs/common": "
|
|
25
|
-
"@nestjs/core": "
|
|
26
|
-
"@nestjs/platform-express": "
|
|
27
|
-
"@nestjs/testing": "
|
|
22
|
+
"@commitlint/cli": "17.7.1",
|
|
23
|
+
"@commitlint/config-angular": "17.7.0",
|
|
24
|
+
"@nestjs/common": "10.2.4",
|
|
25
|
+
"@nestjs/core": "10.2.4",
|
|
26
|
+
"@nestjs/platform-express": "10.2.4",
|
|
27
|
+
"@nestjs/testing": "10.2.4",
|
|
28
28
|
"@types/express": "4.17.17",
|
|
29
|
-
"@types/jest": "29.5.
|
|
30
|
-
"@types/node": "20.
|
|
29
|
+
"@types/jest": "29.5.4",
|
|
30
|
+
"@types/node": "20.6.0",
|
|
31
31
|
"@types/supertest": "2.0.12",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "
|
|
33
|
-
"@typescript-eslint/parser": "
|
|
34
|
-
"eslint": "8.
|
|
35
|
-
"eslint-config-prettier": "
|
|
36
|
-
"eslint-plugin-import": "2.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "6.6.0",
|
|
33
|
+
"@typescript-eslint/parser": "6.6.0",
|
|
34
|
+
"eslint": "8.49.0",
|
|
35
|
+
"eslint-config-prettier": "9.0.0",
|
|
36
|
+
"eslint-plugin-import": "2.28.1",
|
|
37
37
|
"husky": "8.0.3",
|
|
38
|
-
"jest": "29.
|
|
39
|
-
"knex": "2.
|
|
38
|
+
"jest": "29.6.4",
|
|
39
|
+
"knex": "2.5.1",
|
|
40
40
|
"mysql": "2.18.1",
|
|
41
|
-
"prettier": "
|
|
41
|
+
"prettier": "3.0.3",
|
|
42
42
|
"reflect-metadata": "0.1.13",
|
|
43
|
-
"release-it": "
|
|
43
|
+
"release-it": "16.1.5",
|
|
44
44
|
"rxjs": "7.8.1",
|
|
45
45
|
"supertest": "6.3.3",
|
|
46
|
-
"ts-jest": "29.1.
|
|
46
|
+
"ts-jest": "29.1.1",
|
|
47
47
|
"ts-node": "10.9.1",
|
|
48
48
|
"tsconfig-paths": "4.2.0",
|
|
49
|
-
"typescript": "5.
|
|
49
|
+
"typescript": "5.2.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
|
53
|
-
"@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
|
52
|
+
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
53
|
+
"@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
54
54
|
"knex": "^0.21.17 || ^0.95.0 || ^1.0.0 || ^2.0.0",
|
|
55
55
|
"reflect-metadata": "^0.1.13",
|
|
56
56
|
"rxjs": "^6.6.3 || ^7.2.0"
|