Skip to content

Commit

Permalink
refactor: Drop support for older versions of class-transformer
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Versions of `class-transformer` older than 0.5 are no longer supported
  • Loading branch information
TriPSs committed Aug 2, 2023
1 parent 321f733 commit e282592
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
},
"peerDependencies": {
"@nestjs/common": "^9.0.0 || ^10.0.0",
"class-transformer": "^0.2.3 || 0.3.1 || ^0.5"
"class-transformer": "^0.5"
}
}
2 changes: 1 addition & 1 deletion packages/query-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@nestjs/common": "^9.0.0 || ^10.0.0",
"@nestjs/core": "^9.0.0 || ^10.0.0",
"@nestjs/graphql": "^11.0.0 || ^12.0.0",
"class-transformer": "^0.2.3 || 0.3.1 || ^0.5",
"class-transformer": "^0.5",
"class-validator": "^0.14.0",
"graphql": "^16.0.0",
"graphql-subscriptions": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/query-typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"peerDependencies": {
"@nestjs/common": "^9.0.0 || ^10.0.0",
"@nestjs/typeorm": "^9.0.0 || ^10.0.0",
"class-transformer": "^0.2.3 || 0.3.1 || ^0.5",
"class-transformer": "^0.5",
"typeorm": "^0.3.15"
},
"repository": {
Expand Down

0 comments on commit e282592

Please sign in to comment.