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

ts-json-schema-generator

Package Overview
Dependencies
Maintainers
0
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-json-schema-generator - npm Package Compare versions

Comparing version 2.3.1--canary.2007.d91cc6e.0 to 2.3.1--canary.2009.14b4e3c.0

2

dist/package.json
{
"name": "ts-json-schema-generator",
"version": "2.3.1--canary.2007.d91cc6e.0",
"version": "2.3.1--canary.2009.14b4e3c.0",
"description": "Generate JSON schema from your Typescript sources",

@@ -5,0 +5,0 @@ "keywords": [

@@ -24,3 +24,3 @@ "use strict";

code: 101,
messageText: `Unknown type "${type.getId()}"`,
messageText: `Unknown type "${type?.getId()}"`,
});

@@ -27,0 +27,0 @@ this.type = type;

@@ -129,4 +129,4 @@ "use strict";

typescript_1.default.isTypeAliasDeclaration(node)) {
if (this.config?.expose === "all" ||
(this.isExportType(node) && !this.isGenericType(node))) {
if ((this.config?.expose === "all" || this.isExportType(node)) &&
!this.isGenericType(node)) {
allTypes.set(this.getFullName(node, typeChecker), node);

@@ -133,0 +133,0 @@ return;

{
"name": "ts-json-schema-generator",
"version": "2.3.1--canary.2007.d91cc6e.0",
"version": "2.3.1--canary.2009.14b4e3c.0",
"description": "Generate JSON schema from your Typescript sources",

@@ -5,0 +5,0 @@ "keywords": [

@@ -20,3 +20,3 @@ import ts from "typescript";

code: 101,
messageText: `Unknown type "${type.getId()}"`,
messageText: `Unknown type "${type?.getId()}"`,
});

@@ -23,0 +23,0 @@ }

@@ -169,4 +169,4 @@ import ts from "typescript";

if (
this.config?.expose === "all" ||
(this.isExportType(node) && !this.isGenericType(node as ts.TypeAliasDeclaration))
(this.config?.expose === "all" || this.isExportType(node)) &&
!this.isGenericType(node as ts.TypeAliasDeclaration)
) {

@@ -173,0 +173,0 @@ allTypes.set(this.getFullName(node, typeChecker), node);

Sorry, the diff of this file is not supported yet

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