Reflect metadata peer version issue
Opened this issue · 0 comments
yasserf commented
hello
I think we should reflect the reflect-metadata in the @nestjs/throttler
I'm currently using v6 of the throttler but v9 of nestjs. This makes nestjs incompatible, although as you can see in the package lock it should be fine
"node_modules/@nestjs/throttler": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/@nestjs/throttler/-/throttler-6.0.0.tgz",
"integrity": "sha512-2mccn9uCMuDiZBG1c+tIHlNIhkyVJAg167wK66GcNNoj6+6qf8fCOxBZbAHUSyOJeoIxcZAhT9wjJRSXqbWY4w==",
"peerDependencies": {
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
"@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
"reflect-metadata": "^0.1.13 || ^0.2.0"
}
},
"node_modules/nestjs-throttler-storage-redis": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/nestjs-throttler-storage-redis/-/nestjs-throttler-storage-redis-0.5.0.tgz",
"integrity": "sha512-WWteDtg3u8b+R2Q63AFnwD9ICtkTojPx7LyGmCfCgkMXexJRQ+1iWIhEAw1/yzyA1u1M00Vc//boGXzKhMrVnA==",
"peerDependencies": {
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
"@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
"@nestjs/throttler": ">=6.0.0",
"ioredis": ">=5.0.0",
"reflect-metadata": "^0.2.1"
}
},