projen-pipelines 0.3.4 → 0.3.6

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 (1894) hide show
  1. package/.jsii +124 -24
  2. package/API.md +345 -0
  3. package/lib/assign-approver/base.js +1 -1
  4. package/lib/assign-approver/github.js +1 -1
  5. package/lib/awscdk/base.js +12 -2
  6. package/lib/awscdk/bash.js +1 -1
  7. package/lib/awscdk/github.js +1 -1
  8. package/lib/awscdk/gitlab.js +1 -1
  9. package/lib/drift/base.js +1 -1
  10. package/lib/drift/bash.js +1 -1
  11. package/lib/drift/github.js +1 -1
  12. package/lib/drift/gitlab.js +1 -1
  13. package/lib/drift/step.js +1 -1
  14. package/lib/release.js +4 -3
  15. package/lib/steps/amplify-deploy.step.js +1 -1
  16. package/lib/steps/artifact-steps.js +2 -2
  17. package/lib/steps/aws-assume-role.step.js +1 -1
  18. package/lib/steps/index.d.ts +1 -0
  19. package/lib/steps/index.js +2 -1
  20. package/lib/steps/package-manager-setup.step.d.ts +24 -0
  21. package/lib/steps/package-manager-setup.step.js +36 -0
  22. package/lib/steps/registries.js +3 -3
  23. package/lib/steps/step.js +4 -4
  24. package/lib/versioning/computation.js +3 -3
  25. package/lib/versioning/config.js +2 -2
  26. package/lib/versioning/outputs.js +5 -5
  27. package/lib/versioning/setup.js +1 -1
  28. package/lib/versioning/strategy.js +1 -1
  29. package/lib/versioning/version-info.js +2 -2
  30. package/node_modules/cliui/build/index.d.cts +43 -0
  31. package/node_modules/cliui/package.json +83 -0
  32. package/node_modules/commit-and-tag-version/.gitattributes +2 -0
  33. package/node_modules/commit-and-tag-version/.github/ISSUE_TEMPLATE/ask-a-question.md +7 -0
  34. package/node_modules/commit-and-tag-version/.github/ISSUE_TEMPLATE/bug-report.md +29 -0
  35. package/node_modules/commit-and-tag-version/.github/dependabot.yml +19 -0
  36. package/node_modules/commit-and-tag-version/.github/workflows/ci.yaml +39 -0
  37. package/node_modules/commit-and-tag-version/.github/workflows/release-please.yml +36 -0
  38. package/node_modules/commit-and-tag-version/.prettierrc +3 -0
  39. package/node_modules/commit-and-tag-version/CHANGELOG.md +781 -0
  40. package/node_modules/commit-and-tag-version/CONTRIBUTING.md +41 -0
  41. package/node_modules/commit-and-tag-version/README.md +674 -0
  42. package/node_modules/commit-and-tag-version/bin/cli.js +14 -0
  43. package/node_modules/commit-and-tag-version/command.js +179 -0
  44. package/node_modules/commit-and-tag-version/defaults.js +45 -0
  45. package/node_modules/commit-and-tag-version/eslint.config.mjs +67 -0
  46. package/node_modules/commit-and-tag-version/index.js +96 -0
  47. package/node_modules/commit-and-tag-version/jest.config.js +28 -0
  48. package/node_modules/commit-and-tag-version/lib/checkpoint.js +23 -0
  49. package/node_modules/commit-and-tag-version/lib/configuration.js +45 -0
  50. package/node_modules/commit-and-tag-version/lib/detect-package-manager.js +53 -0
  51. package/node_modules/commit-and-tag-version/lib/format-commit-message.js +4 -0
  52. package/node_modules/commit-and-tag-version/lib/latest-semver-tag.js +34 -0
  53. package/node_modules/commit-and-tag-version/lib/lifecycles/bump.js +417 -0
  54. package/node_modules/commit-and-tag-version/lib/lifecycles/changelog.js +113 -0
  55. package/node_modules/commit-and-tag-version/lib/lifecycles/commit.js +68 -0
  56. package/node_modules/commit-and-tag-version/lib/lifecycles/tag.js +60 -0
  57. package/node_modules/commit-and-tag-version/lib/preset-loader.js +19 -0
  58. package/node_modules/commit-and-tag-version/lib/print-error.js +15 -0
  59. package/node_modules/commit-and-tag-version/lib/run-exec.js +18 -0
  60. package/node_modules/commit-and-tag-version/lib/run-execFile.js +18 -0
  61. package/node_modules/commit-and-tag-version/lib/run-lifecycle-script.js +18 -0
  62. package/node_modules/commit-and-tag-version/lib/stringify-package.js +36 -0
  63. package/node_modules/commit-and-tag-version/lib/updaters/index.js +120 -0
  64. package/node_modules/commit-and-tag-version/lib/updaters/types/csproj.js +15 -0
  65. package/node_modules/commit-and-tag-version/lib/updaters/types/gradle.js +18 -0
  66. package/node_modules/commit-and-tag-version/lib/updaters/types/json.js +25 -0
  67. package/node_modules/commit-and-tag-version/lib/updaters/types/maven.js +43 -0
  68. package/node_modules/commit-and-tag-version/lib/updaters/types/openapi.js +15 -0
  69. package/node_modules/commit-and-tag-version/lib/updaters/types/plain-text.js +7 -0
  70. package/node_modules/commit-and-tag-version/lib/updaters/types/python.js +30 -0
  71. package/node_modules/commit-and-tag-version/lib/updaters/types/yaml.js +15 -0
  72. package/node_modules/commit-and-tag-version/lib/write-file.js +6 -0
  73. package/node_modules/commit-and-tag-version/package.json +72 -0
  74. package/node_modules/commit-and-tag-version/test/commit-message-config.integration-test.js +106 -0
  75. package/node_modules/commit-and-tag-version/test/config-files.integration-test.js +138 -0
  76. package/node_modules/commit-and-tag-version/test/config-keys.integration-test.js +83 -0
  77. package/node_modules/commit-and-tag-version/test/core.spec.js +2089 -0
  78. package/node_modules/commit-and-tag-version/test/git.integration-test.js +410 -0
  79. package/node_modules/commit-and-tag-version/test/invalid-config.integration-test.js +73 -0
  80. package/node_modules/commit-and-tag-version/test/mocks/Project-6.3.1.csproj +18 -0
  81. package/node_modules/commit-and-tag-version/test/mocks/Project-6.4.0.csproj +18 -0
  82. package/node_modules/commit-and-tag-version/test/mocks/build-6.3.1.gradle.kts +14 -0
  83. package/node_modules/commit-and-tag-version/test/mocks/build-6.4.0-snapshot.gradle.kts +14 -0
  84. package/node_modules/commit-and-tag-version/test/mocks/build-6.4.0.gradle.kts +14 -0
  85. package/node_modules/commit-and-tag-version/test/mocks/increment-version.txt +1 -0
  86. package/node_modules/commit-and-tag-version/test/mocks/jest-mocks.js +66 -0
  87. package/node_modules/commit-and-tag-version/test/mocks/openapi-1.2.3-crlf.yaml +12 -0
  88. package/node_modules/commit-and-tag-version/test/mocks/openapi-1.2.3-lf.yaml +12 -0
  89. package/node_modules/commit-and-tag-version/test/mocks/openapi-1.3.0-crlf.yaml +12 -0
  90. package/node_modules/commit-and-tag-version/test/mocks/openapi-1.3.0-lf.yaml +12 -0
  91. package/node_modules/commit-and-tag-version/test/mocks/pom-6.3.1-crlf.xml +30 -0
  92. package/node_modules/commit-and-tag-version/test/mocks/pom-6.3.1-lf.xml +30 -0
  93. package/node_modules/commit-and-tag-version/test/mocks/pom-6.4.0-crlf.xml +27 -0
  94. package/node_modules/commit-and-tag-version/test/mocks/pom-6.4.0-lf.xml +27 -0
  95. package/node_modules/commit-and-tag-version/test/mocks/pubspec-6.3.1-crlf.yaml +33 -0
  96. package/node_modules/commit-and-tag-version/test/mocks/pubspec-6.3.1.yaml +33 -0
  97. package/node_modules/commit-and-tag-version/test/mocks/pubspec-6.4.0-crlf.yaml +33 -0
  98. package/node_modules/commit-and-tag-version/test/mocks/pubspec-6.4.0.yaml +33 -0
  99. package/node_modules/commit-and-tag-version/test/mocks/pyproject-1.0.0.toml +12 -0
  100. package/node_modules/commit-and-tag-version/test/mocks/pyproject-1.1.0.toml +12 -0
  101. package/node_modules/commit-and-tag-version/test/mocks/updater/customer-updater.js +9 -0
  102. package/node_modules/commit-and-tag-version/test/mocks/updater/increment-updater.js +7 -0
  103. package/node_modules/commit-and-tag-version/test/pre-commit-hook.integration-test.js +192 -0
  104. package/node_modules/commit-and-tag-version/test/preset.integration-test.js +56 -0
  105. package/node_modules/commit-and-tag-version/test/stringify-package.spec.js +35 -0
  106. package/node_modules/commit-and-tag-version/test/utils.spec.js +36 -0
  107. package/node_modules/conventional-changelog/README.md +66 -0
  108. package/node_modules/conventional-changelog/package.json +53 -0
  109. package/node_modules/conventional-changelog-angular/README.md +104 -0
  110. package/node_modules/conventional-changelog-angular/conventional-changelog.js +10 -0
  111. package/node_modules/conventional-changelog-angular/index.js +13 -0
  112. package/node_modules/conventional-changelog-angular/package.json +38 -0
  113. package/node_modules/conventional-changelog-angular/writer-opts.js +108 -0
  114. package/node_modules/conventional-changelog-atom/README.md +41 -0
  115. package/node_modules/conventional-changelog-atom/conventional-changelog.js +10 -0
  116. package/node_modules/conventional-changelog-atom/index.js +19 -0
  117. package/node_modules/conventional-changelog-atom/package.json +35 -0
  118. package/node_modules/conventional-changelog-atom/writer-opts.js +45 -0
  119. package/node_modules/conventional-changelog-codemirror/README.md +13 -0
  120. package/node_modules/conventional-changelog-codemirror/conventional-changelog.js +10 -0
  121. package/node_modules/conventional-changelog-codemirror/index.js +19 -0
  122. package/node_modules/conventional-changelog-codemirror/package.json +35 -0
  123. package/node_modules/conventional-changelog-codemirror/writer-opts.js +38 -0
  124. package/node_modules/conventional-changelog-conventionalcommits/README.md +50 -0
  125. package/node_modules/conventional-changelog-conventionalcommits/conventional-changelog.js +12 -0
  126. package/node_modules/conventional-changelog-conventionalcommits/index.js +47 -0
  127. package/node_modules/conventional-changelog-conventionalcommits/package.json +39 -0
  128. package/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +9 -0
  129. package/node_modules/conventional-changelog-conventionalcommits/writer-opts.js +213 -0
  130. package/node_modules/conventional-changelog-core/README.md +255 -0
  131. package/node_modules/conventional-changelog-core/index.js +153 -0
  132. package/node_modules/conventional-changelog-core/lib/merge-config.js +374 -0
  133. package/node_modules/conventional-changelog-core/package.json +47 -0
  134. package/node_modules/conventional-changelog-ember/README.md +63 -0
  135. package/node_modules/conventional-changelog-ember/conventional-changelog.js +10 -0
  136. package/node_modules/conventional-changelog-ember/index.js +22 -0
  137. package/node_modules/conventional-changelog-ember/package.json +35 -0
  138. package/node_modules/conventional-changelog-ember/writer-opts.js +52 -0
  139. package/node_modules/conventional-changelog-eslint/README.md +53 -0
  140. package/node_modules/conventional-changelog-eslint/conventional-changelog.js +10 -0
  141. package/node_modules/conventional-changelog-eslint/index.js +19 -0
  142. package/node_modules/conventional-changelog-eslint/package.json +35 -0
  143. package/node_modules/conventional-changelog-eslint/writer-opts.js +36 -0
  144. package/node_modules/conventional-changelog-express/README.md +14 -0
  145. package/node_modules/conventional-changelog-express/conventional-changelog.js +10 -0
  146. package/node_modules/conventional-changelog-express/index.js +19 -0
  147. package/node_modules/conventional-changelog-express/package.json +35 -0
  148. package/node_modules/conventional-changelog-express/writer-opts.js +38 -0
  149. package/node_modules/conventional-changelog-jquery/README.md +52 -0
  150. package/node_modules/conventional-changelog-jquery/conventional-changelog.js +10 -0
  151. package/node_modules/conventional-changelog-jquery/index.js +13 -0
  152. package/node_modules/conventional-changelog-jquery/package.json +35 -0
  153. package/node_modules/conventional-changelog-jquery/writer-opts.js +44 -0
  154. package/node_modules/conventional-changelog-jshint/README.md +90 -0
  155. package/node_modules/conventional-changelog-jshint/conventional-changelog.js +10 -0
  156. package/node_modules/conventional-changelog-jshint/index.js +19 -0
  157. package/node_modules/conventional-changelog-jshint/package.json +38 -0
  158. package/node_modules/conventional-changelog-jshint/writer-opts.js +55 -0
  159. package/node_modules/conventional-changelog-preset-loader/README.md +41 -0
  160. package/node_modules/conventional-changelog-preset-loader/package.json +33 -0
  161. package/node_modules/conventional-changelog-writer/README.md +369 -0
  162. package/node_modules/conventional-changelog-writer/cli.js +114 -0
  163. package/node_modules/conventional-changelog-writer/index.js +212 -0
  164. package/node_modules/conventional-changelog-writer/lib/util.js +281 -0
  165. package/node_modules/conventional-changelog-writer/package.json +57 -0
  166. package/node_modules/conventional-changelog-writer/templates/commit.hbs +54 -0
  167. package/node_modules/conventional-commits-filter/README.md +184 -0
  168. package/node_modules/conventional-commits-filter/package.json +38 -0
  169. package/node_modules/conventional-commits-parser/README.md +383 -0
  170. package/node_modules/conventional-commits-parser/cli.js +170 -0
  171. package/node_modules/conventional-commits-parser/index.js +105 -0
  172. package/node_modules/conventional-commits-parser/lib/parser.js +316 -0
  173. package/node_modules/conventional-commits-parser/package.json +50 -0
  174. package/node_modules/conventional-recommended-bump/index.js +104 -0
  175. package/node_modules/conventional-recommended-bump/package.json +49 -0
  176. package/node_modules/conventional-recommended-bump/preset-resolver.js +19 -0
  177. package/node_modules/dotgitignore/node_modules/minimatch/README.md +37 -0
  178. package/node_modules/dotgitignore/node_modules/minimatch/minimatch.js +160 -102
  179. package/node_modules/dotgitignore/node_modules/minimatch/package.json +2 -2
  180. package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
  181. package/node_modules/fast-xml-builder/LICENSE +21 -0
  182. package/node_modules/fast-xml-builder/README.md +23 -0
  183. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  184. package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
  185. package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  186. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  187. package/node_modules/fast-xml-builder/package.json +80 -0
  188. package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
  189. package/node_modules/fast-xml-builder/src/fxb.js +529 -0
  190. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  191. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
  192. package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  193. package/node_modules/fast-xml-parser/CHANGELOG.md +752 -0
  194. package/node_modules/fast-xml-parser/LICENSE +21 -0
  195. package/node_modules/fast-xml-parser/README.md +225 -0
  196. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  197. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  198. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  199. package/node_modules/fast-xml-parser/lib/fxp.d.cts +595 -0
  200. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  201. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  202. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  203. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  204. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  205. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
  206. package/node_modules/fast-xml-parser/package.json +94 -0
  207. package/node_modules/fast-xml-parser/src/cli/cli.js +97 -0
  208. package/node_modules/fast-xml-parser/src/cli/man.js +17 -0
  209. package/node_modules/fast-xml-parser/src/cli/read.js +43 -0
  210. package/node_modules/fast-xml-parser/src/fxp.d.ts +577 -0
  211. package/node_modules/fast-xml-parser/src/fxp.js +14 -0
  212. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
  213. package/node_modules/fast-xml-parser/src/util.js +61 -0
  214. package/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +16 -0
  215. package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +106 -0
  216. package/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +61 -0
  217. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +69 -0
  218. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +103 -0
  219. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +100 -0
  220. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +154 -0
  221. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +94 -0
  222. package/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  223. package/node_modules/fast-xml-parser/src/v6/TagPath.js +81 -0
  224. package/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +13 -0
  225. package/node_modules/fast-xml-parser/src/v6/XMLParser.js +83 -0
  226. package/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +235 -0
  227. package/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +210 -0
  228. package/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +111 -0
  229. package/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +116 -0
  230. package/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +121 -0
  231. package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +105 -0
  232. package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +22 -0
  233. package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +19 -0
  234. package/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +38 -0
  235. package/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +13 -0
  236. package/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +14 -0
  237. package/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +6 -0
  238. package/node_modules/fast-xml-parser/src/validator.js +425 -0
  239. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +6 -0
  240. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +401 -0
  241. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +159 -0
  242. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +905 -0
  243. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +71 -0
  244. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +174 -0
  245. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +40 -0
  246. package/node_modules/git-raw-commits/README.md +101 -0
  247. package/node_modules/git-raw-commits/index.js +100 -0
  248. package/node_modules/git-raw-commits/package.json +46 -0
  249. package/node_modules/git-semver-tags/README.md +54 -0
  250. package/node_modules/git-semver-tags/package.json +44 -0
  251. package/node_modules/path-expression-matcher/LICENSE +21 -0
  252. package/node_modules/path-expression-matcher/README.md +635 -0
  253. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  254. package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
  255. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  256. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  257. package/node_modules/path-expression-matcher/package.json +78 -0
  258. package/node_modules/path-expression-matcher/src/Expression.js +232 -0
  259. package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
  260. package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
  261. package/node_modules/path-expression-matcher/src/index.js +28 -0
  262. package/node_modules/semver/README.md +3 -2
  263. package/node_modules/semver/bin/semver.js +1 -1
  264. package/node_modules/semver/functions/diff.js +1 -1
  265. package/node_modules/semver/internal/re.js +2 -2
  266. package/node_modules/semver/package.json +4 -4
  267. package/node_modules/semver/ranges/subset.js +1 -1
  268. package/node_modules/spdx-license-ids/index.json +28 -0
  269. package/node_modules/spdx-license-ids/package.json +1 -1
  270. package/node_modules/strnum/.github/SECURITY.md +5 -0
  271. package/node_modules/strnum/.vscode/launch.json +25 -0
  272. package/node_modules/strnum/CHANGELOG.md +33 -0
  273. package/node_modules/strnum/LICENSE +21 -0
  274. package/node_modules/strnum/README.md +104 -0
  275. package/node_modules/strnum/algo.stflow +84 -0
  276. package/node_modules/strnum/package.json +31 -0
  277. package/node_modules/strnum/strnum.js +155 -0
  278. package/node_modules/strnum/tests/infinity_test.js +18 -0
  279. package/node_modules/strnum/tests/strnum_test.js +172 -0
  280. package/node_modules/yaml/LICENSE +13 -0
  281. package/node_modules/yaml/README.md +172 -0
  282. package/node_modules/yaml/bin.mjs +11 -0
  283. package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  284. package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  285. package/node_modules/yaml/browser/dist/compose/compose-node.js +102 -0
  286. package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  287. package/node_modules/yaml/browser/dist/compose/composer.js +217 -0
  288. package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  289. package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  290. package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  291. package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  292. package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  293. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
  294. package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  295. package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  296. package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  297. package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  298. package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  299. package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  300. package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  301. package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  302. package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  303. package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  304. package/node_modules/yaml/browser/dist/errors.js +57 -0
  305. package/node_modules/yaml/browser/dist/index.js +17 -0
  306. package/node_modules/yaml/browser/dist/log.js +11 -0
  307. package/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
  308. package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  309. package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  310. package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  311. package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  312. package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  313. package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  314. package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  315. package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  316. package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  317. package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  318. package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  319. package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  320. package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  321. package/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
  322. package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  323. package/node_modules/yaml/browser/dist/parse/parser.js +967 -0
  324. package/node_modules/yaml/browser/dist/public-api.js +102 -0
  325. package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  326. package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  327. package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  328. package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  329. package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  330. package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  331. package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  332. package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  333. package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  334. package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  335. package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  336. package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  337. package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  338. package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  339. package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  340. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
  341. package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  342. package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  343. package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  344. package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  345. package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  346. package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  347. package/node_modules/yaml/browser/dist/stringify/stringify.js +128 -0
  348. package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +143 -0
  349. package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  350. package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  351. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
  352. package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  353. package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  354. package/node_modules/yaml/browser/dist/util.js +11 -0
  355. package/node_modules/yaml/browser/dist/visit.js +233 -0
  356. package/node_modules/yaml/browser/index.js +5 -0
  357. package/node_modules/yaml/browser/package.json +3 -0
  358. package/node_modules/yaml/dist/cli.d.ts +8 -0
  359. package/node_modules/yaml/dist/cli.mjs +201 -0
  360. package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  361. package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  362. package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  363. package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  364. package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  365. package/node_modules/yaml/dist/compose/compose-node.js +105 -0
  366. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  367. package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  368. package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  369. package/node_modules/yaml/dist/compose/composer.js +222 -0
  370. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  371. package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  372. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  373. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  374. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  375. package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  376. package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  377. package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  378. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  379. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  380. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  381. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
  382. package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  383. package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  384. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  385. package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  386. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  387. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  388. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  389. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  390. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  391. package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  392. package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  393. package/node_modules/yaml/dist/doc/Document.js +337 -0
  394. package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  395. package/node_modules/yaml/dist/doc/anchors.js +76 -0
  396. package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  397. package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  398. package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  399. package/node_modules/yaml/dist/doc/createNode.js +90 -0
  400. package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  401. package/node_modules/yaml/dist/doc/directives.js +178 -0
  402. package/node_modules/yaml/dist/errors.d.ts +21 -0
  403. package/node_modules/yaml/dist/errors.js +62 -0
  404. package/node_modules/yaml/dist/index.d.ts +25 -0
  405. package/node_modules/yaml/dist/index.js +50 -0
  406. package/node_modules/yaml/dist/log.d.ts +3 -0
  407. package/node_modules/yaml/dist/log.js +19 -0
  408. package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  409. package/node_modules/yaml/dist/nodes/Alias.js +116 -0
  410. package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  411. package/node_modules/yaml/dist/nodes/Collection.js +151 -0
  412. package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  413. package/node_modules/yaml/dist/nodes/Node.js +40 -0
  414. package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  415. package/node_modules/yaml/dist/nodes/Pair.js +39 -0
  416. package/node_modules/yaml/dist/nodes/Scalar.d.ts +43 -0
  417. package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  418. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  419. package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  420. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  421. package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  422. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  423. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  424. package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  425. package/node_modules/yaml/dist/nodes/identity.js +53 -0
  426. package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  427. package/node_modules/yaml/dist/nodes/toJS.js +39 -0
  428. package/node_modules/yaml/dist/options.d.ts +344 -0
  429. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  430. package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  431. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  432. package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  433. package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  434. package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  435. package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  436. package/node_modules/yaml/dist/parse/cst.js +112 -0
  437. package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  438. package/node_modules/yaml/dist/parse/lexer.js +719 -0
  439. package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  440. package/node_modules/yaml/dist/parse/line-counter.js +41 -0
  441. package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  442. package/node_modules/yaml/dist/parse/parser.js +972 -0
  443. package/node_modules/yaml/dist/public-api.d.ts +44 -0
  444. package/node_modules/yaml/dist/public-api.js +107 -0
  445. package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  446. package/node_modules/yaml/dist/schema/Schema.js +39 -0
  447. package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  448. package/node_modules/yaml/dist/schema/common/map.js +19 -0
  449. package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  450. package/node_modules/yaml/dist/schema/common/null.js +17 -0
  451. package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  452. package/node_modules/yaml/dist/schema/common/seq.js +19 -0
  453. package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  454. package/node_modules/yaml/dist/schema/common/string.js +16 -0
  455. package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  456. package/node_modules/yaml/dist/schema/core/bool.js +21 -0
  457. package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  458. package/node_modules/yaml/dist/schema/core/float.js +47 -0
  459. package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  460. package/node_modules/yaml/dist/schema/core/int.js +42 -0
  461. package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  462. package/node_modules/yaml/dist/schema/core/schema.js +25 -0
  463. package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  464. package/node_modules/yaml/dist/schema/json/schema.js +64 -0
  465. package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  466. package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  467. package/node_modules/yaml/dist/schema/tags.js +99 -0
  468. package/node_modules/yaml/dist/schema/types.d.ts +92 -0
  469. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  470. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  471. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  472. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  473. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  474. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  475. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  476. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  477. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  478. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
  479. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  480. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  481. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  482. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  483. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  484. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  485. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  486. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  487. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  488. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  489. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  490. package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  491. package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  492. package/node_modules/yaml/dist/stringify/stringify.js +131 -0
  493. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  494. package/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
  495. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  496. package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  497. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  498. package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  499. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  500. package/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
  501. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  502. package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  503. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  504. package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  505. package/node_modules/yaml/dist/test-events.d.ts +4 -0
  506. package/node_modules/yaml/dist/test-events.js +134 -0
  507. package/node_modules/yaml/dist/util.d.ts +16 -0
  508. package/node_modules/yaml/dist/util.js +28 -0
  509. package/node_modules/yaml/dist/visit.d.ts +102 -0
  510. package/node_modules/yaml/dist/visit.js +236 -0
  511. package/node_modules/yaml/package.json +97 -0
  512. package/node_modules/yaml/util.js +2 -0
  513. package/node_modules/yargs/README.md +204 -0
  514. package/node_modules/yargs/browser.d.ts +5 -0
  515. package/node_modules/yargs/browser.mjs +7 -0
  516. package/node_modules/yargs/build/index.cjs +1 -0
  517. package/node_modules/yargs/build/lib/command.js +449 -0
  518. package/node_modules/yargs/build/lib/completion-templates.js +48 -0
  519. package/node_modules/yargs/build/lib/completion.js +243 -0
  520. package/node_modules/yargs/build/lib/middleware.js +88 -0
  521. package/node_modules/yargs/build/lib/usage.js +584 -0
  522. package/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
  523. package/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
  524. package/node_modules/yargs/build/lib/validation.js +305 -0
  525. package/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
  526. package/node_modules/yargs/build/lib/yerror.js +9 -0
  527. package/node_modules/yargs/index.cjs +53 -0
  528. package/node_modules/yargs/index.mjs +8 -0
  529. package/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
  530. package/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
  531. package/node_modules/yargs/locales/cs.json +51 -0
  532. package/node_modules/yargs/locales/en.json +55 -0
  533. package/node_modules/yargs/locales/fi.json +49 -0
  534. package/node_modules/yargs/locales/ko.json +49 -0
  535. package/node_modules/yargs/locales/ru.json +51 -0
  536. package/node_modules/yargs/locales/uk_UA.json +51 -0
  537. package/node_modules/yargs/locales/uz.json +52 -0
  538. package/node_modules/yargs/locales/zh_TW.json +51 -0
  539. package/node_modules/yargs/node_modules/yargs-parser/LICENSE.txt +14 -0
  540. package/node_modules/yargs/node_modules/yargs-parser/README.md +518 -0
  541. package/node_modules/yargs/node_modules/yargs-parser/browser.js +29 -0
  542. package/node_modules/yargs/node_modules/yargs-parser/build/index.cjs +1050 -0
  543. package/node_modules/yargs/node_modules/yargs-parser/build/lib/index.js +62 -0
  544. package/node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
  545. package/node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
  546. package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
  547. package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
  548. package/node_modules/yargs/node_modules/yargs-parser/package.json +92 -0
  549. package/node_modules/yargs/package.json +123 -0
  550. package/node_modules/yargs/yargs.mjs +10 -0
  551. package/package.json +10 -12
  552. package/node_modules/lodash/LICENSE +0 -47
  553. package/node_modules/lodash/README.md +0 -39
  554. package/node_modules/lodash/_DataView.js +0 -7
  555. package/node_modules/lodash/_Hash.js +0 -32
  556. package/node_modules/lodash/_LazyWrapper.js +0 -28
  557. package/node_modules/lodash/_ListCache.js +0 -32
  558. package/node_modules/lodash/_LodashWrapper.js +0 -22
  559. package/node_modules/lodash/_Map.js +0 -7
  560. package/node_modules/lodash/_MapCache.js +0 -32
  561. package/node_modules/lodash/_Promise.js +0 -7
  562. package/node_modules/lodash/_Set.js +0 -7
  563. package/node_modules/lodash/_SetCache.js +0 -27
  564. package/node_modules/lodash/_Stack.js +0 -27
  565. package/node_modules/lodash/_Symbol.js +0 -6
  566. package/node_modules/lodash/_Uint8Array.js +0 -6
  567. package/node_modules/lodash/_WeakMap.js +0 -7
  568. package/node_modules/lodash/_apply.js +0 -21
  569. package/node_modules/lodash/_arrayAggregator.js +0 -22
  570. package/node_modules/lodash/_arrayEach.js +0 -22
  571. package/node_modules/lodash/_arrayEachRight.js +0 -21
  572. package/node_modules/lodash/_arrayEvery.js +0 -23
  573. package/node_modules/lodash/_arrayFilter.js +0 -25
  574. package/node_modules/lodash/_arrayIncludes.js +0 -17
  575. package/node_modules/lodash/_arrayIncludesWith.js +0 -22
  576. package/node_modules/lodash/_arrayLikeKeys.js +0 -49
  577. package/node_modules/lodash/_arrayMap.js +0 -21
  578. package/node_modules/lodash/_arrayPush.js +0 -20
  579. package/node_modules/lodash/_arrayReduce.js +0 -26
  580. package/node_modules/lodash/_arrayReduceRight.js +0 -24
  581. package/node_modules/lodash/_arraySample.js +0 -15
  582. package/node_modules/lodash/_arraySampleSize.js +0 -17
  583. package/node_modules/lodash/_arrayShuffle.js +0 -15
  584. package/node_modules/lodash/_arraySome.js +0 -23
  585. package/node_modules/lodash/_asciiSize.js +0 -12
  586. package/node_modules/lodash/_asciiToArray.js +0 -12
  587. package/node_modules/lodash/_asciiWords.js +0 -15
  588. package/node_modules/lodash/_assignMergeValue.js +0 -20
  589. package/node_modules/lodash/_assignValue.js +0 -28
  590. package/node_modules/lodash/_assocIndexOf.js +0 -21
  591. package/node_modules/lodash/_baseAggregator.js +0 -21
  592. package/node_modules/lodash/_baseAssign.js +0 -17
  593. package/node_modules/lodash/_baseAssignIn.js +0 -17
  594. package/node_modules/lodash/_baseAssignValue.js +0 -25
  595. package/node_modules/lodash/_baseAt.js +0 -23
  596. package/node_modules/lodash/_baseClamp.js +0 -22
  597. package/node_modules/lodash/_baseClone.js +0 -166
  598. package/node_modules/lodash/_baseConforms.js +0 -18
  599. package/node_modules/lodash/_baseConformsTo.js +0 -27
  600. package/node_modules/lodash/_baseCreate.js +0 -30
  601. package/node_modules/lodash/_baseDelay.js +0 -21
  602. package/node_modules/lodash/_baseDifference.js +0 -67
  603. package/node_modules/lodash/_baseEach.js +0 -14
  604. package/node_modules/lodash/_baseEachRight.js +0 -14
  605. package/node_modules/lodash/_baseEvery.js +0 -21
  606. package/node_modules/lodash/_baseExtremum.js +0 -32
  607. package/node_modules/lodash/_baseFill.js +0 -32
  608. package/node_modules/lodash/_baseFilter.js +0 -21
  609. package/node_modules/lodash/_baseFindIndex.js +0 -24
  610. package/node_modules/lodash/_baseFindKey.js +0 -23
  611. package/node_modules/lodash/_baseFlatten.js +0 -38
  612. package/node_modules/lodash/_baseFor.js +0 -16
  613. package/node_modules/lodash/_baseForOwn.js +0 -16
  614. package/node_modules/lodash/_baseForOwnRight.js +0 -16
  615. package/node_modules/lodash/_baseForRight.js +0 -15
  616. package/node_modules/lodash/_baseFunctions.js +0 -19
  617. package/node_modules/lodash/_baseGet.js +0 -24
  618. package/node_modules/lodash/_baseGetAllKeys.js +0 -20
  619. package/node_modules/lodash/_baseGetTag.js +0 -28
  620. package/node_modules/lodash/_baseGt.js +0 -14
  621. package/node_modules/lodash/_baseHas.js +0 -19
  622. package/node_modules/lodash/_baseHasIn.js +0 -13
  623. package/node_modules/lodash/_baseInRange.js +0 -18
  624. package/node_modules/lodash/_baseIndexOf.js +0 -20
  625. package/node_modules/lodash/_baseIndexOfWith.js +0 -23
  626. package/node_modules/lodash/_baseIntersection.js +0 -74
  627. package/node_modules/lodash/_baseInverter.js +0 -21
  628. package/node_modules/lodash/_baseInvoke.js +0 -24
  629. package/node_modules/lodash/_baseIsArguments.js +0 -18
  630. package/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
  631. package/node_modules/lodash/_baseIsDate.js +0 -18
  632. package/node_modules/lodash/_baseIsEqual.js +0 -28
  633. package/node_modules/lodash/_baseIsEqualDeep.js +0 -83
  634. package/node_modules/lodash/_baseIsMap.js +0 -18
  635. package/node_modules/lodash/_baseIsMatch.js +0 -62
  636. package/node_modules/lodash/_baseIsNaN.js +0 -12
  637. package/node_modules/lodash/_baseIsNative.js +0 -47
  638. package/node_modules/lodash/_baseIsRegExp.js +0 -18
  639. package/node_modules/lodash/_baseIsSet.js +0 -18
  640. package/node_modules/lodash/_baseIsTypedArray.js +0 -60
  641. package/node_modules/lodash/_baseIteratee.js +0 -31
  642. package/node_modules/lodash/_baseKeys.js +0 -30
  643. package/node_modules/lodash/_baseKeysIn.js +0 -33
  644. package/node_modules/lodash/_baseLodash.js +0 -10
  645. package/node_modules/lodash/_baseLt.js +0 -14
  646. package/node_modules/lodash/_baseMap.js +0 -22
  647. package/node_modules/lodash/_baseMatches.js +0 -22
  648. package/node_modules/lodash/_baseMatchesProperty.js +0 -33
  649. package/node_modules/lodash/_baseMean.js +0 -20
  650. package/node_modules/lodash/_baseMerge.js +0 -42
  651. package/node_modules/lodash/_baseMergeDeep.js +0 -94
  652. package/node_modules/lodash/_baseNth.js +0 -20
  653. package/node_modules/lodash/_baseOrderBy.js +0 -49
  654. package/node_modules/lodash/_basePick.js +0 -19
  655. package/node_modules/lodash/_basePickBy.js +0 -30
  656. package/node_modules/lodash/_baseProperty.js +0 -14
  657. package/node_modules/lodash/_basePropertyDeep.js +0 -16
  658. package/node_modules/lodash/_basePropertyOf.js +0 -14
  659. package/node_modules/lodash/_basePullAll.js +0 -51
  660. package/node_modules/lodash/_basePullAt.js +0 -37
  661. package/node_modules/lodash/_baseRandom.js +0 -18
  662. package/node_modules/lodash/_baseRange.js +0 -28
  663. package/node_modules/lodash/_baseReduce.js +0 -23
  664. package/node_modules/lodash/_baseRepeat.js +0 -35
  665. package/node_modules/lodash/_baseRest.js +0 -17
  666. package/node_modules/lodash/_baseSample.js +0 -15
  667. package/node_modules/lodash/_baseSampleSize.js +0 -18
  668. package/node_modules/lodash/_baseSet.js +0 -51
  669. package/node_modules/lodash/_baseSetData.js +0 -17
  670. package/node_modules/lodash/_baseSetToString.js +0 -22
  671. package/node_modules/lodash/_baseShuffle.js +0 -15
  672. package/node_modules/lodash/_baseSlice.js +0 -31
  673. package/node_modules/lodash/_baseSome.js +0 -22
  674. package/node_modules/lodash/_baseSortBy.js +0 -21
  675. package/node_modules/lodash/_baseSortedIndex.js +0 -42
  676. package/node_modules/lodash/_baseSortedIndexBy.js +0 -67
  677. package/node_modules/lodash/_baseSortedUniq.js +0 -30
  678. package/node_modules/lodash/_baseSum.js +0 -24
  679. package/node_modules/lodash/_baseTimes.js +0 -20
  680. package/node_modules/lodash/_baseToNumber.js +0 -24
  681. package/node_modules/lodash/_baseToPairs.js +0 -18
  682. package/node_modules/lodash/_baseToString.js +0 -37
  683. package/node_modules/lodash/_baseTrim.js +0 -19
  684. package/node_modules/lodash/_baseUnary.js +0 -14
  685. package/node_modules/lodash/_baseUniq.js +0 -72
  686. package/node_modules/lodash/_baseUnset.js +0 -65
  687. package/node_modules/lodash/_baseUpdate.js +0 -18
  688. package/node_modules/lodash/_baseValues.js +0 -19
  689. package/node_modules/lodash/_baseWhile.js +0 -26
  690. package/node_modules/lodash/_baseWrapperValue.js +0 -25
  691. package/node_modules/lodash/_baseXor.js +0 -36
  692. package/node_modules/lodash/_baseZipObject.js +0 -23
  693. package/node_modules/lodash/_cacheHas.js +0 -13
  694. package/node_modules/lodash/_castArrayLikeObject.js +0 -14
  695. package/node_modules/lodash/_castFunction.js +0 -14
  696. package/node_modules/lodash/_castPath.js +0 -21
  697. package/node_modules/lodash/_castRest.js +0 -14
  698. package/node_modules/lodash/_castSlice.js +0 -18
  699. package/node_modules/lodash/_charsEndIndex.js +0 -19
  700. package/node_modules/lodash/_charsStartIndex.js +0 -20
  701. package/node_modules/lodash/_cloneArrayBuffer.js +0 -16
  702. package/node_modules/lodash/_cloneBuffer.js +0 -35
  703. package/node_modules/lodash/_cloneDataView.js +0 -16
  704. package/node_modules/lodash/_cloneRegExp.js +0 -17
  705. package/node_modules/lodash/_cloneSymbol.js +0 -18
  706. package/node_modules/lodash/_cloneTypedArray.js +0 -16
  707. package/node_modules/lodash/_compareAscending.js +0 -41
  708. package/node_modules/lodash/_compareMultiple.js +0 -44
  709. package/node_modules/lodash/_composeArgs.js +0 -39
  710. package/node_modules/lodash/_composeArgsRight.js +0 -41
  711. package/node_modules/lodash/_copyArray.js +0 -20
  712. package/node_modules/lodash/_copyObject.js +0 -40
  713. package/node_modules/lodash/_copySymbols.js +0 -16
  714. package/node_modules/lodash/_copySymbolsIn.js +0 -16
  715. package/node_modules/lodash/_coreJsData.js +0 -6
  716. package/node_modules/lodash/_countHolders.js +0 -21
  717. package/node_modules/lodash/_createAggregator.js +0 -23
  718. package/node_modules/lodash/_createAssigner.js +0 -37
  719. package/node_modules/lodash/_createBaseEach.js +0 -32
  720. package/node_modules/lodash/_createBaseFor.js +0 -25
  721. package/node_modules/lodash/_createBind.js +0 -28
  722. package/node_modules/lodash/_createCaseFirst.js +0 -33
  723. package/node_modules/lodash/_createCompounder.js +0 -24
  724. package/node_modules/lodash/_createCtor.js +0 -37
  725. package/node_modules/lodash/_createCurry.js +0 -46
  726. package/node_modules/lodash/_createFind.js +0 -25
  727. package/node_modules/lodash/_createFlow.js +0 -78
  728. package/node_modules/lodash/_createHybrid.js +0 -92
  729. package/node_modules/lodash/_createInverter.js +0 -17
  730. package/node_modules/lodash/_createMathOperation.js +0 -38
  731. package/node_modules/lodash/_createOver.js +0 -27
  732. package/node_modules/lodash/_createPadding.js +0 -33
  733. package/node_modules/lodash/_createPartial.js +0 -43
  734. package/node_modules/lodash/_createRange.js +0 -30
  735. package/node_modules/lodash/_createRecurry.js +0 -56
  736. package/node_modules/lodash/_createRelationalOperation.js +0 -20
  737. package/node_modules/lodash/_createRound.js +0 -35
  738. package/node_modules/lodash/_createSet.js +0 -19
  739. package/node_modules/lodash/_createToPairs.js +0 -30
  740. package/node_modules/lodash/_createWrap.js +0 -106
  741. package/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
  742. package/node_modules/lodash/_customDefaultsMerge.js +0 -28
  743. package/node_modules/lodash/_customOmitClone.js +0 -16
  744. package/node_modules/lodash/_deburrLetter.js +0 -71
  745. package/node_modules/lodash/_defineProperty.js +0 -11
  746. package/node_modules/lodash/_equalArrays.js +0 -84
  747. package/node_modules/lodash/_equalByTag.js +0 -112
  748. package/node_modules/lodash/_equalObjects.js +0 -90
  749. package/node_modules/lodash/_escapeHtmlChar.js +0 -21
  750. package/node_modules/lodash/_escapeStringChar.js +0 -22
  751. package/node_modules/lodash/_flatRest.js +0 -16
  752. package/node_modules/lodash/_freeGlobal.js +0 -4
  753. package/node_modules/lodash/_getAllKeys.js +0 -16
  754. package/node_modules/lodash/_getAllKeysIn.js +0 -17
  755. package/node_modules/lodash/_getData.js +0 -15
  756. package/node_modules/lodash/_getFuncName.js +0 -31
  757. package/node_modules/lodash/_getHolder.js +0 -13
  758. package/node_modules/lodash/_getMapData.js +0 -18
  759. package/node_modules/lodash/_getMatchData.js +0 -24
  760. package/node_modules/lodash/_getNative.js +0 -17
  761. package/node_modules/lodash/_getPrototype.js +0 -6
  762. package/node_modules/lodash/_getRawTag.js +0 -46
  763. package/node_modules/lodash/_getSymbols.js +0 -30
  764. package/node_modules/lodash/_getSymbolsIn.js +0 -25
  765. package/node_modules/lodash/_getTag.js +0 -58
  766. package/node_modules/lodash/_getValue.js +0 -13
  767. package/node_modules/lodash/_getView.js +0 -33
  768. package/node_modules/lodash/_getWrapDetails.js +0 -17
  769. package/node_modules/lodash/_hasPath.js +0 -39
  770. package/node_modules/lodash/_hasUnicode.js +0 -26
  771. package/node_modules/lodash/_hasUnicodeWord.js +0 -15
  772. package/node_modules/lodash/_hashClear.js +0 -15
  773. package/node_modules/lodash/_hashDelete.js +0 -17
  774. package/node_modules/lodash/_hashGet.js +0 -30
  775. package/node_modules/lodash/_hashHas.js +0 -23
  776. package/node_modules/lodash/_hashSet.js +0 -23
  777. package/node_modules/lodash/_initCloneArray.js +0 -26
  778. package/node_modules/lodash/_initCloneByTag.js +0 -77
  779. package/node_modules/lodash/_initCloneObject.js +0 -18
  780. package/node_modules/lodash/_insertWrapDetails.js +0 -23
  781. package/node_modules/lodash/_isFlattenable.js +0 -20
  782. package/node_modules/lodash/_isIndex.js +0 -25
  783. package/node_modules/lodash/_isIterateeCall.js +0 -30
  784. package/node_modules/lodash/_isKey.js +0 -29
  785. package/node_modules/lodash/_isKeyable.js +0 -15
  786. package/node_modules/lodash/_isLaziable.js +0 -28
  787. package/node_modules/lodash/_isMaskable.js +0 -14
  788. package/node_modules/lodash/_isMasked.js +0 -20
  789. package/node_modules/lodash/_isPrototype.js +0 -18
  790. package/node_modules/lodash/_isStrictComparable.js +0 -15
  791. package/node_modules/lodash/_iteratorToArray.js +0 -18
  792. package/node_modules/lodash/_lazyClone.js +0 -23
  793. package/node_modules/lodash/_lazyReverse.js +0 -23
  794. package/node_modules/lodash/_lazyValue.js +0 -69
  795. package/node_modules/lodash/_listCacheClear.js +0 -13
  796. package/node_modules/lodash/_listCacheDelete.js +0 -35
  797. package/node_modules/lodash/_listCacheGet.js +0 -19
  798. package/node_modules/lodash/_listCacheHas.js +0 -16
  799. package/node_modules/lodash/_listCacheSet.js +0 -26
  800. package/node_modules/lodash/_mapCacheClear.js +0 -21
  801. package/node_modules/lodash/_mapCacheDelete.js +0 -18
  802. package/node_modules/lodash/_mapCacheGet.js +0 -16
  803. package/node_modules/lodash/_mapCacheHas.js +0 -16
  804. package/node_modules/lodash/_mapCacheSet.js +0 -22
  805. package/node_modules/lodash/_mapToArray.js +0 -18
  806. package/node_modules/lodash/_matchesStrictComparable.js +0 -20
  807. package/node_modules/lodash/_memoizeCapped.js +0 -26
  808. package/node_modules/lodash/_mergeData.js +0 -90
  809. package/node_modules/lodash/_metaMap.js +0 -6
  810. package/node_modules/lodash/_nativeCreate.js +0 -6
  811. package/node_modules/lodash/_nativeKeys.js +0 -6
  812. package/node_modules/lodash/_nativeKeysIn.js +0 -20
  813. package/node_modules/lodash/_nodeUtil.js +0 -30
  814. package/node_modules/lodash/_objectToString.js +0 -22
  815. package/node_modules/lodash/_overArg.js +0 -15
  816. package/node_modules/lodash/_overRest.js +0 -36
  817. package/node_modules/lodash/_parent.js +0 -16
  818. package/node_modules/lodash/_reEscape.js +0 -4
  819. package/node_modules/lodash/_reEvaluate.js +0 -4
  820. package/node_modules/lodash/_reInterpolate.js +0 -4
  821. package/node_modules/lodash/_realNames.js +0 -4
  822. package/node_modules/lodash/_reorder.js +0 -29
  823. package/node_modules/lodash/_replaceHolders.js +0 -29
  824. package/node_modules/lodash/_root.js +0 -9
  825. package/node_modules/lodash/_safeGet.js +0 -21
  826. package/node_modules/lodash/_setCacheAdd.js +0 -19
  827. package/node_modules/lodash/_setCacheHas.js +0 -14
  828. package/node_modules/lodash/_setData.js +0 -20
  829. package/node_modules/lodash/_setToArray.js +0 -18
  830. package/node_modules/lodash/_setToPairs.js +0 -18
  831. package/node_modules/lodash/_setToString.js +0 -14
  832. package/node_modules/lodash/_setWrapToString.js +0 -21
  833. package/node_modules/lodash/_shortOut.js +0 -37
  834. package/node_modules/lodash/_shuffleSelf.js +0 -28
  835. package/node_modules/lodash/_stackClear.js +0 -15
  836. package/node_modules/lodash/_stackDelete.js +0 -18
  837. package/node_modules/lodash/_stackGet.js +0 -14
  838. package/node_modules/lodash/_stackHas.js +0 -14
  839. package/node_modules/lodash/_stackSet.js +0 -34
  840. package/node_modules/lodash/_strictIndexOf.js +0 -23
  841. package/node_modules/lodash/_strictLastIndexOf.js +0 -21
  842. package/node_modules/lodash/_stringSize.js +0 -18
  843. package/node_modules/lodash/_stringToArray.js +0 -18
  844. package/node_modules/lodash/_stringToPath.js +0 -27
  845. package/node_modules/lodash/_toKey.js +0 -21
  846. package/node_modules/lodash/_toSource.js +0 -26
  847. package/node_modules/lodash/_trimmedEndIndex.js +0 -19
  848. package/node_modules/lodash/_unescapeHtmlChar.js +0 -21
  849. package/node_modules/lodash/_unicodeSize.js +0 -44
  850. package/node_modules/lodash/_unicodeToArray.js +0 -40
  851. package/node_modules/lodash/_unicodeWords.js +0 -69
  852. package/node_modules/lodash/_updateWrapDetails.js +0 -46
  853. package/node_modules/lodash/_wrapperClone.js +0 -23
  854. package/node_modules/lodash/add.js +0 -22
  855. package/node_modules/lodash/after.js +0 -42
  856. package/node_modules/lodash/array.js +0 -67
  857. package/node_modules/lodash/ary.js +0 -29
  858. package/node_modules/lodash/assign.js +0 -58
  859. package/node_modules/lodash/assignIn.js +0 -40
  860. package/node_modules/lodash/assignInWith.js +0 -38
  861. package/node_modules/lodash/assignWith.js +0 -37
  862. package/node_modules/lodash/at.js +0 -23
  863. package/node_modules/lodash/attempt.js +0 -35
  864. package/node_modules/lodash/before.js +0 -40
  865. package/node_modules/lodash/bind.js +0 -57
  866. package/node_modules/lodash/bindAll.js +0 -41
  867. package/node_modules/lodash/bindKey.js +0 -68
  868. package/node_modules/lodash/camelCase.js +0 -29
  869. package/node_modules/lodash/capitalize.js +0 -23
  870. package/node_modules/lodash/castArray.js +0 -44
  871. package/node_modules/lodash/ceil.js +0 -26
  872. package/node_modules/lodash/chain.js +0 -38
  873. package/node_modules/lodash/chunk.js +0 -50
  874. package/node_modules/lodash/clamp.js +0 -39
  875. package/node_modules/lodash/clone.js +0 -36
  876. package/node_modules/lodash/cloneDeep.js +0 -29
  877. package/node_modules/lodash/cloneDeepWith.js +0 -40
  878. package/node_modules/lodash/cloneWith.js +0 -42
  879. package/node_modules/lodash/collection.js +0 -30
  880. package/node_modules/lodash/commit.js +0 -33
  881. package/node_modules/lodash/compact.js +0 -31
  882. package/node_modules/lodash/concat.js +0 -43
  883. package/node_modules/lodash/cond.js +0 -60
  884. package/node_modules/lodash/conforms.js +0 -35
  885. package/node_modules/lodash/conformsTo.js +0 -32
  886. package/node_modules/lodash/constant.js +0 -26
  887. package/node_modules/lodash/core.js +0 -3877
  888. package/node_modules/lodash/core.min.js +0 -29
  889. package/node_modules/lodash/countBy.js +0 -40
  890. package/node_modules/lodash/create.js +0 -43
  891. package/node_modules/lodash/curry.js +0 -57
  892. package/node_modules/lodash/curryRight.js +0 -54
  893. package/node_modules/lodash/date.js +0 -3
  894. package/node_modules/lodash/debounce.js +0 -191
  895. package/node_modules/lodash/deburr.js +0 -45
  896. package/node_modules/lodash/defaultTo.js +0 -25
  897. package/node_modules/lodash/defaults.js +0 -64
  898. package/node_modules/lodash/defaultsDeep.js +0 -30
  899. package/node_modules/lodash/defer.js +0 -26
  900. package/node_modules/lodash/delay.js +0 -28
  901. package/node_modules/lodash/difference.js +0 -33
  902. package/node_modules/lodash/differenceBy.js +0 -44
  903. package/node_modules/lodash/differenceWith.js +0 -40
  904. package/node_modules/lodash/divide.js +0 -22
  905. package/node_modules/lodash/drop.js +0 -38
  906. package/node_modules/lodash/dropRight.js +0 -39
  907. package/node_modules/lodash/dropRightWhile.js +0 -45
  908. package/node_modules/lodash/dropWhile.js +0 -45
  909. package/node_modules/lodash/each.js +0 -1
  910. package/node_modules/lodash/eachRight.js +0 -1
  911. package/node_modules/lodash/endsWith.js +0 -43
  912. package/node_modules/lodash/entries.js +0 -1
  913. package/node_modules/lodash/entriesIn.js +0 -1
  914. package/node_modules/lodash/eq.js +0 -37
  915. package/node_modules/lodash/escape.js +0 -43
  916. package/node_modules/lodash/escapeRegExp.js +0 -32
  917. package/node_modules/lodash/every.js +0 -56
  918. package/node_modules/lodash/extend.js +0 -1
  919. package/node_modules/lodash/extendWith.js +0 -1
  920. package/node_modules/lodash/fill.js +0 -45
  921. package/node_modules/lodash/filter.js +0 -52
  922. package/node_modules/lodash/find.js +0 -42
  923. package/node_modules/lodash/findIndex.js +0 -55
  924. package/node_modules/lodash/findKey.js +0 -44
  925. package/node_modules/lodash/findLast.js +0 -25
  926. package/node_modules/lodash/findLastIndex.js +0 -59
  927. package/node_modules/lodash/findLastKey.js +0 -44
  928. package/node_modules/lodash/first.js +0 -1
  929. package/node_modules/lodash/flatMap.js +0 -29
  930. package/node_modules/lodash/flatMapDeep.js +0 -31
  931. package/node_modules/lodash/flatMapDepth.js +0 -31
  932. package/node_modules/lodash/flatten.js +0 -22
  933. package/node_modules/lodash/flattenDeep.js +0 -25
  934. package/node_modules/lodash/flattenDepth.js +0 -33
  935. package/node_modules/lodash/flip.js +0 -28
  936. package/node_modules/lodash/floor.js +0 -26
  937. package/node_modules/lodash/flow.js +0 -27
  938. package/node_modules/lodash/flowRight.js +0 -26
  939. package/node_modules/lodash/forEach.js +0 -41
  940. package/node_modules/lodash/forEachRight.js +0 -31
  941. package/node_modules/lodash/forIn.js +0 -39
  942. package/node_modules/lodash/forInRight.js +0 -37
  943. package/node_modules/lodash/forOwn.js +0 -36
  944. package/node_modules/lodash/forOwnRight.js +0 -34
  945. package/node_modules/lodash/fp/F.js +0 -1
  946. package/node_modules/lodash/fp/T.js +0 -1
  947. package/node_modules/lodash/fp/__.js +0 -1
  948. package/node_modules/lodash/fp/_baseConvert.js +0 -569
  949. package/node_modules/lodash/fp/_convertBrowser.js +0 -18
  950. package/node_modules/lodash/fp/_falseOptions.js +0 -7
  951. package/node_modules/lodash/fp/_mapping.js +0 -358
  952. package/node_modules/lodash/fp/_util.js +0 -16
  953. package/node_modules/lodash/fp/add.js +0 -5
  954. package/node_modules/lodash/fp/after.js +0 -5
  955. package/node_modules/lodash/fp/all.js +0 -1
  956. package/node_modules/lodash/fp/allPass.js +0 -1
  957. package/node_modules/lodash/fp/always.js +0 -1
  958. package/node_modules/lodash/fp/any.js +0 -1
  959. package/node_modules/lodash/fp/anyPass.js +0 -1
  960. package/node_modules/lodash/fp/apply.js +0 -1
  961. package/node_modules/lodash/fp/array.js +0 -2
  962. package/node_modules/lodash/fp/ary.js +0 -5
  963. package/node_modules/lodash/fp/assign.js +0 -5
  964. package/node_modules/lodash/fp/assignAll.js +0 -5
  965. package/node_modules/lodash/fp/assignAllWith.js +0 -5
  966. package/node_modules/lodash/fp/assignIn.js +0 -5
  967. package/node_modules/lodash/fp/assignInAll.js +0 -5
  968. package/node_modules/lodash/fp/assignInAllWith.js +0 -5
  969. package/node_modules/lodash/fp/assignInWith.js +0 -5
  970. package/node_modules/lodash/fp/assignWith.js +0 -5
  971. package/node_modules/lodash/fp/assoc.js +0 -1
  972. package/node_modules/lodash/fp/assocPath.js +0 -1
  973. package/node_modules/lodash/fp/at.js +0 -5
  974. package/node_modules/lodash/fp/attempt.js +0 -5
  975. package/node_modules/lodash/fp/before.js +0 -5
  976. package/node_modules/lodash/fp/bind.js +0 -5
  977. package/node_modules/lodash/fp/bindAll.js +0 -5
  978. package/node_modules/lodash/fp/bindKey.js +0 -5
  979. package/node_modules/lodash/fp/camelCase.js +0 -5
  980. package/node_modules/lodash/fp/capitalize.js +0 -5
  981. package/node_modules/lodash/fp/castArray.js +0 -5
  982. package/node_modules/lodash/fp/ceil.js +0 -5
  983. package/node_modules/lodash/fp/chain.js +0 -5
  984. package/node_modules/lodash/fp/chunk.js +0 -5
  985. package/node_modules/lodash/fp/clamp.js +0 -5
  986. package/node_modules/lodash/fp/clone.js +0 -5
  987. package/node_modules/lodash/fp/cloneDeep.js +0 -5
  988. package/node_modules/lodash/fp/cloneDeepWith.js +0 -5
  989. package/node_modules/lodash/fp/cloneWith.js +0 -5
  990. package/node_modules/lodash/fp/collection.js +0 -2
  991. package/node_modules/lodash/fp/commit.js +0 -5
  992. package/node_modules/lodash/fp/compact.js +0 -5
  993. package/node_modules/lodash/fp/complement.js +0 -1
  994. package/node_modules/lodash/fp/compose.js +0 -1
  995. package/node_modules/lodash/fp/concat.js +0 -5
  996. package/node_modules/lodash/fp/cond.js +0 -5
  997. package/node_modules/lodash/fp/conforms.js +0 -1
  998. package/node_modules/lodash/fp/conformsTo.js +0 -5
  999. package/node_modules/lodash/fp/constant.js +0 -5
  1000. package/node_modules/lodash/fp/contains.js +0 -1
  1001. package/node_modules/lodash/fp/convert.js +0 -18
  1002. package/node_modules/lodash/fp/countBy.js +0 -5
  1003. package/node_modules/lodash/fp/create.js +0 -5
  1004. package/node_modules/lodash/fp/curry.js +0 -5
  1005. package/node_modules/lodash/fp/curryN.js +0 -5
  1006. package/node_modules/lodash/fp/curryRight.js +0 -5
  1007. package/node_modules/lodash/fp/curryRightN.js +0 -5
  1008. package/node_modules/lodash/fp/date.js +0 -2
  1009. package/node_modules/lodash/fp/debounce.js +0 -5
  1010. package/node_modules/lodash/fp/deburr.js +0 -5
  1011. package/node_modules/lodash/fp/defaultTo.js +0 -5
  1012. package/node_modules/lodash/fp/defaults.js +0 -5
  1013. package/node_modules/lodash/fp/defaultsAll.js +0 -5
  1014. package/node_modules/lodash/fp/defaultsDeep.js +0 -5
  1015. package/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
  1016. package/node_modules/lodash/fp/defer.js +0 -5
  1017. package/node_modules/lodash/fp/delay.js +0 -5
  1018. package/node_modules/lodash/fp/difference.js +0 -5
  1019. package/node_modules/lodash/fp/differenceBy.js +0 -5
  1020. package/node_modules/lodash/fp/differenceWith.js +0 -5
  1021. package/node_modules/lodash/fp/dissoc.js +0 -1
  1022. package/node_modules/lodash/fp/dissocPath.js +0 -1
  1023. package/node_modules/lodash/fp/divide.js +0 -5
  1024. package/node_modules/lodash/fp/drop.js +0 -5
  1025. package/node_modules/lodash/fp/dropLast.js +0 -1
  1026. package/node_modules/lodash/fp/dropLastWhile.js +0 -1
  1027. package/node_modules/lodash/fp/dropRight.js +0 -5
  1028. package/node_modules/lodash/fp/dropRightWhile.js +0 -5
  1029. package/node_modules/lodash/fp/dropWhile.js +0 -5
  1030. package/node_modules/lodash/fp/each.js +0 -1
  1031. package/node_modules/lodash/fp/eachRight.js +0 -1
  1032. package/node_modules/lodash/fp/endsWith.js +0 -5
  1033. package/node_modules/lodash/fp/entries.js +0 -1
  1034. package/node_modules/lodash/fp/entriesIn.js +0 -1
  1035. package/node_modules/lodash/fp/eq.js +0 -5
  1036. package/node_modules/lodash/fp/equals.js +0 -1
  1037. package/node_modules/lodash/fp/escape.js +0 -5
  1038. package/node_modules/lodash/fp/escapeRegExp.js +0 -5
  1039. package/node_modules/lodash/fp/every.js +0 -5
  1040. package/node_modules/lodash/fp/extend.js +0 -1
  1041. package/node_modules/lodash/fp/extendAll.js +0 -1
  1042. package/node_modules/lodash/fp/extendAllWith.js +0 -1
  1043. package/node_modules/lodash/fp/extendWith.js +0 -1
  1044. package/node_modules/lodash/fp/fill.js +0 -5
  1045. package/node_modules/lodash/fp/filter.js +0 -5
  1046. package/node_modules/lodash/fp/find.js +0 -5
  1047. package/node_modules/lodash/fp/findFrom.js +0 -5
  1048. package/node_modules/lodash/fp/findIndex.js +0 -5
  1049. package/node_modules/lodash/fp/findIndexFrom.js +0 -5
  1050. package/node_modules/lodash/fp/findKey.js +0 -5
  1051. package/node_modules/lodash/fp/findLast.js +0 -5
  1052. package/node_modules/lodash/fp/findLastFrom.js +0 -5
  1053. package/node_modules/lodash/fp/findLastIndex.js +0 -5
  1054. package/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
  1055. package/node_modules/lodash/fp/findLastKey.js +0 -5
  1056. package/node_modules/lodash/fp/first.js +0 -1
  1057. package/node_modules/lodash/fp/flatMap.js +0 -5
  1058. package/node_modules/lodash/fp/flatMapDeep.js +0 -5
  1059. package/node_modules/lodash/fp/flatMapDepth.js +0 -5
  1060. package/node_modules/lodash/fp/flatten.js +0 -5
  1061. package/node_modules/lodash/fp/flattenDeep.js +0 -5
  1062. package/node_modules/lodash/fp/flattenDepth.js +0 -5
  1063. package/node_modules/lodash/fp/flip.js +0 -5
  1064. package/node_modules/lodash/fp/floor.js +0 -5
  1065. package/node_modules/lodash/fp/flow.js +0 -5
  1066. package/node_modules/lodash/fp/flowRight.js +0 -5
  1067. package/node_modules/lodash/fp/forEach.js +0 -5
  1068. package/node_modules/lodash/fp/forEachRight.js +0 -5
  1069. package/node_modules/lodash/fp/forIn.js +0 -5
  1070. package/node_modules/lodash/fp/forInRight.js +0 -5
  1071. package/node_modules/lodash/fp/forOwn.js +0 -5
  1072. package/node_modules/lodash/fp/forOwnRight.js +0 -5
  1073. package/node_modules/lodash/fp/fromPairs.js +0 -5
  1074. package/node_modules/lodash/fp/function.js +0 -2
  1075. package/node_modules/lodash/fp/functions.js +0 -5
  1076. package/node_modules/lodash/fp/functionsIn.js +0 -5
  1077. package/node_modules/lodash/fp/get.js +0 -5
  1078. package/node_modules/lodash/fp/getOr.js +0 -5
  1079. package/node_modules/lodash/fp/groupBy.js +0 -5
  1080. package/node_modules/lodash/fp/gt.js +0 -5
  1081. package/node_modules/lodash/fp/gte.js +0 -5
  1082. package/node_modules/lodash/fp/has.js +0 -5
  1083. package/node_modules/lodash/fp/hasIn.js +0 -5
  1084. package/node_modules/lodash/fp/head.js +0 -5
  1085. package/node_modules/lodash/fp/identical.js +0 -1
  1086. package/node_modules/lodash/fp/identity.js +0 -5
  1087. package/node_modules/lodash/fp/inRange.js +0 -5
  1088. package/node_modules/lodash/fp/includes.js +0 -5
  1089. package/node_modules/lodash/fp/includesFrom.js +0 -5
  1090. package/node_modules/lodash/fp/indexBy.js +0 -1
  1091. package/node_modules/lodash/fp/indexOf.js +0 -5
  1092. package/node_modules/lodash/fp/indexOfFrom.js +0 -5
  1093. package/node_modules/lodash/fp/init.js +0 -1
  1094. package/node_modules/lodash/fp/initial.js +0 -5
  1095. package/node_modules/lodash/fp/intersection.js +0 -5
  1096. package/node_modules/lodash/fp/intersectionBy.js +0 -5
  1097. package/node_modules/lodash/fp/intersectionWith.js +0 -5
  1098. package/node_modules/lodash/fp/invert.js +0 -5
  1099. package/node_modules/lodash/fp/invertBy.js +0 -5
  1100. package/node_modules/lodash/fp/invertObj.js +0 -1
  1101. package/node_modules/lodash/fp/invoke.js +0 -5
  1102. package/node_modules/lodash/fp/invokeArgs.js +0 -5
  1103. package/node_modules/lodash/fp/invokeArgsMap.js +0 -5
  1104. package/node_modules/lodash/fp/invokeMap.js +0 -5
  1105. package/node_modules/lodash/fp/isArguments.js +0 -5
  1106. package/node_modules/lodash/fp/isArray.js +0 -5
  1107. package/node_modules/lodash/fp/isArrayBuffer.js +0 -5
  1108. package/node_modules/lodash/fp/isArrayLike.js +0 -5
  1109. package/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
  1110. package/node_modules/lodash/fp/isBoolean.js +0 -5
  1111. package/node_modules/lodash/fp/isBuffer.js +0 -5
  1112. package/node_modules/lodash/fp/isDate.js +0 -5
  1113. package/node_modules/lodash/fp/isElement.js +0 -5
  1114. package/node_modules/lodash/fp/isEmpty.js +0 -5
  1115. package/node_modules/lodash/fp/isEqual.js +0 -5
  1116. package/node_modules/lodash/fp/isEqualWith.js +0 -5
  1117. package/node_modules/lodash/fp/isError.js +0 -5
  1118. package/node_modules/lodash/fp/isFinite.js +0 -5
  1119. package/node_modules/lodash/fp/isFunction.js +0 -5
  1120. package/node_modules/lodash/fp/isInteger.js +0 -5
  1121. package/node_modules/lodash/fp/isLength.js +0 -5
  1122. package/node_modules/lodash/fp/isMap.js +0 -5
  1123. package/node_modules/lodash/fp/isMatch.js +0 -5
  1124. package/node_modules/lodash/fp/isMatchWith.js +0 -5
  1125. package/node_modules/lodash/fp/isNaN.js +0 -5
  1126. package/node_modules/lodash/fp/isNative.js +0 -5
  1127. package/node_modules/lodash/fp/isNil.js +0 -5
  1128. package/node_modules/lodash/fp/isNull.js +0 -5
  1129. package/node_modules/lodash/fp/isNumber.js +0 -5
  1130. package/node_modules/lodash/fp/isObject.js +0 -5
  1131. package/node_modules/lodash/fp/isObjectLike.js +0 -5
  1132. package/node_modules/lodash/fp/isPlainObject.js +0 -5
  1133. package/node_modules/lodash/fp/isRegExp.js +0 -5
  1134. package/node_modules/lodash/fp/isSafeInteger.js +0 -5
  1135. package/node_modules/lodash/fp/isSet.js +0 -5
  1136. package/node_modules/lodash/fp/isString.js +0 -5
  1137. package/node_modules/lodash/fp/isSymbol.js +0 -5
  1138. package/node_modules/lodash/fp/isTypedArray.js +0 -5
  1139. package/node_modules/lodash/fp/isUndefined.js +0 -5
  1140. package/node_modules/lodash/fp/isWeakMap.js +0 -5
  1141. package/node_modules/lodash/fp/isWeakSet.js +0 -5
  1142. package/node_modules/lodash/fp/iteratee.js +0 -5
  1143. package/node_modules/lodash/fp/join.js +0 -5
  1144. package/node_modules/lodash/fp/juxt.js +0 -1
  1145. package/node_modules/lodash/fp/kebabCase.js +0 -5
  1146. package/node_modules/lodash/fp/keyBy.js +0 -5
  1147. package/node_modules/lodash/fp/keys.js +0 -5
  1148. package/node_modules/lodash/fp/keysIn.js +0 -5
  1149. package/node_modules/lodash/fp/lang.js +0 -2
  1150. package/node_modules/lodash/fp/last.js +0 -5
  1151. package/node_modules/lodash/fp/lastIndexOf.js +0 -5
  1152. package/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
  1153. package/node_modules/lodash/fp/lowerCase.js +0 -5
  1154. package/node_modules/lodash/fp/lowerFirst.js +0 -5
  1155. package/node_modules/lodash/fp/lt.js +0 -5
  1156. package/node_modules/lodash/fp/lte.js +0 -5
  1157. package/node_modules/lodash/fp/map.js +0 -5
  1158. package/node_modules/lodash/fp/mapKeys.js +0 -5
  1159. package/node_modules/lodash/fp/mapValues.js +0 -5
  1160. package/node_modules/lodash/fp/matches.js +0 -1
  1161. package/node_modules/lodash/fp/matchesProperty.js +0 -5
  1162. package/node_modules/lodash/fp/math.js +0 -2
  1163. package/node_modules/lodash/fp/max.js +0 -5
  1164. package/node_modules/lodash/fp/maxBy.js +0 -5
  1165. package/node_modules/lodash/fp/mean.js +0 -5
  1166. package/node_modules/lodash/fp/meanBy.js +0 -5
  1167. package/node_modules/lodash/fp/memoize.js +0 -5
  1168. package/node_modules/lodash/fp/merge.js +0 -5
  1169. package/node_modules/lodash/fp/mergeAll.js +0 -5
  1170. package/node_modules/lodash/fp/mergeAllWith.js +0 -5
  1171. package/node_modules/lodash/fp/mergeWith.js +0 -5
  1172. package/node_modules/lodash/fp/method.js +0 -5
  1173. package/node_modules/lodash/fp/methodOf.js +0 -5
  1174. package/node_modules/lodash/fp/min.js +0 -5
  1175. package/node_modules/lodash/fp/minBy.js +0 -5
  1176. package/node_modules/lodash/fp/mixin.js +0 -5
  1177. package/node_modules/lodash/fp/multiply.js +0 -5
  1178. package/node_modules/lodash/fp/nAry.js +0 -1
  1179. package/node_modules/lodash/fp/negate.js +0 -5
  1180. package/node_modules/lodash/fp/next.js +0 -5
  1181. package/node_modules/lodash/fp/noop.js +0 -5
  1182. package/node_modules/lodash/fp/now.js +0 -5
  1183. package/node_modules/lodash/fp/nth.js +0 -5
  1184. package/node_modules/lodash/fp/nthArg.js +0 -5
  1185. package/node_modules/lodash/fp/number.js +0 -2
  1186. package/node_modules/lodash/fp/object.js +0 -2
  1187. package/node_modules/lodash/fp/omit.js +0 -5
  1188. package/node_modules/lodash/fp/omitAll.js +0 -1
  1189. package/node_modules/lodash/fp/omitBy.js +0 -5
  1190. package/node_modules/lodash/fp/once.js +0 -5
  1191. package/node_modules/lodash/fp/orderBy.js +0 -5
  1192. package/node_modules/lodash/fp/over.js +0 -5
  1193. package/node_modules/lodash/fp/overArgs.js +0 -5
  1194. package/node_modules/lodash/fp/overEvery.js +0 -5
  1195. package/node_modules/lodash/fp/overSome.js +0 -5
  1196. package/node_modules/lodash/fp/pad.js +0 -5
  1197. package/node_modules/lodash/fp/padChars.js +0 -5
  1198. package/node_modules/lodash/fp/padCharsEnd.js +0 -5
  1199. package/node_modules/lodash/fp/padCharsStart.js +0 -5
  1200. package/node_modules/lodash/fp/padEnd.js +0 -5
  1201. package/node_modules/lodash/fp/padStart.js +0 -5
  1202. package/node_modules/lodash/fp/parseInt.js +0 -5
  1203. package/node_modules/lodash/fp/partial.js +0 -5
  1204. package/node_modules/lodash/fp/partialRight.js +0 -5
  1205. package/node_modules/lodash/fp/partition.js +0 -5
  1206. package/node_modules/lodash/fp/path.js +0 -1
  1207. package/node_modules/lodash/fp/pathEq.js +0 -1
  1208. package/node_modules/lodash/fp/pathOr.js +0 -1
  1209. package/node_modules/lodash/fp/paths.js +0 -1
  1210. package/node_modules/lodash/fp/pick.js +0 -5
  1211. package/node_modules/lodash/fp/pickAll.js +0 -1
  1212. package/node_modules/lodash/fp/pickBy.js +0 -5
  1213. package/node_modules/lodash/fp/pipe.js +0 -1
  1214. package/node_modules/lodash/fp/placeholder.js +0 -6
  1215. package/node_modules/lodash/fp/plant.js +0 -5
  1216. package/node_modules/lodash/fp/pluck.js +0 -1
  1217. package/node_modules/lodash/fp/prop.js +0 -1
  1218. package/node_modules/lodash/fp/propEq.js +0 -1
  1219. package/node_modules/lodash/fp/propOr.js +0 -1
  1220. package/node_modules/lodash/fp/property.js +0 -1
  1221. package/node_modules/lodash/fp/propertyOf.js +0 -5
  1222. package/node_modules/lodash/fp/props.js +0 -1
  1223. package/node_modules/lodash/fp/pull.js +0 -5
  1224. package/node_modules/lodash/fp/pullAll.js +0 -5
  1225. package/node_modules/lodash/fp/pullAllBy.js +0 -5
  1226. package/node_modules/lodash/fp/pullAllWith.js +0 -5
  1227. package/node_modules/lodash/fp/pullAt.js +0 -5
  1228. package/node_modules/lodash/fp/random.js +0 -5
  1229. package/node_modules/lodash/fp/range.js +0 -5
  1230. package/node_modules/lodash/fp/rangeRight.js +0 -5
  1231. package/node_modules/lodash/fp/rangeStep.js +0 -5
  1232. package/node_modules/lodash/fp/rangeStepRight.js +0 -5
  1233. package/node_modules/lodash/fp/rearg.js +0 -5
  1234. package/node_modules/lodash/fp/reduce.js +0 -5
  1235. package/node_modules/lodash/fp/reduceRight.js +0 -5
  1236. package/node_modules/lodash/fp/reject.js +0 -5
  1237. package/node_modules/lodash/fp/remove.js +0 -5
  1238. package/node_modules/lodash/fp/repeat.js +0 -5
  1239. package/node_modules/lodash/fp/replace.js +0 -5
  1240. package/node_modules/lodash/fp/rest.js +0 -5
  1241. package/node_modules/lodash/fp/restFrom.js +0 -5
  1242. package/node_modules/lodash/fp/result.js +0 -5
  1243. package/node_modules/lodash/fp/reverse.js +0 -5
  1244. package/node_modules/lodash/fp/round.js +0 -5
  1245. package/node_modules/lodash/fp/sample.js +0 -5
  1246. package/node_modules/lodash/fp/sampleSize.js +0 -5
  1247. package/node_modules/lodash/fp/seq.js +0 -2
  1248. package/node_modules/lodash/fp/set.js +0 -5
  1249. package/node_modules/lodash/fp/setWith.js +0 -5
  1250. package/node_modules/lodash/fp/shuffle.js +0 -5
  1251. package/node_modules/lodash/fp/size.js +0 -5
  1252. package/node_modules/lodash/fp/slice.js +0 -5
  1253. package/node_modules/lodash/fp/snakeCase.js +0 -5
  1254. package/node_modules/lodash/fp/some.js +0 -5
  1255. package/node_modules/lodash/fp/sortBy.js +0 -5
  1256. package/node_modules/lodash/fp/sortedIndex.js +0 -5
  1257. package/node_modules/lodash/fp/sortedIndexBy.js +0 -5
  1258. package/node_modules/lodash/fp/sortedIndexOf.js +0 -5
  1259. package/node_modules/lodash/fp/sortedLastIndex.js +0 -5
  1260. package/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
  1261. package/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
  1262. package/node_modules/lodash/fp/sortedUniq.js +0 -5
  1263. package/node_modules/lodash/fp/sortedUniqBy.js +0 -5
  1264. package/node_modules/lodash/fp/split.js +0 -5
  1265. package/node_modules/lodash/fp/spread.js +0 -5
  1266. package/node_modules/lodash/fp/spreadFrom.js +0 -5
  1267. package/node_modules/lodash/fp/startCase.js +0 -5
  1268. package/node_modules/lodash/fp/startsWith.js +0 -5
  1269. package/node_modules/lodash/fp/string.js +0 -2
  1270. package/node_modules/lodash/fp/stubArray.js +0 -5
  1271. package/node_modules/lodash/fp/stubFalse.js +0 -5
  1272. package/node_modules/lodash/fp/stubObject.js +0 -5
  1273. package/node_modules/lodash/fp/stubString.js +0 -5
  1274. package/node_modules/lodash/fp/stubTrue.js +0 -5
  1275. package/node_modules/lodash/fp/subtract.js +0 -5
  1276. package/node_modules/lodash/fp/sum.js +0 -5
  1277. package/node_modules/lodash/fp/sumBy.js +0 -5
  1278. package/node_modules/lodash/fp/symmetricDifference.js +0 -1
  1279. package/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
  1280. package/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
  1281. package/node_modules/lodash/fp/tail.js +0 -5
  1282. package/node_modules/lodash/fp/take.js +0 -5
  1283. package/node_modules/lodash/fp/takeLast.js +0 -1
  1284. package/node_modules/lodash/fp/takeLastWhile.js +0 -1
  1285. package/node_modules/lodash/fp/takeRight.js +0 -5
  1286. package/node_modules/lodash/fp/takeRightWhile.js +0 -5
  1287. package/node_modules/lodash/fp/takeWhile.js +0 -5
  1288. package/node_modules/lodash/fp/tap.js +0 -5
  1289. package/node_modules/lodash/fp/template.js +0 -5
  1290. package/node_modules/lodash/fp/templateSettings.js +0 -5
  1291. package/node_modules/lodash/fp/throttle.js +0 -5
  1292. package/node_modules/lodash/fp/thru.js +0 -5
  1293. package/node_modules/lodash/fp/times.js +0 -5
  1294. package/node_modules/lodash/fp/toArray.js +0 -5
  1295. package/node_modules/lodash/fp/toFinite.js +0 -5
  1296. package/node_modules/lodash/fp/toInteger.js +0 -5
  1297. package/node_modules/lodash/fp/toIterator.js +0 -5
  1298. package/node_modules/lodash/fp/toJSON.js +0 -5
  1299. package/node_modules/lodash/fp/toLength.js +0 -5
  1300. package/node_modules/lodash/fp/toLower.js +0 -5
  1301. package/node_modules/lodash/fp/toNumber.js +0 -5
  1302. package/node_modules/lodash/fp/toPairs.js +0 -5
  1303. package/node_modules/lodash/fp/toPairsIn.js +0 -5
  1304. package/node_modules/lodash/fp/toPath.js +0 -5
  1305. package/node_modules/lodash/fp/toPlainObject.js +0 -5
  1306. package/node_modules/lodash/fp/toSafeInteger.js +0 -5
  1307. package/node_modules/lodash/fp/toString.js +0 -5
  1308. package/node_modules/lodash/fp/toUpper.js +0 -5
  1309. package/node_modules/lodash/fp/transform.js +0 -5
  1310. package/node_modules/lodash/fp/trim.js +0 -5
  1311. package/node_modules/lodash/fp/trimChars.js +0 -5
  1312. package/node_modules/lodash/fp/trimCharsEnd.js +0 -5
  1313. package/node_modules/lodash/fp/trimCharsStart.js +0 -5
  1314. package/node_modules/lodash/fp/trimEnd.js +0 -5
  1315. package/node_modules/lodash/fp/trimStart.js +0 -5
  1316. package/node_modules/lodash/fp/truncate.js +0 -5
  1317. package/node_modules/lodash/fp/unapply.js +0 -1
  1318. package/node_modules/lodash/fp/unary.js +0 -5
  1319. package/node_modules/lodash/fp/unescape.js +0 -5
  1320. package/node_modules/lodash/fp/union.js +0 -5
  1321. package/node_modules/lodash/fp/unionBy.js +0 -5
  1322. package/node_modules/lodash/fp/unionWith.js +0 -5
  1323. package/node_modules/lodash/fp/uniq.js +0 -5
  1324. package/node_modules/lodash/fp/uniqBy.js +0 -5
  1325. package/node_modules/lodash/fp/uniqWith.js +0 -5
  1326. package/node_modules/lodash/fp/uniqueId.js +0 -5
  1327. package/node_modules/lodash/fp/unnest.js +0 -1
  1328. package/node_modules/lodash/fp/unset.js +0 -5
  1329. package/node_modules/lodash/fp/unzip.js +0 -5
  1330. package/node_modules/lodash/fp/unzipWith.js +0 -5
  1331. package/node_modules/lodash/fp/update.js +0 -5
  1332. package/node_modules/lodash/fp/updateWith.js +0 -5
  1333. package/node_modules/lodash/fp/upperCase.js +0 -5
  1334. package/node_modules/lodash/fp/upperFirst.js +0 -5
  1335. package/node_modules/lodash/fp/useWith.js +0 -1
  1336. package/node_modules/lodash/fp/util.js +0 -2
  1337. package/node_modules/lodash/fp/value.js +0 -5
  1338. package/node_modules/lodash/fp/valueOf.js +0 -5
  1339. package/node_modules/lodash/fp/values.js +0 -5
  1340. package/node_modules/lodash/fp/valuesIn.js +0 -5
  1341. package/node_modules/lodash/fp/where.js +0 -1
  1342. package/node_modules/lodash/fp/whereEq.js +0 -1
  1343. package/node_modules/lodash/fp/without.js +0 -5
  1344. package/node_modules/lodash/fp/words.js +0 -5
  1345. package/node_modules/lodash/fp/wrap.js +0 -5
  1346. package/node_modules/lodash/fp/wrapperAt.js +0 -5
  1347. package/node_modules/lodash/fp/wrapperChain.js +0 -5
  1348. package/node_modules/lodash/fp/wrapperLodash.js +0 -5
  1349. package/node_modules/lodash/fp/wrapperReverse.js +0 -5
  1350. package/node_modules/lodash/fp/wrapperValue.js +0 -5
  1351. package/node_modules/lodash/fp/xor.js +0 -5
  1352. package/node_modules/lodash/fp/xorBy.js +0 -5
  1353. package/node_modules/lodash/fp/xorWith.js +0 -5
  1354. package/node_modules/lodash/fp/zip.js +0 -5
  1355. package/node_modules/lodash/fp/zipAll.js +0 -5
  1356. package/node_modules/lodash/fp/zipObj.js +0 -1
  1357. package/node_modules/lodash/fp/zipObject.js +0 -5
  1358. package/node_modules/lodash/fp/zipObjectDeep.js +0 -5
  1359. package/node_modules/lodash/fp/zipWith.js +0 -5
  1360. package/node_modules/lodash/fp.js +0 -2
  1361. package/node_modules/lodash/fromPairs.js +0 -28
  1362. package/node_modules/lodash/function.js +0 -25
  1363. package/node_modules/lodash/functions.js +0 -31
  1364. package/node_modules/lodash/functionsIn.js +0 -31
  1365. package/node_modules/lodash/get.js +0 -33
  1366. package/node_modules/lodash/groupBy.js +0 -41
  1367. package/node_modules/lodash/gt.js +0 -29
  1368. package/node_modules/lodash/gte.js +0 -30
  1369. package/node_modules/lodash/has.js +0 -35
  1370. package/node_modules/lodash/hasIn.js +0 -34
  1371. package/node_modules/lodash/head.js +0 -23
  1372. package/node_modules/lodash/identity.js +0 -21
  1373. package/node_modules/lodash/inRange.js +0 -55
  1374. package/node_modules/lodash/includes.js +0 -53
  1375. package/node_modules/lodash/index.js +0 -1
  1376. package/node_modules/lodash/indexOf.js +0 -42
  1377. package/node_modules/lodash/initial.js +0 -22
  1378. package/node_modules/lodash/intersection.js +0 -30
  1379. package/node_modules/lodash/intersectionBy.js +0 -45
  1380. package/node_modules/lodash/intersectionWith.js +0 -41
  1381. package/node_modules/lodash/invert.js +0 -42
  1382. package/node_modules/lodash/invertBy.js +0 -56
  1383. package/node_modules/lodash/invoke.js +0 -24
  1384. package/node_modules/lodash/invokeMap.js +0 -41
  1385. package/node_modules/lodash/isArguments.js +0 -36
  1386. package/node_modules/lodash/isArray.js +0 -26
  1387. package/node_modules/lodash/isArrayBuffer.js +0 -27
  1388. package/node_modules/lodash/isArrayLike.js +0 -33
  1389. package/node_modules/lodash/isArrayLikeObject.js +0 -33
  1390. package/node_modules/lodash/isBoolean.js +0 -29
  1391. package/node_modules/lodash/isBuffer.js +0 -38
  1392. package/node_modules/lodash/isDate.js +0 -27
  1393. package/node_modules/lodash/isElement.js +0 -25
  1394. package/node_modules/lodash/isEmpty.js +0 -77
  1395. package/node_modules/lodash/isEqual.js +0 -35
  1396. package/node_modules/lodash/isEqualWith.js +0 -41
  1397. package/node_modules/lodash/isError.js +0 -36
  1398. package/node_modules/lodash/isFinite.js +0 -36
  1399. package/node_modules/lodash/isFunction.js +0 -37
  1400. package/node_modules/lodash/isInteger.js +0 -33
  1401. package/node_modules/lodash/isLength.js +0 -35
  1402. package/node_modules/lodash/isMap.js +0 -27
  1403. package/node_modules/lodash/isMatch.js +0 -36
  1404. package/node_modules/lodash/isMatchWith.js +0 -41
  1405. package/node_modules/lodash/isNaN.js +0 -38
  1406. package/node_modules/lodash/isNative.js +0 -40
  1407. package/node_modules/lodash/isNil.js +0 -25
  1408. package/node_modules/lodash/isNull.js +0 -22
  1409. package/node_modules/lodash/isNumber.js +0 -38
  1410. package/node_modules/lodash/isObject.js +0 -31
  1411. package/node_modules/lodash/isObjectLike.js +0 -29
  1412. package/node_modules/lodash/isPlainObject.js +0 -62
  1413. package/node_modules/lodash/isRegExp.js +0 -27
  1414. package/node_modules/lodash/isSafeInteger.js +0 -37
  1415. package/node_modules/lodash/isSet.js +0 -27
  1416. package/node_modules/lodash/isString.js +0 -30
  1417. package/node_modules/lodash/isSymbol.js +0 -29
  1418. package/node_modules/lodash/isTypedArray.js +0 -27
  1419. package/node_modules/lodash/isUndefined.js +0 -22
  1420. package/node_modules/lodash/isWeakMap.js +0 -28
  1421. package/node_modules/lodash/isWeakSet.js +0 -28
  1422. package/node_modules/lodash/iteratee.js +0 -53
  1423. package/node_modules/lodash/join.js +0 -26
  1424. package/node_modules/lodash/kebabCase.js +0 -28
  1425. package/node_modules/lodash/keyBy.js +0 -36
  1426. package/node_modules/lodash/keys.js +0 -37
  1427. package/node_modules/lodash/keysIn.js +0 -32
  1428. package/node_modules/lodash/lang.js +0 -58
  1429. package/node_modules/lodash/last.js +0 -20
  1430. package/node_modules/lodash/lastIndexOf.js +0 -46
  1431. package/node_modules/lodash/lodash.js +0 -17248
  1432. package/node_modules/lodash/lodash.min.js +0 -140
  1433. package/node_modules/lodash/lowerCase.js +0 -27
  1434. package/node_modules/lodash/lowerFirst.js +0 -22
  1435. package/node_modules/lodash/lt.js +0 -29
  1436. package/node_modules/lodash/lte.js +0 -30
  1437. package/node_modules/lodash/map.js +0 -53
  1438. package/node_modules/lodash/mapKeys.js +0 -36
  1439. package/node_modules/lodash/mapValues.js +0 -43
  1440. package/node_modules/lodash/matches.js +0 -46
  1441. package/node_modules/lodash/matchesProperty.js +0 -44
  1442. package/node_modules/lodash/math.js +0 -17
  1443. package/node_modules/lodash/max.js +0 -29
  1444. package/node_modules/lodash/maxBy.js +0 -34
  1445. package/node_modules/lodash/mean.js +0 -22
  1446. package/node_modules/lodash/meanBy.js +0 -31
  1447. package/node_modules/lodash/memoize.js +0 -73
  1448. package/node_modules/lodash/merge.js +0 -39
  1449. package/node_modules/lodash/mergeWith.js +0 -39
  1450. package/node_modules/lodash/method.js +0 -34
  1451. package/node_modules/lodash/methodOf.js +0 -33
  1452. package/node_modules/lodash/min.js +0 -29
  1453. package/node_modules/lodash/minBy.js +0 -34
  1454. package/node_modules/lodash/mixin.js +0 -74
  1455. package/node_modules/lodash/multiply.js +0 -22
  1456. package/node_modules/lodash/negate.js +0 -40
  1457. package/node_modules/lodash/next.js +0 -35
  1458. package/node_modules/lodash/noop.js +0 -17
  1459. package/node_modules/lodash/now.js +0 -23
  1460. package/node_modules/lodash/nth.js +0 -29
  1461. package/node_modules/lodash/nthArg.js +0 -32
  1462. package/node_modules/lodash/number.js +0 -5
  1463. package/node_modules/lodash/object.js +0 -49
  1464. package/node_modules/lodash/omit.js +0 -57
  1465. package/node_modules/lodash/omitBy.js +0 -29
  1466. package/node_modules/lodash/once.js +0 -25
  1467. package/node_modules/lodash/orderBy.js +0 -47
  1468. package/node_modules/lodash/over.js +0 -24
  1469. package/node_modules/lodash/overArgs.js +0 -61
  1470. package/node_modules/lodash/overEvery.js +0 -34
  1471. package/node_modules/lodash/overSome.js +0 -37
  1472. package/node_modules/lodash/package.json +0 -17
  1473. package/node_modules/lodash/pad.js +0 -49
  1474. package/node_modules/lodash/padEnd.js +0 -39
  1475. package/node_modules/lodash/padStart.js +0 -39
  1476. package/node_modules/lodash/parseInt.js +0 -43
  1477. package/node_modules/lodash/partial.js +0 -50
  1478. package/node_modules/lodash/partialRight.js +0 -49
  1479. package/node_modules/lodash/partition.js +0 -43
  1480. package/node_modules/lodash/pick.js +0 -25
  1481. package/node_modules/lodash/pickBy.js +0 -37
  1482. package/node_modules/lodash/plant.js +0 -48
  1483. package/node_modules/lodash/property.js +0 -32
  1484. package/node_modules/lodash/propertyOf.js +0 -30
  1485. package/node_modules/lodash/pull.js +0 -29
  1486. package/node_modules/lodash/pullAll.js +0 -29
  1487. package/node_modules/lodash/pullAllBy.js +0 -33
  1488. package/node_modules/lodash/pullAllWith.js +0 -32
  1489. package/node_modules/lodash/pullAt.js +0 -43
  1490. package/node_modules/lodash/random.js +0 -82
  1491. package/node_modules/lodash/range.js +0 -46
  1492. package/node_modules/lodash/rangeRight.js +0 -41
  1493. package/node_modules/lodash/rearg.js +0 -33
  1494. package/node_modules/lodash/reduce.js +0 -51
  1495. package/node_modules/lodash/reduceRight.js +0 -36
  1496. package/node_modules/lodash/reject.js +0 -46
  1497. package/node_modules/lodash/remove.js +0 -53
  1498. package/node_modules/lodash/repeat.js +0 -37
  1499. package/node_modules/lodash/replace.js +0 -29
  1500. package/node_modules/lodash/rest.js +0 -40
  1501. package/node_modules/lodash/result.js +0 -56
  1502. package/node_modules/lodash/reverse.js +0 -34
  1503. package/node_modules/lodash/round.js +0 -26
  1504. package/node_modules/lodash/sample.js +0 -24
  1505. package/node_modules/lodash/sampleSize.js +0 -37
  1506. package/node_modules/lodash/seq.js +0 -16
  1507. package/node_modules/lodash/set.js +0 -35
  1508. package/node_modules/lodash/setWith.js +0 -32
  1509. package/node_modules/lodash/shuffle.js +0 -25
  1510. package/node_modules/lodash/size.js +0 -46
  1511. package/node_modules/lodash/slice.js +0 -37
  1512. package/node_modules/lodash/snakeCase.js +0 -28
  1513. package/node_modules/lodash/some.js +0 -51
  1514. package/node_modules/lodash/sortBy.js +0 -48
  1515. package/node_modules/lodash/sortedIndex.js +0 -24
  1516. package/node_modules/lodash/sortedIndexBy.js +0 -33
  1517. package/node_modules/lodash/sortedIndexOf.js +0 -31
  1518. package/node_modules/lodash/sortedLastIndex.js +0 -25
  1519. package/node_modules/lodash/sortedLastIndexBy.js +0 -33
  1520. package/node_modules/lodash/sortedLastIndexOf.js +0 -31
  1521. package/node_modules/lodash/sortedUniq.js +0 -24
  1522. package/node_modules/lodash/sortedUniqBy.js +0 -26
  1523. package/node_modules/lodash/split.js +0 -52
  1524. package/node_modules/lodash/spread.js +0 -63
  1525. package/node_modules/lodash/startCase.js +0 -29
  1526. package/node_modules/lodash/startsWith.js +0 -39
  1527. package/node_modules/lodash/string.js +0 -33
  1528. package/node_modules/lodash/stubArray.js +0 -23
  1529. package/node_modules/lodash/stubFalse.js +0 -18
  1530. package/node_modules/lodash/stubObject.js +0 -23
  1531. package/node_modules/lodash/stubString.js +0 -18
  1532. package/node_modules/lodash/stubTrue.js +0 -18
  1533. package/node_modules/lodash/subtract.js +0 -22
  1534. package/node_modules/lodash/sum.js +0 -24
  1535. package/node_modules/lodash/sumBy.js +0 -33
  1536. package/node_modules/lodash/tail.js +0 -22
  1537. package/node_modules/lodash/take.js +0 -37
  1538. package/node_modules/lodash/takeRight.js +0 -39
  1539. package/node_modules/lodash/takeRightWhile.js +0 -45
  1540. package/node_modules/lodash/takeWhile.js +0 -45
  1541. package/node_modules/lodash/tap.js +0 -29
  1542. package/node_modules/lodash/template.js +0 -272
  1543. package/node_modules/lodash/templateSettings.js +0 -67
  1544. package/node_modules/lodash/throttle.js +0 -69
  1545. package/node_modules/lodash/thru.js +0 -28
  1546. package/node_modules/lodash/times.js +0 -51
  1547. package/node_modules/lodash/toArray.js +0 -58
  1548. package/node_modules/lodash/toFinite.js +0 -42
  1549. package/node_modules/lodash/toInteger.js +0 -36
  1550. package/node_modules/lodash/toIterator.js +0 -23
  1551. package/node_modules/lodash/toJSON.js +0 -1
  1552. package/node_modules/lodash/toLength.js +0 -38
  1553. package/node_modules/lodash/toLower.js +0 -28
  1554. package/node_modules/lodash/toNumber.js +0 -64
  1555. package/node_modules/lodash/toPairs.js +0 -30
  1556. package/node_modules/lodash/toPairsIn.js +0 -30
  1557. package/node_modules/lodash/toPath.js +0 -33
  1558. package/node_modules/lodash/toPlainObject.js +0 -32
  1559. package/node_modules/lodash/toSafeInteger.js +0 -37
  1560. package/node_modules/lodash/toString.js +0 -28
  1561. package/node_modules/lodash/toUpper.js +0 -28
  1562. package/node_modules/lodash/transform.js +0 -65
  1563. package/node_modules/lodash/trim.js +0 -47
  1564. package/node_modules/lodash/trimEnd.js +0 -41
  1565. package/node_modules/lodash/trimStart.js +0 -43
  1566. package/node_modules/lodash/truncate.js +0 -111
  1567. package/node_modules/lodash/unary.js +0 -22
  1568. package/node_modules/lodash/unescape.js +0 -34
  1569. package/node_modules/lodash/union.js +0 -26
  1570. package/node_modules/lodash/unionBy.js +0 -39
  1571. package/node_modules/lodash/unionWith.js +0 -34
  1572. package/node_modules/lodash/uniq.js +0 -25
  1573. package/node_modules/lodash/uniqBy.js +0 -31
  1574. package/node_modules/lodash/uniqWith.js +0 -28
  1575. package/node_modules/lodash/uniqueId.js +0 -28
  1576. package/node_modules/lodash/unset.js +0 -34
  1577. package/node_modules/lodash/unzip.js +0 -45
  1578. package/node_modules/lodash/unzipWith.js +0 -39
  1579. package/node_modules/lodash/update.js +0 -35
  1580. package/node_modules/lodash/updateWith.js +0 -33
  1581. package/node_modules/lodash/upperCase.js +0 -27
  1582. package/node_modules/lodash/upperFirst.js +0 -22
  1583. package/node_modules/lodash/util.js +0 -34
  1584. package/node_modules/lodash/value.js +0 -1
  1585. package/node_modules/lodash/valueOf.js +0 -1
  1586. package/node_modules/lodash/values.js +0 -34
  1587. package/node_modules/lodash/valuesIn.js +0 -32
  1588. package/node_modules/lodash/without.js +0 -31
  1589. package/node_modules/lodash/words.js +0 -35
  1590. package/node_modules/lodash/wrap.js +0 -30
  1591. package/node_modules/lodash/wrapperAt.js +0 -48
  1592. package/node_modules/lodash/wrapperChain.js +0 -34
  1593. package/node_modules/lodash/wrapperLodash.js +0 -147
  1594. package/node_modules/lodash/wrapperReverse.js +0 -44
  1595. package/node_modules/lodash/wrapperValue.js +0 -21
  1596. package/node_modules/lodash/xor.js +0 -28
  1597. package/node_modules/lodash/xorBy.js +0 -39
  1598. package/node_modules/lodash/xorWith.js +0 -34
  1599. package/node_modules/lodash/zip.js +0 -22
  1600. package/node_modules/lodash/zipObject.js +0 -24
  1601. package/node_modules/lodash/zipObjectDeep.js +0 -23
  1602. package/node_modules/lodash/zipWith.js +0 -32
  1603. package/node_modules/q/LICENSE +0 -18
  1604. package/node_modules/q/README.md +0 -874
  1605. package/node_modules/q/package.json +0 -76
  1606. package/node_modules/q/q.js +0 -2076
  1607. package/node_modules/q/queue.js +0 -35
  1608. package/node_modules/standard-version/.eslintrc +0 -6
  1609. package/node_modules/standard-version/.github/ISSUE_TEMPLATE/ask-a-question.md +0 -10
  1610. package/node_modules/standard-version/.github/ISSUE_TEMPLATE/bug-report.md +0 -31
  1611. package/node_modules/standard-version/.github/workflows/ci.yaml +0 -33
  1612. package/node_modules/standard-version/.github/workflows/release-please.yml +0 -31
  1613. package/node_modules/standard-version/CHANGELOG.md +0 -524
  1614. package/node_modules/standard-version/README.md +0 -470
  1615. package/node_modules/standard-version/bin/cli.js +0 -13
  1616. package/node_modules/standard-version/command.js +0 -133
  1617. package/node_modules/standard-version/defaults.js +0 -43
  1618. package/node_modules/standard-version/index.js +0 -80
  1619. package/node_modules/standard-version/lib/checkpoint.js +0 -12
  1620. package/node_modules/standard-version/lib/configuration.js +0 -41
  1621. package/node_modules/standard-version/lib/format-commit-message.js +0 -4
  1622. package/node_modules/standard-version/lib/latest-semver-tag.js +0 -17
  1623. package/node_modules/standard-version/lib/lifecycles/bump.js +0 -172
  1624. package/node_modules/standard-version/lib/lifecycles/changelog.js +0 -66
  1625. package/node_modules/standard-version/lib/lifecycles/commit.js +0 -69
  1626. package/node_modules/standard-version/lib/lifecycles/tag.js +0 -39
  1627. package/node_modules/standard-version/lib/preset-loader.js +0 -17
  1628. package/node_modules/standard-version/lib/print-error.js +0 -12
  1629. package/node_modules/standard-version/lib/run-exec.js +0 -18
  1630. package/node_modules/standard-version/lib/run-execFile.js +0 -18
  1631. package/node_modules/standard-version/lib/run-lifecycle-script.js +0 -13
  1632. package/node_modules/standard-version/lib/updaters/index.js +0 -85
  1633. package/node_modules/standard-version/lib/updaters/types/json.js +0 -25
  1634. package/node_modules/standard-version/lib/updaters/types/plain-text.js +0 -7
  1635. package/node_modules/standard-version/lib/write-file.js +0 -6
  1636. package/node_modules/standard-version/node_modules/cliui/package.json +0 -83
  1637. package/node_modules/standard-version/node_modules/conventional-changelog/README.md +0 -66
  1638. package/node_modules/standard-version/node_modules/conventional-changelog/package.json +0 -53
  1639. package/node_modules/standard-version/node_modules/conventional-changelog-angular/README.md +0 -104
  1640. package/node_modules/standard-version/node_modules/conventional-changelog-angular/conventional-changelog.js +0 -10
  1641. package/node_modules/standard-version/node_modules/conventional-changelog-angular/index.js +0 -11
  1642. package/node_modules/standard-version/node_modules/conventional-changelog-angular/package.json +0 -39
  1643. package/node_modules/standard-version/node_modules/conventional-changelog-angular/writer-opts.js +0 -109
  1644. package/node_modules/standard-version/node_modules/conventional-changelog-atom/README.md +0 -41
  1645. package/node_modules/standard-version/node_modules/conventional-changelog-atom/conventional-changelog.js +0 -10
  1646. package/node_modules/standard-version/node_modules/conventional-changelog-atom/index.js +0 -15
  1647. package/node_modules/standard-version/node_modules/conventional-changelog-atom/package.json +0 -39
  1648. package/node_modules/standard-version/node_modules/conventional-changelog-atom/writer-opts.js +0 -46
  1649. package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/README.md +0 -13
  1650. package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/conventional-changelog.js +0 -10
  1651. package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/index.js +0 -15
  1652. package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/package.json +0 -39
  1653. package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/writer-opts.js +0 -39
  1654. package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/README.md +0 -50
  1655. package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/conventional-changelog.js +0 -12
  1656. package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/index.js +0 -38
  1657. package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/package.json +0 -41
  1658. package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +0 -13
  1659. package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/writer-opts.js +0 -214
  1660. package/node_modules/standard-version/node_modules/conventional-changelog-core/README.md +0 -255
  1661. package/node_modules/standard-version/node_modules/conventional-changelog-core/index.js +0 -144
  1662. package/node_modules/standard-version/node_modules/conventional-changelog-core/lib/merge-config.js +0 -345
  1663. package/node_modules/standard-version/node_modules/conventional-changelog-core/package.json +0 -50
  1664. package/node_modules/standard-version/node_modules/conventional-changelog-ember/README.md +0 -63
  1665. package/node_modules/standard-version/node_modules/conventional-changelog-ember/conventional-changelog.js +0 -10
  1666. package/node_modules/standard-version/node_modules/conventional-changelog-ember/index.js +0 -15
  1667. package/node_modules/standard-version/node_modules/conventional-changelog-ember/package.json +0 -39
  1668. package/node_modules/standard-version/node_modules/conventional-changelog-ember/writer-opts.js +0 -53
  1669. package/node_modules/standard-version/node_modules/conventional-changelog-eslint/README.md +0 -53
  1670. package/node_modules/standard-version/node_modules/conventional-changelog-eslint/conventional-changelog.js +0 -10
  1671. package/node_modules/standard-version/node_modules/conventional-changelog-eslint/index.js +0 -15
  1672. package/node_modules/standard-version/node_modules/conventional-changelog-eslint/package.json +0 -39
  1673. package/node_modules/standard-version/node_modules/conventional-changelog-eslint/writer-opts.js +0 -37
  1674. package/node_modules/standard-version/node_modules/conventional-changelog-express/README.md +0 -14
  1675. package/node_modules/standard-version/node_modules/conventional-changelog-express/conventional-changelog.js +0 -10
  1676. package/node_modules/standard-version/node_modules/conventional-changelog-express/index.js +0 -15
  1677. package/node_modules/standard-version/node_modules/conventional-changelog-express/package.json +0 -39
  1678. package/node_modules/standard-version/node_modules/conventional-changelog-express/writer-opts.js +0 -39
  1679. package/node_modules/standard-version/node_modules/conventional-changelog-jquery/README.md +0 -52
  1680. package/node_modules/standard-version/node_modules/conventional-changelog-jquery/conventional-changelog.js +0 -10
  1681. package/node_modules/standard-version/node_modules/conventional-changelog-jquery/index.js +0 -11
  1682. package/node_modules/standard-version/node_modules/conventional-changelog-jquery/package.json +0 -39
  1683. package/node_modules/standard-version/node_modules/conventional-changelog-jquery/writer-opts.js +0 -45
  1684. package/node_modules/standard-version/node_modules/conventional-changelog-jshint/README.md +0 -90
  1685. package/node_modules/standard-version/node_modules/conventional-changelog-jshint/conventional-changelog.js +0 -10
  1686. package/node_modules/standard-version/node_modules/conventional-changelog-jshint/index.js +0 -15
  1687. package/node_modules/standard-version/node_modules/conventional-changelog-jshint/package.json +0 -40
  1688. package/node_modules/standard-version/node_modules/conventional-changelog-jshint/writer-opts.js +0 -56
  1689. package/node_modules/standard-version/node_modules/conventional-changelog-preset-loader/README.md +0 -41
  1690. package/node_modules/standard-version/node_modules/conventional-changelog-preset-loader/package.json +0 -32
  1691. package/node_modules/standard-version/node_modules/conventional-changelog-writer/README.md +0 -369
  1692. package/node_modules/standard-version/node_modules/conventional-changelog-writer/cli.js +0 -120
  1693. package/node_modules/standard-version/node_modules/conventional-changelog-writer/index.js +0 -204
  1694. package/node_modules/standard-version/node_modules/conventional-changelog-writer/lib/util.js +0 -216
  1695. package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/LICENSE +0 -15
  1696. package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/README.md +0 -443
  1697. package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/bin/semver.js +0 -174
  1698. package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/package.json +0 -38
  1699. package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/range.bnf +0 -16
  1700. package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/semver.js +0 -1643
  1701. package/node_modules/standard-version/node_modules/conventional-changelog-writer/package.json +0 -59
  1702. package/node_modules/standard-version/node_modules/conventional-changelog-writer/templates/commit.hbs +0 -56
  1703. package/node_modules/standard-version/node_modules/conventional-commits-filter/README.md +0 -184
  1704. package/node_modules/standard-version/node_modules/conventional-commits-filter/package.json +0 -39
  1705. package/node_modules/standard-version/node_modules/conventional-commits-parser/README.md +0 -383
  1706. package/node_modules/standard-version/node_modules/conventional-commits-parser/cli.js +0 -165
  1707. package/node_modules/standard-version/node_modules/conventional-commits-parser/index.js +0 -101
  1708. package/node_modules/standard-version/node_modules/conventional-commits-parser/lib/parser.js +0 -316
  1709. package/node_modules/standard-version/node_modules/conventional-commits-parser/package.json +0 -52
  1710. package/node_modules/standard-version/node_modules/conventional-recommended-bump/index.js +0 -100
  1711. package/node_modules/standard-version/node_modules/conventional-recommended-bump/package.json +0 -50
  1712. package/node_modules/standard-version/node_modules/conventional-recommended-bump/preset-resolver.js +0 -22
  1713. package/node_modules/standard-version/node_modules/git-raw-commits/README.md +0 -101
  1714. package/node_modules/standard-version/node_modules/git-raw-commits/index.js +0 -91
  1715. package/node_modules/standard-version/node_modules/git-raw-commits/package.json +0 -48
  1716. package/node_modules/standard-version/node_modules/git-semver-tags/README.md +0 -54
  1717. package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/LICENSE +0 -15
  1718. package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/README.md +0 -443
  1719. package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/bin/semver.js +0 -174
  1720. package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/package.json +0 -38
  1721. package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/range.bnf +0 -16
  1722. package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/semver.js +0 -1643
  1723. package/node_modules/standard-version/node_modules/git-semver-tags/package.json +0 -45
  1724. package/node_modules/standard-version/node_modules/through2/LICENSE.md +0 -9
  1725. package/node_modules/standard-version/node_modules/through2/README.md +0 -140
  1726. package/node_modules/standard-version/node_modules/through2/package.json +0 -38
  1727. package/node_modules/standard-version/node_modules/through2/through2.js +0 -83
  1728. package/node_modules/standard-version/node_modules/yargs/README.md +0 -202
  1729. package/node_modules/standard-version/node_modules/yargs/browser.mjs +0 -7
  1730. package/node_modules/standard-version/node_modules/yargs/build/index.cjs +0 -2920
  1731. package/node_modules/standard-version/node_modules/yargs/build/lib/command.js +0 -382
  1732. package/node_modules/standard-version/node_modules/yargs/build/lib/completion-templates.js +0 -47
  1733. package/node_modules/standard-version/node_modules/yargs/build/lib/completion.js +0 -128
  1734. package/node_modules/standard-version/node_modules/yargs/build/lib/middleware.js +0 -53
  1735. package/node_modules/standard-version/node_modules/yargs/build/lib/usage.js +0 -548
  1736. package/node_modules/standard-version/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
  1737. package/node_modules/standard-version/node_modules/yargs/build/lib/validation.js +0 -308
  1738. package/node_modules/standard-version/node_modules/yargs/build/lib/yargs-factory.js +0 -1143
  1739. package/node_modules/standard-version/node_modules/yargs/build/lib/yerror.js +0 -7
  1740. package/node_modules/standard-version/node_modules/yargs/index.cjs +0 -39
  1741. package/node_modules/standard-version/node_modules/yargs/index.mjs +0 -8
  1742. package/node_modules/standard-version/node_modules/yargs/lib/platform-shims/browser.mjs +0 -92
  1743. package/node_modules/standard-version/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
  1744. package/node_modules/standard-version/node_modules/yargs/locales/en.json +0 -51
  1745. package/node_modules/standard-version/node_modules/yargs/locales/fi.json +0 -49
  1746. package/node_modules/standard-version/node_modules/yargs/locales/ko.json +0 -49
  1747. package/node_modules/standard-version/node_modules/yargs/locales/ru.json +0 -46
  1748. package/node_modules/standard-version/node_modules/yargs/locales/zh_TW.json +0 -47
  1749. package/node_modules/standard-version/node_modules/yargs/package.json +0 -122
  1750. package/node_modules/standard-version/package.json +0 -69
  1751. package/node_modules/standard-version/renovate.json +0 -9
  1752. package/node_modules/standard-version/test/config-files.spec.js +0 -174
  1753. package/node_modules/standard-version/test/core.spec.js +0 -829
  1754. package/node_modules/standard-version/test/git.spec.js +0 -375
  1755. package/node_modules/standard-version/test/mocks/updater/customer-updater.js +0 -12
  1756. package/node_modules/standard-version/test/preset.spec.js +0 -52
  1757. package/node_modules/stringify-package/LICENSE +0 -13
  1758. package/node_modules/stringify-package/README.md +0 -55
  1759. package/node_modules/stringify-package/index.js +0 -18
  1760. package/node_modules/stringify-package/package.json +0 -38
  1761. /package/node_modules/{standard-version/node_modules/cliui → cliui}/LICENSE.txt +0 -0
  1762. /package/node_modules/{standard-version/node_modules/cliui → cliui}/README.md +0 -0
  1763. /package/node_modules/{standard-version/node_modules/cliui → cliui}/build/index.cjs +0 -0
  1764. /package/node_modules/{standard-version/node_modules/cliui → cliui}/build/lib/index.js +0 -0
  1765. /package/node_modules/{standard-version/node_modules/cliui → cliui}/build/lib/string-utils.js +0 -0
  1766. /package/node_modules/{standard-version/node_modules/cliui → cliui}/index.mjs +0 -0
  1767. /package/node_modules/{standard-version → commit-and-tag-version}/.editorconfig +0 -0
  1768. /package/node_modules/{standard-version → commit-and-tag-version}/.versionrc +0 -0
  1769. /package/node_modules/{standard-version → commit-and-tag-version}/LICENSE.txt +0 -0
  1770. /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/VERSION-1.0.0.txt +0 -0
  1771. /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/VERSION-6.3.1.txt +0 -0
  1772. /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/manifest-6.3.1.json +0 -0
  1773. /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/mix.exs +0 -0
  1774. /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/version.txt +0 -0
  1775. /package/node_modules/{standard-version/node_modules/conventional-changelog → conventional-changelog}/LICENSE.md +0 -0
  1776. /package/node_modules/{standard-version/node_modules/conventional-changelog → conventional-changelog}/index.js +0 -0
  1777. /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/LICENSE.md +0 -0
  1778. /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/conventional-recommended-bump.js +0 -0
  1779. /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/parser-opts.js +0 -0
  1780. /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/templates/commit.hbs +0 -0
  1781. /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/templates/footer.hbs +0 -0
  1782. /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/templates/header.hbs +0 -0
  1783. /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/templates/template.hbs +0 -0
  1784. /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/LICENSE.md +0 -0
  1785. /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/conventional-recommended-bump.js +0 -0
  1786. /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/parser-opts.js +0 -0
  1787. /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/templates/commit.hbs +0 -0
  1788. /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/templates/header.hbs +0 -0
  1789. /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/templates/template.hbs +0 -0
  1790. /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/LICENSE.md +0 -0
  1791. /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/conventional-recommended-bump.js +0 -0
  1792. /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/parser-opts.js +0 -0
  1793. /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/templates/commit.hbs +0 -0
  1794. /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/templates/header.hbs +0 -0
  1795. /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/templates/template.hbs +0 -0
  1796. /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/LICENSE.md +0 -0
  1797. /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/add-bang-notes.js +0 -0
  1798. /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/conventional-recommended-bump.js +0 -0
  1799. /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/parser-opts.js +0 -0
  1800. /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/templates/commit.hbs +0 -0
  1801. /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/templates/footer.hbs +0 -0
  1802. /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/templates/template.hbs +0 -0
  1803. /package/node_modules/{standard-version/node_modules/conventional-changelog-core → conventional-changelog-core}/LICENSE.md +0 -0
  1804. /package/node_modules/{standard-version/node_modules/conventional-changelog-core → conventional-changelog-core}/hosts/bitbucket.json +0 -0
  1805. /package/node_modules/{standard-version/node_modules/conventional-changelog-core → conventional-changelog-core}/hosts/github.json +0 -0
  1806. /package/node_modules/{standard-version/node_modules/conventional-changelog-core → conventional-changelog-core}/hosts/gitlab.json +0 -0
  1807. /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/LICENSE.md +0 -0
  1808. /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/conventional-recommended-bump.js +0 -0
  1809. /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/parser-opts.js +0 -0
  1810. /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/templates/commit.hbs +0 -0
  1811. /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/templates/header.hbs +0 -0
  1812. /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/templates/template.hbs +0 -0
  1813. /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/LICENSE.md +0 -0
  1814. /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/conventional-recommended-bump.js +0 -0
  1815. /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/parser-opts.js +0 -0
  1816. /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/templates/commit.hbs +0 -0
  1817. /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/templates/header.hbs +0 -0
  1818. /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/templates/template.hbs +0 -0
  1819. /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/LICENSE.md +0 -0
  1820. /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/conventional-recommended-bump.js +0 -0
  1821. /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/parser-opts.js +0 -0
  1822. /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/templates/commit.hbs +0 -0
  1823. /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/templates/header.hbs +0 -0
  1824. /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/templates/template.hbs +0 -0
  1825. /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/LICENSE.md +0 -0
  1826. /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/conventional-recommended-bump.js +0 -0
  1827. /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/parser-opts.js +0 -0
  1828. /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/templates/commit.hbs +0 -0
  1829. /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/templates/header.hbs +0 -0
  1830. /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/templates/template.hbs +0 -0
  1831. /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/LICENSE.md +0 -0
  1832. /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/conventional-recommended-bump.js +0 -0
  1833. /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/parser-opts.js +0 -0
  1834. /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/templates/commit.hbs +0 -0
  1835. /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/templates/footer.hbs +0 -0
  1836. /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/templates/header.hbs +0 -0
  1837. /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/templates/template.hbs +0 -0
  1838. /package/node_modules/{standard-version/node_modules/conventional-changelog-preset-loader → conventional-changelog-preset-loader}/LICENSE.md +0 -0
  1839. /package/node_modules/{standard-version/node_modules/conventional-changelog-preset-loader → conventional-changelog-preset-loader}/index.js +0 -0
  1840. /package/node_modules/{standard-version/node_modules/conventional-changelog-writer → conventional-changelog-writer}/LICENSE.md +0 -0
  1841. /package/node_modules/{standard-version/node_modules/conventional-changelog-writer → conventional-changelog-writer}/templates/footer.hbs +0 -0
  1842. /package/node_modules/{standard-version/node_modules/conventional-changelog-writer → conventional-changelog-writer}/templates/header.hbs +0 -0
  1843. /package/node_modules/{standard-version/node_modules/conventional-changelog-writer → conventional-changelog-writer}/templates/template.hbs +0 -0
  1844. /package/node_modules/{standard-version/node_modules/conventional-commits-filter → conventional-commits-filter}/LICENSE +0 -0
  1845. /package/node_modules/{standard-version/node_modules/conventional-commits-filter → conventional-commits-filter}/index.js +0 -0
  1846. /package/node_modules/{standard-version/node_modules/conventional-commits-parser → conventional-commits-parser}/LICENSE.md +0 -0
  1847. /package/node_modules/{standard-version/node_modules/conventional-commits-parser → conventional-commits-parser}/lib/regex.js +0 -0
  1848. /package/node_modules/{standard-version/node_modules/conventional-recommended-bump → conventional-recommended-bump}/LICENSE.md +0 -0
  1849. /package/node_modules/{standard-version/node_modules/conventional-recommended-bump → conventional-recommended-bump}/README.md +0 -0
  1850. /package/node_modules/{standard-version/node_modules/conventional-recommended-bump → conventional-recommended-bump}/cli.js +0 -0
  1851. /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/.github/FUNDING.yml +0 -0
  1852. /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/LICENSE.md +0 -0
  1853. /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/README.md +0 -0
  1854. /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/index.js +0 -0
  1855. /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/package.json +0 -0
  1856. /package/node_modules/{standard-version/node_modules/git-raw-commits → git-raw-commits}/LICENSE.md +0 -0
  1857. /package/node_modules/{standard-version/node_modules/git-raw-commits → git-raw-commits}/cli.js +0 -0
  1858. /package/node_modules/{standard-version/node_modules/git-semver-tags → git-semver-tags}/LICENSE.md +0 -0
  1859. /package/node_modules/{standard-version/node_modules/git-semver-tags → git-semver-tags}/cli.js +0 -0
  1860. /package/node_modules/{standard-version/node_modules/git-semver-tags → git-semver-tags}/index.js +0 -0
  1861. /package/node_modules/{standard-version/node_modules/yargs → yargs}/LICENSE +0 -0
  1862. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/argsert.js +0 -0
  1863. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/parse-command.js +0 -0
  1864. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/typings/common-types.js +0 -0
  1865. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/typings/yargs-parser-types.js +0 -0
  1866. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/apply-extends.js +0 -0
  1867. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/is-promise.js +0 -0
  1868. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/obj-filter.js +0 -0
  1869. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/process-argv.js +0 -0
  1870. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/set-blocking.js +0 -0
  1871. /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/which-module.js +0 -0
  1872. /package/node_modules/{standard-version/node_modules/yargs → yargs}/helpers/helpers.mjs +0 -0
  1873. /package/node_modules/{standard-version/node_modules/yargs → yargs}/helpers/index.js +0 -0
  1874. /package/node_modules/{standard-version/node_modules/yargs → yargs}/helpers/package.json +0 -0
  1875. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/be.json +0 -0
  1876. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/de.json +0 -0
  1877. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/es.json +0 -0
  1878. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/fr.json +0 -0
  1879. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/hi.json +0 -0
  1880. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/hu.json +0 -0
  1881. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/id.json +0 -0
  1882. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/it.json +0 -0
  1883. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/ja.json +0 -0
  1884. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/nb.json +0 -0
  1885. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/nl.json +0 -0
  1886. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/nn.json +0 -0
  1887. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/pirate.json +0 -0
  1888. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/pl.json +0 -0
  1889. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/pt.json +0 -0
  1890. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/pt_BR.json +0 -0
  1891. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/th.json +0 -0
  1892. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/tr.json +0 -0
  1893. /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/zh_CN.json +0 -0
  1894. /package/node_modules/{standard-version/node_modules/yargs → yargs}/yargs +0 -0
