apipost-cli 1.0.8 → 1.0.13

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 (300) hide show
  1. package/README.md +4 -0
  2. package/dist/37.index.js +452 -0
  3. package/dist/841.index.js +6984 -0
  4. package/dist/action.js +4 -0
  5. package/dist/apipost-cli/node_modules/@azure/abort-controller/types/3.1/AbortController.d.ts +85 -0
  6. package/dist/apipost-cli/node_modules/@azure/abort-controller/types/3.1/AbortSignal.d.ts +80 -0
  7. package/dist/apipost-cli/node_modules/@azure/abort-controller/types/3.1/index.d.ts +3 -0
  8. package/dist/apipost-cli/node_modules/@azure/core-auth/types/3.1/core-auth.d.ts +229 -0
  9. package/dist/apipost-cli/node_modules/@azure/core-client/types/3.1/core-client.d.ts +900 -0
  10. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/core-paging.d.ts +77 -0
  11. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/samples-dev/getPagedAsyncIteratorSample.d.ts +2 -0
  12. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/src/getPagedAsyncIterator.d.ts +10 -0
  13. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/src/index.d.ts +3 -0
  14. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/src/models.d.ts +69 -0
  15. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/test/getPagedAsyncIterator.spec.d.ts +2 -0
  16. package/dist/apipost-cli/node_modules/@azure/core-rest-pipeline/types/3.1/core-rest-pipeline.d.ts +1114 -0
  17. package/dist/apipost-cli/node_modules/@azure/core-util/types/3.1/core-util.d.ts +112 -0
  18. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
  19. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  20. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
  21. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
  22. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
  23. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
  24. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
  25. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  26. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
  27. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
  28. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
  29. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
  30. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
  31. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  32. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
  33. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  34. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
  35. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
  36. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
  37. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
  38. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
  39. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/package.json +44 -0
  40. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/LICENSE +21 -0
  41. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  42. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
  43. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
  44. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/index.js +26 -0
  45. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  46. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
  47. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
  48. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
  49. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
  50. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
  51. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  52. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
  53. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/package.json +37 -0
  54. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/LICENSE +21 -0
  55. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
  56. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/index.js +34 -0
  57. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  58. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
  59. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
  60. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
  61. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
  62. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
  63. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
  64. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
  65. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  66. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
  67. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
  68. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
  69. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  70. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
  71. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
  72. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
  73. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
  74. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
  75. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  76. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
  77. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/package.json +44 -0
  78. package/dist/apipost-cli/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  79. package/dist/apipost-cli/node_modules/@types/node/ts4.8/assert.d.ts +972 -0
  80. package/dist/apipost-cli/node_modules/@types/node/ts4.8/async_hooks.d.ts +530 -0
  81. package/dist/apipost-cli/node_modules/@types/node/ts4.8/buffer.d.ts +2351 -0
  82. package/dist/apipost-cli/node_modules/@types/node/ts4.8/child_process.d.ts +1395 -0
  83. package/dist/apipost-cli/node_modules/@types/node/ts4.8/cluster.d.ts +410 -0
  84. package/dist/apipost-cli/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  85. package/dist/apipost-cli/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  86. package/dist/apipost-cli/node_modules/@types/node/ts4.8/crypto.d.ts +3961 -0
  87. package/dist/apipost-cli/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  88. package/dist/apipost-cli/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  89. package/dist/apipost-cli/node_modules/@types/node/ts4.8/dns/promises.d.ts +414 -0
  90. package/dist/apipost-cli/node_modules/@types/node/ts4.8/dns.d.ts +668 -0
  91. package/dist/apipost-cli/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  92. package/dist/apipost-cli/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  93. package/dist/apipost-cli/node_modules/@types/node/ts4.8/events.d.ts +724 -0
  94. package/dist/apipost-cli/node_modules/@types/node/ts4.8/fs/promises.d.ts +1189 -0
  95. package/dist/apipost-cli/node_modules/@types/node/ts4.8/fs.d.ts +4043 -0
  96. package/dist/apipost-cli/node_modules/@types/node/ts4.8/globals.d.ts +303 -0
  97. package/dist/apipost-cli/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  98. package/dist/apipost-cli/node_modules/@types/node/ts4.8/http.d.ts +1724 -0
  99. package/dist/apipost-cli/node_modules/@types/node/ts4.8/http2.d.ts +2129 -0
  100. package/dist/apipost-cli/node_modules/@types/node/ts4.8/https.d.ts +441 -0
  101. package/dist/apipost-cli/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  102. package/dist/apipost-cli/node_modules/@types/node/ts4.8/inspector.d.ts +2748 -0
  103. package/dist/apipost-cli/node_modules/@types/node/ts4.8/module.d.ts +116 -0
  104. package/dist/apipost-cli/node_modules/@types/node/ts4.8/net.d.ts +886 -0
  105. package/dist/apipost-cli/node_modules/@types/node/ts4.8/os.d.ts +477 -0
  106. package/dist/apipost-cli/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  107. package/dist/apipost-cli/node_modules/@types/node/ts4.8/perf_hooks.d.ts +638 -0
  108. package/dist/apipost-cli/node_modules/@types/node/ts4.8/process.d.ts +1485 -0
  109. package/dist/apipost-cli/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  110. package/dist/apipost-cli/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  111. package/dist/apipost-cli/node_modules/@types/node/ts4.8/readline/promises.d.ts +145 -0
  112. package/dist/apipost-cli/node_modules/@types/node/ts4.8/readline.d.ts +526 -0
  113. package/dist/apipost-cli/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  114. package/dist/apipost-cli/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  115. package/dist/apipost-cli/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  116. package/dist/apipost-cli/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  117. package/dist/apipost-cli/node_modules/@types/node/ts4.8/stream.d.ts +1392 -0
  118. package/dist/apipost-cli/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  119. package/dist/apipost-cli/node_modules/@types/node/ts4.8/test.d.ts +1052 -0
  120. package/dist/apipost-cli/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  121. package/dist/apipost-cli/node_modules/@types/node/ts4.8/timers.d.ts +215 -0
  122. package/dist/apipost-cli/node_modules/@types/node/ts4.8/tls.d.ts +1119 -0
  123. package/dist/apipost-cli/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  124. package/dist/apipost-cli/node_modules/@types/node/ts4.8/tty.d.ts +205 -0
  125. package/dist/apipost-cli/node_modules/@types/node/ts4.8/url.d.ts +901 -0
  126. package/dist/apipost-cli/node_modules/@types/node/ts4.8/util.d.ts +2052 -0
  127. package/dist/apipost-cli/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  128. package/dist/apipost-cli/node_modules/@types/node/ts4.8/vm.d.ts +894 -0
  129. package/dist/apipost-cli/node_modules/@types/node/ts4.8/wasi.d.ts +152 -0
  130. package/dist/apipost-cli/node_modules/@types/node/ts4.8/worker_threads.d.ts +693 -0
  131. package/dist/apipost-cli/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  132. package/dist/apipost-cli/node_modules/bignumber.js/LICENCE.md +26 -0
  133. package/dist/apipost-cli/node_modules/bignumber.js/bignumber.d.ts +1831 -0
  134. package/dist/apipost-cli/node_modules/bignumber.js/bignumber.js +2926 -0
  135. package/dist/apipost-cli/node_modules/bignumber.js/bignumber.mjs +2889 -0
  136. package/dist/apipost-cli/node_modules/bignumber.js/doc/API.html +2249 -0
  137. package/dist/apipost-cli/node_modules/bignumber.js/package.json +50 -0
  138. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/filesystem.o +0 -0
  139. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/hwcaps.o +0 -0
  140. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_linux_or_android.o +0 -0
  141. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.o +0 -0
  142. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_arm_linux_or_android.o +0 -0
  143. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_mips_linux_or_android.o +0 -0
  144. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_ppc_linux.o +0 -0
  145. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_freebsd.o +0 -0
  146. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_linux_or_android.o +0 -0
  147. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_macos.o +0 -0
  148. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_windows.o +0 -0
  149. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/stack_line_reader.o +0 -0
  150. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/string_view.o +0 -0
  151. package/dist/apipost-cli/node_modules/cpu-features/build/Release/obj.target/cpufeatures/src/binding.o +0 -0
  152. package/dist/apipost-cli/node_modules/des.js/lib/des/cbc.js +65 -0
  153. package/dist/apipost-cli/node_modules/des.js/lib/des/cipher.js +142 -0
  154. package/dist/apipost-cli/node_modules/des.js/lib/des/des.js +150 -0
  155. package/dist/apipost-cli/node_modules/des.js/lib/des/ede.js +54 -0
  156. package/dist/apipost-cli/node_modules/des.js/lib/des/utils.js +256 -0
  157. package/dist/apipost-cli/node_modules/des.js/lib/des.js +7 -0
  158. package/dist/apipost-cli/node_modules/des.js/package.json +33 -0
  159. package/dist/apipost-cli/node_modules/des.js/test/cbc-test.js +73 -0
  160. package/dist/apipost-cli/node_modules/des.js/test/des-test.js +139 -0
  161. package/dist/apipost-cli/node_modules/des.js/test/ede-test.js +106 -0
  162. package/dist/apipost-cli/node_modules/des.js/test/fixtures.js +5 -0
  163. package/dist/apipost-cli/node_modules/des.js/test/utils-test.js +169 -0
  164. package/dist/apipost-cli/node_modules/fs.realpath/LICENSE +43 -0
  165. package/dist/apipost-cli/node_modules/fs.realpath/index.js +66 -0
  166. package/dist/apipost-cli/node_modules/fs.realpath/old.js +303 -0
  167. package/dist/apipost-cli/node_modules/fs.realpath/package.json +26 -0
  168. package/dist/apipost-cli/node_modules/function.prototype.name/LICENSE +21 -0
  169. package/dist/apipost-cli/node_modules/function.prototype.name/auto.js +3 -0
  170. package/dist/apipost-cli/node_modules/function.prototype.name/helpers/functionsHaveNames.js +5 -0
  171. package/dist/apipost-cli/node_modules/function.prototype.name/implementation.js +43 -0
  172. package/dist/apipost-cli/node_modules/function.prototype.name/index.js +18 -0
  173. package/dist/apipost-cli/node_modules/function.prototype.name/package.json +80 -0
  174. package/dist/apipost-cli/node_modules/function.prototype.name/polyfill.js +7 -0
  175. package/dist/apipost-cli/node_modules/function.prototype.name/shim.js +35 -0
  176. package/dist/apipost-cli/node_modules/function.prototype.name/test/implementation.js +20 -0
  177. package/dist/apipost-cli/node_modules/function.prototype.name/test/index.js +23 -0
  178. package/dist/apipost-cli/node_modules/function.prototype.name/test/shimmed.js +21 -0
  179. package/dist/apipost-cli/node_modules/function.prototype.name/test/tests.js +60 -0
  180. package/dist/apipost-cli/node_modules/function.prototype.name/test/uglified.js +17 -0
  181. package/dist/apipost-cli/node_modules/lodash.camelcase/LICENSE +47 -0
  182. package/dist/apipost-cli/node_modules/lodash.camelcase/index.js +599 -0
  183. package/dist/apipost-cli/node_modules/lodash.camelcase/package.json +17 -0
  184. package/dist/apipost-cli/node_modules/lodash.memoize/LICENSE +47 -0
  185. package/dist/apipost-cli/node_modules/lodash.memoize/index.js +676 -0
  186. package/dist/apipost-cli/node_modules/lodash.memoize/package.json +17 -0
  187. package/dist/apipost-cli/node_modules/lodash.uniq/LICENSE +47 -0
  188. package/dist/apipost-cli/node_modules/lodash.uniq/index.js +896 -0
  189. package/dist/apipost-cli/node_modules/lodash.uniq/package.json +17 -0
  190. package/dist/apipost-cli/node_modules/moment/ts3.1-typings/moment.d.ts +785 -0
  191. package/dist/apipost-cli/node_modules/oauth-1.0a/LICENSE +20 -0
  192. package/dist/apipost-cli/node_modules/oauth-1.0a/Makefile +36 -0
  193. package/dist/apipost-cli/node_modules/oauth-1.0a/oauth-1.0a.d.ts +192 -0
  194. package/dist/apipost-cli/node_modules/oauth-1.0a/oauth-1.0a.js +377 -0
  195. package/dist/apipost-cli/node_modules/oauth-1.0a/package.json +30 -0
  196. package/dist/apipost-cli/node_modules/oauth-1.0a/test/getParameterString.js +21 -0
  197. package/dist/apipost-cli/node_modules/oauth-1.0a/test/mocha.opts +4 -0
  198. package/dist/apipost-cli/node_modules/oauth-1.0a/test/oauth_body_hash.js +141 -0
  199. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/consumer.js +14 -0
  200. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/last_ampersand.js +55 -0
  201. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/multiple_values.js +54 -0
  202. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/multiple_values_qs.js +50 -0
  203. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/nonce_length.js +44 -0
  204. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/parameter_seperator.js +102 -0
  205. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/realm.js +51 -0
  206. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/signature_method.js +36 -0
  207. package/dist/apipost-cli/node_modules/oauth-1.0a/test/services/bitbucket.js +88 -0
  208. package/dist/apipost-cli/node_modules/oauth-1.0a/test/services/flickr.js +196 -0
  209. package/dist/apipost-cli/node_modules/oauth-1.0a/test/services/openbank.js +61 -0
  210. package/dist/apipost-cli/node_modules/oauth-1.0a/test/services/twitter.js +183 -0
  211. package/dist/apipost-cli/node_modules/oauth-1.0a/test/twitter_sample_data.js +94 -0
  212. package/dist/apipost-cli/node_modules/object.assign/LICENSE +21 -0
  213. package/dist/apipost-cli/node_modules/object.assign/auto.js +3 -0
  214. package/dist/apipost-cli/node_modules/object.assign/dist/browser.js +944 -0
  215. package/dist/apipost-cli/node_modules/object.assign/hasSymbols.js +43 -0
  216. package/dist/apipost-cli/node_modules/object.assign/implementation.js +46 -0
  217. package/dist/apipost-cli/node_modules/object.assign/index.js +22 -0
  218. package/dist/apipost-cli/node_modules/object.assign/package.json +96 -0
  219. package/dist/apipost-cli/node_modules/object.assign/polyfill.js +55 -0
  220. package/dist/apipost-cli/node_modules/object.assign/shim.js +14 -0
  221. package/dist/apipost-cli/node_modules/object.assign/test/implementation.js +19 -0
  222. package/dist/apipost-cli/node_modules/object.assign/test/index.js +17 -0
  223. package/dist/apipost-cli/node_modules/object.assign/test/native.js +49 -0
  224. package/dist/apipost-cli/node_modules/object.assign/test/ses-compat.js +12 -0
  225. package/dist/apipost-cli/node_modules/object.assign/test/shimmed.js +52 -0
  226. package/dist/apipost-cli/node_modules/object.assign/test/tests.js +232 -0
  227. package/dist/apipost-cli/node_modules/object.assign/test.html +18458 -0
  228. package/dist/apipost-cli/node_modules/promise.series/LICENSE +21 -0
  229. package/dist/apipost-cli/node_modules/promise.series/index.js +10 -0
  230. package/dist/apipost-cli/node_modules/promise.series/package.json +34 -0
  231. package/dist/apipost-cli/node_modules/regexp.prototype.flags/LICENSE +22 -0
  232. package/dist/apipost-cli/node_modules/regexp.prototype.flags/auto.js +3 -0
  233. package/dist/apipost-cli/node_modules/regexp.prototype.flags/implementation.js +42 -0
  234. package/dist/apipost-cli/node_modules/regexp.prototype.flags/index.js +18 -0
  235. package/dist/apipost-cli/node_modules/regexp.prototype.flags/package.json +100 -0
  236. package/dist/apipost-cli/node_modules/regexp.prototype.flags/polyfill.js +36 -0
  237. package/dist/apipost-cli/node_modules/regexp.prototype.flags/shim.js +26 -0
  238. package/dist/apipost-cli/node_modules/regexp.prototype.flags/test/implementation.js +20 -0
  239. package/dist/apipost-cli/node_modules/regexp.prototype.flags/test/index.js +17 -0
  240. package/dist/apipost-cli/node_modules/regexp.prototype.flags/test/shimmed.js +48 -0
  241. package/dist/apipost-cli/node_modules/regexp.prototype.flags/test/tests.js +143 -0
  242. package/dist/apipost-cli/node_modules/resolve.exports/dist/index.js +1 -0
  243. package/dist/apipost-cli/node_modules/resolve.exports/dist/index.mjs +1 -0
  244. package/dist/apipost-cli/node_modules/resolve.exports/index.d.ts +100 -0
  245. package/dist/apipost-cli/node_modules/resolve.exports/license +21 -0
  246. package/dist/apipost-cli/node_modules/resolve.exports/package.json +50 -0
  247. package/dist/apipost-cli/node_modules/ssh2/lib/protocol/crypto/build/Release/obj.target/sshcrypto/src/binding.o +0 -0
  248. package/dist/apipost-cli/node_modules/string.prototype.trim/LICENSE +21 -0
  249. package/dist/apipost-cli/node_modules/string.prototype.trim/auto.js +3 -0
  250. package/dist/apipost-cli/node_modules/string.prototype.trim/implementation.js +21 -0
  251. package/dist/apipost-cli/node_modules/string.prototype.trim/index.js +23 -0
  252. package/dist/apipost-cli/node_modules/string.prototype.trim/package.json +101 -0
  253. package/dist/apipost-cli/node_modules/string.prototype.trim/polyfill.js +19 -0
  254. package/dist/apipost-cli/node_modules/string.prototype.trim/shim.js +14 -0
  255. package/dist/apipost-cli/node_modules/string.prototype.trim/test/implementation.js +21 -0
  256. package/dist/apipost-cli/node_modules/string.prototype.trim/test/index.js +17 -0
  257. package/dist/apipost-cli/node_modules/string.prototype.trim/test/shimmed.js +36 -0
  258. package/dist/apipost-cli/node_modules/string.prototype.trim/test/tests.js +45 -0
  259. package/dist/apipost-cli/node_modules/string.prototype.trimend/LICENSE +21 -0
  260. package/dist/apipost-cli/node_modules/string.prototype.trimend/auto.js +3 -0
  261. package/dist/apipost-cli/node_modules/string.prototype.trimend/implementation.js +15 -0
  262. package/dist/apipost-cli/node_modules/string.prototype.trimend/index.js +23 -0
  263. package/dist/apipost-cli/node_modules/string.prototype.trimend/package.json +79 -0
  264. package/dist/apipost-cli/node_modules/string.prototype.trimend/polyfill.js +15 -0
  265. package/dist/apipost-cli/node_modules/string.prototype.trimend/shim.js +14 -0
  266. package/dist/apipost-cli/node_modules/string.prototype.trimend/test/implementation.js +20 -0
  267. package/dist/apipost-cli/node_modules/string.prototype.trimend/test/index.js +17 -0
  268. package/dist/apipost-cli/node_modules/string.prototype.trimend/test/shimmed.js +36 -0
  269. package/dist/apipost-cli/node_modules/string.prototype.trimend/test/tests.js +31 -0
  270. package/dist/apipost-cli/node_modules/string.prototype.trimstart/LICENSE +21 -0
  271. package/dist/apipost-cli/node_modules/string.prototype.trimstart/auto.js +3 -0
  272. package/dist/apipost-cli/node_modules/string.prototype.trimstart/implementation.js +15 -0
  273. package/dist/apipost-cli/node_modules/string.prototype.trimstart/index.js +23 -0
  274. package/dist/apipost-cli/node_modules/string.prototype.trimstart/package.json +79 -0
  275. package/dist/apipost-cli/node_modules/string.prototype.trimstart/polyfill.js +15 -0
  276. package/dist/apipost-cli/node_modules/string.prototype.trimstart/shim.js +14 -0
  277. package/dist/apipost-cli/node_modules/string.prototype.trimstart/test/implementation.js +20 -0
  278. package/dist/apipost-cli/node_modules/string.prototype.trimstart/test/index.js +18 -0
  279. package/dist/apipost-cli/node_modules/string.prototype.trimstart/test/shimmed.js +36 -0
  280. package/dist/apipost-cli/node_modules/string.prototype.trimstart/test/tests.js +31 -0
  281. package/dist/apipost-cli/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +771 -0
  282. package/dist/apipost-http-schema.json +129 -0
  283. package/dist/bridge.js +1010 -0
  284. package/dist/build/Release/cpufeatures.node +0 -0
  285. package/dist/esprima.js +3756 -0
  286. package/dist/events.js +977 -0
  287. package/dist/index.js +565958 -0
  288. package/dist/index1.js +26 -0
  289. package/dist/lib/protocol/crypto/build/Release/sshcrypto.node +0 -0
  290. package/dist/module.js +34 -0
  291. package/dist/pagent.exe +0 -0
  292. package/dist/setup-node-sandbox.js +461 -0
  293. package/dist/setup-sandbox.js +545 -0
  294. package/dist/snappy.darwin-arm64.node +0 -0
  295. package/dist/xdg-open +1066 -0
  296. package/package.json +13 -4
  297. package/bin/cli.js +0 -216
  298. package/bin/template.js +0 -803
  299. /package/{bin → dist/apipost-cli}/apipost-reports//346/265/213/350/257/225.html" +0 -0
  300. /package/{bin → dist/apipost-cli}/apipost-reports//346/265/213/350/257/225.json" +0 -0
