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

openapi-gen-typescript

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-gen-typescript - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

dist/index.js

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

if (jsonSchema.includes('[]')) {
jsonSchema = jsonSchema.replace(/[\(\)\[\]]+/g, '');
jsonSchema = jsonSchema.replace(/\(|\)|(\[\])+/g, '');
responseTypeNames.push(`${responseTypeName}[]`);

@@ -70,0 +70,0 @@ }

{
"name": "openapi-gen-typescript",
"version": "0.1.7",
"version": "0.1.8",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

@@ -101,3 +101,3 @@ // @ts-ignore

if (jsonSchema.includes('[]')) {
jsonSchema = jsonSchema.replace(/[\(\)\[\]]+/g, '');
jsonSchema = jsonSchema.replace(/\(|\)|(\[\])+/g, '');
responseTypeNames.push(`${responseTypeName}[]`);

@@ -104,0 +104,0 @@ } else {

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