@@ -1,2920 +0,0 @@
1
- 'use strict';
2
-
3
- var assert = require('assert');
4
-
5
- class YError extends Error {
6
- constructor(msg) {
7
- super(msg || 'yargs error');
8
- this.name = 'YError';
9
- Error.captureStackTrace(this, YError);
10
- }
11
- }
12
-
13
- let previouslyVisitedConfigs = [];
14
- let shim;
15
- function applyExtends(config, cwd, mergeExtends, _shim) {
16
- shim = _shim;
17
- let defaultConfig = {};
18
- if (Object.prototype.hasOwnProperty.call(config, 'extends')) {
19
- if (typeof config.extends !== 'string')
20
- return defaultConfig;
21
- const isPath = /\.json|\..*rc$/.test(config.extends);
22
- let pathToDefault = null;
23
- if (!isPath) {
24
- try {
25
- pathToDefault = require.resolve(config.extends);
26
- }
27
- catch (_err) {
28
- return config;
29
- }
30
- }
31
- else {
32
- pathToDefault = getPathToDefaultConfig(cwd, config.extends);
33
- }
34
- checkForCircularExtends(pathToDefault);
35
- previouslyVisitedConfigs.push(pathToDefault);
36
- defaultConfig = isPath
37
- ? JSON.parse(shim.readFileSync(pathToDefault, 'utf8'))
38
- : require(config.extends);
39
- delete config.extends;
40
- defaultConfig = applyExtends(defaultConfig, shim.path.dirname(pathToDefault), mergeExtends, shim);
41
- }
42
- previouslyVisitedConfigs = [];
43
- return mergeExtends
44
- ? mergeDeep(defaultConfig, config)
45
- : Object.assign({}, defaultConfig, config);
46
- }
47
- function checkForCircularExtends(cfgPath) {
48
- if (previouslyVisitedConfigs.indexOf(cfgPath) > -1) {
49
- throw new YError(`Circular extended configurations: '${cfgPath}'.`);
50
- }
51
- }
52
- function getPathToDefaultConfig(cwd, pathToExtend) {
53
- return shim.path.resolve(cwd, pathToExtend);
54
- }
55
- function mergeDeep(config1, config2) {
56
- const target = {};
57
- function isObject(obj) {
58
- return obj && typeof obj === 'object' && !Array.isArray(obj);
59
- }
60
- Object.assign(target, config1);
61
- for (const key of Object.keys(config2)) {
62
- if (isObject(config2[key]) && isObject(target[key])) {
63
- target[key] = mergeDeep(config1[key], config2[key]);
64
- }
65
- else {
66
- target[key] = config2[key];
67
- }
68
- }
69
- return target;
70
- }
71
-
72
- function parseCommand(cmd) {
73
- const extraSpacesStrippedCommand = cmd.replace(/\s{2,}/g, ' ');
74
- const splitCommand = extraSpacesStrippedCommand.split(/\s+(?![^[]*]|[^<]*>)/);
75
- const bregex = /\.*[\][<>]/g;
76
- const firstCommand = splitCommand.shift();
77
- if (!firstCommand)
78
- throw new Error(`No command found in: ${cmd}`);
79
- const parsedCommand = {
80
- cmd: firstCommand.replace(bregex, ''),
81
- demanded: [],
82
- optional: [],
83
- };
84
- splitCommand.forEach((cmd, i) => {
85
- let variadic = false;
86
- cmd = cmd.replace(/\s/g, '');
87
- if (/\.+[\]>]/.test(cmd) && i === splitCommand.length - 1)
88
- variadic = true;
89
- if (/^\[/.test(cmd)) {
90
- parsedCommand.optional.push({
91
- cmd: cmd.replace(bregex, '').split('|'),
92
- variadic,
93
- });
94
- }
95
- else {
96
- parsedCommand.demanded.push({
97
- cmd: cmd.replace(bregex, '').split('|'),
98
- variadic,
99
- });
100
- }
101
- });
102
- return parsedCommand;
103
- }
104
-
105
- const positionName = ['first', 'second', 'third', 'fourth', 'fifth', 'sixth'];
106
- function argsert(arg1, arg2, arg3) {
107
- function parseArgs() {
108
- return typeof arg1 === 'object'
109
- ? [{ demanded: [], optional: [] }, arg1, arg2]
110
- : [
111
- parseCommand(`cmd ${arg1}`),
112
- arg2,
113
- arg3,
114
- ];
115
- }
116
- try {
117
- let position = 0;
118
- const [parsed, callerArguments, _length] = parseArgs();
119
- const args = [].slice.call(callerArguments);
120
- while (args.length && args[args.length - 1] === undefined)
121
- args.pop();
122
- const length = _length || args.length;
123
- if (length < parsed.demanded.length) {
124
- throw new YError(`Not enough arguments provided. Expected ${parsed.demanded.length} but received ${args.length}.`);
125
- }
126
- const totalCommands = parsed.demanded.length + parsed.optional.length;
127
- if (length > totalCommands) {
128
- throw new YError(`Too many arguments provided. Expected max ${totalCommands} but received ${length}.`);
129
- }
130
- parsed.demanded.forEach(demanded => {
131
- const arg = args.shift();
132
- const observedType = guessType(arg);
133
- const matchingTypes = demanded.cmd.filter(type => type === observedType || type === '*');
134
- if (matchingTypes.length === 0)
135
- argumentTypeError(observedType, demanded.cmd, position);
136
- position += 1;
137
- });
138
- parsed.optional.forEach(optional => {
139
- if (args.length === 0)
140
- return;
141
- const arg = args.shift();
142
- const observedType = guessType(arg);
143
- const matchingTypes = optional.cmd.filter(type => type === observedType || type === '*');
144
- if (matchingTypes.length === 0)
145
- argumentTypeError(observedType, optional.cmd, position);
146
- position += 1;
147
- });
148
- }
149
- catch (err) {
150
- console.warn(err.stack);
151
- }
152
- }
153
- function guessType(arg) {
154
- if (Array.isArray(arg)) {
155
- return 'array';
156
- }
157
- else if (arg === null) {
158
- return 'null';
159
- }
160
- return typeof arg;
161
- }
162
- function argumentTypeError(observedType, allowedTypes, position) {
163
- throw new YError(`Invalid ${positionName[position] || 'manyith'} argument. Expected ${allowedTypes.join(' or ')} but received ${observedType}.`);
164
- }
165
-
166
- function isPromise(maybePromise) {
167
- return (!!maybePromise &&
168
- !!maybePromise.then &&
169
- typeof maybePromise.then === 'function');
170
- }
171
-
172
- function assertNotStrictEqual(actual, expected, shim, message) {
173
- shim.assert.notStrictEqual(actual, expected, message);
174
- }
175
- function assertSingleKey(actual, shim) {
176
- shim.assert.strictEqual(typeof actual, 'string');
177
- }
178
- function objectKeys(object) {
179
- return Object.keys(object);
180
- }
181
-
182
- function objFilter(original = {}, filter = () => true) {
183
- const obj = {};
184
- objectKeys(original).forEach(key => {
185
- if (filter(key, original[key])) {
186
- obj[key] = original[key];
187
- }
188
- });
189
- return obj;
190
- }
191
-
192
- function globalMiddlewareFactory(globalMiddleware, context) {
193
- return function (callback, applyBeforeValidation = false) {
194
- argsert('<array|function> [boolean]', [callback, applyBeforeValidation], arguments.length);
195
- if (Array.isArray(callback)) {
196
- for (let i = 0; i < callback.length; i++) {
197
- if (typeof callback[i] !== 'function') {
198
- throw Error('middleware must be a function');
199
- }
200
- callback[i].applyBeforeValidation = applyBeforeValidation;
201
- }
202
- Array.prototype.push.apply(globalMiddleware, callback);
203
- }
204
- else if (typeof callback === 'function') {
205
- callback.applyBeforeValidation = applyBeforeValidation;
206
- globalMiddleware.push(callback);
207
- }
208
- return context;
209
- };
210
- }
211
- function commandMiddlewareFactory(commandMiddleware) {
212
- if (!commandMiddleware)
213
- return [];
214
- return commandMiddleware.map(middleware => {
215
- middleware.applyBeforeValidation = false;
216
- return middleware;
217
- });
218
- }
219
- function applyMiddleware(argv, yargs, middlewares, beforeValidation) {
220
- const beforeValidationError = new Error('middleware cannot return a promise when applyBeforeValidation is true');
221
- return middlewares.reduce((acc, middleware) => {
222
- if (middleware.applyBeforeValidation !== beforeValidation) {
223
- return acc;
224
- }
225
- if (isPromise(acc)) {
226
- return acc
227
- .then(initialObj => Promise.all([
228
- initialObj,
229
- middleware(initialObj, yargs),
230
- ]))
231
- .then(([initialObj, middlewareObj]) => Object.assign(initialObj, middlewareObj));
232
- }
233
- else {
234
- const result = middleware(acc, yargs);
235
- if (beforeValidation && isPromise(result))
236
- throw beforeValidationError;
237
- return isPromise(result)
238
- ? result.then(middlewareObj => Object.assign(acc, middlewareObj))
239
- : Object.assign(acc, result);
240
- }
241
- }, argv);
242
- }
243
-
244
- function getProcessArgvBinIndex() {
245
- if (isBundledElectronApp())
246
- return 0;
247
- return 1;
248
- }
249
- function isBundledElectronApp() {
250
- return isElectronApp() && !process.defaultApp;
251
- }
252
- function isElectronApp() {
253
- return !!process.versions.electron;
254
- }
255
- function hideBin(argv) {
256
- return argv.slice(getProcessArgvBinIndex() + 1);
257
- }
258
- function getProcessArgvBin() {
259
- return process.argv[getProcessArgvBinIndex()];
260
- }
261
-
262
- var processArgv = /*#__PURE__*/Object.freeze({
263
- __proto__: null,
264
- hideBin: hideBin,
265
- getProcessArgvBin: getProcessArgvBin
266
- });
267
-
268
- function whichModule(exported) {
269
- if (typeof require === 'undefined')
270
- return null;
271
- for (let i = 0, files = Object.keys(require.cache), mod; i < files.length; i++) {
272
- mod = require.cache[files[i]];
273
- if (mod.exports === exported)
274
- return mod;
275
- }
276
- return null;
277
- }
278
-
279
- const DEFAULT_MARKER = /(^\*)|(^\$0)/;
280
- function command(yargs, usage, validation, globalMiddleware = [], shim) {
281
- const self = {};
282
- let handlers = {};
283
- let aliasMap = {};
284
- let defaultCommand;
285
- self.addHandler = function addHandler(cmd, description, builder, handler, commandMiddleware, deprecated) {
286
- let aliases = [];
287
- const middlewares = commandMiddlewareFactory(commandMiddleware);
288
- handler = handler || (() => { });
289
- if (Array.isArray(cmd)) {
290
- if (isCommandAndAliases(cmd)) {
291
- [cmd, ...aliases] = cmd;
292
- }
293
- else {
294
- for (const command of cmd) {
295
- self.addHandler(command);
296
- }
297
- }
298
- }
299
- else if (isCommandHandlerDefinition(cmd)) {
300
- let command = Array.isArray(cmd.command) || typeof cmd.command === 'string'
301
- ? cmd.command
302
- : moduleName(cmd);
303
- if (cmd.aliases)
304
- command = [].concat(command).concat(cmd.aliases);
305
- self.addHandler(command, extractDesc(cmd), cmd.builder, cmd.handler, cmd.middlewares, cmd.deprecated);
306
- return;
307
- }
308
- else if (isCommandBuilderDefinition(builder)) {
309
- self.addHandler([cmd].concat(aliases), description, builder.builder, builder.handler, builder.middlewares, builder.deprecated);
310
- return;
311
- }
312
- if (typeof cmd === 'string') {
313
- const parsedCommand = parseCommand(cmd);
314
- aliases = aliases.map(alias => parseCommand(alias).cmd);
315
- let isDefault = false;
316
- const parsedAliases = [parsedCommand.cmd].concat(aliases).filter(c => {
317
- if (DEFAULT_MARKER.test(c)) {
318
- isDefault = true;
319
- return false;
320
- }
321
- return true;
322
- });
323
- if (parsedAliases.length === 0 && isDefault)
324
- parsedAliases.push('$0');
325
- if (isDefault) {
326
- parsedCommand.cmd = parsedAliases[0];
327
- aliases = parsedAliases.slice(1);
328
- cmd = cmd.replace(DEFAULT_MARKER, parsedCommand.cmd);
329
- }
330
- aliases.forEach(alias => {
331
- aliasMap[alias] = parsedCommand.cmd;
332
- });
333
- if (description !== false) {
334
- usage.command(cmd, description, isDefault, aliases, deprecated);
335
- }
336
- handlers[parsedCommand.cmd] = {
337
- original: cmd,
338
- description,
339
- handler,
340
- builder: builder || {},
341
- middlewares,
342
- deprecated,
343
- demanded: parsedCommand.demanded,
344
- optional: parsedCommand.optional,
345
- };
346
- if (isDefault)
347
- defaultCommand = handlers[parsedCommand.cmd];
348
- }
349
- };
350
- self.addDirectory = function addDirectory(dir, context, req, callerFile, opts) {
351
- opts = opts || {};
352
- if (typeof opts.recurse !== 'boolean')
353
- opts.recurse = false;
354
- if (!Array.isArray(opts.extensions))
355
- opts.extensions = ['js'];
356
- const parentVisit = typeof opts.visit === 'function' ? opts.visit : (o) => o;
357
- opts.visit = function visit(obj, joined, filename) {
358
- const visited = parentVisit(obj, joined, filename);
359
- if (visited) {
360
- if (~context.files.indexOf(joined))
361
- return visited;
362
- context.files.push(joined);
363
- self.addHandler(visited);
364
- }
365
- return visited;
366
- };
367
- shim.requireDirectory({ require: req, filename: callerFile }, dir, opts);
368
- };
369
- function moduleName(obj) {
370
- const mod = whichModule(obj);
371
- if (!mod)
372
- throw new Error(`No command name given for module: ${shim.inspect(obj)}`);
373
- return commandFromFilename(mod.filename);
374
- }
375
- function commandFromFilename(filename) {
376
- return shim.path.basename(filename, shim.path.extname(filename));
377
- }
378
- function extractDesc({ describe, description, desc, }) {
379
- for (const test of [describe, description, desc]) {
380
- if (typeof test === 'string' || test === false)
381
- return test;
382
- assertNotStrictEqual(test, true, shim);
383
- }
384
- return false;
385
- }
386
- self.getCommands = () => Object.keys(handlers).concat(Object.keys(aliasMap));
387
- self.getCommandHandlers = () => handlers;
388
- self.hasDefaultCommand = () => !!defaultCommand;
389
- self.runCommand = function runCommand(command, yargs, parsed, commandIndex) {
390
- let aliases = parsed.aliases;
391
- const commandHandler = handlers[command] || handlers[aliasMap[command]] || defaultCommand;
392
- const currentContext = yargs.getContext();
393
- let numFiles = currentContext.files.length;
394
- const parentCommands = currentContext.commands.slice();
395
- let innerArgv = parsed.argv;
396
- let positionalMap = {};
397
- if (command) {
398
- currentContext.commands.push(command);
399
- currentContext.fullCommands.push(commandHandler.original);
400
- }
401
- const builder = commandHandler.builder;
402
- if (isCommandBuilderCallback(builder)) {
403
- const builderOutput = builder(yargs.reset(parsed.aliases));
404
- const innerYargs = isYargsInstance(builderOutput) ? builderOutput : yargs;
405
- if (shouldUpdateUsage(innerYargs)) {
406
- innerYargs
407
- .getUsageInstance()
408
- .usage(usageFromParentCommandsCommandHandler(parentCommands, commandHandler), commandHandler.description);
409
- }
410
- innerArgv = innerYargs._parseArgs(null, null, true, commandIndex);
411
- aliases = innerYargs.parsed.aliases;
412
- }
413
- else if (isCommandBuilderOptionDefinitions(builder)) {
414
- const innerYargs = yargs.reset(parsed.aliases);
415
- if (shouldUpdateUsage(innerYargs)) {
416
- innerYargs
417
- .getUsageInstance()
418
- .usage(usageFromParentCommandsCommandHandler(parentCommands, commandHandler), commandHandler.description);
419
- }
420
- Object.keys(commandHandler.builder).forEach(key => {
421
- innerYargs.option(key, builder[key]);
422
- });
423
- innerArgv = innerYargs._parseArgs(null, null, true, commandIndex);
424
- aliases = innerYargs.parsed.aliases;
425
- }
426
- if (!yargs._hasOutput()) {
427
- positionalMap = populatePositionals(commandHandler, innerArgv, currentContext);
428
- }
429
- const middlewares = globalMiddleware
430
- .slice(0)
431
- .concat(commandHandler.middlewares);
432
- applyMiddleware(innerArgv, yargs, middlewares, true);
433
- if (!yargs._hasOutput()) {
434
- yargs._runValidation(innerArgv, aliases, positionalMap, yargs.parsed.error, !command);
435
- }
436
- if (commandHandler.handler && !yargs._hasOutput()) {
437
- yargs._setHasOutput();
438
- const populateDoubleDash = !!yargs.getOptions().configuration['populate--'];
439
- yargs._postProcess(innerArgv, populateDoubleDash);
440
- innerArgv = applyMiddleware(innerArgv, yargs, middlewares, false);
441
- let handlerResult;
442
- if (isPromise(innerArgv)) {
443
- handlerResult = innerArgv.then(argv => commandHandler.handler(argv));
444
- }
445
- else {
446
- handlerResult = commandHandler.handler(innerArgv);
447
- }
448
- const handlerFinishCommand = yargs.getHandlerFinishCommand();
449
- if (isPromise(handlerResult)) {
450
- yargs.getUsageInstance().cacheHelpMessage();
451
- handlerResult
452
- .then(value => {
453
- if (handlerFinishCommand) {
454
- handlerFinishCommand(value);
455
- }
456
- })
457
- .catch(error => {
458
- try {
459
- yargs.getUsageInstance().fail(null, error);
460
- }
461
- catch (err) {
462
- }
463
- })
464
- .then(() => {
465
- yargs.getUsageInstance().clearCachedHelpMessage();
466
- });
467
- }
468
- else {
469
- if (handlerFinishCommand) {
470
- handlerFinishCommand(handlerResult);
471
- }
472
- }
473
- }
474
- if (command) {
475
- currentContext.commands.pop();
476
- currentContext.fullCommands.pop();
477
- }
478
- numFiles = currentContext.files.length - numFiles;
479
- if (numFiles > 0)
480
- currentContext.files.splice(numFiles * -1, numFiles);
481
- return innerArgv;
482
- };
483
- function shouldUpdateUsage(yargs) {
484
- return (!yargs.getUsageInstance().getUsageDisabled() &&
485
- yargs.getUsageInstance().getUsage().length === 0);
486
- }
487
- function usageFromParentCommandsCommandHandler(parentCommands, commandHandler) {
488
- const c = DEFAULT_MARKER.test(commandHandler.original)
489
- ? commandHandler.original.replace(DEFAULT_MARKER, '').trim()
490
- : commandHandler.original;
491
- const pc = parentCommands.filter(c => {
492
- return !DEFAULT_MARKER.test(c);
493
- });
494
- pc.push(c);
495
- return `$0 ${pc.join(' ')}`;
496
- }
497
- self.runDefaultBuilderOn = function (yargs) {
498
- assertNotStrictEqual(defaultCommand, undefined, shim);
499
- if (shouldUpdateUsage(yargs)) {
500
- const commandString = DEFAULT_MARKER.test(defaultCommand.original)
501
- ? defaultCommand.original
502
- : defaultCommand.original.replace(/^[^[\]<>]*/, '$0 ');
503
- yargs.getUsageInstance().usage(commandString, defaultCommand.description);
504
- }
505
- const builder = defaultCommand.builder;
506
- if (isCommandBuilderCallback(builder)) {
507
- builder(yargs);
508
- }
509
- else if (!isCommandBuilderDefinition(builder)) {
510
- Object.keys(builder).forEach(key => {
511
- yargs.option(key, builder[key]);
512
- });
513
- }
514
- };
515
- function populatePositionals(commandHandler, argv, context) {
516
- argv._ = argv._.slice(context.commands.length);
517
- const demanded = commandHandler.demanded.slice(0);
518
- const optional = commandHandler.optional.slice(0);
519
- const positionalMap = {};
520
- validation.positionalCount(demanded.length, argv._.length);
521
- while (demanded.length) {
522
- const demand = demanded.shift();
523
- populatePositional(demand, argv, positionalMap);
524
- }
525
- while (optional.length) {
526
- const maybe = optional.shift();
527
- populatePositional(maybe, argv, positionalMap);
528
- }
529
- argv._ = context.commands.concat(argv._.map(a => '' + a));
530
- postProcessPositionals(argv, positionalMap, self.cmdToParseOptions(commandHandler.original));
531
- return positionalMap;
532
- }
533
- function populatePositional(positional, argv, positionalMap) {
534
- const cmd = positional.cmd[0];
535
- if (positional.variadic) {
536
- positionalMap[cmd] = argv._.splice(0).map(String);
537
- }
538
- else {
539
- if (argv._.length)
540
- positionalMap[cmd] = [String(argv._.shift())];
541
- }
542
- }
543
- function postProcessPositionals(argv, positionalMap, parseOptions) {
544
- const options = Object.assign({}, yargs.getOptions());
545
- options.default = Object.assign(parseOptions.default, options.default);
546
- for (const key of Object.keys(parseOptions.alias)) {
547
- options.alias[key] = (options.alias[key] || []).concat(parseOptions.alias[key]);
548
- }
549
- options.array = options.array.concat(parseOptions.array);
550
- options.config = {};
551
- const unparsed = [];
552
- Object.keys(positionalMap).forEach(key => {
553
- positionalMap[key].map(value => {
554
- if (options.configuration['unknown-options-as-args'])
555
- options.key[key] = true;
556
- unparsed.push(`--${key}`);
557
- unparsed.push(value);
558
- });
559
- });
560
- if (!unparsed.length)
561
- return;
562
- const config = Object.assign({}, options.configuration, {
563
- 'populate--': true,
564
- });
565
- const parsed = shim.Parser.detailed(unparsed, Object.assign({}, options, {
566
- configuration: config,
567
- }));
568
- if (parsed.error) {
569
- yargs.getUsageInstance().fail(parsed.error.message, parsed.error);
570
- }
571
- else {
572
- const positionalKeys = Object.keys(positionalMap);
573
- Object.keys(positionalMap).forEach(key => {
574
- positionalKeys.push(...parsed.aliases[key]);
575
- });
576
- Object.keys(parsed.argv).forEach(key => {
577
- if (positionalKeys.indexOf(key) !== -1) {
578
- if (!positionalMap[key])
579
- positionalMap[key] = parsed.argv[key];
580
- argv[key] = parsed.argv[key];
581
- }
582
- });
583
- }
584
- }
585
- self.cmdToParseOptions = function (cmdString) {
586
- const parseOptions = {
587
- array: [],
588
- default: {},
589
- alias: {},
590
- demand: {},
591
- };
592
- const parsed = parseCommand(cmdString);
593
- parsed.demanded.forEach(d => {
594
- const [cmd, ...aliases] = d.cmd;
595
- if (d.variadic) {
596
- parseOptions.array.push(cmd);
597
- parseOptions.default[cmd] = [];
598
- }
599
- parseOptions.alias[cmd] = aliases;
600
- parseOptions.demand[cmd] = true;
601
- });
602
- parsed.optional.forEach(o => {
603
- const [cmd, ...aliases] = o.cmd;
604
- if (o.variadic) {
605
- parseOptions.array.push(cmd);
606
- parseOptions.default[cmd] = [];
607
- }
608
- parseOptions.alias[cmd] = aliases;
609
- });
610
- return parseOptions;
611
- };
612
- self.reset = () => {
613
- handlers = {};
614
- aliasMap = {};
615
- defaultCommand = undefined;
616
- return self;
617
- };
618
- const frozens = [];
619
- self.freeze = () => {
620
- frozens.push({
621
- handlers,
622
- aliasMap,
623
- defaultCommand,
624
- });
625
- };
626
- self.unfreeze = () => {
627
- const frozen = frozens.pop();
628
- assertNotStrictEqual(frozen, undefined, shim);
629
- ({ handlers, aliasMap, defaultCommand } = frozen);
630
- };
631
- return self;
632
- }
633
- function isCommandBuilderDefinition(builder) {
634
- return (typeof builder === 'object' &&
635
- !!builder.builder &&
636
- typeof builder.handler === 'function');
637
- }
638
- function isCommandAndAliases(cmd) {
639
- if (cmd.every(c => typeof c === 'string')) {
640
- return true;
641
- }
642
- else {
643
- return false;
644
- }
645
- }
646
- function isCommandBuilderCallback(builder) {
647
- return typeof builder === 'function';
648
- }
649
- function isCommandBuilderOptionDefinitions(builder) {
650
- return typeof builder === 'object';
651
- }
652
- function isCommandHandlerDefinition(cmd) {
653
- return typeof cmd === 'object' && !Array.isArray(cmd);
654
- }
655
-
656
- function setBlocking(blocking) {
657
- if (typeof process === 'undefined')
658
- return;
659
- [process.stdout, process.stderr].forEach(_stream => {
660
- const stream = _stream;
661
- if (stream._handle &&
662
- stream.isTTY &&
663
- typeof stream._handle.setBlocking === 'function') {
664
- stream._handle.setBlocking(blocking);
665
- }
666
- });
667
- }
668
-
669
- function usage(yargs, y18n, shim) {
670
- const __ = y18n.__;
671
- const self = {};
672
- const fails = [];
673
- self.failFn = function failFn(f) {
674
- fails.push(f);
675
- };
676
- let failMessage = null;
677
- let showHelpOnFail = true;
678
- self.showHelpOnFail = function showHelpOnFailFn(arg1 = true, arg2) {
679
- function parseFunctionArgs() {
680
- return typeof arg1 === 'string' ? [true, arg1] : [arg1, arg2];
681
- }
682
- const [enabled, message] = parseFunctionArgs();
683
- failMessage = message;
684
- showHelpOnFail = enabled;
685
- return self;
686
- };
687
- let failureOutput = false;
688
- self.fail = function fail(msg, err) {
689
- const logger = yargs._getLoggerInstance();
690
- if (fails.length) {
691
- for (let i = fails.length - 1; i >= 0; --i) {
692
- fails[i](msg, err, self);
693
- }
694
- }
695
- else {
696
- if (yargs.getExitProcess())
697
- setBlocking(true);
698
- if (!failureOutput) {
699
- failureOutput = true;
700
- if (showHelpOnFail) {
701
- yargs.showHelp('error');
702
- logger.error();
703
- }
704
- if (msg || err)
705
- logger.error(msg || err);
706
- if (failMessage) {
707
- if (msg || err)
708
- logger.error('');
709
- logger.error(failMessage);
710
- }
711
- }
712
- err = err || new YError(msg);
713
- if (yargs.getExitProcess()) {
714
- return yargs.exit(1);
715
- }
716
- else if (yargs._hasParseCallback()) {
717
- return yargs.exit(1, err);
718
- }
719
- else {
720
- throw err;
721
- }
722
- }
723
- };
724
- let usages = [];
725
- let usageDisabled = false;
726
- self.usage = (msg, description) => {
727
- if (msg === null) {
728
- usageDisabled = true;
729
- usages = [];
730
- return self;
731
- }
732
- usageDisabled = false;
733
- usages.push([msg, description || '']);
734
- return self;
735
- };
736
- self.getUsage = () => {
737
- return usages;
738
- };
739
- self.getUsageDisabled = () => {
740
- return usageDisabled;
741
- };
742
- self.getPositionalGroupName = () => {
743
- return __('Positionals:');
744
- };
745
- let examples = [];
746
- self.example = (cmd, description) => {
747
- examples.push([cmd, description || '']);
748
- };
749
- let commands = [];
750
- self.command = function command(cmd, description, isDefault, aliases, deprecated = false) {
751
- if (isDefault) {
752
- commands = commands.map(cmdArray => {
753
- cmdArray[2] = false;
754
- return cmdArray;
755
- });
756
- }
757
- commands.push([cmd, description || '', isDefault, aliases, deprecated]);
758
- };
759
- self.getCommands = () => commands;
760
- let descriptions = {};
761
- self.describe = function describe(keyOrKeys, desc) {
762
- if (Array.isArray(keyOrKeys)) {
763
- keyOrKeys.forEach(k => {
764
- self.describe(k, desc);
765
- });
766
- }
767
- else if (typeof keyOrKeys === 'object') {
768
- Object.keys(keyOrKeys).forEach(k => {
769
- self.describe(k, keyOrKeys[k]);
770
- });
771
- }
772
- else {
773
- descriptions[keyOrKeys] = desc;
774
- }
775
- };
776
- self.getDescriptions = () => descriptions;
777
- let epilogs = [];
778
- self.epilog = msg => {
779
- epilogs.push(msg);
780
- };
781
- let wrapSet = false;
782
- let wrap;
783
- self.wrap = cols => {
784
- wrapSet = true;
785
- wrap = cols;
786
- };
787
- function getWrap() {
788
- if (!wrapSet) {
789
- wrap = windowWidth();
790
- wrapSet = true;
791
- }
792
- return wrap;
793
- }
794
- const deferY18nLookupPrefix = '__yargsString__:';
795
- self.deferY18nLookup = str => deferY18nLookupPrefix + str;
796
- self.help = function help() {
797
- if (cachedHelpMessage)
798
- return cachedHelpMessage;
799
- normalizeAliases();
800
- const base$0 = yargs.customScriptName
801
- ? yargs.$0
802
- : shim.path.basename(yargs.$0);
803
- const demandedOptions = yargs.getDemandedOptions();
804
- const demandedCommands = yargs.getDemandedCommands();
805
- const deprecatedOptions = yargs.getDeprecatedOptions();
806
- const groups = yargs.getGroups();
807
- const options = yargs.getOptions();
808
- let keys = [];
809
- keys = keys.concat(Object.keys(descriptions));
810
- keys = keys.concat(Object.keys(demandedOptions));
811
- keys = keys.concat(Object.keys(demandedCommands));
812
- keys = keys.concat(Object.keys(options.default));
813
- keys = keys.filter(filterHiddenOptions);
814
- keys = Object.keys(keys.reduce((acc, key) => {
815
- if (key !== '_')
816
- acc[key] = true;
817
- return acc;
818
- }, {}));
819
- const theWrap = getWrap();
820
- const ui = shim.cliui({
821
- width: theWrap,
822
- wrap: !!theWrap,
823
- });
824
- if (!usageDisabled) {
825
- if (usages.length) {
826
- usages.forEach(usage => {
827
- ui.div(`${usage[0].replace(/\$0/g, base$0)}`);
828
- if (usage[1]) {
829
- ui.div({ text: `${usage[1]}`, padding: [1, 0, 0, 0] });
830
- }
831
- });
832
- ui.div();
833
- }
834
- else if (commands.length) {
835
- let u = null;
836
- if (demandedCommands._) {
837
- u = `${base$0} <${__('command')}>\n`;
838
- }
839
- else {
840
- u = `${base$0} [${__('command')}]\n`;
841
- }
842
- ui.div(`${u}`);
843
- }
844
- }
845
- if (commands.length) {
846
- ui.div(__('Commands:'));
847
- const context = yargs.getContext();
848
- const parentCommands = context.commands.length
849
- ? `${context.commands.join(' ')} `
850
- : '';
851
- if (yargs.getParserConfiguration()['sort-commands'] === true) {
852
- commands = commands.sort((a, b) => a[0].localeCompare(b[0]));
853
- }
854
- commands.forEach(command => {
855
- const commandString = `${base$0} ${parentCommands}${command[0].replace(/^\$0 ?/, '')}`;
856
- ui.span({
857
- text: commandString,
858
- padding: [0, 2, 0, 2],
859
- width: maxWidth(commands, theWrap, `${base$0}${parentCommands}`) + 4,
860
- }, { text: command[1] });
861
- const hints = [];
862
- if (command[2])
863
- hints.push(`[${__('default')}]`);
864
- if (command[3] && command[3].length) {
865
- hints.push(`[${__('aliases:')} ${command[3].join(', ')}]`);
866
- }
867
- if (command[4]) {
868
- if (typeof command[4] === 'string') {
869
- hints.push(`[${__('deprecated: %s', command[4])}]`);
870
- }
871
- else {
872
- hints.push(`[${__('deprecated')}]`);
873
- }
874
- }
875
- if (hints.length) {
876
- ui.div({
877
- text: hints.join(' '),
878
- padding: [0, 0, 0, 2],
879
- align: 'right',
880
- });
881
- }
882
- else {
883
- ui.div();
884
- }
885
- });
886
- ui.div();
887
- }
888
- const aliasKeys = (Object.keys(options.alias) || []).concat(Object.keys(yargs.parsed.newAliases) || []);
889
- keys = keys.filter(key => !yargs.parsed.newAliases[key] &&
890
- aliasKeys.every(alias => (options.alias[alias] || []).indexOf(key) === -1));
891
- const defaultGroup = __('Options:');
892
- if (!groups[defaultGroup])
893
- groups[defaultGroup] = [];
894
- addUngroupedKeys(keys, options.alias, groups, defaultGroup);
895
- const isLongSwitch = (sw) => /^--/.test(getText(sw));
896
- const displayedGroups = Object.keys(groups)
897
- .filter(groupName => groups[groupName].length > 0)
898
- .map(groupName => {
899
- const normalizedKeys = groups[groupName]
900
- .filter(filterHiddenOptions)
901
- .map(key => {
902
- if (~aliasKeys.indexOf(key))
903
- return key;
904
- for (let i = 0, aliasKey; (aliasKey = aliasKeys[i]) !== undefined; i++) {
905
- if (~(options.alias[aliasKey] || []).indexOf(key))
906
- return aliasKey;
907
- }
908
- return key;
909
- });
910
- return { groupName, normalizedKeys };
911
- })
912
- .filter(({ normalizedKeys }) => normalizedKeys.length > 0)
913
- .map(({ groupName, normalizedKeys }) => {
914
- const switches = normalizedKeys.reduce((acc, key) => {
915
- acc[key] = [key]
916
- .concat(options.alias[key] || [])
917
- .map(sw => {
918
- if (groupName === self.getPositionalGroupName())
919
- return sw;
920
- else {
921
- return ((/^[0-9]$/.test(sw)
922
- ? ~options.boolean.indexOf(key)
923
- ? '-'
924
- : '--'
925
- : sw.length > 1
926
- ? '--'
927
- : '-') + sw);
928
- }
929
- })
930
- .sort((sw1, sw2) => isLongSwitch(sw1) === isLongSwitch(sw2)
931
- ? 0
932
- : isLongSwitch(sw1)
933
- ? 1
934
- : -1)
935
- .join(', ');
936
- return acc;
937
- }, {});
938
- return { groupName, normalizedKeys, switches };
939
- });
940
- const shortSwitchesUsed = displayedGroups
941
- .filter(({ groupName }) => groupName !== self.getPositionalGroupName())
942
- .some(({ normalizedKeys, switches }) => !normalizedKeys.every(key => isLongSwitch(switches[key])));
943
- if (shortSwitchesUsed) {
944
- displayedGroups
945
- .filter(({ groupName }) => groupName !== self.getPositionalGroupName())
946
- .forEach(({ normalizedKeys, switches }) => {
947
- normalizedKeys.forEach(key => {
948
- if (isLongSwitch(switches[key])) {
949
- switches[key] = addIndentation(switches[key], '-x, '.length);
950
- }
951
- });
952
- });
953
- }
954
- displayedGroups.forEach(({ groupName, normalizedKeys, switches }) => {
955
- ui.div(groupName);
956
- normalizedKeys.forEach(key => {
957
- const kswitch = switches[key];
958
- let desc = descriptions[key] || '';
959
- let type = null;
960
- if (~desc.lastIndexOf(deferY18nLookupPrefix))
961
- desc = __(desc.substring(deferY18nLookupPrefix.length));
962
- if (~options.boolean.indexOf(key))
963
- type = `[${__('boolean')}]`;
964
- if (~options.count.indexOf(key))
965
- type = `[${__('count')}]`;
966
- if (~options.string.indexOf(key))
967
- type = `[${__('string')}]`;
968
- if (~options.normalize.indexOf(key))
969
- type = `[${__('string')}]`;
970
- if (~options.array.indexOf(key))
971
- type = `[${__('array')}]`;
972
- if (~options.number.indexOf(key))
973
- type = `[${__('number')}]`;
974
- const deprecatedExtra = (deprecated) => typeof deprecated === 'string'
975
- ? `[${__('deprecated: %s', deprecated)}]`
976
- : `[${__('deprecated')}]`;
977
- const extra = [
978
- key in deprecatedOptions
979
- ? deprecatedExtra(deprecatedOptions[key])
980
- : null,
981
- type,
982
- key in demandedOptions ? `[${__('required')}]` : null,
983
- options.choices && options.choices[key]
984
- ? `[${__('choices:')} ${self.stringifiedValues(options.choices[key])}]`
985
- : null,
986
- defaultString(options.default[key], options.defaultDescription[key]),
987
- ]
988
- .filter(Boolean)
989
- .join(' ');
990
- ui.span({
991
- text: getText(kswitch),
992
- padding: [0, 2, 0, 2 + getIndentation(kswitch)],
993
- width: maxWidth(switches, theWrap) + 4,
994
- }, desc);
995
- if (extra)
996
- ui.div({ text: extra, padding: [0, 0, 0, 2], align: 'right' });
997
- else
998
- ui.div();
999
- });
1000
- ui.div();
1001
- });
1002
- if (examples.length) {
1003
- ui.div(__('Examples:'));
1004
- examples.forEach(example => {
1005
- example[0] = example[0].replace(/\$0/g, base$0);
1006
- });
1007
- examples.forEach(example => {
1008
- if (example[1] === '') {
1009
- ui.div({
1010
- text: example[0],
1011
- padding: [0, 2, 0, 2],
1012
- });
1013
- }
1014
- else {
1015
- ui.div({
1016
- text: example[0],
1017
- padding: [0, 2, 0, 2],
1018
- width: maxWidth(examples, theWrap) + 4,
1019
- }, {
1020
- text: example[1],
1021
- });
1022
- }
1023
- });
1024
- ui.div();
1025
- }
1026
- if (epilogs.length > 0) {
1027
- const e = epilogs
1028
- .map(epilog => epilog.replace(/\$0/g, base$0))
1029
- .join('\n');
1030
- ui.div(`${e}\n`);
1031
- }
1032
- return ui.toString().replace(/\s*$/, '');
1033
- };
1034
- function maxWidth(table, theWrap, modifier) {
1035
- let width = 0;
1036
- if (!Array.isArray(table)) {
1037
- table = Object.values(table).map(v => [v]);
1038
- }
1039
- table.forEach(v => {
1040
- width = Math.max(shim.stringWidth(modifier ? `${modifier} ${getText(v[0])}` : getText(v[0])) + getIndentation(v[0]), width);
1041
- });
1042
- if (theWrap)
1043
- width = Math.min(width, parseInt((theWrap * 0.5).toString(), 10));
1044
- return width;
1045
- }
1046
- function normalizeAliases() {
1047
- const demandedOptions = yargs.getDemandedOptions();
1048
- const options = yargs.getOptions();
1049
- (Object.keys(options.alias) || []).forEach(key => {
1050
- options.alias[key].forEach(alias => {
1051
- if (descriptions[alias])
1052
- self.describe(key, descriptions[alias]);
1053
- if (alias in demandedOptions)
1054
- yargs.demandOption(key, demandedOptions[alias]);
1055
- if (~options.boolean.indexOf(alias))
1056
- yargs.boolean(key);
1057
- if (~options.count.indexOf(alias))
1058
- yargs.count(key);
1059
- if (~options.string.indexOf(alias))
1060
- yargs.string(key);
1061
- if (~options.normalize.indexOf(alias))
1062
- yargs.normalize(key);
1063
- if (~options.array.indexOf(alias))
1064
- yargs.array(key);
1065
- if (~options.number.indexOf(alias))
1066
- yargs.number(key);
1067
- });
1068
- });
1069
- }
1070
- let cachedHelpMessage;
1071
- self.cacheHelpMessage = function () {
1072
- cachedHelpMessage = this.help();
1073
- };
1074
- self.clearCachedHelpMessage = function () {
1075
- cachedHelpMessage = undefined;
1076
- };
1077
- function addUngroupedKeys(keys, aliases, groups, defaultGroup) {
1078
- let groupedKeys = [];
1079
- let toCheck = null;
1080
- Object.keys(groups).forEach(group => {
1081
- groupedKeys = groupedKeys.concat(groups[group]);
1082
- });
1083
- keys.forEach(key => {
1084
- toCheck = [key].concat(aliases[key]);
1085
- if (!toCheck.some(k => groupedKeys.indexOf(k) !== -1)) {
1086
- groups[defaultGroup].push(key);
1087
- }
1088
- });
1089
- return groupedKeys;
1090
- }
1091
- function filterHiddenOptions(key) {
1092
- return (yargs.getOptions().hiddenOptions.indexOf(key) < 0 ||
1093
- yargs.parsed.argv[yargs.getOptions().showHiddenOpt]);
1094
- }
1095
- self.showHelp = (level) => {
1096
- const logger = yargs._getLoggerInstance();
1097
- if (!level)
1098
- level = 'error';
1099
- const emit = typeof level === 'function' ? level : logger[level];
1100
- emit(self.help());
1101
- };
1102
- self.functionDescription = fn => {
1103
- const description = fn.name
1104
- ? shim.Parser.decamelize(fn.name, '-')
1105
- : __('generated-value');
1106
- return ['(', description, ')'].join('');
1107
- };
1108
- self.stringifiedValues = function stringifiedValues(values, separator) {
1109
- let string = '';
1110
- const sep = separator || ', ';
1111
- const array = [].concat(values);
1112
- if (!values || !array.length)
1113
- return string;
1114
- array.forEach(value => {
1115
- if (string.length)
1116
- string += sep;
1117
- string += JSON.stringify(value);
1118
- });
1119
- return string;
1120
- };
1121
- function defaultString(value, defaultDescription) {
1122
- let string = `[${__('default:')} `;
1123
- if (value === undefined && !defaultDescription)
1124
- return null;
1125
- if (defaultDescription) {
1126
- string += defaultDescription;
1127
- }
1128
- else {
1129
- switch (typeof value) {
1130
- case 'string':
1131
- string += `"${value}"`;
1132
- break;
1133
- case 'object':
1134
- string += JSON.stringify(value);
1135
- break;
1136
- default:
1137
- string += value;
1138
- }
1139
- }
1140
- return `${string}]`;
1141
- }
1142
- function windowWidth() {
1143
- const maxWidth = 80;
1144
- if (shim.process.stdColumns) {
1145
- return Math.min(maxWidth, shim.process.stdColumns);
1146
- }
1147
- else {
1148
- return maxWidth;
1149
- }
1150
- }
1151
- let version = null;
1152
- self.version = ver => {
1153
- version = ver;
1154
- };
1155
- self.showVersion = () => {
1156
- const logger = yargs._getLoggerInstance();
1157
- logger.log(version);
1158
- };
1159
- self.reset = function reset(localLookup) {
1160
- failMessage = null;
1161
- failureOutput = false;
1162
- usages = [];
1163
- usageDisabled = false;
1164
- epilogs = [];
1165
- examples = [];
1166
- commands = [];
1167
- descriptions = objFilter(descriptions, k => !localLookup[k]);
1168
- return self;
1169
- };
1170
- const frozens = [];
1171
- self.freeze = function freeze() {
1172
- frozens.push({
1173
- failMessage,
1174
- failureOutput,
1175
- usages,
1176
- usageDisabled,
1177
- epilogs,
1178
- examples,
1179
- commands,
1180
- descriptions,
1181
- });
1182
- };
1183
- self.unfreeze = function unfreeze() {
1184
- const frozen = frozens.pop();
1185
- assertNotStrictEqual(frozen, undefined, shim);
1186
- ({
1187
- failMessage,
1188
- failureOutput,
1189
- usages,
1190
- usageDisabled,
1191
- epilogs,
1192
- examples,
1193
- commands,
1194
- descriptions,
1195
- } = frozen);
1196
- };
1197
- return self;
1198
- }
1199
- function isIndentedText(text) {
1200
- return typeof text === 'object';
1201
- }
1202
- function addIndentation(text, indent) {
1203
- return isIndentedText(text)
1204
- ? { text: text.text, indentation: text.indentation + indent }
1205
- : { text, indentation: indent };
1206
- }
1207
- function getIndentation(text) {
1208
- return isIndentedText(text) ? text.indentation : 0;
1209
- }
1210
- function getText(text) {
1211
- return isIndentedText(text) ? text.text : text;
1212
- }
1213
-
1214
- const completionShTemplate = `###-begin-{{app_name}}-completions-###
1215
- #
1216
- # yargs command completion script
1217
- #
1218
- # Installation: {{app_path}} {{completion_command}} >> ~/.bashrc
1219
- # or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.
1220
- #
1221
- _yargs_completions()
1222
- {
1223
- local cur_word args type_list
1224
-
1225
- cur_word="\${COMP_WORDS[COMP_CWORD]}"
1226
- args=("\${COMP_WORDS[@]}")
1227
-
1228
- # ask yargs to generate completions.
1229
- type_list=$({{app_path}} --get-yargs-completions "\${args[@]}")
1230
-
1231
- COMPREPLY=( $(compgen -W "\${type_list}" -- \${cur_word}) )
1232
-
1233
- # if no match was found, fall back to filename completion
1234
- if [ \${#COMPREPLY[@]} -eq 0 ]; then
1235
- COMPREPLY=()
1236
- fi
1237
-
1238
- return 0
1239
- }
1240
- complete -o default -F _yargs_completions {{app_name}}
1241
- ###-end-{{app_name}}-completions-###
1242
- `;
1243
- const completionZshTemplate = `###-begin-{{app_name}}-completions-###
1244
- #
1245
- # yargs command completion script
1246
- #
1247
- # Installation: {{app_path}} {{completion_command}} >> ~/.zshrc
1248
- # or {{app_path}} {{completion_command}} >> ~/.zsh_profile on OSX.
1249
- #
1250
- _{{app_name}}_yargs_completions()
1251
- {
1252
- local reply
1253
- local si=$IFS
1254
- IFS=$'\n' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "\${words[@]}"))
1255
- IFS=$si
1256
- _describe 'values' reply
1257
- }
1258
- compdef _{{app_name}}_yargs_completions {{app_name}}
1259
- ###-end-{{app_name}}-completions-###
1260
- `;
1261
-
1262
- function completion(yargs, usage, command, shim) {
1263
- const self = {
1264
- completionKey: 'get-yargs-completions',
1265
- };
1266
- let aliases;
1267
- self.setParsed = function setParsed(parsed) {
1268
- aliases = parsed.aliases;
1269
- };
1270
- const zshShell = (shim.getEnv('SHELL') && shim.getEnv('SHELL').indexOf('zsh') !== -1) ||
1271
- (shim.getEnv('ZSH_NAME') && shim.getEnv('ZSH_NAME').indexOf('zsh') !== -1);
1272
- self.getCompletion = function getCompletion(args, done) {
1273
- const completions = [];
1274
- const current = args.length ? args[args.length - 1] : '';
1275
- const argv = yargs.parse(args, true);
1276
- const parentCommands = yargs.getContext().commands;
1277
- function runCompletionFunction(argv) {
1278
- assertNotStrictEqual(completionFunction, null, shim);
1279
- if (isSyncCompletionFunction(completionFunction)) {
1280
- const result = completionFunction(current, argv);
1281
- if (isPromise(result)) {
1282
- return result
1283
- .then(list => {
1284
- shim.process.nextTick(() => {
1285
- done(list);
1286
- });
1287
- })
1288
- .catch(err => {
1289
- shim.process.nextTick(() => {
1290
- throw err;
1291
- });
1292
- });
1293
- }
1294
- return done(result);
1295
- }
1296
- else {
1297
- return completionFunction(current, argv, completions => {
1298
- done(completions);
1299
- });
1300
- }
1301
- }
1302
- if (completionFunction) {
1303
- return isPromise(argv)
1304
- ? argv.then(runCompletionFunction)
1305
- : runCompletionFunction(argv);
1306
- }
1307
- const handlers = command.getCommandHandlers();
1308
- for (let i = 0, ii = args.length; i < ii; ++i) {
1309
- if (handlers[args[i]] && handlers[args[i]].builder) {
1310
- const builder = handlers[args[i]].builder;
1311
- if (isCommandBuilderCallback(builder)) {
1312
- const y = yargs.reset();
1313
- builder(y);
1314
- return y.argv;
1315
- }
1316
- }
1317
- }
1318
- if (!current.match(/^-/) &&
1319
- parentCommands[parentCommands.length - 1] !== current) {
1320
- usage.getCommands().forEach(usageCommand => {
1321
- const commandName = parseCommand(usageCommand[0]).cmd;
1322
- if (args.indexOf(commandName) === -1) {
1323
- if (!zshShell) {
1324
- completions.push(commandName);
1325
- }
1326
- else {
1327
- const desc = usageCommand[1] || '';
1328
- completions.push(commandName.replace(/:/g, '\\:') + ':' + desc);
1329
- }
1330
- }
1331
- });
1332
- }
1333
- if (current.match(/^-/) || (current === '' && completions.length === 0)) {
1334
- const descs = usage.getDescriptions();
1335
- const options = yargs.getOptions();
1336
- Object.keys(options.key).forEach(key => {
1337
- const negable = !!options.configuration['boolean-negation'] &&
1338
- options.boolean.includes(key);
1339
- let keyAndAliases = [key].concat(aliases[key] || []);
1340
- if (negable)
1341
- keyAndAliases = keyAndAliases.concat(keyAndAliases.map(key => `no-${key}`));
1342
- function completeOptionKey(key) {
1343
- const notInArgs = keyAndAliases.every(val => args.indexOf(`--${val}`) === -1);
1344
- if (notInArgs) {
1345
- const startsByTwoDashes = (s) => /^--/.test(s);
1346
- const isShortOption = (s) => /^[^0-9]$/.test(s);
1347
- const dashes = !startsByTwoDashes(current) && isShortOption(key) ? '-' : '--';
1348
- if (!zshShell) {
1349
- completions.push(dashes + key);
1350
- }
1351
- else {
1352
- const desc = descs[key] || '';
1353
- completions.push(dashes +
1354
- `${key.replace(/:/g, '\\:')}:${desc.replace('__yargsString__:', '')}`);
1355
- }
1356
- }
1357
- }
1358
- completeOptionKey(key);
1359
- if (negable && !!options.default[key])
1360
- completeOptionKey(`no-${key}`);
1361
- });
1362
- }
1363
- done(completions);
1364
- };
1365
- self.generateCompletionScript = function generateCompletionScript($0, cmd) {
1366
- let script = zshShell
1367
- ? completionZshTemplate
1368
- : completionShTemplate;
1369
- const name = shim.path.basename($0);
1370
- if ($0.match(/\.js$/))
1371
- $0 = `./${$0}`;
1372
- script = script.replace(/{{app_name}}/g, name);
1373
- script = script.replace(/{{completion_command}}/g, cmd);
1374
- return script.replace(/{{app_path}}/g, $0);
1375
- };
1376
- let completionFunction = null;
1377
- self.registerFunction = fn => {
1378
- completionFunction = fn;
1379
- };
1380
- return self;
1381
- }
1382
- function isSyncCompletionFunction(completionFunction) {
1383
- return completionFunction.length < 3;
1384
- }
1385
-
1386
- function levenshtein(a, b) {
1387
- if (a.length === 0)
1388
- return b.length;
1389
- if (b.length === 0)
1390
- return a.length;
1391
- const matrix = [];
1392
- let i;
1393
- for (i = 0; i <= b.length; i++) {
1394
- matrix[i] = [i];
1395
- }
1396
- let j;
1397
- for (j = 0; j <= a.length; j++) {
1398
- matrix[0][j] = j;
1399
- }
1400
- for (i = 1; i <= b.length; i++) {
1401
- for (j = 1; j <= a.length; j++) {
1402
- if (b.charAt(i - 1) === a.charAt(j - 1)) {
1403
- matrix[i][j] = matrix[i - 1][j - 1];
1404
- }
1405
- else {
1406
- matrix[i][j] = Math.min(matrix[i - 1][j - 1] + 1, Math.min(matrix[i][j - 1] + 1, matrix[i - 1][j] + 1));
1407
- }
1408
- }
1409
- }
1410
- return matrix[b.length][a.length];
1411
- }
1412
-
1413
- const specialKeys = ['$0', '--', '_'];
1414
- function validation(yargs, usage, y18n, shim) {
1415
- const __ = y18n.__;
1416
- const __n = y18n.__n;
1417
- const self = {};
1418
- self.nonOptionCount = function nonOptionCount(argv) {
1419
- const demandedCommands = yargs.getDemandedCommands();
1420
- const positionalCount = argv._.length + (argv['--'] ? argv['--'].length : 0);
1421
- const _s = positionalCount - yargs.getContext().commands.length;
1422
- if (demandedCommands._ &&
1423
- (_s < demandedCommands._.min || _s > demandedCommands._.max)) {
1424
- if (_s < demandedCommands._.min) {
1425
- if (demandedCommands._.minMsg !== undefined) {
1426
- usage.fail(demandedCommands._.minMsg
1427
- ? demandedCommands._.minMsg
1428
- .replace(/\$0/g, _s.toString())
1429
- .replace(/\$1/, demandedCommands._.min.toString())
1430
- : null);
1431
- }
1432
- else {
1433
- usage.fail(__n('Not enough non-option arguments: got %s, need at least %s', 'Not enough non-option arguments: got %s, need at least %s', _s, _s.toString(), demandedCommands._.min.toString()));
1434
- }
1435
- }
1436
- else if (_s > demandedCommands._.max) {
1437
- if (demandedCommands._.maxMsg !== undefined) {
1438
- usage.fail(demandedCommands._.maxMsg
1439
- ? demandedCommands._.maxMsg
1440
- .replace(/\$0/g, _s.toString())
1441
- .replace(/\$1/, demandedCommands._.max.toString())
1442
- : null);
1443
- }
1444
- else {
1445
- usage.fail(__n('Too many non-option arguments: got %s, maximum of %s', 'Too many non-option arguments: got %s, maximum of %s', _s, _s.toString(), demandedCommands._.max.toString()));
1446
- }
1447
- }
1448
- }
1449
- };
1450
- self.positionalCount = function positionalCount(required, observed) {
1451
- if (observed < required) {
1452
- usage.fail(__n('Not enough non-option arguments: got %s, need at least %s', 'Not enough non-option arguments: got %s, need at least %s', observed, observed + '', required + ''));
1453
- }
1454
- };
1455
- self.requiredArguments = function requiredArguments(argv) {
1456
- const demandedOptions = yargs.getDemandedOptions();
1457
- let missing = null;
1458
- for (const key of Object.keys(demandedOptions)) {
1459
- if (!Object.prototype.hasOwnProperty.call(argv, key) ||
1460
- typeof argv[key] === 'undefined') {
1461
- missing = missing || {};
1462
- missing[key] = demandedOptions[key];
1463
- }
1464
- }
1465
- if (missing) {
1466
- const customMsgs = [];
1467
- for (const key of Object.keys(missing)) {
1468
- const msg = missing[key];
1469
- if (msg && customMsgs.indexOf(msg) < 0) {
1470
- customMsgs.push(msg);
1471
- }
1472
- }
1473
- const customMsg = customMsgs.length ? `\n${customMsgs.join('\n')}` : '';
1474
- usage.fail(__n('Missing required argument: %s', 'Missing required arguments: %s', Object.keys(missing).length, Object.keys(missing).join(', ') + customMsg));
1475
- }
1476
- };
1477
- self.unknownArguments = function unknownArguments(argv, aliases, positionalMap, isDefaultCommand, checkPositionals = true) {
1478
- const commandKeys = yargs.getCommandInstance().getCommands();
1479
- const unknown = [];
1480
- const currentContext = yargs.getContext();
1481
- Object.keys(argv).forEach(key => {
1482
- if (specialKeys.indexOf(key) === -1 &&
1483
- !Object.prototype.hasOwnProperty.call(positionalMap, key) &&
1484
- !Object.prototype.hasOwnProperty.call(yargs._getParseContext(), key) &&
1485
- !self.isValidAndSomeAliasIsNotNew(key, aliases)) {
1486
- unknown.push(key);
1487
- }
1488
- });
1489
- if (checkPositionals &&
1490
- (currentContext.commands.length > 0 ||
1491
- commandKeys.length > 0 ||
1492
- isDefaultCommand)) {
1493
- argv._.slice(currentContext.commands.length).forEach(key => {
1494
- if (commandKeys.indexOf('' + key) === -1) {
1495
- unknown.push('' + key);
1496
- }
1497
- });
1498
- }
1499
- if (unknown.length > 0) {
1500
- usage.fail(__n('Unknown argument: %s', 'Unknown arguments: %s', unknown.length, unknown.join(', ')));
1501
- }
1502
- };
1503
- self.unknownCommands = function unknownCommands(argv) {
1504
- const commandKeys = yargs.getCommandInstance().getCommands();
1505
- const unknown = [];
1506
- const currentContext = yargs.getContext();
1507
- if (currentContext.commands.length > 0 || commandKeys.length > 0) {
1508
- argv._.slice(currentContext.commands.length).forEach(key => {
1509
- if (commandKeys.indexOf('' + key) === -1) {
1510
- unknown.push('' + key);
1511
- }
1512
- });
1513
- }
1514
- if (unknown.length > 0) {
1515
- usage.fail(__n('Unknown command: %s', 'Unknown commands: %s', unknown.length, unknown.join(', ')));
1516
- return true;
1517
- }
1518
- else {
1519
- return false;
1520
- }
1521
- };
1522
- self.isValidAndSomeAliasIsNotNew = function isValidAndSomeAliasIsNotNew(key, aliases) {
1523
- if (!Object.prototype.hasOwnProperty.call(aliases, key)) {
1524
- return false;
1525
- }
1526
- const newAliases = yargs.parsed.newAliases;
1527
- for (const a of [key, ...aliases[key]]) {
1528
- if (!Object.prototype.hasOwnProperty.call(newAliases, a) ||
1529
- !newAliases[key]) {
1530
- return true;
1531
- }
1532
- }
1533
- return false;
1534
- };
1535
- self.limitedChoices = function limitedChoices(argv) {
1536
- const options = yargs.getOptions();
1537
- const invalid = {};
1538
- if (!Object.keys(options.choices).length)
1539
- return;
1540
- Object.keys(argv).forEach(key => {
1541
- if (specialKeys.indexOf(key) === -1 &&
1542
- Object.prototype.hasOwnProperty.call(options.choices, key)) {
1543
- [].concat(argv[key]).forEach(value => {
1544
- if (options.choices[key].indexOf(value) === -1 &&
1545
- value !== undefined) {
1546
- invalid[key] = (invalid[key] || []).concat(value);
1547
- }
1548
- });
1549
- }
1550
- });
1551
- const invalidKeys = Object.keys(invalid);
1552
- if (!invalidKeys.length)
1553
- return;
1554
- let msg = __('Invalid values:');
1555
- invalidKeys.forEach(key => {
1556
- msg += `\n ${__('Argument: %s, Given: %s, Choices: %s', key, usage.stringifiedValues(invalid[key]), usage.stringifiedValues(options.choices[key]))}`;
1557
- });
1558
- usage.fail(msg);
1559
- };
1560
- let checks = [];
1561
- self.check = function check(f, global) {
1562
- checks.push({
1563
- func: f,
1564
- global,
1565
- });
1566
- };
1567
- self.customChecks = function customChecks(argv, aliases) {
1568
- for (let i = 0, f; (f = checks[i]) !== undefined; i++) {
1569
- const func = f.func;
1570
- let result = null;
1571
- try {
1572
- result = func(argv, aliases);
1573
- }
1574
- catch (err) {
1575
- usage.fail(err.message ? err.message : err, err);
1576
- continue;
1577
- }
1578
- if (!result) {
1579
- usage.fail(__('Argument check failed: %s', func.toString()));
1580
- }
1581
- else if (typeof result === 'string' || result instanceof Error) {
1582
- usage.fail(result.toString(), result);
1583
- }
1584
- }
1585
- };
1586
- let implied = {};
1587
- self.implies = function implies(key, value) {
1588
- argsert('<string|object> [array|number|string]', [key, value], arguments.length);
1589
- if (typeof key === 'object') {
1590
- Object.keys(key).forEach(k => {
1591
- self.implies(k, key[k]);
1592
- });
1593
- }
1594
- else {
1595
- yargs.global(key);
1596
- if (!implied[key]) {
1597
- implied[key] = [];
1598
- }
1599
- if (Array.isArray(value)) {
1600
- value.forEach(i => self.implies(key, i));
1601
- }
1602
- else {
1603
- assertNotStrictEqual(value, undefined, shim);
1604
- implied[key].push(value);
1605
- }
1606
- }
1607
- };
1608
- self.getImplied = function getImplied() {
1609
- return implied;
1610
- };
1611
- function keyExists(argv, val) {
1612
- const num = Number(val);
1613
- val = isNaN(num) ? val : num;
1614
- if (typeof val === 'number') {
1615
- val = argv._.length >= val;
1616
- }
1617
- else if (val.match(/^--no-.+/)) {
1618
- val = val.match(/^--no-(.+)/)[1];
1619
- val = !argv[val];
1620
- }
1621
- else {
1622
- val = argv[val];
1623
- }
1624
- return val;
1625
- }
1626
- self.implications = function implications(argv) {
1627
- const implyFail = [];
1628
- Object.keys(implied).forEach(key => {
1629
- const origKey = key;
1630
- (implied[key] || []).forEach(value => {
1631
- let key = origKey;
1632
- const origValue = value;
1633
- key = keyExists(argv, key);
1634
- value = keyExists(argv, value);
1635
- if (key && !value) {
1636
- implyFail.push(` ${origKey} -> ${origValue}`);
1637
- }
1638
- });
1639
- });
1640
- if (implyFail.length) {
1641
- let msg = `${__('Implications failed:')}\n`;
1642
- implyFail.forEach(value => {
1643
- msg += value;
1644
- });
1645
- usage.fail(msg);
1646
- }
1647
- };
1648
- let conflicting = {};
1649
- self.conflicts = function conflicts(key, value) {
1650
- argsert('<string|object> [array|string]', [key, value], arguments.length);
1651
- if (typeof key === 'object') {
1652
- Object.keys(key).forEach(k => {
1653
- self.conflicts(k, key[k]);
1654
- });
1655
- }
1656
- else {
1657
- yargs.global(key);
1658
- if (!conflicting[key]) {
1659
- conflicting[key] = [];
1660
- }
1661
- if (Array.isArray(value)) {
1662
- value.forEach(i => self.conflicts(key, i));
1663
- }
1664
- else {
1665
- conflicting[key].push(value);
1666
- }
1667
- }
1668
- };
1669
- self.getConflicting = () => conflicting;
1670
- self.conflicting = function conflictingFn(argv) {
1671
- Object.keys(argv).forEach(key => {
1672
- if (conflicting[key]) {
1673
- conflicting[key].forEach(value => {
1674
- if (value && argv[key] !== undefined && argv[value] !== undefined) {
1675
- usage.fail(__('Arguments %s and %s are mutually exclusive', key, value));
1676
- }
1677
- });
1678
- }
1679
- });
1680
- };
1681
- self.recommendCommands = function recommendCommands(cmd, potentialCommands) {
1682
- const threshold = 3;
1683
- potentialCommands = potentialCommands.sort((a, b) => b.length - a.length);
1684
- let recommended = null;
1685
- let bestDistance = Infinity;
1686
- for (let i = 0, candidate; (candidate = potentialCommands[i]) !== undefined; i++) {
1687
- const d = levenshtein(cmd, candidate);
1688
- if (d <= threshold && d < bestDistance) {
1689
- bestDistance = d;
1690
- recommended = candidate;
1691
- }
1692
- }
1693
- if (recommended)
1694
- usage.fail(__('Did you mean %s?', recommended));
1695
- };
1696
- self.reset = function reset(localLookup) {
1697
- implied = objFilter(implied, k => !localLookup[k]);
1698
- conflicting = objFilter(conflicting, k => !localLookup[k]);
1699
- checks = checks.filter(c => c.global);
1700
- return self;
1701
- };
1702
- const frozens = [];
1703
- self.freeze = function freeze() {
1704
- frozens.push({
1705
- implied,
1706
- checks,
1707
- conflicting,
1708
- });
1709
- };
1710
- self.unfreeze = function unfreeze() {
1711
- const frozen = frozens.pop();
1712
- assertNotStrictEqual(frozen, undefined, shim);
1713
- ({ implied, checks, conflicting } = frozen);
1714
- };
1715
- return self;
1716
- }
1717
-
1718
- let shim$1;
1719
- function YargsWithShim(_shim) {
1720
- shim$1 = _shim;
1721
- return Yargs;
1722
- }
1723
- function Yargs(processArgs = [], cwd = shim$1.process.cwd(), parentRequire) {
1724
- const self = {};
1725
- let command$1;
1726
- let completion$1 = null;
1727
- let groups = {};
1728
- const globalMiddleware = [];
1729
- let output = '';
1730
- const preservedGroups = {};
1731
- let usage$1;
1732
- let validation$1;
1733
- let handlerFinishCommand = null;
1734
- const y18n = shim$1.y18n;
1735
- self.middleware = globalMiddlewareFactory(globalMiddleware, self);
1736
- self.scriptName = function (scriptName) {
1737
- self.customScriptName = true;
1738
- self.$0 = scriptName;
1739
- return self;
1740
- };
1741
- let default$0;
1742
- if (/\b(node|iojs|electron)(\.exe)?$/.test(shim$1.process.argv()[0])) {
1743
- default$0 = shim$1.process.argv().slice(1, 2);
1744
- }
1745
- else {
1746
- default$0 = shim$1.process.argv().slice(0, 1);
1747
- }
1748
- self.$0 = default$0
1749
- .map(x => {
1750
- const b = rebase(cwd, x);
1751
- return x.match(/^(\/|([a-zA-Z]:)?\\)/) && b.length < x.length ? b : x;
1752
- })
1753
- .join(' ')
1754
- .trim();
1755
- if (shim$1.getEnv('_') && shim$1.getProcessArgvBin() === shim$1.getEnv('_')) {
1756
- self.$0 = shim$1
1757
- .getEnv('_')
1758
- .replace(`${shim$1.path.dirname(shim$1.process.execPath())}/`, '');
1759
- }
1760
- const context = { resets: -1, commands: [], fullCommands: [], files: [] };
1761
- self.getContext = () => context;
1762
- let hasOutput = false;
1763
- let exitError = null;
1764
- self.exit = (code, err) => {
1765
- hasOutput = true;
1766
- exitError = err;
1767
- if (exitProcess)
1768
- shim$1.process.exit(code);
1769
- };
1770
- let completionCommand = null;
1771
- self.completion = function (cmd, desc, fn) {
1772
- argsert('[string] [string|boolean|function] [function]', [cmd, desc, fn], arguments.length);
1773
- if (typeof desc === 'function') {
1774
- fn = desc;
1775
- desc = undefined;
1776
- }
1777
- completionCommand = cmd || completionCommand || 'completion';
1778
- if (!desc && desc !== false) {
1779
- desc = 'generate completion script';
1780
- }
1781
- self.command(completionCommand, desc);
1782
- if (fn)
1783
- completion$1.registerFunction(fn);
1784
- return self;
1785
- };
1786
- let options;
1787
- self.resetOptions = self.reset = function resetOptions(aliases = {}) {
1788
- context.resets++;
1789
- options = options || {};
1790
- const tmpOptions = {};
1791
- tmpOptions.local = options.local ? options.local : [];
1792
- tmpOptions.configObjects = options.configObjects
1793
- ? options.configObjects
1794
- : [];
1795
- const localLookup = {};
1796
- tmpOptions.local.forEach(l => {
1797
- localLookup[l] = true;
1798
- (aliases[l] || []).forEach(a => {
1799
- localLookup[a] = true;
1800
- });
1801
- });
1802
- Object.assign(preservedGroups, Object.keys(groups).reduce((acc, groupName) => {
1803
- const keys = groups[groupName].filter(key => !(key in localLookup));
1804
- if (keys.length > 0) {
1805
- acc[groupName] = keys;
1806
- }
1807
- return acc;
1808
- }, {}));
1809
- groups = {};
1810
- const arrayOptions = [
1811
- 'array',
1812
- 'boolean',
1813
- 'string',
1814
- 'skipValidation',
1815
- 'count',
1816
- 'normalize',
1817
- 'number',
1818
- 'hiddenOptions',
1819
- ];
1820
- const objectOptions = [
1821
- 'narg',
1822
- 'key',
1823
- 'alias',
1824
- 'default',
1825
- 'defaultDescription',
1826
- 'config',
1827
- 'choices',
1828
- 'demandedOptions',
1829
- 'demandedCommands',
1830
- 'coerce',
1831
- 'deprecatedOptions',
1832
- ];
1833
- arrayOptions.forEach(k => {
1834
- tmpOptions[k] = (options[k] || []).filter((k) => !localLookup[k]);
1835
- });
1836
- objectOptions.forEach((k) => {
1837
- tmpOptions[k] = objFilter(options[k], k => !localLookup[k]);
1838
- });
1839
- tmpOptions.envPrefix = options.envPrefix;
1840
- options = tmpOptions;
1841
- usage$1 = usage$1 ? usage$1.reset(localLookup) : usage(self, y18n, shim$1);
1842
- validation$1 = validation$1
1843
- ? validation$1.reset(localLookup)
1844
- : validation(self, usage$1, y18n, shim$1);
1845
- command$1 = command$1
1846
- ? command$1.reset()
1847
- : command(self, usage$1, validation$1, globalMiddleware, shim$1);
1848
- if (!completion$1)
1849
- completion$1 = completion(self, usage$1, command$1, shim$1);
1850
- completionCommand = null;
1851
- output = '';
1852
- exitError = null;
1853
- hasOutput = false;
1854
- self.parsed = false;
1855
- return self;
1856
- };
1857
- self.resetOptions();
1858
- const frozens = [];
1859
- function freeze() {
1860
- frozens.push({
1861
- options,
1862
- configObjects: options.configObjects.slice(0),
1863
- exitProcess,
1864
- groups,
1865
- strict,
1866
- strictCommands,
1867
- strictOptions,
1868
- completionCommand,
1869
- output,
1870
- exitError,
1871
- hasOutput,
1872
- parsed: self.parsed,
1873
- parseFn,
1874
- parseContext,
1875
- handlerFinishCommand,
1876
- });
1877
- usage$1.freeze();
1878
- validation$1.freeze();
1879
- command$1.freeze();
1880
- }
1881
- function unfreeze() {
1882
- const frozen = frozens.pop();
1883
- assertNotStrictEqual(frozen, undefined, shim$1);
1884
- let configObjects;
1885
- ({
1886
- options,
1887
- configObjects,
1888
- exitProcess,
1889
- groups,
1890
- output,
1891
- exitError,
1892
- hasOutput,
1893
- parsed: self.parsed,
1894
- strict,
1895
- strictCommands,
1896
- strictOptions,
1897
- completionCommand,
1898
- parseFn,
1899
- parseContext,
1900
- handlerFinishCommand,
1901
- } = frozen);
1902
- options.configObjects = configObjects;
1903
- usage$1.unfreeze();
1904
- validation$1.unfreeze();
1905
- command$1.unfreeze();
1906
- }
1907
- self.boolean = function (keys) {
1908
- argsert('<array|string>', [keys], arguments.length);
1909
- populateParserHintArray('boolean', keys);
1910
- return self;
1911
- };
1912
- self.array = function (keys) {
1913
- argsert('<array|string>', [keys], arguments.length);
1914
- populateParserHintArray('array', keys);
1915
- return self;
1916
- };
1917
- self.number = function (keys) {
1918
- argsert('<array|string>', [keys], arguments.length);
1919
- populateParserHintArray('number', keys);
1920
- return self;
1921
- };
1922
- self.normalize = function (keys) {
1923
- argsert('<array|string>', [keys], arguments.length);
1924
- populateParserHintArray('normalize', keys);
1925
- return self;
1926
- };
1927
- self.count = function (keys) {
1928
- argsert('<array|string>', [keys], arguments.length);
1929
- populateParserHintArray('count', keys);
1930
- return self;
1931
- };
1932
- self.string = function (keys) {
1933
- argsert('<array|string>', [keys], arguments.length);
1934
- populateParserHintArray('string', keys);
1935
- return self;
1936
- };
1937
- self.requiresArg = function (keys) {
1938
- argsert('<array|string|object> [number]', [keys], arguments.length);
1939
- if (typeof keys === 'string' && options.narg[keys]) {
1940
- return self;
1941
- }
1942
- else {
1943
- populateParserHintSingleValueDictionary(self.requiresArg, 'narg', keys, NaN);
1944
- }
1945
- return self;
1946
- };
1947
- self.skipValidation = function (keys) {
1948
- argsert('<array|string>', [keys], arguments.length);
1949
- populateParserHintArray('skipValidation', keys);
1950
- return self;
1951
- };
1952
- function populateParserHintArray(type, keys) {
1953
- keys = [].concat(keys);
1954
- keys.forEach(key => {
1955
- key = sanitizeKey(key);
1956
- options[type].push(key);
1957
- });
1958
- }
1959
- self.nargs = function (key, value) {
1960
- argsert('<string|object|array> [number]', [key, value], arguments.length);
1961
- populateParserHintSingleValueDictionary(self.nargs, 'narg', key, value);
1962
- return self;
1963
- };
1964
- self.choices = function (key, value) {
1965
- argsert('<object|string|array> [string|array]', [key, value], arguments.length);
1966
- populateParserHintArrayDictionary(self.choices, 'choices', key, value);
1967
- return self;
1968
- };
1969
- self.alias = function (key, value) {
1970
- argsert('<object|string|array> [string|array]', [key, value], arguments.length);
1971
- populateParserHintArrayDictionary(self.alias, 'alias', key, value);
1972
- return self;
1973
- };
1974
- self.default = self.defaults = function (key, value, defaultDescription) {
1975
- argsert('<object|string|array> [*] [string]', [key, value, defaultDescription], arguments.length);
1976
- if (defaultDescription) {
1977
- assertSingleKey(key, shim$1);
1978
- options.defaultDescription[key] = defaultDescription;
1979
- }
1980
- if (typeof value === 'function') {
1981
- assertSingleKey(key, shim$1);
1982
- if (!options.defaultDescription[key])
1983
- options.defaultDescription[key] = usage$1.functionDescription(value);
1984
- value = value.call();
1985
- }
1986
- populateParserHintSingleValueDictionary(self.default, 'default', key, value);
1987
- return self;
1988
- };
1989
- self.describe = function (key, desc) {
1990
- argsert('<object|string|array> [string]', [key, desc], arguments.length);
1991
- setKey(key, true);
1992
- usage$1.describe(key, desc);
1993
- return self;
1994
- };
1995
- function setKey(key, set) {
1996
- populateParserHintSingleValueDictionary(setKey, 'key', key, set);
1997
- return self;
1998
- }
1999
- function demandOption(keys, msg) {
2000
- argsert('<object|string|array> [string]', [keys, msg], arguments.length);
2001
- populateParserHintSingleValueDictionary(self.demandOption, 'demandedOptions', keys, msg);
2002
- return self;
2003
- }
2004
- self.demandOption = demandOption;
2005
- self.coerce = function (keys, value) {
2006
- argsert('<object|string|array> [function]', [keys, value], arguments.length);
2007
- populateParserHintSingleValueDictionary(self.coerce, 'coerce', keys, value);
2008
- return self;
2009
- };
2010
- function populateParserHintSingleValueDictionary(builder, type, key, value) {
2011
- populateParserHintDictionary(builder, type, key, value, (type, key, value) => {
2012
- options[type][key] = value;
2013
- });
2014
- }
2015
- function populateParserHintArrayDictionary(builder, type, key, value) {
2016
- populateParserHintDictionary(builder, type, key, value, (type, key, value) => {
2017
- options[type][key] = (options[type][key] || []).concat(value);
2018
- });
2019
- }
2020
- function populateParserHintDictionary(builder, type, key, value, singleKeyHandler) {
2021
- if (Array.isArray(key)) {
2022
- key.forEach(k => {
2023
- builder(k, value);
2024
- });
2025
- }
2026
- else if (((key) => typeof key === 'object')(key)) {
2027
- for (const k of objectKeys(key)) {
2028
- builder(k, key[k]);
2029
- }
2030
- }
2031
- else {
2032
- singleKeyHandler(type, sanitizeKey(key), value);
2033
- }
2034
- }
2035
- function sanitizeKey(key) {
2036
- if (key === '__proto__')
2037
- return '___proto___';
2038
- return key;
2039
- }
2040
- function deleteFromParserHintObject(optionKey) {
2041
- objectKeys(options).forEach((hintKey) => {
2042
- if (((key) => key === 'configObjects')(hintKey))
2043
- return;
2044
- const hint = options[hintKey];
2045
- if (Array.isArray(hint)) {
2046
- if (~hint.indexOf(optionKey))
2047
- hint.splice(hint.indexOf(optionKey), 1);
2048
- }
2049
- else if (typeof hint === 'object') {
2050
- delete hint[optionKey];
2051
- }
2052
- });
2053
- delete usage$1.getDescriptions()[optionKey];
2054
- }
2055
- self.config = function config(key = 'config', msg, parseFn) {
2056
- argsert('[object|string] [string|function] [function]', [key, msg, parseFn], arguments.length);
2057
- if (typeof key === 'object' && !Array.isArray(key)) {
2058
- key = applyExtends(key, cwd, self.getParserConfiguration()['deep-merge-config'] || false, shim$1);
2059
- options.configObjects = (options.configObjects || []).concat(key);
2060
- return self;
2061
- }
2062
- if (typeof msg === 'function') {
2063
- parseFn = msg;
2064
- msg = undefined;
2065
- }
2066
- self.describe(key, msg || usage$1.deferY18nLookup('Path to JSON config file'));
2067
- (Array.isArray(key) ? key : [key]).forEach(k => {
2068
- options.config[k] = parseFn || true;
2069
- });
2070
- return self;
2071
- };
2072
- self.example = function (cmd, description) {
2073
- argsert('<string|array> [string]', [cmd, description], arguments.length);
2074
- if (Array.isArray(cmd)) {
2075
- cmd.forEach(exampleParams => self.example(...exampleParams));
2076
- }
2077
- else {
2078
- usage$1.example(cmd, description);
2079
- }
2080
- return self;
2081
- };
2082
- self.command = function (cmd, description, builder, handler, middlewares, deprecated) {
2083
- argsert('<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]', [cmd, description, builder, handler, middlewares, deprecated], arguments.length);
2084
- command$1.addHandler(cmd, description, builder, handler, middlewares, deprecated);
2085
- return self;
2086
- };
2087
- self.commandDir = function (dir, opts) {
2088
- argsert('<string> [object]', [dir, opts], arguments.length);
2089
- const req = parentRequire || shim$1.require;
2090
- command$1.addDirectory(dir, self.getContext(), req, shim$1.getCallerFile(), opts);
2091
- return self;
2092
- };
2093
- self.demand = self.required = self.require = function demand(keys, max, msg) {
2094
- if (Array.isArray(max)) {
2095
- max.forEach(key => {
2096
- assertNotStrictEqual(msg, true, shim$1);
2097
- demandOption(key, msg);
2098
- });
2099
- max = Infinity;
2100
- }
2101
- else if (typeof max !== 'number') {
2102
- msg = max;
2103
- max = Infinity;
2104
- }
2105
- if (typeof keys === 'number') {
2106
- assertNotStrictEqual(msg, true, shim$1);
2107
- self.demandCommand(keys, max, msg, msg);
2108
- }
2109
- else if (Array.isArray(keys)) {
2110
- keys.forEach(key => {
2111
- assertNotStrictEqual(msg, true, shim$1);
2112
- demandOption(key, msg);
2113
- });
2114
- }
2115
- else {
2116
- if (typeof msg === 'string') {
2117
- demandOption(keys, msg);
2118
- }
2119
- else if (msg === true || typeof msg === 'undefined') {
2120
- demandOption(keys);
2121
- }
2122
- }
2123
- return self;
2124
- };
2125
- self.demandCommand = function demandCommand(min = 1, max, minMsg, maxMsg) {
2126
- argsert('[number] [number|string] [string|null|undefined] [string|null|undefined]', [min, max, minMsg, maxMsg], arguments.length);
2127
- if (typeof max !== 'number') {
2128
- minMsg = max;
2129
- max = Infinity;
2130
- }
2131
- self.global('_', false);
2132
- options.demandedCommands._ = {
2133
- min,
2134
- max,
2135
- minMsg,
2136
- maxMsg,
2137
- };
2138
- return self;
2139
- };
2140
- self.getDemandedOptions = () => {
2141
- argsert([], 0);
2142
- return options.demandedOptions;
2143
- };
2144
- self.getDemandedCommands = () => {
2145
- argsert([], 0);
2146
- return options.demandedCommands;
2147
- };
2148
- self.deprecateOption = function deprecateOption(option, message) {
2149
- argsert('<string> [string|boolean]', [option, message], arguments.length);
2150
- options.deprecatedOptions[option] = message;
2151
- return self;
2152
- };
2153
- self.getDeprecatedOptions = () => {
2154
- argsert([], 0);
2155
- return options.deprecatedOptions;
2156
- };
2157
- self.implies = function (key, value) {
2158
- argsert('<string|object> [number|string|array]', [key, value], arguments.length);
2159
- validation$1.implies(key, value);
2160
- return self;
2161
- };
2162
- self.conflicts = function (key1, key2) {
2163
- argsert('<string|object> [string|array]', [key1, key2], arguments.length);
2164
- validation$1.conflicts(key1, key2);
2165
- return self;
2166
- };
2167
- self.usage = function (msg, description, builder, handler) {
2168
- argsert('<string|null|undefined> [string|boolean] [function|object] [function]', [msg, description, builder, handler], arguments.length);
2169
- if (description !== undefined) {
2170
- assertNotStrictEqual(msg, null, shim$1);
2171
- if ((msg || '').match(/^\$0( |$)/)) {
2172
- return self.command(msg, description, builder, handler);
2173
- }
2174
- else {
2175
- throw new YError('.usage() description must start with $0 if being used as alias for .command()');
2176
- }
2177
- }
2178
- else {
2179
- usage$1.usage(msg);
2180
- return self;
2181
- }
2182
- };
2183
- self.epilogue = self.epilog = function (msg) {
2184
- argsert('<string>', [msg], arguments.length);
2185
- usage$1.epilog(msg);
2186
- return self;
2187
- };
2188
- self.fail = function (f) {
2189
- argsert('<function>', [f], arguments.length);
2190
- usage$1.failFn(f);
2191
- return self;
2192
- };
2193
- self.onFinishCommand = function (f) {
2194
- argsert('<function>', [f], arguments.length);
2195
- handlerFinishCommand = f;
2196
- return self;
2197
- };
2198
- self.getHandlerFinishCommand = () => handlerFinishCommand;
2199
- self.check = function (f, _global) {
2200
- argsert('<function> [boolean]', [f, _global], arguments.length);
2201
- validation$1.check(f, _global !== false);
2202
- return self;
2203
- };
2204
- self.global = function global(globals, global) {
2205
- argsert('<string|array> [boolean]', [globals, global], arguments.length);
2206
- globals = [].concat(globals);
2207
- if (global !== false) {
2208
- options.local = options.local.filter(l => globals.indexOf(l) === -1);
2209
- }
2210
- else {
2211
- globals.forEach(g => {
2212
- if (options.local.indexOf(g) === -1)
2213
- options.local.push(g);
2214
- });
2215
- }
2216
- return self;
2217
- };
2218
- self.pkgConf = function pkgConf(key, rootPath) {
2219
- argsert('<string> [string]', [key, rootPath], arguments.length);
2220
- let conf = null;
2221
- const obj = pkgUp(rootPath || cwd);
2222
- if (obj[key] && typeof obj[key] === 'object') {
2223
- conf = applyExtends(obj[key], rootPath || cwd, self.getParserConfiguration()['deep-merge-config'] || false, shim$1);
2224
- options.configObjects = (options.configObjects || []).concat(conf);
2225
- }
2226
- return self;
2227
- };
2228
- const pkgs = {};
2229
- function pkgUp(rootPath) {
2230
- const npath = rootPath || '*';
2231
- if (pkgs[npath])
2232
- return pkgs[npath];
2233
- let obj = {};
2234
- try {
2235
- let startDir = rootPath || shim$1.mainFilename;
2236
- if (!rootPath && shim$1.path.extname(startDir)) {
2237
- startDir = shim$1.path.dirname(startDir);
2238
- }
2239
- const pkgJsonPath = shim$1.findUp(startDir, (dir, names) => {
2240
- if (names.includes('package.json')) {
2241
- return 'package.json';
2242
- }
2243
- else {
2244
- return undefined;
2245
- }
2246
- });
2247
- assertNotStrictEqual(pkgJsonPath, undefined, shim$1);
2248
- obj = JSON.parse(shim$1.readFileSync(pkgJsonPath, 'utf8'));
2249
- }
2250
- catch (_noop) { }
2251
- pkgs[npath] = obj || {};
2252
- return pkgs[npath];
2253
- }
2254
- let parseFn = null;
2255
- let parseContext = null;
2256
- self.parse = function parse(args, shortCircuit, _parseFn) {
2257
- argsert('[string|array] [function|boolean|object] [function]', [args, shortCircuit, _parseFn], arguments.length);
2258
- freeze();
2259
- if (typeof args === 'undefined') {
2260
- const argv = self._parseArgs(processArgs);
2261
- const tmpParsed = self.parsed;
2262
- unfreeze();
2263
- self.parsed = tmpParsed;
2264
- return argv;
2265
- }
2266
- if (typeof shortCircuit === 'object') {
2267
- parseContext = shortCircuit;
2268
- shortCircuit = _parseFn;
2269
- }
2270
- if (typeof shortCircuit === 'function') {
2271
- parseFn = shortCircuit;
2272
- shortCircuit = false;
2273
- }
2274
- if (!shortCircuit)
2275
- processArgs = args;
2276
- if (parseFn)
2277
- exitProcess = false;
2278
- const parsed = self._parseArgs(args, !!shortCircuit);
2279
- completion$1.setParsed(self.parsed);
2280
- if (parseFn)
2281
- parseFn(exitError, parsed, output);
2282
- unfreeze();
2283
- return parsed;
2284
- };
2285
- self._getParseContext = () => parseContext || {};
2286
- self._hasParseCallback = () => !!parseFn;
2287
- self.option = self.options = function option(key, opt) {
2288
- argsert('<string|object> [object]', [key, opt], arguments.length);
2289
- if (typeof key === 'object') {
2290
- Object.keys(key).forEach(k => {
2291
- self.options(k, key[k]);
2292
- });
2293
- }
2294
- else {
2295
- if (typeof opt !== 'object') {
2296
- opt = {};
2297
- }
2298
- options.key[key] = true;
2299
- if (opt.alias)
2300
- self.alias(key, opt.alias);
2301
- const deprecate = opt.deprecate || opt.deprecated;
2302
- if (deprecate) {
2303
- self.deprecateOption(key, deprecate);
2304
- }
2305
- const demand = opt.demand || opt.required || opt.require;
2306
- if (demand) {
2307
- self.demand(key, demand);
2308
- }
2309
- if (opt.demandOption) {
2310
- self.demandOption(key, typeof opt.demandOption === 'string' ? opt.demandOption : undefined);
2311
- }
2312
- if (opt.conflicts) {
2313
- self.conflicts(key, opt.conflicts);
2314
- }
2315
- if ('default' in opt) {
2316
- self.default(key, opt.default);
2317
- }
2318
- if (opt.implies !== undefined) {
2319
- self.implies(key, opt.implies);
2320
- }
2321
- if (opt.nargs !== undefined) {
2322
- self.nargs(key, opt.nargs);
2323
- }
2324
- if (opt.config) {
2325
- self.config(key, opt.configParser);
2326
- }
2327
- if (opt.normalize) {
2328
- self.normalize(key);
2329
- }
2330
- if (opt.choices) {
2331
- self.choices(key, opt.choices);
2332
- }
2333
- if (opt.coerce) {
2334
- self.coerce(key, opt.coerce);
2335
- }
2336
- if (opt.group) {
2337
- self.group(key, opt.group);
2338
- }
2339
- if (opt.boolean || opt.type === 'boolean') {
2340
- self.boolean(key);
2341
- if (opt.alias)
2342
- self.boolean(opt.alias);
2343
- }
2344
- if (opt.array || opt.type === 'array') {
2345
- self.array(key);
2346
- if (opt.alias)
2347
- self.array(opt.alias);
2348
- }
2349
- if (opt.number || opt.type === 'number') {
2350
- self.number(key);
2351
- if (opt.alias)
2352
- self.number(opt.alias);
2353
- }
2354
- if (opt.string || opt.type === 'string') {
2355
- self.string(key);
2356
- if (opt.alias)
2357
- self.string(opt.alias);
2358
- }
2359
- if (opt.count || opt.type === 'count') {
2360
- self.count(key);
2361
- }
2362
- if (typeof opt.global === 'boolean') {
2363
- self.global(key, opt.global);
2364
- }
2365
- if (opt.defaultDescription) {
2366
- options.defaultDescription[key] = opt.defaultDescription;
2367
- }
2368
- if (opt.skipValidation) {
2369
- self.skipValidation(key);
2370
- }
2371
- const desc = opt.describe || opt.description || opt.desc;
2372
- self.describe(key, desc);
2373
- if (opt.hidden) {
2374
- self.hide(key);
2375
- }
2376
- if (opt.requiresArg) {
2377
- self.requiresArg(key);
2378
- }
2379
- }
2380
- return self;
2381
- };
2382
- self.getOptions = () => options;
2383
- self.positional = function (key, opts) {
2384
- argsert('<string> <object>', [key, opts], arguments.length);
2385
- if (context.resets === 0) {
2386
- throw new YError(".positional() can only be called in a command's builder function");
2387
- }
2388
- const supportedOpts = [
2389
- 'default',
2390
- 'defaultDescription',
2391
- 'implies',
2392
- 'normalize',
2393
- 'choices',
2394
- 'conflicts',
2395
- 'coerce',
2396
- 'type',
2397
- 'describe',
2398
- 'desc',
2399
- 'description',
2400
- 'alias',
2401
- ];
2402
- opts = objFilter(opts, (k, v) => {
2403
- let accept = supportedOpts.indexOf(k) !== -1;
2404
- if (k === 'type' && ['string', 'number', 'boolean'].indexOf(v) === -1)
2405
- accept = false;
2406
- return accept;
2407
- });
2408
- const fullCommand = context.fullCommands[context.fullCommands.length - 1];
2409
- const parseOptions = fullCommand
2410
- ? command$1.cmdToParseOptions(fullCommand)
2411
- : {
2412
- array: [],
2413
- alias: {},
2414
- default: {},
2415
- demand: {},
2416
- };
2417
- objectKeys(parseOptions).forEach(pk => {
2418
- const parseOption = parseOptions[pk];
2419
- if (Array.isArray(parseOption)) {
2420
- if (parseOption.indexOf(key) !== -1)
2421
- opts[pk] = true;
2422
- }
2423
- else {
2424
- if (parseOption[key] && !(pk in opts))
2425
- opts[pk] = parseOption[key];
2426
- }
2427
- });
2428
- self.group(key, usage$1.getPositionalGroupName());
2429
- return self.option(key, opts);
2430
- };
2431
- self.group = function group(opts, groupName) {
2432
- argsert('<string|array> <string>', [opts, groupName], arguments.length);
2433
- const existing = preservedGroups[groupName] || groups[groupName];
2434
- if (preservedGroups[groupName]) {
2435
- delete preservedGroups[groupName];
2436
- }
2437
- const seen = {};
2438
- groups[groupName] = (existing || []).concat(opts).filter(key => {
2439
- if (seen[key])
2440
- return false;
2441
- return (seen[key] = true);
2442
- });
2443
- return self;
2444
- };
2445
- self.getGroups = () => Object.assign({}, groups, preservedGroups);
2446
- self.env = function (prefix) {
2447
- argsert('[string|boolean]', [prefix], arguments.length);
2448
- if (prefix === false)
2449
- delete options.envPrefix;
2450
- else
2451
- options.envPrefix = prefix || '';
2452
- return self;
2453
- };
2454
- self.wrap = function (cols) {
2455
- argsert('<number|null|undefined>', [cols], arguments.length);
2456
- usage$1.wrap(cols);
2457
- return self;
2458
- };
2459
- let strict = false;
2460
- self.strict = function (enabled) {
2461
- argsert('[boolean]', [enabled], arguments.length);
2462
- strict = enabled !== false;
2463
- return self;
2464
- };
2465
- self.getStrict = () => strict;
2466
- let strictCommands = false;
2467
- self.strictCommands = function (enabled) {
2468
- argsert('[boolean]', [enabled], arguments.length);
2469
- strictCommands = enabled !== false;
2470
- return self;
2471
- };
2472
- self.getStrictCommands = () => strictCommands;
2473
- let strictOptions = false;
2474
- self.strictOptions = function (enabled) {
2475
- argsert('[boolean]', [enabled], arguments.length);
2476
- strictOptions = enabled !== false;
2477
- return self;
2478
- };
2479
- self.getStrictOptions = () => strictOptions;
2480
- let parserConfig = {};
2481
- self.parserConfiguration = function parserConfiguration(config) {
2482
- argsert('<object>', [config], arguments.length);
2483
- parserConfig = config;
2484
- return self;
2485
- };
2486
- self.getParserConfiguration = () => parserConfig;
2487
- self.showHelp = function (level) {
2488
- argsert('[string|function]', [level], arguments.length);
2489
- if (!self.parsed)
2490
- self._parseArgs(processArgs);
2491
- if (command$1.hasDefaultCommand()) {
2492
- context.resets++;
2493
- command$1.runDefaultBuilderOn(self);
2494
- }
2495
- usage$1.showHelp(level);
2496
- return self;
2497
- };
2498
- let versionOpt = null;
2499
- self.version = function version(opt, msg, ver) {
2500
- const defaultVersionOpt = 'version';
2501
- argsert('[boolean|string] [string] [string]', [opt, msg, ver], arguments.length);
2502
- if (versionOpt) {
2503
- deleteFromParserHintObject(versionOpt);
2504
- usage$1.version(undefined);
2505
- versionOpt = null;
2506
- }
2507
- if (arguments.length === 0) {
2508
- ver = guessVersion();
2509
- opt = defaultVersionOpt;
2510
- }
2511
- else if (arguments.length === 1) {
2512
- if (opt === false) {
2513
- return self;
2514
- }
2515
- ver = opt;
2516
- opt = defaultVersionOpt;
2517
- }
2518
- else if (arguments.length === 2) {
2519
- ver = msg;
2520
- msg = undefined;
2521
- }
2522
- versionOpt = typeof opt === 'string' ? opt : defaultVersionOpt;
2523
- msg = msg || usage$1.deferY18nLookup('Show version number');
2524
- usage$1.version(ver || undefined);
2525
- self.boolean(versionOpt);
2526
- self.describe(versionOpt, msg);
2527
- return self;
2528
- };
2529
- function guessVersion() {
2530
- const obj = pkgUp();
2531
- return obj.version || 'unknown';
2532
- }
2533
- let helpOpt = null;
2534
- self.addHelpOpt = self.help = function addHelpOpt(opt, msg) {
2535
- const defaultHelpOpt = 'help';
2536
- argsert('[string|boolean] [string]', [opt, msg], arguments.length);
2537
- if (helpOpt) {
2538
- deleteFromParserHintObject(helpOpt);
2539
- helpOpt = null;
2540
- }
2541
- if (arguments.length === 1) {
2542
- if (opt === false)
2543
- return self;
2544
- }
2545
- helpOpt = typeof opt === 'string' ? opt : defaultHelpOpt;
2546
- self.boolean(helpOpt);
2547
- self.describe(helpOpt, msg || usage$1.deferY18nLookup('Show help'));
2548
- return self;
2549
- };
2550
- const defaultShowHiddenOpt = 'show-hidden';
2551
- options.showHiddenOpt = defaultShowHiddenOpt;
2552
- self.addShowHiddenOpt = self.showHidden = function addShowHiddenOpt(opt, msg) {
2553
- argsert('[string|boolean] [string]', [opt, msg], arguments.length);
2554
- if (arguments.length === 1) {
2555
- if (opt === false)
2556
- return self;
2557
- }
2558
- const showHiddenOpt = typeof opt === 'string' ? opt : defaultShowHiddenOpt;
2559
- self.boolean(showHiddenOpt);
2560
- self.describe(showHiddenOpt, msg || usage$1.deferY18nLookup('Show hidden options'));
2561
- options.showHiddenOpt = showHiddenOpt;
2562
- return self;
2563
- };
2564
- self.hide = function hide(key) {
2565
- argsert('<string>', [key], arguments.length);
2566
- options.hiddenOptions.push(key);
2567
- return self;
2568
- };
2569
- self.showHelpOnFail = function showHelpOnFail(enabled, message) {
2570
- argsert('[boolean|string] [string]', [enabled, message], arguments.length);
2571
- usage$1.showHelpOnFail(enabled, message);
2572
- return self;
2573
- };
2574
- let exitProcess = true;
2575
- self.exitProcess = function (enabled = true) {
2576
- argsert('[boolean]', [enabled], arguments.length);
2577
- exitProcess = enabled;
2578
- return self;
2579
- };
2580
- self.getExitProcess = () => exitProcess;
2581
- self.showCompletionScript = function ($0, cmd) {
2582
- argsert('[string] [string]', [$0, cmd], arguments.length);
2583
- $0 = $0 || self.$0;
2584
- _logger.log(completion$1.generateCompletionScript($0, cmd || completionCommand || 'completion'));
2585
- return self;
2586
- };
2587
- self.getCompletion = function (args, done) {
2588
- argsert('<array> <function>', [args, done], arguments.length);
2589
- completion$1.getCompletion(args, done);
2590
- };
2591
- self.locale = function (locale) {
2592
- argsert('[string]', [locale], arguments.length);
2593
- if (!locale) {
2594
- guessLocale();
2595
- return y18n.getLocale();
2596
- }
2597
- detectLocale = false;
2598
- y18n.setLocale(locale);
2599
- return self;
2600
- };
2601
- self.updateStrings = self.updateLocale = function (obj) {
2602
- argsert('<object>', [obj], arguments.length);
2603
- detectLocale = false;
2604
- y18n.updateLocale(obj);
2605
- return self;
2606
- };
2607
- let detectLocale = true;
2608
- self.detectLocale = function (detect) {
2609
- argsert('<boolean>', [detect], arguments.length);
2610
- detectLocale = detect;
2611
- return self;
2612
- };
2613
- self.getDetectLocale = () => detectLocale;
2614
- const _logger = {
2615
- log(...args) {
2616
- if (!self._hasParseCallback())
2617
- console.log(...args);
2618
- hasOutput = true;
2619
- if (output.length)
2620
- output += '\n';
2621
- output += args.join(' ');
2622
- },
2623
- error(...args) {
2624
- if (!self._hasParseCallback())
2625
- console.error(...args);
2626
- hasOutput = true;
2627
- if (output.length)
2628
- output += '\n';
2629
- output += args.join(' ');
2630
- },
2631
- };
2632
- self._getLoggerInstance = () => _logger;
2633
- self._hasOutput = () => hasOutput;
2634
- self._setHasOutput = () => {
2635
- hasOutput = true;
2636
- };
2637
- let recommendCommands;
2638
- self.recommendCommands = function (recommend = true) {
2639
- argsert('[boolean]', [recommend], arguments.length);
2640
- recommendCommands = recommend;
2641
- return self;
2642
- };
2643
- self.getUsageInstance = () => usage$1;
2644
- self.getValidationInstance = () => validation$1;
2645
- self.getCommandInstance = () => command$1;
2646
- self.terminalWidth = () => {
2647
- argsert([], 0);
2648
- return shim$1.process.stdColumns;
2649
- };
2650
- Object.defineProperty(self, 'argv', {
2651
- get: () => self._parseArgs(processArgs),
2652
- enumerable: true,
2653
- });
2654
- self._parseArgs = function parseArgs(args, shortCircuit, _calledFromCommand, commandIndex) {
2655
- let skipValidation = !!_calledFromCommand;
2656
- args = args || processArgs;
2657
- options.__ = y18n.__;
2658
- options.configuration = self.getParserConfiguration();
2659
- const populateDoubleDash = !!options.configuration['populate--'];
2660
- const config = Object.assign({}, options.configuration, {
2661
- 'populate--': true,
2662
- });
2663
- const parsed = shim$1.Parser.detailed(args, Object.assign({}, options, {
2664
- configuration: Object.assign({ 'parse-positional-numbers': false }, config),
2665
- }));
2666
- let argv = parsed.argv;
2667
- if (parseContext)
2668
- argv = Object.assign({}, argv, parseContext);
2669
- const aliases = parsed.aliases;
2670
- argv.$0 = self.$0;
2671
- self.parsed = parsed;
2672
- try {
2673
- guessLocale();
2674
- if (shortCircuit) {
2675
- return self._postProcess(argv, populateDoubleDash, _calledFromCommand);
2676
- }
2677
- if (helpOpt) {
2678
- const helpCmds = [helpOpt]
2679
- .concat(aliases[helpOpt] || [])
2680
- .filter(k => k.length > 1);
2681
- if (~helpCmds.indexOf('' + argv._[argv._.length - 1])) {
2682
- argv._.pop();
2683
- argv[helpOpt] = true;
2684
- }
2685
- }
2686
- const handlerKeys = command$1.getCommands();
2687
- const requestCompletions = completion$1.completionKey in argv;
2688
- const skipRecommendation = argv[helpOpt] || requestCompletions;
2689
- const skipDefaultCommand = skipRecommendation &&
2690
- (handlerKeys.length > 1 || handlerKeys[0] !== '$0');
2691
- if (argv._.length) {
2692
- if (handlerKeys.length) {
2693
- let firstUnknownCommand;
2694
- for (let i = commandIndex || 0, cmd; argv._[i] !== undefined; i++) {
2695
- cmd = String(argv._[i]);
2696
- if (~handlerKeys.indexOf(cmd) && cmd !== completionCommand) {
2697
- const innerArgv = command$1.runCommand(cmd, self, parsed, i + 1);
2698
- return self._postProcess(innerArgv, populateDoubleDash);
2699
- }
2700
- else if (!firstUnknownCommand && cmd !== completionCommand) {
2701
- firstUnknownCommand = cmd;
2702
- break;
2703
- }
2704
- }
2705
- if (command$1.hasDefaultCommand() && !skipDefaultCommand) {
2706
- const innerArgv = command$1.runCommand(null, self, parsed);
2707
- return self._postProcess(innerArgv, populateDoubleDash);
2708
- }
2709
- if (recommendCommands && firstUnknownCommand && !skipRecommendation) {
2710
- validation$1.recommendCommands(firstUnknownCommand, handlerKeys);
2711
- }
2712
- }
2713
- if (completionCommand &&
2714
- ~argv._.indexOf(completionCommand) &&
2715
- !requestCompletions) {
2716
- if (exitProcess)
2717
- setBlocking(true);
2718
- self.showCompletionScript();
2719
- self.exit(0);
2720
- }
2721
- }
2722
- else if (command$1.hasDefaultCommand() && !skipDefaultCommand) {
2723
- const innerArgv = command$1.runCommand(null, self, parsed);
2724
- return self._postProcess(innerArgv, populateDoubleDash);
2725
- }
2726
- if (requestCompletions) {
2727
- if (exitProcess)
2728
- setBlocking(true);
2729
- args = [].concat(args);
2730
- const completionArgs = args.slice(args.indexOf(`--${completion$1.completionKey}`) + 1);
2731
- completion$1.getCompletion(completionArgs, completions => {
2732
- (completions || []).forEach(completion => {
2733
- _logger.log(completion);
2734
- });
2735
- self.exit(0);
2736
- });
2737
- return self._postProcess(argv, !populateDoubleDash, _calledFromCommand);
2738
- }
2739
- if (!hasOutput) {
2740
- Object.keys(argv).forEach(key => {
2741
- if (key === helpOpt && argv[key]) {
2742
- if (exitProcess)
2743
- setBlocking(true);
2744
- skipValidation = true;
2745
- self.showHelp('log');
2746
- self.exit(0);
2747
- }
2748
- else if (key === versionOpt && argv[key]) {
2749
- if (exitProcess)
2750
- setBlocking(true);
2751
- skipValidation = true;
2752
- usage$1.showVersion();
2753
- self.exit(0);
2754
- }
2755
- });
2756
- }
2757
- if (!skipValidation && options.skipValidation.length > 0) {
2758
- skipValidation = Object.keys(argv).some(key => options.skipValidation.indexOf(key) >= 0 && argv[key] === true);
2759
- }
2760
- if (!skipValidation) {
2761
- if (parsed.error)
2762
- throw new YError(parsed.error.message);
2763
- if (!requestCompletions) {
2764
- self._runValidation(argv, aliases, {}, parsed.error);
2765
- }
2766
- }
2767
- }
2768
- catch (err) {
2769
- if (err instanceof YError)
2770
- usage$1.fail(err.message, err);
2771
- else
2772
- throw err;
2773
- }
2774
- return self._postProcess(argv, populateDoubleDash, _calledFromCommand);
2775
- };
2776
- self._postProcess = function (argv, populateDoubleDash, calledFromCommand = false) {
2777
- if (isPromise(argv))
2778
- return argv;
2779
- if (calledFromCommand)
2780
- return argv;
2781
- if (!populateDoubleDash) {
2782
- argv = self._copyDoubleDash(argv);
2783
- }
2784
- const parsePositionalNumbers = self.getParserConfiguration()['parse-positional-numbers'] ||
2785
- self.getParserConfiguration()['parse-positional-numbers'] === undefined;
2786
- if (parsePositionalNumbers) {
2787
- argv = self._parsePositionalNumbers(argv);
2788
- }
2789
- return argv;
2790
- };
2791
- self._copyDoubleDash = function (argv) {
2792
- if (!argv._ || !argv['--'])
2793
- return argv;
2794
- argv._.push.apply(argv._, argv['--']);
2795
- try {
2796
- delete argv['--'];
2797
- }
2798
- catch (_err) { }
2799
- return argv;
2800
- };
2801
- self._parsePositionalNumbers = function (argv) {
2802
- const args = argv['--'] ? argv['--'] : argv._;
2803
- for (let i = 0, arg; (arg = args[i]) !== undefined; i++) {
2804
- if (shim$1.Parser.looksLikeNumber(arg) &&
2805
- Number.isSafeInteger(Math.floor(parseFloat(`${arg}`)))) {
2806
- args[i] = Number(arg);
2807
- }
2808
- }
2809
- return argv;
2810
- };
2811
- self._runValidation = function runValidation(argv, aliases, positionalMap, parseErrors, isDefaultCommand = false) {
2812
- if (parseErrors)
2813
- throw new YError(parseErrors.message);
2814
- validation$1.nonOptionCount(argv);
2815
- validation$1.requiredArguments(argv);
2816
- let failedStrictCommands = false;
2817
- if (strictCommands) {
2818
- failedStrictCommands = validation$1.unknownCommands(argv);
2819
- }
2820
- if (strict && !failedStrictCommands) {
2821
- validation$1.unknownArguments(argv, aliases, positionalMap, isDefaultCommand);
2822
- }
2823
- else if (strictOptions) {
2824
- validation$1.unknownArguments(argv, aliases, {}, false, false);
2825
- }
2826
- validation$1.customChecks(argv, aliases);
2827
- validation$1.limitedChoices(argv);
2828
- validation$1.implications(argv);
2829
- validation$1.conflicting(argv);
2830
- };
2831
- function guessLocale() {
2832
- if (!detectLocale)
2833
- return;
2834
- const locale = shim$1.getEnv('LC_ALL') ||
2835
- shim$1.getEnv('LC_MESSAGES') ||
2836
- shim$1.getEnv('LANG') ||
2837
- shim$1.getEnv('LANGUAGE') ||
2838
- 'en_US';
2839
- self.locale(locale.replace(/[.:].*/, ''));
2840
- }
2841
- self.help();
2842
- self.version();
2843
- return self;
2844
- }
2845
- const rebase = (base, dir) => shim$1.path.relative(base, dir);
2846
- function isYargsInstance(y) {
2847
- return !!y && typeof y._parseArgs === 'function';
2848
- }
2849
-
2850
- var _a, _b;
2851
- const { readFileSync } = require('fs');
2852
- const { inspect } = require('util');
2853
- const { resolve } = require('path');
2854
- const y18n = require('y18n');
2855
- const Parser = require('yargs-parser');
2856
- var cjsPlatformShim = {
2857
- assert: {
2858
- notStrictEqual: assert.notStrictEqual,
2859
- strictEqual: assert.strictEqual,
2860
- },
2861
- cliui: require('cliui'),
2862
- findUp: require('escalade/sync'),
2863
- getEnv: (key) => {
2864
- return process.env[key];
2865
- },
2866
- getCallerFile: require('get-caller-file'),
2867
- getProcessArgvBin: getProcessArgvBin,
2868
- inspect,
2869
- mainFilename: (_b = (_a = require === null || require === void 0 ? void 0 : require.main) === null || _a === void 0 ? void 0 : _a.filename) !== null && _b !== void 0 ? _b : process.cwd(),
2870
- Parser,
2871
- path: require('path'),
2872
- process: {
2873
- argv: () => process.argv,
2874
- cwd: process.cwd,
2875
- execPath: () => process.execPath,
2876
- exit: (code) => {
2877
- process.exit(code);
2878
- },
2879
- nextTick: process.nextTick,
2880
- stdColumns: typeof process.stdout.columns !== 'undefined'
2881
- ? process.stdout.columns
2882
- : null,
2883
- },
2884
- readFileSync,
2885
- require: require,
2886
- requireDirectory: require('require-directory'),
2887
- stringWidth: require('string-width'),
2888
- y18n: y18n({
2889
- directory: resolve(__dirname, '../locales'),
2890
- updateFiles: false,
2891
- }),
2892
- };
2893
-
2894
- const minNodeVersion = process && process.env && process.env.YARGS_MIN_NODE_VERSION
2895
- ? Number(process.env.YARGS_MIN_NODE_VERSION)
2896
- : 10;
2897
- if (process && process.version) {
2898
- const major = Number(process.version.match(/v([^.]+)/)[1]);
2899
- if (major < minNodeVersion) {
2900
- throw Error(`yargs supports a minimum Node.js version of ${minNodeVersion}. Read our version support policy: https://github.com/yargs/yargs#supported-nodejs-versions`);
2901
- }
2902
- }
2903
- const Parser$1 = require('yargs-parser');
2904
- const Yargs$1 = YargsWithShim(cjsPlatformShim);
2905
- var cjs = {
2906
- applyExtends,
2907
- cjsPlatformShim,
2908
- Yargs: Yargs$1,
2909
- argsert,
2910
- globalMiddlewareFactory,
2911
- isPromise,
2912
- objFilter,
2913
- parseCommand,
2914
- Parser: Parser$1,
2915
- processArgv,
2916
- rebase,
2917
- YError,
2918
- };
2919
-
2920
- module.exports = cjs;