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

@typeschema/class-validator

Package Overview
Dependencies
Maintainers
0
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.2 to 0.2.0

9

dist/index.js

@@ -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

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