@contrail/cli 3.4.4-alpha.1 → 3.4.4-alpha.3b13bd5

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 (2175) hide show
  1. package/README.md +1 -38
  2. package/node_modules/@contrail/entity-types/.github/pull_request_template.md +31 -0
  3. package/node_modules/@contrail/entity-types/.github/workflows/empty.yml +10 -0
  4. package/node_modules/@contrail/entity-types/.github/workflows/generate-entity-types-docs.yml +32 -0
  5. package/node_modules/@contrail/entity-types/.prettierrc.yaml +2 -0
  6. package/node_modules/@contrail/entity-types/README.md +13 -0
  7. package/node_modules/@contrail/entity-types/home-hero.svg +11 -0
  8. package/node_modules/@contrail/entity-types/lib/action-definition-config.d.ts +6 -0
  9. package/node_modules/@contrail/entity-types/lib/action-definition-config.js +2 -0
  10. package/node_modules/@contrail/entity-types/lib/app-access-grant.d.ts +15 -0
  11. package/node_modules/@contrail/entity-types/lib/app-access-grant.js +7 -0
  12. package/node_modules/@contrail/entity-types/lib/app-api-key.d.ts +15 -0
  13. package/node_modules/@contrail/entity-types/lib/app-api-key.js +2 -0
  14. package/node_modules/@contrail/entity-types/lib/app-code-package.d.ts +17 -0
  15. package/node_modules/@contrail/entity-types/lib/app-code-package.js +2 -0
  16. package/node_modules/@contrail/entity-types/lib/app-extension-definition.d.ts +53 -0
  17. package/node_modules/@contrail/entity-types/lib/app-extension-definition.js +18 -0
  18. package/node_modules/@contrail/entity-types/lib/app-extension.d.ts +24 -0
  19. package/node_modules/@contrail/entity-types/lib/app-extension.js +2 -0
  20. package/node_modules/@contrail/entity-types/lib/app-org.d.ts +20 -0
  21. package/node_modules/@contrail/entity-types/lib/app-org.js +11 -0
  22. package/node_modules/@contrail/entity-types/lib/app-version.d.ts +57 -0
  23. package/node_modules/@contrail/entity-types/lib/app-version.js +21 -0
  24. package/node_modules/@contrail/entity-types/lib/app.d.ts +25 -0
  25. package/node_modules/@contrail/entity-types/lib/app.js +2 -0
  26. package/node_modules/@contrail/entity-types/lib/asset.d.ts +16 -0
  27. package/node_modules/@contrail/entity-types/lib/asset.js +2 -0
  28. package/node_modules/@contrail/entity-types/lib/assortment-item.d.ts +27 -0
  29. package/node_modules/@contrail/entity-types/lib/assortment-item.js +2 -0
  30. package/node_modules/@contrail/entity-types/lib/assortment-publish-change.d.ts +48 -0
  31. package/node_modules/@contrail/entity-types/lib/assortment-publish-change.js +2 -0
  32. package/node_modules/@contrail/entity-types/lib/assortment-summary.d.ts +15 -0
  33. package/node_modules/@contrail/entity-types/lib/assortment-summary.js +2 -0
  34. package/node_modules/@contrail/entity-types/lib/assortment.d.ts +39 -0
  35. package/node_modules/@contrail/entity-types/lib/assortment.js +11 -0
  36. package/node_modules/@contrail/entity-types/lib/base-managed-entity.d.ts +8 -0
  37. package/node_modules/@contrail/entity-types/lib/base-managed-entity.js +2 -0
  38. package/node_modules/@contrail/entity-types/lib/batch-fetch-response.d.ts +11 -0
  39. package/node_modules/@contrail/entity-types/lib/batch-fetch-response.js +2 -0
  40. package/node_modules/@contrail/entity-types/lib/client.d.ts +107 -0
  41. package/node_modules/@contrail/entity-types/lib/client.js +114 -0
  42. package/node_modules/@contrail/entity-types/lib/color.d.ts +14 -0
  43. package/node_modules/@contrail/entity-types/lib/color.js +2 -0
  44. package/node_modules/@contrail/entity-types/lib/composite-plans-summary.d.ts +15 -0
  45. package/node_modules/@contrail/entity-types/lib/composite-plans-summary.js +2 -0
  46. package/node_modules/@contrail/entity-types/lib/content-custom-size.d.ts +14 -0
  47. package/node_modules/@contrail/entity-types/lib/content-custom-size.js +2 -0
  48. package/node_modules/@contrail/entity-types/lib/content.d.ts +25 -0
  49. package/node_modules/@contrail/entity-types/lib/content.js +2 -0
  50. package/node_modules/@contrail/entity-types/lib/contentholder-content.d.ts +5 -0
  51. package/node_modules/@contrail/entity-types/lib/contentholder-content.js +2 -0
  52. package/node_modules/@contrail/entity-types/lib/event-workflow-action-definition.d.ts +21 -0
  53. package/node_modules/@contrail/entity-types/lib/event-workflow-action-definition.js +2 -0
  54. package/node_modules/@contrail/entity-types/lib/event-workflow-process.d.ts +27 -0
  55. package/node_modules/@contrail/entity-types/lib/event-workflow-process.js +11 -0
  56. package/node_modules/@contrail/entity-types/lib/event-workflow-task.d.ts +30 -0
  57. package/node_modules/@contrail/entity-types/lib/event-workflow-task.js +2 -0
  58. package/node_modules/@contrail/entity-types/lib/file.d.ts +13 -0
  59. package/node_modules/@contrail/entity-types/lib/file.js +2 -0
  60. package/node_modules/@contrail/entity-types/lib/index.d.ts +40 -0
  61. package/node_modules/@contrail/entity-types/lib/index.js +56 -0
  62. package/node_modules/@contrail/entity-types/lib/item.d.ts +20 -0
  63. package/node_modules/@contrail/entity-types/lib/item.js +2 -0
  64. package/node_modules/@contrail/entity-types/lib/loader.d.ts +234 -0
  65. package/node_modules/@contrail/entity-types/lib/loader.js +134 -0
  66. package/node_modules/@contrail/entity-types/lib/log-level.d.ts +8 -0
  67. package/node_modules/@contrail/entity-types/lib/log-level.js +12 -0
  68. package/node_modules/@contrail/entity-types/lib/org-managed-entity.d.ts +5 -0
  69. package/node_modules/@contrail/entity-types/lib/org-managed-entity.js +2 -0
  70. package/node_modules/@contrail/entity-types/lib/org.d.ts +11 -0
  71. package/node_modules/@contrail/entity-types/lib/org.js +2 -0
  72. package/node_modules/@contrail/entity-types/lib/project-configuration.d.ts +39 -0
  73. package/node_modules/@contrail/entity-types/lib/project-configuration.js +9 -0
  74. package/node_modules/@contrail/entity-types/lib/project-item.d.ts +9 -0
  75. package/node_modules/@contrail/entity-types/lib/project-item.js +2 -0
  76. package/node_modules/@contrail/entity-types/lib/project.d.ts +4 -0
  77. package/node_modules/@contrail/entity-types/lib/project.js +2 -0
  78. package/node_modules/@contrail/entity-types/lib/property-type.d.ts +32 -0
  79. package/node_modules/@contrail/entity-types/lib/property-type.js +31 -0
  80. package/node_modules/@contrail/entity-types/lib/shared-links.d.ts +46 -0
  81. package/node_modules/@contrail/entity-types/lib/shared-links.js +11 -0
  82. package/node_modules/@contrail/entity-types/lib/subscription.d.ts +38 -0
  83. package/node_modules/@contrail/entity-types/lib/subscription.js +22 -0
  84. package/node_modules/@contrail/entity-types/lib/type-managed-entity.d.ts +8 -0
  85. package/node_modules/@contrail/entity-types/lib/type-managed-entity.js +2 -0
  86. package/node_modules/@contrail/entity-types/lib/user.d.ts +79 -0
  87. package/node_modules/@contrail/entity-types/lib/user.js +20 -0
  88. package/node_modules/@contrail/entity-types/lib/workspace-managed-entity.d.ts +5 -0
  89. package/node_modules/@contrail/entity-types/lib/workspace-managed-entity.js +2 -0
  90. package/node_modules/@contrail/entity-types/lib/workspace-principal.d.ts +24 -0
  91. package/node_modules/@contrail/entity-types/lib/workspace-principal.js +9 -0
  92. package/node_modules/@contrail/entity-types/lib/workspace.d.ts +32 -0
  93. package/node_modules/@contrail/entity-types/lib/workspace.js +9 -0
  94. package/node_modules/@contrail/entity-types/package.json +56 -0
  95. package/node_modules/@contrail/loader/README.md +0 -0
  96. package/node_modules/@contrail/loader/lib/index.d.ts +941 -0
  97. package/node_modules/@contrail/loader/lib/index.js +12492 -0
  98. package/node_modules/@contrail/loader/lib/index.js.map +1 -0
  99. package/node_modules/@contrail/loader/package.json +70 -0
  100. package/node_modules/@contrail/org-config-migration/.husky/pre-commit +10 -0
  101. package/node_modules/@contrail/org-config-migration/.lintstagedrc-check.json +3 -0
  102. package/node_modules/@contrail/org-config-migration/.lintstagedrc-format.json +3 -0
  103. package/node_modules/@contrail/org-config-migration/.prettierrc.yaml +2 -0
  104. package/node_modules/@contrail/org-config-migration/lib/index.d.ts +3 -0
  105. package/node_modules/@contrail/org-config-migration/lib/index.js +19 -0
  106. package/node_modules/@contrail/org-config-migration/lib/interfaces.d.ts +97 -0
  107. package/node_modules/@contrail/org-config-migration/lib/interfaces.js +2 -0
  108. package/node_modules/@contrail/org-config-migration/lib/services/index.d.ts +1 -0
  109. package/node_modules/@contrail/org-config-migration/lib/services/index.js +17 -0
  110. package/node_modules/@contrail/org-config-migration/lib/services/types.d.ts +17 -0
  111. package/node_modules/@contrail/org-config-migration/lib/services/types.js +155 -0
  112. package/node_modules/@contrail/org-config-migration/lib/types/exportAll.d.ts +2 -0
  113. package/node_modules/@contrail/org-config-migration/lib/types/exportAll.js +40 -0
  114. package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSet.d.ts +2 -0
  115. package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSet.js +20 -0
  116. package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSetHierarchies.d.ts +3 -0
  117. package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSetHierarchies.js +47 -0
  118. package/node_modules/@contrail/org-config-migration/lib/types/exportOverrides.d.ts +2 -0
  119. package/node_modules/@contrail/org-config-migration/lib/types/exportOverrides.js +8 -0
  120. package/node_modules/@contrail/org-config-migration/lib/types/exportRuleSets.d.ts +3 -0
  121. package/node_modules/@contrail/org-config-migration/lib/types/exportRuleSets.js +39 -0
  122. package/node_modules/@contrail/org-config-migration/lib/types/exportTypePolicies.d.ts +3 -0
  123. package/node_modules/@contrail/org-config-migration/lib/types/exportTypePolicies.js +56 -0
  124. package/node_modules/@contrail/org-config-migration/lib/types/exportTypePropertyPolicies.d.ts +3 -0
  125. package/node_modules/@contrail/org-config-migration/lib/types/exportTypePropertyPolicies.js +71 -0
  126. package/node_modules/@contrail/org-config-migration/lib/types/exportTypes.d.ts +2 -0
  127. package/node_modules/@contrail/org-config-migration/lib/types/exportTypes.js +85 -0
  128. package/node_modules/@contrail/org-config-migration/lib/types/exportUsageInfo.d.ts +2 -0
  129. package/node_modules/@contrail/org-config-migration/lib/types/exportUsageInfo.js +39 -0
  130. package/node_modules/@contrail/org-config-migration/lib/types/importAll.d.ts +2 -0
  131. package/node_modules/@contrail/org-config-migration/lib/types/importAll.js +451 -0
  132. package/node_modules/@contrail/org-config-migration/lib/types/index.d.ts +9 -0
  133. package/node_modules/@contrail/org-config-migration/lib/types/index.js +25 -0
  134. package/node_modules/@contrail/org-config-migration/lib/types/parseOptionSetHierarchy.d.ts +3 -0
  135. package/node_modules/@contrail/org-config-migration/lib/types/parseOptionSetHierarchy.js +210 -0
  136. package/node_modules/@contrail/org-config-migration/lib/users/export.d.ts +2 -0
  137. package/node_modules/@contrail/org-config-migration/lib/users/export.js +40 -0
  138. package/node_modules/@contrail/org-config-migration/lib/users/import.d.ts +2 -0
  139. package/node_modules/@contrail/org-config-migration/lib/users/import.js +41 -0
  140. package/node_modules/@contrail/org-config-migration/lib/users/index.d.ts +2 -0
  141. package/node_modules/@contrail/org-config-migration/lib/users/index.js +18 -0
  142. package/node_modules/@contrail/org-config-migration/node_modules/commander/CHANGELOG.md +361 -0
  143. package/node_modules/@contrail/org-config-migration/node_modules/commander/LICENSE +22 -0
  144. package/node_modules/@contrail/org-config-migration/node_modules/commander/Readme.md +791 -0
  145. package/node_modules/@contrail/org-config-migration/node_modules/commander/index.js +1881 -0
  146. package/node_modules/@contrail/org-config-migration/node_modules/commander/package.json +51 -0
  147. package/node_modules/@contrail/org-config-migration/node_modules/commander/typings/index.d.ts +410 -0
  148. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.eslintrc +10 -0
  149. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.gitattributes +3 -0
  150. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.prettierrc.js +3 -0
  151. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/LICENSE.md +14 -0
  152. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/README.md +15 -0
  153. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/json2csv.js +192 -0
  154. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/utils/TablePrinter.js +117 -0
  155. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/utils/parseNdjson.js +11 -0
  156. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/docs/cli-examples.md +73 -0
  157. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/docs/parser-examples.md +488 -0
  158. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVAsyncParser.js +35 -0
  159. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVBase.js +175 -0
  160. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVParser.js +72 -0
  161. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVStreamParser.js +150 -0
  162. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVTransform.js +74 -0
  163. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/default.js +7 -0
  164. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/number.js +26 -0
  165. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/object.js +17 -0
  166. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/string.js +18 -0
  167. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/stringExcel.js +8 -0
  168. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/stringQuoteOnlyIfNecessary.js +21 -0
  169. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/symbol.js +7 -0
  170. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/json2csv.js +43 -0
  171. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/transforms/flatten.js +37 -0
  172. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/transforms/unwind.js +60 -0
  173. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/utils.js +86 -0
  174. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/package.json +73 -0
  175. package/node_modules/@contrail/org-config-migration/node_modules/json2csv/rollup.config.js +44 -0
  176. package/node_modules/@contrail/org-config-migration/package.json +50 -0
  177. package/node_modules/@contrail/policies/README.md +0 -0
  178. package/node_modules/@contrail/policies/lib/index.d.ts +1 -0
  179. package/node_modules/@contrail/policies/lib/index.js +17 -0
  180. package/node_modules/@contrail/policies/lib/policies/index.d.ts +1 -0
  181. package/node_modules/@contrail/policies/lib/policies/index.js +17 -0
  182. package/node_modules/@contrail/policies/lib/policies/policies.d.ts +41 -0
  183. package/node_modules/@contrail/policies/lib/policies/policies.js +132 -0
  184. package/node_modules/@contrail/policies/package.json +40 -0
  185. package/node_modules/@contrail/sdk/.github/pull_request_template.md +31 -0
  186. package/node_modules/@contrail/sdk/.github/workflows/check-code-formatting.yml +34 -0
  187. package/node_modules/@contrail/sdk/.github/workflows/empty.yml +10 -0
  188. package/node_modules/@contrail/sdk/.github/workflows/generate-sdk-docs.yml +32 -0
  189. package/node_modules/@contrail/sdk/.github/workflows/sdk-lib.yml +27 -0
  190. package/node_modules/@contrail/sdk/.prettierrc.yaml +2 -0
  191. package/node_modules/@contrail/sdk/README.md +72 -0
  192. package/node_modules/@contrail/sdk/home-hero.svg +11 -0
  193. package/node_modules/@contrail/sdk/lib/assets/assets.d.ts +9 -0
  194. package/node_modules/@contrail/sdk/lib/assets/assets.js +54 -0
  195. package/node_modules/@contrail/sdk/lib/assets/index.d.ts +1 -0
  196. package/node_modules/@contrail/sdk/lib/assets/index.js +17 -0
  197. package/node_modules/@contrail/sdk/lib/auth/auth.d.ts +10 -0
  198. package/node_modules/@contrail/sdk/lib/auth/auth.js +6 -0
  199. package/node_modules/@contrail/sdk/lib/auth/index.d.ts +2 -0
  200. package/node_modules/@contrail/sdk/lib/auth/index.js +18 -0
  201. package/node_modules/@contrail/sdk/lib/auth/login.d.ts +10 -0
  202. package/node_modules/@contrail/sdk/lib/auth/login.js +170 -0
  203. package/node_modules/@contrail/sdk/lib/config/config.d.ts +45 -0
  204. package/node_modules/@contrail/sdk/lib/config/config.js +36 -0
  205. package/node_modules/@contrail/sdk/lib/config/index.d.ts +1 -0
  206. package/node_modules/@contrail/sdk/lib/config/index.js +17 -0
  207. package/node_modules/@contrail/sdk/lib/content/content.d.ts +12 -0
  208. package/node_modules/@contrail/sdk/lib/content/content.js +70 -0
  209. package/node_modules/@contrail/sdk/lib/content/index.d.ts +1 -0
  210. package/node_modules/@contrail/sdk/lib/content/index.js +17 -0
  211. package/node_modules/@contrail/sdk/lib/core/index.d.ts +1 -0
  212. package/node_modules/@contrail/sdk/lib/core/index.js +17 -0
  213. package/node_modules/@contrail/sdk/lib/core/request.d.ts +12 -0
  214. package/node_modules/@contrail/sdk/lib/core/request.js +145 -0
  215. package/node_modules/@contrail/sdk/lib/entities/entities.client.d.ts +101 -0
  216. package/node_modules/@contrail/sdk/lib/entities/entities.client.js +306 -0
  217. package/node_modules/@contrail/sdk/lib/entities/entity-reference-expander.d.ts +9 -0
  218. package/node_modules/@contrail/sdk/lib/entities/entity-reference-expander.js +86 -0
  219. package/node_modules/@contrail/sdk/lib/entities/entity-reference.d.ts +6 -0
  220. package/node_modules/@contrail/sdk/lib/entities/entity-reference.js +19 -0
  221. package/node_modules/@contrail/sdk/lib/entities/entity.resource.registry.d.ts +5 -0
  222. package/node_modules/@contrail/sdk/lib/entities/entity.resource.registry.js +57 -0
  223. package/node_modules/@contrail/sdk/lib/entities/index.d.ts +3 -0
  224. package/node_modules/@contrail/sdk/lib/entities/index.js +19 -0
  225. package/node_modules/@contrail/sdk/lib/files/file-type-helper.d.ts +3 -0
  226. package/node_modules/@contrail/sdk/lib/files/file-type-helper.js +24 -0
  227. package/node_modules/@contrail/sdk/lib/files/files.d.ts +9 -0
  228. package/node_modules/@contrail/sdk/lib/files/files.js +110 -0
  229. package/node_modules/@contrail/sdk/lib/files/index.d.ts +1 -0
  230. package/node_modules/@contrail/sdk/lib/files/index.js +17 -0
  231. package/node_modules/@contrail/sdk/lib/index.d.ts +10 -0
  232. package/node_modules/@contrail/sdk/lib/index.js +26 -0
  233. package/node_modules/@contrail/sdk/lib/notifications/index.d.ts +1 -0
  234. package/node_modules/@contrail/sdk/lib/notifications/index.js +17 -0
  235. package/node_modules/@contrail/sdk/lib/notifications/notifications-dispatcher.d.ts +16 -0
  236. package/node_modules/@contrail/sdk/lib/notifications/notifications-dispatcher.js +37 -0
  237. package/node_modules/@contrail/sdk/lib/policies/index.d.ts +1 -0
  238. package/node_modules/@contrail/sdk/lib/policies/index.js +17 -0
  239. package/node_modules/@contrail/sdk/lib/policies/policies-cache.d.ts +12 -0
  240. package/node_modules/@contrail/sdk/lib/policies/policies-cache.js +55 -0
  241. package/node_modules/@contrail/sdk/lib/policies/policies.client.d.ts +9 -0
  242. package/node_modules/@contrail/sdk/lib/policies/policies.client.js +74 -0
  243. package/node_modules/@contrail/sdk/lib/types/index.d.ts +2 -0
  244. package/node_modules/@contrail/sdk/lib/types/index.js +18 -0
  245. package/node_modules/@contrail/sdk/lib/types/sub-types-helper.d.ts +18 -0
  246. package/node_modules/@contrail/sdk/lib/types/sub-types-helper.js +98 -0
  247. package/node_modules/@contrail/sdk/lib/types/types-cache.d.ts +19 -0
  248. package/node_modules/@contrail/sdk/lib/types/types-cache.js +73 -0
  249. package/node_modules/@contrail/sdk/lib/types/types.client.d.ts +42 -0
  250. package/node_modules/@contrail/sdk/lib/types/types.client.js +217 -0
  251. package/node_modules/@contrail/sdk/package.json +61 -0
  252. package/node_modules/@contrail/types/README.md +1 -0
  253. package/node_modules/@contrail/types/lib/copy/copy-helper.d.ts +16 -0
  254. package/node_modules/@contrail/types/lib/copy/copy-helper.js +103 -0
  255. package/node_modules/@contrail/types/lib/copy/index.d.ts +1 -0
  256. package/node_modules/@contrail/types/lib/copy/index.js +17 -0
  257. package/node_modules/@contrail/types/lib/formatter/formatDate.d.ts +3 -0
  258. package/node_modules/@contrail/types/lib/formatter/formatDate.js +77 -0
  259. package/node_modules/@contrail/types/lib/formatter/formatDateCache.d.ts +6 -0
  260. package/node_modules/@contrail/types/lib/formatter/formatDateCache.js +19 -0
  261. package/node_modules/@contrail/types/lib/formatter/formatNumber.d.ts +3 -0
  262. package/node_modules/@contrail/types/lib/formatter/formatNumber.js +40 -0
  263. package/node_modules/@contrail/types/lib/formatter/formatNumberCache.d.ts +6 -0
  264. package/node_modules/@contrail/types/lib/formatter/formatNumberCache.js +19 -0
  265. package/node_modules/@contrail/types/lib/formatter/formatSizeRange.d.ts +1 -0
  266. package/node_modules/@contrail/types/lib/formatter/formatSizeRange.js +25 -0
  267. package/node_modules/@contrail/types/lib/formatter/index.d.ts +1 -0
  268. package/node_modules/@contrail/types/lib/formatter/index.js +17 -0
  269. package/node_modules/@contrail/types/lib/formatter/property-value-formatter.d.ts +37 -0
  270. package/node_modules/@contrail/types/lib/formatter/property-value-formatter.js +332 -0
  271. package/node_modules/@contrail/types/lib/index.d.ts +11 -0
  272. package/node_modules/@contrail/types/lib/index.js +27 -0
  273. package/node_modules/@contrail/types/lib/mocks/type-mocks.d.ts +3 -0
  274. package/node_modules/@contrail/types/lib/mocks/type-mocks.js +5466 -0
  275. package/node_modules/@contrail/types/lib/relations/relation.d.ts +6 -0
  276. package/node_modules/@contrail/types/lib/relations/relation.js +2 -0
  277. package/node_modules/@contrail/types/lib/type-interfaces/index.d.ts +1 -0
  278. package/node_modules/@contrail/types/lib/type-interfaces/index.js +17 -0
  279. package/node_modules/@contrail/types/lib/type-interfaces/type-interface.d.ts +4 -0
  280. package/node_modules/@contrail/types/lib/type-interfaces/type-interface.js +2 -0
  281. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/index.d.ts +2 -0
  282. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/index.js +18 -0
  283. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy-helper.d.ts +10 -0
  284. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy-helper.js +37 -0
  285. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy.d.ts +20 -0
  286. package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy.js +2 -0
  287. package/node_modules/@contrail/types/lib/type-policies/index.d.ts +1 -0
  288. package/node_modules/@contrail/types/lib/type-policies/index.js +17 -0
  289. package/node_modules/@contrail/types/lib/type-policies/type-policy.d.ts +9 -0
  290. package/node_modules/@contrail/types/lib/type-policies/type-policy.js +2 -0
  291. package/node_modules/@contrail/types/lib/type-properties/index.d.ts +3 -0
  292. package/node_modules/@contrail/types/lib/type-properties/index.js +19 -0
  293. package/node_modules/@contrail/types/lib/type-properties/property-types.d.ts +35 -0
  294. package/node_modules/@contrail/types/lib/type-properties/property-types.js +66 -0
  295. package/node_modules/@contrail/types/lib/type-properties/size-range/size-range.d.ts +12 -0
  296. package/node_modules/@contrail/types/lib/type-properties/size-range/size-range.js +2 -0
  297. package/node_modules/@contrail/types/lib/type-properties/type-property.d.ts +103 -0
  298. package/node_modules/@contrail/types/lib/type-properties/type-property.js +39 -0
  299. package/node_modules/@contrail/types/lib/type-property-policies/index.d.ts +1 -0
  300. package/node_modules/@contrail/types/lib/type-property-policies/index.js +17 -0
  301. package/node_modules/@contrail/types/lib/type-property-policies/type-property-policy.d.ts +9 -0
  302. package/node_modules/@contrail/types/lib/type-property-policies/type-property-policy.js +2 -0
  303. package/node_modules/@contrail/types/lib/type-roots/index.d.ts +1 -0
  304. package/node_modules/@contrail/types/lib/type-roots/index.js +17 -0
  305. package/node_modules/@contrail/types/lib/type-roots/type-root.d.ts +7 -0
  306. package/node_modules/@contrail/types/lib/type-roots/type-root.js +2 -0
  307. package/node_modules/@contrail/types/lib/type-rule-sets/index.d.ts +1 -0
  308. package/node_modules/@contrail/types/lib/type-rule-sets/index.js +17 -0
  309. package/node_modules/@contrail/types/lib/type-rule-sets/type-rules.d.ts +18 -0
  310. package/node_modules/@contrail/types/lib/type-rule-sets/type-rules.js +2 -0
  311. package/node_modules/@contrail/types/lib/types/index.d.ts +1 -0
  312. package/node_modules/@contrail/types/lib/types/index.js +17 -0
  313. package/node_modules/@contrail/types/lib/types/type.d.ts +28 -0
  314. package/node_modules/@contrail/types/lib/types/type.js +2 -0
  315. package/node_modules/@contrail/types/lib/types-processor/index.d.ts +3 -0
  316. package/node_modules/@contrail/types/lib/types-processor/index.js +19 -0
  317. package/node_modules/@contrail/types/lib/types-processor/interfaces.d.ts +32 -0
  318. package/node_modules/@contrail/types/lib/types-processor/interfaces.js +2 -0
  319. package/node_modules/@contrail/types/lib/types-processor/parse-optionSet.d.ts +3 -0
  320. package/node_modules/@contrail/types/lib/types-processor/parse-optionSet.js +57 -0
  321. package/node_modules/@contrail/types/lib/types-processor/process-orchestrator.d.ts +13 -0
  322. package/node_modules/@contrail/types/lib/types-processor/process-orchestrator.js +300 -0
  323. package/node_modules/@contrail/types/lib/types-processor/type-creation-helper.d.ts +10 -0
  324. package/node_modules/@contrail/types/lib/types-processor/type-creation-helper.js +147 -0
  325. package/node_modules/@contrail/types/package.json +46 -0
  326. package/node_modules/@contrail/util/CHANGELOG.md +17 -0
  327. package/node_modules/@contrail/util/README.md +1 -0
  328. package/node_modules/@contrail/util/lib/app-util/app-util.d.ts +25 -0
  329. package/node_modules/@contrail/util/lib/app-util/app-util.js +72 -0
  330. package/node_modules/@contrail/util/lib/compression-util/compression.d.ts +2 -0
  331. package/node_modules/@contrail/util/lib/compression-util/compression.js +25 -0
  332. package/node_modules/@contrail/util/lib/compression-util/index.d.ts +1 -0
  333. package/node_modules/@contrail/util/lib/compression-util/index.js +17 -0
  334. package/node_modules/@contrail/util/lib/date-util/date-util.d.ts +4 -0
  335. package/node_modules/@contrail/util/lib/date-util/date-util.js +8 -0
  336. package/node_modules/@contrail/util/lib/date-util/getIsoDatePart/getIsoDatePart.d.ts +1 -0
  337. package/node_modules/@contrail/util/lib/date-util/getIsoDatePart/getIsoDatePart.js +16 -0
  338. package/node_modules/@contrail/util/lib/index.d.ts +11 -0
  339. package/node_modules/@contrail/util/lib/index.js +27 -0
  340. package/node_modules/@contrail/util/lib/map-util/map-util.d.ts +3 -0
  341. package/node_modules/@contrail/util/lib/map-util/map-util.js +18 -0
  342. package/node_modules/@contrail/util/lib/object-util/applyChangesIfEqual/applyChangesIfEqual.d.ts +4 -0
  343. package/node_modules/@contrail/util/lib/object-util/applyChangesIfEqual/applyChangesIfEqual.js +83 -0
  344. package/node_modules/@contrail/util/lib/object-util/cloneDeep/cloneDeep.d.ts +9 -0
  345. package/node_modules/@contrail/util/lib/object-util/cloneDeep/cloneDeep.js +8 -0
  346. package/node_modules/@contrail/util/lib/object-util/cloneDeepPreserveDates/cloneDeepPreserveDates.d.ts +6 -0
  347. package/node_modules/@contrail/util/lib/object-util/cloneDeepPreserveDates/cloneDeepPreserveDates.js +37 -0
  348. package/node_modules/@contrail/util/lib/object-util/compareDeep/compareDeep.d.ts +7 -0
  349. package/node_modules/@contrail/util/lib/object-util/compareDeep/compareDeep.js +96 -0
  350. package/node_modules/@contrail/util/lib/object-util/compareDeep/mockData.d.ts +88 -0
  351. package/node_modules/@contrail/util/lib/object-util/compareDeep/mockData.js +91 -0
  352. package/node_modules/@contrail/util/lib/object-util/flattenObject/flattenObject.d.ts +4 -0
  353. package/node_modules/@contrail/util/lib/object-util/flattenObject/flattenObject.js +60 -0
  354. package/node_modules/@contrail/util/lib/object-util/isObject/isObject.d.ts +1 -0
  355. package/node_modules/@contrail/util/lib/object-util/isObject/isObject.js +6 -0
  356. package/node_modules/@contrail/util/lib/object-util/mergeDeep/mergeDeep.d.ts +1 -0
  357. package/node_modules/@contrail/util/lib/object-util/mergeDeep/mergeDeep.js +25 -0
  358. package/node_modules/@contrail/util/lib/object-util/object-util.d.ts +26 -0
  359. package/node_modules/@contrail/util/lib/object-util/object-util.js +91 -0
  360. package/node_modules/@contrail/util/lib/object-util/retainOnlyProperties/retainOnlyProperties.d.ts +8 -0
  361. package/node_modules/@contrail/util/lib/object-util/retainOnlyProperties/retainOnlyProperties.js +30 -0
  362. package/node_modules/@contrail/util/lib/order-util/order-util.d.ts +3 -0
  363. package/node_modules/@contrail/util/lib/order-util/order-util.js +13 -0
  364. package/node_modules/@contrail/util/lib/performance-util/example-usage.d.ts +1 -0
  365. package/node_modules/@contrail/util/lib/performance-util/example-usage.js +298 -0
  366. package/node_modules/@contrail/util/lib/performance-util/performance-util.d.ts +35 -0
  367. package/node_modules/@contrail/util/lib/performance-util/performance-util.js +257 -0
  368. package/node_modules/@contrail/util/lib/promise-util/promise-util.d.ts +4 -0
  369. package/node_modules/@contrail/util/lib/promise-util/promise-util.js +34 -0
  370. package/node_modules/@contrail/util/lib/retry-util/retry-util.d.ts +6 -0
  371. package/node_modules/@contrail/util/lib/retry-util/retry-util.js +41 -0
  372. package/node_modules/@contrail/util/lib/string-util/string-util.d.ts +10 -0
  373. package/node_modules/@contrail/util/lib/string-util/string-util.js +85 -0
  374. package/node_modules/@contrail/util/lib/timer-util/timer-util.d.ts +32 -0
  375. package/node_modules/@contrail/util/lib/timer-util/timer-util.js +119 -0
  376. package/node_modules/@contrail/util/package.json +46 -0
  377. package/node_modules/@streamparser/json/.eslintrc.js +16 -0
  378. package/node_modules/@streamparser/json/.github/workflows/on-push.yaml +33 -0
  379. package/node_modules/@streamparser/json/.github/workflows/on-release.yaml +19 -0
  380. package/node_modules/@streamparser/json/LICENSE +21 -0
  381. package/node_modules/@streamparser/json/README.md +329 -0
  382. package/node_modules/@streamparser/json/build.deno.js +57 -0
  383. package/node_modules/@streamparser/json/build.mjs.js +35 -0
  384. package/node_modules/@streamparser/json/dist/cjs/index.d.ts +5 -0
  385. package/node_modules/@streamparser/json/dist/cjs/index.js +12 -0
  386. package/node_modules/@streamparser/json/dist/cjs/jsonparser.d.ts +18 -0
  387. package/node_modules/@streamparser/json/dist/cjs/jsonparser.js +46 -0
  388. package/node_modules/@streamparser/json/dist/cjs/tokenizer.d.ts +45 -0
  389. package/node_modules/@streamparser/json/dist/cjs/tokenizer.js +517 -0
  390. package/node_modules/@streamparser/json/dist/cjs/tokenparser.d.ts +55 -0
  391. package/node_modules/@streamparser/json/dist/cjs/tokenparser.js +269 -0
  392. package/node_modules/@streamparser/json/dist/cjs/utils/bufferedString.d.ts +29 -0
  393. package/node_modules/@streamparser/json/dist/cjs/utils/bufferedString.js +63 -0
  394. package/node_modules/@streamparser/json/dist/cjs/utils/constants.d.ts +14 -0
  395. package/node_modules/@streamparser/json/dist/cjs/utils/constants.js +18 -0
  396. package/node_modules/@streamparser/json/dist/cjs/utils/types.d.ts +7 -0
  397. package/node_modules/@streamparser/json/dist/cjs/utils/types.js +2 -0
  398. package/node_modules/@streamparser/json/dist/cjs/utils/utf-8.d.ts +105 -0
  399. package/node_modules/@streamparser/json/dist/cjs/utils/utf-8.js +116 -0
  400. package/node_modules/@streamparser/json/dist/deno/README.md +329 -0
  401. package/node_modules/@streamparser/json/dist/deno/index.ts +5 -0
  402. package/node_modules/@streamparser/json/dist/deno/jsonparser.ts +65 -0
  403. package/node_modules/@streamparser/json/dist/deno/tokenizer.ts +678 -0
  404. package/node_modules/@streamparser/json/dist/deno/tokenparser.ts +390 -0
  405. package/node_modules/@streamparser/json/dist/deno/utils/bufferedString.ts +75 -0
  406. package/node_modules/@streamparser/json/dist/deno/utils/constants.ts +14 -0
  407. package/node_modules/@streamparser/json/dist/deno/utils/types.ts +5 -0
  408. package/node_modules/@streamparser/json/dist/deno/utils/utf-8.ts +113 -0
  409. package/node_modules/@streamparser/json/dist/mjs/index.d.ts +5 -0
  410. package/node_modules/@streamparser/json/dist/mjs/jsonparser.d.ts +18 -0
  411. package/node_modules/@streamparser/json/dist/mjs/tokenizer.d.ts +45 -0
  412. package/node_modules/@streamparser/json/dist/mjs/tokenparser.d.ts +55 -0
  413. package/node_modules/@streamparser/json/dist/mjs/utils/bufferedString.d.ts +29 -0
  414. package/node_modules/@streamparser/json/dist/mjs/utils/constants.d.ts +14 -0
  415. package/node_modules/@streamparser/json/dist/mjs/utils/types.d.ts +7 -0
  416. package/node_modules/@streamparser/json/dist/mjs/utils/utf-8.d.ts +105 -0
  417. package/node_modules/@streamparser/json/dist/umd/index.d.ts +5 -0
  418. package/node_modules/@streamparser/json/dist/umd/index.js +1111 -0
  419. package/node_modules/@streamparser/json/dist/umd/jsonparser.d.ts +18 -0
  420. package/node_modules/@streamparser/json/dist/umd/tokenizer.d.ts +45 -0
  421. package/node_modules/@streamparser/json/dist/umd/tokenparser.d.ts +55 -0
  422. package/node_modules/@streamparser/json/dist/umd/utils/bufferedString.d.ts +29 -0
  423. package/node_modules/@streamparser/json/dist/umd/utils/constants.d.ts +14 -0
  424. package/node_modules/@streamparser/json/dist/umd/utils/types.d.ts +7 -0
  425. package/node_modules/@streamparser/json/dist/umd/utils/utf-8.d.ts +105 -0
  426. package/node_modules/@streamparser/json/package.json +45 -0
  427. package/node_modules/@streamparser/json/performance/index.deno.ts +61 -0
  428. package/node_modules/@streamparser/json/performance/index.node.mjs +62 -0
  429. package/node_modules/@streamparser/json/performance/package-lock.json +32 -0
  430. package/node_modules/@streamparser/json/performance/package.json +17 -0
  431. package/node_modules/@streamparser/json/rollup.config.js +22 -0
  432. package/node_modules/@streamparser/json/samplejson/basic-no-numbers.json +353 -0
  433. package/node_modules/@streamparser/json/samplejson/basic.json +353 -0
  434. package/node_modules/@streamparser/json/src/index.ts +5 -0
  435. package/node_modules/@streamparser/json/src/jsonparser.ts +65 -0
  436. package/node_modules/@streamparser/json/src/tokenizer.ts +678 -0
  437. package/node_modules/@streamparser/json/src/tokenparser.ts +390 -0
  438. package/node_modules/@streamparser/json/src/utils/bufferedString.ts +75 -0
  439. package/node_modules/@streamparser/json/src/utils/constants.ts +14 -0
  440. package/node_modules/@streamparser/json/src/utils/types.ts +5 -0
  441. package/node_modules/@streamparser/json/src/utils/utf-8.ts +113 -0
  442. package/node_modules/@streamparser/json/test/callbacks.ts +89 -0
  443. package/node_modules/@streamparser/json/test/end.ts +127 -0
  444. package/node_modules/@streamparser/json/test/inputs.ts +89 -0
  445. package/node_modules/@streamparser/json/test/keepStack.ts +45 -0
  446. package/node_modules/@streamparser/json/test/offset.ts +89 -0
  447. package/node_modules/@streamparser/json/test/performance.ts +151 -0
  448. package/node_modules/@streamparser/json/test/selectors.ts +87 -0
  449. package/node_modules/@streamparser/json/test/separator.ts +106 -0
  450. package/node_modules/@streamparser/json/test/types/arrays.ts +108 -0
  451. package/node_modules/@streamparser/json/test/types/booleans.ts +75 -0
  452. package/node_modules/@streamparser/json/test/types/null.ts +67 -0
  453. package/node_modules/@streamparser/json/test/types/numbers.ts +117 -0
  454. package/node_modules/@streamparser/json/test/types/objects.ts +134 -0
  455. package/node_modules/@streamparser/json/test/types/strings.ts +233 -0
  456. package/node_modules/@streamparser/json/tsconfig.json +18 -0
  457. package/node_modules/amazon-cognito-identity-js/.eslintignore +1 -0
  458. package/node_modules/amazon-cognito-identity-js/.eslintrc.yaml +30 -0
  459. package/node_modules/amazon-cognito-identity-js/CHANGELOG.md +1756 -0
  460. package/node_modules/amazon-cognito-identity-js/LICENSE.txt +73 -0
  461. package/node_modules/amazon-cognito-identity-js/NOTICE.txt +63 -0
  462. package/node_modules/amazon-cognito-identity-js/README.md +1121 -0
  463. package/node_modules/amazon-cognito-identity-js/RNAWSCognito.podspec +23 -0
  464. package/node_modules/amazon-cognito-identity-js/__mocks__/mocks.js +73 -0
  465. package/node_modules/amazon-cognito-identity-js/__tests__/AuthenticationDetails.test.js +32 -0
  466. package/node_modules/amazon-cognito-identity-js/__tests__/AuthenticationHelper.test.js +893 -0
  467. package/node_modules/amazon-cognito-identity-js/__tests__/BigInteger.test.js +17 -0
  468. package/node_modules/amazon-cognito-identity-js/__tests__/Client.test.js +108 -0
  469. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoAccessToken.test.js +16 -0
  470. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoIdToken.test.js +8 -0
  471. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoJwtToken.test.js +40 -0
  472. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoRefreshToken.test.js +13 -0
  473. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUser.test.js +1660 -0
  474. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserAttribute.test.js +57 -0
  475. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserPool.test.js +92 -0
  476. package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserSession.test.js +78 -0
  477. package/node_modules/amazon-cognito-identity-js/__tests__/CookieStorage.test.js +72 -0
  478. package/node_modules/amazon-cognito-identity-js/__tests__/DateHelper.test.js +12 -0
  479. package/node_modules/amazon-cognito-identity-js/__tests__/StorageHelper.test.js +65 -0
  480. package/node_modules/amazon-cognito-identity-js/__tests__/StorageHelperRN.test.js +120 -0
  481. package/node_modules/amazon-cognito-identity-js/__tests__/UserAgent.test.js +42 -0
  482. package/node_modules/amazon-cognito-identity-js/__tests__/UserAgentDefault.test.js +9 -0
  483. package/node_modules/amazon-cognito-identity-js/__tests__/constants.js +122 -0
  484. package/node_modules/amazon-cognito-identity-js/__tests__/cryptoSecureRandomInt.test.js +59 -0
  485. package/node_modules/amazon-cognito-identity-js/__tests__/index.test.js +23 -0
  486. package/node_modules/amazon-cognito-identity-js/__tests__/util.js +24 -0
  487. package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/fileChanges/last-build.bin +0 -0
  488. package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/fileHashes/fileHashes.lock +0 -0
  489. package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/gc.properties +0 -0
  490. package/node_modules/amazon-cognito-identity-js/android/.gradle/vcs-1/gc.properties +0 -0
  491. package/node_modules/amazon-cognito-identity-js/android/.project +17 -0
  492. package/node_modules/amazon-cognito-identity-js/android/.settings/org.eclipse.buildship.core.prefs +13 -0
  493. package/node_modules/amazon-cognito-identity-js/android/build.gradle +38 -0
  494. package/node_modules/amazon-cognito-identity-js/android/src/main/AndroidManifest.xml +4 -0
  495. package/node_modules/amazon-cognito-identity-js/android/src/main/java/com/amazonaws/RNAWSCognitoModule.java +88 -0
  496. package/node_modules/amazon-cognito-identity-js/android/src/main/java/com/amazonaws/RNAWSCognitoPackage.java +27 -0
  497. package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.js +8036 -0
  498. package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js +40 -0
  499. package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz +0 -0
  500. package/node_modules/amazon-cognito-identity-js/enhance-rn.js +50 -0
  501. package/node_modules/amazon-cognito-identity-js/es/AuthenticationDetails.js +66 -0
  502. package/node_modules/amazon-cognito-identity-js/es/AuthenticationHelper.js +343 -0
  503. package/node_modules/amazon-cognito-identity-js/es/BigInteger.js +758 -0
  504. package/node_modules/amazon-cognito-identity-js/es/Client.js +215 -0
  505. package/node_modules/amazon-cognito-identity-js/es/CognitoAccessToken.js +24 -0
  506. package/node_modules/amazon-cognito-identity-js/es/CognitoIdToken.js +24 -0
  507. package/node_modules/amazon-cognito-identity-js/es/CognitoJwtToken.js +55 -0
  508. package/node_modules/amazon-cognito-identity-js/es/CognitoRefreshToken.js +27 -0
  509. package/node_modules/amazon-cognito-identity-js/es/CognitoUser.js +1807 -0
  510. package/node_modules/amazon-cognito-identity-js/es/CognitoUserAttribute.js +73 -0
  511. package/node_modules/amazon-cognito-identity-js/es/CognitoUserPool.js +174 -0
  512. package/node_modules/amazon-cognito-identity-js/es/CognitoUserSession.js +79 -0
  513. package/node_modules/amazon-cognito-identity-js/es/CookieStorage.js +112 -0
  514. package/node_modules/amazon-cognito-identity-js/es/DateHelper.js +41 -0
  515. package/node_modules/amazon-cognito-identity-js/es/Platform/index.js +34 -0
  516. package/node_modules/amazon-cognito-identity-js/es/Platform/version.js +2 -0
  517. package/node_modules/amazon-cognito-identity-js/es/StorageHelper-rn.js +102 -0
  518. package/node_modules/amazon-cognito-identity-js/es/StorageHelper.js +78 -0
  519. package/node_modules/amazon-cognito-identity-js/es/UserAgent.js +19 -0
  520. package/node_modules/amazon-cognito-identity-js/es/index.js +18 -0
  521. package/node_modules/amazon-cognito-identity-js/es/utils/WordArray.js +46 -0
  522. package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.js +46 -0
  523. package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.native.js +9 -0
  524. package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.web.js +34 -0
  525. package/node_modules/amazon-cognito-identity-js/es/utils/getRandomBase64.native.js +5 -0
  526. package/node_modules/amazon-cognito-identity-js/es/utils/getRandomValues.native.js +58 -0
  527. package/node_modules/amazon-cognito-identity-js/index.d.ts +426 -0
  528. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigDecimal.h +40 -0
  529. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigDecimal.m +224 -0
  530. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigInteger.h +58 -0
  531. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigInteger.m +419 -0
  532. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LICENSE.txt +18 -0
  533. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath.c +6925 -0
  534. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath.h +584 -0
  535. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath_class.h +999 -0
  536. package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath_superclass.h +76 -0
  537. package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.h +9 -0
  538. package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.m +59 -0
  539. package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.xcodeproj/project.pbxproj +295 -0
  540. package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  541. package/node_modules/amazon-cognito-identity-js/jest.config.js +41 -0
  542. package/node_modules/amazon-cognito-identity-js/lib/AuthenticationDetails.js +70 -0
  543. package/node_modules/amazon-cognito-identity-js/lib/AuthenticationHelper.js +348 -0
  544. package/node_modules/amazon-cognito-identity-js/lib/BigInteger.js +760 -0
  545. package/node_modules/amazon-cognito-identity-js/lib/Client.js +220 -0
  546. package/node_modules/amazon-cognito-identity-js/lib/CognitoAccessToken.js +23 -0
  547. package/node_modules/amazon-cognito-identity-js/lib/CognitoIdToken.js +23 -0
  548. package/node_modules/amazon-cognito-identity-js/lib/CognitoJwtToken.js +57 -0
  549. package/node_modules/amazon-cognito-identity-js/lib/CognitoRefreshToken.js +31 -0
  550. package/node_modules/amazon-cognito-identity-js/lib/CognitoUser.js +1813 -0
  551. package/node_modules/amazon-cognito-identity-js/lib/CognitoUserAttribute.js +77 -0
  552. package/node_modules/amazon-cognito-identity-js/lib/CognitoUserPool.js +179 -0
  553. package/node_modules/amazon-cognito-identity-js/lib/CognitoUserSession.js +83 -0
  554. package/node_modules/amazon-cognito-identity-js/lib/CookieStorage.js +117 -0
  555. package/node_modules/amazon-cognito-identity-js/lib/DateHelper.js +45 -0
  556. package/node_modules/amazon-cognito-identity-js/lib/Platform/index.js +42 -0
  557. package/node_modules/amazon-cognito-identity-js/lib/Platform/version.js +7 -0
  558. package/node_modules/amazon-cognito-identity-js/lib/StorageHelper-rn.js +107 -0
  559. package/node_modules/amazon-cognito-identity-js/lib/StorageHelper.js +82 -0
  560. package/node_modules/amazon-cognito-identity-js/lib/UserAgent.js +25 -0
  561. package/node_modules/amazon-cognito-identity-js/lib/index.js +31 -0
  562. package/node_modules/amazon-cognito-identity-js/lib/utils/WordArray.js +50 -0
  563. package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.js +50 -0
  564. package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.native.js +13 -0
  565. package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.web.js +38 -0
  566. package/node_modules/amazon-cognito-identity-js/lib/utils/getRandomBase64.native.js +10 -0
  567. package/node_modules/amazon-cognito-identity-js/lib/utils/getRandomValues.native.js +63 -0
  568. package/node_modules/amazon-cognito-identity-js/package.json +94 -0
  569. package/node_modules/amazon-cognito-identity-js/src/AuthenticationDetails.js +65 -0
  570. package/node_modules/amazon-cognito-identity-js/src/AuthenticationHelper.js +416 -0
  571. package/node_modules/amazon-cognito-identity-js/src/BigInteger.js +809 -0
  572. package/node_modules/amazon-cognito-identity-js/src/Client.js +224 -0
  573. package/node_modules/amazon-cognito-identity-js/src/CognitoAccessToken.js +17 -0
  574. package/node_modules/amazon-cognito-identity-js/src/CognitoIdToken.js +17 -0
  575. package/node_modules/amazon-cognito-identity-js/src/CognitoJwtToken.js +52 -0
  576. package/node_modules/amazon-cognito-identity-js/src/CognitoRefreshToken.js +23 -0
  577. package/node_modules/amazon-cognito-identity-js/src/CognitoUser.js +2205 -0
  578. package/node_modules/amazon-cognito-identity-js/src/CognitoUserAttribute.js +68 -0
  579. package/node_modules/amazon-cognito-identity-js/src/CognitoUserPool.js +194 -0
  580. package/node_modules/amazon-cognito-identity-js/src/CognitoUserSession.js +82 -0
  581. package/node_modules/amazon-cognito-identity-js/src/CookieStorage.js +117 -0
  582. package/node_modules/amazon-cognito-identity-js/src/DateHelper.js +56 -0
  583. package/node_modules/amazon-cognito-identity-js/src/Platform/index.js +38 -0
  584. package/node_modules/amazon-cognito-identity-js/src/Platform/version.js +2 -0
  585. package/node_modules/amazon-cognito-identity-js/src/StorageHelper-rn.js +99 -0
  586. package/node_modules/amazon-cognito-identity-js/src/StorageHelper.js +75 -0
  587. package/node_modules/amazon-cognito-identity-js/src/UserAgent.js +26 -0
  588. package/node_modules/amazon-cognito-identity-js/src/index.js +18 -0
  589. package/node_modules/amazon-cognito-identity-js/src/utils/WordArray.js +50 -0
  590. package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.js +49 -0
  591. package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.native.js +9 -0
  592. package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.web.js +37 -0
  593. package/node_modules/amazon-cognito-identity-js/src/utils/getRandomBase64.native.js +12 -0
  594. package/node_modules/amazon-cognito-identity-js/src/utils/getRandomValues.native.js +61 -0
  595. package/node_modules/amazon-cognito-identity-js/webpack.config.js +58 -0
  596. package/node_modules/asynckit/LICENSE +21 -0
  597. package/node_modules/asynckit/README.md +233 -0
  598. package/node_modules/asynckit/bench.js +76 -0
  599. package/node_modules/asynckit/index.js +6 -0
  600. package/node_modules/asynckit/lib/abort.js +29 -0
  601. package/node_modules/asynckit/lib/async.js +34 -0
  602. package/node_modules/asynckit/lib/defer.js +26 -0
  603. package/node_modules/asynckit/lib/iterate.js +75 -0
  604. package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  605. package/node_modules/asynckit/lib/readable_parallel.js +25 -0
  606. package/node_modules/asynckit/lib/readable_serial.js +25 -0
  607. package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  608. package/node_modules/asynckit/lib/state.js +37 -0
  609. package/node_modules/asynckit/lib/streamify.js +141 -0
  610. package/node_modules/asynckit/lib/terminator.js +29 -0
  611. package/node_modules/asynckit/package.json +63 -0
  612. package/node_modules/asynckit/parallel.js +43 -0
  613. package/node_modules/asynckit/serial.js +17 -0
  614. package/node_modules/asynckit/serialOrdered.js +75 -0
  615. package/node_modules/asynckit/stream.js +21 -0
  616. package/node_modules/base64-js/LICENSE +21 -0
  617. package/node_modules/base64-js/README.md +34 -0
  618. package/node_modules/base64-js/base64js.min.js +1 -0
  619. package/node_modules/base64-js/index.d.ts +3 -0
  620. package/node_modules/base64-js/index.js +150 -0
  621. package/node_modules/base64-js/package.json +47 -0
  622. package/node_modules/buffer/.travis.yml +8 -0
  623. package/node_modules/buffer/AUTHORS.md +44 -0
  624. package/node_modules/buffer/LICENSE +21 -0
  625. package/node_modules/buffer/README.md +378 -0
  626. package/node_modules/buffer/bin/download-node-tests.js +106 -0
  627. package/node_modules/buffer/bin/test.js +41 -0
  628. package/node_modules/buffer/bin/update-authors.sh +21 -0
  629. package/node_modules/buffer/bin/zuul-es5.yml +14 -0
  630. package/node_modules/buffer/bin/zuul-es6.yml +6 -0
  631. package/node_modules/buffer/index.js +1789 -0
  632. package/node_modules/buffer/package.json +77 -0
  633. package/node_modules/buffer/test/_polyfill.js +150 -0
  634. package/node_modules/buffer/test/base64.js +47 -0
  635. package/node_modules/buffer/test/basic.js +85 -0
  636. package/node_modules/buffer/test/compare.js +59 -0
  637. package/node_modules/buffer/test/constructor.js +193 -0
  638. package/node_modules/buffer/test/from-string.js +132 -0
  639. package/node_modules/buffer/test/is-buffer.js +22 -0
  640. package/node_modules/buffer/test/methods.js +127 -0
  641. package/node_modules/buffer/test/node/test-buffer-alloc.js +1501 -0
  642. package/node_modules/buffer/test/node/test-buffer-arraybuffer.js +112 -0
  643. package/node_modules/buffer/test/node/test-buffer-ascii.js +28 -0
  644. package/node_modules/buffer/test/node/test-buffer-bad-overload.js +18 -0
  645. package/node_modules/buffer/test/node/test-buffer-badhex.js +46 -0
  646. package/node_modules/buffer/test/node/test-buffer-bytelength.js +90 -0
  647. package/node_modules/buffer/test/node/test-buffer-compare-offset.js +66 -0
  648. package/node_modules/buffer/test/node/test-buffer-concat.js +40 -0
  649. package/node_modules/buffer/test/node/test-buffer-fill.js +272 -0
  650. package/node_modules/buffer/test/node/test-buffer-includes.js +305 -0
  651. package/node_modules/buffer/test/node/test-buffer-indexof.js +523 -0
  652. package/node_modules/buffer/test/node/test-buffer-inheritance.js +42 -0
  653. package/node_modules/buffer/test/node/test-buffer-inspect.js +41 -0
  654. package/node_modules/buffer/test/node/test-buffer-iterator.js +65 -0
  655. package/node_modules/buffer/test/node/test-buffer-safe-unsafe.js +27 -0
  656. package/node_modules/buffer/test/node/test-buffer-slow.js +63 -0
  657. package/node_modules/buffer/test/node/test-buffer-swap.js +141 -0
  658. package/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js +35 -0
  659. package/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js +22 -0
  660. package/node_modules/buffer/test/node/test-buffer.js +1534 -0
  661. package/node_modules/buffer/test/slice.js +37 -0
  662. package/node_modules/buffer/test/static.js +17 -0
  663. package/node_modules/buffer/test/to-string.js +233 -0
  664. package/node_modules/buffer/test/write.js +131 -0
  665. package/node_modules/buffer/test/write_infinity.js +45 -0
  666. package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  667. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  668. package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  669. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  670. package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  671. package/node_modules/call-bind-apply-helpers/README.md +62 -0
  672. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  673. package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  674. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  675. package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  676. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  677. package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  678. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  679. package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  680. package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  681. package/node_modules/call-bind-apply-helpers/index.js +15 -0
  682. package/node_modules/call-bind-apply-helpers/package.json +85 -0
  683. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  684. package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  685. package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  686. package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  687. package/node_modules/combined-stream/License +19 -0
  688. package/node_modules/combined-stream/Readme.md +138 -0
  689. package/node_modules/combined-stream/lib/combined_stream.js +208 -0
  690. package/node_modules/combined-stream/package.json +25 -0
  691. package/node_modules/crypto-js/CONTRIBUTING.md +28 -0
  692. package/node_modules/crypto-js/LICENSE +24 -0
  693. package/node_modules/crypto-js/README.md +275 -0
  694. package/node_modules/crypto-js/aes.js +234 -0
  695. package/node_modules/crypto-js/blowfish.js +471 -0
  696. package/node_modules/crypto-js/bower.json +39 -0
  697. package/node_modules/crypto-js/cipher-core.js +895 -0
  698. package/node_modules/crypto-js/core.js +807 -0
  699. package/node_modules/crypto-js/crypto-js.js +6657 -0
  700. package/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
  701. package/node_modules/crypto-js/enc-base64.js +136 -0
  702. package/node_modules/crypto-js/enc-base64url.js +148 -0
  703. package/node_modules/crypto-js/enc-hex.js +18 -0
  704. package/node_modules/crypto-js/enc-latin1.js +18 -0
  705. package/node_modules/crypto-js/enc-utf16.js +149 -0
  706. package/node_modules/crypto-js/enc-utf8.js +18 -0
  707. package/node_modules/crypto-js/evpkdf.js +134 -0
  708. package/node_modules/crypto-js/format-hex.js +66 -0
  709. package/node_modules/crypto-js/format-openssl.js +18 -0
  710. package/node_modules/crypto-js/hmac-md5.js +18 -0
  711. package/node_modules/crypto-js/hmac-ripemd160.js +18 -0
  712. package/node_modules/crypto-js/hmac-sha1.js +18 -0
  713. package/node_modules/crypto-js/hmac-sha224.js +18 -0
  714. package/node_modules/crypto-js/hmac-sha256.js +18 -0
  715. package/node_modules/crypto-js/hmac-sha3.js +18 -0
  716. package/node_modules/crypto-js/hmac-sha384.js +18 -0
  717. package/node_modules/crypto-js/hmac-sha512.js +18 -0
  718. package/node_modules/crypto-js/hmac.js +143 -0
  719. package/node_modules/crypto-js/index.js +18 -0
  720. package/node_modules/crypto-js/lib-typedarrays.js +76 -0
  721. package/node_modules/crypto-js/md5.js +268 -0
  722. package/node_modules/crypto-js/mode-cfb.js +80 -0
  723. package/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
  724. package/node_modules/crypto-js/mode-ctr.js +58 -0
  725. package/node_modules/crypto-js/mode-ecb.js +40 -0
  726. package/node_modules/crypto-js/mode-ofb.js +54 -0
  727. package/node_modules/crypto-js/package.json +42 -0
  728. package/node_modules/crypto-js/pad-ansix923.js +49 -0
  729. package/node_modules/crypto-js/pad-iso10126.js +44 -0
  730. package/node_modules/crypto-js/pad-iso97971.js +40 -0
  731. package/node_modules/crypto-js/pad-nopadding.js +30 -0
  732. package/node_modules/crypto-js/pad-pkcs7.js +18 -0
  733. package/node_modules/crypto-js/pad-zeropadding.js +47 -0
  734. package/node_modules/crypto-js/pbkdf2.js +145 -0
  735. package/node_modules/crypto-js/rabbit-legacy.js +190 -0
  736. package/node_modules/crypto-js/rabbit.js +192 -0
  737. package/node_modules/crypto-js/rc4.js +139 -0
  738. package/node_modules/crypto-js/ripemd160.js +267 -0
  739. package/node_modules/crypto-js/sha1.js +150 -0
  740. package/node_modules/crypto-js/sha224.js +80 -0
  741. package/node_modules/crypto-js/sha256.js +199 -0
  742. package/node_modules/crypto-js/sha3.js +326 -0
  743. package/node_modules/crypto-js/sha384.js +83 -0
  744. package/node_modules/crypto-js/sha512.js +326 -0
  745. package/node_modules/crypto-js/tripledes.js +779 -0
  746. package/node_modules/crypto-js/x64-core.js +304 -0
  747. package/node_modules/csv-parse/LICENSE +21 -0
  748. package/node_modules/csv-parse/README.md +86 -0
  749. package/node_modules/csv-parse/dist/cjs/index.cjs +1424 -0
  750. package/node_modules/csv-parse/dist/cjs/index.d.cts +283 -0
  751. package/node_modules/csv-parse/dist/cjs/sync.cjs +1336 -0
  752. package/node_modules/csv-parse/dist/cjs/sync.d.cts +11 -0
  753. package/node_modules/csv-parse/dist/esm/index.d.ts +283 -0
  754. package/node_modules/csv-parse/dist/esm/index.js +6544 -0
  755. package/node_modules/csv-parse/dist/esm/sync.d.ts +11 -0
  756. package/node_modules/csv-parse/dist/esm/sync.js +3305 -0
  757. package/node_modules/csv-parse/dist/iife/index.js +6553 -0
  758. package/node_modules/csv-parse/dist/iife/sync.js +3313 -0
  759. package/node_modules/csv-parse/dist/umd/index.js +6554 -0
  760. package/node_modules/csv-parse/dist/umd/sync.js +3314 -0
  761. package/node_modules/csv-parse/lib/api/CsvError.js +19 -0
  762. package/node_modules/csv-parse/lib/api/index.js +729 -0
  763. package/node_modules/csv-parse/lib/api/init_state.js +58 -0
  764. package/node_modules/csv-parse/lib/api/normalize_columns_array.js +33 -0
  765. package/node_modules/csv-parse/lib/api/normalize_options.js +448 -0
  766. package/node_modules/csv-parse/lib/index.d.ts +283 -0
  767. package/node_modules/csv-parse/lib/index.js +121 -0
  768. package/node_modules/csv-parse/lib/stream.js +27 -0
  769. package/node_modules/csv-parse/lib/sync.d.ts +11 -0
  770. package/node_modules/csv-parse/lib/sync.js +27 -0
  771. package/node_modules/csv-parse/lib/utils/ResizeableBuffer.js +64 -0
  772. package/node_modules/csv-parse/lib/utils/is_object.js +6 -0
  773. package/node_modules/csv-parse/lib/utils/underscore.js +8 -0
  774. package/node_modules/csv-parse/package.json +142 -0
  775. package/node_modules/delayed-stream/.npmignore +1 -0
  776. package/node_modules/delayed-stream/License +19 -0
  777. package/node_modules/delayed-stream/Makefile +7 -0
  778. package/node_modules/delayed-stream/Readme.md +141 -0
  779. package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  780. package/node_modules/delayed-stream/package.json +27 -0
  781. package/node_modules/dunder-proto/.eslintrc +5 -0
  782. package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  783. package/node_modules/dunder-proto/.nycrc +13 -0
  784. package/node_modules/dunder-proto/CHANGELOG.md +24 -0
  785. package/node_modules/dunder-proto/LICENSE +21 -0
  786. package/node_modules/dunder-proto/README.md +54 -0
  787. package/node_modules/dunder-proto/get.d.ts +5 -0
  788. package/node_modules/dunder-proto/get.js +30 -0
  789. package/node_modules/dunder-proto/package.json +76 -0
  790. package/node_modules/dunder-proto/set.d.ts +5 -0
  791. package/node_modules/dunder-proto/set.js +35 -0
  792. package/node_modules/dunder-proto/test/get.js +34 -0
  793. package/node_modules/dunder-proto/test/index.js +4 -0
  794. package/node_modules/dunder-proto/test/set.js +50 -0
  795. package/node_modules/dunder-proto/tsconfig.json +9 -0
  796. package/node_modules/es-define-property/.eslintrc +13 -0
  797. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  798. package/node_modules/es-define-property/.nycrc +9 -0
  799. package/node_modules/es-define-property/CHANGELOG.md +29 -0
  800. package/node_modules/es-define-property/LICENSE +21 -0
  801. package/node_modules/es-define-property/README.md +49 -0
  802. package/node_modules/es-define-property/index.d.ts +3 -0
  803. package/node_modules/es-define-property/index.js +14 -0
  804. package/node_modules/es-define-property/package.json +81 -0
  805. package/node_modules/es-define-property/test/index.js +56 -0
  806. package/node_modules/es-define-property/tsconfig.json +10 -0
  807. package/node_modules/es-errors/.eslintrc +5 -0
  808. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  809. package/node_modules/es-errors/CHANGELOG.md +40 -0
  810. package/node_modules/es-errors/LICENSE +21 -0
  811. package/node_modules/es-errors/README.md +55 -0
  812. package/node_modules/es-errors/eval.d.ts +3 -0
  813. package/node_modules/es-errors/eval.js +4 -0
  814. package/node_modules/es-errors/index.d.ts +3 -0
  815. package/node_modules/es-errors/index.js +4 -0
  816. package/node_modules/es-errors/package.json +80 -0
  817. package/node_modules/es-errors/range.d.ts +3 -0
  818. package/node_modules/es-errors/range.js +4 -0
  819. package/node_modules/es-errors/ref.d.ts +3 -0
  820. package/node_modules/es-errors/ref.js +4 -0
  821. package/node_modules/es-errors/syntax.d.ts +3 -0
  822. package/node_modules/es-errors/syntax.js +4 -0
  823. package/node_modules/es-errors/test/index.js +19 -0
  824. package/node_modules/es-errors/tsconfig.json +49 -0
  825. package/node_modules/es-errors/type.d.ts +3 -0
  826. package/node_modules/es-errors/type.js +4 -0
  827. package/node_modules/es-errors/uri.d.ts +3 -0
  828. package/node_modules/es-errors/uri.js +4 -0
  829. package/node_modules/es-object-atoms/.eslintrc +16 -0
  830. package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  831. package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  832. package/node_modules/es-object-atoms/LICENSE +21 -0
  833. package/node_modules/es-object-atoms/README.md +63 -0
  834. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  835. package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  836. package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  837. package/node_modules/es-object-atoms/ToObject.js +10 -0
  838. package/node_modules/es-object-atoms/index.d.ts +3 -0
  839. package/node_modules/es-object-atoms/index.js +4 -0
  840. package/node_modules/es-object-atoms/isObject.d.ts +3 -0
  841. package/node_modules/es-object-atoms/isObject.js +6 -0
  842. package/node_modules/es-object-atoms/package.json +80 -0
  843. package/node_modules/es-object-atoms/test/index.js +38 -0
  844. package/node_modules/es-object-atoms/tsconfig.json +6 -0
  845. package/node_modules/es-set-tostringtag/.eslintrc +13 -0
  846. package/node_modules/es-set-tostringtag/.nycrc +9 -0
  847. package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  848. package/node_modules/es-set-tostringtag/LICENSE +21 -0
  849. package/node_modules/es-set-tostringtag/README.md +53 -0
  850. package/node_modules/es-set-tostringtag/index.d.ts +10 -0
  851. package/node_modules/es-set-tostringtag/index.js +35 -0
  852. package/node_modules/es-set-tostringtag/package.json +78 -0
  853. package/node_modules/es-set-tostringtag/test/index.js +85 -0
  854. package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  855. package/node_modules/es6-promisify/LICENSE +19 -0
  856. package/node_modules/es6-promisify/README.md +99 -0
  857. package/node_modules/es6-promisify/dist/promisify.js +76 -0
  858. package/node_modules/es6-promisify/package.json +41 -0
  859. package/node_modules/fast-base64-decode/index.d.ts +2 -0
  860. package/node_modules/fast-base64-decode/index.js +33 -0
  861. package/node_modules/fast-base64-decode/package.json +21 -0
  862. package/node_modules/fast-base64-decode/readme.md +21 -0
  863. package/node_modules/fflate/CHANGELOG.md +115 -0
  864. package/node_modules/fflate/LICENSE +21 -0
  865. package/node_modules/fflate/README.md +558 -0
  866. package/node_modules/fflate/esm/browser.d.ts +1501 -0
  867. package/node_modules/fflate/esm/browser.js +2665 -0
  868. package/node_modules/fflate/esm/index.d.mts +1501 -0
  869. package/node_modules/fflate/esm/index.mjs +2679 -0
  870. package/node_modules/fflate/lib/browser.cjs +2688 -0
  871. package/node_modules/fflate/lib/browser.d.cts +1501 -0
  872. package/node_modules/fflate/lib/index.cjs +2668 -0
  873. package/node_modules/fflate/lib/index.d.ts +1501 -0
  874. package/node_modules/fflate/lib/node-worker.cjs +32 -0
  875. package/node_modules/fflate/lib/node.cjs +2700 -0
  876. package/node_modules/fflate/lib/node.d.cts +1501 -0
  877. package/node_modules/fflate/lib/worker.cjs +20 -0
  878. package/node_modules/fflate/package.json +127 -0
  879. package/node_modules/fflate/umd/index.js +1 -0
  880. package/node_modules/form-data/CHANGELOG.md +601 -0
  881. package/node_modules/form-data/License +19 -0
  882. package/node_modules/form-data/README.md +355 -0
  883. package/node_modules/form-data/index.d.ts +62 -0
  884. package/node_modules/form-data/lib/browser.js +4 -0
  885. package/node_modules/form-data/lib/form_data.js +494 -0
  886. package/node_modules/form-data/lib/populate.js +10 -0
  887. package/node_modules/form-data/package.json +82 -0
  888. package/node_modules/function-bind/.eslintrc +21 -0
  889. package/node_modules/function-bind/.github/FUNDING.yml +12 -0
  890. package/node_modules/function-bind/.github/SECURITY.md +3 -0
  891. package/node_modules/function-bind/.nycrc +13 -0
  892. package/node_modules/function-bind/CHANGELOG.md +136 -0
  893. package/node_modules/function-bind/LICENSE +20 -0
  894. package/node_modules/function-bind/README.md +46 -0
  895. package/node_modules/function-bind/implementation.js +84 -0
  896. package/node_modules/function-bind/index.js +5 -0
  897. package/node_modules/function-bind/package.json +87 -0
  898. package/node_modules/function-bind/test/.eslintrc +9 -0
  899. package/node_modules/function-bind/test/index.js +252 -0
  900. package/node_modules/get-intrinsic/.eslintrc +42 -0
  901. package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  902. package/node_modules/get-intrinsic/.nycrc +9 -0
  903. package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  904. package/node_modules/get-intrinsic/LICENSE +21 -0
  905. package/node_modules/get-intrinsic/README.md +71 -0
  906. package/node_modules/get-intrinsic/index.js +378 -0
  907. package/node_modules/get-intrinsic/package.json +97 -0
  908. package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  909. package/node_modules/get-proto/.eslintrc +10 -0
  910. package/node_modules/get-proto/.github/FUNDING.yml +12 -0
  911. package/node_modules/get-proto/.nycrc +9 -0
  912. package/node_modules/get-proto/CHANGELOG.md +21 -0
  913. package/node_modules/get-proto/LICENSE +21 -0
  914. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  915. package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  916. package/node_modules/get-proto/README.md +50 -0
  917. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  918. package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  919. package/node_modules/get-proto/index.d.ts +5 -0
  920. package/node_modules/get-proto/index.js +27 -0
  921. package/node_modules/get-proto/package.json +81 -0
  922. package/node_modules/get-proto/test/index.js +68 -0
  923. package/node_modules/get-proto/tsconfig.json +9 -0
  924. package/node_modules/gopd/.eslintrc +16 -0
  925. package/node_modules/gopd/.github/FUNDING.yml +12 -0
  926. package/node_modules/gopd/CHANGELOG.md +45 -0
  927. package/node_modules/gopd/LICENSE +21 -0
  928. package/node_modules/gopd/README.md +40 -0
  929. package/node_modules/gopd/gOPD.d.ts +1 -0
  930. package/node_modules/gopd/gOPD.js +4 -0
  931. package/node_modules/gopd/index.d.ts +5 -0
  932. package/node_modules/gopd/index.js +15 -0
  933. package/node_modules/gopd/package.json +77 -0
  934. package/node_modules/gopd/test/index.js +36 -0
  935. package/node_modules/gopd/tsconfig.json +9 -0
  936. package/node_modules/has-symbols/.eslintrc +11 -0
  937. package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  938. package/node_modules/has-symbols/.nycrc +9 -0
  939. package/node_modules/has-symbols/CHANGELOG.md +91 -0
  940. package/node_modules/has-symbols/LICENSE +21 -0
  941. package/node_modules/has-symbols/README.md +46 -0
  942. package/node_modules/has-symbols/index.d.ts +3 -0
  943. package/node_modules/has-symbols/index.js +14 -0
  944. package/node_modules/has-symbols/package.json +111 -0
  945. package/node_modules/has-symbols/shams.d.ts +3 -0
  946. package/node_modules/has-symbols/shams.js +45 -0
  947. package/node_modules/has-symbols/test/index.js +22 -0
  948. package/node_modules/has-symbols/test/shams/core-js.js +29 -0
  949. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  950. package/node_modules/has-symbols/test/tests.js +58 -0
  951. package/node_modules/has-symbols/tsconfig.json +10 -0
  952. package/node_modules/has-tostringtag/.eslintrc +5 -0
  953. package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  954. package/node_modules/has-tostringtag/.nycrc +13 -0
  955. package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  956. package/node_modules/has-tostringtag/LICENSE +21 -0
  957. package/node_modules/has-tostringtag/README.md +46 -0
  958. package/node_modules/has-tostringtag/index.d.ts +3 -0
  959. package/node_modules/has-tostringtag/index.js +8 -0
  960. package/node_modules/has-tostringtag/package.json +108 -0
  961. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  962. package/node_modules/has-tostringtag/shams.js +8 -0
  963. package/node_modules/has-tostringtag/test/index.js +21 -0
  964. package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  965. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  966. package/node_modules/has-tostringtag/test/tests.js +15 -0
  967. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  968. package/node_modules/hasown/.eslintrc +5 -0
  969. package/node_modules/hasown/.github/FUNDING.yml +12 -0
  970. package/node_modules/hasown/.nycrc +13 -0
  971. package/node_modules/hasown/CHANGELOG.md +40 -0
  972. package/node_modules/hasown/LICENSE +21 -0
  973. package/node_modules/hasown/README.md +40 -0
  974. package/node_modules/hasown/index.d.ts +3 -0
  975. package/node_modules/hasown/index.js +8 -0
  976. package/node_modules/hasown/package.json +92 -0
  977. package/node_modules/hasown/tsconfig.json +6 -0
  978. package/node_modules/ieee754/LICENSE +11 -0
  979. package/node_modules/ieee754/README.md +53 -0
  980. package/node_modules/ieee754/index.js +84 -0
  981. package/node_modules/ieee754/package.json +37 -0
  982. package/node_modules/isarray/.npmignore +1 -0
  983. package/node_modules/isarray/.travis.yml +4 -0
  984. package/node_modules/isarray/Makefile +6 -0
  985. package/node_modules/isarray/README.md +60 -0
  986. package/node_modules/isarray/component.json +19 -0
  987. package/node_modules/isarray/index.js +5 -0
  988. package/node_modules/isarray/package.json +45 -0
  989. package/node_modules/isarray/test.js +20 -0
  990. package/node_modules/isomorphic-unfetch/browser.js +1 -0
  991. package/node_modules/isomorphic-unfetch/index.d.ts +19 -0
  992. package/node_modules/isomorphic-unfetch/index.js +6 -0
  993. package/node_modules/isomorphic-unfetch/package.json +19 -0
  994. package/node_modules/isomorphic-unfetch/readme.md +53 -0
  995. package/node_modules/js-cookie/CONTRIBUTING.md +79 -0
  996. package/node_modules/js-cookie/LICENSE +21 -0
  997. package/node_modules/js-cookie/README.md +327 -0
  998. package/node_modules/js-cookie/SERVER_SIDE.md +107 -0
  999. package/node_modules/js-cookie/package.json +47 -0
  1000. package/node_modules/js-cookie/src/js.cookie.js +163 -0
  1001. package/node_modules/jsurl/.npmignore +2 -0
  1002. package/node_modules/jsurl/.travis.yml +6 -0
  1003. package/node_modules/jsurl/AUTHORS +3 -0
  1004. package/node_modules/jsurl/README.md +76 -0
  1005. package/node_modules/jsurl/bower.json +18 -0
  1006. package/node_modules/jsurl/examples/demo.css +40 -0
  1007. package/node_modules/jsurl/examples/demo.html +52 -0
  1008. package/node_modules/jsurl/examples/simple.js +12 -0
  1009. package/node_modules/jsurl/index.js +1 -0
  1010. package/node_modules/jsurl/lib/jsurl.js +169 -0
  1011. package/node_modules/jsurl/package.json +22 -0
  1012. package/node_modules/jsurl/test/common/jsurlTest.js +83 -0
  1013. package/node_modules/jsurl/test/index.js +25 -0
  1014. package/node_modules/lodash/LICENSE +47 -0
  1015. package/node_modules/lodash/README.md +39 -0
  1016. package/node_modules/lodash/_DataView.js +7 -0
  1017. package/node_modules/lodash/_Hash.js +32 -0
  1018. package/node_modules/lodash/_LazyWrapper.js +28 -0
  1019. package/node_modules/lodash/_ListCache.js +32 -0
  1020. package/node_modules/lodash/_LodashWrapper.js +22 -0
  1021. package/node_modules/lodash/_Map.js +7 -0
  1022. package/node_modules/lodash/_MapCache.js +32 -0
  1023. package/node_modules/lodash/_Promise.js +7 -0
  1024. package/node_modules/lodash/_Set.js +7 -0
  1025. package/node_modules/lodash/_SetCache.js +27 -0
  1026. package/node_modules/lodash/_Stack.js +27 -0
  1027. package/node_modules/lodash/_Symbol.js +6 -0
  1028. package/node_modules/lodash/_Uint8Array.js +6 -0
  1029. package/node_modules/lodash/_WeakMap.js +7 -0
  1030. package/node_modules/lodash/_apply.js +21 -0
  1031. package/node_modules/lodash/_arrayAggregator.js +22 -0
  1032. package/node_modules/lodash/_arrayEach.js +22 -0
  1033. package/node_modules/lodash/_arrayEachRight.js +21 -0
  1034. package/node_modules/lodash/_arrayEvery.js +23 -0
  1035. package/node_modules/lodash/_arrayFilter.js +25 -0
  1036. package/node_modules/lodash/_arrayIncludes.js +17 -0
  1037. package/node_modules/lodash/_arrayIncludesWith.js +22 -0
  1038. package/node_modules/lodash/_arrayLikeKeys.js +49 -0
  1039. package/node_modules/lodash/_arrayMap.js +21 -0
  1040. package/node_modules/lodash/_arrayPush.js +20 -0
  1041. package/node_modules/lodash/_arrayReduce.js +26 -0
  1042. package/node_modules/lodash/_arrayReduceRight.js +24 -0
  1043. package/node_modules/lodash/_arraySample.js +15 -0
  1044. package/node_modules/lodash/_arraySampleSize.js +17 -0
  1045. package/node_modules/lodash/_arrayShuffle.js +15 -0
  1046. package/node_modules/lodash/_arraySome.js +23 -0
  1047. package/node_modules/lodash/_asciiSize.js +12 -0
  1048. package/node_modules/lodash/_asciiToArray.js +12 -0
  1049. package/node_modules/lodash/_asciiWords.js +15 -0
  1050. package/node_modules/lodash/_assignMergeValue.js +20 -0
  1051. package/node_modules/lodash/_assignValue.js +28 -0
  1052. package/node_modules/lodash/_assocIndexOf.js +21 -0
  1053. package/node_modules/lodash/_baseAggregator.js +21 -0
  1054. package/node_modules/lodash/_baseAssign.js +17 -0
  1055. package/node_modules/lodash/_baseAssignIn.js +17 -0
  1056. package/node_modules/lodash/_baseAssignValue.js +25 -0
  1057. package/node_modules/lodash/_baseAt.js +23 -0
  1058. package/node_modules/lodash/_baseClamp.js +22 -0
  1059. package/node_modules/lodash/_baseClone.js +166 -0
  1060. package/node_modules/lodash/_baseConforms.js +18 -0
  1061. package/node_modules/lodash/_baseConformsTo.js +27 -0
  1062. package/node_modules/lodash/_baseCreate.js +30 -0
  1063. package/node_modules/lodash/_baseDelay.js +21 -0
  1064. package/node_modules/lodash/_baseDifference.js +67 -0
  1065. package/node_modules/lodash/_baseEach.js +14 -0
  1066. package/node_modules/lodash/_baseEachRight.js +14 -0
  1067. package/node_modules/lodash/_baseEvery.js +21 -0
  1068. package/node_modules/lodash/_baseExtremum.js +32 -0
  1069. package/node_modules/lodash/_baseFill.js +32 -0
  1070. package/node_modules/lodash/_baseFilter.js +21 -0
  1071. package/node_modules/lodash/_baseFindIndex.js +24 -0
  1072. package/node_modules/lodash/_baseFindKey.js +23 -0
  1073. package/node_modules/lodash/_baseFlatten.js +38 -0
  1074. package/node_modules/lodash/_baseFor.js +16 -0
  1075. package/node_modules/lodash/_baseForOwn.js +16 -0
  1076. package/node_modules/lodash/_baseForOwnRight.js +16 -0
  1077. package/node_modules/lodash/_baseForRight.js +15 -0
  1078. package/node_modules/lodash/_baseFunctions.js +19 -0
  1079. package/node_modules/lodash/_baseGet.js +24 -0
  1080. package/node_modules/lodash/_baseGetAllKeys.js +20 -0
  1081. package/node_modules/lodash/_baseGetTag.js +28 -0
  1082. package/node_modules/lodash/_baseGt.js +14 -0
  1083. package/node_modules/lodash/_baseHas.js +19 -0
  1084. package/node_modules/lodash/_baseHasIn.js +13 -0
  1085. package/node_modules/lodash/_baseInRange.js +18 -0
  1086. package/node_modules/lodash/_baseIndexOf.js +20 -0
  1087. package/node_modules/lodash/_baseIndexOfWith.js +23 -0
  1088. package/node_modules/lodash/_baseIntersection.js +74 -0
  1089. package/node_modules/lodash/_baseInverter.js +21 -0
  1090. package/node_modules/lodash/_baseInvoke.js +24 -0
  1091. package/node_modules/lodash/_baseIsArguments.js +18 -0
  1092. package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  1093. package/node_modules/lodash/_baseIsDate.js +18 -0
  1094. package/node_modules/lodash/_baseIsEqual.js +28 -0
  1095. package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  1096. package/node_modules/lodash/_baseIsMap.js +18 -0
  1097. package/node_modules/lodash/_baseIsMatch.js +62 -0
  1098. package/node_modules/lodash/_baseIsNaN.js +12 -0
  1099. package/node_modules/lodash/_baseIsNative.js +47 -0
  1100. package/node_modules/lodash/_baseIsRegExp.js +18 -0
  1101. package/node_modules/lodash/_baseIsSet.js +18 -0
  1102. package/node_modules/lodash/_baseIsTypedArray.js +60 -0
  1103. package/node_modules/lodash/_baseIteratee.js +31 -0
  1104. package/node_modules/lodash/_baseKeys.js +30 -0
  1105. package/node_modules/lodash/_baseKeysIn.js +33 -0
  1106. package/node_modules/lodash/_baseLodash.js +10 -0
  1107. package/node_modules/lodash/_baseLt.js +14 -0
  1108. package/node_modules/lodash/_baseMap.js +22 -0
  1109. package/node_modules/lodash/_baseMatches.js +22 -0
  1110. package/node_modules/lodash/_baseMatchesProperty.js +33 -0
  1111. package/node_modules/lodash/_baseMean.js +20 -0
  1112. package/node_modules/lodash/_baseMerge.js +42 -0
  1113. package/node_modules/lodash/_baseMergeDeep.js +94 -0
  1114. package/node_modules/lodash/_baseNth.js +20 -0
  1115. package/node_modules/lodash/_baseOrderBy.js +49 -0
  1116. package/node_modules/lodash/_basePick.js +19 -0
  1117. package/node_modules/lodash/_basePickBy.js +30 -0
  1118. package/node_modules/lodash/_baseProperty.js +14 -0
  1119. package/node_modules/lodash/_basePropertyDeep.js +16 -0
  1120. package/node_modules/lodash/_basePropertyOf.js +14 -0
  1121. package/node_modules/lodash/_basePullAll.js +51 -0
  1122. package/node_modules/lodash/_basePullAt.js +37 -0
  1123. package/node_modules/lodash/_baseRandom.js +18 -0
  1124. package/node_modules/lodash/_baseRange.js +28 -0
  1125. package/node_modules/lodash/_baseReduce.js +23 -0
  1126. package/node_modules/lodash/_baseRepeat.js +35 -0
  1127. package/node_modules/lodash/_baseRest.js +17 -0
  1128. package/node_modules/lodash/_baseSample.js +15 -0
  1129. package/node_modules/lodash/_baseSampleSize.js +18 -0
  1130. package/node_modules/lodash/_baseSet.js +51 -0
  1131. package/node_modules/lodash/_baseSetData.js +17 -0
  1132. package/node_modules/lodash/_baseSetToString.js +22 -0
  1133. package/node_modules/lodash/_baseShuffle.js +15 -0
  1134. package/node_modules/lodash/_baseSlice.js +31 -0
  1135. package/node_modules/lodash/_baseSome.js +22 -0
  1136. package/node_modules/lodash/_baseSortBy.js +21 -0
  1137. package/node_modules/lodash/_baseSortedIndex.js +42 -0
  1138. package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  1139. package/node_modules/lodash/_baseSortedUniq.js +30 -0
  1140. package/node_modules/lodash/_baseSum.js +24 -0
  1141. package/node_modules/lodash/_baseTimes.js +20 -0
  1142. package/node_modules/lodash/_baseToNumber.js +24 -0
  1143. package/node_modules/lodash/_baseToPairs.js +18 -0
  1144. package/node_modules/lodash/_baseToString.js +37 -0
  1145. package/node_modules/lodash/_baseTrim.js +19 -0
  1146. package/node_modules/lodash/_baseUnary.js +14 -0
  1147. package/node_modules/lodash/_baseUniq.js +72 -0
  1148. package/node_modules/lodash/_baseUnset.js +20 -0
  1149. package/node_modules/lodash/_baseUpdate.js +18 -0
  1150. package/node_modules/lodash/_baseValues.js +19 -0
  1151. package/node_modules/lodash/_baseWhile.js +26 -0
  1152. package/node_modules/lodash/_baseWrapperValue.js +25 -0
  1153. package/node_modules/lodash/_baseXor.js +36 -0
  1154. package/node_modules/lodash/_baseZipObject.js +23 -0
  1155. package/node_modules/lodash/_cacheHas.js +13 -0
  1156. package/node_modules/lodash/_castArrayLikeObject.js +14 -0
  1157. package/node_modules/lodash/_castFunction.js +14 -0
  1158. package/node_modules/lodash/_castPath.js +21 -0
  1159. package/node_modules/lodash/_castRest.js +14 -0
  1160. package/node_modules/lodash/_castSlice.js +18 -0
  1161. package/node_modules/lodash/_charsEndIndex.js +19 -0
  1162. package/node_modules/lodash/_charsStartIndex.js +20 -0
  1163. package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  1164. package/node_modules/lodash/_cloneBuffer.js +35 -0
  1165. package/node_modules/lodash/_cloneDataView.js +16 -0
  1166. package/node_modules/lodash/_cloneRegExp.js +17 -0
  1167. package/node_modules/lodash/_cloneSymbol.js +18 -0
  1168. package/node_modules/lodash/_cloneTypedArray.js +16 -0
  1169. package/node_modules/lodash/_compareAscending.js +41 -0
  1170. package/node_modules/lodash/_compareMultiple.js +44 -0
  1171. package/node_modules/lodash/_composeArgs.js +39 -0
  1172. package/node_modules/lodash/_composeArgsRight.js +41 -0
  1173. package/node_modules/lodash/_copyArray.js +20 -0
  1174. package/node_modules/lodash/_copyObject.js +40 -0
  1175. package/node_modules/lodash/_copySymbols.js +16 -0
  1176. package/node_modules/lodash/_copySymbolsIn.js +16 -0
  1177. package/node_modules/lodash/_coreJsData.js +6 -0
  1178. package/node_modules/lodash/_countHolders.js +21 -0
  1179. package/node_modules/lodash/_createAggregator.js +23 -0
  1180. package/node_modules/lodash/_createAssigner.js +37 -0
  1181. package/node_modules/lodash/_createBaseEach.js +32 -0
  1182. package/node_modules/lodash/_createBaseFor.js +25 -0
  1183. package/node_modules/lodash/_createBind.js +28 -0
  1184. package/node_modules/lodash/_createCaseFirst.js +33 -0
  1185. package/node_modules/lodash/_createCompounder.js +24 -0
  1186. package/node_modules/lodash/_createCtor.js +37 -0
  1187. package/node_modules/lodash/_createCurry.js +46 -0
  1188. package/node_modules/lodash/_createFind.js +25 -0
  1189. package/node_modules/lodash/_createFlow.js +78 -0
  1190. package/node_modules/lodash/_createHybrid.js +92 -0
  1191. package/node_modules/lodash/_createInverter.js +17 -0
  1192. package/node_modules/lodash/_createMathOperation.js +38 -0
  1193. package/node_modules/lodash/_createOver.js +27 -0
  1194. package/node_modules/lodash/_createPadding.js +33 -0
  1195. package/node_modules/lodash/_createPartial.js +43 -0
  1196. package/node_modules/lodash/_createRange.js +30 -0
  1197. package/node_modules/lodash/_createRecurry.js +56 -0
  1198. package/node_modules/lodash/_createRelationalOperation.js +20 -0
  1199. package/node_modules/lodash/_createRound.js +35 -0
  1200. package/node_modules/lodash/_createSet.js +19 -0
  1201. package/node_modules/lodash/_createToPairs.js +30 -0
  1202. package/node_modules/lodash/_createWrap.js +106 -0
  1203. package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  1204. package/node_modules/lodash/_customDefaultsMerge.js +28 -0
  1205. package/node_modules/lodash/_customOmitClone.js +16 -0
  1206. package/node_modules/lodash/_deburrLetter.js +71 -0
  1207. package/node_modules/lodash/_defineProperty.js +11 -0
  1208. package/node_modules/lodash/_equalArrays.js +84 -0
  1209. package/node_modules/lodash/_equalByTag.js +112 -0
  1210. package/node_modules/lodash/_equalObjects.js +90 -0
  1211. package/node_modules/lodash/_escapeHtmlChar.js +21 -0
  1212. package/node_modules/lodash/_escapeStringChar.js +22 -0
  1213. package/node_modules/lodash/_flatRest.js +16 -0
  1214. package/node_modules/lodash/_freeGlobal.js +4 -0
  1215. package/node_modules/lodash/_getAllKeys.js +16 -0
  1216. package/node_modules/lodash/_getAllKeysIn.js +17 -0
  1217. package/node_modules/lodash/_getData.js +15 -0
  1218. package/node_modules/lodash/_getFuncName.js +31 -0
  1219. package/node_modules/lodash/_getHolder.js +13 -0
  1220. package/node_modules/lodash/_getMapData.js +18 -0
  1221. package/node_modules/lodash/_getMatchData.js +24 -0
  1222. package/node_modules/lodash/_getNative.js +17 -0
  1223. package/node_modules/lodash/_getPrototype.js +6 -0
  1224. package/node_modules/lodash/_getRawTag.js +46 -0
  1225. package/node_modules/lodash/_getSymbols.js +30 -0
  1226. package/node_modules/lodash/_getSymbolsIn.js +25 -0
  1227. package/node_modules/lodash/_getTag.js +58 -0
  1228. package/node_modules/lodash/_getValue.js +13 -0
  1229. package/node_modules/lodash/_getView.js +33 -0
  1230. package/node_modules/lodash/_getWrapDetails.js +17 -0
  1231. package/node_modules/lodash/_hasPath.js +39 -0
  1232. package/node_modules/lodash/_hasUnicode.js +26 -0
  1233. package/node_modules/lodash/_hasUnicodeWord.js +15 -0
  1234. package/node_modules/lodash/_hashClear.js +15 -0
  1235. package/node_modules/lodash/_hashDelete.js +17 -0
  1236. package/node_modules/lodash/_hashGet.js +30 -0
  1237. package/node_modules/lodash/_hashHas.js +23 -0
  1238. package/node_modules/lodash/_hashSet.js +23 -0
  1239. package/node_modules/lodash/_initCloneArray.js +26 -0
  1240. package/node_modules/lodash/_initCloneByTag.js +77 -0
  1241. package/node_modules/lodash/_initCloneObject.js +18 -0
  1242. package/node_modules/lodash/_insertWrapDetails.js +23 -0
  1243. package/node_modules/lodash/_isFlattenable.js +20 -0
  1244. package/node_modules/lodash/_isIndex.js +25 -0
  1245. package/node_modules/lodash/_isIterateeCall.js +30 -0
  1246. package/node_modules/lodash/_isKey.js +29 -0
  1247. package/node_modules/lodash/_isKeyable.js +15 -0
  1248. package/node_modules/lodash/_isLaziable.js +28 -0
  1249. package/node_modules/lodash/_isMaskable.js +14 -0
  1250. package/node_modules/lodash/_isMasked.js +20 -0
  1251. package/node_modules/lodash/_isPrototype.js +18 -0
  1252. package/node_modules/lodash/_isStrictComparable.js +15 -0
  1253. package/node_modules/lodash/_iteratorToArray.js +18 -0
  1254. package/node_modules/lodash/_lazyClone.js +23 -0
  1255. package/node_modules/lodash/_lazyReverse.js +23 -0
  1256. package/node_modules/lodash/_lazyValue.js +69 -0
  1257. package/node_modules/lodash/_listCacheClear.js +13 -0
  1258. package/node_modules/lodash/_listCacheDelete.js +35 -0
  1259. package/node_modules/lodash/_listCacheGet.js +19 -0
  1260. package/node_modules/lodash/_listCacheHas.js +16 -0
  1261. package/node_modules/lodash/_listCacheSet.js +26 -0
  1262. package/node_modules/lodash/_mapCacheClear.js +21 -0
  1263. package/node_modules/lodash/_mapCacheDelete.js +18 -0
  1264. package/node_modules/lodash/_mapCacheGet.js +16 -0
  1265. package/node_modules/lodash/_mapCacheHas.js +16 -0
  1266. package/node_modules/lodash/_mapCacheSet.js +22 -0
  1267. package/node_modules/lodash/_mapToArray.js +18 -0
  1268. package/node_modules/lodash/_matchesStrictComparable.js +20 -0
  1269. package/node_modules/lodash/_memoizeCapped.js +26 -0
  1270. package/node_modules/lodash/_mergeData.js +90 -0
  1271. package/node_modules/lodash/_metaMap.js +6 -0
  1272. package/node_modules/lodash/_nativeCreate.js +6 -0
  1273. package/node_modules/lodash/_nativeKeys.js +6 -0
  1274. package/node_modules/lodash/_nativeKeysIn.js +20 -0
  1275. package/node_modules/lodash/_nodeUtil.js +30 -0
  1276. package/node_modules/lodash/_objectToString.js +22 -0
  1277. package/node_modules/lodash/_overArg.js +15 -0
  1278. package/node_modules/lodash/_overRest.js +36 -0
  1279. package/node_modules/lodash/_parent.js +16 -0
  1280. package/node_modules/lodash/_reEscape.js +4 -0
  1281. package/node_modules/lodash/_reEvaluate.js +4 -0
  1282. package/node_modules/lodash/_reInterpolate.js +4 -0
  1283. package/node_modules/lodash/_realNames.js +4 -0
  1284. package/node_modules/lodash/_reorder.js +29 -0
  1285. package/node_modules/lodash/_replaceHolders.js +29 -0
  1286. package/node_modules/lodash/_root.js +9 -0
  1287. package/node_modules/lodash/_safeGet.js +21 -0
  1288. package/node_modules/lodash/_setCacheAdd.js +19 -0
  1289. package/node_modules/lodash/_setCacheHas.js +14 -0
  1290. package/node_modules/lodash/_setData.js +20 -0
  1291. package/node_modules/lodash/_setToArray.js +18 -0
  1292. package/node_modules/lodash/_setToPairs.js +18 -0
  1293. package/node_modules/lodash/_setToString.js +14 -0
  1294. package/node_modules/lodash/_setWrapToString.js +21 -0
  1295. package/node_modules/lodash/_shortOut.js +37 -0
  1296. package/node_modules/lodash/_shuffleSelf.js +28 -0
  1297. package/node_modules/lodash/_stackClear.js +15 -0
  1298. package/node_modules/lodash/_stackDelete.js +18 -0
  1299. package/node_modules/lodash/_stackGet.js +14 -0
  1300. package/node_modules/lodash/_stackHas.js +14 -0
  1301. package/node_modules/lodash/_stackSet.js +34 -0
  1302. package/node_modules/lodash/_strictIndexOf.js +23 -0
  1303. package/node_modules/lodash/_strictLastIndexOf.js +21 -0
  1304. package/node_modules/lodash/_stringSize.js +18 -0
  1305. package/node_modules/lodash/_stringToArray.js +18 -0
  1306. package/node_modules/lodash/_stringToPath.js +27 -0
  1307. package/node_modules/lodash/_toKey.js +21 -0
  1308. package/node_modules/lodash/_toSource.js +26 -0
  1309. package/node_modules/lodash/_trimmedEndIndex.js +19 -0
  1310. package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  1311. package/node_modules/lodash/_unicodeSize.js +44 -0
  1312. package/node_modules/lodash/_unicodeToArray.js +40 -0
  1313. package/node_modules/lodash/_unicodeWords.js +69 -0
  1314. package/node_modules/lodash/_updateWrapDetails.js +46 -0
  1315. package/node_modules/lodash/_wrapperClone.js +23 -0
  1316. package/node_modules/lodash/add.js +22 -0
  1317. package/node_modules/lodash/after.js +42 -0
  1318. package/node_modules/lodash/array.js +67 -0
  1319. package/node_modules/lodash/ary.js +29 -0
  1320. package/node_modules/lodash/assign.js +58 -0
  1321. package/node_modules/lodash/assignIn.js +40 -0
  1322. package/node_modules/lodash/assignInWith.js +38 -0
  1323. package/node_modules/lodash/assignWith.js +37 -0
  1324. package/node_modules/lodash/at.js +23 -0
  1325. package/node_modules/lodash/attempt.js +35 -0
  1326. package/node_modules/lodash/before.js +40 -0
  1327. package/node_modules/lodash/bind.js +57 -0
  1328. package/node_modules/lodash/bindAll.js +41 -0
  1329. package/node_modules/lodash/bindKey.js +68 -0
  1330. package/node_modules/lodash/camelCase.js +29 -0
  1331. package/node_modules/lodash/capitalize.js +23 -0
  1332. package/node_modules/lodash/castArray.js +44 -0
  1333. package/node_modules/lodash/ceil.js +26 -0
  1334. package/node_modules/lodash/chain.js +38 -0
  1335. package/node_modules/lodash/chunk.js +50 -0
  1336. package/node_modules/lodash/clamp.js +39 -0
  1337. package/node_modules/lodash/clone.js +36 -0
  1338. package/node_modules/lodash/cloneDeep.js +29 -0
  1339. package/node_modules/lodash/cloneDeepWith.js +40 -0
  1340. package/node_modules/lodash/cloneWith.js +42 -0
  1341. package/node_modules/lodash/collection.js +30 -0
  1342. package/node_modules/lodash/commit.js +33 -0
  1343. package/node_modules/lodash/compact.js +31 -0
  1344. package/node_modules/lodash/concat.js +43 -0
  1345. package/node_modules/lodash/cond.js +60 -0
  1346. package/node_modules/lodash/conforms.js +35 -0
  1347. package/node_modules/lodash/conformsTo.js +32 -0
  1348. package/node_modules/lodash/constant.js +26 -0
  1349. package/node_modules/lodash/core.js +3877 -0
  1350. package/node_modules/lodash/core.min.js +29 -0
  1351. package/node_modules/lodash/countBy.js +40 -0
  1352. package/node_modules/lodash/create.js +43 -0
  1353. package/node_modules/lodash/curry.js +57 -0
  1354. package/node_modules/lodash/curryRight.js +54 -0
  1355. package/node_modules/lodash/date.js +3 -0
  1356. package/node_modules/lodash/debounce.js +191 -0
  1357. package/node_modules/lodash/deburr.js +45 -0
  1358. package/node_modules/lodash/defaultTo.js +25 -0
  1359. package/node_modules/lodash/defaults.js +64 -0
  1360. package/node_modules/lodash/defaultsDeep.js +30 -0
  1361. package/node_modules/lodash/defer.js +26 -0
  1362. package/node_modules/lodash/delay.js +28 -0
  1363. package/node_modules/lodash/difference.js +33 -0
  1364. package/node_modules/lodash/differenceBy.js +44 -0
  1365. package/node_modules/lodash/differenceWith.js +40 -0
  1366. package/node_modules/lodash/divide.js +22 -0
  1367. package/node_modules/lodash/drop.js +38 -0
  1368. package/node_modules/lodash/dropRight.js +39 -0
  1369. package/node_modules/lodash/dropRightWhile.js +45 -0
  1370. package/node_modules/lodash/dropWhile.js +45 -0
  1371. package/node_modules/lodash/each.js +1 -0
  1372. package/node_modules/lodash/eachRight.js +1 -0
  1373. package/node_modules/lodash/endsWith.js +43 -0
  1374. package/node_modules/lodash/entries.js +1 -0
  1375. package/node_modules/lodash/entriesIn.js +1 -0
  1376. package/node_modules/lodash/eq.js +37 -0
  1377. package/node_modules/lodash/escape.js +43 -0
  1378. package/node_modules/lodash/escapeRegExp.js +32 -0
  1379. package/node_modules/lodash/every.js +56 -0
  1380. package/node_modules/lodash/extend.js +1 -0
  1381. package/node_modules/lodash/extendWith.js +1 -0
  1382. package/node_modules/lodash/fill.js +45 -0
  1383. package/node_modules/lodash/filter.js +52 -0
  1384. package/node_modules/lodash/find.js +42 -0
  1385. package/node_modules/lodash/findIndex.js +55 -0
  1386. package/node_modules/lodash/findKey.js +44 -0
  1387. package/node_modules/lodash/findLast.js +25 -0
  1388. package/node_modules/lodash/findLastIndex.js +59 -0
  1389. package/node_modules/lodash/findLastKey.js +44 -0
  1390. package/node_modules/lodash/first.js +1 -0
  1391. package/node_modules/lodash/flake.lock +40 -0
  1392. package/node_modules/lodash/flake.nix +20 -0
  1393. package/node_modules/lodash/flatMap.js +29 -0
  1394. package/node_modules/lodash/flatMapDeep.js +31 -0
  1395. package/node_modules/lodash/flatMapDepth.js +31 -0
  1396. package/node_modules/lodash/flatten.js +22 -0
  1397. package/node_modules/lodash/flattenDeep.js +25 -0
  1398. package/node_modules/lodash/flattenDepth.js +33 -0
  1399. package/node_modules/lodash/flip.js +28 -0
  1400. package/node_modules/lodash/floor.js +26 -0
  1401. package/node_modules/lodash/flow.js +27 -0
  1402. package/node_modules/lodash/flowRight.js +26 -0
  1403. package/node_modules/lodash/forEach.js +41 -0
  1404. package/node_modules/lodash/forEachRight.js +31 -0
  1405. package/node_modules/lodash/forIn.js +39 -0
  1406. package/node_modules/lodash/forInRight.js +37 -0
  1407. package/node_modules/lodash/forOwn.js +36 -0
  1408. package/node_modules/lodash/forOwnRight.js +34 -0
  1409. package/node_modules/lodash/fp/F.js +1 -0
  1410. package/node_modules/lodash/fp/T.js +1 -0
  1411. package/node_modules/lodash/fp/__.js +1 -0
  1412. package/node_modules/lodash/fp/_baseConvert.js +569 -0
  1413. package/node_modules/lodash/fp/_convertBrowser.js +18 -0
  1414. package/node_modules/lodash/fp/_falseOptions.js +7 -0
  1415. package/node_modules/lodash/fp/_mapping.js +358 -0
  1416. package/node_modules/lodash/fp/_util.js +16 -0
  1417. package/node_modules/lodash/fp/add.js +5 -0
  1418. package/node_modules/lodash/fp/after.js +5 -0
  1419. package/node_modules/lodash/fp/all.js +1 -0
  1420. package/node_modules/lodash/fp/allPass.js +1 -0
  1421. package/node_modules/lodash/fp/always.js +1 -0
  1422. package/node_modules/lodash/fp/any.js +1 -0
  1423. package/node_modules/lodash/fp/anyPass.js +1 -0
  1424. package/node_modules/lodash/fp/apply.js +1 -0
  1425. package/node_modules/lodash/fp/array.js +2 -0
  1426. package/node_modules/lodash/fp/ary.js +5 -0
  1427. package/node_modules/lodash/fp/assign.js +5 -0
  1428. package/node_modules/lodash/fp/assignAll.js +5 -0
  1429. package/node_modules/lodash/fp/assignAllWith.js +5 -0
  1430. package/node_modules/lodash/fp/assignIn.js +5 -0
  1431. package/node_modules/lodash/fp/assignInAll.js +5 -0
  1432. package/node_modules/lodash/fp/assignInAllWith.js +5 -0
  1433. package/node_modules/lodash/fp/assignInWith.js +5 -0
  1434. package/node_modules/lodash/fp/assignWith.js +5 -0
  1435. package/node_modules/lodash/fp/assoc.js +1 -0
  1436. package/node_modules/lodash/fp/assocPath.js +1 -0
  1437. package/node_modules/lodash/fp/at.js +5 -0
  1438. package/node_modules/lodash/fp/attempt.js +5 -0
  1439. package/node_modules/lodash/fp/before.js +5 -0
  1440. package/node_modules/lodash/fp/bind.js +5 -0
  1441. package/node_modules/lodash/fp/bindAll.js +5 -0
  1442. package/node_modules/lodash/fp/bindKey.js +5 -0
  1443. package/node_modules/lodash/fp/camelCase.js +5 -0
  1444. package/node_modules/lodash/fp/capitalize.js +5 -0
  1445. package/node_modules/lodash/fp/castArray.js +5 -0
  1446. package/node_modules/lodash/fp/ceil.js +5 -0
  1447. package/node_modules/lodash/fp/chain.js +5 -0
  1448. package/node_modules/lodash/fp/chunk.js +5 -0
  1449. package/node_modules/lodash/fp/clamp.js +5 -0
  1450. package/node_modules/lodash/fp/clone.js +5 -0
  1451. package/node_modules/lodash/fp/cloneDeep.js +5 -0
  1452. package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  1453. package/node_modules/lodash/fp/cloneWith.js +5 -0
  1454. package/node_modules/lodash/fp/collection.js +2 -0
  1455. package/node_modules/lodash/fp/commit.js +5 -0
  1456. package/node_modules/lodash/fp/compact.js +5 -0
  1457. package/node_modules/lodash/fp/complement.js +1 -0
  1458. package/node_modules/lodash/fp/compose.js +1 -0
  1459. package/node_modules/lodash/fp/concat.js +5 -0
  1460. package/node_modules/lodash/fp/cond.js +5 -0
  1461. package/node_modules/lodash/fp/conforms.js +1 -0
  1462. package/node_modules/lodash/fp/conformsTo.js +5 -0
  1463. package/node_modules/lodash/fp/constant.js +5 -0
  1464. package/node_modules/lodash/fp/contains.js +1 -0
  1465. package/node_modules/lodash/fp/convert.js +18 -0
  1466. package/node_modules/lodash/fp/countBy.js +5 -0
  1467. package/node_modules/lodash/fp/create.js +5 -0
  1468. package/node_modules/lodash/fp/curry.js +5 -0
  1469. package/node_modules/lodash/fp/curryN.js +5 -0
  1470. package/node_modules/lodash/fp/curryRight.js +5 -0
  1471. package/node_modules/lodash/fp/curryRightN.js +5 -0
  1472. package/node_modules/lodash/fp/date.js +2 -0
  1473. package/node_modules/lodash/fp/debounce.js +5 -0
  1474. package/node_modules/lodash/fp/deburr.js +5 -0
  1475. package/node_modules/lodash/fp/defaultTo.js +5 -0
  1476. package/node_modules/lodash/fp/defaults.js +5 -0
  1477. package/node_modules/lodash/fp/defaultsAll.js +5 -0
  1478. package/node_modules/lodash/fp/defaultsDeep.js +5 -0
  1479. package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  1480. package/node_modules/lodash/fp/defer.js +5 -0
  1481. package/node_modules/lodash/fp/delay.js +5 -0
  1482. package/node_modules/lodash/fp/difference.js +5 -0
  1483. package/node_modules/lodash/fp/differenceBy.js +5 -0
  1484. package/node_modules/lodash/fp/differenceWith.js +5 -0
  1485. package/node_modules/lodash/fp/dissoc.js +1 -0
  1486. package/node_modules/lodash/fp/dissocPath.js +1 -0
  1487. package/node_modules/lodash/fp/divide.js +5 -0
  1488. package/node_modules/lodash/fp/drop.js +5 -0
  1489. package/node_modules/lodash/fp/dropLast.js +1 -0
  1490. package/node_modules/lodash/fp/dropLastWhile.js +1 -0
  1491. package/node_modules/lodash/fp/dropRight.js +5 -0
  1492. package/node_modules/lodash/fp/dropRightWhile.js +5 -0
  1493. package/node_modules/lodash/fp/dropWhile.js +5 -0
  1494. package/node_modules/lodash/fp/each.js +1 -0
  1495. package/node_modules/lodash/fp/eachRight.js +1 -0
  1496. package/node_modules/lodash/fp/endsWith.js +5 -0
  1497. package/node_modules/lodash/fp/entries.js +1 -0
  1498. package/node_modules/lodash/fp/entriesIn.js +1 -0
  1499. package/node_modules/lodash/fp/eq.js +5 -0
  1500. package/node_modules/lodash/fp/equals.js +1 -0
  1501. package/node_modules/lodash/fp/escape.js +5 -0
  1502. package/node_modules/lodash/fp/escapeRegExp.js +5 -0
  1503. package/node_modules/lodash/fp/every.js +5 -0
  1504. package/node_modules/lodash/fp/extend.js +1 -0
  1505. package/node_modules/lodash/fp/extendAll.js +1 -0
  1506. package/node_modules/lodash/fp/extendAllWith.js +1 -0
  1507. package/node_modules/lodash/fp/extendWith.js +1 -0
  1508. package/node_modules/lodash/fp/fill.js +5 -0
  1509. package/node_modules/lodash/fp/filter.js +5 -0
  1510. package/node_modules/lodash/fp/find.js +5 -0
  1511. package/node_modules/lodash/fp/findFrom.js +5 -0
  1512. package/node_modules/lodash/fp/findIndex.js +5 -0
  1513. package/node_modules/lodash/fp/findIndexFrom.js +5 -0
  1514. package/node_modules/lodash/fp/findKey.js +5 -0
  1515. package/node_modules/lodash/fp/findLast.js +5 -0
  1516. package/node_modules/lodash/fp/findLastFrom.js +5 -0
  1517. package/node_modules/lodash/fp/findLastIndex.js +5 -0
  1518. package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  1519. package/node_modules/lodash/fp/findLastKey.js +5 -0
  1520. package/node_modules/lodash/fp/first.js +1 -0
  1521. package/node_modules/lodash/fp/flatMap.js +5 -0
  1522. package/node_modules/lodash/fp/flatMapDeep.js +5 -0
  1523. package/node_modules/lodash/fp/flatMapDepth.js +5 -0
  1524. package/node_modules/lodash/fp/flatten.js +5 -0
  1525. package/node_modules/lodash/fp/flattenDeep.js +5 -0
  1526. package/node_modules/lodash/fp/flattenDepth.js +5 -0
  1527. package/node_modules/lodash/fp/flip.js +5 -0
  1528. package/node_modules/lodash/fp/floor.js +5 -0
  1529. package/node_modules/lodash/fp/flow.js +5 -0
  1530. package/node_modules/lodash/fp/flowRight.js +5 -0
  1531. package/node_modules/lodash/fp/forEach.js +5 -0
  1532. package/node_modules/lodash/fp/forEachRight.js +5 -0
  1533. package/node_modules/lodash/fp/forIn.js +5 -0
  1534. package/node_modules/lodash/fp/forInRight.js +5 -0
  1535. package/node_modules/lodash/fp/forOwn.js +5 -0
  1536. package/node_modules/lodash/fp/forOwnRight.js +5 -0
  1537. package/node_modules/lodash/fp/fromPairs.js +5 -0
  1538. package/node_modules/lodash/fp/function.js +2 -0
  1539. package/node_modules/lodash/fp/functions.js +5 -0
  1540. package/node_modules/lodash/fp/functionsIn.js +5 -0
  1541. package/node_modules/lodash/fp/get.js +5 -0
  1542. package/node_modules/lodash/fp/getOr.js +5 -0
  1543. package/node_modules/lodash/fp/groupBy.js +5 -0
  1544. package/node_modules/lodash/fp/gt.js +5 -0
  1545. package/node_modules/lodash/fp/gte.js +5 -0
  1546. package/node_modules/lodash/fp/has.js +5 -0
  1547. package/node_modules/lodash/fp/hasIn.js +5 -0
  1548. package/node_modules/lodash/fp/head.js +5 -0
  1549. package/node_modules/lodash/fp/identical.js +1 -0
  1550. package/node_modules/lodash/fp/identity.js +5 -0
  1551. package/node_modules/lodash/fp/inRange.js +5 -0
  1552. package/node_modules/lodash/fp/includes.js +5 -0
  1553. package/node_modules/lodash/fp/includesFrom.js +5 -0
  1554. package/node_modules/lodash/fp/indexBy.js +1 -0
  1555. package/node_modules/lodash/fp/indexOf.js +5 -0
  1556. package/node_modules/lodash/fp/indexOfFrom.js +5 -0
  1557. package/node_modules/lodash/fp/init.js +1 -0
  1558. package/node_modules/lodash/fp/initial.js +5 -0
  1559. package/node_modules/lodash/fp/intersection.js +5 -0
  1560. package/node_modules/lodash/fp/intersectionBy.js +5 -0
  1561. package/node_modules/lodash/fp/intersectionWith.js +5 -0
  1562. package/node_modules/lodash/fp/invert.js +5 -0
  1563. package/node_modules/lodash/fp/invertBy.js +5 -0
  1564. package/node_modules/lodash/fp/invertObj.js +1 -0
  1565. package/node_modules/lodash/fp/invoke.js +5 -0
  1566. package/node_modules/lodash/fp/invokeArgs.js +5 -0
  1567. package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  1568. package/node_modules/lodash/fp/invokeMap.js +5 -0
  1569. package/node_modules/lodash/fp/isArguments.js +5 -0
  1570. package/node_modules/lodash/fp/isArray.js +5 -0
  1571. package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  1572. package/node_modules/lodash/fp/isArrayLike.js +5 -0
  1573. package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  1574. package/node_modules/lodash/fp/isBoolean.js +5 -0
  1575. package/node_modules/lodash/fp/isBuffer.js +5 -0
  1576. package/node_modules/lodash/fp/isDate.js +5 -0
  1577. package/node_modules/lodash/fp/isElement.js +5 -0
  1578. package/node_modules/lodash/fp/isEmpty.js +5 -0
  1579. package/node_modules/lodash/fp/isEqual.js +5 -0
  1580. package/node_modules/lodash/fp/isEqualWith.js +5 -0
  1581. package/node_modules/lodash/fp/isError.js +5 -0
  1582. package/node_modules/lodash/fp/isFinite.js +5 -0
  1583. package/node_modules/lodash/fp/isFunction.js +5 -0
  1584. package/node_modules/lodash/fp/isInteger.js +5 -0
  1585. package/node_modules/lodash/fp/isLength.js +5 -0
  1586. package/node_modules/lodash/fp/isMap.js +5 -0
  1587. package/node_modules/lodash/fp/isMatch.js +5 -0
  1588. package/node_modules/lodash/fp/isMatchWith.js +5 -0
  1589. package/node_modules/lodash/fp/isNaN.js +5 -0
  1590. package/node_modules/lodash/fp/isNative.js +5 -0
  1591. package/node_modules/lodash/fp/isNil.js +5 -0
  1592. package/node_modules/lodash/fp/isNull.js +5 -0
  1593. package/node_modules/lodash/fp/isNumber.js +5 -0
  1594. package/node_modules/lodash/fp/isObject.js +5 -0
  1595. package/node_modules/lodash/fp/isObjectLike.js +5 -0
  1596. package/node_modules/lodash/fp/isPlainObject.js +5 -0
  1597. package/node_modules/lodash/fp/isRegExp.js +5 -0
  1598. package/node_modules/lodash/fp/isSafeInteger.js +5 -0
  1599. package/node_modules/lodash/fp/isSet.js +5 -0
  1600. package/node_modules/lodash/fp/isString.js +5 -0
  1601. package/node_modules/lodash/fp/isSymbol.js +5 -0
  1602. package/node_modules/lodash/fp/isTypedArray.js +5 -0
  1603. package/node_modules/lodash/fp/isUndefined.js +5 -0
  1604. package/node_modules/lodash/fp/isWeakMap.js +5 -0
  1605. package/node_modules/lodash/fp/isWeakSet.js +5 -0
  1606. package/node_modules/lodash/fp/iteratee.js +5 -0
  1607. package/node_modules/lodash/fp/join.js +5 -0
  1608. package/node_modules/lodash/fp/juxt.js +1 -0
  1609. package/node_modules/lodash/fp/kebabCase.js +5 -0
  1610. package/node_modules/lodash/fp/keyBy.js +5 -0
  1611. package/node_modules/lodash/fp/keys.js +5 -0
  1612. package/node_modules/lodash/fp/keysIn.js +5 -0
  1613. package/node_modules/lodash/fp/lang.js +2 -0
  1614. package/node_modules/lodash/fp/last.js +5 -0
  1615. package/node_modules/lodash/fp/lastIndexOf.js +5 -0
  1616. package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  1617. package/node_modules/lodash/fp/lowerCase.js +5 -0
  1618. package/node_modules/lodash/fp/lowerFirst.js +5 -0
  1619. package/node_modules/lodash/fp/lt.js +5 -0
  1620. package/node_modules/lodash/fp/lte.js +5 -0
  1621. package/node_modules/lodash/fp/map.js +5 -0
  1622. package/node_modules/lodash/fp/mapKeys.js +5 -0
  1623. package/node_modules/lodash/fp/mapValues.js +5 -0
  1624. package/node_modules/lodash/fp/matches.js +1 -0
  1625. package/node_modules/lodash/fp/matchesProperty.js +5 -0
  1626. package/node_modules/lodash/fp/math.js +2 -0
  1627. package/node_modules/lodash/fp/max.js +5 -0
  1628. package/node_modules/lodash/fp/maxBy.js +5 -0
  1629. package/node_modules/lodash/fp/mean.js +5 -0
  1630. package/node_modules/lodash/fp/meanBy.js +5 -0
  1631. package/node_modules/lodash/fp/memoize.js +5 -0
  1632. package/node_modules/lodash/fp/merge.js +5 -0
  1633. package/node_modules/lodash/fp/mergeAll.js +5 -0
  1634. package/node_modules/lodash/fp/mergeAllWith.js +5 -0
  1635. package/node_modules/lodash/fp/mergeWith.js +5 -0
  1636. package/node_modules/lodash/fp/method.js +5 -0
  1637. package/node_modules/lodash/fp/methodOf.js +5 -0
  1638. package/node_modules/lodash/fp/min.js +5 -0
  1639. package/node_modules/lodash/fp/minBy.js +5 -0
  1640. package/node_modules/lodash/fp/mixin.js +5 -0
  1641. package/node_modules/lodash/fp/multiply.js +5 -0
  1642. package/node_modules/lodash/fp/nAry.js +1 -0
  1643. package/node_modules/lodash/fp/negate.js +5 -0
  1644. package/node_modules/lodash/fp/next.js +5 -0
  1645. package/node_modules/lodash/fp/noop.js +5 -0
  1646. package/node_modules/lodash/fp/now.js +5 -0
  1647. package/node_modules/lodash/fp/nth.js +5 -0
  1648. package/node_modules/lodash/fp/nthArg.js +5 -0
  1649. package/node_modules/lodash/fp/number.js +2 -0
  1650. package/node_modules/lodash/fp/object.js +2 -0
  1651. package/node_modules/lodash/fp/omit.js +5 -0
  1652. package/node_modules/lodash/fp/omitAll.js +1 -0
  1653. package/node_modules/lodash/fp/omitBy.js +5 -0
  1654. package/node_modules/lodash/fp/once.js +5 -0
  1655. package/node_modules/lodash/fp/orderBy.js +5 -0
  1656. package/node_modules/lodash/fp/over.js +5 -0
  1657. package/node_modules/lodash/fp/overArgs.js +5 -0
  1658. package/node_modules/lodash/fp/overEvery.js +5 -0
  1659. package/node_modules/lodash/fp/overSome.js +5 -0
  1660. package/node_modules/lodash/fp/pad.js +5 -0
  1661. package/node_modules/lodash/fp/padChars.js +5 -0
  1662. package/node_modules/lodash/fp/padCharsEnd.js +5 -0
  1663. package/node_modules/lodash/fp/padCharsStart.js +5 -0
  1664. package/node_modules/lodash/fp/padEnd.js +5 -0
  1665. package/node_modules/lodash/fp/padStart.js +5 -0
  1666. package/node_modules/lodash/fp/parseInt.js +5 -0
  1667. package/node_modules/lodash/fp/partial.js +5 -0
  1668. package/node_modules/lodash/fp/partialRight.js +5 -0
  1669. package/node_modules/lodash/fp/partition.js +5 -0
  1670. package/node_modules/lodash/fp/path.js +1 -0
  1671. package/node_modules/lodash/fp/pathEq.js +1 -0
  1672. package/node_modules/lodash/fp/pathOr.js +1 -0
  1673. package/node_modules/lodash/fp/paths.js +1 -0
  1674. package/node_modules/lodash/fp/pick.js +5 -0
  1675. package/node_modules/lodash/fp/pickAll.js +1 -0
  1676. package/node_modules/lodash/fp/pickBy.js +5 -0
  1677. package/node_modules/lodash/fp/pipe.js +1 -0
  1678. package/node_modules/lodash/fp/placeholder.js +6 -0
  1679. package/node_modules/lodash/fp/plant.js +5 -0
  1680. package/node_modules/lodash/fp/pluck.js +1 -0
  1681. package/node_modules/lodash/fp/prop.js +1 -0
  1682. package/node_modules/lodash/fp/propEq.js +1 -0
  1683. package/node_modules/lodash/fp/propOr.js +1 -0
  1684. package/node_modules/lodash/fp/property.js +1 -0
  1685. package/node_modules/lodash/fp/propertyOf.js +5 -0
  1686. package/node_modules/lodash/fp/props.js +1 -0
  1687. package/node_modules/lodash/fp/pull.js +5 -0
  1688. package/node_modules/lodash/fp/pullAll.js +5 -0
  1689. package/node_modules/lodash/fp/pullAllBy.js +5 -0
  1690. package/node_modules/lodash/fp/pullAllWith.js +5 -0
  1691. package/node_modules/lodash/fp/pullAt.js +5 -0
  1692. package/node_modules/lodash/fp/random.js +5 -0
  1693. package/node_modules/lodash/fp/range.js +5 -0
  1694. package/node_modules/lodash/fp/rangeRight.js +5 -0
  1695. package/node_modules/lodash/fp/rangeStep.js +5 -0
  1696. package/node_modules/lodash/fp/rangeStepRight.js +5 -0
  1697. package/node_modules/lodash/fp/rearg.js +5 -0
  1698. package/node_modules/lodash/fp/reduce.js +5 -0
  1699. package/node_modules/lodash/fp/reduceRight.js +5 -0
  1700. package/node_modules/lodash/fp/reject.js +5 -0
  1701. package/node_modules/lodash/fp/remove.js +5 -0
  1702. package/node_modules/lodash/fp/repeat.js +5 -0
  1703. package/node_modules/lodash/fp/replace.js +5 -0
  1704. package/node_modules/lodash/fp/rest.js +5 -0
  1705. package/node_modules/lodash/fp/restFrom.js +5 -0
  1706. package/node_modules/lodash/fp/result.js +5 -0
  1707. package/node_modules/lodash/fp/reverse.js +5 -0
  1708. package/node_modules/lodash/fp/round.js +5 -0
  1709. package/node_modules/lodash/fp/sample.js +5 -0
  1710. package/node_modules/lodash/fp/sampleSize.js +5 -0
  1711. package/node_modules/lodash/fp/seq.js +2 -0
  1712. package/node_modules/lodash/fp/set.js +5 -0
  1713. package/node_modules/lodash/fp/setWith.js +5 -0
  1714. package/node_modules/lodash/fp/shuffle.js +5 -0
  1715. package/node_modules/lodash/fp/size.js +5 -0
  1716. package/node_modules/lodash/fp/slice.js +5 -0
  1717. package/node_modules/lodash/fp/snakeCase.js +5 -0
  1718. package/node_modules/lodash/fp/some.js +5 -0
  1719. package/node_modules/lodash/fp/sortBy.js +5 -0
  1720. package/node_modules/lodash/fp/sortedIndex.js +5 -0
  1721. package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1722. package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1723. package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1724. package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1725. package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1726. package/node_modules/lodash/fp/sortedUniq.js +5 -0
  1727. package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1728. package/node_modules/lodash/fp/split.js +5 -0
  1729. package/node_modules/lodash/fp/spread.js +5 -0
  1730. package/node_modules/lodash/fp/spreadFrom.js +5 -0
  1731. package/node_modules/lodash/fp/startCase.js +5 -0
  1732. package/node_modules/lodash/fp/startsWith.js +5 -0
  1733. package/node_modules/lodash/fp/string.js +2 -0
  1734. package/node_modules/lodash/fp/stubArray.js +5 -0
  1735. package/node_modules/lodash/fp/stubFalse.js +5 -0
  1736. package/node_modules/lodash/fp/stubObject.js +5 -0
  1737. package/node_modules/lodash/fp/stubString.js +5 -0
  1738. package/node_modules/lodash/fp/stubTrue.js +5 -0
  1739. package/node_modules/lodash/fp/subtract.js +5 -0
  1740. package/node_modules/lodash/fp/sum.js +5 -0
  1741. package/node_modules/lodash/fp/sumBy.js +5 -0
  1742. package/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1743. package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1744. package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1745. package/node_modules/lodash/fp/tail.js +5 -0
  1746. package/node_modules/lodash/fp/take.js +5 -0
  1747. package/node_modules/lodash/fp/takeLast.js +1 -0
  1748. package/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1749. package/node_modules/lodash/fp/takeRight.js +5 -0
  1750. package/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1751. package/node_modules/lodash/fp/takeWhile.js +5 -0
  1752. package/node_modules/lodash/fp/tap.js +5 -0
  1753. package/node_modules/lodash/fp/template.js +5 -0
  1754. package/node_modules/lodash/fp/templateSettings.js +5 -0
  1755. package/node_modules/lodash/fp/throttle.js +5 -0
  1756. package/node_modules/lodash/fp/thru.js +5 -0
  1757. package/node_modules/lodash/fp/times.js +5 -0
  1758. package/node_modules/lodash/fp/toArray.js +5 -0
  1759. package/node_modules/lodash/fp/toFinite.js +5 -0
  1760. package/node_modules/lodash/fp/toInteger.js +5 -0
  1761. package/node_modules/lodash/fp/toIterator.js +5 -0
  1762. package/node_modules/lodash/fp/toJSON.js +5 -0
  1763. package/node_modules/lodash/fp/toLength.js +5 -0
  1764. package/node_modules/lodash/fp/toLower.js +5 -0
  1765. package/node_modules/lodash/fp/toNumber.js +5 -0
  1766. package/node_modules/lodash/fp/toPairs.js +5 -0
  1767. package/node_modules/lodash/fp/toPairsIn.js +5 -0
  1768. package/node_modules/lodash/fp/toPath.js +5 -0
  1769. package/node_modules/lodash/fp/toPlainObject.js +5 -0
  1770. package/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1771. package/node_modules/lodash/fp/toString.js +5 -0
  1772. package/node_modules/lodash/fp/toUpper.js +5 -0
  1773. package/node_modules/lodash/fp/transform.js +5 -0
  1774. package/node_modules/lodash/fp/trim.js +5 -0
  1775. package/node_modules/lodash/fp/trimChars.js +5 -0
  1776. package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1777. package/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1778. package/node_modules/lodash/fp/trimEnd.js +5 -0
  1779. package/node_modules/lodash/fp/trimStart.js +5 -0
  1780. package/node_modules/lodash/fp/truncate.js +5 -0
  1781. package/node_modules/lodash/fp/unapply.js +1 -0
  1782. package/node_modules/lodash/fp/unary.js +5 -0
  1783. package/node_modules/lodash/fp/unescape.js +5 -0
  1784. package/node_modules/lodash/fp/union.js +5 -0
  1785. package/node_modules/lodash/fp/unionBy.js +5 -0
  1786. package/node_modules/lodash/fp/unionWith.js +5 -0
  1787. package/node_modules/lodash/fp/uniq.js +5 -0
  1788. package/node_modules/lodash/fp/uniqBy.js +5 -0
  1789. package/node_modules/lodash/fp/uniqWith.js +5 -0
  1790. package/node_modules/lodash/fp/uniqueId.js +5 -0
  1791. package/node_modules/lodash/fp/unnest.js +1 -0
  1792. package/node_modules/lodash/fp/unset.js +5 -0
  1793. package/node_modules/lodash/fp/unzip.js +5 -0
  1794. package/node_modules/lodash/fp/unzipWith.js +5 -0
  1795. package/node_modules/lodash/fp/update.js +5 -0
  1796. package/node_modules/lodash/fp/updateWith.js +5 -0
  1797. package/node_modules/lodash/fp/upperCase.js +5 -0
  1798. package/node_modules/lodash/fp/upperFirst.js +5 -0
  1799. package/node_modules/lodash/fp/useWith.js +1 -0
  1800. package/node_modules/lodash/fp/util.js +2 -0
  1801. package/node_modules/lodash/fp/value.js +5 -0
  1802. package/node_modules/lodash/fp/valueOf.js +5 -0
  1803. package/node_modules/lodash/fp/values.js +5 -0
  1804. package/node_modules/lodash/fp/valuesIn.js +5 -0
  1805. package/node_modules/lodash/fp/where.js +1 -0
  1806. package/node_modules/lodash/fp/whereEq.js +1 -0
  1807. package/node_modules/lodash/fp/without.js +5 -0
  1808. package/node_modules/lodash/fp/words.js +5 -0
  1809. package/node_modules/lodash/fp/wrap.js +5 -0
  1810. package/node_modules/lodash/fp/wrapperAt.js +5 -0
  1811. package/node_modules/lodash/fp/wrapperChain.js +5 -0
  1812. package/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1813. package/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1814. package/node_modules/lodash/fp/wrapperValue.js +5 -0
  1815. package/node_modules/lodash/fp/xor.js +5 -0
  1816. package/node_modules/lodash/fp/xorBy.js +5 -0
  1817. package/node_modules/lodash/fp/xorWith.js +5 -0
  1818. package/node_modules/lodash/fp/zip.js +5 -0
  1819. package/node_modules/lodash/fp/zipAll.js +5 -0
  1820. package/node_modules/lodash/fp/zipObj.js +1 -0
  1821. package/node_modules/lodash/fp/zipObject.js +5 -0
  1822. package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1823. package/node_modules/lodash/fp/zipWith.js +5 -0
  1824. package/node_modules/lodash/fp.js +2 -0
  1825. package/node_modules/lodash/fromPairs.js +28 -0
  1826. package/node_modules/lodash/function.js +25 -0
  1827. package/node_modules/lodash/functions.js +31 -0
  1828. package/node_modules/lodash/functionsIn.js +31 -0
  1829. package/node_modules/lodash/get.js +33 -0
  1830. package/node_modules/lodash/groupBy.js +41 -0
  1831. package/node_modules/lodash/gt.js +29 -0
  1832. package/node_modules/lodash/gte.js +30 -0
  1833. package/node_modules/lodash/has.js +35 -0
  1834. package/node_modules/lodash/hasIn.js +34 -0
  1835. package/node_modules/lodash/head.js +23 -0
  1836. package/node_modules/lodash/identity.js +21 -0
  1837. package/node_modules/lodash/inRange.js +55 -0
  1838. package/node_modules/lodash/includes.js +53 -0
  1839. package/node_modules/lodash/index.js +1 -0
  1840. package/node_modules/lodash/indexOf.js +42 -0
  1841. package/node_modules/lodash/initial.js +22 -0
  1842. package/node_modules/lodash/intersection.js +30 -0
  1843. package/node_modules/lodash/intersectionBy.js +45 -0
  1844. package/node_modules/lodash/intersectionWith.js +41 -0
  1845. package/node_modules/lodash/invert.js +42 -0
  1846. package/node_modules/lodash/invertBy.js +56 -0
  1847. package/node_modules/lodash/invoke.js +24 -0
  1848. package/node_modules/lodash/invokeMap.js +41 -0
  1849. package/node_modules/lodash/isArguments.js +36 -0
  1850. package/node_modules/lodash/isArray.js +26 -0
  1851. package/node_modules/lodash/isArrayBuffer.js +27 -0
  1852. package/node_modules/lodash/isArrayLike.js +33 -0
  1853. package/node_modules/lodash/isArrayLikeObject.js +33 -0
  1854. package/node_modules/lodash/isBoolean.js +29 -0
  1855. package/node_modules/lodash/isBuffer.js +38 -0
  1856. package/node_modules/lodash/isDate.js +27 -0
  1857. package/node_modules/lodash/isElement.js +25 -0
  1858. package/node_modules/lodash/isEmpty.js +77 -0
  1859. package/node_modules/lodash/isEqual.js +35 -0
  1860. package/node_modules/lodash/isEqualWith.js +41 -0
  1861. package/node_modules/lodash/isError.js +36 -0
  1862. package/node_modules/lodash/isFinite.js +36 -0
  1863. package/node_modules/lodash/isFunction.js +37 -0
  1864. package/node_modules/lodash/isInteger.js +33 -0
  1865. package/node_modules/lodash/isLength.js +35 -0
  1866. package/node_modules/lodash/isMap.js +27 -0
  1867. package/node_modules/lodash/isMatch.js +36 -0
  1868. package/node_modules/lodash/isMatchWith.js +41 -0
  1869. package/node_modules/lodash/isNaN.js +38 -0
  1870. package/node_modules/lodash/isNative.js +40 -0
  1871. package/node_modules/lodash/isNil.js +25 -0
  1872. package/node_modules/lodash/isNull.js +22 -0
  1873. package/node_modules/lodash/isNumber.js +38 -0
  1874. package/node_modules/lodash/isObject.js +31 -0
  1875. package/node_modules/lodash/isObjectLike.js +29 -0
  1876. package/node_modules/lodash/isPlainObject.js +62 -0
  1877. package/node_modules/lodash/isRegExp.js +27 -0
  1878. package/node_modules/lodash/isSafeInteger.js +37 -0
  1879. package/node_modules/lodash/isSet.js +27 -0
  1880. package/node_modules/lodash/isString.js +30 -0
  1881. package/node_modules/lodash/isSymbol.js +29 -0
  1882. package/node_modules/lodash/isTypedArray.js +27 -0
  1883. package/node_modules/lodash/isUndefined.js +22 -0
  1884. package/node_modules/lodash/isWeakMap.js +28 -0
  1885. package/node_modules/lodash/isWeakSet.js +28 -0
  1886. package/node_modules/lodash/iteratee.js +53 -0
  1887. package/node_modules/lodash/join.js +26 -0
  1888. package/node_modules/lodash/kebabCase.js +28 -0
  1889. package/node_modules/lodash/keyBy.js +36 -0
  1890. package/node_modules/lodash/keys.js +37 -0
  1891. package/node_modules/lodash/keysIn.js +32 -0
  1892. package/node_modules/lodash/lang.js +58 -0
  1893. package/node_modules/lodash/last.js +20 -0
  1894. package/node_modules/lodash/lastIndexOf.js +46 -0
  1895. package/node_modules/lodash/lodash.js +17209 -0
  1896. package/node_modules/lodash/lodash.min.js +140 -0
  1897. package/node_modules/lodash/lowerCase.js +27 -0
  1898. package/node_modules/lodash/lowerFirst.js +22 -0
  1899. package/node_modules/lodash/lt.js +29 -0
  1900. package/node_modules/lodash/lte.js +30 -0
  1901. package/node_modules/lodash/map.js +53 -0
  1902. package/node_modules/lodash/mapKeys.js +36 -0
  1903. package/node_modules/lodash/mapValues.js +43 -0
  1904. package/node_modules/lodash/matches.js +46 -0
  1905. package/node_modules/lodash/matchesProperty.js +44 -0
  1906. package/node_modules/lodash/math.js +17 -0
  1907. package/node_modules/lodash/max.js +29 -0
  1908. package/node_modules/lodash/maxBy.js +34 -0
  1909. package/node_modules/lodash/mean.js +22 -0
  1910. package/node_modules/lodash/meanBy.js +31 -0
  1911. package/node_modules/lodash/memoize.js +73 -0
  1912. package/node_modules/lodash/merge.js +39 -0
  1913. package/node_modules/lodash/mergeWith.js +39 -0
  1914. package/node_modules/lodash/method.js +34 -0
  1915. package/node_modules/lodash/methodOf.js +33 -0
  1916. package/node_modules/lodash/min.js +29 -0
  1917. package/node_modules/lodash/minBy.js +34 -0
  1918. package/node_modules/lodash/mixin.js +74 -0
  1919. package/node_modules/lodash/multiply.js +22 -0
  1920. package/node_modules/lodash/negate.js +40 -0
  1921. package/node_modules/lodash/next.js +35 -0
  1922. package/node_modules/lodash/noop.js +17 -0
  1923. package/node_modules/lodash/now.js +23 -0
  1924. package/node_modules/lodash/nth.js +29 -0
  1925. package/node_modules/lodash/nthArg.js +32 -0
  1926. package/node_modules/lodash/number.js +5 -0
  1927. package/node_modules/lodash/object.js +49 -0
  1928. package/node_modules/lodash/omit.js +57 -0
  1929. package/node_modules/lodash/omitBy.js +29 -0
  1930. package/node_modules/lodash/once.js +25 -0
  1931. package/node_modules/lodash/orderBy.js +47 -0
  1932. package/node_modules/lodash/over.js +24 -0
  1933. package/node_modules/lodash/overArgs.js +61 -0
  1934. package/node_modules/lodash/overEvery.js +34 -0
  1935. package/node_modules/lodash/overSome.js +37 -0
  1936. package/node_modules/lodash/package.json +17 -0
  1937. package/node_modules/lodash/pad.js +49 -0
  1938. package/node_modules/lodash/padEnd.js +39 -0
  1939. package/node_modules/lodash/padStart.js +39 -0
  1940. package/node_modules/lodash/parseInt.js +43 -0
  1941. package/node_modules/lodash/partial.js +50 -0
  1942. package/node_modules/lodash/partialRight.js +49 -0
  1943. package/node_modules/lodash/partition.js +43 -0
  1944. package/node_modules/lodash/pick.js +25 -0
  1945. package/node_modules/lodash/pickBy.js +37 -0
  1946. package/node_modules/lodash/plant.js +48 -0
  1947. package/node_modules/lodash/property.js +32 -0
  1948. package/node_modules/lodash/propertyOf.js +30 -0
  1949. package/node_modules/lodash/pull.js +29 -0
  1950. package/node_modules/lodash/pullAll.js +29 -0
  1951. package/node_modules/lodash/pullAllBy.js +33 -0
  1952. package/node_modules/lodash/pullAllWith.js +32 -0
  1953. package/node_modules/lodash/pullAt.js +43 -0
  1954. package/node_modules/lodash/random.js +82 -0
  1955. package/node_modules/lodash/range.js +46 -0
  1956. package/node_modules/lodash/rangeRight.js +41 -0
  1957. package/node_modules/lodash/rearg.js +33 -0
  1958. package/node_modules/lodash/reduce.js +51 -0
  1959. package/node_modules/lodash/reduceRight.js +36 -0
  1960. package/node_modules/lodash/reject.js +46 -0
  1961. package/node_modules/lodash/release.md +48 -0
  1962. package/node_modules/lodash/remove.js +53 -0
  1963. package/node_modules/lodash/repeat.js +37 -0
  1964. package/node_modules/lodash/replace.js +29 -0
  1965. package/node_modules/lodash/rest.js +40 -0
  1966. package/node_modules/lodash/result.js +56 -0
  1967. package/node_modules/lodash/reverse.js +34 -0
  1968. package/node_modules/lodash/round.js +26 -0
  1969. package/node_modules/lodash/sample.js +24 -0
  1970. package/node_modules/lodash/sampleSize.js +37 -0
  1971. package/node_modules/lodash/seq.js +16 -0
  1972. package/node_modules/lodash/set.js +35 -0
  1973. package/node_modules/lodash/setWith.js +32 -0
  1974. package/node_modules/lodash/shuffle.js +25 -0
  1975. package/node_modules/lodash/size.js +46 -0
  1976. package/node_modules/lodash/slice.js +37 -0
  1977. package/node_modules/lodash/snakeCase.js +28 -0
  1978. package/node_modules/lodash/some.js +51 -0
  1979. package/node_modules/lodash/sortBy.js +48 -0
  1980. package/node_modules/lodash/sortedIndex.js +24 -0
  1981. package/node_modules/lodash/sortedIndexBy.js +33 -0
  1982. package/node_modules/lodash/sortedIndexOf.js +31 -0
  1983. package/node_modules/lodash/sortedLastIndex.js +25 -0
  1984. package/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1985. package/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1986. package/node_modules/lodash/sortedUniq.js +24 -0
  1987. package/node_modules/lodash/sortedUniqBy.js +26 -0
  1988. package/node_modules/lodash/split.js +52 -0
  1989. package/node_modules/lodash/spread.js +63 -0
  1990. package/node_modules/lodash/startCase.js +29 -0
  1991. package/node_modules/lodash/startsWith.js +39 -0
  1992. package/node_modules/lodash/string.js +33 -0
  1993. package/node_modules/lodash/stubArray.js +23 -0
  1994. package/node_modules/lodash/stubFalse.js +18 -0
  1995. package/node_modules/lodash/stubObject.js +23 -0
  1996. package/node_modules/lodash/stubString.js +18 -0
  1997. package/node_modules/lodash/stubTrue.js +18 -0
  1998. package/node_modules/lodash/subtract.js +22 -0
  1999. package/node_modules/lodash/sum.js +24 -0
  2000. package/node_modules/lodash/sumBy.js +33 -0
  2001. package/node_modules/lodash/tail.js +22 -0
  2002. package/node_modules/lodash/take.js +37 -0
  2003. package/node_modules/lodash/takeRight.js +39 -0
  2004. package/node_modules/lodash/takeRightWhile.js +45 -0
  2005. package/node_modules/lodash/takeWhile.js +45 -0
  2006. package/node_modules/lodash/tap.js +29 -0
  2007. package/node_modules/lodash/template.js +272 -0
  2008. package/node_modules/lodash/templateSettings.js +67 -0
  2009. package/node_modules/lodash/throttle.js +69 -0
  2010. package/node_modules/lodash/thru.js +28 -0
  2011. package/node_modules/lodash/times.js +51 -0
  2012. package/node_modules/lodash/toArray.js +58 -0
  2013. package/node_modules/lodash/toFinite.js +42 -0
  2014. package/node_modules/lodash/toInteger.js +36 -0
  2015. package/node_modules/lodash/toIterator.js +23 -0
  2016. package/node_modules/lodash/toJSON.js +1 -0
  2017. package/node_modules/lodash/toLength.js +38 -0
  2018. package/node_modules/lodash/toLower.js +28 -0
  2019. package/node_modules/lodash/toNumber.js +64 -0
  2020. package/node_modules/lodash/toPairs.js +30 -0
  2021. package/node_modules/lodash/toPairsIn.js +30 -0
  2022. package/node_modules/lodash/toPath.js +33 -0
  2023. package/node_modules/lodash/toPlainObject.js +32 -0
  2024. package/node_modules/lodash/toSafeInteger.js +37 -0
  2025. package/node_modules/lodash/toString.js +28 -0
  2026. package/node_modules/lodash/toUpper.js +28 -0
  2027. package/node_modules/lodash/transform.js +65 -0
  2028. package/node_modules/lodash/trim.js +47 -0
  2029. package/node_modules/lodash/trimEnd.js +41 -0
  2030. package/node_modules/lodash/trimStart.js +43 -0
  2031. package/node_modules/lodash/truncate.js +111 -0
  2032. package/node_modules/lodash/unary.js +22 -0
  2033. package/node_modules/lodash/unescape.js +34 -0
  2034. package/node_modules/lodash/union.js +26 -0
  2035. package/node_modules/lodash/unionBy.js +39 -0
  2036. package/node_modules/lodash/unionWith.js +34 -0
  2037. package/node_modules/lodash/uniq.js +25 -0
  2038. package/node_modules/lodash/uniqBy.js +31 -0
  2039. package/node_modules/lodash/uniqWith.js +28 -0
  2040. package/node_modules/lodash/uniqueId.js +28 -0
  2041. package/node_modules/lodash/unset.js +34 -0
  2042. package/node_modules/lodash/unzip.js +45 -0
  2043. package/node_modules/lodash/unzipWith.js +39 -0
  2044. package/node_modules/lodash/update.js +35 -0
  2045. package/node_modules/lodash/updateWith.js +33 -0
  2046. package/node_modules/lodash/upperCase.js +27 -0
  2047. package/node_modules/lodash/upperFirst.js +22 -0
  2048. package/node_modules/lodash/util.js +34 -0
  2049. package/node_modules/lodash/value.js +1 -0
  2050. package/node_modules/lodash/valueOf.js +1 -0
  2051. package/node_modules/lodash/values.js +34 -0
  2052. package/node_modules/lodash/valuesIn.js +32 -0
  2053. package/node_modules/lodash/without.js +31 -0
  2054. package/node_modules/lodash/words.js +35 -0
  2055. package/node_modules/lodash/wrap.js +30 -0
  2056. package/node_modules/lodash/wrapperAt.js +48 -0
  2057. package/node_modules/lodash/wrapperChain.js +34 -0
  2058. package/node_modules/lodash/wrapperLodash.js +147 -0
  2059. package/node_modules/lodash/wrapperReverse.js +44 -0
  2060. package/node_modules/lodash/wrapperValue.js +21 -0
  2061. package/node_modules/lodash/xor.js +28 -0
  2062. package/node_modules/lodash/xorBy.js +39 -0
  2063. package/node_modules/lodash/xorWith.js +34 -0
  2064. package/node_modules/lodash/zip.js +22 -0
  2065. package/node_modules/lodash/zipObject.js +24 -0
  2066. package/node_modules/lodash/zipObjectDeep.js +23 -0
  2067. package/node_modules/lodash/zipWith.js +32 -0
  2068. package/node_modules/lodash.get/LICENSE +47 -0
  2069. package/node_modules/lodash.get/README.md +18 -0
  2070. package/node_modules/lodash.get/index.js +931 -0
  2071. package/node_modules/lodash.get/package.json +17 -0
  2072. package/node_modules/math-intrinsics/.eslintrc +16 -0
  2073. package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  2074. package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  2075. package/node_modules/math-intrinsics/LICENSE +21 -0
  2076. package/node_modules/math-intrinsics/README.md +50 -0
  2077. package/node_modules/math-intrinsics/abs.d.ts +1 -0
  2078. package/node_modules/math-intrinsics/abs.js +4 -0
  2079. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  2080. package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  2081. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  2082. package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  2083. package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  2084. package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  2085. package/node_modules/math-intrinsics/floor.d.ts +1 -0
  2086. package/node_modules/math-intrinsics/floor.js +4 -0
  2087. package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  2088. package/node_modules/math-intrinsics/isFinite.js +12 -0
  2089. package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  2090. package/node_modules/math-intrinsics/isInteger.js +16 -0
  2091. package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  2092. package/node_modules/math-intrinsics/isNaN.js +6 -0
  2093. package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  2094. package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  2095. package/node_modules/math-intrinsics/max.d.ts +1 -0
  2096. package/node_modules/math-intrinsics/max.js +4 -0
  2097. package/node_modules/math-intrinsics/min.d.ts +1 -0
  2098. package/node_modules/math-intrinsics/min.js +4 -0
  2099. package/node_modules/math-intrinsics/mod.d.ts +3 -0
  2100. package/node_modules/math-intrinsics/mod.js +9 -0
  2101. package/node_modules/math-intrinsics/package.json +86 -0
  2102. package/node_modules/math-intrinsics/pow.d.ts +1 -0
  2103. package/node_modules/math-intrinsics/pow.js +4 -0
  2104. package/node_modules/math-intrinsics/round.d.ts +1 -0
  2105. package/node_modules/math-intrinsics/round.js +4 -0
  2106. package/node_modules/math-intrinsics/sign.d.ts +3 -0
  2107. package/node_modules/math-intrinsics/sign.js +11 -0
  2108. package/node_modules/math-intrinsics/test/index.js +192 -0
  2109. package/node_modules/math-intrinsics/tsconfig.json +3 -0
  2110. package/node_modules/mime-db/HISTORY.md +507 -0
  2111. package/node_modules/mime-db/LICENSE +23 -0
  2112. package/node_modules/mime-db/README.md +100 -0
  2113. package/node_modules/mime-db/db.json +8519 -0
  2114. package/node_modules/mime-db/index.js +12 -0
  2115. package/node_modules/mime-db/package.json +60 -0
  2116. package/node_modules/mime-types/HISTORY.md +397 -0
  2117. package/node_modules/mime-types/LICENSE +23 -0
  2118. package/node_modules/mime-types/README.md +113 -0
  2119. package/node_modules/mime-types/index.js +188 -0
  2120. package/node_modules/mime-types/package.json +44 -0
  2121. package/node_modules/node-fetch/LICENSE.md +22 -0
  2122. package/node_modules/node-fetch/README.md +590 -0
  2123. package/node_modules/node-fetch/browser.js +25 -0
  2124. package/node_modules/node-fetch/lib/index.es.js +1688 -0
  2125. package/node_modules/node-fetch/lib/index.js +1697 -0
  2126. package/node_modules/node-fetch/lib/index.mjs +1686 -0
  2127. package/node_modules/node-fetch/package.json +76 -0
  2128. package/node_modules/p-limit/index.d.ts +42 -0
  2129. package/node_modules/p-limit/index.js +71 -0
  2130. package/node_modules/p-limit/license +9 -0
  2131. package/node_modules/p-limit/package.json +52 -0
  2132. package/node_modules/p-limit/readme.md +101 -0
  2133. package/node_modules/tr46/.npmignore +4 -0
  2134. package/node_modules/tr46/index.js +193 -0
  2135. package/node_modules/tr46/lib/.gitkeep +0 -0
  2136. package/node_modules/tr46/lib/mappingTable.json +1 -0
  2137. package/node_modules/tr46/package.json +31 -0
  2138. package/node_modules/unfetch/LICENSE.md +21 -0
  2139. package/node_modules/unfetch/README.md +247 -0
  2140. package/node_modules/unfetch/dist/unfetch.es.js +2 -0
  2141. package/node_modules/unfetch/dist/unfetch.js +2 -0
  2142. package/node_modules/unfetch/dist/unfetch.js.map +1 -0
  2143. package/node_modules/unfetch/dist/unfetch.module.js +2 -0
  2144. package/node_modules/unfetch/dist/unfetch.module.js.map +1 -0
  2145. package/node_modules/unfetch/dist/unfetch.umd.js +2 -0
  2146. package/node_modules/unfetch/dist/unfetch.umd.js.map +1 -0
  2147. package/node_modules/unfetch/package.json +67 -0
  2148. package/node_modules/unfetch/polyfill/index.js +1 -0
  2149. package/node_modules/unfetch/polyfill/package.json +5 -0
  2150. package/node_modules/unfetch/polyfill/polyfill.mjs +2 -0
  2151. package/node_modules/unfetch/src/index.d.ts +46 -0
  2152. package/node_modules/unfetch/src/index.mjs +47 -0
  2153. package/node_modules/webidl-conversions/LICENSE.md +12 -0
  2154. package/node_modules/webidl-conversions/README.md +53 -0
  2155. package/node_modules/webidl-conversions/lib/index.js +189 -0
  2156. package/node_modules/webidl-conversions/package.json +23 -0
  2157. package/node_modules/whatwg-url/LICENSE.txt +21 -0
  2158. package/node_modules/whatwg-url/README.md +67 -0
  2159. package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
  2160. package/node_modules/whatwg-url/lib/URL.js +196 -0
  2161. package/node_modules/whatwg-url/lib/public-api.js +11 -0
  2162. package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
  2163. package/node_modules/whatwg-url/lib/utils.js +20 -0
  2164. package/node_modules/whatwg-url/package.json +32 -0
  2165. package/node_modules/yocto-queue/index.d.ts +56 -0
  2166. package/node_modules/yocto-queue/index.js +68 -0
  2167. package/node_modules/yocto-queue/license +9 -0
  2168. package/node_modules/yocto-queue/package.json +43 -0
  2169. package/node_modules/yocto-queue/readme.md +64 -0
  2170. package/oclif.manifest.json +1 -85
  2171. package/package.json +12 -8
  2172. package/dist/commands/load-local/index.d.ts +0 -17
  2173. package/dist/commands/load-local/index.js +0 -156
  2174. package/dist/helpers/pipeline/formatters.d.ts +0 -6
  2175. package/dist/helpers/pipeline/formatters.js +0 -219
