@typeschema/class-validator
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -45,10 +45,11 @@ "use strict"; | ||
try { | ||
const { validate: validate2 } = await import( | ||
var dynamicallyImportedModule = await import( | ||
/* webpackIgnore: true */ | ||
"class-validator" | ||
); | ||
return { validate: validate2 }; | ||
} catch (error) { | ||
throw error; | ||
} catch (moduleImportError) { | ||
throw moduleImportError; | ||
} | ||
const { validate: validate2 } = dynamicallyImportedModule; | ||
return { validate: validate2 }; | ||
}); | ||
@@ -55,0 +56,0 @@ var validationAdapter = async (schema) => { |
@@ -5,3 +5,3 @@ { | ||
"//version": "This field is manually maintained.", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"//description": "This field is manually maintained.", | ||
@@ -52,3 +52,3 @@ "description": "Reusable adapter for class-validator classes", | ||
"dependencies": { | ||
"@typeschema/core": "0.13.2" | ||
"@typeschema/core": "0.14.0" | ||
}, | ||
@@ -76,4 +76,5 @@ "//devDependencies": "This field is manually maintained.", | ||
"lint:package": "publint && attw --pack", | ||
"test": "vitest --config ../../vitest.config.ts" | ||
"test": "vitest --config ../../vitest.config.ts", | ||
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow" | ||
} | ||
} |
@@ -49,2 +49,3 @@ <!-- This file is generated. Do not modify it manually! --> | ||
- `InferIn<TSchema>`: Extracts the input type of a schema | ||
### Validation | ||
@@ -51,0 +52,0 @@ - `wrap(schema)`: Returns the wrapped schema with access to its operations |
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
12094
54
154
+ Added@typeschema/core@0.14.0(transitive)
- Removed@typeschema/core@0.13.2(transitive)
Updated@typeschema/core@0.14.0