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.44.1 to 0.45.0

8

dist/typescript-json-schema.js

@@ -794,2 +794,10 @@ "use strict";

var returnedDefinition = definition;
if (prop) {
var defs = {};
var others = {};
this.parseCommentsIntoDefinition(prop, defs, others);
if (defs.hasOwnProperty("ignore")) {
return defs;
}
}
var symbol = typ.getSymbol();

@@ -796,0 +804,0 @@ var isRawType = !symbol ||

4

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

@@ -63,3 +63,3 @@ "main": "dist/typescript-json-schema.js",

"mocha": "^8.2.1",
"prettier": "^2.2.0",
"prettier": "^2.2.1",
"source-map-support": "^0.5.19",

@@ -66,0 +66,0 @@ "ts-node": "^9.0.0",

@@ -1092,2 +1092,12 @@ import * as glob from "glob";

// Parse property comments now to skip recursive if ignore.
if (prop) {
const defs = {};
const others = {};
this.parseCommentsIntoDefinition(prop, defs, others);
if (defs.hasOwnProperty("ignore")) {
return defs;
}
}
const symbol = typ.getSymbol();

@@ -1180,3 +1190,2 @@ // FIXME: We can't just compare the name of the symbol - it ignores the namespace

}
// Create the actual definition only if is an inline definition, or

@@ -1183,0 +1192,0 @@ // if it will be a $ref and it is not yet created

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