vue-docgen-api
Advanced tools
Comparing version 4.70.0 to 4.71.0
@@ -37,2 +37,3 @@ "use strict"; | ||
function slotHandler(documentation, templateAst, siblings) { | ||
var _a; | ||
if ((0, guards_1.isBaseElementNode)(templateAst) && templateAst.tag === 'slot') { | ||
@@ -114,4 +115,8 @@ var nameProp = templateAst.props.filter(guards_1.isAttributeNode).find(function (b) { return b.name === 'name'; }); | ||
} | ||
var restOfBindings = bindingDescriptors_1.filter(function (bindFromComment) { var _a; return !((_a = slotDescriptor_1.bindings) === null || _a === void 0 ? void 0 : _a.some(function (bindFromData) { return bindFromData.title === bindFromComment.title; })); }); | ||
if (restOfBindings.length) { | ||
slotDescriptor_1.bindings = (_a = slotDescriptor_1.bindings) === null || _a === void 0 ? void 0 : _a.concat(restOfBindings); | ||
} | ||
} | ||
} | ||
exports.default = slotHandler; |
{ | ||
"name": "vue-docgen-api", | ||
"version": "4.70.0", | ||
"version": "4.71.0", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
757985
11827