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.3.0 to 0.3.1

12

package.json
{
"name": "typescript-json-schema",
"version": "0.3.0",
"version": "0.3.1",
"description": "typescript-json-schema generates JSON Schema files from your Typescript sources",

@@ -25,3 +25,2 @@ "main": "typescript-json-schema.js",

],
"optionalDependencies": {},
"keywords": [

@@ -35,7 +34,14 @@ "typescript",

"dependencies": {
"glob": "~7.1.1",
"json-stable-stringify": "^1.0.1",
"typescript": "~2.0.3",
"glob": "~7.1.1",
"yargs": "^6.3.0"
},
"devDependencies": {
"@types/assertion-error": "^1.0.30",
"@types/chai": "^3.4.34",
"@types/glob": "^5.0.30",
"@types/json-stable-stringify": "^1.0.29",
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.46",
"chai": "^3.5.0",

@@ -42,0 +48,0 @@ "mocha": "^3.1.2",

@@ -15,7 +15,8 @@ {

"sourceMap": true,
"watch": false
"watch": false,
"typeRoots" : ["node_modules/@types"]
},
"include": [
"**/*.ts",
"typings/**/*.d.ts"
"node_modules/@types/**/*.d.ts"
],

@@ -22,0 +23,0 @@ "exclude": [

@@ -5,2 +5,3 @@ "use strict";

var path = require("path");
var stringify = require("json-stable-stringify");
var vm = require("vm");

@@ -688,3 +689,3 @@ function getDefaultArgs() {

var definition = generateSchema(program, fullTypeName, args);
var json = JSON.stringify(definition, null, 4) + "\n";
var json = stringify(definition, { space: 4 }) + "\n\n";
if (args.out) {

@@ -691,0 +692,0 @@ require("fs").writeFile(args.out, json, function (err) {

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