Socket
Socket
Sign inDemoInstall

doxme

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doxme - npm Package Compare versions

Comparing version 1.7.1 to 1.8.0

test/private.js

5

index.js

@@ -60,3 +60,6 @@ var util = require('./util.js'),

dox.forEach(function(d) {
var alias, returns;
var returns, access;
var access = getTag(d.tags, 'access');
// do not generate documentation for private members
if (access && access.string === 'private') return;
var name = '', mod;

@@ -63,0 +66,0 @@ if (alias = getTag(d.tags, ['alias', 'function', 'func', 'method'])) {

2

package.json
{
"name": "doxme",
"version": "1.7.1",
"version": "1.8.0",
"description": "create markdown docs for dox output",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -50,3 +50,9 @@ var test = require('tape'),

});
t.test('private', function(t) {
var result = doxme(dox.parseComments(fs.readFileSync('./test/private.js', 'utf8')));
if (process.env.UPDATE) { fs.writeFileSync('test/private.md', result); }
t.equal(result, fs.readFileSync('test/private.md', 'utf8'));
t.end();
});
t.end();
});
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