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

class-validator-jsonschema

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-validator-jsonschema - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

5

CHANGELOG.md

@@ -9,2 +9,7 @@ # Changelog

## [1.3.0] - 2019-06-24
### Fixed
- Moved `class-transformer` and `class-validator` to peer dependencies [#11](https://github.com/epiphone/class-validator-jsonschema/issues/11)
- Updated dependencies
## [1.2.1] - 2019-06-03

@@ -11,0 +16,0 @@ ### Fixed

22

jest.config.js
module.exports = {
testEnvironment: 'node',
transform: {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
'^.+\\.tsx?$': 'ts-jest'
},
testRegex: "(/__tests__/.*|\\.(test))\\.(ts|js)$",
testRegex: '(/__tests__/.*|\\.(test))\\.(ts|js)$',
globals: {
'ts-jest': {
skipBabel: true
babelConfig: false
}
},
mapCoverage: true,
moduleDirectories: ['node_modules', 'src'],
moduleFileExtensions: ['ts', 'js', 'json'],
roots: [
'<rootDir>/__tests__'
],
testPathIgnorePatterns: [
'/node_modules/'
],
roots: ['<rootDir>/__tests__'],
testPathIgnorePatterns: ['/node_modules/'],
coverageDirectory: 'coverage',
collectCoverageFrom: [
'src/**/*.{ts,tsx,js,jsx}',
'!src/**/*.d.ts',
]
};
collectCoverageFrom: ['src/**/*.{ts,tsx,js,jsx}', '!src/**/*.d.ts']
}
{
"name": "class-validator-jsonschema",
"version": "1.2.1",
"version": "1.3.0",
"description": "Convert class-validator-decorated classes into JSON schema",

@@ -20,4 +20,4 @@ "keywords": [

"format": "prettier --write {src,test}/**/*.ts",
"lint": "tslint --project . --type-check src/**/*.ts",
"prepare": "yarn build",
"lint": "tslint --project . src/**/*.ts",
"prepare": "install-self-peers -- --ignore-scripts && yarn build",
"send-coverage": "codecov -f coverage/*.json",

@@ -32,28 +32,31 @@ "test": "jest --coverage",

"dependencies": {
"class-transformer": "^0.1.9",
"class-validator": "^0.7.3",
"debug": "^3.1.0",
"lodash": "^4.17.4",
"openapi3-ts": "^1.0.0",
"reflect-metadata": "^0.1.10",
"tslib": "^1.8.0"
"debug": "^4.1.1",
"lodash": "^4.17.11",
"openapi3-ts": "^1.3.0",
"reflect-metadata": "^0.1.13",
"tslib": "^1.10.0"
},
"devDependencies": {
"@types/debug": "^0.0.30",
"@types/jest": "^21.1.8",
"@types/lodash": "^4.14.85",
"@types/prettier": "^1.8.0",
"@types/reflect-metadata": "^0.0.5",
"@team-griffin/install-self-peers": "^1.1.1",
"@types/debug": "^4.1.4",
"@types/jest": "^24.0.15",
"@types/lodash": "^4.14.134",
"@types/prettier": "^1.16.4",
"@types/reflect-metadata": "^0.1.0",
"@types/rimraf": "^2.0.2",
"codecov": "^3.0.0",
"jest": "^21.2.1",
"prettier": "^1.8.2",
"rimraf": "^2.6.2",
"ts-jest": "^21.2.3",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0",
"tslint-config-standard": "^7.0.0",
"tsutils": "^2.12.2",
"typescript": "^2.6.1"
"codecov": "^3.5.0",
"jest": "^24.8.0",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"tsutils": "^3.14.0",
"typescript": "^3.5.2"
},
"peerDependencies": {
"class-transformer": "^0.2.3",
"class-validator": "^0.9.1"
}
}

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