Socket
Socket
Sign inDemoInstall

vue-docgen-api

Package Overview
Dependencies
Maintainers
3
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-docgen-api - npm Package Compare versions

Comparing version 4.42.0 to 4.43.0

11

dist/script-handlers/displayNameHandler.js

@@ -64,4 +64,11 @@ "use strict";

});
var declarators = globalVariableDeclarations.reduce(function (a, declPath) { return a.concat(declPath.declarations); }, []);
var nodeDeclaratorArray = declarators.filter(function (d) { return bt.isIdentifier(d.id) && d.id.name === nameConstId; });
var globalVariableExports = body
.filter(function (node) {
return bt.isExportNamedDeclaration(node) && bt.isVariableDeclaration(node.declaration);
})
.map(function (node) { return node.declaration; });
var declarations = globalVariableDeclarations
.concat(globalVariableExports)
.reduce(function (a, declPath) { return a.concat(declPath.declarations); }, []);
var nodeDeclaratorArray = declarations.filter(function (d) { return bt.isIdentifier(d.id) && d.id.name === nameConstId; });
var nodeDeclarator = nodeDeclaratorArray.length ? nodeDeclaratorArray[0] : undefined;

@@ -68,0 +75,0 @@ return nodeDeclarator && nodeDeclarator.init && bt.isStringLiteral(nodeDeclarator.init)

6

package.json
{
"name": "vue-docgen-api",
"version": "4.42.0",
"version": "4.43.0",
"description": "Toolbox to extract information from Vue component files for documentation generation purposes.",

@@ -42,3 +42,3 @@ "homepage": "https://vue-styleguidist.github.io",

"ts-map": "^1.0.3",
"vue-inbrowser-compiler-utils": "^4.42.0"
"vue-inbrowser-compiler-utils": "^4.43.0"
},

@@ -55,3 +55,3 @@ "devDependencies": {

},
"gitHead": "8ba9d774ec311350937ba1d33d1aa5580c13eb2a"
"gitHead": "8cc3f87b40979e539f1b44bcf7e2bd268b6548ae"
}
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