@@ -0,0 +1,1881 @@
1
+ /**
2
+ * Module dependencies.
3
+ */
4
+
5
+ const EventEmitter = require('events').EventEmitter;
6
+ const spawn = require('child_process').spawn;
7
+ const path = require('path');
8
+ const fs = require('fs');
9
+
10
+ // @ts-check
11
+
12
+ class Option {
13
+ /**
14
+ * Initialize a new `Option` with the given `flags` and `description`.
15
+ *
16
+ * @param {string} flags
17
+ * @param {string} description
18
+ * @api public
19
+ */
20
+
21
+ constructor(flags, description) {
22
+ this.flags = flags;
23
+ this.required = flags.includes('<'); // A value must be supplied when the option is specified.
24
+ this.optional = flags.includes('['); // A value is optional when the option is specified.
25
+ // variadic test ignores <value,...> et al which might be used to describe custom splitting of single argument
26
+ this.variadic = /\w\.\.\.[>\]]$/.test(flags); // The option can take multiple values.
27
+ this.mandatory = false; // The option must have a value after parsing, which usually means it must be specified on command line.
28
+ const optionFlags = _parseOptionFlags(flags);
29
+ this.short = optionFlags.shortFlag;
30
+ this.long = optionFlags.longFlag;
31
+ this.negate = false;
32
+ if (this.long) {
33
+ this.negate = this.long.startsWith('--no-');
34
+ }
35
+ this.description = description || '';
36
+ this.defaultValue = undefined;
37
+ }
38
+
39
+ /**
40
+ * Return option name.
41
+ *
42
+ * @return {string}
43
+ * @api private
44
+ */
45
+
46
+ name() {
47
+ if (this.long) {
48
+ return this.long.replace(/^--/, '');
49
+ }
50
+ return this.short.replace(/^-/, '');
51
+ };
52
+
53
+ /**
54
+ * Return option name, in a camelcase format that can be used
55
+ * as a object attribute key.
56
+ *
57
+ * @return {string}
58
+ * @api private
59
+ */
60
+
61
+ attributeName() {
62
+ return camelcase(this.name().replace(/^no-/, ''));
63
+ };
64
+
65
+ /**
66
+ * Check if `arg` matches the short or long flag.
67
+ *
68
+ * @param {string} arg
69
+ * @return {boolean}
70
+ * @api private
71
+ */
72
+
73
+ is(arg) {
74
+ return this.short === arg || this.long === arg;
75
+ };
76
+ }
77
+
78
+ /**
79
+ * CommanderError class
80
+ * @class
81
+ */
82
+ class CommanderError extends Error {
83
+ /**
84
+ * Constructs the CommanderError class
85
+ * @param {number} exitCode suggested exit code which could be used with process.exit
86
+ * @param {string} code an id string representing the error
87
+ * @param {string} message human-readable description of the error
88
+ * @constructor
89
+ */
90
+ constructor(exitCode, code, message) {
91
+ super(message);
92
+ // properly capture stack trace in Node.js
93
+ Error.captureStackTrace(this, this.constructor);
94
+ this.name = this.constructor.name;
95
+ this.code = code;
96
+ this.exitCode = exitCode;
97
+ this.nestedError = undefined;
98
+ }
99
+ }
100
+
101
+ class Command extends EventEmitter {
102
+ /**
103
+ * Initialize a new `Command`.
104
+ *
105
+ * @param {string} [name]
106
+ * @api public
107
+ */
108
+
109
+ constructor(name) {
110
+ super();
111
+ this.commands = [];
112
+ this.options = [];
113
+ this.parent = null;
114
+ this._allowUnknownOption = false;
115
+ this._args = [];
116
+ this.rawArgs = null;
117
+ this._scriptPath = null;
118
+ this._name = name || '';
119
+ this._optionValues = {};
120
+ this._storeOptionsAsProperties = true; // backwards compatible by default
121
+ this._storeOptionsAsPropertiesCalled = false;
122
+ this._passCommandToAction = true; // backwards compatible by default
123
+ this._actionResults = [];
124
+ this._actionHandler = null;
125
+ this._executableHandler = false;
126
+ this._executableFile = null; // custom name for executable
127
+ this._defaultCommandName = null;
128
+ this._exitCallback = null;
129
+ this._aliases = [];
130
+ this._combineFlagAndOptionalValue = true;
131
+
132
+ this._hidden = false;
133
+ this._hasHelpOption = true;
134
+ this._helpFlags = '-h, --help';
135
+ this._helpDescription = 'display help for command';
136
+ this._helpShortFlag = '-h';
137
+ this._helpLongFlag = '--help';
138
+ this._hasImplicitHelpCommand = undefined; // Deliberately undefined, not decided whether true or false
139
+ this._helpCommandName = 'help';
140
+ this._helpCommandnameAndArgs = 'help [command]';
141
+ this._helpCommandDescription = 'display help for command';
142
+ }
143
+
144
+ /**
145
+ * Define a command.
146
+ *
147
+ * There are two styles of command: pay attention to where to put the description.
148
+ *
149
+ * Examples:
150
+ *
151
+ * // Command implemented using action handler (description is supplied separately to `.command`)
152
+ * program
153
+ * .command('clone <source> [destination]')
154
+ * .description('clone a repository into a newly created directory')
155
+ * .action((source, destination) => {
156
+ * console.log('clone command called');
157
+ * });
158
+ *
159
+ * // Command implemented using separate executable file (description is second parameter to `.command`)
160
+ * program
161
+ * .command('start <service>', 'start named service')
162
+ * .command('stop [service]', 'stop named service, or all if no name supplied');
163
+ *
164
+ * @param {string} nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
165
+ * @param {Object|string} [actionOptsOrExecDesc] - configuration options (for action), or description (for executable)
166
+ * @param {Object} [execOpts] - configuration options (for executable)
167
+ * @return {Command} returns new command for action handler, or `this` for executable command
168
+ * @api public
169
+ */
170
+
171
+ command(nameAndArgs, actionOptsOrExecDesc, execOpts) {
172
+ let desc = actionOptsOrExecDesc;
173
+ let opts = execOpts;
174
+ if (typeof desc === 'object' && desc !== null) {
175
+ opts = desc;
176
+ desc = null;
177
+ }
178
+ opts = opts || {};
179
+ const args = nameAndArgs.split(/ +/);
180
+ const cmd = this.createCommand(args.shift());
181
+
182
+ if (desc) {
183
+ cmd.description(desc);
184
+ cmd._executableHandler = true;
185
+ }
186
+ if (opts.isDefault) this._defaultCommandName = cmd._name;
187
+
188
+ cmd._hidden = !!(opts.noHelp || opts.hidden);
189
+ cmd._hasHelpOption = this._hasHelpOption;
190
+ cmd._helpFlags = this._helpFlags;
191
+ cmd._helpDescription = this._helpDescription;
192
+ cmd._helpShortFlag = this._helpShortFlag;
193
+ cmd._helpLongFlag = this._helpLongFlag;
194
+ cmd._helpCommandName = this._helpCommandName;
195
+ cmd._helpCommandnameAndArgs = this._helpCommandnameAndArgs;
196
+ cmd._helpCommandDescription = this._helpCommandDescription;
197
+ cmd._exitCallback = this._exitCallback;
198
+ cmd._storeOptionsAsProperties = this._storeOptionsAsProperties;
199
+ cmd._passCommandToAction = this._passCommandToAction;
200
+ cmd._combineFlagAndOptionalValue = this._combineFlagAndOptionalValue;
201
+
202
+ cmd._executableFile = opts.executableFile || null; // Custom name for executable file, set missing to null to match constructor
203
+ this.commands.push(cmd);
204
+ cmd._parseExpectedArgs(args);
205
+ cmd.parent = this;
206
+
207
+ if (desc) return this;
208
+ return cmd;
209
+ };
210
+
211
+ /**
212
+ * Factory routine to create a new unattached command.
213
+ *
214
+ * See .command() for creating an attached subcommand, which uses this routine to
215
+ * create the command. You can override createCommand to customise subcommands.
216
+ *
217
+ * @param {string} [name]
218
+ * @return {Command} new command
219
+ * @api public
220
+ */
221
+
222
+ createCommand(name) {
223
+ return new Command(name);
224
+ };
225
+
226
+ /**
227
+ * Add a prepared subcommand.
228
+ *
229
+ * See .command() for creating an attached subcommand which inherits settings from its parent.
230
+ *
231
+ * @param {Command} cmd - new subcommand
232
+ * @param {Object} [opts] - configuration options
233
+ * @return {Command} `this` command for chaining
234
+ * @api public
235
+ */
236
+
237
+ addCommand(cmd, opts) {
238
+ if (!cmd._name) throw new Error('Command passed to .addCommand() must have a name');
239
+
240
+ // To keep things simple, block automatic name generation for deeply nested executables.
241
+ // Fail fast and detect when adding rather than later when parsing.
242
+ function checkExplicitNames(commandArray) {
243
+ commandArray.forEach((cmd) => {
244
+ if (cmd._executableHandler && !cmd._executableFile) {
245
+ throw new Error(`Must specify executableFile for deeply nested executable: ${cmd.name()}`);
246
+ }
247
+ checkExplicitNames(cmd.commands);
248
+ });
249
+ }
250
+ checkExplicitNames(cmd.commands);
251
+
252
+ opts = opts || {};
253
+ if (opts.isDefault) this._defaultCommandName = cmd._name;
254
+ if (opts.noHelp || opts.hidden) cmd._hidden = true; // modifying passed command due to existing implementation
255
+
256
+ this.commands.push(cmd);
257
+ cmd.parent = this;
258
+ return this;
259
+ };
260
+
261
+ /**
262
+ * Define argument syntax for the command.
263
+ *
264
+ * @api public
265
+ */
266
+
267
+ arguments(desc) {
268
+ return this._parseExpectedArgs(desc.split(/ +/));
269
+ };
270
+
271
+ /**
272
+ * Override default decision whether to add implicit help command.
273
+ *
274
+ * addHelpCommand() // force on
275
+ * addHelpCommand(false); // force off
276
+ * addHelpCommand('help [cmd]', 'display help for [cmd]'); // force on with custom details
277
+ *
278
+ * @return {Command} `this` command for chaining
279
+ * @api public
280
+ */
281
+
282
+ addHelpCommand(enableOrNameAndArgs, description) {
283
+ if (enableOrNameAndArgs === false) {
284
+ this._hasImplicitHelpCommand = false;
285
+ } else {
286
+ this._hasImplicitHelpCommand = true;
287
+ if (typeof enableOrNameAndArgs === 'string') {
288
+ this._helpCommandName = enableOrNameAndArgs.split(' ')[0];
289
+ this._helpCommandnameAndArgs = enableOrNameAndArgs;
290
+ }
291
+ this._helpCommandDescription = description || this._helpCommandDescription;
292
+ }
293
+ return this;
294
+ };
295
+
296
+ /**
297
+ * @return {boolean}
298
+ * @api private
299
+ */
300
+
301
+ _lazyHasImplicitHelpCommand() {
302
+ if (this._hasImplicitHelpCommand === undefined) {
303
+ this._hasImplicitHelpCommand = this.commands.length && !this._actionHandler && !this._findCommand('help');
304
+ }
305
+ return this._hasImplicitHelpCommand;
306
+ };
307
+
308
+ /**
309
+ * Parse expected `args`.
310
+ *
311
+ * For example `["[type]"]` becomes `[{ required: false, name: 'type' }]`.
312
+ *
313
+ * @param {Array} args
314
+ * @return {Command} `this` command for chaining
315
+ * @api private
316
+ */
317
+
318
+ _parseExpectedArgs(args) {
319
+ if (!args.length) return;
320
+ args.forEach((arg) => {
321
+ const argDetails = {
322
+ required: false,
323
+ name: '',
324
+ variadic: false
325
+ };
326
+
327
+ switch (arg[0]) {
328
+ case '<':
329
+ argDetails.required = true;
330
+ argDetails.name = arg.slice(1, -1);
331
+ break;
332
+ case '[':
333
+ argDetails.name = arg.slice(1, -1);
334
+ break;
335
+ }
336
+
337
+ if (argDetails.name.length > 3 && argDetails.name.slice(-3) === '...') {
338
+ argDetails.variadic = true;
339
+ argDetails.name = argDetails.name.slice(0, -3);
340
+ }
341
+ if (argDetails.name) {
342
+ this._args.push(argDetails);
343
+ }
344
+ });
345
+ this._args.forEach((arg, i) => {
346
+ if (arg.variadic && i < this._args.length - 1) {
347
+ throw new Error(`only the last argument can be variadic '${arg.name}'`);
348
+ }
349
+ });
350
+ return this;
351
+ };
352
+
353
+ /**
354
+ * Register callback to use as replacement for calling process.exit.
355
+ *
356
+ * @param {Function} [fn] optional callback which will be passed a CommanderError, defaults to throwing
357
+ * @return {Command} `this` command for chaining
358
+ * @api public
359
+ */
360
+
361
+ exitOverride(fn) {
362
+ if (fn) {
363
+ this._exitCallback = fn;
364
+ } else {
365
+ this._exitCallback = (err) => {
366
+ if (err.code !== 'commander.executeSubCommandAsync') {
367
+ throw err;
368
+ } else {
369
+ // Async callback from spawn events, not useful to throw.
370
+ }
371
+ };
372
+ }
373
+ return this;
374
+ };
375
+
376
+ /**
377
+ * Call process.exit, and _exitCallback if defined.
378
+ *
379
+ * @param {number} exitCode exit code for using with process.exit
380
+ * @param {string} code an id string representing the error
381
+ * @param {string} message human-readable description of the error
382
+ * @return never
383
+ * @api private
384
+ */
385
+
386
+ _exit(exitCode, code, message) {
387
+ if (this._exitCallback) {
388
+ this._exitCallback(new CommanderError(exitCode, code, message));
389
+ // Expecting this line is not reached.
390
+ }
391
+ process.exit(exitCode);
392
+ };
393
+
394
+ /**
395
+ * Register callback `fn` for the command.
396
+ *
397
+ * Examples:
398
+ *
399
+ * program
400
+ * .command('help')
401
+ * .description('display verbose help')
402
+ * .action(function() {
403
+ * // output help here
404
+ * });
405
+ *
406
+ * @param {Function} fn
407
+ * @return {Command} `this` command for chaining
408
+ * @api public
409
+ */
410
+
411
+ action(fn) {
412
+ const listener = (args) => {
413
+ // The .action callback takes an extra parameter which is the command or options.
414
+ const expectedArgsCount = this._args.length;
415
+ const actionArgs = args.slice(0, expectedArgsCount);
416
+ if (this._passCommandToAction) {
417
+ actionArgs[expectedArgsCount] = this;
418
+ } else {
419
+ actionArgs[expectedArgsCount] = this.opts();
420
+ }
421
+ // Add the extra arguments so available too.
422
+ if (args.length > expectedArgsCount) {
423
+ actionArgs.push(args.slice(expectedArgsCount));
424
+ }
425
+
426
+ const actionResult = fn.apply(this, actionArgs);
427
+ // Remember result in case it is async. Assume parseAsync getting called on root.
428
+ let rootCommand = this;
429
+ while (rootCommand.parent) {
430
+ rootCommand = rootCommand.parent;
431
+ }
432
+ rootCommand._actionResults.push(actionResult);
433
+ };
434
+ this._actionHandler = listener;
435
+ return this;
436
+ };
437
+
438
+ /**
439
+ * Internal routine to check whether there is a clash storing option value with a Command property.
440
+ *
441
+ * @param {Option} option
442
+ * @api private
443
+ */
444
+
445
+ _checkForOptionNameClash(option) {
446
+ if (!this._storeOptionsAsProperties || this._storeOptionsAsPropertiesCalled) {
447
+ // Storing options safely, or user has been explicit and up to them.
448
+ return;
449
+ }
450
+ // User may override help, and hard to tell if worth warning.
451
+ if (option.name() === 'help') {
452
+ return;
453
+ }
454
+
455
+ const commandProperty = this._getOptionValue(option.attributeName());
456
+ if (commandProperty === undefined) {
457
+ // no clash
458
+ return;
459
+ }
460
+
461
+ let foundClash = true;
462
+ if (option.negate) {
463
+ // It is ok if define foo before --no-foo.
464
+ const positiveLongFlag = option.long.replace(/^--no-/, '--');
465
+ foundClash = !this._findOption(positiveLongFlag);
466
+ } else if (option.long) {
467
+ const negativeLongFlag = option.long.replace(/^--/, '--no-');
468
+ foundClash = !this._findOption(negativeLongFlag);
469
+ }
470
+
471
+ if (foundClash) {
472
+ throw new Error(`option '${option.name()}' clashes with existing property '${option.attributeName()}' on Command
473
+ - call storeOptionsAsProperties(false) to store option values safely,
474
+ - or call storeOptionsAsProperties(true) to suppress this check,
475
+ - or change option name
476
+
477
+ Read more on https://git.io/JJc0W`);
478
+ }
479
+ };
480
+
481
+ /**
482
+ * Internal implementation shared by .option() and .requiredOption()
483
+ *
484
+ * @param {Object} config
485
+ * @param {string} flags
486
+ * @param {string} description
487
+ * @param {Function|*} [fn] - custom option processing function or default value
488
+ * @param {*} [defaultValue]
489
+ * @return {Command} `this` command for chaining
490
+ * @api private
491
+ */
492
+
493
+ _optionEx(config, flags, description, fn, defaultValue) {
494
+ const option = new Option(flags, description);
495
+ const oname = option.name();
496
+ const name = option.attributeName();
497
+ option.mandatory = !!config.mandatory;
498
+
499
+ this._checkForOptionNameClash(option);
500
+
501
+ // default as 3rd arg
502
+ if (typeof fn !== 'function') {
503
+ if (fn instanceof RegExp) {
504
+ // This is a bit simplistic (especially no error messages), and probably better handled by caller using custom option processing.
505
+ // No longer documented in README, but still present for backwards compatibility.
506
+ const regex = fn;
507
+ fn = (val, def) => {
508
+ const m = regex.exec(val);
509
+ return m ? m[0] : def;
510
+ };
511
+ } else {
512
+ defaultValue = fn;
513
+ fn = null;
514
+ }
515
+ }
516
+
517
+ // preassign default value for --no-*, [optional], <required>, or plain flag if boolean value
518
+ if (option.negate || option.optional || option.required || typeof defaultValue === 'boolean') {
519
+ // when --no-foo we make sure default is true, unless a --foo option is already defined
520
+ if (option.negate) {
521
+ const positiveLongFlag = option.long.replace(/^--no-/, '--');
522
+ defaultValue = this._findOption(positiveLongFlag) ? this._getOptionValue(name) : true;
523
+ }
524
+ // preassign only if we have a default
525
+ if (defaultValue !== undefined) {
526
+ this._setOptionValue(name, defaultValue);
527
+ option.defaultValue = defaultValue;
528
+ }
529
+ }
530
+
531
+ // register the option
532
+ this.options.push(option);
533
+
534
+ // when it's passed assign the value
535
+ // and conditionally invoke the callback
536
+ this.on('option:' + oname, (val) => {
537
+ const oldValue = this._getOptionValue(name);
538
+
539
+ // custom processing
540
+ if (val !== null && fn) {
541
+ val = fn(val, oldValue === undefined ? defaultValue : oldValue);
542
+ } else if (val !== null && option.variadic) {
543
+ if (oldValue === defaultValue || !Array.isArray(oldValue)) {
544
+ val = [val];
545
+ } else {
546
+ val = oldValue.concat(val);
547
+ }
548
+ }
549
+
550
+ // unassigned or boolean value
551
+ if (typeof oldValue === 'boolean' || typeof oldValue === 'undefined') {
552
+ // if no value, negate false, and we have a default, then use it!
553
+ if (val == null) {
554
+ this._setOptionValue(name, option.negate
555
+ ? false
556
+ : defaultValue || true);
557
+ } else {
558
+ this._setOptionValue(name, val);
559
+ }
560
+ } else if (val !== null) {
561
+ // reassign
562
+ this._setOptionValue(name, option.negate ? false : val);
563
+ }
564
+ });
565
+
566
+ return this;
567
+ };
568
+
569
+ /**
570
+ * Define option with `flags`, `description` and optional
571
+ * coercion `fn`.
572
+ *
573
+ * The `flags` string should contain both the short and long flags,
574
+ * separated by comma, a pipe or space. The following are all valid
575
+ * all will output this way when `--help` is used.
576
+ *
577
+ * "-p, --pepper"
578
+ * "-p|--pepper"
579
+ * "-p --pepper"
580
+ *
581
+ * Examples:
582
+ *
583
+ * // simple boolean defaulting to undefined
584
+ * program.option('-p, --pepper', 'add pepper');
585
+ *
586
+ * program.pepper
587
+ * // => undefined
588
+ *
589
+ * --pepper
590
+ * program.pepper
591
+ * // => true
592
+ *
593
+ * // simple boolean defaulting to true (unless non-negated option is also defined)
594
+ * program.option('-C, --no-cheese', 'remove cheese');
595
+ *
596
+ * program.cheese
597
+ * // => true
598
+ *
599
+ * --no-cheese
600
+ * program.cheese
601
+ * // => false
602
+ *
603
+ * // required argument
604
+ * program.option('-C, --chdir <path>', 'change the working directory');
605
+ *
606
+ * --chdir /tmp
607
+ * program.chdir
608
+ * // => "/tmp"
609
+ *
610
+ * // optional argument
611
+ * program.option('-c, --cheese [type]', 'add cheese [marble]');
612
+ *
613
+ * @param {string} flags
614
+ * @param {string} description
615
+ * @param {Function|*} [fn] - custom option processing function or default value
616
+ * @param {*} [defaultValue]
617
+ * @return {Command} `this` command for chaining
618
+ * @api public
619
+ */
620
+
621
+ option(flags, description, fn, defaultValue) {
622
+ return this._optionEx({}, flags, description, fn, defaultValue);
623
+ };
624
+
625
+ /**
626
+ * Add a required option which must have a value after parsing. This usually means
627
+ * the option must be specified on the command line. (Otherwise the same as .option().)
628
+ *
629
+ * The `flags` string should contain both the short and long flags, separated by comma, a pipe or space.
630
+ *
631
+ * @param {string} flags
632
+ * @param {string} description
633
+ * @param {Function|*} [fn] - custom option processing function or default value
634
+ * @param {*} [defaultValue]
635
+ * @return {Command} `this` command for chaining
636
+ * @api public
637
+ */
638
+
639
+ requiredOption(flags, description, fn, defaultValue) {
640
+ return this._optionEx({ mandatory: true }, flags, description, fn, defaultValue);
641
+ };
642
+
643
+ /**
644
+ * Alter parsing of short flags with optional values.
645
+ *
646
+ * Examples:
647
+ *
648
+ * // for `.option('-f,--flag [value]'):
649
+ * .combineFlagAndOptionalValue(true) // `-f80` is treated like `--flag=80`, this is the default behaviour
650
+ * .combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
651
+ *
652
+ * @param {Boolean} [arg] - if `true` or omitted, an optional value can be specified directly after the flag.
653
+ * @api public
654
+ */
655
+ combineFlagAndOptionalValue(arg) {
656
+ this._combineFlagAndOptionalValue = (arg === undefined) || arg;
657
+ return this;
658
+ };
659
+
660
+ /**
661
+ * Allow unknown options on the command line.
662
+ *
663
+ * @param {Boolean} [arg] - if `true` or omitted, no error will be thrown
664
+ * for unknown options.
665
+ * @api public
666
+ */
667
+ allowUnknownOption(arg) {
668
+ this._allowUnknownOption = (arg === undefined) || arg;
669
+ return this;
670
+ };
671
+
672
+ /**
673
+ * Whether to store option values as properties on command object,
674
+ * or store separately (specify false). In both cases the option values can be accessed using .opts().
675
+ *
676
+ * @param {boolean} value
677
+ * @return {Command} `this` command for chaining
678
+ * @api public
679
+ */
680
+
681
+ storeOptionsAsProperties(value) {
682
+ this._storeOptionsAsPropertiesCalled = true;
683
+ this._storeOptionsAsProperties = (value === undefined) || value;
684
+ if (this.options.length) {
685
+ throw new Error('call .storeOptionsAsProperties() before adding options');
686
+ }
687
+ return this;
688
+ };
689
+
690
+ /**
691
+ * Whether to pass command to action handler,
692
+ * or just the options (specify false).
693
+ *
694
+ * @param {boolean} value
695
+ * @return {Command} `this` command for chaining
696
+ * @api public
697
+ */
698
+
699
+ passCommandToAction(value) {
700
+ this._passCommandToAction = (value === undefined) || value;
701
+ return this;
702
+ };
703
+
704
+ /**
705
+ * Store option value
706
+ *
707
+ * @param {string} key
708
+ * @param {Object} value
709
+ * @api private
710
+ */
711
+
712
+ _setOptionValue(key, value) {
713
+ if (this._storeOptionsAsProperties) {
714
+ this[key] = value;
715
+ } else {
716
+ this._optionValues[key] = value;
717
+ }
718
+ };
719
+
720
+ /**
721
+ * Retrieve option value
722
+ *
723
+ * @param {string} key
724
+ * @return {Object} value
725
+ * @api private
726
+ */
727
+
728
+ _getOptionValue(key) {
729
+ if (this._storeOptionsAsProperties) {
730
+ return this[key];
731
+ }
732
+ return this._optionValues[key];
733
+ };
734
+
735
+ /**
736
+ * Parse `argv`, setting options and invoking commands when defined.
737
+ *
738
+ * The default expectation is that the arguments are from node and have the application as argv[0]
739
+ * and the script being run in argv[1], with user parameters after that.
740
+ *
741
+ * Examples:
742
+ *
743
+ * program.parse(process.argv);
744
+ * program.parse(); // implicitly use process.argv and auto-detect node vs electron conventions
745
+ * program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
746
+ *
747
+ * @param {string[]} [argv] - optional, defaults to process.argv
748
+ * @param {Object} [parseOptions] - optionally specify style of options with from: node/user/electron
749
+ * @param {string} [parseOptions.from] - where the args are from: 'node', 'user', 'electron'
750
+ * @return {Command} `this` command for chaining
751
+ * @api public
752
+ */
753
+
754
+ parse(argv, parseOptions) {
755
+ if (argv !== undefined && !Array.isArray(argv)) {
756
+ throw new Error('first parameter to parse must be array or undefined');
757
+ }
758
+ parseOptions = parseOptions || {};
759
+
760
+ // Default to using process.argv
761
+ if (argv === undefined) {
762
+ argv = process.argv;
763
+ // @ts-ignore
764
+ if (process.versions && process.versions.electron) {
765
+ parseOptions.from = 'electron';
766
+ }
767
+ }
768
+ this.rawArgs = argv.slice();
769
+
770
+ // make it a little easier for callers by supporting various argv conventions
771
+ let userArgs;
772
+ switch (parseOptions.from) {
773
+ case undefined:
774
+ case 'node':
775
+ this._scriptPath = argv[1];
776
+ userArgs = argv.slice(2);
777
+ break;
778
+ case 'electron':
779
+ // @ts-ignore
780
+ if (process.defaultApp) {
781
+ this._scriptPath = argv[1];
782
+ userArgs = argv.slice(2);
783
+ } else {
784
+ userArgs = argv.slice(1);
785
+ }
786
+ break;
787
+ case 'user':
788
+ userArgs = argv.slice(0);
789
+ break;
790
+ default:
791
+ throw new Error(`unexpected parse option { from: '${parseOptions.from}' }`);
792
+ }
793
+ if (!this._scriptPath && process.mainModule) {
794
+ this._scriptPath = process.mainModule.filename;
795
+ }
796
+
797
+ // Guess name, used in usage in help.
798
+ this._name = this._name || (this._scriptPath && path.basename(this._scriptPath, path.extname(this._scriptPath)));
799
+
800
+ // Let's go!
801
+ this._parseCommand([], userArgs);
802
+
803
+ return this;
804
+ };
805
+
806
+ /**
807
+ * Parse `argv`, setting options and invoking commands when defined.
808
+ *
809
+ * Use parseAsync instead of parse if any of your action handlers are async. Returns a Promise.
810
+ *
811
+ * The default expectation is that the arguments are from node and have the application as argv[0]
812
+ * and the script being run in argv[1], with user parameters after that.
813
+ *
814
+ * Examples:
815
+ *
816
+ * program.parseAsync(process.argv);
817
+ * program.parseAsync(); // implicitly use process.argv and auto-detect node vs electron conventions
818
+ * program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
819
+ *
820
+ * @param {string[]} [argv]
821
+ * @param {Object} [parseOptions]
822
+ * @param {string} parseOptions.from - where the args are from: 'node', 'user', 'electron'
823
+ * @return {Promise}
824
+ * @api public
825
+ */
826
+
827
+ parseAsync(argv, parseOptions) {
828
+ this.parse(argv, parseOptions);
829
+ return Promise.all(this._actionResults).then(() => this);
830
+ };
831
+
832
+ /**
833
+ * Execute a sub-command executable.
834
+ *
835
+ * @api private
836
+ */
837
+
838
+ _executeSubCommand(subcommand, args) {
839
+ args = args.slice();
840
+ let launchWithNode = false; // Use node for source targets so do not need to get permissions correct, and on Windows.
841
+ const sourceExt = ['.js', '.ts', '.tsx', '.mjs'];
842
+
843
+ // Not checking for help first. Unlikely to have mandatory and executable, and can't robustly test for help flags in external command.
844
+ this._checkForMissingMandatoryOptions();
845
+
846
+ // Want the entry script as the reference for command name and directory for searching for other files.
847
+ let scriptPath = this._scriptPath;
848
+ // Fallback in case not set, due to how Command created or called.
849
+ if (!scriptPath && process.mainModule) {
850
+ scriptPath = process.mainModule.filename;
851
+ }
852
+
853
+ let baseDir;
854
+ try {
855
+ const resolvedLink = fs.realpathSync(scriptPath);
856
+ baseDir = path.dirname(resolvedLink);
857
+ } catch (e) {
858
+ baseDir = '.'; // dummy, probably not going to find executable!
859
+ }
860
+
861
+ // name of the subcommand, like `pm-install`
862
+ let bin = path.basename(scriptPath, path.extname(scriptPath)) + '-' + subcommand._name;
863
+ if (subcommand._executableFile) {
864
+ bin = subcommand._executableFile;
865
+ }
866
+
867
+ const localBin = path.join(baseDir, bin);
868
+ if (fs.existsSync(localBin)) {
869
+ // prefer local `./<bin>` to bin in the $PATH
870
+ bin = localBin;
871
+ } else {
872
+ // Look for source files.
873
+ sourceExt.forEach((ext) => {
874
+ if (fs.existsSync(`${localBin}${ext}`)) {
875
+ bin = `${localBin}${ext}`;
876
+ }
877
+ });
878
+ }
879
+ launchWithNode = sourceExt.includes(path.extname(bin));
880
+
881
+ let proc;
882
+ if (process.platform !== 'win32') {
883
+ if (launchWithNode) {
884
+ args.unshift(bin);
885
+ // add executable arguments to spawn
886
+ args = incrementNodeInspectorPort(process.execArgv).concat(args);
887
+
888
+ proc = spawn(process.argv[0], args, { stdio: 'inherit' });
889
+ } else {
890
+ proc = spawn(bin, args, { stdio: 'inherit' });
891
+ }
892
+ } else {
893
+ args.unshift(bin);
894
+ // add executable arguments to spawn
895
+ args = incrementNodeInspectorPort(process.execArgv).concat(args);
896
+ proc = spawn(process.execPath, args, { stdio: 'inherit' });
897
+ }
898
+
899
+ const signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
900
+ signals.forEach((signal) => {
901
+ // @ts-ignore
902
+ process.on(signal, () => {
903
+ if (proc.killed === false && proc.exitCode === null) {
904
+ proc.kill(signal);
905
+ }
906
+ });
907
+ });
908
+
909
+ // By default terminate process when spawned process terminates.
910
+ // Suppressing the exit if exitCallback defined is a bit messy and of limited use, but does allow process to stay running!
911
+ const exitCallback = this._exitCallback;
912
+ if (!exitCallback) {
913
+ proc.on('close', process.exit.bind(process));
914
+ } else {
915
+ proc.on('close', () => {
916
+ exitCallback(new CommanderError(process.exitCode || 0, 'commander.executeSubCommandAsync', '(close)'));
917
+ });
918
+ }
919
+ proc.on('error', (err) => {
920
+ // @ts-ignore
921
+ if (err.code === 'ENOENT') {
922
+ const executableMissing = `'${bin}' does not exist
923
+ - if '${subcommand._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
924
+ - if the default executable name is not suitable, use the executableFile option to supply a custom name`;
925
+ throw new Error(executableMissing);
926
+ // @ts-ignore
927
+ } else if (err.code === 'EACCES') {
928
+ throw new Error(`'${bin}' not executable`);
929
+ }
930
+ if (!exitCallback) {
931
+ process.exit(1);
932
+ } else {
933
+ const wrappedError = new CommanderError(1, 'commander.executeSubCommandAsync', '(error)');
934
+ wrappedError.nestedError = err;
935
+ exitCallback(wrappedError);
936
+ }
937
+ });
938
+
939
+ // Store the reference to the child process
940
+ this.runningCommand = proc;
941
+ };
942
+
943
+ /**
944
+ * @api private
945
+ */
946
+ _dispatchSubcommand(commandName, operands, unknown) {
947
+ const subCommand = this._findCommand(commandName);
948
+ if (!subCommand) this._helpAndError();
949
+
950
+ if (subCommand._executableHandler) {
951
+ this._executeSubCommand(subCommand, operands.concat(unknown));
952
+ } else {
953
+ subCommand._parseCommand(operands, unknown);
954
+ }
955
+ };
956
+
957
+ /**
958
+ * Process arguments in context of this command.
959
+ *
960
+ * @api private
961
+ */
962
+
963
+ _parseCommand(operands, unknown) {
964
+ const parsed = this.parseOptions(unknown);
965
+ operands = operands.concat(parsed.operands);
966
+ unknown = parsed.unknown;
967
+ this.args = operands.concat(unknown);
968
+
969
+ if (operands && this._findCommand(operands[0])) {
970
+ this._dispatchSubcommand(operands[0], operands.slice(1), unknown);
971
+ } else if (this._lazyHasImplicitHelpCommand() && operands[0] === this._helpCommandName) {
972
+ if (operands.length === 1) {
973
+ this.help();
974
+ } else {
975
+ this._dispatchSubcommand(operands[1], [], [this._helpLongFlag]);
976
+ }
977
+ } else if (this._defaultCommandName) {
978
+ outputHelpIfRequested(this, unknown); // Run the help for default command from parent rather than passing to default command
979
+ this._dispatchSubcommand(this._defaultCommandName, operands, unknown);
980
+ } else {
981
+ if (this.commands.length && this.args.length === 0 && !this._actionHandler && !this._defaultCommandName) {
982
+ // probably missing subcommand and no handler, user needs help
983
+ this._helpAndError();
984
+ }
985
+
986
+ outputHelpIfRequested(this, parsed.unknown);
987
+ this._checkForMissingMandatoryOptions();
988
+ if (parsed.unknown.length > 0) {
989
+ this.unknownOption(parsed.unknown[0]);
990
+ }
991
+
992
+ if (this._actionHandler) {
993
+ const args = this.args.slice();
994
+ this._args.forEach((arg, i) => {
995
+ if (arg.required && args[i] == null) {
996
+ this.missingArgument(arg.name);
997
+ } else if (arg.variadic) {
998
+ args[i] = args.splice(i);
999
+ }
1000
+ });
1001
+
1002
+ this._actionHandler(args);
1003
+ this.emit('command:' + this.name(), operands, unknown);
1004
+ } else if (operands.length) {
1005
+ if (this._findCommand('*')) {
1006
+ this._dispatchSubcommand('*', operands, unknown);
1007
+ } else if (this.listenerCount('command:*')) {
1008
+ this.emit('command:*', operands, unknown);
1009
+ } else if (this.commands.length) {
1010
+ this.unknownCommand();
1011
+ }
1012
+ } else if (this.commands.length) {
1013
+ // This command has subcommands and nothing hooked up at this level, so display help.
1014
+ this._helpAndError();
1015
+ } else {
1016
+ // fall through for caller to handle after calling .parse()
1017
+ }
1018
+ }
1019
+ };
1020
+
1021
+ /**
1022
+ * Find matching command.
1023
+ *
1024
+ * @api private
1025
+ */
1026
+ _findCommand(name) {
1027
+ if (!name) return undefined;
1028
+ return this.commands.find(cmd => cmd._name === name || cmd._aliases.includes(name));
1029
+ };
1030
+
1031
+ /**
1032
+ * Return an option matching `arg` if any.
1033
+ *
1034
+ * @param {string} arg
1035
+ * @return {Option}
1036
+ * @api private
1037
+ */
1038
+
1039
+ _findOption(arg) {
1040
+ return this.options.find(option => option.is(arg));
1041
+ };
1042
+
1043
+ /**
1044
+ * Display an error message if a mandatory option does not have a value.
1045
+ * Lazy calling after checking for help flags from leaf subcommand.
1046
+ *
1047
+ * @api private
1048
+ */
1049
+
1050
+ _checkForMissingMandatoryOptions() {
1051
+ // Walk up hierarchy so can call in subcommand after checking for displaying help.
1052
+ for (let cmd = this; cmd; cmd = cmd.parent) {
1053
+ cmd.options.forEach((anOption) => {
1054
+ if (anOption.mandatory && (cmd._getOptionValue(anOption.attributeName()) === undefined)) {
1055
+ cmd.missingMandatoryOptionValue(anOption);
1056
+ }
1057
+ });
1058
+ }
1059
+ };
1060
+
1061
+ /**
1062
+ * Parse options from `argv` removing known options,
1063
+ * and return argv split into operands and unknown arguments.
1064
+ *
1065
+ * Examples:
1066
+ *
1067
+ * argv => operands, unknown
1068
+ * --known kkk op => [op], []
1069
+ * op --known kkk => [op], []
1070
+ * sub --unknown uuu op => [sub], [--unknown uuu op]
1071
+ * sub -- --unknown uuu op => [sub --unknown uuu op], []
1072
+ *
1073
+ * @param {String[]} argv
1074
+ * @return {{operands: String[], unknown: String[]}}
1075
+ * @api public
1076
+ */
1077
+
1078
+ parseOptions(argv) {
1079
+ const operands = []; // operands, not options or values
1080
+ const unknown = []; // first unknown option and remaining unknown args
1081
+ let dest = operands;
1082
+ const args = argv.slice();
1083
+
1084
+ function maybeOption(arg) {
1085
+ return arg.length > 1 && arg[0] === '-';
1086
+ }
1087
+
1088
+ // parse options
1089
+ let activeVariadicOption = null;
1090
+ while (args.length) {
1091
+ const arg = args.shift();
1092
+
1093
+ // literal
1094
+ if (arg === '--') {
1095
+ if (dest === unknown) dest.push(arg);
1096
+ dest.push(...args);
1097
+ break;
1098
+ }
1099
+
1100
+ if (activeVariadicOption && !maybeOption(arg)) {
1101
+ this.emit(`option:${activeVariadicOption.name()}`, arg);
1102
+ continue;
1103
+ }
1104
+ activeVariadicOption = null;
1105
+
1106
+ if (maybeOption(arg)) {
1107
+ const option = this._findOption(arg);
1108
+ // recognised option, call listener to assign value with possible custom processing
1109
+ if (option) {
1110
+ if (option.required) {
1111
+ const value = args.shift();
1112
+ if (value === undefined) this.optionMissingArgument(option);
1113
+ this.emit(`option:${option.name()}`, value);
1114
+ } else if (option.optional) {
1115
+ let value = null;
1116
+ // historical behaviour is optional value is following arg unless an option
1117
+ if (args.length > 0 && !maybeOption(args[0])) {
1118
+ value = args.shift();
1119
+ }
1120
+ this.emit(`option:${option.name()}`, value);
1121
+ } else { // boolean flag
1122
+ this.emit(`option:${option.name()}`);
1123
+ }
1124
+ activeVariadicOption = option.variadic ? option : null;
1125
+ continue;
1126
+ }
1127
+ }
1128
+
1129
+ // Look for combo options following single dash, eat first one if known.
1130
+ if (arg.length > 2 && arg[0] === '-' && arg[1] !== '-') {
1131
+ const option = this._findOption(`-${arg[1]}`);
1132
+ if (option) {
1133
+ if (option.required || (option.optional && this._combineFlagAndOptionalValue)) {
1134
+ // option with value following in same argument
1135
+ this.emit(`option:${option.name()}`, arg.slice(2));
1136
+ } else {
1137
+ // boolean option, emit and put back remainder of arg for further processing
1138
+ this.emit(`option:${option.name()}`);
1139
+ args.unshift(`-${arg.slice(2)}`);
1140
+ }
1141
+ continue;
1142
+ }
1143
+ }
1144
+
1145
+ // Look for known long flag with value, like --foo=bar
1146
+ if (/^--[^=]+=/.test(arg)) {
1147
+ const index = arg.indexOf('=');
1148
+ const option = this._findOption(arg.slice(0, index));
1149
+ if (option && (option.required || option.optional)) {
1150
+ this.emit(`option:${option.name()}`, arg.slice(index + 1));
1151
+ continue;
1152
+ }
1153
+ }
1154
+
1155
+ // looks like an option but unknown, unknowns from here
1156
+ if (arg.length > 1 && arg[0] === '-') {
1157
+ dest = unknown;
1158
+ }
1159
+
1160
+ // add arg
1161
+ dest.push(arg);
1162
+ }
1163
+
1164
+ return { operands, unknown };
1165
+ };
1166
+
1167
+ /**
1168
+ * Return an object containing options as key-value pairs
1169
+ *
1170
+ * @return {Object}
1171
+ * @api public
1172
+ */
1173
+ opts() {
1174
+ if (this._storeOptionsAsProperties) {
1175
+ // Preserve original behaviour so backwards compatible when still using properties
1176
+ const result = {};
1177
+ const len = this.options.length;
1178
+
1179
+ for (let i = 0; i < len; i++) {
1180
+ const key = this.options[i].attributeName();
1181
+ result[key] = key === this._versionOptionName ? this._version : this[key];
1182
+ }
1183
+ return result;
1184
+ }
1185
+
1186
+ return this._optionValues;
1187
+ };
1188
+
1189
+ /**
1190
+ * Argument `name` is missing.
1191
+ *
1192
+ * @param {string} name
1193
+ * @api private
1194
+ */
1195
+
1196
+ missingArgument(name) {
1197
+ const message = `error: missing required argument '${name}'`;
1198
+ console.error(message);
1199
+ this._exit(1, 'commander.missingArgument', message);
1200
+ };
1201
+
1202
+ /**
1203
+ * `Option` is missing an argument, but received `flag` or nothing.
1204
+ *
1205
+ * @param {Option} option
1206
+ * @param {string} [flag]
1207
+ * @api private
1208
+ */
1209
+
1210
+ optionMissingArgument(option, flag) {
1211
+ let message;
1212
+ if (flag) {
1213
+ message = `error: option '${option.flags}' argument missing, got '${flag}'`;
1214
+ } else {
1215
+ message = `error: option '${option.flags}' argument missing`;
1216
+ }
1217
+ console.error(message);
1218
+ this._exit(1, 'commander.optionMissingArgument', message);
1219
+ };
1220
+
1221
+ /**
1222
+ * `Option` does not have a value, and is a mandatory option.
1223
+ *
1224
+ * @param {Option} option
1225
+ * @api private
1226
+ */
1227
+
1228
+ missingMandatoryOptionValue(option) {
1229
+ const message = `error: required option '${option.flags}' not specified`;
1230
+ console.error(message);
1231
+ this._exit(1, 'commander.missingMandatoryOptionValue', message);
1232
+ };
1233
+
1234
+ /**
1235
+ * Unknown option `flag`.
1236
+ *
1237
+ * @param {string} flag
1238
+ * @api private
1239
+ */
1240
+
1241
+ unknownOption(flag) {
1242
+ if (this._allowUnknownOption) return;
1243
+ const message = `error: unknown option '${flag}'`;
1244
+ console.error(message);
1245
+ this._exit(1, 'commander.unknownOption', message);
1246
+ };
1247
+
1248
+ /**
1249
+ * Unknown command.
1250
+ *
1251
+ * @api private
1252
+ */
1253
+
1254
+ unknownCommand() {
1255
+ const partCommands = [this.name()];
1256
+ for (let parentCmd = this.parent; parentCmd; parentCmd = parentCmd.parent) {
1257
+ partCommands.unshift(parentCmd.name());
1258
+ }
1259
+ const fullCommand = partCommands.join(' ');
1260
+ const message = `error: unknown command '${this.args[0]}'.` +
1261
+ (this._hasHelpOption ? ` See '${fullCommand} ${this._helpLongFlag}'.` : '');
1262
+ console.error(message);
1263
+ this._exit(1, 'commander.unknownCommand', message);
1264
+ };
1265
+
1266
+ /**
1267
+ * Set the program version to `str`.
1268
+ *
1269
+ * This method auto-registers the "-V, --version" flag
1270
+ * which will print the version number when passed.
1271
+ *
1272
+ * You can optionally supply the flags and description to override the defaults.
1273
+ *
1274
+ * @param {string} str
1275
+ * @param {string} [flags]
1276
+ * @param {string} [description]
1277
+ * @return {this | string} `this` command for chaining, or version string if no arguments
1278
+ * @api public
1279
+ */
1280
+
1281
+ version(str, flags, description) {
1282
+ if (str === undefined) return this._version;
1283
+ this._version = str;
1284
+ flags = flags || '-V, --version';
1285
+ description = description || 'output the version number';
1286
+ const versionOption = new Option(flags, description);
1287
+ this._versionOptionName = versionOption.attributeName();
1288
+ this.options.push(versionOption);
1289
+ this.on('option:' + versionOption.name(), () => {
1290
+ process.stdout.write(str + '\n');
1291
+ this._exit(0, 'commander.version', str);
1292
+ });
1293
+ return this;
1294
+ };
1295
+
1296
+ /**
1297
+ * Set the description to `str`.
1298
+ *
1299
+ * @param {string} str
1300
+ * @param {Object} [argsDescription]
1301
+ * @return {string|Command}
1302
+ * @api public
1303
+ */
1304
+
1305
+ description(str, argsDescription) {
1306
+ if (str === undefined && argsDescription === undefined) return this._description;
1307
+ this._description = str;
1308
+ this._argsDescription = argsDescription;
1309
+ return this;
1310
+ };
1311
+
1312
+ /**
1313
+ * Set an alias for the command.
1314
+ *
1315
+ * You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
1316
+ *
1317
+ * @param {string} [alias]
1318
+ * @return {string|Command}
1319
+ * @api public
1320
+ */
1321
+
1322
+ alias(alias) {
1323
+ if (alias === undefined) return this._aliases[0]; // just return first, for backwards compatibility
1324
+
1325
+ let command = this;
1326
+ if (this.commands.length !== 0 && this.commands[this.commands.length - 1]._executableHandler) {
1327
+ // assume adding alias for last added executable subcommand, rather than this
1328
+ command = this.commands[this.commands.length - 1];
1329
+ }
1330
+
1331
+ if (alias === command._name) throw new Error('Command alias can\'t be the same as its name');
1332
+
1333
+ command._aliases.push(alias);
1334
+ return this;
1335
+ };
1336
+
1337
+ /**
1338
+ * Set aliases for the command.
1339
+ *
1340
+ * Only the first alias is shown in the auto-generated help.
1341
+ *
1342
+ * @param {string[]} [aliases]
1343
+ * @return {string[]|Command}
1344
+ * @api public
1345
+ */
1346
+
1347
+ aliases(aliases) {
1348
+ // Getter for the array of aliases is the main reason for having aliases() in addition to alias().
1349
+ if (aliases === undefined) return this._aliases;
1350
+
1351
+ aliases.forEach((alias) => this.alias(alias));
1352
+ return this;
1353
+ };
1354
+
1355
+ /**
1356
+ * Set / get the command usage `str`.
1357
+ *
1358
+ * @param {string} [str]
1359
+ * @return {String|Command}
1360
+ * @api public
1361
+ */
1362
+
1363
+ usage(str) {
1364
+ if (str === undefined) {
1365
+ if (this._usage) return this._usage;
1366
+
1367
+ const args = this._args.map((arg) => {
1368
+ return humanReadableArgName(arg);
1369
+ });
1370
+ return [].concat(
1371
+ (this.options.length || this._hasHelpOption ? '[options]' : []),
1372
+ (this.commands.length ? '[command]' : []),
1373
+ (this._args.length ? args : [])
1374
+ ).join(' ');
1375
+ }
1376
+
1377
+ this._usage = str;
1378
+ return this;
1379
+ };
1380
+
1381
+ /**
1382
+ * Get or set the name of the command
1383
+ *
1384
+ * @param {string} [str]
1385
+ * @return {String|Command}
1386
+ * @api public
1387
+ */
1388
+
1389
+ name(str) {
1390
+ if (str === undefined) return this._name;
1391
+ this._name = str;
1392
+ return this;
1393
+ };
1394
+
1395
+ /**
1396
+ * Return prepared commands.
1397
+ *
1398
+ * @return {Array}
1399
+ * @api private
1400
+ */
1401
+
1402
+ prepareCommands() {
1403
+ const commandDetails = this.commands.filter((cmd) => {
1404
+ return !cmd._hidden;
1405
+ }).map((cmd) => {
1406
+ const args = cmd._args.map((arg) => {
1407
+ return humanReadableArgName(arg);
1408
+ }).join(' ');
1409
+
1410
+ return [
1411
+ cmd._name +
1412
+ (cmd._aliases[0] ? '|' + cmd._aliases[0] : '') +
1413
+ (cmd.options.length ? ' [options]' : '') +
1414
+ (args ? ' ' + args : ''),
1415
+ cmd._description
1416
+ ];
1417
+ });
1418
+
1419
+ if (this._lazyHasImplicitHelpCommand()) {
1420
+ commandDetails.push([this._helpCommandnameAndArgs, this._helpCommandDescription]);
1421
+ }
1422
+ return commandDetails;
1423
+ };
1424
+
1425
+ /**
1426
+ * Return the largest command length.
1427
+ *
1428
+ * @return {number}
1429
+ * @api private
1430
+ */
1431
+
1432
+ largestCommandLength() {
1433
+ const commands = this.prepareCommands();
1434
+ return commands.reduce((max, command) => {
1435
+ return Math.max(max, command[0].length);
1436
+ }, 0);
1437
+ };
1438
+
1439
+ /**
1440
+ * Return the largest option length.
1441
+ *
1442
+ * @return {number}
1443
+ * @api private
1444
+ */
1445
+
1446
+ largestOptionLength() {
1447
+ const options = [].slice.call(this.options);
1448
+ options.push({
1449
+ flags: this._helpFlags
1450
+ });
1451
+
1452
+ return options.reduce((max, option) => {
1453
+ return Math.max(max, option.flags.length);
1454
+ }, 0);
1455
+ };
1456
+
1457
+ /**
1458
+ * Return the largest arg length.
1459
+ *
1460
+ * @return {number}
1461
+ * @api private
1462
+ */
1463
+
1464
+ largestArgLength() {
1465
+ return this._args.reduce((max, arg) => {
1466
+ return Math.max(max, arg.name.length);
1467
+ }, 0);
1468
+ };
1469
+
1470
+ /**
1471
+ * Return the pad width.
1472
+ *
1473
+ * @return {number}
1474
+ * @api private
1475
+ */
1476
+
1477
+ padWidth() {
1478
+ let width = this.largestOptionLength();
1479
+ if (this._argsDescription && this._args.length) {
1480
+ if (this.largestArgLength() > width) {
1481
+ width = this.largestArgLength();
1482
+ }
1483
+ }
1484
+
1485
+ if (this.commands && this.commands.length) {
1486
+ if (this.largestCommandLength() > width) {
1487
+ width = this.largestCommandLength();
1488
+ }
1489
+ }
1490
+
1491
+ return width;
1492
+ };
1493
+
1494
+ /**
1495
+ * Return help for options.
1496
+ *
1497
+ * @return {string}
1498
+ * @api private
1499
+ */
1500
+
1501
+ optionHelp() {
1502
+ const width = this.padWidth();
1503
+ const columns = process.stdout.columns || 80;
1504
+ const descriptionWidth = columns - width - 4;
1505
+ function padOptionDetails(flags, description) {
1506
+ return pad(flags, width) + ' ' + optionalWrap(description, descriptionWidth, width + 2);
1507
+ };
1508
+
1509
+ // Explicit options (including version)
1510
+ const help = this.options.map((option) => {
1511
+ const fullDesc = option.description +
1512
+ ((!option.negate && option.defaultValue !== undefined) ? ' (default: ' + JSON.stringify(option.defaultValue) + ')' : '');
1513
+ return padOptionDetails(option.flags, fullDesc);
1514
+ });
1515
+
1516
+ // Implicit help
1517
+ const showShortHelpFlag = this._hasHelpOption && this._helpShortFlag && !this._findOption(this._helpShortFlag);
1518
+ const showLongHelpFlag = this._hasHelpOption && !this._findOption(this._helpLongFlag);
1519
+ if (showShortHelpFlag || showLongHelpFlag) {
1520
+ let helpFlags = this._helpFlags;
1521
+ if (!showShortHelpFlag) {
1522
+ helpFlags = this._helpLongFlag;
1523
+ } else if (!showLongHelpFlag) {
1524
+ helpFlags = this._helpShortFlag;
1525
+ }
1526
+ help.push(padOptionDetails(helpFlags, this._helpDescription));
1527
+ }
1528
+
1529
+ return help.join('\n');
1530
+ };
1531
+
1532
+ /**
1533
+ * Return command help documentation.
1534
+ *
1535
+ * @return {string}
1536
+ * @api private
1537
+ */
1538
+
1539
+ commandHelp() {
1540
+ if (!this.commands.length && !this._lazyHasImplicitHelpCommand()) return '';
1541
+
1542
+ const commands = this.prepareCommands();
1543
+ const width = this.padWidth();
1544
+
1545
+ const columns = process.stdout.columns || 80;
1546
+ const descriptionWidth = columns - width - 4;
1547
+
1548
+ return [
1549
+ 'Commands:',
1550
+ commands.map((cmd) => {
1551
+ const desc = cmd[1] ? ' ' + cmd[1] : '';
1552
+ return (desc ? pad(cmd[0], width) : cmd[0]) + optionalWrap(desc, descriptionWidth, width + 2);
1553
+ }).join('\n').replace(/^/gm, ' '),
1554
+ ''
1555
+ ].join('\n');
1556
+ };
1557
+
1558
+ /**
1559
+ * Return program help documentation.
1560
+ *
1561
+ * @return {string}
1562
+ * @api public
1563
+ */
1564
+
1565
+ helpInformation() {
1566
+ let desc = [];
1567
+ if (this._description) {
1568
+ desc = [
1569
+ this._description,
1570
+ ''
1571
+ ];
1572
+
1573
+ const argsDescription = this._argsDescription;
1574
+ if (argsDescription && this._args.length) {
1575
+ const width = this.padWidth();
1576
+ const columns = process.stdout.columns || 80;
1577
+ const descriptionWidth = columns - width - 5;
1578
+ desc.push('Arguments:');
1579
+ this._args.forEach((arg) => {
1580
+ desc.push(' ' + pad(arg.name, width) + ' ' + wrap(argsDescription[arg.name] || '', descriptionWidth, width + 4));
1581
+ });
1582
+ desc.push('');
1583
+ }
1584
+ }
1585
+
1586
+ let cmdName = this._name;
1587
+ if (this._aliases[0]) {
1588
+ cmdName = cmdName + '|' + this._aliases[0];
1589
+ }
1590
+ let parentCmdNames = '';
1591
+ for (let parentCmd = this.parent; parentCmd; parentCmd = parentCmd.parent) {
1592
+ parentCmdNames = parentCmd.name() + ' ' + parentCmdNames;
1593
+ }
1594
+ const usage = [
1595
+ 'Usage: ' + parentCmdNames + cmdName + ' ' + this.usage(),
1596
+ ''
1597
+ ];
1598
+
1599
+ let cmds = [];
1600
+ const commandHelp = this.commandHelp();
1601
+ if (commandHelp) cmds = [commandHelp];
1602
+
1603
+ let options = [];
1604
+ if (this._hasHelpOption || this.options.length > 0) {
1605
+ options = [
1606
+ 'Options:',
1607
+ '' + this.optionHelp().replace(/^/gm, ' '),
1608
+ ''
1609
+ ];
1610
+ }
1611
+
1612
+ return usage
1613
+ .concat(desc)
1614
+ .concat(options)
1615
+ .concat(cmds)
1616
+ .join('\n');
1617
+ };
1618
+
1619
+ /**
1620
+ * Output help information for this command.
1621
+ *
1622
+ * When listener(s) are available for the helpLongFlag
1623
+ * those callbacks are invoked.
1624
+ *
1625
+ * @api public
1626
+ */
1627
+
1628
+ outputHelp(cb) {
1629
+ if (!cb) {
1630
+ cb = (passthru) => {
1631
+ return passthru;
1632
+ };
1633
+ }
1634
+ const cbOutput = cb(this.helpInformation());
1635
+ if (typeof cbOutput !== 'string' && !Buffer.isBuffer(cbOutput)) {
1636
+ throw new Error('outputHelp callback must return a string or a Buffer');
1637
+ }
1638
+ process.stdout.write(cbOutput);
1639
+ this.emit(this._helpLongFlag);
1640
+ };
1641
+
1642
+ /**
1643
+ * You can pass in flags and a description to override the help
1644
+ * flags and help description for your command. Pass in false to
1645
+ * disable the built-in help option.
1646
+ *
1647
+ * @param {string | boolean} [flags]
1648
+ * @param {string} [description]
1649
+ * @return {Command} `this` command for chaining
1650
+ * @api public
1651
+ */
1652
+
1653
+ helpOption(flags, description) {
1654
+ if (typeof flags === 'boolean') {
1655
+ this._hasHelpOption = flags;
1656
+ return this;
1657
+ }
1658
+ this._helpFlags = flags || this._helpFlags;
1659
+ this._helpDescription = description || this._helpDescription;
1660
+
1661
+ const helpFlags = _parseOptionFlags(this._helpFlags);
1662
+ this._helpShortFlag = helpFlags.shortFlag;
1663
+ this._helpLongFlag = helpFlags.longFlag;
1664
+
1665
+ return this;
1666
+ };
1667
+
1668
+ /**
1669
+ * Output help information and exit.
1670
+ *
1671
+ * @param {Function} [cb]
1672
+ * @api public
1673
+ */
1674
+
1675
+ help(cb) {
1676
+ this.outputHelp(cb);
1677
+ // exitCode: preserving original behaviour which was calling process.exit()
1678
+ // message: do not have all displayed text available so only passing placeholder.
1679
+ this._exit(process.exitCode || 0, 'commander.help', '(outputHelp)');
1680
+ };
1681
+
1682
+ /**
1683
+ * Output help information and exit. Display for error situations.
1684
+ *
1685
+ * @api private
1686
+ */
1687
+
1688
+ _helpAndError() {
1689
+ this.outputHelp();
1690
+ // message: do not have all displayed text available so only passing placeholder.
1691
+ this._exit(1, 'commander.help', '(outputHelp)');
1692
+ };
1693
+ };
1694
+
1695
+ /**
1696
+ * Expose the root command.
1697
+ */
1698
+
1699
+ exports = module.exports = new Command();
1700
+ exports.program = exports; // More explicit access to global command.
1701
+
1702
+ /**
1703
+ * Expose classes
1704
+ */
1705
+
1706
+ exports.Command = Command;
1707
+ exports.Option = Option;
1708
+ exports.CommanderError = CommanderError;
1709
+
1710
+ /**
1711
+ * Camel-case the given `flag`
1712
+ *
1713
+ * @param {string} flag
1714
+ * @return {string}
1715
+ * @api private
1716
+ */
1717
+
1718
+ function camelcase(flag) {
1719
+ return flag.split('-').reduce((str, word) => {
1720
+ return str + word[0].toUpperCase() + word.slice(1);
1721
+ });
1722
+ }
1723
+
1724
+ /**
1725
+ * Pad `str` to `width`.
1726
+ *
1727
+ * @param {string} str
1728
+ * @param {number} width
1729
+ * @return {string}
1730
+ * @api private
1731
+ */
1732
+
1733
+ function pad(str, width) {
1734
+ const len = Math.max(0, width - str.length);
1735
+ return str + Array(len + 1).join(' ');
1736
+ }
1737
+
1738
+ /**
1739
+ * Wraps the given string with line breaks at the specified width while breaking
1740
+ * words and indenting every but the first line on the left.
1741
+ *
1742
+ * @param {string} str
1743
+ * @param {number} width
1744
+ * @param {number} indent
1745
+ * @return {string}
1746
+ * @api private
1747
+ */
1748
+ function wrap(str, width, indent) {
1749
+ const regex = new RegExp('.{1,' + (width - 1) + '}([\\s\u200B]|$)|[^\\s\u200B]+?([\\s\u200B]|$)', 'g');
1750
+ const lines = str.match(regex) || [];
1751
+ return lines.map((line, i) => {
1752
+ if (line.slice(-1) === '\n') {
1753
+ line = line.slice(0, line.length - 1);
1754
+ }
1755
+ return ((i > 0 && indent) ? Array(indent + 1).join(' ') : '') + line.trimRight();
1756
+ }).join('\n');
1757
+ }
1758
+
1759
+ /**
1760
+ * Optionally wrap the given str to a max width of width characters per line
1761
+ * while indenting with indent spaces. Do not wrap if insufficient width or
1762
+ * string is manually formatted.
1763
+ *
1764
+ * @param {string} str
1765
+ * @param {number} width
1766
+ * @param {number} indent
1767
+ * @return {string}
1768
+ * @api private
1769
+ */
1770
+ function optionalWrap(str, width, indent) {
1771
+ // Detect manually wrapped and indented strings by searching for line breaks
1772
+ // followed by multiple spaces/tabs.
1773
+ if (str.match(/[\n]\s+/)) return str;
1774
+ // Do not wrap to narrow columns (or can end up with a word per line).
1775
+ const minWidth = 40;
1776
+ if (width < minWidth) return str;
1777
+
1778
+ return wrap(str, width, indent);
1779
+ }
1780
+
1781
+ /**
1782
+ * Output help information if help flags specified
1783
+ *
1784
+ * @param {Command} cmd - command to output help for
1785
+ * @param {Array} args - array of options to search for help flags
1786
+ * @api private
1787
+ */
1788
+
1789
+ function outputHelpIfRequested(cmd, args) {
1790
+ const helpOption = cmd._hasHelpOption && args.find(arg => arg === cmd._helpLongFlag || arg === cmd._helpShortFlag);
1791
+ if (helpOption) {
1792
+ cmd.outputHelp();
1793
+ // (Do not have all displayed text available so only passing placeholder.)
1794
+ cmd._exit(0, 'commander.helpDisplayed', '(outputHelp)');
1795
+ }
1796
+ }
1797
+
1798
+ /**
1799
+ * Takes an argument and returns its human readable equivalent for help usage.
1800
+ *
1801
+ * @param {Object} arg
1802
+ * @return {string}
1803
+ * @api private
1804
+ */
1805
+
1806
+ function humanReadableArgName(arg) {
1807
+ const nameOutput = arg.name + (arg.variadic === true ? '...' : '');
1808
+
1809
+ return arg.required
1810
+ ? '<' + nameOutput + '>'
1811
+ : '[' + nameOutput + ']';
1812
+ }
1813
+
1814
+ /**
1815
+ * Parse the short and long flag out of something like '-m,--mixed <value>'
1816
+ *
1817
+ * @api private
1818
+ */
1819
+
1820
+ function _parseOptionFlags(flags) {
1821
+ let shortFlag;
1822
+ let longFlag;
1823
+ // Use original very loose parsing to maintain backwards compatibility for now,
1824
+ // which allowed for example unintended `-sw, --short-word` [sic].
1825
+ const flagParts = flags.split(/[ |,]+/);
1826
+ if (flagParts.length > 1 && !/^[[<]/.test(flagParts[1])) shortFlag = flagParts.shift();
1827
+ longFlag = flagParts.shift();
1828
+ // Add support for lone short flag without significantly changing parsing!
1829
+ if (!shortFlag && /^-[^-]$/.test(longFlag)) {
1830
+ shortFlag = longFlag;
1831
+ longFlag = undefined;
1832
+ }
1833
+ return { shortFlag, longFlag };
1834
+ }
1835
+
1836
+ /**
1837
+ * Scan arguments and increment port number for inspect calls (to avoid conflicts when spawning new command).
1838
+ *
1839
+ * @param {string[]} args - array of arguments from node.execArgv
1840
+ * @returns {string[]}
1841
+ * @api private
1842
+ */
1843
+
1844
+ function incrementNodeInspectorPort(args) {
1845
+ // Testing for these options:
1846
+ // --inspect[=[host:]port]
1847
+ // --inspect-brk[=[host:]port]
1848
+ // --inspect-port=[host:]port
1849
+ return args.map((arg) => {
1850
+ if (!arg.startsWith('--inspect')) {
1851
+ return arg;
1852
+ }
1853
+ let debugOption;
1854
+ let debugHost = '127.0.0.1';
1855
+ let debugPort = '9229';
1856
+ let match;
1857
+ if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
1858
+ // e.g. --inspect
1859
+ debugOption = match[1];
1860
+ } else if ((match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null) {
1861
+ debugOption = match[1];
1862
+ if (/^\d+$/.test(match[3])) {
1863
+ // e.g. --inspect=1234
1864
+ debugPort = match[3];
1865
+ } else {
1866
+ // e.g. --inspect=localhost
1867
+ debugHost = match[3];
1868
+ }
1869
+ } else if ((match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null) {
1870
+ // e.g. --inspect=localhost:1234
1871
+ debugOption = match[1];
1872
+ debugHost = match[3];
1873
+ debugPort = match[4];
1874
+ }
1875
+
1876
+ if (debugOption && debugPort !== '0') {
1877
+ return `${debugOption}=${debugHost}:${parseInt(debugPort) + 1}`;
1878
+ }
1879
+ return arg;
1880
+ });
1881
+ }