Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nestjs/swagger

Package Overview
Dependencies
Maintainers
2
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/swagger - npm Package Compare versions

Comparing version 7.1.5 to 7.1.6

8

dist/type-helpers/partial-type.helper.js

@@ -21,5 +21,7 @@ "use strict";

const keysWithValidationConstraints = (0, mapped_types_1.inheritValidationMetadata)(classRef, PartialTypeClass);
keysWithValidationConstraints
.filter((key) => !fields.includes(key))
.forEach((key) => (0, mapped_types_1.applyIsOptionalDecorator)(PartialTypeClass, key));
if (keysWithValidationConstraints) {
keysWithValidationConstraints
.filter((key) => !fields.includes(key))
.forEach((key) => (0, mapped_types_1.applyIsOptionalDecorator)(PartialTypeClass, key));
}
(0, mapped_types_1.inheritTransformationMetadata)(classRef, PartialTypeClass);

@@ -26,0 +28,0 @@ function applyFields(fields) {

{
"name": "@nestjs/swagger",
"version": "7.1.5",
"version": "7.1.6",
"description": "Nest - modern, fast, powerful node.js web framework (@swagger)",

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc