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

@oas-tools/cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oas-tools/cli - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

lib/oasFileGenerator.js

@@ -43,3 +43,3 @@ import fs from "fs";

rObj[rn.toLowerCase()] = {};
Object.entries([content].flat()[idx]).forEach(([k,v]) => rObj[rn.toLowerCase()][k] = typeof v);
Object.entries([content].flat()[idx]).forEach(([k,v]) => rObj[rn.toLowerCase()][k] = Array.isArray(v) ? 'array' : typeof v);
});

@@ -71,2 +71,7 @@

/* Register EQUALS operation in handlebars */
Handlebars.registerHelper('eq', function (v1, v2) {
return v1 === v2;
});
/* Render template and write file */

@@ -73,0 +78,0 @@ const template = Handlebars.compile(fs.readFileSync(`${dirName}/../templates/file/oas-doc.hbs`).toString());

2

package.json
{
"name": "@oas-tools/cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "Comand line interface for OAS-Tools project",

@@ -5,0 +5,0 @@ "type": "module",

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