@algoan/nestjs-http-exception-filter
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.0.4](https://github.com/algoan/nestjs-components/compare/@algoan/nestjs-http-exception-filter@1.0.3...@algoan/nestjs-http-exception-filter@1.0.4) (2020-07-27) | ||
### Bug Fixes | ||
* **deps:** upgrade dependencies ([c62a9b6](https://github.com/algoan/nestjs-components/commit/c62a9b6f9cf84ffe1794c3f9cd60cd98cb68e044)) | ||
## [1.0.3](https://github.com/algoan/nestjs-components/compare/@algoan/nestjs-http-exception-filter@1.0.2...@algoan/nestjs-http-exception-filter@1.0.3) (2020-06-30) | ||
@@ -8,0 +19,0 @@ |
@@ -40,2 +40,5 @@ "use strict"; | ||
const messages = findConstraints(error); | ||
if (messages === undefined) { | ||
return 'Invalid parameter'; | ||
} | ||
Object.keys(messages).forEach((key) => { | ||
@@ -53,2 +56,2 @@ message += `${message === '' ? '' : ' -- '}${messages[key]}`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IudXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZXJyb3IudXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxtQ0FBcUQ7QUFRckQsU0FBZ0IsT0FBTyxDQUFDLFVBQXNDO0lBQzVELElBQUksT0FBTyxVQUFVLEtBQUssUUFBUSxFQUFFO1FBQ2xDLE9BQU8sZUFBZSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0tBQ3BDO0lBRUQsSUFBSSxPQUFPLElBQUksVUFBVSxJQUFJLE9BQU8sVUFBVSxDQUFDLEtBQUssS0FBSyxRQUFRLEVBQUU7UUFDakUsT0FBTyxlQUFlLENBQUMsVUFBVSxDQUFDLEtBQUssQ0FBQyxDQUFDO0tBQzFDO0lBRUQsT0FBTyxFQUFFLENBQUM7QUFDWixDQUFDO0FB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8sQ0FBQyxDQUFDLEdBQVcsRUFBUSxFQUFFO1FBQ2xELE9BQU8sSUFBSSxHQUFHLE9BQU8sS0FBSyxFQUFFLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsTUFBTSxHQUFHLFFBQVEsQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDO0lBQy9ELENBQUMsQ0FBQyxDQUFDO0lBRUgsT0FBTyxPQUFPLENBQUM7QUFDakIsQ0FBQztBQUtELFNBQVMsZUFBZSxDQUFDLEtBQXNCO0lBQzdDLElBQUksZUFBZSxHQUFvQixLQUFLLENBQUM7SUFDN0MsT0FBTyxDQUFDLGdCQUFPLENBQUMsZUFBZSxDQUFDLFFBQVEsQ0FBQyxFQUFFO1FBQ3pDLGVBQWUsR0FBRyxlQUFlLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDO0tBQy9DO0lBRUQsT0FBTyxlQUFlLENBQUMsV0FBVyxDQUFDO0FBQ3JDLENBQUMifQ== |
{ | ||
"name": "@algoan/nestjs-http-exception-filter", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A simple http exception filter for NestJS applications", | ||
@@ -37,15 +37,15 @@ "keywords": [ | ||
"devDependencies": { | ||
"@nestjs/common": "^7.0.7", | ||
"@nestjs/core": "^7.0.7", | ||
"@nestjs/platform-express": "^7.0.7", | ||
"@nestjs/testing": "^7.0.7", | ||
"@types/express": "^4.17.6", | ||
"@types/lodash": "^4.14.149", | ||
"@types/supertest": "^2.0.8", | ||
"@nestjs/common": "^7.3.2", | ||
"@nestjs/core": "^7.3.2", | ||
"@nestjs/platform-express": "^7.3.2", | ||
"@nestjs/testing": "^7.3.2", | ||
"@types/express": "^4.17.7", | ||
"@types/lodash": "^4.14.158", | ||
"@types/supertest": "^2.0.10", | ||
"class-transformer": "^0.2.3", | ||
"class-validator": "^0.11.1", | ||
"class-validator": "^0.12.2", | ||
"express": "^4.17.1", | ||
"jest": "^25.3.0", | ||
"reflect-metadata": "^0.1.13", | ||
"rxjs": "^6.5.5", | ||
"rxjs": "^6.6.0", | ||
"supertest": "^4.0.2", | ||
@@ -55,5 +55,5 @@ "typescript": "^3.8.3" | ||
"dependencies": { | ||
"lodash": "^4.17.15" | ||
"lodash": "^4.17.19" | ||
}, | ||
"gitHead": "6b3ed29225fc983024306391177413ee24d08946" | ||
"gitHead": "d67549da60dd8c30ba2b41928a5df1f153586d70" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17397
133
Updatedlodash@^4.17.19