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.46.0 to 0.47.0

4

dist/typescript-json-schema.js

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

else {
definition.additionalItems = {
anyOf: fixedTypes,
};
definition.maxItems = targetTupleType.fixedLength;
}

@@ -339,0 +337,0 @@ }

{
"name": "typescript-json-schema",
"version": "0.46.0",
"version": "0.47.0",
"description": "typescript-json-schema generates JSON Schema files from your Typescript sources",

@@ -5,0 +5,0 @@ "main": "dist/typescript-json-schema.js",

@@ -99,3 +99,3 @@ import * as glob from "glob";

// Fields that must be redifined because they make use of this definition itself
// Fields that must be redefined because they make use of this definition itself
items?: DefinitionOrBoolean | DefinitionOrBoolean[];

@@ -551,5 +551,3 @@ additionalItems?: DefinitionOrBoolean;

} else {
definition.additionalItems = {
anyOf: fixedTypes,
};
definition.maxItems = targetTupleType.fixedLength;
}

@@ -727,3 +725,3 @@ } else {

const text = (<any>exp).text;
// if it is an expression with a text literal, chances are it is the enum convension:
// if it is an expression with a text literal, chances are it is the enum convention:
// CASELABEL = 'literal' as any

@@ -1435,3 +1433,3 @@ if (text) {

}
// Use defaults unles otherwise specified
// Use defaults unless otherwise specified
const settings = getDefaultArgs();

@@ -1438,0 +1436,0 @@

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