Socket
Socket
Sign inDemoInstall

apidoc

Package Overview
Dependencies
238
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.50.3 to 0.50.4

4

lib/writer.js

@@ -153,3 +153,3 @@ /*

const prismCss = this.fs.readFileSync(this.findAsset('prismjs/themes/prism-tomorrow.css'), 'utf8');
const mainCss = this.fs.readFileSync('./template/src/css/main.css', 'utf8');
const mainCss = this.fs.readFileSync(this.path.join(this.opt.template, 'src', 'css', 'main.css'), 'utf8');
const tmpPath = '/tmp/apidoc-tmp';

@@ -175,2 +175,4 @@ // TODO add favicons in base64 in the html

const finalPath = this.path.join(this.opt.dest, 'index.html');
// make sure destination exists
this.createDir(this.opt.dest);
this.log.verbose(`Generating self-contained single file: ${finalPath}`);

@@ -177,0 +179,0 @@ this.fs.writeFileSync(finalPath, finalContent);

{
"name": "apidoc",
"version": "0.50.3",
"version": "0.50.4",
"description": "RESTful web API Documentation Generator",

@@ -5,0 +5,0 @@ "author": "Peter Rottmann <rottmann@inveris.de>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc