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

typescript-json-schema

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-json-schema - npm Package Compare versions

Comparing version 0.25.0 to 0.25.1

22

package.json
{
"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

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