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

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.73.0 to 4.73.1

15

dist/script-handlers/propHandler.js

@@ -155,3 +155,3 @@ "use strict";

return [4 /*yield*/, Promise.all(objPropFiltered.map(function (prop) { return __awaiter(_this, void 0, void 0, function () {
var propNode, docBlock, jsDoc, jsDocTags, propertyName, isPropertyModel, propName, propDescriptor, propValuePath, propPropertiesPath, literalType, propValuePathExpression, propPropertiesPath;
var propNode, docBlock, jsDoc, jsDocTags, propertyName, isPropertyModel, propName, propDescriptor, propValuePath, propPropertiesPath, literalType, propValuePathExpression, finalPropValuePathExpression, propPropertiesPath;
return __generator(this, function (_a) {

@@ -206,4 +206,8 @@ switch (_a.label) {

propValuePathExpression = propValuePath.get('expression');
if (bt.isObjectExpression(propValuePathExpression.node)) {
propPropertiesPath = propValuePathExpression
finalPropValuePathExpression = bt.isTSAsExpression(propValuePathExpression.node) &&
bt.isTSUnknownKeyword(propValuePathExpression.get('typeAnnotation').node)
? propValuePathExpression.get('expression')
: propValuePathExpression;
if (bt.isObjectExpression(finalPropValuePathExpression.node)) {
propPropertiesPath = finalPropValuePathExpression
.get('properties')

@@ -218,3 +222,3 @@ .filter(function (p) { return bt.isObjectProperty(p.node); });

}
else if (bt.isIdentifier(propValuePathExpression.node)) {
else if (bt.isIdentifier(finalPropValuePathExpression.node)) {
describeTypeAndValuesFromPath(propValuePath, propDescriptor);

@@ -366,3 +370,4 @@ }

bt.isTSInstantiationExpression(typeNode.value)
? (0, recast_1.print)(typeNode.value.expression).code + (typeNode.value.typeParameters ? (0, recast_1.print)(typeNode.value.typeParameters).code : '')
? (0, recast_1.print)(typeNode.value.expression).code +
(typeNode.value.typeParameters ? (0, recast_1.print)(typeNode.value.typeParameters).code : '')
: (0, recast_1.print)(typeNode).code;

@@ -369,0 +374,0 @@ return {

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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