Socket
Socket
Sign inDemoInstall

routing-controllers

Package Overview
Dependencies
177
Maintainers
4
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.0 to 0.10.1

2

cjs/ActionParameterHandler.js

@@ -215,3 +215,3 @@ "use strict";

if (isValidationEnabled && shouldValidate) {
const options = Object.assign({}, this.driver.validationOptions, paramMetadata.validate);
const options = Object.assign({ forbidUnknownValues: false }, this.driver.validationOptions, paramMetadata.validate);
return (0, class_validator_1.validateOrReject)(value, options)

@@ -218,0 +218,0 @@ .then(() => value)

@@ -212,3 +212,3 @@ import { plainToInstance } from 'class-transformer';

if (isValidationEnabled && shouldValidate) {
const options = Object.assign({}, this.driver.validationOptions, paramMetadata.validate);
const options = Object.assign({ forbidUnknownValues: false }, this.driver.validationOptions, paramMetadata.validate);
return validate(value, options)

@@ -215,0 +215,0 @@ .then(() => value)

{
"name": "routing-controllers",
"private": false,
"version": "0.10.0",
"version": "0.10.1",
"description": "Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.",

@@ -34,3 +34,3 @@ "author": "TypeStack contributors",

"class-transformer": "^0.5.1",
"class-validator": "^0.13.2"
"class-validator": "^0.14.0"
},

@@ -43,3 +43,3 @@ "optionalDependencies": {

"express-session": "^1.17.3",
"koa": "^2.13.4",
"koa": "^2.14.1",
"koa-bodyparser": "^4.3.0",

@@ -46,0 +46,0 @@ "multer": "^1.4.4"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc