New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

conjure-typescript

Package Overview
Dependencies
Maintainers
0
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conjure-typescript - npm Package Compare versions

Comparing version 5.8.0 to 5.9.0

2

lib/commands/generate/tsReturnTypeVisitor.js

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

// If the type reference is recursive, use a direct reference rather than a namespaced one
if (obj.name === _this.currType.name && obj.package === obj.package) {
if (obj.name === _this.currType.name && obj.package === _this.currType.package) {
return withIPrefix;

@@ -99,0 +99,0 @@ }

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

name: unionTsType,
type: unionSourceFileInput.memberInterfaces.map(function (iface) { return iface.name; }).join(" | "),
type: unionSourceFileInput.memberInterfaces.length === 0
? "unknown"
: unionSourceFileInput.memberInterfaces.map(function (iface) { return iface.name; }).join(" | "),
});

@@ -289,0 +291,0 @@ visitorInterface = sourceFile.addInterface({

{
"name": "conjure-typescript",
"version": "5.8.0",
"version": "5.9.0",
"description": "A conjure generator for Typescript",

@@ -5,0 +5,0 @@ "bin": {

@@ -108,3 +108,3 @@ /**

// If the type reference is recursive, use a direct reference rather than a namespaced one
if (obj.name === this.currType.name && obj.package === obj.package) {
if (obj.name === this.currType.name && obj.package === this.currType.package) {
return withIPrefix;

@@ -111,0 +111,0 @@ }

@@ -270,3 +270,6 @@ /**

name: unionTsType,
type: unionSourceFileInput.memberInterfaces.map(iface => iface.name).join(" | "),
type:
unionSourceFileInput.memberInterfaces.length === 0
? "unknown"
: unionSourceFileInput.memberInterfaces.map(iface => iface.name).join(" | "),
});

@@ -273,0 +276,0 @@

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