scanoss 0.7.8 → 0.7.10

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.
Files changed (438) hide show
  1. package/build/main/index.d.ts +2 -0
  2. package/build/main/index.js +3 -1
  3. package/build/main/sdk/FileCount/FileCount.d.ts +6 -0
  4. package/build/main/sdk/FileCount/FileCount.js +88 -0
  5. package/build/main/sdk/FileCount/FileCountFilter.d.ts +2 -0
  6. package/build/main/sdk/FileCount/FileCountFilter.js +10 -0
  7. package/build/main/sdk/FileCount/Interfaces.d.ts +19 -0
  8. package/build/main/sdk/FileCount/Interfaces.js +8 -0
  9. package/build/main/sdk/Filtering/DefaultFilterForDependencies.d.ts +2 -0
  10. package/build/main/sdk/Filtering/DefaultFilterForDependencies.js +144 -0
  11. package/build/main/sdk/Filtering/DefaultFilterForScanning.d.ts +2 -0
  12. package/build/main/sdk/Filtering/DefaultFilterForScanning.js +193 -0
  13. package/build/main/sdk/Filtering/Filtering.d.ts +80 -0
  14. package/build/main/sdk/Filtering/Filtering.js +259 -0
  15. package/build/main/sdk/scanner/WfpProvider/WfpCalculator/WfpCalculator.d.ts +1 -1
  16. package/build/main/sdk/tree/Filters/DependencyFilter.js +4 -4
  17. package/build/main/sdk/tree/Filters/ScanFilter.js +4 -4
  18. package/build/main/tsconfig.tsbuildinfo +82 -39
  19. package/build/module/index.d.ts +2 -0
  20. package/build/module/index.js +3 -1
  21. package/build/module/sdk/FileCount/FileCount.d.ts +6 -0
  22. package/build/module/sdk/FileCount/FileCount.js +63 -0
  23. package/build/module/sdk/FileCount/FileCountFilter.d.ts +2 -0
  24. package/build/module/sdk/FileCount/FileCountFilter.js +8 -0
  25. package/build/module/sdk/FileCount/Interfaces.d.ts +19 -0
  26. package/build/module/sdk/FileCount/Interfaces.js +6 -0
  27. package/build/module/sdk/Filtering/DefaultFilterForDependencies.d.ts +2 -0
  28. package/build/module/sdk/Filtering/DefaultFilterForDependencies.js +142 -0
  29. package/build/module/sdk/Filtering/DefaultFilterForScanning.d.ts +2 -0
  30. package/build/module/sdk/Filtering/DefaultFilterForScanning.js +191 -0
  31. package/build/module/sdk/Filtering/Filtering.d.ts +80 -0
  32. package/build/module/sdk/Filtering/Filtering.js +229 -0
  33. package/build/module/sdk/scanner/WfpProvider/WfpCalculator/WfpCalculator.d.ts +1 -1
  34. package/build/module/sdk/tree/Filters/DependencyFilter.js +4 -4
  35. package/build/module/sdk/tree/Filters/ScanFilter.js +4 -4
  36. package/build/module/tsconfig.module.tsbuildinfo +82 -39
  37. package/package.json +3 -3
  38. package/.circleci/config.yml +0 -64
  39. package/.cspell.json +0 -36
  40. package/.editorconfig +0 -15
  41. package/.eslintrc.json +0 -37
  42. package/.github/workflows/reuse.yml +0 -15
  43. package/.github/workflows/scanoss.yml +0 -24
  44. package/.gitignore +0 -10
  45. package/.idea/.gitignore +0 -5
  46. package/.idea/codeStyles/Project.xml +0 -61
  47. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  48. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  49. package/.idea/modules.xml +0 -8
  50. package/.idea/scanoss.js.iml +0 -12
  51. package/.idea/vcs.xml +0 -6
  52. package/.idea/workspace.xml +0 -297
  53. package/.prettierignore +0 -2
  54. package/.reuse/dep5 +0 -16
  55. package/.vscode/extensions.json +0 -8
  56. package/.vscode/launch.json +0 -29
  57. package/.vscode/settings.json +0 -7
  58. package/LICENSES/CC0-1.0.txt +0 -121
  59. package/LICENSES/MIT.txt +0 -9
  60. package/assets/ReportHTMLTemplate/index.html +0 -1181
  61. package/build/main/package.json +0 -120
  62. package/build/main/sdk/filters/DefaultFilterForDependencies.d.ts +0 -16
  63. package/build/main/sdk/filters/DefaultFilterForDependencies.js +0 -145
  64. package/build/main/sdk/filters/DefaultFilterForScanning.d.ts +0 -16
  65. package/build/main/sdk/filters/DefaultFilterForScanning.js +0 -194
  66. package/build/main/sdk/filters/filtering.d.ts +0 -32
  67. package/build/main/sdk/filters/filtering.js +0 -228
  68. package/build/main/src/cli/bin/cli-bin.d.ts +0 -2
  69. package/build/main/src/cli/bin/cli-bin.js +0 -68
  70. package/build/main/src/cli/commands/dep.d.ts +0 -1
  71. package/build/main/src/cli/commands/dep.js +0 -38
  72. package/build/main/src/cli/commands/helpers.d.ts +0 -2
  73. package/build/main/src/cli/commands/helpers.js +0 -25
  74. package/build/main/src/cli/commands/scan.d.ts +0 -1
  75. package/build/main/src/cli/commands/scan.js +0 -138
  76. package/build/main/src/cli/commands/wfp.d.ts +0 -1
  77. package/build/main/src/cli/commands/wfp.js +0 -54
  78. package/build/main/src/index.d.ts +0 -14
  79. package/build/main/src/index.js +0 -30
  80. package/build/main/src/sdk/DataLayer/DataLayerTypes.d.ts +0 -108
  81. package/build/main/src/sdk/DataLayer/DataLayerTypes.js +0 -5
  82. package/build/main/src/sdk/DataLayer/DataProviderManager.d.ts +0 -7
  83. package/build/main/src/sdk/DataLayer/DataProviderManager.js +0 -24
  84. package/build/main/src/sdk/DataLayer/DataProviders/ComponentDataProvider.d.ts +0 -13
  85. package/build/main/src/sdk/DataLayer/DataProviders/ComponentDataProvider.js +0 -164
  86. package/build/main/src/sdk/DataLayer/DataProviders/DependencyDataProvider.d.ts +0 -9
  87. package/build/main/src/sdk/DataLayer/DataProviders/DependencyDataProvider.js +0 -37
  88. package/build/main/src/sdk/DataLayer/DataProviders/LicenseDataProvider.d.ts +0 -18
  89. package/build/main/src/sdk/DataLayer/DataProviders/LicenseDataProvider.js +0 -148
  90. package/build/main/src/sdk/DataLayer/DataProviders/SummaryDataProvider.d.ts +0 -11
  91. package/build/main/src/sdk/DataLayer/DataProviders/SummaryDataProvider.js +0 -33
  92. package/build/main/src/sdk/Decompress/DecompressionManager.d.ts +0 -12
  93. package/build/main/src/sdk/Decompress/DecompressionManager.js +0 -73
  94. package/build/main/src/sdk/Decompress/Decompressor/DecompressTgz.d.ts +0 -5
  95. package/build/main/src/sdk/Decompress/Decompressor/DecompressTgz.js +0 -22
  96. package/build/main/src/sdk/Decompress/Decompressor/DecompressZips.d.ts +0 -5
  97. package/build/main/src/sdk/Decompress/Decompressor/DecompressZips.js +0 -24
  98. package/build/main/src/sdk/Decompress/Decompressor/Decompressor.d.ts +0 -10
  99. package/build/main/src/sdk/Decompress/Decompressor/Decompressor.js +0 -18
  100. package/build/main/src/sdk/Dependencies/DependencyScanner.d.ts +0 -11
  101. package/build/main/src/sdk/Dependencies/DependencyScanner.js +0 -96
  102. package/build/main/src/sdk/Dependencies/DependencyScannerCfg.d.ts +0 -4
  103. package/build/main/src/sdk/Dependencies/DependencyScannerCfg.js +0 -10
  104. package/build/main/src/sdk/Dependencies/DependencyTypes.d.ts +0 -21
  105. package/build/main/src/sdk/Dependencies/DependencyTypes.js +0 -2
  106. package/build/main/src/sdk/Dependencies/LocalDependency/DependencyTypes.d.ts +0 -16
  107. package/build/main/src/sdk/Dependencies/LocalDependency/DependencyTypes.js +0 -2
  108. package/build/main/src/sdk/Dependencies/LocalDependency/LocalDependency.d.ts +0 -8
  109. package/build/main/src/sdk/Dependencies/LocalDependency/LocalDependency.js +0 -102
  110. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/buildGradleParser.d.ts +0 -2
  111. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/buildGradleParser.js +0 -95
  112. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/golangParser.d.ts +0 -3
  113. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/golangParser.js +0 -97
  114. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/mavenParser.d.ts +0 -2
  115. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/mavenParser.js +0 -183
  116. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/npmParser.d.ts +0 -13
  117. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/npmParser.js +0 -187
  118. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/nugetParser.d.ts +0 -3
  119. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/nugetParser.js +0 -58
  120. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/pyParser.d.ts +0 -2
  121. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/pyParser.js +0 -64
  122. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/rubyParser.d.ts +0 -3
  123. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/rubyParser.js +0 -132
  124. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/utils.d.ts +0 -2
  125. package/build/main/src/sdk/Dependencies/LocalDependency/parsers/utils.js +0 -19
  126. package/build/main/src/sdk/Report/Report.d.ts +0 -8
  127. package/build/main/src/sdk/Report/Report.js +0 -26
  128. package/build/main/src/sdk/filters/DefaultFilterForDependencies.d.ts +0 -16
  129. package/build/main/src/sdk/filters/DefaultFilterForDependencies.js +0 -145
  130. package/build/main/src/sdk/filters/DefaultFilterForScanning.d.ts +0 -16
  131. package/build/main/src/sdk/filters/DefaultFilterForScanning.js +0 -194
  132. package/build/main/src/sdk/filters/filtering.d.ts +0 -32
  133. package/build/main/src/sdk/filters/filtering.js +0 -228
  134. package/build/main/src/sdk/grpc/GrpcDependencyService.d.ts +0 -11
  135. package/build/main/src/sdk/grpc/GrpcDependencyService.js +0 -86
  136. package/build/main/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.d.ts +0 -0
  137. package/build/main/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.js +0 -2
  138. package/build/main/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_pb.d.ts +0 -1
  139. package/build/main/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_pb.js +0 -404
  140. package/build/main/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.d.ts +0 -39
  141. package/build/main/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.js +0 -98
  142. package/build/main/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.d.ts +0 -1
  143. package/build/main/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.js +0 -1197
  144. package/build/main/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.d.ts +0 -19
  145. package/build/main/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.js +0 -66
  146. package/build/main/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.d.ts +0 -1
  147. package/build/main/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.js +0 -14
  148. package/build/main/src/sdk/scanner/Dispatcher/DispatchableItem.d.ts +0 -19
  149. package/build/main/src/sdk/scanner/Dispatcher/DispatchableItem.js +0 -43
  150. package/build/main/src/sdk/scanner/Dispatcher/Dispatcher.d.ts +0 -20
  151. package/build/main/src/sdk/scanner/Dispatcher/Dispatcher.js +0 -160
  152. package/build/main/src/sdk/scanner/Dispatcher/DispatcherResponse.d.ts +0 -12
  153. package/build/main/src/sdk/scanner/Dispatcher/DispatcherResponse.js +0 -33
  154. package/build/main/src/sdk/scanner/Dispatcher/GlobalControllerAborter.d.ts +0 -10
  155. package/build/main/src/sdk/scanner/Dispatcher/GlobalControllerAborter.js +0 -32
  156. package/build/main/src/sdk/scanner/Fingerprint.d.ts +0 -16
  157. package/build/main/src/sdk/scanner/Fingerprint.js +0 -78
  158. package/build/main/src/sdk/scanner/Scannable/ScannableItem.d.ts +0 -15
  159. package/build/main/src/sdk/scanner/Scannable/ScannableItem.js +0 -27
  160. package/build/main/src/sdk/scanner/Scanner.d.ts +0 -46
  161. package/build/main/src/sdk/scanner/Scanner.js +0 -283
  162. package/build/main/src/sdk/scanner/ScannerCfg.d.ts +0 -16
  163. package/build/main/src/sdk/scanner/ScannerCfg.js +0 -30
  164. package/build/main/src/sdk/scanner/ScannerTypes.d.ts +0 -121
  165. package/build/main/src/sdk/scanner/ScannerTypes.js +0 -48
  166. package/build/main/src/sdk/scanner/WfpProvider/FingerprintPackage.d.ts +0 -9
  167. package/build/main/src/sdk/scanner/WfpProvider/FingerprintPackage.js +0 -31
  168. package/build/main/src/sdk/scanner/WfpProvider/WfpCalculator/WfpCalculator.d.ts +0 -20
  169. package/build/main/src/sdk/scanner/WfpProvider/WfpCalculator/WfpCalculator.js +0 -492
  170. package/build/main/src/sdk/scanner/WfpProvider/WfpProvider.d.ts +0 -35
  171. package/build/main/src/sdk/scanner/WfpProvider/WfpProvider.js +0 -68
  172. package/build/main/src/sdk/scanner/WfpProvider/WfpSplitter/WfpSplitter.d.ts +0 -21
  173. package/build/main/src/sdk/scanner/WfpProvider/WfpSplitter/WfpSplitter.js +0 -139
  174. package/build/main/src/sdk/tree/File.d.ts +0 -7
  175. package/build/main/src/sdk/tree/File.js +0 -24
  176. package/build/main/src/sdk/tree/Filters/DecompressionFilter.d.ts +0 -7
  177. package/build/main/src/sdk/tree/Filters/DecompressionFilter.js +0 -21
  178. package/build/main/src/sdk/tree/Filters/DependencyFilter.d.ts +0 -7
  179. package/build/main/src/sdk/tree/Filters/DependencyFilter.js +0 -17
  180. package/build/main/src/sdk/tree/Filters/Filter.d.ts +0 -4
  181. package/build/main/src/sdk/tree/Filters/Filter.js +0 -6
  182. package/build/main/src/sdk/tree/Filters/ScanFilter.d.ts +0 -7
  183. package/build/main/src/sdk/tree/Filters/ScanFilter.js +0 -17
  184. package/build/main/src/sdk/tree/Folder.d.ts +0 -12
  185. package/build/main/src/sdk/tree/Folder.js +0 -58
  186. package/build/main/src/sdk/tree/Node.d.ts +0 -17
  187. package/build/main/src/sdk/tree/Node.js +0 -25
  188. package/build/main/src/sdk/tree/Tree.d.ts +0 -18
  189. package/build/main/src/sdk/tree/Tree.js +0 -70
  190. package/build/module/package.json +0 -120
  191. package/build/module/sdk/filters/DefaultFilterForDependencies.d.ts +0 -16
  192. package/build/module/sdk/filters/DefaultFilterForDependencies.js +0 -143
  193. package/build/module/sdk/filters/DefaultFilterForScanning.d.ts +0 -16
  194. package/build/module/sdk/filters/DefaultFilterForScanning.js +0 -192
  195. package/build/module/sdk/filters/filtering.d.ts +0 -32
  196. package/build/module/sdk/filters/filtering.js +0 -203
  197. package/build/module/src/cli/bin/cli-bin.d.ts +0 -2
  198. package/build/module/src/cli/bin/cli-bin.js +0 -67
  199. package/build/module/src/cli/commands/dep.d.ts +0 -1
  200. package/build/module/src/cli/commands/dep.js +0 -32
  201. package/build/module/src/cli/commands/helpers.d.ts +0 -2
  202. package/build/module/src/cli/commands/helpers.js +0 -19
  203. package/build/module/src/cli/commands/scan.d.ts +0 -1
  204. package/build/module/src/cli/commands/scan.js +0 -135
  205. package/build/module/src/cli/commands/wfp.d.ts +0 -1
  206. package/build/module/src/cli/commands/wfp.js +0 -48
  207. package/build/module/src/index.d.ts +0 -14
  208. package/build/module/src/index.js +0 -19
  209. package/build/module/src/sdk/DataLayer/DataLayerTypes.d.ts +0 -108
  210. package/build/module/src/sdk/DataLayer/DataLayerTypes.js +0 -5
  211. package/build/module/src/sdk/DataLayer/DataProviderManager.d.ts +0 -7
  212. package/build/module/src/sdk/DataLayer/DataProviderManager.js +0 -21
  213. package/build/module/src/sdk/DataLayer/DataProviders/ComponentDataProvider.d.ts +0 -13
  214. package/build/module/src/sdk/DataLayer/DataProviders/ComponentDataProvider.js +0 -159
  215. package/build/module/src/sdk/DataLayer/DataProviders/DependencyDataProvider.d.ts +0 -9
  216. package/build/module/src/sdk/DataLayer/DataProviders/DependencyDataProvider.js +0 -34
  217. package/build/module/src/sdk/DataLayer/DataProviders/LicenseDataProvider.d.ts +0 -18
  218. package/build/module/src/sdk/DataLayer/DataProviders/LicenseDataProvider.js +0 -145
  219. package/build/module/src/sdk/DataLayer/DataProviders/SummaryDataProvider.d.ts +0 -11
  220. package/build/module/src/sdk/DataLayer/DataProviders/SummaryDataProvider.js +0 -30
  221. package/build/module/src/sdk/Decompress/DecompressionManager.d.ts +0 -12
  222. package/build/module/src/sdk/Decompress/DecompressionManager.js +0 -67
  223. package/build/module/src/sdk/Decompress/Decompressor/DecompressTgz.d.ts +0 -5
  224. package/build/module/src/sdk/Decompress/Decompressor/DecompressTgz.js +0 -16
  225. package/build/module/src/sdk/Decompress/Decompressor/DecompressZips.d.ts +0 -5
  226. package/build/module/src/sdk/Decompress/Decompressor/DecompressZips.js +0 -18
  227. package/build/module/src/sdk/Decompress/Decompressor/Decompressor.d.ts +0 -10
  228. package/build/module/src/sdk/Decompress/Decompressor/Decompressor.js +0 -15
  229. package/build/module/src/sdk/Dependencies/DependencyScanner.d.ts +0 -11
  230. package/build/module/src/sdk/Dependencies/DependencyScanner.js +0 -93
  231. package/build/module/src/sdk/Dependencies/DependencyScannerCfg.d.ts +0 -4
  232. package/build/module/src/sdk/Dependencies/DependencyScannerCfg.js +0 -7
  233. package/build/module/src/sdk/Dependencies/DependencyTypes.d.ts +0 -21
  234. package/build/module/src/sdk/Dependencies/DependencyTypes.js +0 -2
  235. package/build/module/src/sdk/Dependencies/LocalDependency/DependencyTypes.d.ts +0 -16
  236. package/build/module/src/sdk/Dependencies/LocalDependency/DependencyTypes.js +0 -2
  237. package/build/module/src/sdk/Dependencies/LocalDependency/LocalDependency.d.ts +0 -8
  238. package/build/module/src/sdk/Dependencies/LocalDependency/LocalDependency.js +0 -96
  239. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/buildGradleParser.d.ts +0 -2
  240. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/buildGradleParser.js +0 -87
  241. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/golangParser.d.ts +0 -3
  242. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/golangParser.js +0 -88
  243. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/mavenParser.d.ts +0 -2
  244. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/mavenParser.js +0 -180
  245. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/npmParser.d.ts +0 -13
  246. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/npmParser.js +0 -175
  247. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/nugetParser.d.ts +0 -3
  248. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/nugetParser.js +0 -49
  249. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/pyParser.d.ts +0 -2
  250. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/pyParser.js +0 -57
  251. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/rubyParser.d.ts +0 -3
  252. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/rubyParser.js +0 -125
  253. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/utils.d.ts +0 -2
  254. package/build/module/src/sdk/Dependencies/LocalDependency/parsers/utils.js +0 -15
  255. package/build/module/src/sdk/Report/Report.d.ts +0 -8
  256. package/build/module/src/sdk/Report/Report.js +0 -20
  257. package/build/module/src/sdk/filters/DefaultFilterForDependencies.d.ts +0 -16
  258. package/build/module/src/sdk/filters/DefaultFilterForDependencies.js +0 -143
  259. package/build/module/src/sdk/filters/DefaultFilterForScanning.d.ts +0 -16
  260. package/build/module/src/sdk/filters/DefaultFilterForScanning.js +0 -192
  261. package/build/module/src/sdk/filters/filtering.d.ts +0 -32
  262. package/build/module/src/sdk/filters/filtering.js +0 -203
  263. package/build/module/src/sdk/grpc/GrpcDependencyService.d.ts +0 -11
  264. package/build/module/src/sdk/grpc/GrpcDependencyService.js +0 -64
  265. package/build/module/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.d.ts +0 -0
  266. package/build/module/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.js +0 -2
  267. package/build/module/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_pb.d.ts +0 -1
  268. package/build/module/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_pb.js +0 -404
  269. package/build/module/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.d.ts +0 -39
  270. package/build/module/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.js +0 -98
  271. package/build/module/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.d.ts +0 -1
  272. package/build/module/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.js +0 -1197
  273. package/build/module/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.d.ts +0 -19
  274. package/build/module/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.js +0 -66
  275. package/build/module/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.d.ts +0 -1
  276. package/build/module/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.js +0 -14
  277. package/build/module/src/sdk/scanner/Dispatcher/DispatchableItem.d.ts +0 -19
  278. package/build/module/src/sdk/scanner/Dispatcher/DispatchableItem.js +0 -37
  279. package/build/module/src/sdk/scanner/Dispatcher/Dispatcher.d.ts +0 -20
  280. package/build/module/src/sdk/scanner/Dispatcher/Dispatcher.js +0 -135
  281. package/build/module/src/sdk/scanner/Dispatcher/DispatcherResponse.d.ts +0 -12
  282. package/build/module/src/sdk/scanner/Dispatcher/DispatcherResponse.js +0 -30
  283. package/build/module/src/sdk/scanner/Dispatcher/GlobalControllerAborter.d.ts +0 -10
  284. package/build/module/src/sdk/scanner/Dispatcher/GlobalControllerAborter.js +0 -26
  285. package/build/module/src/sdk/scanner/Fingerprint.d.ts +0 -16
  286. package/build/module/src/sdk/scanner/Fingerprint.js +0 -54
  287. package/build/module/src/sdk/scanner/Scannable/ScannableItem.d.ts +0 -15
  288. package/build/module/src/sdk/scanner/Scannable/ScannableItem.js +0 -24
  289. package/build/module/src/sdk/scanner/Scanner.d.ts +0 -46
  290. package/build/module/src/sdk/scanner/Scanner.js +0 -275
  291. package/build/module/src/sdk/scanner/ScannerCfg.d.ts +0 -16
  292. package/build/module/src/sdk/scanner/ScannerCfg.js +0 -27
  293. package/build/module/src/sdk/scanner/ScannerTypes.d.ts +0 -121
  294. package/build/module/src/sdk/scanner/ScannerTypes.js +0 -46
  295. package/build/module/src/sdk/scanner/WfpProvider/FingerprintPackage.d.ts +0 -9
  296. package/build/module/src/sdk/scanner/WfpProvider/FingerprintPackage.js +0 -28
  297. package/build/module/src/sdk/scanner/WfpProvider/WfpCalculator/WfpCalculator.d.ts +0 -20
  298. package/build/module/src/sdk/scanner/WfpProvider/WfpCalculator/WfpCalculator.js +0 -486
  299. package/build/module/src/sdk/scanner/WfpProvider/WfpProvider.d.ts +0 -35
  300. package/build/module/src/sdk/scanner/WfpProvider/WfpProvider.js +0 -65
  301. package/build/module/src/sdk/scanner/WfpProvider/WfpSplitter/WfpSplitter.d.ts +0 -21
  302. package/build/module/src/sdk/scanner/WfpProvider/WfpSplitter/WfpSplitter.js +0 -132
  303. package/build/module/src/sdk/tree/File.d.ts +0 -7
  304. package/build/module/src/sdk/tree/File.js +0 -19
  305. package/build/module/src/sdk/tree/Filters/DecompressionFilter.d.ts +0 -7
  306. package/build/module/src/sdk/tree/Filters/DecompressionFilter.js +0 -18
  307. package/build/module/src/sdk/tree/Filters/DependencyFilter.d.ts +0 -7
  308. package/build/module/src/sdk/tree/Filters/DependencyFilter.js +0 -14
  309. package/build/module/src/sdk/tree/Filters/Filter.d.ts +0 -4
  310. package/build/module/src/sdk/tree/Filters/Filter.js +0 -3
  311. package/build/module/src/sdk/tree/Filters/ScanFilter.d.ts +0 -7
  312. package/build/module/src/sdk/tree/Filters/ScanFilter.js +0 -14
  313. package/build/module/src/sdk/tree/Folder.d.ts +0 -12
  314. package/build/module/src/sdk/tree/Folder.js +0 -53
  315. package/build/module/src/sdk/tree/Node.d.ts +0 -17
  316. package/build/module/src/sdk/tree/Node.js +0 -22
  317. package/build/module/src/sdk/tree/Tree.d.ts +0 -18
  318. package/build/module/src/sdk/tree/Tree.js +0 -64
  319. package/package-lock.json +0 -17117
  320. package/src/cli/bin/cli-bin.ts +0 -81
  321. package/src/cli/commands/dep.ts +0 -37
  322. package/src/cli/commands/helpers.ts +0 -19
  323. package/src/cli/commands/scan.ts +0 -173
  324. package/src/cli/commands/wfp.ts +0 -60
  325. package/src/index.ts +0 -26
  326. package/src/sdk/DataLayer/DataLayerTypes.ts +0 -129
  327. package/src/sdk/DataLayer/DataProviderManager.ts +0 -27
  328. package/src/sdk/DataLayer/DataProviders/ComponentDataProvider.ts +0 -195
  329. package/src/sdk/DataLayer/DataProviders/DependencyDataProvider.ts +0 -48
  330. package/src/sdk/DataLayer/DataProviders/LicenseDataProvider.ts +0 -184
  331. package/src/sdk/DataLayer/DataProviders/SummaryDataProvider.ts +0 -47
  332. package/src/sdk/Decompress/DecompressionManager.ts +0 -91
  333. package/src/sdk/Decompress/Decompressor/DecompressTgz.ts +0 -20
  334. package/src/sdk/Decompress/Decompressor/DecompressZips.ts +0 -21
  335. package/src/sdk/Decompress/Decompressor/Decompressor.ts +0 -20
  336. package/src/sdk/Dependencies/DependencyScanner.ts +0 -108
  337. package/src/sdk/Dependencies/DependencyScannerCfg.ts +0 -7
  338. package/src/sdk/Dependencies/DependencyTypes.ts +0 -24
  339. package/src/sdk/Dependencies/LocalDependency/DependencyTypes.ts +0 -21
  340. package/src/sdk/Dependencies/LocalDependency/LocalDependency.ts +0 -111
  341. package/src/sdk/Dependencies/LocalDependency/parsers/buildGradleParser.ts +0 -115
  342. package/src/sdk/Dependencies/LocalDependency/parsers/golangParser.ts +0 -130
  343. package/src/sdk/Dependencies/LocalDependency/parsers/mavenParser.ts +0 -209
  344. package/src/sdk/Dependencies/LocalDependency/parsers/npmParser.ts +0 -227
  345. package/src/sdk/Dependencies/LocalDependency/parsers/nugetParser.ts +0 -64
  346. package/src/sdk/Dependencies/LocalDependency/parsers/pyParser.ts +0 -58
  347. package/src/sdk/Dependencies/LocalDependency/parsers/rubyParser.ts +0 -174
  348. package/src/sdk/Dependencies/LocalDependency/parsers/utils.ts +0 -15
  349. package/src/sdk/Report/Report.ts +0 -30
  350. package/src/sdk/filters/DefaultFilterForDependencies.ts +0 -149
  351. package/src/sdk/filters/DefaultFilterForScanning.ts +0 -207
  352. package/src/sdk/filters/filtering.ts +0 -235
  353. package/src/sdk/grpc/GrpcDependencyService.ts +0 -72
  354. package/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.d.ts +0 -1
  355. package/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.js +0 -1
  356. package/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_pb.d.ts +0 -79
  357. package/src/sdk/grpc/scanoss/api/common/v2/scanoss-common_pb.js +0 -482
  358. package/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.d.ts +0 -30
  359. package/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.js +0 -109
  360. package/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.d.ts +0 -206
  361. package/src/sdk/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.js +0 -1489
  362. package/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.d.ts +0 -25
  363. package/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.js +0 -73
  364. package/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.d.ts +0 -6
  365. package/src/sdk/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.js +0 -15
  366. package/src/sdk/scanner/Dispatcher/DispatchableItem.ts +0 -62
  367. package/src/sdk/scanner/Dispatcher/Dispatcher.ts +0 -173
  368. package/src/sdk/scanner/Dispatcher/DispatcherResponse.ts +0 -40
  369. package/src/sdk/scanner/Dispatcher/GlobalControllerAborter.ts +0 -33
  370. package/src/sdk/scanner/Fingerprint.ts +0 -82
  371. package/src/sdk/scanner/Scannable/ScannableItem.ts +0 -43
  372. package/src/sdk/scanner/Scanner.ts +0 -360
  373. package/src/sdk/scanner/ScannerCfg.ts +0 -43
  374. package/src/sdk/scanner/ScannerTypes.ts +0 -127
  375. package/src/sdk/scanner/WfpProvider/FingerprintPackage.ts +0 -34
  376. package/src/sdk/scanner/WfpProvider/WfpCalculator/WfpCalculator.ts +0 -516
  377. package/src/sdk/scanner/WfpProvider/WfpProvider.ts +0 -105
  378. package/src/sdk/scanner/WfpProvider/WfpSplitter/WfpSplitter.ts +0 -184
  379. package/src/sdk/tree/File.ts +0 -22
  380. package/src/sdk/tree/Filters/DecompressionFilter.ts +0 -22
  381. package/src/sdk/tree/Filters/DependencyFilter.ts +0 -22
  382. package/src/sdk/tree/Filters/Filter.ts +0 -5
  383. package/src/sdk/tree/Filters/ScanFilter.ts +0 -22
  384. package/src/sdk/tree/Folder.ts +0 -57
  385. package/src/sdk/tree/Node.ts +0 -39
  386. package/src/sdk/tree/Tree.ts +0 -82
  387. package/tests/scanoss.sh +0 -56
  388. package/tests/sdk/DataLayer/DataProviders/ComponentDataProvider.spec.ts +0 -176
  389. package/tests/sdk/DataLayer/DataProviders/DependencyDataProvider.spec.ts +0 -51
  390. package/tests/sdk/DataLayer/DataProviders/SummaryDataProvider.spec.ts +0 -35
  391. package/tests/sdk/DataLayer/DataProviders/samples/results-with-dep.json +0 -665
  392. package/tests/sdk/DataLayer/DataProviders/samples/results.json +0 -556
  393. package/tests/sdk/DataLayer/samples/simple/results-with-dep.json +0 -665
  394. package/tests/sdk/DataLayer/samples/simple-1/output1.json +0 -1196
  395. package/tests/sdk/Dependencies/LocalDependency/LocalDependency.spec.ts +0 -24
  396. package/tests/sdk/Dependencies/LocalDependency/Parsers/buildGradle.spec.ts +0 -48
  397. package/tests/sdk/Dependencies/LocalDependency/Parsers/golangParser.spec.ts +0 -146
  398. package/tests/sdk/Dependencies/LocalDependency/Parsers/npmParser.spec.ts +0 -135
  399. package/tests/sdk/Dependencies/LocalDependency/Parsers/nugetParser.spec.ts +0 -73
  400. package/tests/sdk/Dependencies/LocalDependency/Parsers/pomParser.spec.ts +0 -45
  401. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile/1/Gemfile +0 -6
  402. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile/1/Gemfile~ +0 -0
  403. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile/2/Gemfile +0 -3
  404. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile/2/Gemfile~ +0 -6
  405. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile/3/Gemfile +0 -7
  406. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile/3/Gemfile~ +0 -6
  407. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile/4/Gemfile +0 -31
  408. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile/4/Gemfile~ +0 -7
  409. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile.lock/1/Gemfile.lock +0 -180
  410. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile.lock/2/Gemfile.lock +0 -60
  411. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/Gemfile.lock/2/Gemfile.lock~ +0 -0
  412. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/go.sum/1/go.sum +0 -119
  413. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/go.sum/depJSON.sh +0 -23
  414. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/gradle/1/build.gradle +0 -26
  415. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/gradle/2/build.gradle +0 -16
  416. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/nuget/NoDependencies.csproj +0 -115
  417. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/nuget/netcore-2.csproj +0 -18
  418. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/nuget/netcore.csproj +0 -14
  419. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/nuget/packageConfig-1/packages.config +0 -5
  420. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/pom.xml/1/pom.xml +0 -670
  421. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/pom.xml/2/pom.xml +0 -780
  422. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/yarn-lock/generate_expected_output.sh +0 -4
  423. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/yarn-lock/v1/yarn.lock +0 -50
  424. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/yarn-lock/v1/yarn.lock-expected +0 -13
  425. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/yarn-lock/v1-complex/yarn.lock +0 -27
  426. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/yarn-lock/v1-complex/yarn.lock-expected +0 -8
  427. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/yarn-lock/v1_2/scancode-out.json +0 -149662
  428. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/yarn-lock/v1_2/yarn.lock +0 -8409
  429. package/tests/sdk/Dependencies/LocalDependency/Parsers/samples/yarn-lock/v1_2/yarn.lock-expected +0 -1153
  430. package/tests/sdk/Scanner/WfpProvider/WfpCalculator/WfpCalculator.spec.ts +0 -102
  431. package/tests/sdk/Scanner/WfpProvider/WfpCalculator/samples/file1.c +0 -41
  432. package/tests/sdk/Scanner/WfpProvider/WfpCalculator/samples/file2.go +0 -87
  433. package/tests/sdk/Scanner/WfpProvider/WfpSplitter/WfpSplitter.spec.ts +0 -35
  434. package/tests/sdk/Scanner/WfpProvider/WfpSplitter/samples/wfp.wfp +0 -68
  435. package/tests/sdk/Scanner/WfpProvider/WfpSplitter/samples/wfp.wfp~ +0 -68
  436. package/tsconfig.json +0 -31
  437. package/tsconfig.module.json +0 -11
  438. package/yarn.lock +0 -5481
