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.46.1 to 4.47.0

26

dist/script-handlers/eventHandler.js

@@ -177,21 +177,21 @@ "use strict";

}
var firesTags = jsDocTags.filter(function (tag) { return tag.title === 'fires'; })[0];
if (firesTags) {
var eventName_1 = firesTags.content;
var eventDescriptor = documentation.getEventDescriptor(eventName_1);
var currentBlock = {};
var foundEventDesciptor = void 0;
var firesTags = jsDocTags.filter(function (tag) { return tag.title === 'fires'; });
firesTags.forEach(function (tag) {
var eventName = tag.content;
var eventDescriptor = documentation.getEventDescriptor(eventName);
var currentBlock;
var foundEventDescriptor;
var commentIndex = 1;
while (currentBlock && !foundEventDesciptor) {
do {
currentBlock = getCommentBlockAndTags(commentedMethod, { commentIndex: ++commentIndex });
if (currentBlock &&
currentBlock.tags &&
currentBlock.tags.some(function (tag) { return tag.title === 'event' && tag.content === eventName_1; })) {
foundEventDesciptor = currentBlock;
currentBlock.tags.some(function (tag) { return tag.title === 'event' && tag.content === eventName; })) {
foundEventDescriptor = currentBlock;
}
} while (currentBlock && !foundEventDescriptor);
if (foundEventDescriptor) {
setEventDescriptor(eventDescriptor, foundEventDescriptor);
}
if (foundEventDesciptor) {
setEventDescriptor(eventDescriptor, foundEventDesciptor);
}
}
});
});

@@ -198,0 +198,0 @@ }

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

@@ -5,0 +5,0 @@ "homepage": "https://vue-styleguidist.github.io",

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