vue-docgen-api
Advanced tools
Comparing version 4.71.0 to 4.72.2
@@ -159,3 +159,5 @@ "use strict"; | ||
!!opts.addScriptHandlers || | ||
!!opts.addTemplateHandlers)); | ||
!!opts.addTemplateHandlers || | ||
!!opts.validExtends || | ||
!!opts.nameFilter)); | ||
} | ||
@@ -162,0 +164,0 @@ function parsePrimitive(createDocs, filePath, opts) { |
@@ -149,3 +149,6 @@ "use strict"; | ||
var exportedVariable = varToFilePath[k]; | ||
exportedVariable.filePath.forEach(function (filePath) { | ||
exportedVariable.filePath.forEach(function (filePath, i) { | ||
// skip if we already explored one path | ||
if (i > 0) | ||
return; | ||
var exportToLocalMap = filePathToVars.get(filePath) || new ts_map_1.default(); | ||
@@ -158,3 +161,3 @@ exportToLocalMap.set(k, exportedVariable.exportName); | ||
// { | ||
// nameOfVariable:{filePath:['filesWhereToFindIt'], exportedName:'nameUsedInExportThatCanBeUsedForFiltering'} | ||
// nameOfVariable: { filePath:['filesWhereToFindIt'], exportedName:'nameUsedInExportThatCanBeUsedForFiltering' } | ||
// } | ||
@@ -180,2 +183,7 @@ return [4 /*yield*/, Promise.all(filePathToVars.entries().map(function (_a) { | ||
if (!fullFilePath_1 || !validExtends(fullFilePath_1)) { | ||
exportToLocal.forEach(function (_, local) { | ||
if (local) { | ||
delete varToFilePath[local]; | ||
} | ||
}); | ||
return [2 /*return*/]; | ||
@@ -215,3 +223,3 @@ } | ||
// { | ||
// nameOfVariable:{filePath:['filesWhereToFindIt'], exportedName:'nameUsedInExportThatCanBeUsedForFiltering'} | ||
// nameOfVariable: { filePath:['filesWhereToFindIt'], exportedName:'nameUsedInExportThatCanBeUsedForFiltering' } | ||
// } | ||
@@ -218,0 +226,0 @@ _a.sent(); |
{ | ||
"name": "vue-docgen-api", | ||
"version": "4.71.0", | ||
"version": "4.72.2", | ||
"description": "Toolbox to extract information from Vue component files for documentation generation purposes.", | ||
@@ -57,2 +57,3 @@ "homepage": "https://vue-styleguidist.github.io", | ||
"rollup": "3.20.2", | ||
"vitest": "0.31.0", | ||
"vue": "2.7.14", | ||
@@ -66,4 +67,5 @@ "vue-class-component": "7.2.6", | ||
"compile": "tsc -p ./tsconfig.build.json && rollup -c ./rollup.config.mjs", | ||
"compile:watch": "pnpm run compile --watch" | ||
"compile:watch": "pnpm run compile --watch", | ||
"test": "vitest" | ||
} | ||
} |
@@ -147,3 +147,3 @@ # vue-docgen-api | ||
#### `validExtend` | ||
#### `validExtends` | ||
@@ -150,0 +150,0 @@ Function - Returns true if an extended component should be parsed by docgen. |
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
759439
11847
15