@@ -1,174 +0,0 @@
1
- import path from "path";
2
- import { PackageURL } from "packageurl-js";
3
- import { ILocalDependency, ILocalPurl } from '../DependencyTypes';
4
-
5
-
6
- const PURL_TYPE = 'gem';
7
-
8
-
9
- // Parse a gemfile file from ruby
10
- // See reference on: https://bundler.io/gemfile.html
11
- // and https://bundler.io/man/gemfile.5.html
12
- const MANIFEST_FILE = 'Gemfile';
13
- export function gemfileParser(fileContent: string, filePath: string): Promise<ILocalDependency> {
14
-
15
- // If the file is not a manifest file, return an empty results
16
- const results: ILocalDependency = {file: filePath, purls: []};
17
- if(path.basename(filePath) != MANIFEST_FILE)
18
- return Promise.resolve(results);
19
-
20
-
21
- const lines: Array<string> = fileContent.split('\n');
22
- let compName: string = '';
23
-
24
- for (let line of lines) {
25
- line = line.trim();
26
- if (!line.startsWith('#') && line.length>0) { // Avoid comments and empty lines
27
- // Line contains a package name and/or version.
28
- const res = line.match(/^gem\s*(["']\w+["'])/); //Extract name
29
- if (res) {
30
- compName = res.length > 1 ? res[1] : ' ';
31
- compName = compName.replace(/['"]/g, '');
32
- const purlString = new PackageURL(PURL_TYPE, undefined, compName, undefined, undefined, undefined).toString();
33
- results.purls.push({purl: purlString});
34
- }
35
- }
36
- }
37
- return Promise.resolve(results);
38
- }
39
-
40
-
41
- const MANIFEST_FILE_1 = 'Gemfile.lock';
42
- export function gemfilelockParser(fileContent: string, filePath: string): Promise<ILocalDependency> {
43
-
44
- // If the file is not a manifest file, return an empty results
45
- const results: ILocalDependency = {file: filePath, purls: []};
46
- if(path.basename(filePath) != MANIFEST_FILE_1)
47
- return Promise.resolve(results);
48
-
49
- const gemlockParser = new GemfileLockParser();
50
- const purls = gemlockParser.getDependencies(fileContent);
51
- for (const purl of purls) {
52
- results.purls.push(purl);
53
- }
54
-
55
- return Promise.resolve(results);
56
- }
57
-
58
-
59
- // Section headings: these are also used as switches to track a parsing state
60
-
61
- const PATH = 'PATH';
62
- const GIT = 'GIT';
63
- const SVN = 'SVN';
64
- const GEM = 'GEM';
65
- const PLATFORMS = 'PLATFORMS';
66
- const DEPENDENCIES = 'DEPENDENCIES';
67
- const SPECS = ' specs:';
68
-
69
- // types of Gems, which is really where they are provisioned from
70
- // RubyGems repo, local path or VCS
71
- const GEM_TYPES = [GEM, PATH, GIT, SVN];
72
-
73
-
74
- const specRegex = /(?<name>[^ \)\(,!:]+)?(?: \((?<version>[^-]*?)(?:-(?<platform>[^!]*))?\))?/;
75
- const firstDepLevelRegex = /^ {4}(?! )/;
76
- /*
77
- The parsing use a simple state machine, switching states based on sections
78
- headings. The result is a list of purls
79
- */
80
- class GemfileLockParser {
81
-
82
- private statesMap;
83
-
84
- private state;
85
-
86
- private current_options: Record<string, string>;
87
-
88
- private current_gem;
89
-
90
- private purlList: Array<ILocalPurl>;
91
-
92
- constructor () {
93
-
94
- this.purlList = [];
95
-
96
- // map of a line start string to the next parsing state function
97
- this.statesMap = {};
98
- this.statesMap[DEPENDENCIES] = this.parseDependency;
99
- this.statesMap[PLATFORMS] = this.parsePlatform;
100
- this.statesMap[GIT] = this.parseOptions;
101
- this.statesMap[PATH] = this.parseOptions;
102
- this.statesMap[SVN] = this.parseOptions;
103
- this.statesMap[GEM] = this.parseOptions;
104
- this.statesMap[SPECS] = this.parseSpec;
105
- }
106
-
107
- public getDependencies(filecontent: string): Array<ILocalPurl> {
108
- this.resetState();
109
- let file = filecontent.split('\n');
110
- for (let line of file) {
111
- line = line.trimEnd();
112
-
113
- //reset state on empty lines
114
- if (!line.length) {
115
- this.resetState();
116
- continue;
117
- }
118
-
119
- //switch to new state
120
- if (line in this.statesMap) {
121
- if (GEM_TYPES.includes(line))
122
- this.current_gem = line;
123
- this.state=this.statesMap[line];
124
- continue;
125
- }
126
-
127
- // process the line
128
- if (this.state) this.state(line);
129
- }
130
- return this.purlList;
131
- }
132
-
133
- private resetState() {
134
- this.current_options = {};
135
- this.state = null;
136
- }
137
-
138
- private parseOptions(line: string) {
139
- const match = line.match(/\s*(\w+):\s*(.*)/);
140
- const key = match.length>=1 ? match[1] : null;
141
- const value = match.length>=2 ? match[2] : null;
142
- if(key) this.current_options[key] = value;
143
- }
144
-
145
- private parseDependency(line: string) {}
146
- private parsePlatform(line: string){}
147
-
148
-
149
- private parseSpec(line: string) {
150
-
151
- if(this.current_gem == GEM) {
152
- if(firstDepLevelRegex.test(line)) {
153
- line = line.trimStart();
154
- const match = line.match(specRegex);
155
-
156
- const purl = new PackageURL( PURL_TYPE,
157
- null,
158
- match.groups.name,
159
- null,
160
- null,
161
- null ).toString();
162
- this.purlList.push({purl: purl, requirement: match.groups.version});
163
-
164
- } else { // Second level of dependence
165
-
166
- }
167
- }
168
-
169
- if(this.current_gem == GIT) {}
170
-
171
- // Purl from local dependencies are not generated
172
- if(this.current_gem == PATH){}
173
- }
174
- }
@@ -1,15 +0,0 @@
1
- import { URL } from "url";
2
-
3
- export function isValidUrl(string: string): boolean {
4
- let url: URL;
5
- try {
6
- new URL(string);
7
- } catch (_) {
8
- return false;
9
- }
10
- return true;
11
- }
12
-
13
- export function isValidPath(string: string): boolean {
14
- return /^((?:\.\.?)|(?:[a-zA-Z]:\\)|(?:\/))/gm.test(string);
15
- }
@@ -1,30 +0,0 @@
1
- import fs from 'fs';
2
- import path from 'path';
3
- import { DataProviderManager } from '../../sdk/DataLayer/DataProviderManager';
4
- import { IDataLayers } from '../../sdk/DataLayer/DataLayerTypes';
5
-
6
-
7
- const reportDefaultPath = path.join(__dirname,"../../../../assets/ReportHTMLTemplate/index.html");
8
-
9
- export class Report {
10
-
11
- private dataProviderManager: DataProviderManager;
12
-
13
- private dataLayer: IDataLayers;
14
-
15
- constructor(dpm: DataProviderManager = new DataProviderManager()) {
16
- this.dataProviderManager = dpm;
17
- }
18
-
19
- public setDataProviderManager(dpm: DataProviderManager) {
20
- this.dataProviderManager = dpm;
21
- }
22
-
23
- public async getHTML(): Promise<string> {
24
- this.dataLayer = this.dataProviderManager.generateData();
25
- const html = (await fs.promises.readFile(reportDefaultPath, 'utf-8'));
26
- if(!html) throw new Error('Invalid template path');
27
- return html.replace('#DATA',JSON.stringify(this.dataLayer));
28
- }
29
-
30
- }
@@ -1,149 +0,0 @@
1
- // ------ FILTERS SYNC WITH PYTHON CLIENT 06/10/2021 ------ //
2
- import { FilterListType } from "./filtering";
3
-
4
-
5
- export const defaultFilterForDependencies = {
6
- name: 'Default',
7
- type: FilterListType.BANNED,
8
- filters: [
9
- { condition: '=', value: '0', ftype: 'SIZE', scope: 'FILE' },
10
-
11
- //Folders and files filters
12
- { condition: 'starts', value: '.', ftype: 'NAME' },
13
-
14
- //Folder filters
15
- { condition: 'ends', value: '.egg-info', ftype: 'NAME', scope: 'FOLDER' },
16
-
17
- { condition: 'fullmatch', value: 'nbproject', ftype: 'NAME', scope: 'FOLDER' },
18
- { condition: 'fullmatch', value: 'nbbuild', ftype: 'NAME', scope: 'FOLDER' },
19
- { condition: 'fullmatch', value: 'nbdist', ftype: 'NAME', scope: 'FOLDER' },
20
- { condition: 'fullmatch', value: '__pycache__', ftype: 'NAME', scope: 'FOLDER' },
21
- { condition: 'fullmatch', value: 'venv', ftype: 'NAME', scope: 'FOLDER' },
22
- { condition: 'fullmatch', value: '_yardoc', ftype: 'NAME', scope: 'FOLDER' },
23
- { condition: 'fullmatch', value: 'eggs', ftype: 'NAME', scope: 'FOLDER' },
24
- { condition: 'fullmatch', value: 'wheels', ftype: 'NAME', scope: 'FOLDER' },
25
- { condition: 'fullmatch', value: 'node_modules', ftype: 'NAME', scope: 'FOLDER' },
26
- { condition: 'fullmatch', value: '__pypackages__', ftype: 'NAME', scope: 'FOLDER' },
27
-
28
- { condition: '=', value: '.1', ftype: 'EXTENSION', scope: 'FILE' },
29
- { condition: '=', value: '.2', ftype: 'EXTENSION', scope: 'FILE' },
30
- { condition: '=', value: '.3', ftype: 'EXTENSION', scope: 'FILE' },
31
- { condition: '=', value: '.4', ftype: 'EXTENSION', scope: 'FILE' },
32
- { condition: '=', value: '.5', ftype: 'EXTENSION', scope: 'FILE' },
33
- { condition: '=', value: '.6', ftype: 'EXTENSION', scope: 'FILE' },
34
- { condition: '=', value: '.7', ftype: 'EXTENSION', scope: 'FILE' },
35
- { condition: '=', value: '.8', ftype: 'EXTENSION', scope: 'FILE' },
36
- { condition: '=', value: '.9', ftype: 'EXTENSION', scope: 'FILE' },
37
- { condition: '=', value: '.ac', ftype: 'EXTENSION', scope: 'FILE' },
38
- { condition: '=', value: '.adoc', ftype: 'EXTENSION', scope: 'FILE' },
39
- { condition: '=', value: '.am', ftype: 'EXTENSION', scope: 'FILE' },
40
- { condition: '=', value: '.asciidoc', ftype: 'EXTENSION', scope: 'FILE' },
41
- { condition: '=', value: '.bmp', ftype: 'EXTENSION', scope: 'FILE' },
42
- { condition: '=', value: '.build', ftype: 'EXTENSION', scope: 'FILE' },
43
- { condition: '=', value: '.cfg', ftype: 'EXTENSION', scope: 'FILE' },
44
- { condition: '=', value: '.chm', ftype: 'EXTENSION', scope: 'FILE' },
45
- { condition: '=', value: '.class', ftype: 'EXTENSION', scope: 'FILE' },
46
- { condition: '=', value: '.cmake', ftype: 'EXTENSION', scope: 'FILE' },
47
- { condition: '=', value: '.cnf', ftype: 'EXTENSION', scope: 'FILE' },
48
- { condition: '=', value: '.conf', ftype: 'EXTENSION', scope: 'FILE' },
49
- { condition: '=', value: '.contributors', ftype: 'EXTENSION', scope: 'FILE' },
50
- { condition: '=', value: '.copying', ftype: 'EXTENSION', scope: 'FILE' },
51
- { condition: '=', value: '.crt', ftype: 'EXTENSION', scope: 'FILE' },
52
- { condition: '=', value: '.css', ftype: 'EXTENSION', scope: 'FILE' },
53
- { condition: '=', value: '.csv', ftype: 'EXTENSION', scope: 'FILE' },
54
- { condition: '=', value: '.dat', ftype: 'EXTENSION', scope: 'FILE' },
55
- { condition: '=', value: '.data', ftype: 'EXTENSION', scope: 'FILE' },
56
- { condition: '=', value: '.doc', ftype: 'EXTENSION', scope: 'FILE' },
57
- { condition: '=', value: '.docx', ftype: 'EXTENSION', scope: 'FILE' },
58
- { condition: '=', value: '.dtd', ftype: 'EXTENSION', scope: 'FILE' },
59
- { condition: '=', value: '.dts', ftype: 'EXTENSION', scope: 'FILE' },
60
- { condition: '=', value: '.iws', ftype: 'EXTENSION', scope: 'FILE' },
61
- { condition: '=', value: '.c9', ftype: 'EXTENSION', scope: 'FILE' },
62
- { condition: '=', value: '.c9revisions', ftype: 'EXTENSION', scope: 'FILE' },
63
- { condition: '=', value: '.dtsi', ftype: 'EXTENSION', scope: 'FILE' },
64
- { condition: '=', value: '.dump', ftype: 'EXTENSION', scope: 'FILE' },
65
- { condition: '=', value: '.eot', ftype: 'EXTENSION', scope: 'FILE' },
66
- { condition: '=', value: '.eps', ftype: 'EXTENSION', scope: 'FILE' },
67
- { condition: '=', value: '.geojson', ftype: 'EXTENSION', scope: 'FILE' },
68
- { condition: '=', value: '.gdoc', ftype: 'EXTENSION', scope: 'FILE' },
69
- { condition: '=', value: '.gif', ftype: 'EXTENSION', scope: 'FILE' },
70
- { condition: '=', value: '.glif', ftype: 'EXTENSION', scope: 'FILE' },
71
- { condition: '=', value: '.gmo', ftype: 'EXTENSION', scope: 'FILE' },
72
- { condition: '=', value: '.guess', ftype: 'EXTENSION', scope: 'FILE' },
73
- { condition: '=', value: '.htm', ftype: 'EXTENSION', scope: 'FILE' },
74
- { condition: '=', value: '.html', ftype: 'EXTENSION', scope: 'FILE' },
75
- { condition: '=', value: '.ico', ftype: 'EXTENSION', scope: 'FILE' },
76
- { condition: '=', value: '.iml', ftype: 'EXTENSION', scope: 'FILE' },
77
- { condition: '=', value: '.in', ftype: 'EXTENSION', scope: 'FILE' },
78
- { condition: '=', value: '.inc', ftype: 'EXTENSION', scope: 'FILE' },
79
- { condition: '=', value: '.info', ftype: 'EXTENSION', scope: 'FILE' },
80
- { condition: '=', value: '.ini', ftype: 'EXTENSION', scope: 'FILE' },
81
- { condition: '=', value: '.jpeg', ftype: 'EXTENSION', scope: 'FILE' },
82
- { condition: '=', value: '.jpg', ftype: 'EXTENSION', scope: 'FILE' },
83
- { condition: '=', value: '.m4', ftype: 'EXTENSION', scope: 'FILE' },
84
- { condition: '=', value: '.map', ftype: 'EXTENSION', scope: 'FILE' },
85
- { condition: '=', value: '.markdown', ftype: 'EXTENSION', scope: 'FILE' },
86
- { condition: '=', value: '.md', ftype: 'EXTENSION', scope: 'FILE' },
87
- { condition: '=', value: '.md5', ftype: 'EXTENSION', scope: 'FILE' },
88
- { condition: '=', value: '.meta', ftype: 'EXTENSION', scope: 'FILE' },
89
- { condition: '=', value: '.mk', ftype: 'EXTENSION', scope: 'FILE' },
90
- { condition: '=', value: '.mxml', ftype: 'EXTENSION', scope: 'FILE' },
91
- { condition: '=', value: '.o', ftype: 'EXTENSION', scope: 'FILE' },
92
- { condition: '=', value: '.otf', ftype: 'EXTENSION', scope: 'FILE' },
93
- { condition: '=', value: '.out', ftype: 'EXTENSION', scope: 'FILE' },
94
- { condition: '=', value: '.pbtxt', ftype: 'EXTENSION', scope: 'FILE' },
95
- { condition: '=', value: '.pdf', ftype: 'EXTENSION', scope: 'FILE' },
96
- { condition: '=', value: '.phtml', ftype: 'EXTENSION', scope: 'FILE' },
97
- { condition: '=', value: '.plist', ftype: 'EXTENSION', scope: 'FILE' },
98
- { condition: '=', value: '.png', ftype: 'EXTENSION', scope: 'FILE' },
99
- { condition: '=', value: '.po', ftype: 'EXTENSION', scope: 'FILE' },
100
- { condition: '=', value: '.ppt', ftype: 'EXTENSION', scope: 'FILE' },
101
- { condition: '=', value: '.prefs', ftype: 'EXTENSION', scope: 'FILE' },
102
- { condition: '=', value: '.properties', ftype: 'EXTENSION', scope: 'FILE' },
103
- { condition: '=', value: '.qdoc', ftype: 'EXTENSION', scope: 'FILE' },
104
- { condition: '=', value: '.result', ftype: 'EXTENSION', scope: 'FILE' },
105
- { condition: '=', value: '.rgb', ftype: 'EXTENSION', scope: 'FILE' },
106
- { condition: '=', value: '.rst', ftype: 'EXTENSION', scope: 'FILE' },
107
- { condition: '=', value: '.scss', ftype: 'EXTENSION', scope: 'FILE' },
108
- { condition: '=', value: '.sha', ftype: 'EXTENSION', scope: 'FILE' },
109
- { condition: '=', value: '.sha1', ftype: 'EXTENSION', scope: 'FILE' },
110
- { condition: '=', value: '.sha2', ftype: 'EXTENSION', scope: 'FILE' },
111
- { condition: '=', value: '.sha256', ftype: 'EXTENSION', scope: 'FILE' },
112
- { condition: '=', value: '.sln', ftype: 'EXTENSION', scope: 'FILE' },
113
- { condition: '=', value: '.spec', ftype: 'EXTENSION', scope: 'FILE' },
114
- { condition: '=', value: '.sql', ftype: 'EXTENSION', scope: 'FILE' },
115
- { condition: '=', value: '.sub', ftype: 'EXTENSION', scope: 'FILE' },
116
- { condition: '=', value: '.svg', ftype: 'EXTENSION', scope: 'FILE' },
117
- { condition: '=', value: '.svn-base', ftype: 'EXTENSION', scope: 'FILE' },
118
- { condition: '=', value: '.tab', ftype: 'EXTENSION', scope: 'FILE' },
119
- { condition: '=', value: '.template', ftype: 'EXTENSION', scope: 'FILE' },
120
- { condition: '=', value: '.test', ftype: 'EXTENSION', scope: 'FILE' },
121
- { condition: '=', value: '.tex', ftype: 'EXTENSION', scope: 'FILE' },
122
- { condition: '=', value: '.tiff', ftype: 'EXTENSION', scope: 'FILE' },
123
- { condition: '=', value: '.ttf', ftype: 'EXTENSION', scope: 'FILE' },
124
- { condition: '=', value: '.utf-8', ftype: 'EXTENSION', scope: 'FILE' },
125
- { condition: '=', value: '.vim', ftype: 'EXTENSION', scope: 'FILE' },
126
- { condition: '=', value: '.wav', ftype: 'EXTENSION', scope: 'FILE' },
127
- { condition: '=', value: '.whl', ftype: 'EXTENSION', scope: 'FILE' },
128
- { condition: '=', value: '.woff', ftype: 'EXTENSION', scope: 'FILE' },
129
- { condition: '=', value: '.xht', ftype: 'EXTENSION', scope: 'FILE' },
130
- { condition: '=', value: '.xhtml', ftype: 'EXTENSION', scope: 'FILE' },
131
- { condition: '=', value: '.xls', ftype: 'EXTENSION', scope: 'FILE' },
132
- { condition: '=', value: '.xlsx', ftype: 'EXTENSION', scope: 'FILE' },
133
- { condition: '=', value: '.xpm', ftype: 'EXTENSION', scope: 'FILE' },
134
- { condition: '=', value: '.xsd', ftype: 'EXTENSION', scope: 'FILE' },
135
- { condition: '=', value: '.xul', ftype: 'EXTENSION', scope: 'FILE' },
136
- { condition: '=', value: '.wfp', ftype: 'EXTENSION', scope: 'FILE' },
137
- { condition: '=', value: '.editorconfig', ftype: 'EXTENSION', scope: 'FILE' },
138
- { condition: '=', value: '.dotcover', ftype: 'EXTENSION', scope: 'FILE' },
139
- { condition: '=', value: '.pid', ftype: 'EXTENSION', scope: 'FILE' },
140
- { condition: '=', value: '.lcov', ftype: 'EXTENSION', scope: 'FILE' },
141
- { condition: '=', value: '.egg', ftype: 'EXTENSION', scope: 'FILE' },
142
- { condition: '=', value: '.manifest', ftype: 'EXTENSION', scope: 'FILE' },
143
- { condition: '=', value: '.cache', ftype: 'EXTENSION', scope: 'FILE' },
144
- { condition: '=', value: '.coverage', ftype: 'EXTENSION', scope: 'FILE' },
145
- { condition: '=', value: '.cover', ftype: 'EXTENSION', scope: 'FILE' },
146
- { condition: '=', value: '.lst', ftype: 'EXTENSION', scope: 'FILE' },
147
- ],
148
- };
149
-
@@ -1,207 +0,0 @@
1
- // ------ FILTERS SYNC WITH PYTHON CLIENT 06/10/2021 ------ //
2
- import { FilterListType } from "./filtering";
3
-
4
-
5
- export const defaultFilterForScanning = {
6
- name: 'Default',
7
- type: FilterListType.BANNED,
8
- filters: [
9
- { condition: '=', value: '0', ftype: 'SIZE', scope: 'FILE' },
10
-
11
- //Folders and files filters
12
- { condition: 'starts', value: '.', ftype: 'NAME' },
13
-
14
- //Folder filters
15
- { condition: 'ends', value: '.egg-info', ftype: 'NAME', scope: 'FOLDER' },
16
-
17
- { condition: 'fullmatch', value: 'nbproject', ftype: 'NAME', scope: 'FOLDER' },
18
- { condition: 'fullmatch', value: 'nbbuild', ftype: 'NAME', scope: 'FOLDER' },
19
- { condition: 'fullmatch', value: 'nbdist', ftype: 'NAME', scope: 'FOLDER' },
20
- { condition: 'fullmatch', value: '__pycache__', ftype: 'NAME', scope: 'FOLDER' },
21
- { condition: 'fullmatch', value: 'venv', ftype: 'NAME', scope: 'FOLDER' },
22
- { condition: 'fullmatch', value: '_yardoc', ftype: 'NAME', scope: 'FOLDER' },
23
- { condition: 'fullmatch', value: 'eggs', ftype: 'NAME', scope: 'FOLDER' },
24
- { condition: 'fullmatch', value: 'wheels', ftype: 'NAME', scope: 'FOLDER' },
25
- { condition: 'fullmatch', value: 'htmlcov', ftype: 'NAME', scope: 'FOLDER' },
26
- { condition: 'fullmatch', value: '__pypackages__', ftype: 'NAME', scope: 'FOLDER' },
27
-
28
-
29
- //Files filters
30
-
31
- { condition: 'fullmatch', value: 'gradlew', ftype: 'NAME', scope: 'FILE' },
32
- { condition: 'fullmatch', value: 'gradlew.bat', ftype: 'NAME', scope: 'FILE' },
33
- { condition: 'fullmatch', value: 'mvnw', ftype: 'NAME', scope: 'FILE' },
34
- { condition: 'fullmatch', value: 'mvnw.cmd', ftype: 'NAME', scope: 'FILE' },
35
- { condition: 'fullmatch', value: 'gradle-wrapper.jar', ftype: 'NAME', scope: 'FILE' },
36
- { condition: 'fullmatch', value: 'maven-wrapper.jar', ftype: 'NAME', scope: 'FILE' },
37
- { condition: 'fullmatch', value: 'thumbs.db', ftype: 'NAME', scope: 'FILE' },
38
- { condition: 'fullmatch', value: 'babel.config.js', ftype: 'NAME', scope: 'FILE' },
39
- { condition: 'fullmatch', value: 'license.txt', ftype: 'NAME', scope: 'FILE' },
40
- { condition: 'fullmatch', value: 'license.md', ftype: 'NAME', scope: 'FILE' },
41
- { condition: 'fullmatch', value: 'copying.lib', ftype: 'NAME', scope: 'FILE' },
42
- { condition: 'fullmatch', value: 'makefile', ftype: 'NAME', scope: 'FILE' },
43
-
44
-
45
- { condition: 'starts', value: '.asar', ftype: 'NAME', scope: 'FILE' },
46
-
47
-
48
- { condition: 'ends', value: 'news', ftype: 'NAME', scope: 'FILE' },
49
- { condition: 'ends', value: 'authors', ftype: 'NAME', scope: 'FILE' },
50
-
51
-
52
- { condition: 'ends', value: '-doc', ftype: 'NAME', scope: 'FILE' },
53
- { condition: 'ends', value: 'changelog', ftype: 'NAME', scope: 'FILE' },
54
- { condition: 'ends', value: 'config', ftype: 'NAME', scope: 'FILE' },
55
- { condition: 'ends', value: 'copying', ftype: 'NAME', scope: 'FILE' },
56
- { condition: 'ends', value: 'license', ftype: 'NAME', scope: 'FILE' },
57
- { condition: 'ends', value: 'licenses', ftype: 'NAME', scope: 'FILE' },
58
- { condition: 'ends', value: 'notice', ftype: 'NAME', scope: 'FILE' },
59
- { condition: 'ends', value: 'readme', ftype: 'NAME', scope: 'FILE' },
60
- { condition: 'ends', value: 'swiftdoc', ftype: 'NAME', scope: 'FILE' },
61
- { condition: 'ends', value: 'texidoc', ftype: 'NAME', scope: 'FILE' },
62
- { condition: 'ends', value: 'todo', ftype: 'NAME', scope: 'FILE' },
63
- { condition: 'ends', value: 'version', ftype: 'NAME', scope: 'FILE' },
64
- { condition: 'ends', value: 'ignore', ftype: 'NAME', scope: 'FILE' },
65
- { condition: 'ends', value: 'manifest', ftype: 'NAME', scope: 'FILE' },
66
- { condition: 'ends', value: 'sqlite', ftype: 'NAME', scope: 'FILE' },
67
- { condition: 'ends', value: 'sqlite3', ftype: 'NAME', scope: 'FILE' },
68
-
69
- { condition: '=', value: '.1', ftype: 'EXTENSION', scope: 'FILE' },
70
- { condition: '=', value: '.2', ftype: 'EXTENSION', scope: 'FILE' },
71
- { condition: '=', value: '.3', ftype: 'EXTENSION', scope: 'FILE' },
72
- { condition: '=', value: '.4', ftype: 'EXTENSION', scope: 'FILE' },
73
- { condition: '=', value: '.5', ftype: 'EXTENSION', scope: 'FILE' },
74
- { condition: '=', value: '.6', ftype: 'EXTENSION', scope: 'FILE' },
75
- { condition: '=', value: '.7', ftype: 'EXTENSION', scope: 'FILE' },
76
- { condition: '=', value: '.8', ftype: 'EXTENSION', scope: 'FILE' },
77
- { condition: '=', value: '.9', ftype: 'EXTENSION', scope: 'FILE' },
78
- { condition: '=', value: '.ac', ftype: 'EXTENSION', scope: 'FILE' },
79
- { condition: '=', value: '.adoc', ftype: 'EXTENSION', scope: 'FILE' },
80
- { condition: '=', value: '.am', ftype: 'EXTENSION', scope: 'FILE' },
81
- { condition: '=', value: '.asciidoc', ftype: 'EXTENSION', scope: 'FILE' },
82
- { condition: '=', value: '.bmp', ftype: 'EXTENSION', scope: 'FILE' },
83
- { condition: '=', value: '.build', ftype: 'EXTENSION', scope: 'FILE' },
84
- { condition: '=', value: '.cfg', ftype: 'EXTENSION', scope: 'FILE' },
85
- { condition: '=', value: '.chm', ftype: 'EXTENSION', scope: 'FILE' },
86
- { condition: '=', value: '.class', ftype: 'EXTENSION', scope: 'FILE' },
87
- { condition: '=', value: '.cmake', ftype: 'EXTENSION', scope: 'FILE' },
88
- { condition: '=', value: '.cnf', ftype: 'EXTENSION', scope: 'FILE' },
89
- { condition: '=', value: '.conf', ftype: 'EXTENSION', scope: 'FILE' },
90
- { condition: '=', value: '.config', ftype: 'EXTENSION', scope: 'FILE' },
91
- { condition: '=', value: '.contributors', ftype: 'EXTENSION', scope: 'FILE' },
92
- { condition: '=', value: '.copying', ftype: 'EXTENSION', scope: 'FILE' },
93
- { condition: '=', value: '.crt', ftype: 'EXTENSION', scope: 'FILE' },
94
- { condition: '=', value: '.csproj', ftype: 'EXTENSION', scope: 'FILE' },
95
- { condition: '=', value: '.css', ftype: 'EXTENSION', scope: 'FILE' },
96
- { condition: '=', value: '.csv', ftype: 'EXTENSION', scope: 'FILE' },
97
- { condition: '=', value: '.dat', ftype: 'EXTENSION', scope: 'FILE' },
98
- { condition: '=', value: '.data', ftype: 'EXTENSION', scope: 'FILE' },
99
- { condition: '=', value: '.doc', ftype: 'EXTENSION', scope: 'FILE' },
100
- { condition: '=', value: '.docx', ftype: 'EXTENSION', scope: 'FILE' },
101
- { condition: '=', value: '.dtd', ftype: 'EXTENSION', scope: 'FILE' },
102
- { condition: '=', value: '.dts', ftype: 'EXTENSION', scope: 'FILE' },
103
- { condition: '=', value: '.iws', ftype: 'EXTENSION', scope: 'FILE' },
104
- { condition: '=', value: '.c9', ftype: 'EXTENSION', scope: 'FILE' },
105
- { condition: '=', value: '.c9revisions', ftype: 'EXTENSION', scope: 'FILE' },
106
- { condition: '=', value: '.dtsi', ftype: 'EXTENSION', scope: 'FILE' },
107
- { condition: '=', value: '.dump', ftype: 'EXTENSION', scope: 'FILE' },
108
- { condition: '=', value: '.eot', ftype: 'EXTENSION', scope: 'FILE' },
109
- { condition: '=', value: '.eps', ftype: 'EXTENSION', scope: 'FILE' },
110
- { condition: '=', value: '.geojson', ftype: 'EXTENSION', scope: 'FILE' },
111
- { condition: '=', value: '.gdoc', ftype: 'EXTENSION', scope: 'FILE' },
112
- { condition: '=', value: '.gif', ftype: 'EXTENSION', scope: 'FILE' },
113
- { condition: '=', value: '.glif', ftype: 'EXTENSION', scope: 'FILE' },
114
- { condition: '=', value: '.gmo', ftype: 'EXTENSION', scope: 'FILE' },
115
- { condition: '=', value: '.gradle', ftype: 'EXTENSION', scope: 'FILE' },
116
- { condition: '=', value: '.guess', ftype: 'EXTENSION', scope: 'FILE' },
117
- { condition: '=', value: '.hex', ftype: 'EXTENSION', scope: 'FILE' },
118
- { condition: '=', value: '.htm', ftype: 'EXTENSION', scope: 'FILE' },
119
- { condition: '=', value: '.html', ftype: 'EXTENSION', scope: 'FILE' },
120
- { condition: '=', value: '.ico', ftype: 'EXTENSION', scope: 'FILE' },
121
- { condition: '=', value: '.iml', ftype: 'EXTENSION', scope: 'FILE' },
122
- { condition: '=', value: '.in', ftype: 'EXTENSION', scope: 'FILE' },
123
- { condition: '=', value: '.inc', ftype: 'EXTENSION', scope: 'FILE' },
124
- { condition: '=', value: '.info', ftype: 'EXTENSION', scope: 'FILE' },
125
- { condition: '=', value: '.ini', ftype: 'EXTENSION', scope: 'FILE' },
126
- { condition: '=', value: '.ipynb', ftype: 'EXTENSION', scope: 'FILE' },
127
- { condition: '=', value: '.jpeg', ftype: 'EXTENSION', scope: 'FILE' },
128
- { condition: '=', value: '.jpg', ftype: 'EXTENSION', scope: 'FILE' },
129
- { condition: '=', value: '.json', ftype: 'EXTENSION', scope: 'FILE' },
130
- { condition: '=', value: '.jsonld', ftype: 'EXTENSION', scope: 'FILE' },
131
- { condition: '=', value: '.lock', ftype: 'EXTENSION', scope: 'FILE' },
132
- { condition: '=', value: '.log', ftype: 'EXTENSION', scope: 'FILE' },
133
- { condition: '=', value: '.m4', ftype: 'EXTENSION', scope: 'FILE' },
134
- { condition: '=', value: '.map', ftype: 'EXTENSION', scope: 'FILE' },
135
- { condition: '=', value: '.markdown', ftype: 'EXTENSION', scope: 'FILE' },
136
- { condition: '=', value: '.md', ftype: 'EXTENSION', scope: 'FILE' },
137
- { condition: '=', value: '.md5', ftype: 'EXTENSION', scope: 'FILE' },
138
- { condition: '=', value: '.meta', ftype: 'EXTENSION', scope: 'FILE' },
139
- { condition: '=', value: '.mk', ftype: 'EXTENSION', scope: 'FILE' },
140
- { condition: '=', value: '.mxml', ftype: 'EXTENSION', scope: 'FILE' },
141
- { condition: '=', value: '.o', ftype: 'EXTENSION', scope: 'FILE' },
142
- { condition: '=', value: '.otf', ftype: 'EXTENSION', scope: 'FILE' },
143
- { condition: '=', value: '.out', ftype: 'EXTENSION', scope: 'FILE' },
144
- { condition: '=', value: '.pbtxt', ftype: 'EXTENSION', scope: 'FILE' },
145
- { condition: '=', value: '.pdf', ftype: 'EXTENSION', scope: 'FILE' },
146
- { condition: '=', value: '.pem', ftype: 'EXTENSION', scope: 'FILE' },
147
- { condition: '=', value: '.phtml', ftype: 'EXTENSION', scope: 'FILE' },
148
- { condition: '=', value: '.plist', ftype: 'EXTENSION', scope: 'FILE' },
149
- { condition: '=', value: '.png', ftype: 'EXTENSION', scope: 'FILE' },
150
- { condition: '=', value: '.po', ftype: 'EXTENSION', scope: 'FILE' },
151
- { condition: '=', value: '.ppt', ftype: 'EXTENSION', scope: 'FILE' },
152
- { condition: '=', value: '.prefs', ftype: 'EXTENSION', scope: 'FILE' },
153
- { condition: '=', value: '.properties', ftype: 'EXTENSION', scope: 'FILE' },
154
- { condition: '=', value: '.pyc', ftype: 'EXTENSION', scope: 'FILE' },
155
- { condition: '=', value: '.qdoc', ftype: 'EXTENSION', scope: 'FILE' },
156
- { condition: '=', value: '.result', ftype: 'EXTENSION', scope: 'FILE' },
157
- { condition: '=', value: '.rgb', ftype: 'EXTENSION', scope: 'FILE' },
158
- { condition: '=', value: '.rst', ftype: 'EXTENSION', scope: 'FILE' },
159
- { condition: '=', value: '.scss', ftype: 'EXTENSION', scope: 'FILE' },
160
- { condition: '=', value: '.sha', ftype: 'EXTENSION', scope: 'FILE' },
161
- { condition: '=', value: '.sha1', ftype: 'EXTENSION', scope: 'FILE' },
162
- { condition: '=', value: '.sha2', ftype: 'EXTENSION', scope: 'FILE' },
163
- { condition: '=', value: '.sha256', ftype: 'EXTENSION', scope: 'FILE' },
164
- { condition: '=', value: '.sln', ftype: 'EXTENSION', scope: 'FILE' },
165
- { condition: '=', value: '.spec', ftype: 'EXTENSION', scope: 'FILE' },
166
- { condition: '=', value: '.sql', ftype: 'EXTENSION', scope: 'FILE' },
167
- { condition: '=', value: '.sub', ftype: 'EXTENSION', scope: 'FILE' },
168
- { condition: '=', value: '.svg', ftype: 'EXTENSION', scope: 'FILE' },
169
- { condition: '=', value: '.svn-base', ftype: 'EXTENSION', scope: 'FILE' },
170
- { condition: '=', value: '.tab', ftype: 'EXTENSION', scope: 'FILE' },
171
- { condition: '=', value: '.template', ftype: 'EXTENSION', scope: 'FILE' },
172
- { condition: '=', value: '.test', ftype: 'EXTENSION', scope: 'FILE' },
173
- { condition: '=', value: '.tex', ftype: 'EXTENSION', scope: 'FILE' },
174
- { condition: '=', value: '.tiff', ftype: 'EXTENSION', scope: 'FILE' },
175
- { condition: '=', value: '.toml', ftype: 'EXTENSION', scope: 'FILE' },
176
- { condition: '=', value: '.ttf', ftype: 'EXTENSION', scope: 'FILE' },
177
- { condition: '=', value: '.txt', ftype: 'EXTENSION', scope: 'FILE' },
178
- { condition: '=', value: '.utf-8', ftype: 'EXTENSION', scope: 'FILE' },
179
- { condition: '=', value: '.vim', ftype: 'EXTENSION', scope: 'FILE' },
180
- { condition: '=', value: '.wav', ftype: 'EXTENSION', scope: 'FILE' },
181
- { condition: '=', value: '.whl', ftype: 'EXTENSION', scope: 'FILE' },
182
- { condition: '=', value: '.woff', ftype: 'EXTENSION', scope: 'FILE' },
183
- { condition: '=', value: '.xht', ftype: 'EXTENSION', scope: 'FILE' },
184
- { condition: '=', value: '.xhtml', ftype: 'EXTENSION', scope: 'FILE' },
185
- { condition: '=', value: '.xls', ftype: 'EXTENSION', scope: 'FILE' },
186
- { condition: '=', value: '.xlsx', ftype: 'EXTENSION', scope: 'FILE' },
187
- { condition: '=', value: '.xml', ftype: 'EXTENSION', scope: 'FILE' },
188
- { condition: '=', value: '.xpm', ftype: 'EXTENSION', scope: 'FILE' },
189
- { condition: '=', value: '.xsd', ftype: 'EXTENSION', scope: 'FILE' },
190
- { condition: '=', value: '.xul', ftype: 'EXTENSION', scope: 'FILE' },
191
- { condition: '=', value: '.yaml', ftype: 'EXTENSION', scope: 'FILE' },
192
- { condition: '=', value: '.yml', ftype: 'EXTENSION', scope: 'FILE' },
193
- { condition: '=', value: '.wfp', ftype: 'EXTENSION', scope: 'FILE' },
194
- { condition: '=', value: '.editorconfig', ftype: 'EXTENSION', scope: 'FILE' },
195
- { condition: '=', value: '.dotcover', ftype: 'EXTENSION', scope: 'FILE' },
196
- { condition: '=', value: '.pid', ftype: 'EXTENSION', scope: 'FILE' },
197
- { condition: '=', value: '.lcov', ftype: 'EXTENSION', scope: 'FILE' },
198
- { condition: '=', value: '.egg', ftype: 'EXTENSION', scope: 'FILE' },
199
- { condition: '=', value: '.manifest', ftype: 'EXTENSION', scope: 'FILE' },
200
- { condition: '=', value: '.cache', ftype: 'EXTENSION', scope: 'FILE' },
201
- { condition: '=', value: '.coverage', ftype: 'EXTENSION', scope: 'FILE' },
202
- { condition: '=', value: '.cover', ftype: 'EXTENSION', scope: 'FILE' },
203
- { condition: '=', value: '.gem', ftype: 'EXTENSION', scope: 'FILE' },
204
- { condition: '=', value: '.lst', ftype: 'EXTENSION', scope: 'FILE' },
205
- ],
206
- };
207
-