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

swagger-axios-codegen

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-axios-codegen - npm Package Compare versions

Comparing version 0.15.5 to 0.15.6

7

CHANGELOG.md
## 0.15.5
- bugfix
- PathClassNameDefaultName -> pathClassNameDefaultName
- fix showError
## 0.15.3

@@ -10,0 +3,0 @@

2

dist/baseInterfaces.d.ts

@@ -8,3 +8,3 @@ import { IRequestMethod } from './swaggerInterfaces';

/** only effect classNameMode='parentPath' */
pathClassNameDefaultName?: string;
PathClassNameDefaultName?: string;
outputDir?: string;

@@ -11,0 +11,0 @@ fileName?: string;

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

classNameMode: 'normal',
pathClassNameDefaultName: 'Global',
PathClassNameDefaultName: 'Global',
outputDir: './service',

@@ -59,0 +59,0 @@ fileName: 'index.ts',

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

if (className === '') {
className = options.pathClassNameDefaultName;
className = options.PathClassNameDefaultName;
}

@@ -45,0 +45,0 @@ else {

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

loading:boolean;
showError:boolean;
}

@@ -147,3 +146,3 @@

export function getConfigs(method: string, contentType: string, url: string,options: any):IRequestConfig {
const configs: IRequestConfig = { loading:serviceOptions.loading, showError:serviceOptions.showError, ...options, method, url };
const configs: IRequestConfig = { loading:serviceOptions.loading, showError:serviceOptions.loading, ...options, method, url };
configs.headers = {

@@ -150,0 +149,0 @@ ...options.headers,

{
"name": "swagger-axios-codegen",
"version": "0.15.5",
"version": "0.15.6",
"main": "./dist/index",

@@ -28,3 +28,3 @@ "typings": "./dist/",

"dependencies": {
"axios": "^0.27.2",
"axios": "^1.2.2",
"camelcase": "^5.0.0",

@@ -31,0 +31,0 @@ "multimatch": "^4.0.0",

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