@typeschema/class-validator
Advanced tools
Comparing version 0.1.1 to 0.1.2
"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 }; |
@@ -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
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
11876
156
53