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.4.3 to 0.4.4

1

dist/constants.js

@@ -7,2 +7,3 @@ "use strict";

'requestUrl',
'requestMethod',
'requestPathCode',

@@ -9,0 +10,0 @@ 'requestQueryCode',

@@ -83,4 +83,6 @@ "use strict";

const requestUrl = `export const url = \`${format_1.pathSplicing(format_1.getBaseUrl(openApiData), urlPath)}\``;
const requestMethod = `export const method = '${method.toUpperCase()}'`;
let exportObj = {
requestUrl,
requestMethod,
requestPathCode,

@@ -87,0 +89,0 @@ requestQueryCode,

2

package.json
{
"name": "openapi-gen-typescript",
"version": "0.4.3",
"version": "0.4.4",
"main": "dist/index.js",

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

@@ -7,2 +7,3 @@ import { methods } from './utils/type';

'requestUrl',
'requestMethod',
'requestPathCode',

@@ -9,0 +10,0 @@ 'requestQueryCode',

@@ -136,4 +136,7 @@ /**

const requestMethod = `export const method = '${method.toUpperCase()}'`;
let exportObj: { [key: string]: string } = {
requestUrl,
requestMethod,
requestPathCode,

@@ -140,0 +143,0 @@ requestQueryCode,

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