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

@typeschema/class-validator

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typeschema/class-validator - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

13

dist/index.js
"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;

@@ -18,2 +20,10 @@ var __export = (target, all) => {

};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

@@ -36,6 +46,5 @@

try {
const moduleName = "class-validator";
const { validate: validate2 } = await import(
/* webpackIgnore: true */
moduleName
"class-validator"
);

@@ -42,0 +51,0 @@ return { validate: validate2 };

7

package.json

@@ -5,3 +5,3 @@ {

"//version": "This field is manually maintained.",
"version": "0.1.1",
"version": "0.1.2",
"//description": "This field is manually maintained.",

@@ -58,3 +58,6 @@ "description": "Reusable adapter for class-validator classes",

},
"//peerDependencies": "This field is manually maintained.",
"//peerDependencies": {
"//": "This field is manually maintained.",
"class-validator": "Required for inference and validation"
},
"peerDependencies": {

@@ -61,0 +64,0 @@ "class-validator": "^0.14.1"

@@ -41,2 +41,5 @@ <!-- This file is generated. Do not modify it manually! -->

## Dependencies
- [`class-validator`](https://www.npmjs.com/package/class-validator): Required for inference and validation (`^0.14.1`)
## API

@@ -43,0 +46,0 @@

Sorry, the diff of this file is not supported yet

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