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

api-typescript-generator

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-typescript-generator - npm Package Compare versions

Comparing version 2.4.15 to 2.4.16

7

lib/utils/jsdoc.js

@@ -64,7 +64,8 @@ "use strict";

if (tag.name === 'example') {
if (tag.value.match(/^[\n\r \t]/)) {
result += `:${tag.value}`;
const value = tag.value.replace(/[\n]?$/g, '\n');
if (value.match(/^[\n]/)) {
result += `:\n\`\`\`${value}\`\`\``;
}
else {
result += `:${tag.value.replace(/^([^\n]+)\n/, ' "$1":\n```')}\`\`\``;
result += `:${value.replace(/^([^\n]+)\n/, ' "$1":\n```')}\`\`\``;
}

@@ -71,0 +72,0 @@ }

{
"name": "api-typescript-generator",
"version": "2.4.15",
"version": "2.4.16",
"description": "Generates OpenAPI TypeScript client. Extremely fast and flexible.",

@@ -5,0 +5,0 @@ "license": "MIT",

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