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.1 to 0.3.2

2

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

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

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

if (enumValues.length > 0) {
definition["enum"] = enumValues;
definition["enum"] = enumValues.sort();
}

@@ -337,3 +337,3 @@ return definition;

else {
var enumSchema = { enum: enumValues };
var enumSchema = { enum: enumValues.sort() };
if (enumValues.every(function (x) { return typeof x === "string"; })) {

@@ -340,0 +340,0 @@ enumSchema.type = "string";

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