class-validator-jsonschema
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -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 |
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
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
253704
17
2045
+ Addedclass-transformer@0.2.3(transitive)
+ Addedclass-validator@0.9.1(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedgoogle-libphonenumber@3.2.38(transitive)
+ Addedvalidator@10.4.0(transitive)
- Removedclass-transformer@^0.1.9
- Removedclass-validator@^0.7.3
- Removedclass-transformer@0.1.10(transitive)
- Removedclass-validator@0.7.3(transitive)
- Removeddebug@3.2.7(transitive)
- Removedvalidator@7.2.0(transitive)
Updateddebug@^4.1.1
Updatedlodash@^4.17.11
Updatedopenapi3-ts@^1.3.0
Updatedreflect-metadata@^0.1.13
Updatedtslib@^1.10.0