@@ -0,0 +1,676 @@
1
+ /**
2
+ * lodash (Custom Build) <https://lodash.com/>
3
+ * Build: `lodash modularize exports="npm" -o ./`
4
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
5
+ * Released under MIT license <https://lodash.com/license>
6
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
7
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
8
+ */
9
+
10
+ /** Used as the `TypeError` message for "Functions" methods. */
11
+ var FUNC_ERROR_TEXT = 'Expected a function';
12
+
13
+ /** Used to stand-in for `undefined` hash values. */
14
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
15
+
16
+ /** `Object#toString` result references. */
17
+ var funcTag = '[object Function]',
18
+ genTag = '[object GeneratorFunction]';
19
+
20
+ /**
21
+ * Used to match `RegExp`
22
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
23
+ */
24
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
25
+
26
+ /** Used to detect host constructors (Safari). */
27
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
28
+
29
+ /** Detect free variable `global` from Node.js. */
30
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
31
+
32
+ /** Detect free variable `self`. */
33
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
34
+
35
+ /** Used as a reference to the global object. */
36
+ var root = freeGlobal || freeSelf || Function('return this')();
37
+
38
+ /**
39
+ * Gets the value at `key` of `object`.
40
+ *
41
+ * @private
42
+ * @param {Object} [object] The object to query.
43
+ * @param {string} key The key of the property to get.
44
+ * @returns {*} Returns the property value.
45
+ */
46
+ function getValue(object, key) {
47
+ return object == null ? undefined : object[key];
48
+ }
49
+
50
+ /**
51
+ * Checks if `value` is a host object in IE < 9.
52
+ *
53
+ * @private
54
+ * @param {*} value The value to check.
55
+ * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
56
+ */
57
+ function isHostObject(value) {
58
+ // Many host objects are `Object` objects that can coerce to strings
59
+ // despite having improperly defined `toString` methods.
60
+ var result = false;
61
+ if (value != null && typeof value.toString != 'function') {
62
+ try {
63
+ result = !!(value + '');
64
+ } catch (e) {}
65
+ }
66
+ return result;
67
+ }
68
+
69
+ /** Used for built-in method references. */
70
+ var arrayProto = Array.prototype,
71
+ funcProto = Function.prototype,
72
+ objectProto = Object.prototype;
73
+
74
+ /** Used to detect overreaching core-js shims. */
75
+ var coreJsData = root['__core-js_shared__'];
76
+
77
+ /** Used to detect methods masquerading as native. */
78
+ var maskSrcKey = (function() {
79
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
80
+ return uid ? ('Symbol(src)_1.' + uid) : '';
81
+ }());
82
+
83
+ /** Used to resolve the decompiled source of functions. */
84
+ var funcToString = funcProto.toString;
85
+
86
+ /** Used to check objects for own properties. */
87
+ var hasOwnProperty = objectProto.hasOwnProperty;
88
+
89
+ /**
90
+ * Used to resolve the
91
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
92
+ * of values.
93
+ */
94
+ var objectToString = objectProto.toString;
95
+
96
+ /** Used to detect if a method is native. */
97
+ var reIsNative = RegExp('^' +
98
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
99
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
100
+ );
101
+
102
+ /** Built-in value references. */
103
+ var splice = arrayProto.splice;
104
+
105
+ /* Built-in method references that are verified to be native. */
106
+ var Map = getNative(root, 'Map'),
107
+ nativeCreate = getNative(Object, 'create');
108
+
109
+ /**
110
+ * Creates a hash object.
111
+ *
112
+ * @private
113
+ * @constructor
114
+ * @param {Array} [entries] The key-value pairs to cache.
115
+ */
116
+ function Hash(entries) {
117
+ var index = -1,
118
+ length = entries ? entries.length : 0;
119
+
120
+ this.clear();
121
+ while (++index < length) {
122
+ var entry = entries[index];
123
+ this.set(entry[0], entry[1]);
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Removes all key-value entries from the hash.
129
+ *
130
+ * @private
131
+ * @name clear
132
+ * @memberOf Hash
133
+ */
134
+ function hashClear() {
135
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
136
+ }
137
+
138
+ /**
139
+ * Removes `key` and its value from the hash.
140
+ *
141
+ * @private
142
+ * @name delete
143
+ * @memberOf Hash
144
+ * @param {Object} hash The hash to modify.
145
+ * @param {string} key The key of the value to remove.
146
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
147
+ */
148
+ function hashDelete(key) {
149
+ return this.has(key) && delete this.__data__[key];
150
+ }
151
+
152
+ /**
153
+ * Gets the hash value for `key`.
154
+ *
155
+ * @private
156
+ * @name get
157
+ * @memberOf Hash
158
+ * @param {string} key The key of the value to get.
159
+ * @returns {*} Returns the entry value.
160
+ */
161
+ function hashGet(key) {
162
+ var data = this.__data__;
163
+ if (nativeCreate) {
164
+ var result = data[key];
165
+ return result === HASH_UNDEFINED ? undefined : result;
166
+ }
167
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
168
+ }
169
+
170
+ /**
171
+ * Checks if a hash value for `key` exists.
172
+ *
173
+ * @private
174
+ * @name has
175
+ * @memberOf Hash
176
+ * @param {string} key The key of the entry to check.
177
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
178
+ */
179
+ function hashHas(key) {
180
+ var data = this.__data__;
181
+ return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
182
+ }
183
+
184
+ /**
185
+ * Sets the hash `key` to `value`.
186
+ *
187
+ * @private
188
+ * @name set
189
+ * @memberOf Hash
190
+ * @param {string} key The key of the value to set.
191
+ * @param {*} value The value to set.
192
+ * @returns {Object} Returns the hash instance.
193
+ */
194
+ function hashSet(key, value) {
195
+ var data = this.__data__;
196
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
197
+ return this;
198
+ }
199
+
200
+ // Add methods to `Hash`.
201
+ Hash.prototype.clear = hashClear;
202
+ Hash.prototype['delete'] = hashDelete;
203
+ Hash.prototype.get = hashGet;
204
+ Hash.prototype.has = hashHas;
205
+ Hash.prototype.set = hashSet;
206
+
207
+ /**
208
+ * Creates an list cache object.
209
+ *
210
+ * @private
211
+ * @constructor
212
+ * @param {Array} [entries] The key-value pairs to cache.
213
+ */
214
+ function ListCache(entries) {
215
+ var index = -1,
216
+ length = entries ? entries.length : 0;
217
+
218
+ this.clear();
219
+ while (++index < length) {
220
+ var entry = entries[index];
221
+ this.set(entry[0], entry[1]);
222
+ }
223
+ }
224
+
225
+ /**
226
+ * Removes all key-value entries from the list cache.
227
+ *
228
+ * @private
229
+ * @name clear
230
+ * @memberOf ListCache
231
+ */
232
+ function listCacheClear() {
233
+ this.__data__ = [];
234
+ }
235
+
236
+ /**
237
+ * Removes `key` and its value from the list cache.
238
+ *
239
+ * @private
240
+ * @name delete
241
+ * @memberOf ListCache
242
+ * @param {string} key The key of the value to remove.
243
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
244
+ */
245
+ function listCacheDelete(key) {
246
+ var data = this.__data__,
247
+ index = assocIndexOf(data, key);
248
+
249
+ if (index < 0) {
250
+ return false;
251
+ }
252
+ var lastIndex = data.length - 1;
253
+ if (index == lastIndex) {
254
+ data.pop();
255
+ } else {
256
+ splice.call(data, index, 1);
257
+ }
258
+ return true;
259
+ }
260
+
261
+ /**
262
+ * Gets the list cache value for `key`.
263
+ *
264
+ * @private
265
+ * @name get
266
+ * @memberOf ListCache
267
+ * @param {string} key The key of the value to get.
268
+ * @returns {*} Returns the entry value.
269
+ */
270
+ function listCacheGet(key) {
271
+ var data = this.__data__,
272
+ index = assocIndexOf(data, key);
273
+
274
+ return index < 0 ? undefined : data[index][1];
275
+ }
276
+
277
+ /**
278
+ * Checks if a list cache value for `key` exists.
279
+ *
280
+ * @private
281
+ * @name has
282
+ * @memberOf ListCache
283
+ * @param {string} key The key of the entry to check.
284
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
285
+ */
286
+ function listCacheHas(key) {
287
+ return assocIndexOf(this.__data__, key) > -1;
288
+ }
289
+
290
+ /**
291
+ * Sets the list cache `key` to `value`.
292
+ *
293
+ * @private
294
+ * @name set
295
+ * @memberOf ListCache
296
+ * @param {string} key The key of the value to set.
297
+ * @param {*} value The value to set.
298
+ * @returns {Object} Returns the list cache instance.
299
+ */
300
+ function listCacheSet(key, value) {
301
+ var data = this.__data__,
302
+ index = assocIndexOf(data, key);
303
+
304
+ if (index < 0) {
305
+ data.push([key, value]);
306
+ } else {
307
+ data[index][1] = value;
308
+ }
309
+ return this;
310
+ }
311
+
312
+ // Add methods to `ListCache`.
313
+ ListCache.prototype.clear = listCacheClear;
314
+ ListCache.prototype['delete'] = listCacheDelete;
315
+ ListCache.prototype.get = listCacheGet;
316
+ ListCache.prototype.has = listCacheHas;
317
+ ListCache.prototype.set = listCacheSet;
318
+
319
+ /**
320
+ * Creates a map cache object to store key-value pairs.
321
+ *
322
+ * @private
323
+ * @constructor
324
+ * @param {Array} [entries] The key-value pairs to cache.
325
+ */
326
+ function MapCache(entries) {
327
+ var index = -1,
328
+ length = entries ? entries.length : 0;
329
+
330
+ this.clear();
331
+ while (++index < length) {
332
+ var entry = entries[index];
333
+ this.set(entry[0], entry[1]);
334
+ }
335
+ }
336
+
337
+ /**
338
+ * Removes all key-value entries from the map.
339
+ *
340
+ * @private
341
+ * @name clear
342
+ * @memberOf MapCache
343
+ */
344
+ function mapCacheClear() {
345
+ this.__data__ = {
346
+ 'hash': new Hash,
347
+ 'map': new (Map || ListCache),
348
+ 'string': new Hash
349
+ };
350
+ }
351
+
352
+ /**
353
+ * Removes `key` and its value from the map.
354
+ *
355
+ * @private
356
+ * @name delete
357
+ * @memberOf MapCache
358
+ * @param {string} key The key of the value to remove.
359
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
360
+ */
361
+ function mapCacheDelete(key) {
362
+ return getMapData(this, key)['delete'](key);
363
+ }
364
+
365
+ /**
366
+ * Gets the map value for `key`.
367
+ *
368
+ * @private
369
+ * @name get
370
+ * @memberOf MapCache
371
+ * @param {string} key The key of the value to get.
372
+ * @returns {*} Returns the entry value.
373
+ */
374
+ function mapCacheGet(key) {
375
+ return getMapData(this, key).get(key);
376
+ }
377
+
378
+ /**
379
+ * Checks if a map value for `key` exists.
380
+ *
381
+ * @private
382
+ * @name has
383
+ * @memberOf MapCache
384
+ * @param {string} key The key of the entry to check.
385
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
386
+ */
387
+ function mapCacheHas(key) {
388
+ return getMapData(this, key).has(key);
389
+ }
390
+
391
+ /**
392
+ * Sets the map `key` to `value`.
393
+ *
394
+ * @private
395
+ * @name set
396
+ * @memberOf MapCache
397
+ * @param {string} key The key of the value to set.
398
+ * @param {*} value The value to set.
399
+ * @returns {Object} Returns the map cache instance.
400
+ */
401
+ function mapCacheSet(key, value) {
402
+ getMapData(this, key).set(key, value);
403
+ return this;
404
+ }
405
+
406
+ // Add methods to `MapCache`.
407
+ MapCache.prototype.clear = mapCacheClear;
408
+ MapCache.prototype['delete'] = mapCacheDelete;
409
+ MapCache.prototype.get = mapCacheGet;
410
+ MapCache.prototype.has = mapCacheHas;
411
+ MapCache.prototype.set = mapCacheSet;
412
+
413
+ /**
414
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
415
+ *
416
+ * @private
417
+ * @param {Array} array The array to inspect.
418
+ * @param {*} key The key to search for.
419
+ * @returns {number} Returns the index of the matched value, else `-1`.
420
+ */
421
+ function assocIndexOf(array, key) {
422
+ var length = array.length;
423
+ while (length--) {
424
+ if (eq(array[length][0], key)) {
425
+ return length;
426
+ }
427
+ }
428
+ return -1;
429
+ }
430
+
431
+ /**
432
+ * The base implementation of `_.isNative` without bad shim checks.
433
+ *
434
+ * @private
435
+ * @param {*} value The value to check.
436
+ * @returns {boolean} Returns `true` if `value` is a native function,
437
+ * else `false`.
438
+ */
439
+ function baseIsNative(value) {
440
+ if (!isObject(value) || isMasked(value)) {
441
+ return false;
442
+ }
443
+ var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
444
+ return pattern.test(toSource(value));
445
+ }
446
+
447
+ /**
448
+ * Gets the data for `map`.
449
+ *
450
+ * @private
451
+ * @param {Object} map The map to query.
452
+ * @param {string} key The reference key.
453
+ * @returns {*} Returns the map data.
454
+ */
455
+ function getMapData(map, key) {
456
+ var data = map.__data__;
457
+ return isKeyable(key)
458
+ ? data[typeof key == 'string' ? 'string' : 'hash']
459
+ : data.map;
460
+ }
461
+
462
+ /**
463
+ * Gets the native function at `key` of `object`.
464
+ *
465
+ * @private
466
+ * @param {Object} object The object to query.
467
+ * @param {string} key The key of the method to get.
468
+ * @returns {*} Returns the function if it's native, else `undefined`.
469
+ */
470
+ function getNative(object, key) {
471
+ var value = getValue(object, key);
472
+ return baseIsNative(value) ? value : undefined;
473
+ }
474
+
475
+ /**
476
+ * Checks if `value` is suitable for use as unique object key.
477
+ *
478
+ * @private
479
+ * @param {*} value The value to check.
480
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
481
+ */
482
+ function isKeyable(value) {
483
+ var type = typeof value;
484
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
485
+ ? (value !== '__proto__')
486
+ : (value === null);
487
+ }
488
+
489
+ /**
490
+ * Checks if `func` has its source masked.
491
+ *
492
+ * @private
493
+ * @param {Function} func The function to check.
494
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
495
+ */
496
+ function isMasked(func) {
497
+ return !!maskSrcKey && (maskSrcKey in func);
498
+ }
499
+
500
+ /**
501
+ * Converts `func` to its source code.
502
+ *
503
+ * @private
504
+ * @param {Function} func The function to process.
505
+ * @returns {string} Returns the source code.
506
+ */
507
+ function toSource(func) {
508
+ if (func != null) {
509
+ try {
510
+ return funcToString.call(func);
511
+ } catch (e) {}
512
+ try {
513
+ return (func + '');
514
+ } catch (e) {}
515
+ }
516
+ return '';
517
+ }
518
+
519
+ /**
520
+ * Creates a function that memoizes the result of `func`. If `resolver` is
521
+ * provided, it determines the cache key for storing the result based on the
522
+ * arguments provided to the memoized function. By default, the first argument
523
+ * provided to the memoized function is used as the map cache key. The `func`
524
+ * is invoked with the `this` binding of the memoized function.
525
+ *
526
+ * **Note:** The cache is exposed as the `cache` property on the memoized
527
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
528
+ * constructor with one whose instances implement the
529
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
530
+ * method interface of `delete`, `get`, `has`, and `set`.
531
+ *
532
+ * @static
533
+ * @memberOf _
534
+ * @since 0.1.0
535
+ * @category Function
536
+ * @param {Function} func The function to have its output memoized.
537
+ * @param {Function} [resolver] The function to resolve the cache key.
538
+ * @returns {Function} Returns the new memoized function.
539
+ * @example
540
+ *
541
+ * var object = { 'a': 1, 'b': 2 };
542
+ * var other = { 'c': 3, 'd': 4 };
543
+ *
544
+ * var values = _.memoize(_.values);
545
+ * values(object);
546
+ * // => [1, 2]
547
+ *
548
+ * values(other);
549
+ * // => [3, 4]
550
+ *
551
+ * object.a = 2;
552
+ * values(object);
553
+ * // => [1, 2]
554
+ *
555
+ * // Modify the result cache.
556
+ * values.cache.set(object, ['a', 'b']);
557
+ * values(object);
558
+ * // => ['a', 'b']
559
+ *
560
+ * // Replace `_.memoize.Cache`.
561
+ * _.memoize.Cache = WeakMap;
562
+ */
563
+ function memoize(func, resolver) {
564
+ if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
565
+ throw new TypeError(FUNC_ERROR_TEXT);
566
+ }
567
+ var memoized = function() {
568
+ var args = arguments,
569
+ key = resolver ? resolver.apply(this, args) : args[0],
570
+ cache = memoized.cache;
571
+
572
+ if (cache.has(key)) {
573
+ return cache.get(key);
574
+ }
575
+ var result = func.apply(this, args);
576
+ memoized.cache = cache.set(key, result);
577
+ return result;
578
+ };
579
+ memoized.cache = new (memoize.Cache || MapCache);
580
+ return memoized;
581
+ }
582
+
583
+ // Assign cache to `_.memoize`.
584
+ memoize.Cache = MapCache;
585
+
586
+ /**
587
+ * Performs a
588
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
589
+ * comparison between two values to determine if they are equivalent.
590
+ *
591
+ * @static
592
+ * @memberOf _
593
+ * @since 4.0.0
594
+ * @category Lang
595
+ * @param {*} value The value to compare.
596
+ * @param {*} other The other value to compare.
597
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
598
+ * @example
599
+ *
600
+ * var object = { 'a': 1 };
601
+ * var other = { 'a': 1 };
602
+ *
603
+ * _.eq(object, object);
604
+ * // => true
605
+ *
606
+ * _.eq(object, other);
607
+ * // => false
608
+ *
609
+ * _.eq('a', 'a');
610
+ * // => true
611
+ *
612
+ * _.eq('a', Object('a'));
613
+ * // => false
614
+ *
615
+ * _.eq(NaN, NaN);
616
+ * // => true
617
+ */
618
+ function eq(value, other) {
619
+ return value === other || (value !== value && other !== other);
620
+ }
621
+
622
+ /**
623
+ * Checks if `value` is classified as a `Function` object.
624
+ *
625
+ * @static
626
+ * @memberOf _
627
+ * @since 0.1.0
628
+ * @category Lang
629
+ * @param {*} value The value to check.
630
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
631
+ * @example
632
+ *
633
+ * _.isFunction(_);
634
+ * // => true
635
+ *
636
+ * _.isFunction(/abc/);
637
+ * // => false
638
+ */
639
+ function isFunction(value) {
640
+ // The use of `Object#toString` avoids issues with the `typeof` operator
641
+ // in Safari 8-9 which returns 'object' for typed array and other constructors.
642
+ var tag = isObject(value) ? objectToString.call(value) : '';
643
+ return tag == funcTag || tag == genTag;
644
+ }
645
+
646
+ /**
647
+ * Checks if `value` is the
648
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
649
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
650
+ *
651
+ * @static
652
+ * @memberOf _
653
+ * @since 0.1.0
654
+ * @category Lang
655
+ * @param {*} value The value to check.
656
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
657
+ * @example
658
+ *
659
+ * _.isObject({});
660
+ * // => true
661
+ *
662
+ * _.isObject([1, 2, 3]);
663
+ * // => true
664
+ *
665
+ * _.isObject(_.noop);
666
+ * // => true
667
+ *
668
+ * _.isObject(null);
669
+ * // => false
670
+ */
671
+ function isObject(value) {
672
+ var type = typeof value;
673
+ return !!value && (type == 'object' || type == 'function');
674
+ }
675
+
676
+ module.exports = memoize;
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "lodash.memoize",
3
+ "version": "4.1.2",
4
+ "description": "The lodash method `_.memoize` exported as a module.",
5
+ "homepage": "https://lodash.com/",
6
+ "icon": "https://lodash.com/icon.svg",
7
+ "license": "MIT",
8
+ "keywords": "lodash-modularized, memoize",
9
+ "author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",
10
+ "contributors": [
11
+ "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",
12
+ "Blaine Bublitz <blaine.bublitz@gmail.com> (https://github.com/phated)",
13
+ "Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)"
14
+ ],
15
+ "repository": "lodash/lodash",
16
+ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
17
+ }