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

openapi-typescript

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-typescript - npm Package Compare versions

Comparing version 6.4.0 to 6.4.1

6

CHANGELOG.md
# openapi-typescript
## 6.4.1
### Patch Changes
- [#1269](https://github.com/drwpow/openapi-typescript/pull/1269) [`e735ff2`](https://github.com/drwpow/openapi-typescript/commit/e735ff2b9307eaec1959d0d3bf733a240a880c48) Thanks [@pimveldhuisen](https://github.com/pimveldhuisen)! - Stop trimming whitespace other than linebreaks in string values
## 6.4.0

@@ -4,0 +10,0 @@

2

dist/utils.js

@@ -197,3 +197,3 @@ import c from "ansi-colors";

return JSON.stringify(input);
return `"${input.trim().replace(DOUBLE_QUOTE_RE, '\\"')}"`;
return `"${input.replace(LB_RE, "").replace(DOUBLE_QUOTE_RE, '\\"')}"`;
}

@@ -200,0 +200,0 @@ export function escObjKey(input) {

{
"name": "openapi-typescript",
"description": "Generate TypeScript types from Swagger OpenAPI specs",
"version": "6.4.0",
"version": "6.4.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Drew Powers",

@@ -276,3 +276,3 @@ import c from "ansi-colors";

if (typeof input !== "string") return JSON.stringify(input);
return `"${input.trim().replace(DOUBLE_QUOTE_RE, '\\"')}"`;
return `"${input.replace(LB_RE, "").replace(DOUBLE_QUOTE_RE, '\\"')}"`;
}

@@ -279,0 +279,0 @@

Sorry, the diff of this file is not supported yet

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