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

@hoth/typescript-to-json-schema

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hoth/typescript-to-json-schema - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1-0

2

lib/index.js

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

const interfaces = source.getInterfaces();
definitions = interfaces.reduce((prev, node) => (Object.assign(Object.assign({}, prev), { [node.getName().toLowerCase()]: util_1.processInterface(node, sourceFile, state) })), definitions);
definitions = interfaces.reduce((prev, node) => node.getTypeParameters().length > 0 ? prev : Object.assign(Object.assign({}, prev), { [node.getName().toLowerCase()]: util_1.processInterface(node, sourceFile, state) }), definitions);
const typeAliases = source.getTypeAliases();

@@ -14,0 +14,0 @@ definitions = typeAliases.reduce((prev, node) => (Object.assign(Object.assign({}, prev), { [node.getName().toLowerCase()]: util_1.processTypeAlias(node, sourceFile, state) })), definitions);

{
"name": "@hoth/typescript-to-json-schema",
"version": "2.0.0",
"version": "2.0.1-0",
"description": "typescript to json-schema transpiler",

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

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