typescript-json-schema
Advanced tools
Comparing version 0.25.0 to 0.25.1
{ | ||
"name": "typescript-json-schema", | ||
"version": "0.25.0", | ||
"version": "0.25.1", | ||
"description": "typescript-json-schema generates JSON Schema files from your Typescript sources", | ||
@@ -51,18 +51,18 @@ "main": "typescript-json-schema.js", | ||
"json-stable-stringify": "^1.0.1", | ||
"typescript": "~2.9.2", | ||
"yargs": "^12.0.1" | ||
"typescript": "~2.8.3", | ||
"yargs": "^11.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/assertion-error": "^1.1.0", | ||
"@types/chai": "^4.1.4", | ||
"@types/chai": "^4.1.3", | ||
"@types/glob": "^5.0.35", | ||
"@types/json-stable-stringify": "^1.0.32", | ||
"@types/mocha": "^5.2.4", | ||
"@types/node": "^10.5.1", | ||
"ajv": "^6.5.2", | ||
"@types/mocha": "^5.2.0", | ||
"@types/node": "^9.4.6", | ||
"ajv": "^6.4.0", | ||
"chai": "^4.1.2", | ||
"mocha": "^5.2.0", | ||
"source-map-support": "^0.5.6", | ||
"ts-node": "^7.0.0", | ||
"tslint": "^5.10.0" | ||
"mocha": "^5.1.1", | ||
"source-map-support": "^0.5.5", | ||
"ts-node": "^6.0.1", | ||
"tslint": "^5.9.1" | ||
}, | ||
@@ -69,0 +69,0 @@ "scripts": { |
@@ -83,12 +83,12 @@ import * as ts from "typescript"; | ||
}; | ||
private parseCommentsIntoDefinition; | ||
private getDefinitionForRootType; | ||
private getReferencedTypeSymbol; | ||
private getDefinitionForProperty; | ||
private getEnumDefinition; | ||
private getUnionDefinition; | ||
private getIntersectionDefinition; | ||
private getClassDefinition; | ||
private getTypeName; | ||
private getTypeDefinition; | ||
private parseCommentsIntoDefinition(symbol, definition, otherAnnotations); | ||
private getDefinitionForRootType(propertyType, reffedType, definition); | ||
private getReferencedTypeSymbol(prop); | ||
private getDefinitionForProperty(prop, node); | ||
private getEnumDefinition(clazzType, definition); | ||
private getUnionDefinition(unionType, prop, unionModifier, definition); | ||
private getIntersectionDefinition(intersectionType, definition); | ||
private getClassDefinition(clazzType, definition); | ||
private getTypeName(typ); | ||
private getTypeDefinition(typ, asRef?, unionModifier?, prop?, reffedType?, pairedSymbol?); | ||
setSchemaOverride(symbolName: string, schema: Definition): void; | ||
@@ -95,0 +95,0 @@ getSchemaForSymbol(symbolName: string, includeReffedDefinitions?: boolean): Definition; |
@@ -199,4 +199,4 @@ "use strict"; | ||
this.userValidationKeywords = args.validationKeywords.reduce(function (acc, word) { | ||
return (__assign({}, acc, (_a = {}, _a[word] = true, _a))); | ||
var _a; | ||
return (__assign({}, acc, (_a = {}, _a[word] = true, _a))); | ||
}, {}); | ||
@@ -949,3 +949,2 @@ } | ||
if (args === void 0) { args = getDefaultArgs(); } | ||
var _a; | ||
var program; | ||
@@ -982,4 +981,5 @@ var onlyIncludeFiles = undefined; | ||
} | ||
var _a; | ||
} | ||
exports.exec = exec; | ||
//# sourceMappingURL=typescript-json-schema.js.map |
Sorry, the diff of this file is not supported yet
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
171628
+ Addedcamelcase@4.1.0(transitive)
+ Addedfind-up@2.1.0(transitive)
+ Addedlocate-path@2.0.0(transitive)
+ Addedp-limit@1.3.0(transitive)
+ Addedp-locate@2.0.0(transitive)
+ Addedp-try@1.0.0(transitive)
+ Addedtypescript@2.8.4(transitive)
+ Addedy18n@3.2.2(transitive)
+ Addedyargs@11.1.1(transitive)
+ Addedyargs-parser@9.0.2(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedfind-up@3.0.0(transitive)
- Removedlocate-path@3.0.0(transitive)
- Removedp-limit@2.3.0(transitive)
- Removedp-locate@3.0.0(transitive)
- Removedp-try@2.2.0(transitive)
- Removedtypescript@2.9.2(transitive)
- Removedy18n@4.0.3(transitive)
- Removedyargs@12.0.5(transitive)
- Removedyargs-parser@11.1.1(transitive)
Updatedtypescript@~2.8.3
Updatedyargs@^11.0.0