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
2
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 1.0.14 to 1.0.15

6

lib/util.js

@@ -9,3 +9,4 @@ "use strict";

if (jsdocs.length > 0) {
return jsdocs[0].getComment();
const des = jsdocs[0].getComment();
return des && des.trim() ? des.trim() : undefined;
}

@@ -16,3 +17,3 @@ }

const required = node.getProperties()
.filter(n => !n.getQuestionTokenNode())
.filter(n => !n.getQuestionTokenNode() && !('ignore' in getJsDocTags(n)))
.map(n => n.getName());

@@ -36,2 +37,3 @@ if (required.length > 0) {

case ts_morph_1.ts.SyntaxKind.NullKeyword:
case ts_morph_1.ts.SyntaxKind.ObjectKeyword:
return {

@@ -38,0 +40,0 @@ type: node.getText()

{
"name": "@hoth/typescript-to-json-schema",
"version": "1.0.14",
"version": "1.0.15",
"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