Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@nestjs/common

Package Overview
Dependencies
16
Maintainers
1
Versions
358
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.3.4 to 9.3.5

2

package.json
{
"name": "@nestjs/common",
"version": "9.3.4",
"version": "9.3.5",
"description": "Nest - modern, fast, powerful node.js web framework (@common)",

@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec",

@@ -86,3 +86,6 @@ "use strict";

}
return Object.keys(this.validatorOptions).length > 0
// we check if the number of keys of the "validatorOptions" is higher than 1 (instead of 0)
// because the "forbidUnknownValues" now fallbacks to "false" (in case it wasn't explicitly specified)
const shouldTransformToPlain = Object.keys(this.validatorOptions).length > 1;
return shouldTransformToPlain
? classTransformer.classToPlain(entity, this.transformOptions)

@@ -89,0 +92,0 @@ : value;

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