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

@dolsem/class-validator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dolsem/class-validator - npm Package Compare versions

Comparing version 0.10.0-rc.1 to 0.10.0-rc.1b

.editorconfig

2

package.json
{
"name": "@dolsem/class-validator",
"private": false,
"version": "0.10.0-rc.1",
"version": "0.10.0-rc.1b",
"description": "Class-based validation with Typescript / ES6 / ES5 using decorators or validation schemas. Supports both node.js and browser",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -53,3 +53,3 @@ # class-validator

```javascript
```typescript
import {validate, validateOrReject, Contains, IsInt, Length, IsEmail, IsFQDN, IsDate, Min, Max} from "class-validator";

@@ -136,3 +136,3 @@

```javascript
```typescript
{

@@ -151,3 +151,3 @@ target: Object; // Object that was validated.

```javascript
```typescript
[{

@@ -174,3 +174,3 @@ target: /* post object */,

```javascript
```typescript
validator.validate(post, { validationError: { target: false } });

@@ -187,3 +187,3 @@ ```

```javascript
```typescript
import {MinLength, MaxLength} from "class-validator";

@@ -211,3 +211,3 @@

```javascript
```typescript
import {MinLength, MaxLength} from "class-validator";

@@ -229,3 +229,3 @@

```javascript
```typescript
import {MinLength, MaxLength, ValidationArguments} from "class-validator";

@@ -260,3 +260,3 @@

```javascript
```typescript
import {MinLength, MaxLength} from "class-validator";

@@ -280,3 +280,3 @@

```javascript
```typescript
import {MinLength, MaxLength} from "class-validator";

@@ -300,3 +300,3 @@

```javascript
```typescript
import {MinLength, MaxLength} from "class-validator";

@@ -320,3 +320,3 @@

```javascript
```typescript
import {ValidateNested} from "class-validator";

@@ -336,3 +336,3 @@

```javascript
```typescript
import {ValidatePromise, Min} from "class-validator";

@@ -351,3 +351,3 @@

```javascript
```typescript
import {ValidateNested, ValidatePromise} from "class-validator";

@@ -368,3 +368,3 @@

```javascript
```typescript
import {validate} from "class-validator";

@@ -411,3 +411,3 @@

```javascript
```typescript
import {ValidateIf, IsNotEmpty} from "class-validator";

@@ -433,3 +433,3 @@

```javascript
```typescript
import {validate} from "class-validator";

@@ -443,3 +443,3 @@ // ...

```javascript
```typescript
import {validate, Allow, Min} from "class-validator";

@@ -475,3 +475,3 @@

```javascript
```typescript
import {validate} from "class-validator";

@@ -514,3 +514,3 @@ // ...

```javascript
```typescript
import {validate} from "class-validator";

@@ -530,3 +530,3 @@ // ...

```javascript
```typescript
import {validate, Min, Length} from "class-validator";

@@ -581,3 +581,3 @@

```javascript
```typescript
import {ValidatorConstraint, ValidatorConstraintInterface, ValidationArguments} from "class-validator";

@@ -614,3 +614,3 @@

```javascript
```typescript
import {Validate} from "class-validator";

@@ -633,3 +633,3 @@ import {CustomTextLength} from "./CustomTextLength";

```javascript
```typescript
import {validate} from "class-validator";

@@ -644,3 +644,3 @@

```javascript
```typescript
import {Validate} from "class-validator";

@@ -661,3 +661,3 @@ import {CustomTextLength} from "./CustomTextLength";

```javascript
```typescript
import {ValidationArguments, ValidatorConstraint, ValidatorConstraintInterface} from "class-validator";

@@ -682,3 +682,3 @@

```javascript
```typescript
import {registerDecorator, ValidationOptions, ValidationArguments} from "class-validator";

@@ -710,3 +710,3 @@

```javascript
```typescript
import {IsLongerThan} from "./IsLongerThan";

@@ -732,3 +732,3 @@

```javascript
```typescript
import {registerDecorator, ValidationOptions, ValidatorConstraint, ValidatorConstraintInterface, ValidationArguments} from "class-validator";

@@ -765,3 +765,3 @@

```javascript
```typescript
import {IsUserAlreadyExist} from "./IsUserAlreadyExist";

@@ -784,3 +784,3 @@

```javascript
```typescript
import {Container} from "typedi";

@@ -807,3 +807,3 @@ import {useContainer, Validator} from "class-validator";

```javascript
```typescript
import {Validator} from "class-validator";

@@ -1005,3 +1005,3 @@

```javascript
```typescript
import {ValidationSchema} from "class-validator";

@@ -1036,3 +1036,3 @@ export let UserValidationSchema: ValidationSchema = { // using interface here is not required, its just for type-safety

```javascript
```typescript
import {registerSchema} from "class-validator";

@@ -1047,3 +1047,3 @@ import {UserValidationSchema} from "./UserValidationSchema";

```javascript
```typescript
import {validate} from "class-validator";

@@ -1050,0 +1050,0 @@ const user = { firstName: "Johny", secondName: "Cage", email: "johny@cage.com" };

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