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

@rjgf/swagger2ts

Package Overview
Dependencies
Maintainers
7
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rjgf/swagger2ts - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

bin/swagger.js

@@ -82,3 +82,5 @@ #!/usr/bin/env node --no-deprecation --abort-on-uncaught-exception --no-warnings

const targetPath = path.join(dirPath, fileName)
await fse.writeFileSync(targetPath, getContent(generate(content)), { encoding: 'utf-8' })
await fse.writeFileSync(targetPath, getContent(generate(content, {
requestConfig: 'AxiosRequestConfig',
})), { encoding: 'utf-8' })
console.log(`${targetPath}更新成功`)

@@ -85,0 +87,0 @@ }

@@ -23,3 +23,3 @@ {

},
"version": "1.2.0",
"version": "1.2.1",
"dependencies": {

@@ -26,0 +26,0 @@ "dotenv": "^16.0.3"

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