@featurevisor/core 1.24.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/home/runner/work/featurevisor/featurevisor/packages/core/src/assess-distribution/index.ts":"1","/home/runner/work/featurevisor/featurevisor/packages/core/src/benchmark/index.ts":"2","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.spec.ts":"3","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.ts":"4","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/buildDatafile.ts":"5","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/buildProject.ts":"6","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/getFeatureRanges.ts":"7","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/index.ts":"8","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/revision.spec.ts":"9","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/revision.ts":"10","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/traffic.spec.ts":"11","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/traffic.ts":"12","/home/runner/work/featurevisor/featurevisor/packages/core/src/config/index.ts":"13","/home/runner/work/featurevisor/featurevisor/packages/core/src/config/parsers.ts":"14","/home/runner/work/featurevisor/featurevisor/packages/core/src/config/projectConfig.ts":"15","/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/adapter.ts":"16","/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/datasource.ts":"17","/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/filesystemAdapter.ts":"18","/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/index.ts":"19","/home/runner/work/featurevisor/featurevisor/packages/core/src/dependencies.ts":"20","/home/runner/work/featurevisor/featurevisor/packages/core/src/evaluate/index.ts":"21","/home/runner/work/featurevisor/featurevisor/packages/core/src/find-duplicate-segments/findDuplicateSegments.ts":"22","/home/runner/work/featurevisor/featurevisor/packages/core/src/find-duplicate-segments/index.ts":"23","/home/runner/work/featurevisor/featurevisor/packages/core/src/find-usage/index.ts":"24","/home/runner/work/featurevisor/featurevisor/packages/core/src/generate-code/index.ts":"25","/home/runner/work/featurevisor/featurevisor/packages/core/src/generate-code/typescript.ts":"26","/home/runner/work/featurevisor/featurevisor/packages/core/src/index.ts":"27","/home/runner/work/featurevisor/featurevisor/packages/core/src/info/index.ts":"28","/home/runner/work/featurevisor/featurevisor/packages/core/src/init/index.ts":"29","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/attributeSchema.ts":"30","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/checkCircularDependency.ts":"31","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/checkPercentageExceedingSlot.ts":"32","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/conditionSchema.ts":"33","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/featureSchema.ts":"34","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/groupSchema.ts":"35","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/index.ts":"36","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/lintProject.ts":"37","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/printError.ts":"38","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/segmentSchema.ts":"39","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/testSchema.ts":"40","/home/runner/work/featurevisor/featurevisor/packages/core/src/restore/index.ts":"41","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/exportSite.ts":"42","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/generateHistory.ts":"43","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/generateSiteSearchIndex.ts":"44","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getLastModifiedFromHistory.ts":"45","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getOwnerAndRepoFromUrl.ts":"46","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getRelativePaths.ts":"47","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getRepoDetails.ts":"48","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/index.ts":"49","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/serveSite.ts":"50","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfArraysAreEqual.ts":"51","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfObjectsAreEqual.spec.ts":"52","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfObjectsAreEqual.ts":"53","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/cliFormat.ts":"54","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/index.ts":"55","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/matrix.spec.ts":"56","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/matrix.ts":"57","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/prettyDuration.ts":"58","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/printTestResult.ts":"59","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testFeature.ts":"60","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testProject.ts":"61","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testSegment.ts":"62","/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/extractKeys.ts":"63","/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/git.ts":"64","/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/index.ts":"65","/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/pretty.ts":"66"},{"size":4276,"mtime":1719263807728,"results":"67","hashOfConfig":"68"},{"size":3741,"mtime":1719263807728,"results":"69","hashOfConfig":"68"},{"size":3214,"mtime":1719263807728,"results":"70","hashOfConfig":"68"},{"size":1067,"mtime":1719263807728,"results":"71","hashOfConfig":"68"},{"size":10477,"mtime":1719263807728,"results":"72","hashOfConfig":"68"},{"size":2673,"mtime":1719263807728,"results":"73","hashOfConfig":"68"},{"size":1755,"mtime":1719263807728,"results":"74","hashOfConfig":"68"},{"size":65,"mtime":1719263807728,"results":"75","hashOfConfig":"68"},{"size":688,"mtime":1719263807728,"results":"76","hashOfConfig":"68"},{"size":760,"mtime":1719263807728,"results":"77","hashOfConfig":"68"},{"size":18016,"mtime":1719263807732,"results":"78","hashOfConfig":"68"},{"size":4894,"mtime":1719263807732,"results":"79","hashOfConfig":"68"},{"size":60,"mtime":1719263807732,"results":"80","hashOfConfig":"68"},{"size":1035,"mtime":1719263807732,"results":"81","hashOfConfig":"68"},{"size":4392,"mtime":1719263807732,"results":"82","hashOfConfig":"68"},{"size":1423,"mtime":1719263807732,"results":"83","hashOfConfig":"68"},{"size":5208,"mtime":1719263807732,"results":"84","hashOfConfig":"68"},{"size":10198,"mtime":1719263807732,"results":"85","hashOfConfig":"68"},{"size":94,"mtime":1719263807732,"results":"86","hashOfConfig":"68"},{"size":279,"mtime":1719263807732,"results":"87","hashOfConfig":"68"},{"size":4716,"mtime":1719263807732,"results":"88","hashOfConfig":"68"},{"size":1957,"mtime":1719263807732,"results":"89","hashOfConfig":"68"},{"size":820,"mtime":1719263807732,"results":"90","hashOfConfig":"68"},{"size":9681,"mtime":1719263807732,"results":"91","hashOfConfig":"68"},{"size":1476,"mtime":1719263807732,"results":"92","hashOfConfig":"68"},{"size":6250,"mtime":1719263807732,"results":"93","hashOfConfig":"68"},{"size":468,"mtime":1719263807732,"results":"94","hashOfConfig":"68"},{"size":1646,"mtime":1719263807732,"results":"95","hashOfConfig":"68"},{"size":1308,"mtime":1719263807732,"results":"96","hashOfConfig":"68"},{"size":359,"mtime":1719263807732,"results":"97","hashOfConfig":"68"},{"size":1119,"mtime":1719263807732,"results":"98","hashOfConfig":"68"},{"size":1464,"mtime":1719263807732,"results":"99","hashOfConfig":"68"},{"size":4007,"mtime":1719263807732,"results":"100","hashOfConfig":"68"},{"size":8411,"mtime":1719263807732,"results":"101","hashOfConfig":"68"},{"size":1221,"mtime":1719263807732,"results":"102","hashOfConfig":"68"},{"size":31,"mtime":1719263807732,"results":"103","hashOfConfig":"68"},{"size":9986,"mtime":1719263807732,"results":"104","hashOfConfig":"68"},{"size":982,"mtime":1719263807732,"results":"105","hashOfConfig":"68"},{"size":364,"mtime":1719263807732,"results":"106","hashOfConfig":"68"},{"size":2432,"mtime":1719263807732,"results":"107","hashOfConfig":"68"},{"size":641,"mtime":1719263807732,"results":"108","hashOfConfig":"68"},{"size":1481,"mtime":1719263807732,"results":"109","hashOfConfig":"68"},{"size":1178,"mtime":1719263807732,"results":"110","hashOfConfig":"68"},{"size":6187,"mtime":1719263807732,"results":"111","hashOfConfig":"68"},{"size":516,"mtime":1719263807732,"results":"112","hashOfConfig":"68"},{"size":496,"mtime":1719263807732,"results":"113","hashOfConfig":"68"},{"size":607,"mtime":1719263807732,"results":"114","hashOfConfig":"68"},{"size":1560,"mtime":1719263807732,"results":"115","hashOfConfig":"68"},{"size":59,"mtime":1719263807732,"results":"116","hashOfConfig":"68"},{"size":1681,"mtime":1719263807732,"results":"117","hashOfConfig":"68"},{"size":298,"mtime":1719263807732,"results":"118","hashOfConfig":"68"},{"size":932,"mtime":1719263807732,"results":"119","hashOfConfig":"68"},{"size":468,"mtime":1719263807732,"results":"120","hashOfConfig":"68"},{"size":212,"mtime":1719263807732,"results":"121","hashOfConfig":"68"},{"size":62,"mtime":1719263807732,"results":"122","hashOfConfig":"68"},{"size":1188,"mtime":1719263807732,"results":"123","hashOfConfig":"68"},{"size":5021,"mtime":1719263807732,"results":"124","hashOfConfig":"68"},{"size":516,"mtime":1719263807732,"results":"125","hashOfConfig":"68"},{"size":1691,"mtime":1719263807732,"results":"126","hashOfConfig":"68"},{"size":6627,"mtime":1719263807732,"results":"127","hashOfConfig":"68"},{"size":5631,"mtime":1719263807732,"results":"128","hashOfConfig":"68"},{"size":2328,"mtime":1719263807732,"results":"129","hashOfConfig":"68"},{"size":1993,"mtime":1719263807732,"results":"130","hashOfConfig":"68"},{"size":3641,"mtime":1719263807732,"results":"131","hashOfConfig":"68"},{"size":80,"mtime":1719263807732,"results":"132","hashOfConfig":"68"},{"size":304,"mtime":1719263807732,"results":"133","hashOfConfig":"68"},{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1phe751",{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","suppressedMessages":"148","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"149","messages":"150","suppressedMessages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","suppressedMessages":"154","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"155","messages":"156","suppressedMessages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","suppressedMessages":"160","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"161","messages":"162","suppressedMessages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","suppressedMessages":"166","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"167","messages":"168","suppressedMessages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","suppressedMessages":"172","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"173","messages":"174","suppressedMessages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","suppressedMessages":"178","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"179","messages":"180","suppressedMessages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","suppressedMessages":"184","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"185","messages":"186","suppressedMessages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","suppressedMessages":"190","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"191","messages":"192","suppressedMessages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","suppressedMessages":"196","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"197","messages":"198","suppressedMessages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","suppressedMessages":"202","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"203","messages":"204","suppressedMessages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","suppressedMessages":"208","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"209","messages":"210","suppressedMessages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","suppressedMessages":"214","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"215","messages":"216","suppressedMessages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"218","messages":"219","suppressedMessages":"220","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"221","messages":"222","suppressedMessages":"223","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","suppressedMessages":"226","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"227","messages":"228","suppressedMessages":"229","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"230","messages":"231","suppressedMessages":"232","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"233","messages":"234","suppressedMessages":"235","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"236","messages":"237","suppressedMessages":"238","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"239","messages":"240","suppressedMessages":"241","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"242","messages":"243","suppressedMessages":"244","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"245","messages":"246","suppressedMessages":"247","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"248","messages":"249","suppressedMessages":"250","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"251","messages":"252","suppressedMessages":"253","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"254","messages":"255","suppressedMessages":"256","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"257","messages":"258","suppressedMessages":"259","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"260","messages":"261","suppressedMessages":"262","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"263","messages":"264","suppressedMessages":"265","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"266","messages":"267","suppressedMessages":"268","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"269","messages":"270","suppressedMessages":"271","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"272","messages":"273","suppressedMessages":"274","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"275","messages":"276","suppressedMessages":"277","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"278","messages":"279","suppressedMessages":"280","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"281","messages":"282","suppressedMessages":"283","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"284","messages":"285","suppressedMessages":"286","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"287","messages":"288","suppressedMessages":"289","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"290","messages":"291","suppressedMessages":"292","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"293","messages":"294","suppressedMessages":"295","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"296","messages":"297","suppressedMessages":"298","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"299","messages":"300","suppressedMessages":"301","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"302","messages":"303","suppressedMessages":"304","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"305","messages":"306","suppressedMessages":"307","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"308","messages":"309","suppressedMessages":"310","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"311","messages":"312","suppressedMessages":"313","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"314","messages":"315","suppressedMessages":"316","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"317","messages":"318","suppressedMessages":"319","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"320","messages":"321","suppressedMessages":"322","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"323","messages":"324","suppressedMessages":"325","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"326","messages":"327","suppressedMessages":"328","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"329","messages":"330","suppressedMessages":"331","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/featurevisor/featurevisor/packages/core/src/assess-distribution/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/benchmark/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/buildDatafile.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/buildProject.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/getFeatureRanges.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/revision.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/revision.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/traffic.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/traffic.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/config/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/config/parsers.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/config/projectConfig.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/adapter.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/datasource.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/filesystemAdapter.ts",[],["332","333"],"/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/dependencies.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/evaluate/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/find-duplicate-segments/findDuplicateSegments.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/find-duplicate-segments/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/find-usage/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/generate-code/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/generate-code/typescript.ts",[],["334"],"/home/runner/work/featurevisor/featurevisor/packages/core/src/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/info/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/init/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/attributeSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/checkCircularDependency.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/checkPercentageExceedingSlot.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/conditionSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/featureSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/groupSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/lintProject.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/printError.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/segmentSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/testSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/restore/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/exportSite.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/generateHistory.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/generateSiteSearchIndex.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getLastModifiedFromHistory.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getOwnerAndRepoFromUrl.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getRelativePaths.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getRepoDetails.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/serveSite.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfArraysAreEqual.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfObjectsAreEqual.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfObjectsAreEqual.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/cliFormat.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/matrix.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/matrix.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/prettyDuration.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/printTestResult.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testFeature.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testProject.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testSegment.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/extractKeys.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/git.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/pretty.ts",[],[],{"ruleId":"335","severity":2,"message":"336","line":22,"column":7,"nodeType":"337","messageId":"338","endLine":22,"endColumn":18,"suppressions":"339"},{"ruleId":"340","severity":2,"message":"341","line":22,"column":21,"nodeType":"342","messageId":"343","endLine":22,"endColumn":81,"fix":"344","suppressions":"345"},{"ruleId":"335","severity":2,"message":"346","line":51,"column":10,"nodeType":"337","messageId":"338","endLine":51,"endColumn":38,"suppressions":"347"},"@typescript-eslint/no-unused-vars","'commitRegex' is assigned a value but never used.","Identifier","unusedVar",["348"],"no-regex-spaces","Spaces are hard to count. Use {3}.","Literal","multipleSpaces",{"range":"349","text":"350"},["351"],"'getFeaturevisorTypeFromValue' is defined but never used.",["352"],{"kind":"353","justification":"354"},[515,518]," {3}",{"kind":"353","justification":"354"},{"kind":"353","justification":"354"},"directive",""]
1
+ [{"/home/runner/work/featurevisor/featurevisor/packages/core/src/assess-distribution/index.ts":"1","/home/runner/work/featurevisor/featurevisor/packages/core/src/benchmark/index.ts":"2","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.spec.ts":"3","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.ts":"4","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/buildDatafile.ts":"5","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/buildProject.ts":"6","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/getFeatureRanges.ts":"7","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/index.ts":"8","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/revision.spec.ts":"9","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/revision.ts":"10","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/traffic.spec.ts":"11","/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/traffic.ts":"12","/home/runner/work/featurevisor/featurevisor/packages/core/src/config/index.ts":"13","/home/runner/work/featurevisor/featurevisor/packages/core/src/config/parsers.ts":"14","/home/runner/work/featurevisor/featurevisor/packages/core/src/config/projectConfig.ts":"15","/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/adapter.ts":"16","/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/datasource.ts":"17","/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/filesystemAdapter.ts":"18","/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/index.ts":"19","/home/runner/work/featurevisor/featurevisor/packages/core/src/dependencies.ts":"20","/home/runner/work/featurevisor/featurevisor/packages/core/src/evaluate/index.ts":"21","/home/runner/work/featurevisor/featurevisor/packages/core/src/find-duplicate-segments/findDuplicateSegments.ts":"22","/home/runner/work/featurevisor/featurevisor/packages/core/src/find-duplicate-segments/index.ts":"23","/home/runner/work/featurevisor/featurevisor/packages/core/src/find-usage/index.ts":"24","/home/runner/work/featurevisor/featurevisor/packages/core/src/generate-code/index.ts":"25","/home/runner/work/featurevisor/featurevisor/packages/core/src/generate-code/typescript.ts":"26","/home/runner/work/featurevisor/featurevisor/packages/core/src/index.ts":"27","/home/runner/work/featurevisor/featurevisor/packages/core/src/info/index.ts":"28","/home/runner/work/featurevisor/featurevisor/packages/core/src/init/index.ts":"29","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/attributeSchema.ts":"30","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/checkCircularDependency.ts":"31","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/checkPercentageExceedingSlot.ts":"32","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/conditionSchema.ts":"33","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/featureSchema.ts":"34","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/groupSchema.ts":"35","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/index.ts":"36","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/lintProject.ts":"37","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/printError.ts":"38","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/segmentSchema.ts":"39","/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/testSchema.ts":"40","/home/runner/work/featurevisor/featurevisor/packages/core/src/restore/index.ts":"41","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/exportSite.ts":"42","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/generateHistory.ts":"43","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/generateSiteSearchIndex.ts":"44","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getLastModifiedFromHistory.ts":"45","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getOwnerAndRepoFromUrl.ts":"46","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getRelativePaths.ts":"47","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getRepoDetails.ts":"48","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/index.ts":"49","/home/runner/work/featurevisor/featurevisor/packages/core/src/site/serveSite.ts":"50","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfArraysAreEqual.ts":"51","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfObjectsAreEqual.spec.ts":"52","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfObjectsAreEqual.ts":"53","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/cliFormat.ts":"54","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/index.ts":"55","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/matrix.spec.ts":"56","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/matrix.ts":"57","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/prettyDuration.ts":"58","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/printTestResult.ts":"59","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testFeature.ts":"60","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testProject.ts":"61","/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testSegment.ts":"62","/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/extractKeys.ts":"63","/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/git.ts":"64","/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/index.ts":"65","/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/pretty.ts":"66"},{"size":4276,"mtime":1721144488302,"results":"67","hashOfConfig":"68"},{"size":3741,"mtime":1721144488302,"results":"69","hashOfConfig":"68"},{"size":3214,"mtime":1721144488302,"results":"70","hashOfConfig":"68"},{"size":1067,"mtime":1721144488302,"results":"71","hashOfConfig":"68"},{"size":10477,"mtime":1721144488302,"results":"72","hashOfConfig":"68"},{"size":2673,"mtime":1721144488302,"results":"73","hashOfConfig":"68"},{"size":1755,"mtime":1721144488302,"results":"74","hashOfConfig":"68"},{"size":65,"mtime":1721144488302,"results":"75","hashOfConfig":"68"},{"size":688,"mtime":1721144488302,"results":"76","hashOfConfig":"68"},{"size":760,"mtime":1721144488302,"results":"77","hashOfConfig":"68"},{"size":18016,"mtime":1721144488302,"results":"78","hashOfConfig":"68"},{"size":4894,"mtime":1721144488302,"results":"79","hashOfConfig":"68"},{"size":60,"mtime":1721144488302,"results":"80","hashOfConfig":"68"},{"size":1035,"mtime":1721144488302,"results":"81","hashOfConfig":"68"},{"size":4392,"mtime":1721144488302,"results":"82","hashOfConfig":"68"},{"size":1423,"mtime":1721144488302,"results":"83","hashOfConfig":"68"},{"size":5208,"mtime":1721144488302,"results":"84","hashOfConfig":"68"},{"size":10198,"mtime":1721144488302,"results":"85","hashOfConfig":"68"},{"size":94,"mtime":1721144488302,"results":"86","hashOfConfig":"68"},{"size":279,"mtime":1721144488302,"results":"87","hashOfConfig":"68"},{"size":4716,"mtime":1721144488302,"results":"88","hashOfConfig":"68"},{"size":1957,"mtime":1721144488302,"results":"89","hashOfConfig":"68"},{"size":820,"mtime":1721144488302,"results":"90","hashOfConfig":"68"},{"size":11346,"mtime":1721144488302,"results":"91","hashOfConfig":"68"},{"size":1476,"mtime":1721144488302,"results":"92","hashOfConfig":"68"},{"size":6250,"mtime":1721144488302,"results":"93","hashOfConfig":"68"},{"size":468,"mtime":1721144488302,"results":"94","hashOfConfig":"68"},{"size":1646,"mtime":1721144488306,"results":"95","hashOfConfig":"68"},{"size":1308,"mtime":1721144488306,"results":"96","hashOfConfig":"68"},{"size":359,"mtime":1721144488306,"results":"97","hashOfConfig":"68"},{"size":1119,"mtime":1721144488306,"results":"98","hashOfConfig":"68"},{"size":1464,"mtime":1721144488306,"results":"99","hashOfConfig":"68"},{"size":4007,"mtime":1721144488306,"results":"100","hashOfConfig":"68"},{"size":8411,"mtime":1721144488306,"results":"101","hashOfConfig":"68"},{"size":1221,"mtime":1721144488306,"results":"102","hashOfConfig":"68"},{"size":31,"mtime":1721144488306,"results":"103","hashOfConfig":"68"},{"size":9986,"mtime":1721144488306,"results":"104","hashOfConfig":"68"},{"size":982,"mtime":1721144488306,"results":"105","hashOfConfig":"68"},{"size":364,"mtime":1721144488306,"results":"106","hashOfConfig":"68"},{"size":2432,"mtime":1721144488306,"results":"107","hashOfConfig":"68"},{"size":641,"mtime":1721144488306,"results":"108","hashOfConfig":"68"},{"size":1481,"mtime":1721144488306,"results":"109","hashOfConfig":"68"},{"size":1178,"mtime":1721144488306,"results":"110","hashOfConfig":"68"},{"size":6187,"mtime":1721144488306,"results":"111","hashOfConfig":"68"},{"size":516,"mtime":1721144488306,"results":"112","hashOfConfig":"68"},{"size":496,"mtime":1721144488306,"results":"113","hashOfConfig":"68"},{"size":607,"mtime":1721144488306,"results":"114","hashOfConfig":"68"},{"size":1560,"mtime":1721144488306,"results":"115","hashOfConfig":"68"},{"size":59,"mtime":1721144488306,"results":"116","hashOfConfig":"68"},{"size":1681,"mtime":1721144488306,"results":"117","hashOfConfig":"68"},{"size":298,"mtime":1721144488306,"results":"118","hashOfConfig":"68"},{"size":932,"mtime":1721144488306,"results":"119","hashOfConfig":"68"},{"size":468,"mtime":1721144488306,"results":"120","hashOfConfig":"68"},{"size":212,"mtime":1721144488306,"results":"121","hashOfConfig":"68"},{"size":62,"mtime":1721144488306,"results":"122","hashOfConfig":"68"},{"size":1188,"mtime":1721144488306,"results":"123","hashOfConfig":"68"},{"size":5021,"mtime":1721144488306,"results":"124","hashOfConfig":"68"},{"size":516,"mtime":1721144488306,"results":"125","hashOfConfig":"68"},{"size":1691,"mtime":1721144488306,"results":"126","hashOfConfig":"68"},{"size":6627,"mtime":1721144488306,"results":"127","hashOfConfig":"68"},{"size":5631,"mtime":1721144488306,"results":"128","hashOfConfig":"68"},{"size":2328,"mtime":1721144488306,"results":"129","hashOfConfig":"68"},{"size":1993,"mtime":1721144488306,"results":"130","hashOfConfig":"68"},{"size":3641,"mtime":1721144488306,"results":"131","hashOfConfig":"68"},{"size":80,"mtime":1721144488306,"results":"132","hashOfConfig":"68"},{"size":304,"mtime":1721144488306,"results":"133","hashOfConfig":"68"},{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1phe751",{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","suppressedMessages":"148","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"149","messages":"150","suppressedMessages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","suppressedMessages":"154","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"155","messages":"156","suppressedMessages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","suppressedMessages":"160","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"161","messages":"162","suppressedMessages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","suppressedMessages":"166","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"167","messages":"168","suppressedMessages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","suppressedMessages":"172","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"173","messages":"174","suppressedMessages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","suppressedMessages":"178","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"179","messages":"180","suppressedMessages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","suppressedMessages":"184","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"185","messages":"186","suppressedMessages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","suppressedMessages":"190","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"191","messages":"192","suppressedMessages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","suppressedMessages":"196","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"197","messages":"198","suppressedMessages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","suppressedMessages":"202","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"203","messages":"204","suppressedMessages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","suppressedMessages":"208","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"209","messages":"210","suppressedMessages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","suppressedMessages":"214","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"215","messages":"216","suppressedMessages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"218","messages":"219","suppressedMessages":"220","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"221","messages":"222","suppressedMessages":"223","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","suppressedMessages":"226","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"227","messages":"228","suppressedMessages":"229","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"230","messages":"231","suppressedMessages":"232","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"233","messages":"234","suppressedMessages":"235","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"236","messages":"237","suppressedMessages":"238","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"239","messages":"240","suppressedMessages":"241","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"242","messages":"243","suppressedMessages":"244","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"245","messages":"246","suppressedMessages":"247","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"248","messages":"249","suppressedMessages":"250","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"251","messages":"252","suppressedMessages":"253","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"254","messages":"255","suppressedMessages":"256","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"257","messages":"258","suppressedMessages":"259","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"260","messages":"261","suppressedMessages":"262","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"263","messages":"264","suppressedMessages":"265","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"266","messages":"267","suppressedMessages":"268","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"269","messages":"270","suppressedMessages":"271","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"272","messages":"273","suppressedMessages":"274","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"275","messages":"276","suppressedMessages":"277","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"278","messages":"279","suppressedMessages":"280","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"281","messages":"282","suppressedMessages":"283","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"284","messages":"285","suppressedMessages":"286","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"287","messages":"288","suppressedMessages":"289","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"290","messages":"291","suppressedMessages":"292","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"293","messages":"294","suppressedMessages":"295","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"296","messages":"297","suppressedMessages":"298","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"299","messages":"300","suppressedMessages":"301","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"302","messages":"303","suppressedMessages":"304","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"305","messages":"306","suppressedMessages":"307","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"308","messages":"309","suppressedMessages":"310","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"311","messages":"312","suppressedMessages":"313","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"314","messages":"315","suppressedMessages":"316","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"317","messages":"318","suppressedMessages":"319","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"320","messages":"321","suppressedMessages":"322","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"323","messages":"324","suppressedMessages":"325","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"326","messages":"327","suppressedMessages":"328","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"329","messages":"330","suppressedMessages":"331","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/featurevisor/featurevisor/packages/core/src/assess-distribution/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/benchmark/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/buildDatafile.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/buildProject.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/getFeatureRanges.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/revision.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/revision.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/traffic.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/traffic.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/config/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/config/parsers.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/config/projectConfig.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/adapter.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/datasource.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/filesystemAdapter.ts",[],["332","333"],"/home/runner/work/featurevisor/featurevisor/packages/core/src/datasource/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/dependencies.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/evaluate/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/find-duplicate-segments/findDuplicateSegments.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/find-duplicate-segments/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/find-usage/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/generate-code/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/generate-code/typescript.ts",[],["334"],"/home/runner/work/featurevisor/featurevisor/packages/core/src/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/info/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/init/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/attributeSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/checkCircularDependency.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/checkPercentageExceedingSlot.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/conditionSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/featureSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/groupSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/lintProject.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/printError.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/segmentSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/linter/testSchema.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/restore/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/exportSite.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/generateHistory.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/generateSiteSearchIndex.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getLastModifiedFromHistory.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getOwnerAndRepoFromUrl.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getRelativePaths.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/getRepoDetails.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/site/serveSite.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfArraysAreEqual.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfObjectsAreEqual.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/checkIfObjectsAreEqual.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/cliFormat.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/matrix.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/matrix.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/prettyDuration.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/printTestResult.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testFeature.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testProject.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/testSegment.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/extractKeys.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/git.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/core/src/utils/pretty.ts",[],[],{"ruleId":"335","severity":2,"message":"336","line":22,"column":7,"nodeType":"337","messageId":"338","endLine":22,"endColumn":18,"suppressions":"339"},{"ruleId":"340","severity":2,"message":"341","line":22,"column":21,"nodeType":"342","messageId":"343","endLine":22,"endColumn":81,"fix":"344","suppressions":"345"},{"ruleId":"335","severity":2,"message":"346","line":51,"column":10,"nodeType":"337","messageId":"338","endLine":51,"endColumn":38,"suppressions":"347"},"@typescript-eslint/no-unused-vars","'commitRegex' is assigned a value but never used.","Identifier","unusedVar",["348"],"no-regex-spaces","Spaces are hard to count. Use {3}.","Literal","multipleSpaces",{"range":"349","text":"350"},["351"],"'getFeaturevisorTypeFromValue' is defined but never used.",["352"],{"kind":"353","justification":"354"},[515,518]," {3}",{"kind":"353","justification":"354"},{"kind":"353","justification":"354"},"directive",""]
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.25.0](https://github.com/featurevisor/featurevisor/compare/v1.24.0...v1.25.0) (2024-07-16)
7
+
8
+
9
+ ### Features
10
+
11
+ * allow showing authors when finding unused entities ([#313](https://github.com/featurevisor/featurevisor/issues/313)) ([67e1158](https://github.com/featurevisor/featurevisor/commit/67e1158b0a2d8636700d167e69f391c1f03a7ed6))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.24.0](https://github.com/featurevisor/featurevisor/compare/v1.23.0...v1.24.0) (2024-06-24)
7
18
 
8
19
 
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1719263936688" clover="3.2.0">
3
- <project timestamp="1719263936688" name="All files">
2
+ <coverage generated="1721144617084" clover="3.2.0">
3
+ <project timestamp="1721144617084" name="All files">
4
4
  <metrics statements="381" coveredstatements="260" conditionals="193" coveredconditionals="122" methods="54" coveredmethods="37" elements="628" coveredelements="419" complexity="0" loc="381" ncloc="381" packages="4" files="10" classes="10"/>
5
5
  <package name="lib.builder">
6
6
  <metrics statements="106" coveredstatements="100" conditionals="60" coveredconditionals="50" methods="15" coveredmethods="15"/>
@@ -146,7 +146,7 @@
146
146
  <div class='footer quiet pad2 space-top1 center small'>
147
147
  Code coverage generated by
148
148
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
149
- at 2024-06-24T21:18:56.655Z
149
+ at 2024-07-16T15:43:37.046Z
150
150
  </div>
151
151
  <script src="prettify.js"></script>
152
152
  <script>
@@ -184,7 +184,7 @@ exports.getUpdatedAvailableRangesAfterFilling = getUpdatedAvailableRangesAfterFi
184
184
  <div class='footer quiet pad2 space-top1 center small'>
185
185
  Code coverage generated by
186
186
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
187
- at 2024-06-24T21:18:56.655Z
187
+ at 2024-07-16T15:43:37.046Z
188
188
  </div>
189
189
  <script src="../../prettify.js"></script>
190
190
  <script>
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at 2024-06-24T21:18:56.655Z
134
+ at 2024-07-16T15:43:37.046Z
135
135
  </div>
136
136
  <script src="../../prettify.js"></script>
137
137
  <script>
@@ -136,7 +136,7 @@ exports.getNextRevision = getNextRevision;
136
136
  <div class='footer quiet pad2 space-top1 center small'>
137
137
  Code coverage generated by
138
138
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
139
- at 2024-06-24T21:18:56.655Z
139
+ at 2024-07-16T15:43:37.046Z
140
140
  </div>
141
141
  <script src="../../prettify.js"></script>
142
142
  <script>
@@ -454,7 +454,7 @@ exports.getTraffic = getTraffic;
454
454
  <div class='footer quiet pad2 space-top1 center small'>
455
455
  Code coverage generated by
456
456
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
457
- at 2024-06-24T21:18:56.655Z
457
+ at 2024-07-16T15:43:37.046Z
458
458
  </div>
459
459
  <script src="../../prettify.js"></script>
460
460
  <script>
@@ -139,7 +139,7 @@ exports.checkIfObjectsAreEqual = checkIfObjectsAreEqual;
139
139
  <div class='footer quiet pad2 space-top1 center small'>
140
140
  Code coverage generated by
141
141
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
142
- at 2024-06-24T21:18:56.655Z
142
+ at 2024-07-16T15:43:37.046Z
143
143
  </div>
144
144
  <script src="../../prettify.js"></script>
145
145
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2024-06-24T21:18:56.655Z
119
+ at 2024-07-16T15:43:37.046Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -472,7 +472,7 @@ exports.getSegmentAssertionsFromMatrix = getSegmentAssertionsFromMatrix;
472
472
  <div class='footer quiet pad2 space-top1 center small'>
473
473
  Code coverage generated by
474
474
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
475
- at 2024-06-24T21:18:56.655Z
475
+ at 2024-07-16T15:43:37.046Z
476
476
  </div>
477
477
  <script src="../../prettify.js"></script>
478
478
  <script>
@@ -205,7 +205,7 @@ export function getUpdatedAvailableRangesAfterFilling(
205
205
  <div class='footer quiet pad2 space-top1 center small'>
206
206
  Code coverage generated by
207
207
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
208
- at 2024-06-24T21:18:56.655Z
208
+ at 2024-07-16T15:43:37.046Z
209
209
  </div>
210
210
  <script src="../../prettify.js"></script>
211
211
  <script>
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at 2024-06-24T21:18:56.655Z
134
+ at 2024-07-16T15:43:37.046Z
135
135
  </div>
136
136
  <script src="../../prettify.js"></script>
137
137
  <script>
@@ -136,7 +136,7 @@
136
136
  <div class='footer quiet pad2 space-top1 center small'>
137
137
  Code coverage generated by
138
138
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
139
- at 2024-06-24T21:18:56.655Z
139
+ at 2024-07-16T15:43:37.046Z
140
140
  </div>
141
141
  <script src="../../prettify.js"></script>
142
142
  <script>
@@ -565,7 +565,7 @@ export function getTraffic(
565
565
  <div class='footer quiet pad2 space-top1 center small'>
566
566
  Code coverage generated by
567
567
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
568
- at 2024-06-24T21:18:56.655Z
568
+ at 2024-07-16T15:43:37.046Z
569
569
  </div>
570
570
  <script src="../../prettify.js"></script>
571
571
  <script>
@@ -142,7 +142,7 @@
142
142
  <div class='footer quiet pad2 space-top1 center small'>
143
143
  Code coverage generated by
144
144
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
145
- at 2024-06-24T21:18:56.655Z
145
+ at 2024-07-16T15:43:37.046Z
146
146
  </div>
147
147
  <script src="../../prettify.js"></script>
148
148
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2024-06-24T21:18:56.655Z
119
+ at 2024-07-16T15:43:37.046Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -625,7 +625,7 @@ export function <span class="fstat-no" title="function not covered" >getSegmentA
625
625
  <div class='footer quiet pad2 space-top1 center small'>
626
626
  Code coverage generated by
627
627
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
628
- at 2024-06-24T21:18:56.655Z
628
+ at 2024-07-16T15:43:37.046Z
629
629
  </div>
630
630
  <script src="../../prettify.js"></script>
631
631
  <script>
@@ -27,5 +27,6 @@ export interface FindUsageOptions {
27
27
  attribute?: string;
28
28
  unusedSegments?: boolean;
29
29
  unusedAttributes?: boolean;
30
+ authors?: boolean;
30
31
  }
31
32
  export declare function findUsageInProject(deps: Dependencies, options: FindUsageOptions): Promise<void>;
@@ -324,79 +324,153 @@ function findUnusedAttributes(deps) {
324
324
  exports.findUnusedAttributes = findUnusedAttributes;
325
325
  function findUsageInProject(deps, options) {
326
326
  return __awaiter(this, void 0, void 0, function () {
327
- var usedInFeatures, usedIn, unusedSegments, unusedAttributes;
328
- return __generator(this, function (_a) {
329
- switch (_a.label) {
327
+ var datasource, usedInFeatures, _i, _a, featureKey, entries, authors, usedIn, _b, _c, featureKey, entries, authors, _d, _e, segmentKey, entries, authors, unusedSegments, _f, _g, segmentKey, entries, authors, unusedAttributes, _h, _j, attributeKey, entries, authors;
328
+ return __generator(this, function (_k) {
329
+ switch (_k.label) {
330
330
  case 0:
331
+ datasource = deps.datasource;
331
332
  console.log("");
332
- if (!options.segment) return [3 /*break*/, 2];
333
+ if (!options.segment) return [3 /*break*/, 8];
333
334
  return [4 /*yield*/, findSegmentUsage(deps, options.segment)];
334
335
  case 1:
335
- usedInFeatures = _a.sent();
336
- if (usedInFeatures.size === 0) {
337
- console.log("Segment \"".concat(options.segment, "\" is not used in any features."));
338
- }
339
- else {
340
- console.log("Segment \"".concat(options.segment, "\" is used in the following features:\n"));
341
- usedInFeatures.forEach(function (featureKey) {
342
- console.log(" - ".concat(featureKey));
343
- });
344
- }
345
- return [2 /*return*/];
336
+ usedInFeatures = _k.sent();
337
+ if (!(usedInFeatures.size === 0)) return [3 /*break*/, 2];
338
+ console.log("Segment \"".concat(options.segment, "\" is not used in any features."));
339
+ return [3 /*break*/, 7];
346
340
  case 2:
347
- if (!options.attribute) return [3 /*break*/, 4];
348
- return [4 /*yield*/, findAttributeUsage(deps, options.attribute)];
341
+ console.log("Segment \"".concat(options.segment, "\" is used in the following features:\n"));
342
+ _i = 0, _a = Array.from(usedInFeatures);
343
+ _k.label = 3;
349
344
  case 3:
350
- usedIn = _a.sent();
345
+ if (!(_i < _a.length)) return [3 /*break*/, 7];
346
+ featureKey = _a[_i];
347
+ if (!options.authors) return [3 /*break*/, 5];
348
+ return [4 /*yield*/, datasource.listHistoryEntries("feature", featureKey)];
349
+ case 4:
350
+ entries = _k.sent();
351
+ authors = Array.from(new Set(entries.map(function (entry) { return entry.author; })));
352
+ console.log(" - ".concat(featureKey, " (Authors: ").concat(authors.join(", "), ")"));
353
+ return [3 /*break*/, 6];
354
+ case 5:
355
+ console.log(" - ".concat(featureKey));
356
+ _k.label = 6;
357
+ case 6:
358
+ _i++;
359
+ return [3 /*break*/, 3];
360
+ case 7: return [2 /*return*/];
361
+ case 8:
362
+ if (!options.attribute) return [3 /*break*/, 21];
363
+ return [4 /*yield*/, findAttributeUsage(deps, options.attribute)];
364
+ case 9:
365
+ usedIn = _k.sent();
351
366
  if (usedIn.features.size === 0 && usedIn.segments.size === 0) {
352
367
  console.log("Attribute \"".concat(options.attribute, "\" is not used in any features or segments."));
353
368
  return [2 /*return*/];
354
369
  }
355
- if (usedIn.features.size > 0) {
356
- console.log("Attribute \"".concat(options.attribute, "\" is used in the following features:\n"));
357
- usedIn.features.forEach(function (featureKey) {
358
- console.log(" - ".concat(featureKey));
359
- });
360
- console.log("");
361
- }
362
- if (usedIn.segments.size > 0) {
363
- console.log("Attribute \"".concat(options.attribute, "\" is used in the following segments:\n"));
364
- usedIn.segments.forEach(function (segmentKey) {
365
- console.log(" - ".concat(segmentKey));
366
- });
367
- }
368
- return [2 /*return*/];
369
- case 4:
370
- if (!options.unusedSegments) return [3 /*break*/, 6];
370
+ if (!(usedIn.features.size > 0)) return [3 /*break*/, 15];
371
+ console.log("Attribute \"".concat(options.attribute, "\" is used in the following features:\n"));
372
+ _b = 0, _c = Array.from(usedIn.features);
373
+ _k.label = 10;
374
+ case 10:
375
+ if (!(_b < _c.length)) return [3 /*break*/, 14];
376
+ featureKey = _c[_b];
377
+ if (!options.authors) return [3 /*break*/, 12];
378
+ return [4 /*yield*/, datasource.listHistoryEntries("feature", featureKey)];
379
+ case 11:
380
+ entries = _k.sent();
381
+ authors = Array.from(new Set(entries.map(function (entry) { return entry.author; })));
382
+ console.log(" - ".concat(featureKey, " (Authors: ").concat(authors.join(", "), ")"));
383
+ return [3 /*break*/, 13];
384
+ case 12:
385
+ console.log(" - ".concat(featureKey));
386
+ _k.label = 13;
387
+ case 13:
388
+ _b++;
389
+ return [3 /*break*/, 10];
390
+ case 14:
391
+ console.log("");
392
+ _k.label = 15;
393
+ case 15:
394
+ if (!(usedIn.segments.size > 0)) return [3 /*break*/, 20];
395
+ console.log("Attribute \"".concat(options.attribute, "\" is used in the following segments:\n"));
396
+ _d = 0, _e = Array.from(usedIn.segments);
397
+ _k.label = 16;
398
+ case 16:
399
+ if (!(_d < _e.length)) return [3 /*break*/, 20];
400
+ segmentKey = _e[_d];
401
+ if (!options.authors) return [3 /*break*/, 18];
402
+ return [4 /*yield*/, datasource.listHistoryEntries("segment", segmentKey)];
403
+ case 17:
404
+ entries = _k.sent();
405
+ authors = Array.from(new Set(entries.map(function (entry) { return entry.author; })));
406
+ console.log(" - ".concat(segmentKey, " (Authors: ").concat(authors.join(", "), ")"));
407
+ return [3 /*break*/, 19];
408
+ case 18:
409
+ console.log(" - ".concat(segmentKey));
410
+ _k.label = 19;
411
+ case 19:
412
+ _d++;
413
+ return [3 /*break*/, 16];
414
+ case 20: return [2 /*return*/];
415
+ case 21:
416
+ if (!options.unusedSegments) return [3 /*break*/, 29];
371
417
  return [4 /*yield*/, findUnusedSegments(deps)];
372
- case 5:
373
- unusedSegments = _a.sent();
374
- if (unusedSegments.size === 0) {
375
- console.log("No unused segments found.");
376
- }
377
- else {
378
- console.log("Unused segments:\n");
379
- unusedSegments.forEach(function (segmentKey) {
380
- console.log(" - ".concat(segmentKey));
381
- });
382
- }
383
- return [2 /*return*/];
384
- case 6:
385
- if (!options.unusedAttributes) return [3 /*break*/, 8];
418
+ case 22:
419
+ unusedSegments = _k.sent();
420
+ if (!(unusedSegments.size === 0)) return [3 /*break*/, 23];
421
+ console.log("No unused segments found.");
422
+ return [3 /*break*/, 28];
423
+ case 23:
424
+ console.log("Unused segments:\n");
425
+ _f = 0, _g = Array.from(unusedSegments);
426
+ _k.label = 24;
427
+ case 24:
428
+ if (!(_f < _g.length)) return [3 /*break*/, 28];
429
+ segmentKey = _g[_f];
430
+ if (!options.authors) return [3 /*break*/, 26];
431
+ return [4 /*yield*/, datasource.listHistoryEntries("segment", segmentKey)];
432
+ case 25:
433
+ entries = _k.sent();
434
+ authors = Array.from(new Set(entries.map(function (entry) { return entry.author; })));
435
+ console.log(" - ".concat(segmentKey, " (Authors: ").concat(authors.join(", "), ")"));
436
+ return [3 /*break*/, 27];
437
+ case 26:
438
+ console.log(" - ".concat(segmentKey));
439
+ _k.label = 27;
440
+ case 27:
441
+ _f++;
442
+ return [3 /*break*/, 24];
443
+ case 28: return [2 /*return*/];
444
+ case 29:
445
+ if (!options.unusedAttributes) return [3 /*break*/, 37];
386
446
  return [4 /*yield*/, findUnusedAttributes(deps)];
387
- case 7:
388
- unusedAttributes = _a.sent();
389
- if (unusedAttributes.size === 0) {
390
- console.log("No unused attributes found.");
391
- }
392
- else {
393
- console.log("Unused attributes:\n");
394
- unusedAttributes.forEach(function (attributeKey) {
395
- console.log(" - ".concat(attributeKey));
396
- });
397
- }
398
- return [2 /*return*/];
399
- case 8:
447
+ case 30:
448
+ unusedAttributes = _k.sent();
449
+ if (!(unusedAttributes.size === 0)) return [3 /*break*/, 31];
450
+ console.log("No unused attributes found.");
451
+ return [3 /*break*/, 36];
452
+ case 31:
453
+ console.log("Unused attributes:\n");
454
+ _h = 0, _j = Array.from(unusedAttributes);
455
+ _k.label = 32;
456
+ case 32:
457
+ if (!(_h < _j.length)) return [3 /*break*/, 36];
458
+ attributeKey = _j[_h];
459
+ if (!options.authors) return [3 /*break*/, 34];
460
+ return [4 /*yield*/, datasource.listHistoryEntries("attribute", attributeKey)];
461
+ case 33:
462
+ entries = _k.sent();
463
+ authors = Array.from(new Set(entries.map(function (entry) { return entry.author; })));
464
+ console.log(" - ".concat(attributeKey, " (Authors: ").concat(authors.join(", "), ")"));
465
+ return [3 /*break*/, 35];
466
+ case 34:
467
+ console.log(" - ".concat(attributeKey));
468
+ _k.label = 35;
469
+ case 35:
470
+ _h++;
471
+ return [3 /*break*/, 32];
472
+ case 36: return [2 /*return*/];
473
+ case 37:
400
474
  console.log("Please specify a segment or attribute.");
401
475
  return [2 /*return*/];
402
476
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/find-usage/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAG8B;AAU9B,SAAsB,sBAAsB,CAAC,IAAkB;;;;;;oBACrD,UAAU,GAAoB,IAAI,WAAxB,EAAE,aAAa,GAAK,IAAI,cAAT,CAAU;oBACrC,eAAe,GAAoB,EAAE,CAAC;oBAExB,qBAAM,UAAU,CAAC,YAAY,EAAE,EAAA;;oBAA7C,WAAW,GAAG,SAA+B;wCAExC,UAAU;;;;wCACH,qBAAM,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,EAAA;;oCAAlD,OAAO,GAAG,SAAwC;oCACxD,eAAe,CAAC,UAAU,CAAC,GAAG;wCAC5B,QAAQ,EAAE,IAAI,GAAG,EAAc;wCAC/B,QAAQ,EAAE,IAAI,GAAG,EAAc;wCAC/B,UAAU,EAAE,IAAI,GAAG,EAAgB;qCACpC,CAAC;oCAEF,WAAW;oCACX,IAAI,OAAO,CAAC,QAAQ,E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 -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/core",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "Core package of Featurevisor for Node.js usage",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -57,5 +57,5 @@
57
57
  "@types/js-yaml": "^4.0.5",
58
58
  "@types/tar": "^6.1.4"
59
59
  },
60
- "gitHead": "de3c67ad46b69d7bce44de3a0a00450625561964"
60
+ "gitHead": "4ba871333e577b6164af64e9d66955306fb0fc04"
61
61
  }
@@ -243,9 +243,13 @@ export interface FindUsageOptions {
243
243
 
244
244
  unusedSegments?: boolean;
245
245
  unusedAttributes?: boolean;
246
+
247
+ authors?: boolean;
246
248
  }
247
249
 
248
250
  export async function findUsageInProject(deps: Dependencies, options: FindUsageOptions) {
251
+ const { datasource } = deps;
252
+
249
253
  console.log("");
250
254
 
251
255
  // segment
@@ -257,9 +261,16 @@ export async function findUsageInProject(deps: Dependencies, options: FindUsageO
257
261
  } else {
258
262
  console.log(`Segment "${options.segment}" is used in the following features:\n`);
259
263
 
260
- usedInFeatures.forEach((featureKey) => {
261
- console.log(` - ${featureKey}`);
262
- });
264
+ for (const featureKey of Array.from(usedInFeatures)) {
265
+ if (options.authors) {
266
+ const entries = await datasource.listHistoryEntries("feature", featureKey);
267
+ const authors = Array.from(new Set(entries.map((entry) => entry.author)));
268
+
269
+ console.log(` - ${featureKey} (Authors: ${authors.join(", ")})`);
270
+ } else {
271
+ console.log(` - ${featureKey}`);
272
+ }
273
+ }
263
274
  }
264
275
 
265
276
  return;
@@ -278,9 +289,16 @@ export async function findUsageInProject(deps: Dependencies, options: FindUsageO
278
289
  if (usedIn.features.size > 0) {
279
290
  console.log(`Attribute "${options.attribute}" is used in the following features:\n`);
280
291
 
281
- usedIn.features.forEach((featureKey) => {
282
- console.log(` - ${featureKey}`);
283
- });
292
+ for (const featureKey of Array.from(usedIn.features)) {
293
+ if (options.authors) {
294
+ const entries = await datasource.listHistoryEntries("feature", featureKey);
295
+ const authors = Array.from(new Set(entries.map((entry) => entry.author)));
296
+
297
+ console.log(` - ${featureKey} (Authors: ${authors.join(", ")})`);
298
+ } else {
299
+ console.log(` - ${featureKey}`);
300
+ }
301
+ }
284
302
 
285
303
  console.log("");
286
304
  }
@@ -288,9 +306,16 @@ export async function findUsageInProject(deps: Dependencies, options: FindUsageO
288
306
  if (usedIn.segments.size > 0) {
289
307
  console.log(`Attribute "${options.attribute}" is used in the following segments:\n`);
290
308
 
291
- usedIn.segments.forEach((segmentKey) => {
292
- console.log(` - ${segmentKey}`);
293
- });
309
+ for (const segmentKey of Array.from(usedIn.segments)) {
310
+ if (options.authors) {
311
+ const entries = await datasource.listHistoryEntries("segment", segmentKey);
312
+ const authors = Array.from(new Set(entries.map((entry) => entry.author)));
313
+
314
+ console.log(` - ${segmentKey} (Authors: ${authors.join(", ")})`);
315
+ } else {
316
+ console.log(` - ${segmentKey}`);
317
+ }
318
+ }
294
319
  }
295
320
 
296
321
  return;
@@ -305,9 +330,16 @@ export async function findUsageInProject(deps: Dependencies, options: FindUsageO
305
330
  } else {
306
331
  console.log("Unused segments:\n");
307
332
 
308
- unusedSegments.forEach((segmentKey) => {
309
- console.log(` - ${segmentKey}`);
310
- });
333
+ for (const segmentKey of Array.from(unusedSegments)) {
334
+ if (options.authors) {
335
+ const entries = await datasource.listHistoryEntries("segment", segmentKey);
336
+ const authors = Array.from(new Set(entries.map((entry) => entry.author)));
337
+
338
+ console.log(` - ${segmentKey} (Authors: ${authors.join(", ")})`);
339
+ } else {
340
+ console.log(` - ${segmentKey}`);
341
+ }
342
+ }
311
343
  }
312
344
 
313
345
  return;
@@ -322,9 +354,16 @@ export async function findUsageInProject(deps: Dependencies, options: FindUsageO
322
354
  } else {
323
355
  console.log("Unused attributes:\n");
324
356
 
325
- unusedAttributes.forEach((attributeKey) => {
326
- console.log(` - ${attributeKey}`);
327
- });
357
+ for (const attributeKey of Array.from(unusedAttributes)) {
358
+ if (options.authors) {
359
+ const entries = await datasource.listHistoryEntries("attribute", attributeKey);
360
+ const authors = Array.from(new Set(entries.map((entry) => entry.author)));
361
+
362
+ console.log(` - ${attributeKey} (Authors: ${authors.join(", ")})`);
363
+ } else {
364
+ console.log(` - ${attributeKey}`);
365
+ }
366
+ }
328
367
  }
329
368
 
330
369
  return;