Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jscs-jsdoc

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscs-jsdoc - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

18

lib/jsdoc-helpers.js

@@ -221,4 +221,20 @@ var doctrineParser = require('doctrine');

} else if (argument.type === 'NewExpression' && type === 'object') {
result = result || true;
} else if (argument.type === 'NewExpression') {
result = result || ((type === 'object') || (type === argument.callee.name.toLowerCase()));
var c = argument.callee;
var exam = c.name;
if (!exam && c.type === 'MemberExpression') {
var cur = c;
exam = [];
while (cur.object) {
exam.unshift(cur.property.name);
cur = cur.object;
}
exam.unshift(cur.name);
exam = exam.join('.');
}
exam = exam.toLowerCase();
result = result || (type === exam);
}

@@ -225,0 +241,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"description": "JSCS jsdoc plugin",
"version": "0.0.13",
"version": "0.0.14",
"main": "lib/index",

@@ -8,0 +8,0 @@ "homepage": "https://github.com/jscs-dev/jscs-jsdoc",

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