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.3.2 to 0.3.3

4

dist/index.js

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

}, otherOptions?: any): Promise<{ body: ${responseTypeNames.length > 0 ? responseTypeNames.join('|') : 'any'} }> => {
let resolvedUrl = '${baseUrl}${urlPath}';
let resolvedUrl = '${(baseUrl + urlPath).replace('//', '/')}';
${_.isEmpty(requestPath)

@@ -286,3 +286,3 @@ ? ''

`;
const requestUrl = `export const url = \`${baseUrl}${urlPath}\``;
const requestUrl = `export const url = \`${(baseUrl + urlPath).replace('//', '/')}\``;
let exportObj = {

@@ -289,0 +289,0 @@ requestUrl,

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

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

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

} }> => {
let resolvedUrl = '${baseUrl}${urlPath}';
let resolvedUrl = '${(baseUrl + urlPath).replace('//', '/')}';
${

@@ -409,3 +409,3 @@ _.isEmpty(requestPath)

const requestUrl = `export const url = \`${baseUrl}${urlPath}\``;
const requestUrl = `export const url = \`${(baseUrl + urlPath).replace('//', '/')}\``;

@@ -412,0 +412,0 @@ let exportObj: { [key: string]: string } = {

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