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

class-transformer-validator

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-transformer-validator - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

1

index.d.ts

@@ -10,3 +10,2 @@ import { ValidatorOptions } from "class-validator";

}
export { TransformValidationOptions as TransformValdiationOptions };
/**

@@ -13,0 +12,0 @@ * Asynchronously converts JSON string to class (constructor) object.

20

package.json
{
"name": "class-transformer-validator",
"version": "0.4.1",
"version": "0.5.0",
"description": "A simple wrapper around class-transformer and class-validator which provides nice and programmer-friendly API.",

@@ -9,3 +9,3 @@ "license": "MIT",

"name": "Michał Lytek",
"email": "michal.ly@wp.pl"
"url": "https://github.com/19majkel94"
},

@@ -46,16 +46,16 @@ "repository": {

"devDependencies": {
"@types/chai": "^4.0.4",
"@types/chai": "^4.1.2",
"@types/chai-as-promised": "7.1.0",
"@types/mocha": "^2.2.43",
"@types/mocha": "^2.2.48",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"class-transformer": "^0.1.7",
"class-validator": "^0.7.2",
"class-transformer": "^0.1.9",
"class-validator": "^0.8.1",
"mocha": "^3.5.3",
"tslint": "^5.7.0",
"typescript": "^2.3.4"
"tslint": "^5.9.1",
"typescript": "~2.3.4"
},
"peerDependencies": {
"class-validator": "^0.7.2",
"class-transformer": "^0.1.7"
"class-transformer": "^0.1.9",
"class-validator": "^0.8.1"
},

@@ -62,0 +62,0 @@ "main": "index.js",

@@ -142,4 +142,8 @@ # class-transformer-validator

**0.5.0**
* remove deprecated `TransformValdiationOptions` interface (typo)
* updated `class-validator` dependency to version `^0.8.1` and `class-transformer` to `^0.1.9`
**0.4.1**
* fix `TransformValdiationOptions` interface name typo (depreacte in favour of `TransformValidationOptions`)
* fix `TransformValdiationOptions` interface name typo (deprecate in favour of `TransformValidationOptions`)

@@ -150,3 +154,3 @@ **0.4.0**

* changed return type for JSON's transform and validation to `Promise` of `T` or `T[]`
* bumped `class-validator` dependency to version `^0.7.2` and `class-transformer` to `^0.1.7`
* updated `class-validator` dependency to version `^0.7.2` and `class-transformer` to `^0.1.7`

@@ -156,3 +160,3 @@ **0.3.0**

* added support for transform and validate array of objects given class
* bumped `class-validator` dependency to version `^0.7.1`
* updated `class-validator` dependency to version `^0.7.1`

@@ -159,0 +163,0 @@ **0.2.0**

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