Skip to content

Commit

Permalink
Merge pull request #661 from nestjsx/fix/deps
Browse files Browse the repository at this point in the history
chore: updated deps
  • Loading branch information
michaelyali committed Jan 26, 2021
2 parents 77bb83a + bd01891 commit be5fff7
Show file tree
Hide file tree
Showing 7 changed files with 1,315 additions and 1,031 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
language: node_js

node_js:
- '10'
- '14'

env:
- DOCKER_COMPOSE_VERSION=1.23.1
Expand Down
2 changes: 1 addition & 1 deletion integration/crud-typeorm/seeds.ts
@@ -1,6 +1,6 @@
import { ClassType } from '@nestjsx/util';
import { plainToClass } from 'class-transformer';
import { MigrationInterface, Repository, QueryRunner } from 'typeorm';
import { ClassType } from 'class-transformer/ClassTransformer';
import { Company } from './companies';
import { Project, UserProject } from './projects';
import { Name, User } from './users';
Expand Down
26 changes: 13 additions & 13 deletions package.json
Expand Up @@ -58,33 +58,33 @@
"peerDependencies": {},
"optionalDependencies": {},
"dependencies": {
"@nestjs/common": "7.0.3",
"@nestjs/core": "7.0.3",
"@nestjs/platform-express": "7.0.3",
"@nestjs/swagger": "4.4.0",
"@nestjs/testing": "7.0.3",
"@nestjs/typeorm": "7.0.0",
"@nestjs/common": "7.6.6",
"@nestjs/core": "7.6.6",
"@nestjs/platform-express": "7.6.6",
"@nestjs/swagger": "4.7.12",
"@nestjs/testing": "7.6.6",
"@nestjs/typeorm": "7.1.5",
"@nuxtjs/opencollective": "0.2.2",
"@types/jest": "24.0.18",
"@types/node": "12.7.5",
"@types/qs": "6.5.3",
"@types/supertest": "2.0.8",
"class-transformer": "0.2.3",
"class-validator": "0.10.0",
"class-transformer": "0.3.2",
"class-validator": "0.13.1",
"commitizen": "4.0.3",
"coveralls": "3.0.6",
"cz-conventional-changelog": "3.0.2",
"husky": "3.0.5",
"jest": "24.9.0",
"jest-extended": "0.11.2",
"lerna": "3.16.4",
"mysql": "^2.18.1",
"mysql": "2.18.1",
"nodemon": "1.19.2",
"npm-check": "5.9.0",
"nps": "5.9.8",
"nps-utils": "1.7.0",
"pg": "7.12.1",
"pluralize": "^8.0.0",
"pg": "8.5.1",
"pluralize": "8.0.0",
"prettier": "1.18.2",
"pretty-quick": "1.11.1",
"qs": "6.8.0",
Expand All @@ -93,14 +93,14 @@
"rimraf": "3.0.0",
"rxjs": "6.5.3",
"supertest": "4.0.2",
"swagger-ui-express": "4.1.0",
"swagger-ui-express": "4.1.6",
"ts-jest": "24.1.0",
"ts-node": "8.3.0",
"tsconfig-extends": "1.0.1",
"tsconfig-paths": "3.9.0",
"tslint": "5.20.0",
"tslint-config-prettier": "1.18.0",
"typeorm": "0.2.19",
"typeorm": "0.2.30",
"typescript": "3.6.3",
"validate-commit-msg": "2.14.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/crud-typeorm/src/typeorm-crud.service.ts
Expand Up @@ -18,6 +18,7 @@ import {
ComparisonOperator,
} from '@nestjsx/crud-request';
import {
ClassType,
hasLength,
isArrayFull,
isObject,
Expand All @@ -28,7 +29,6 @@ import {
} from '@nestjsx/util';
import { oO } from '@zmotivat0r/o0';
import { plainToClass } from 'class-transformer';
import { ClassType } from 'class-transformer/ClassTransformer';
import {
Brackets,
ObjectLiteral,
Expand Down
3 changes: 3 additions & 0 deletions packages/util/src/types/class.type.ts
@@ -0,0 +1,3 @@
export type ClassType<T> = {
new (...args: any[]): T;
};
1 change: 1 addition & 0 deletions packages/util/src/types/index.ts
@@ -1 +1,2 @@
export * from './class.type';
export * from './object-literal.type';

0 comments on commit be5fff7

Please sign in to comment.