apipost-cli 1.0.13 → 1.0.15

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 (283) hide show
  1. package/dist/apipost-reports/apipost-reports-2024-01-11 10:45:07.html +750 -0
  2. package/dist/apipost-reports/apipost-reports-2024-01-11 10:50:54.html +750 -0
  3. package/dist/index.js +21 -17
  4. package/package.json +1 -1
  5. package/dist/apipost-cli/node_modules/@azure/abort-controller/types/3.1/AbortController.d.ts +0 -85
  6. package/dist/apipost-cli/node_modules/@azure/abort-controller/types/3.1/AbortSignal.d.ts +0 -80
  7. package/dist/apipost-cli/node_modules/@azure/abort-controller/types/3.1/index.d.ts +0 -3
  8. package/dist/apipost-cli/node_modules/@azure/core-auth/types/3.1/core-auth.d.ts +0 -229
  9. package/dist/apipost-cli/node_modules/@azure/core-client/types/3.1/core-client.d.ts +0 -900
  10. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/core-paging.d.ts +0 -77
  11. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/samples-dev/getPagedAsyncIteratorSample.d.ts +0 -2
  12. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/src/getPagedAsyncIterator.d.ts +0 -10
  13. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/src/index.d.ts +0 -3
  14. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/src/models.d.ts +0 -69
  15. package/dist/apipost-cli/node_modules/@azure/core-paging/types/3.1/test/getPagedAsyncIterator.spec.d.ts +0 -2
  16. package/dist/apipost-cli/node_modules/@azure/core-rest-pipeline/types/3.1/core-rest-pipeline.d.ts +0 -1114
  17. package/dist/apipost-cli/node_modules/@azure/core-util/types/3.1/core-util.d.ts +0 -112
  18. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
  19. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  20. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
  21. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
  22. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
  23. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
  24. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
  25. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  26. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
  27. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
  28. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
  29. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
  30. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
  31. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  32. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
  33. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  34. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
  35. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
  36. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
  37. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
  38. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
  39. package/dist/apipost-cli/node_modules/@nodelib/fs.scandir/package.json +0 -44
  40. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/LICENSE +0 -21
  41. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  42. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
  43. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
  44. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/index.js +0 -26
  45. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  46. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
  47. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
  48. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
  49. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
  50. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
  51. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  52. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
  53. package/dist/apipost-cli/node_modules/@nodelib/fs.stat/package.json +0 -37
  54. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/LICENSE +0 -21
  55. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
  56. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/index.js +0 -34
  57. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  58. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
  59. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
  60. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
  61. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
  62. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
  63. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
  64. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
  65. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  66. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
  67. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
  68. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
  69. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  70. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
  71. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
  72. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
  73. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
  74. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
  75. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  76. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
  77. package/dist/apipost-cli/node_modules/@nodelib/fs.walk/package.json +0 -44
  78. package/dist/apipost-cli/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  79. package/dist/apipost-cli/node_modules/@types/node/ts4.8/assert.d.ts +0 -972
  80. package/dist/apipost-cli/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -530
  81. package/dist/apipost-cli/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2351
  82. package/dist/apipost-cli/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1395
  83. package/dist/apipost-cli/node_modules/@types/node/ts4.8/cluster.d.ts +0 -410
  84. package/dist/apipost-cli/node_modules/@types/node/ts4.8/console.d.ts +0 -412
  85. package/dist/apipost-cli/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
  86. package/dist/apipost-cli/node_modules/@types/node/ts4.8/crypto.d.ts +0 -3961
  87. package/dist/apipost-cli/node_modules/@types/node/ts4.8/dgram.d.ts +0 -545
  88. package/dist/apipost-cli/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  89. package/dist/apipost-cli/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -414
  90. package/dist/apipost-cli/node_modules/@types/node/ts4.8/dns.d.ts +0 -668
  91. package/dist/apipost-cli/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -126
  92. package/dist/apipost-cli/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  93. package/dist/apipost-cli/node_modules/@types/node/ts4.8/events.d.ts +0 -724
  94. package/dist/apipost-cli/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1189
  95. package/dist/apipost-cli/node_modules/@types/node/ts4.8/fs.d.ts +0 -4043
  96. package/dist/apipost-cli/node_modules/@types/node/ts4.8/globals.d.ts +0 -303
  97. package/dist/apipost-cli/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  98. package/dist/apipost-cli/node_modules/@types/node/ts4.8/http.d.ts +0 -1724
  99. package/dist/apipost-cli/node_modules/@types/node/ts4.8/http2.d.ts +0 -2129
  100. package/dist/apipost-cli/node_modules/@types/node/ts4.8/https.d.ts +0 -441
  101. package/dist/apipost-cli/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  102. package/dist/apipost-cli/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2748
  103. package/dist/apipost-cli/node_modules/@types/node/ts4.8/module.d.ts +0 -116
  104. package/dist/apipost-cli/node_modules/@types/node/ts4.8/net.d.ts +0 -886
  105. package/dist/apipost-cli/node_modules/@types/node/ts4.8/os.d.ts +0 -477
  106. package/dist/apipost-cli/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  107. package/dist/apipost-cli/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -638
  108. package/dist/apipost-cli/node_modules/@types/node/ts4.8/process.d.ts +0 -1485
  109. package/dist/apipost-cli/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  110. package/dist/apipost-cli/node_modules/@types/node/ts4.8/querystring.d.ts +0 -131
  111. package/dist/apipost-cli/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -145
  112. package/dist/apipost-cli/node_modules/@types/node/ts4.8/readline.d.ts +0 -526
  113. package/dist/apipost-cli/node_modules/@types/node/ts4.8/repl.d.ts +0 -424
  114. package/dist/apipost-cli/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  115. package/dist/apipost-cli/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -42
  116. package/dist/apipost-cli/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -330
  117. package/dist/apipost-cli/node_modules/@types/node/ts4.8/stream.d.ts +0 -1392
  118. package/dist/apipost-cli/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  119. package/dist/apipost-cli/node_modules/@types/node/ts4.8/test.d.ts +0 -1052
  120. package/dist/apipost-cli/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  121. package/dist/apipost-cli/node_modules/@types/node/ts4.8/timers.d.ts +0 -215
  122. package/dist/apipost-cli/node_modules/@types/node/ts4.8/tls.d.ts +0 -1119
  123. package/dist/apipost-cli/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  124. package/dist/apipost-cli/node_modules/@types/node/ts4.8/tty.d.ts +0 -205
  125. package/dist/apipost-cli/node_modules/@types/node/ts4.8/url.d.ts +0 -901
  126. package/dist/apipost-cli/node_modules/@types/node/ts4.8/util.d.ts +0 -2052
  127. package/dist/apipost-cli/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  128. package/dist/apipost-cli/node_modules/@types/node/ts4.8/vm.d.ts +0 -894
  129. package/dist/apipost-cli/node_modules/@types/node/ts4.8/wasi.d.ts +0 -152
  130. package/dist/apipost-cli/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -693
  131. package/dist/apipost-cli/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  132. package/dist/apipost-cli/node_modules/bignumber.js/LICENCE.md +0 -26
  133. package/dist/apipost-cli/node_modules/bignumber.js/bignumber.d.ts +0 -1831
  134. package/dist/apipost-cli/node_modules/bignumber.js/bignumber.js +0 -2926
  135. package/dist/apipost-cli/node_modules/bignumber.js/bignumber.mjs +0 -2889
  136. package/dist/apipost-cli/node_modules/bignumber.js/doc/API.html +0 -2249
  137. package/dist/apipost-cli/node_modules/bignumber.js/package.json +0 -50
  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 +0 -65
  153. package/dist/apipost-cli/node_modules/des.js/lib/des/cipher.js +0 -142
  154. package/dist/apipost-cli/node_modules/des.js/lib/des/des.js +0 -150
  155. package/dist/apipost-cli/node_modules/des.js/lib/des/ede.js +0 -54
  156. package/dist/apipost-cli/node_modules/des.js/lib/des/utils.js +0 -256
  157. package/dist/apipost-cli/node_modules/des.js/lib/des.js +0 -7
  158. package/dist/apipost-cli/node_modules/des.js/package.json +0 -33
  159. package/dist/apipost-cli/node_modules/des.js/test/cbc-test.js +0 -73
  160. package/dist/apipost-cli/node_modules/des.js/test/des-test.js +0 -139
  161. package/dist/apipost-cli/node_modules/des.js/test/ede-test.js +0 -106
  162. package/dist/apipost-cli/node_modules/des.js/test/fixtures.js +0 -5
  163. package/dist/apipost-cli/node_modules/des.js/test/utils-test.js +0 -169
  164. package/dist/apipost-cli/node_modules/fs.realpath/LICENSE +0 -43
  165. package/dist/apipost-cli/node_modules/fs.realpath/index.js +0 -66
  166. package/dist/apipost-cli/node_modules/fs.realpath/old.js +0 -303
  167. package/dist/apipost-cli/node_modules/fs.realpath/package.json +0 -26
  168. package/dist/apipost-cli/node_modules/function.prototype.name/LICENSE +0 -21
  169. package/dist/apipost-cli/node_modules/function.prototype.name/auto.js +0 -3
  170. package/dist/apipost-cli/node_modules/function.prototype.name/helpers/functionsHaveNames.js +0 -5
  171. package/dist/apipost-cli/node_modules/function.prototype.name/implementation.js +0 -43
  172. package/dist/apipost-cli/node_modules/function.prototype.name/index.js +0 -18
  173. package/dist/apipost-cli/node_modules/function.prototype.name/package.json +0 -80
  174. package/dist/apipost-cli/node_modules/function.prototype.name/polyfill.js +0 -7
  175. package/dist/apipost-cli/node_modules/function.prototype.name/shim.js +0 -35
  176. package/dist/apipost-cli/node_modules/function.prototype.name/test/implementation.js +0 -20
  177. package/dist/apipost-cli/node_modules/function.prototype.name/test/index.js +0 -23
  178. package/dist/apipost-cli/node_modules/function.prototype.name/test/shimmed.js +0 -21
  179. package/dist/apipost-cli/node_modules/function.prototype.name/test/tests.js +0 -60
  180. package/dist/apipost-cli/node_modules/function.prototype.name/test/uglified.js +0 -17
  181. package/dist/apipost-cli/node_modules/lodash.camelcase/LICENSE +0 -47
  182. package/dist/apipost-cli/node_modules/lodash.camelcase/index.js +0 -599
  183. package/dist/apipost-cli/node_modules/lodash.camelcase/package.json +0 -17
  184. package/dist/apipost-cli/node_modules/lodash.memoize/LICENSE +0 -47
  185. package/dist/apipost-cli/node_modules/lodash.memoize/index.js +0 -676
  186. package/dist/apipost-cli/node_modules/lodash.memoize/package.json +0 -17
  187. package/dist/apipost-cli/node_modules/lodash.uniq/LICENSE +0 -47
  188. package/dist/apipost-cli/node_modules/lodash.uniq/index.js +0 -896
  189. package/dist/apipost-cli/node_modules/lodash.uniq/package.json +0 -17
  190. package/dist/apipost-cli/node_modules/moment/ts3.1-typings/moment.d.ts +0 -785
  191. package/dist/apipost-cli/node_modules/oauth-1.0a/LICENSE +0 -20
  192. package/dist/apipost-cli/node_modules/oauth-1.0a/Makefile +0 -36
  193. package/dist/apipost-cli/node_modules/oauth-1.0a/oauth-1.0a.d.ts +0 -192
  194. package/dist/apipost-cli/node_modules/oauth-1.0a/oauth-1.0a.js +0 -377
  195. package/dist/apipost-cli/node_modules/oauth-1.0a/package.json +0 -30
  196. package/dist/apipost-cli/node_modules/oauth-1.0a/test/getParameterString.js +0 -21
  197. package/dist/apipost-cli/node_modules/oauth-1.0a/test/mocha.opts +0 -4
  198. package/dist/apipost-cli/node_modules/oauth-1.0a/test/oauth_body_hash.js +0 -141
  199. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/consumer.js +0 -14
  200. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/last_ampersand.js +0 -55
  201. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/multiple_values.js +0 -54
  202. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/multiple_values_qs.js +0 -50
  203. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/nonce_length.js +0 -44
  204. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/parameter_seperator.js +0 -102
  205. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/realm.js +0 -51
  206. package/dist/apipost-cli/node_modules/oauth-1.0a/test/options/signature_method.js +0 -36
  207. package/dist/apipost-cli/node_modules/oauth-1.0a/test/services/bitbucket.js +0 -88
  208. package/dist/apipost-cli/node_modules/oauth-1.0a/test/services/flickr.js +0 -196
  209. package/dist/apipost-cli/node_modules/oauth-1.0a/test/services/openbank.js +0 -61
  210. package/dist/apipost-cli/node_modules/oauth-1.0a/test/services/twitter.js +0 -183
  211. package/dist/apipost-cli/node_modules/oauth-1.0a/test/twitter_sample_data.js +0 -94
  212. package/dist/apipost-cli/node_modules/object.assign/LICENSE +0 -21
  213. package/dist/apipost-cli/node_modules/object.assign/auto.js +0 -3
  214. package/dist/apipost-cli/node_modules/object.assign/dist/browser.js +0 -944
  215. package/dist/apipost-cli/node_modules/object.assign/hasSymbols.js +0 -43
  216. package/dist/apipost-cli/node_modules/object.assign/implementation.js +0 -46
  217. package/dist/apipost-cli/node_modules/object.assign/index.js +0 -22
  218. package/dist/apipost-cli/node_modules/object.assign/package.json +0 -96
  219. package/dist/apipost-cli/node_modules/object.assign/polyfill.js +0 -55
  220. package/dist/apipost-cli/node_modules/object.assign/shim.js +0 -14
  221. package/dist/apipost-cli/node_modules/object.assign/test/implementation.js +0 -19
  222. package/dist/apipost-cli/node_modules/object.assign/test/index.js +0 -17
  223. package/dist/apipost-cli/node_modules/object.assign/test/native.js +0 -49
  224. package/dist/apipost-cli/node_modules/object.assign/test/ses-compat.js +0 -12
  225. package/dist/apipost-cli/node_modules/object.assign/test/shimmed.js +0 -52
  226. package/dist/apipost-cli/node_modules/object.assign/test/tests.js +0 -232
  227. package/dist/apipost-cli/node_modules/object.assign/test.html +0 -18458
  228. package/dist/apipost-cli/node_modules/promise.series/LICENSE +0 -21
  229. package/dist/apipost-cli/node_modules/promise.series/index.js +0 -10
  230. package/dist/apipost-cli/node_modules/promise.series/package.json +0 -34
  231. package/dist/apipost-cli/node_modules/regexp.prototype.flags/LICENSE +0 -22
  232. package/dist/apipost-cli/node_modules/regexp.prototype.flags/auto.js +0 -3
  233. package/dist/apipost-cli/node_modules/regexp.prototype.flags/implementation.js +0 -42
  234. package/dist/apipost-cli/node_modules/regexp.prototype.flags/index.js +0 -18
  235. package/dist/apipost-cli/node_modules/regexp.prototype.flags/package.json +0 -100
  236. package/dist/apipost-cli/node_modules/regexp.prototype.flags/polyfill.js +0 -36
  237. package/dist/apipost-cli/node_modules/regexp.prototype.flags/shim.js +0 -26
  238. package/dist/apipost-cli/node_modules/regexp.prototype.flags/test/implementation.js +0 -20
  239. package/dist/apipost-cli/node_modules/regexp.prototype.flags/test/index.js +0 -17
  240. package/dist/apipost-cli/node_modules/regexp.prototype.flags/test/shimmed.js +0 -48
  241. package/dist/apipost-cli/node_modules/regexp.prototype.flags/test/tests.js +0 -143
  242. package/dist/apipost-cli/node_modules/resolve.exports/dist/index.js +0 -1
  243. package/dist/apipost-cli/node_modules/resolve.exports/dist/index.mjs +0 -1
  244. package/dist/apipost-cli/node_modules/resolve.exports/index.d.ts +0 -100
  245. package/dist/apipost-cli/node_modules/resolve.exports/license +0 -21
  246. package/dist/apipost-cli/node_modules/resolve.exports/package.json +0 -50
  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 +0 -21
  249. package/dist/apipost-cli/node_modules/string.prototype.trim/auto.js +0 -3
  250. package/dist/apipost-cli/node_modules/string.prototype.trim/implementation.js +0 -21
  251. package/dist/apipost-cli/node_modules/string.prototype.trim/index.js +0 -23
  252. package/dist/apipost-cli/node_modules/string.prototype.trim/package.json +0 -101
  253. package/dist/apipost-cli/node_modules/string.prototype.trim/polyfill.js +0 -19
  254. package/dist/apipost-cli/node_modules/string.prototype.trim/shim.js +0 -14
  255. package/dist/apipost-cli/node_modules/string.prototype.trim/test/implementation.js +0 -21
  256. package/dist/apipost-cli/node_modules/string.prototype.trim/test/index.js +0 -17
  257. package/dist/apipost-cli/node_modules/string.prototype.trim/test/shimmed.js +0 -36
  258. package/dist/apipost-cli/node_modules/string.prototype.trim/test/tests.js +0 -45
  259. package/dist/apipost-cli/node_modules/string.prototype.trimend/LICENSE +0 -21
  260. package/dist/apipost-cli/node_modules/string.prototype.trimend/auto.js +0 -3
  261. package/dist/apipost-cli/node_modules/string.prototype.trimend/implementation.js +0 -15
  262. package/dist/apipost-cli/node_modules/string.prototype.trimend/index.js +0 -23
  263. package/dist/apipost-cli/node_modules/string.prototype.trimend/package.json +0 -79
  264. package/dist/apipost-cli/node_modules/string.prototype.trimend/polyfill.js +0 -15
  265. package/dist/apipost-cli/node_modules/string.prototype.trimend/shim.js +0 -14
  266. package/dist/apipost-cli/node_modules/string.prototype.trimend/test/implementation.js +0 -20
  267. package/dist/apipost-cli/node_modules/string.prototype.trimend/test/index.js +0 -17
  268. package/dist/apipost-cli/node_modules/string.prototype.trimend/test/shimmed.js +0 -36
  269. package/dist/apipost-cli/node_modules/string.prototype.trimend/test/tests.js +0 -31
  270. package/dist/apipost-cli/node_modules/string.prototype.trimstart/LICENSE +0 -21
  271. package/dist/apipost-cli/node_modules/string.prototype.trimstart/auto.js +0 -3
  272. package/dist/apipost-cli/node_modules/string.prototype.trimstart/implementation.js +0 -15
  273. package/dist/apipost-cli/node_modules/string.prototype.trimstart/index.js +0 -23
  274. package/dist/apipost-cli/node_modules/string.prototype.trimstart/package.json +0 -79
  275. package/dist/apipost-cli/node_modules/string.prototype.trimstart/polyfill.js +0 -15
  276. package/dist/apipost-cli/node_modules/string.prototype.trimstart/shim.js +0 -14
  277. package/dist/apipost-cli/node_modules/string.prototype.trimstart/test/implementation.js +0 -20
  278. package/dist/apipost-cli/node_modules/string.prototype.trimstart/test/index.js +0 -18
  279. package/dist/apipost-cli/node_modules/string.prototype.trimstart/test/shimmed.js +0 -36
  280. package/dist/apipost-cli/node_modules/string.prototype.trimstart/test/tests.js +0 -31
  281. package/dist/apipost-cli/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +0 -771
  282. /package/dist/apipost-cli/{apipost-reports/ → }/346/265/213/350/257/225.html" +0 -0
  283. /package/dist/apipost-cli/{apipost-reports/ → }/346/265/213/350/257/225.json" +0 -0
package/dist/index.js CHANGED
@@ -779,35 +779,34 @@ const downloadTestReport = async (data, options, request) => {
779
779
  const now = dayjs();
780
780
  const formattedTime = now.format('YYYY-MM-DD HH:mm:ss');
781
781
 
782
+ //检查options.outDir 是否存在,是否是目录
783
+ if (!fs.existsSync(options.outDir)) {
784
+ try {
785
+ fs.mkdirSync(options.outDir, { recursive: true });
786
+ }catch(e){
787
+ console.log(`${formattedTime}\t 报告目录${options.outDir}无法创建成功,${String(err)}, 报告保存失败`)
788
+ fs.appendFileSync(path.join(homedir, 'apipost-cli-error.log'), `${formattedTime}\t${String(err)}\n`);
789
+ return
790
+ }
791
+ }
792
+
782
793
  for (const type of options.reporters.split(',')) {
783
794
  if (['html', 'json'].indexOf(type) > -1) {
784
795
  const reportContent = type === 'html'
785
796
  ? RENDER_TEST_REPORT_HTML_STR(data)
786
797
  : JSON.stringify(data, null, '\t');
787
798
 
788
- const finalFilePath = __nccwpck_require__.ab + "apipost-cli/" + options.outDir + '/' + options.outFile || `apipost-reports-${formattedTime}` + '.' + type;
799
+ const finalFilePath = path.join(options.outDir, `${options.outFile || `apipost-reports-${formattedTime}`}.${type}`);
789
800
 
790
801
  let retries = 0;
791
802
 
792
- while (true) {
803
+ for (let i = 0; i < 2; i++) {
793
804
  try {
794
805
  fs.writeFileSync(finalFilePath, reportContent);
795
806
  break;
796
807
  } catch (err) {
808
+ console.log(`${formattedTime}\t ${finalFilePath}报告保存失败,${String(err)}, 重试中...`)
797
809
  fs.appendFileSync(path.join(homedir, 'apipost-cli-error.log'), `${formattedTime}\t${String(err)}\n`);
798
-
799
- if (err.code === 'ENOENT') {
800
- fs.mkdirSync(options.outDir, { recursive: true });
801
- continue;
802
- }
803
-
804
- if (err.code === 'EMFILE' && retries < 10) {
805
- retries++;
806
- await new Promise(resolve => setTimeout(resolve, 50 * retries));
807
- continue;
808
- }
809
-
810
- throw err;
811
810
  }
812
811
  }
813
812
  }
@@ -565718,9 +565717,10 @@ program.version(pkginfo.version, '-v, --version', 'apipost-cli 当前版本')
565718
565717
 
565719
565718
  let last_msg = "";
565720
565719
 
565720
+ const currentWorkingDirectory = process.cwd();
565721
565721
  const cliOption = {
565722
565722
  reporters: 'cli',
565723
- outDir: './apipost-reports',
565723
+ outDir: __nccwpck_require__.ab + "apipost-reports",
565724
565724
  outFile: '',
565725
565725
  iterationData: '',
565726
565726
  iterationCount: 1,
@@ -565855,8 +565855,12 @@ const runTestEvents = async (data, options) => {
565855
565855
  }
565856
565856
 
565857
565857
  const parseCommandString = async (url, options) => {
565858
- console.log(`log: ${formattedTime}\tstart run & log to ${path.join(homedir, 'apipost-cli-error.log')}`);
565858
+ //判断是否有outDir, 如果把路径解析成绝对路径
565859
+ if (options.outDir) {
565860
+ options.outDir = path.resolve(options.outDir);
565861
+ }
565859
565862
  _.merge(cliOption, _.mapKeys(options, (value, key) => _.camelCase(key)))
565863
+ console.log(`log: ${formattedTime}\tstart run & log to ${path.join(homedir, 'apipost-cli-error.log')} & report dir ${cliOption.outDir}`);
565860
565864
 
565861
565865
  if (_.intersection(_.split(cliOption.reporters, ','), ['html', 'json'])) {
565862
565866
  const urlRegex = /^(?:(?:https?|ftp):\/\/)?(?:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|[\w-]+(?:\.[\w-]+)+)(?::\d+)?(?:\/[\w-]+)*(?:\?[\w-]+=[\w-]+(?:&[\w-]+=[\w-]+)*)?(?:#[\w-]+)?$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apipost-cli",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Apipost 命令行运行工具",
5
5
  "main": "./dist/index.js",
6
6
  "files": [
@@ -1,85 +0,0 @@
1
- import { AbortSignal, AbortSignalLike } from "./AbortSignal";
2
- /**
3
- * This error is thrown when an asynchronous operation has been aborted.
4
- * Check for this error by testing the `name` that the name property of the
5
- * error matches `"AbortError"`.
6
- *
7
- * @example
8
- * ```ts
9
- * const controller = new AbortController();
10
- * controller.abort();
11
- * try {
12
- * doAsyncWork(controller.signal)
13
- * } catch (e) {
14
- * if (e.name === 'AbortError') {
15
- * // handle abort error here.
16
- * }
17
- * }
18
- * ```
19
- */
20
- export declare class AbortError extends Error {
21
- constructor(message?: string);
22
- }
23
- /**
24
- * An AbortController provides an AbortSignal and the associated controls to signal
25
- * that an asynchronous operation should be aborted.
26
- *
27
- * @example
28
- * Abort an operation when another event fires
29
- * ```ts
30
- * const controller = new AbortController();
31
- * const signal = controller.signal;
32
- * doAsyncWork(signal);
33
- * button.addEventListener('click', () => controller.abort());
34
- * ```
35
- *
36
- * @example
37
- * Share aborter cross multiple operations in 30s
38
- * ```ts
39
- * // Upload the same data to 2 different data centers at the same time,
40
- * // abort another when any of them is finished
41
- * const controller = AbortController.withTimeout(30 * 1000);
42
- * doAsyncWork(controller.signal).then(controller.abort);
43
- * doAsyncWork(controller.signal).then(controller.abort);
44
- *```
45
- *
46
- * @example
47
- * Cascaded aborting
48
- * ```ts
49
- * // All operations can't take more than 30 seconds
50
- * const aborter = Aborter.timeout(30 * 1000);
51
- *
52
- * // Following 2 operations can't take more than 25 seconds
53
- * await doAsyncWork(aborter.withTimeout(25 * 1000));
54
- * await doAsyncWork(aborter.withTimeout(25 * 1000));
55
- * ```
56
- */
57
- export declare class AbortController {
58
- private _signal;
59
- /**
60
- * @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.
61
- */
62
- constructor(parentSignals?: AbortSignalLike[]);
63
- /**
64
- * @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.
65
- */
66
- constructor(...parentSignals: AbortSignalLike[]);
67
- /*
68
- * The AbortSignal associated with this controller that will signal aborted
69
- * when the abort method is called on this controller.
70
- *
71
- * @readonly
72
- */
73
- readonly signal: AbortSignal;
74
- /**
75
- * Signal that any operations passed this controller's associated abort signal
76
- * to cancel any remaining work and throw an `AbortError`.
77
- */
78
- abort(): void;
79
- /**
80
- * Creates a new AbortSignal instance that will abort after the provided ms.
81
- * @param ms - Elapsed time in milliseconds to trigger an abort.
82
- */
83
- static timeout(ms: number): AbortSignal;
84
- }
85
- //# sourceMappingURL=AbortController.d.ts.map
@@ -1,80 +0,0 @@
1
- /// <reference path="../../shims-public.d.ts" />
2
- /**
3
- * Allows the request to be aborted upon firing of the "abort" event.
4
- * Compatible with the browser built-in AbortSignal and common polyfills.
5
- */
6
- export interface AbortSignalLike {
7
- /**
8
- * Indicates if the signal has already been aborted.
9
- */
10
- readonly aborted: boolean;
11
- /**
12
- * Add new "abort" event listener, only support "abort" event.
13
- */
14
- addEventListener(type: "abort", listener: (this: AbortSignalLike, ev: any) => any, options?: any): void;
15
- /**
16
- * Remove "abort" event listener, only support "abort" event.
17
- */
18
- removeEventListener(type: "abort", listener: (this: AbortSignalLike, ev: any) => any, options?: any): void;
19
- }
20
- /**
21
- * An aborter instance implements AbortSignal interface, can abort HTTP requests.
22
- *
23
- * - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled.
24
- * Use `AbortSignal.none` when you are required to pass a cancellation token but the operation
25
- * cannot or will not ever be cancelled.
26
- *
27
- * @example
28
- * Abort without timeout
29
- * ```ts
30
- * await doAsyncWork(AbortSignal.none);
31
- * ```
32
- */
33
- export declare class AbortSignal implements AbortSignalLike {
34
- constructor();
35
- /*
36
- * Status of whether aborted or not.
37
- *
38
- * @readonly
39
- */
40
- readonly aborted: boolean;
41
- /*
42
- * Creates a new AbortSignal instance that will never be aborted.
43
- *
44
- * @readonly
45
- */
46
- static readonly none: AbortSignal;
47
- /**
48
- * onabort event listener.
49
- */
50
- onabort: ((ev?: Event) => any) | null;
51
- /**
52
- * Added new "abort" event listener, only support "abort" event.
53
- *
54
- * @param _type - Only support "abort" event
55
- * @param listener - The listener to be added
56
- */
57
- addEventListener(_type: "abort", listener: (this: AbortSignalLike, ev: any) => any): void;
58
- /**
59
- * Remove "abort" event listener, only support "abort" event.
60
- *
61
- * @param _type - Only support "abort" event
62
- * @param listener - The listener to be removed
63
- */
64
- removeEventListener(_type: "abort", listener: (this: AbortSignalLike, ev: any) => any): void;
65
- /**
66
- * Dispatches a synthetic event to the AbortSignal.
67
- */
68
- dispatchEvent(_event: Event): boolean;
69
- }
70
- /**
71
- * Helper to trigger an abort event immediately, the onabort and all abort event listeners will be triggered.
72
- * Will try to trigger abort event for all linked AbortSignal nodes.
73
- *
74
- * - If there is a timeout, the timer will be cancelled.
75
- * - If aborted is true, nothing will happen.
76
- *
77
- * @internal
78
- */
79
- export declare function abortSignal(signal: AbortSignal): void;
80
- //# sourceMappingURL=AbortSignal.d.ts.map
@@ -1,3 +0,0 @@
1
- export { AbortController, AbortError } from "./AbortController";
2
- export { AbortSignal, AbortSignalLike } from "./AbortSignal";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,229 +0,0 @@
1
- import { AbortSignalLike } from '@azure/abort-controller';
2
- /**
3
- * Represents an access token with an expiration time.
4
- */
5
- export declare interface AccessToken {
6
- /**
7
- * The access token returned by the authentication service.
8
- */
9
- token: string;
10
- /**
11
- * The access token's expiration timestamp in milliseconds, UNIX epoch time.
12
- */
13
- expiresOnTimestamp: number;
14
- }
15
- /**
16
- * A static-key-based credential that supports updating
17
- * the underlying key value.
18
- */
19
- export declare class AzureKeyCredential implements KeyCredential {
20
- private _key;
21
- /*
22
- * The value of the key to be used in authentication
23
- */
24
- readonly key: string;
25
- /**
26
- * Create an instance of an AzureKeyCredential for use
27
- * with a service client.
28
- *
29
- * @param key - The initial value of the key to use in authentication
30
- */
31
- constructor(key: string);
32
- /**
33
- * Change the value of the key.
34
- *
35
- * Updates will take effect upon the next request after
36
- * updating the key value.
37
- *
38
- * @param newKey - The new key value to be used
39
- */
40
- update(newKey: string): void;
41
- }
42
- /**
43
- * A static name/key-based credential that supports updating
44
- * the underlying name and key values.
45
- */
46
- export declare class AzureNamedKeyCredential implements NamedKeyCredential {
47
- private _key;
48
- private _name;
49
- /*
50
- * The value of the key to be used in authentication.
51
- */
52
- readonly key: string;
53
- /*
54
- * The value of the name to be used in authentication.
55
- */
56
- readonly name: string;
57
- /**
58
- * Create an instance of an AzureNamedKeyCredential for use
59
- * with a service client.
60
- *
61
- * @param name - The initial value of the name to use in authentication.
62
- * @param key - The initial value of the key to use in authentication.
63
- */
64
- constructor(name: string, key: string);
65
- /**
66
- * Change the value of the key.
67
- *
68
- * Updates will take effect upon the next request after
69
- * updating the key value.
70
- *
71
- * @param newName - The new name value to be used.
72
- * @param newKey - The new key value to be used.
73
- */
74
- update(newName: string, newKey: string): void;
75
- }
76
- /**
77
- * A static-signature-based credential that supports updating
78
- * the underlying signature value.
79
- */
80
- export declare class AzureSASCredential implements SASCredential {
81
- private _signature;
82
- /*
83
- * The value of the shared access signature to be used in authentication
84
- */
85
- readonly signature: string;
86
- /**
87
- * Create an instance of an AzureSASCredential for use
88
- * with a service client.
89
- *
90
- * @param signature - The initial value of the shared access signature to use in authentication
91
- */
92
- constructor(signature: string);
93
- /**
94
- * Change the value of the signature.
95
- *
96
- * Updates will take effect upon the next request after
97
- * updating the signature value.
98
- *
99
- * @param newSignature - The new shared access signature value to be used
100
- */
101
- update(newSignature: string): void;
102
- }
103
- /**
104
- * Defines options for TokenCredential.getToken.
105
- */
106
- export declare interface GetTokenOptions {
107
- /**
108
- * The signal which can be used to abort requests.
109
- */
110
- abortSignal?: AbortSignalLike;
111
- /**
112
- * Options used when creating and sending HTTP requests for this operation.
113
- */
114
- requestOptions?: {
115
- /**
116
- * The number of milliseconds a request can take before automatically being terminated.
117
- */
118
- timeout?: number;
119
- };
120
- /**
121
- * Options used when tracing is enabled.
122
- */
123
- tracingOptions?: {
124
- /**
125
- * Tracing Context for the current request.
126
- */
127
- tracingContext?: TracingContext;
128
- };
129
- /**
130
- * Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints.
131
- */
132
- tenantId?: string;
133
- /**
134
- * Claim details to perform the Continuous Access Evaluation authentication flow
135
- */
136
- claims?: string;
137
- }
138
- /**
139
- * Tests an object to determine whether it implements NamedKeyCredential.
140
- *
141
- * @param credential - The assumed NamedKeyCredential to be tested.
142
- */
143
- export declare function isNamedKeyCredential(credential: unknown): credential is NamedKeyCredential;
144
- /**
145
- * Tests an object to determine whether it implements SASCredential.
146
- *
147
- * @param credential - The assumed SASCredential to be tested.
148
- */
149
- export declare function isSASCredential(credential: unknown): credential is SASCredential;
150
- /**
151
- * Tests an object to determine whether it implements TokenCredential.
152
- *
153
- * @param credential - The assumed TokenCredential to be tested.
154
- */
155
- export declare function isTokenCredential(credential: unknown): credential is TokenCredential;
156
- /**
157
- * Represents a credential defined by a static API key.
158
- */
159
- export declare interface KeyCredential {
160
- /**
161
- * The value of the API key represented as a string
162
- */
163
- readonly key: string;
164
- }
165
- /**
166
- * Represents a credential defined by a static API name and key.
167
- */
168
- export declare interface NamedKeyCredential {
169
- /**
170
- * The value of the API key represented as a string
171
- */
172
- readonly key: string;
173
- /**
174
- * The value of the API name represented as a string.
175
- */
176
- readonly name: string;
177
- }
178
- /**
179
- * Represents a credential defined by a static shared access signature.
180
- */
181
- export declare interface SASCredential {
182
- /**
183
- * The value of the shared access signature represented as a string
184
- */
185
- readonly signature: string;
186
- }
187
- /**
188
- * Represents a credential capable of providing an authentication token.
189
- */
190
- export declare interface TokenCredential {
191
- /**
192
- * Gets the token provided by this credential.
193
- *
194
- * This method is called automatically by Azure SDK client libraries. You may call this method
195
- * directly, but you must also handle token caching and token refreshing.
196
- *
197
- * @param scopes - The list of scopes for which the token will have access.
198
- * @param options - The options used to configure any requests this
199
- * TokenCredential implementation might make.
200
- */
201
- getToken(scopes: string | string[], options?: GetTokenOptions): Promise<AccessToken | null>;
202
- }
203
- /**
204
- * An interface structurally compatible with OpenTelemetry.
205
- */
206
- export declare interface TracingContext {
207
- /**
208
- * Get a value from the context.
209
- *
210
- * @param key - key which identifies a context value
211
- */
212
- getValue(key: symbol): unknown;
213
- /**
214
- * Create a new context which inherits from this context and has
215
- * the given key set to the given value.
216
- *
217
- * @param key - context key for which to set the value
218
- * @param value - value to set for the given key
219
- */
220
- setValue(key: symbol, value: unknown): TracingContext;
221
- /**
222
- * Return a new context which inherits from this context but does
223
- * not contain a value for the given key.
224
- *
225
- * @param key - context key for which to clear a value
226
- */
227
- deleteValue(key: symbol): TracingContext;
228
- }
229
- export {};