cloudstructs 0.9.23 → 0.9.24

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 (198) hide show
  1. package/.jsii +4 -4
  2. package/assets/slack-textract/detect.lambda/index.js +78 -79
  3. package/lib/codecommit-mirror/index.js +2 -2
  4. package/lib/dmarc/index.js +1 -1
  5. package/lib/ecs-service-roller/index.js +2 -2
  6. package/lib/email-receiver/receiver.js +1 -1
  7. package/lib/mjml-template/index.js +1 -1
  8. package/lib/saml-identity-provider/index.js +2 -2
  9. package/lib/slack-app/manifest.js +1 -1
  10. package/lib/slack-app/slack-app.js +2 -2
  11. package/lib/slack-events/index.js +1 -1
  12. package/lib/slack-textract/index.js +1 -1
  13. package/lib/ssl-server-test/index.js +1 -1
  14. package/lib/state-machine-cr-provider/index.js +1 -1
  15. package/lib/static-website/index.js +1 -1
  16. package/lib/toolkit-cleaner/index.js +1 -1
  17. package/lib/url-shortener/index.js +1 -1
  18. package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
  19. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +23 -0
  20. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +1 -1
  21. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +1 -1
  22. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +4 -1
  23. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +10 -0
  24. package/node_modules/@slack/logger/node_modules/@types/node/package.json +4 -9
  25. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +61 -10
  26. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +119 -0
  27. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +1 -1
  28. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +33 -0
  29. package/node_modules/@slack/logger/node_modules/undici-types/eventsource.d.ts +0 -2
  30. package/node_modules/@slack/logger/node_modules/undici-types/filereader.d.ts +1 -1
  31. package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +3 -1
  32. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  33. package/node_modules/@slack/logger/node_modules/undici-types/patch.d.ts +0 -38
  34. package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +0 -2
  35. package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.d.ts +10 -2
  36. package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.d.ts.map +1 -1
  37. package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.js.map +1 -1
  38. package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.d.ts +7 -0
  39. package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.d.ts.map +1 -1
  40. package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.js.map +1 -1
  41. package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.d.ts +7 -0
  42. package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.d.ts.map +1 -1
  43. package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.js.map +1 -1
  44. package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.d.ts +10 -2
  45. package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.d.ts.map +1 -1
  46. package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.js.map +1 -1
  47. package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.d.ts +7 -0
  48. package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.d.ts.map +1 -1
  49. package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.js.map +1 -1
  50. package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.d.ts +10 -2
  51. package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.d.ts.map +1 -1
  52. package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.js.map +1 -1
  53. package/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.d.ts +5 -2
  54. package/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.d.ts.map +1 -1
  55. package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.d.ts +7 -0
  56. package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.d.ts.map +1 -1
  57. package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.js.map +1 -1
  58. package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.d.ts +7 -0
  59. package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.d.ts.map +1 -1
  60. package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.js.map +1 -1
  61. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.d.ts +7 -0
  62. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.d.ts.map +1 -1
  63. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.js.map +1 -1
  64. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.d.ts +7 -0
  65. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.d.ts.map +1 -1
  66. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.js.map +1 -1
  67. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.d.ts +7 -0
  68. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.d.ts.map +1 -1
  69. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.js.map +1 -1
  70. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.d.ts +7 -0
  71. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.d.ts.map +1 -1
  72. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.js.map +1 -1
  73. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.d.ts +7 -0
  74. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.d.ts.map +1 -1
  75. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.js.map +1 -1
  76. package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.d.ts +7 -0
  77. package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.d.ts.map +1 -1
  78. package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.js.map +1 -1
  79. package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.d.ts +7 -0
  80. package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.d.ts.map +1 -1
  81. package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.js.map +1 -1
  82. package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.d.ts +7 -0
  83. package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.d.ts.map +1 -1
  84. package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.js.map +1 -1
  85. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.d.ts +7 -0
  86. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.d.ts.map +1 -1
  87. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js.map +1 -1
  88. package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.d.ts +7 -0
  89. package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.d.ts.map +1 -1
  90. package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.js.map +1 -1
  91. package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.d.ts +10 -2
  92. package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.d.ts.map +1 -1
  93. package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.js.map +1 -1
  94. package/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.d.ts +10 -2
  95. package/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.d.ts.map +1 -1
  96. package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.d.ts +11 -3
  97. package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.d.ts.map +1 -1
  98. package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js.map +1 -1
  99. package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.d.ts +11 -3
  100. package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.d.ts.map +1 -1
  101. package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js.map +1 -1
  102. package/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.d.ts +10 -2
  103. package/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.d.ts.map +1 -1
  104. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
  105. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +23 -0
  106. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +1 -1
  107. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +1 -1
  108. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +4 -1
  109. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +10 -0
  110. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +4 -9
  111. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +61 -10
  112. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +119 -0
  113. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +1 -1
  114. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +33 -0
  115. package/node_modules/@slack/web-api/node_modules/undici-types/eventsource.d.ts +0 -2
  116. package/node_modules/@slack/web-api/node_modules/undici-types/filereader.d.ts +1 -1
  117. package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +3 -1
  118. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  119. package/node_modules/@slack/web-api/node_modules/undici-types/patch.d.ts +0 -38
  120. package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +0 -2
  121. package/node_modules/@slack/web-api/package.json +5 -4
  122. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
  123. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +23 -0
  124. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +1 -1
  125. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +1 -1
  126. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +4 -1
  127. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +10 -0
  128. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +4 -9
  129. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +61 -10
  130. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +119 -0
  131. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +1 -1
  132. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +33 -0
  133. package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +0 -2
  134. package/node_modules/@types/cacheable-request/node_modules/undici-types/filereader.d.ts +1 -1
  135. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +3 -1
  136. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  137. package/node_modules/@types/cacheable-request/node_modules/undici-types/patch.d.ts +0 -38
  138. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +0 -2
  139. package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
  140. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +23 -0
  141. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +1 -1
  142. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +1 -1
  143. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +4 -1
  144. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +10 -0
  145. package/node_modules/@types/keyv/node_modules/@types/node/package.json +4 -9
  146. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +61 -10
  147. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +119 -0
  148. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +1 -1
  149. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +33 -0
  150. package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +0 -2
  151. package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +1 -1
  152. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +3 -1
  153. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  154. package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +0 -38
  155. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +0 -2
  156. package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
  157. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +23 -0
  158. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +1 -1
  159. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +1 -1
  160. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +4 -1
  161. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +10 -0
  162. package/node_modules/@types/responselike/node_modules/@types/node/package.json +4 -9
  163. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +61 -10
  164. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +119 -0
  165. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +1 -1
  166. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +33 -0
  167. package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +0 -2
  168. package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +1 -1
  169. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +3 -1
  170. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  171. package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +0 -38
  172. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +0 -2
  173. package/node_modules/axios/CHANGELOG.md +49 -0
  174. package/node_modules/axios/README.md +20 -8
  175. package/node_modules/axios/dist/axios.js +34 -63
  176. package/node_modules/axios/dist/axios.js.map +1 -1
  177. package/node_modules/axios/dist/axios.min.js +1 -1
  178. package/node_modules/axios/dist/axios.min.js.map +1 -1
  179. package/node_modules/axios/dist/browser/axios.cjs +40 -71
  180. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  181. package/node_modules/axios/dist/esm/axios.js +40 -71
  182. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  183. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  184. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  185. package/node_modules/axios/dist/node/axios.cjs +45 -75
  186. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  187. package/node_modules/axios/index.d.cts +5 -1
  188. package/node_modules/axios/index.d.ts +8 -1
  189. package/node_modules/axios/lib/adapters/http.js +4 -4
  190. package/node_modules/axios/lib/core/Axios.js +7 -2
  191. package/node_modules/axios/lib/core/mergeConfig.js +5 -5
  192. package/node_modules/axios/lib/env/data.js +1 -1
  193. package/node_modules/axios/lib/helpers/buildURL.js +7 -1
  194. package/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
  195. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +12 -65
  196. package/node_modules/axios/lib/helpers/validator.js +8 -0
  197. package/node_modules/axios/package.json +3 -3
  198. package/package.json +16 -16
@@ -365,6 +365,20 @@ declare module "node:test" {
365
365
  * @default undefined
366
366
  */
367
367
  setup?: ((reporter: TestsStream) => void | Promise<void>) | undefined;
368
+ /**
369
+ * An array of CLI flags to pass to the `node` executable when
370
+ * spawning the subprocesses. This option has no effect when `isolation` is `'none`'.
371
+ * @since v22.10.0
372
+ * @default []
373
+ */
374
+ execArgv?: readonly string[] | undefined;
375
+ /**
376
+ * An array of CLI flags to pass to each test file when spawning the
377
+ * subprocesses. This option has no effect when `isolation` is `'none'`.
378
+ * @since v22.10.0
379
+ * @default []
380
+ */
381
+ argv?: readonly string[] | undefined;
368
382
  /**
369
383
  * Allows aborting an in-progress test execution.
370
384
  */
@@ -400,6 +414,53 @@ declare module "node:test" {
400
414
  * @default undefined
401
415
  */
402
416
  shard?: TestShard | undefined;
417
+ /**
418
+ * enable [code coverage](https://nodejs.org/docs/latest-v22.x/api/test.html#collecting-code-coverage) collection.
419
+ * @since v22.10.0
420
+ * @default false
421
+ */
422
+ coverage?: boolean | undefined;
423
+ /**
424
+ * Excludes specific files from code coverage
425
+ * using a glob pattern, which can match both absolute and relative file paths.
426
+ * This property is only applicable when `coverage` was set to `true`.
427
+ * If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
428
+ * files must meet **both** criteria to be included in the coverage report.
429
+ * @since v22.10.0
430
+ * @default undefined
431
+ */
432
+ coverageExcludeGlobs?: string | readonly string[] | undefined;
433
+ /**
434
+ * Includes specific files in code coverage
435
+ * using a glob pattern, which can match both absolute and relative file paths.
436
+ * This property is only applicable when `coverage` was set to `true`.
437
+ * If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
438
+ * files must meet **both** criteria to be included in the coverage report.
439
+ * @since v22.10.0
440
+ * @default undefined
441
+ */
442
+ coverageIncludeGlobs?: string | readonly string[] | undefined;
443
+ /**
444
+ * Require a minimum percent of covered lines. If code
445
+ * coverage does not reach the threshold specified, the process will exit with code `1`.
446
+ * @since v22.10.0
447
+ * @default 0
448
+ */
449
+ lineCoverage?: number | undefined;
450
+ /**
451
+ * Require a minimum percent of covered branches. If code
452
+ * coverage does not reach the threshold specified, the process will exit with code `1`.
453
+ * @since v22.10.0
454
+ * @default 0
455
+ */
456
+ branchCoverage?: number | undefined;
457
+ /**
458
+ * Require a minimum percent of covered functions. If code
459
+ * coverage does not reach the threshold specified, the process will exit with code `1`.
460
+ * @since v22.10.0
461
+ * @default 0
462
+ */
463
+ functionCoverage?: number | undefined;
403
464
  }
404
465
  /**
405
466
  * A successful call to `run()` will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.
@@ -419,6 +480,7 @@ declare module "node:test" {
419
480
  addListener(event: "test:start", listener: (data: TestStart) => void): this;
420
481
  addListener(event: "test:stderr", listener: (data: TestStderr) => void): this;
421
482
  addListener(event: "test:stdout", listener: (data: TestStdout) => void): this;
483
+ addListener(event: "test:summary", listener: (data: TestSummary) => void): this;
422
484
  addListener(event: "test:watch:drained", listener: () => void): this;
423
485
  addListener(event: string, listener: (...args: any[]) => void): this;
424
486
  emit(event: "test:coverage", data: TestCoverage): boolean;
@@ -432,6 +494,7 @@ declare module "node:test" {
432
494
  emit(event: "test:start", data: TestStart): boolean;
433
495
  emit(event: "test:stderr", data: TestStderr): boolean;
434
496
  emit(event: "test:stdout", data: TestStdout): boolean;
497
+ emit(event: "test:summary", data: TestSummary): boolean;
435
498
  emit(event: "test:watch:drained"): boolean;
436
499
  emit(event: string | symbol, ...args: any[]): boolean;
437
500
  on(event: "test:coverage", listener: (data: TestCoverage) => void): this;
@@ -445,6 +508,7 @@ declare module "node:test" {
445
508
  on(event: "test:start", listener: (data: TestStart) => void): this;
446
509
  on(event: "test:stderr", listener: (data: TestStderr) => void): this;
447
510
  on(event: "test:stdout", listener: (data: TestStdout) => void): this;
511
+ on(event: "test:summary", listener: (data: TestSummary) => void): this;
448
512
  on(event: "test:watch:drained", listener: () => void): this;
449
513
  on(event: string, listener: (...args: any[]) => void): this;
450
514
  once(event: "test:coverage", listener: (data: TestCoverage) => void): this;
@@ -458,6 +522,7 @@ declare module "node:test" {
458
522
  once(event: "test:start", listener: (data: TestStart) => void): this;
459
523
  once(event: "test:stderr", listener: (data: TestStderr) => void): this;
460
524
  once(event: "test:stdout", listener: (data: TestStdout) => void): this;
525
+ once(event: "test:summary", listener: (data: TestSummary) => void): this;
461
526
  once(event: "test:watch:drained", listener: () => void): this;
462
527
  once(event: string, listener: (...args: any[]) => void): this;
463
528
  prependListener(event: "test:coverage", listener: (data: TestCoverage) => void): this;
@@ -471,6 +536,7 @@ declare module "node:test" {
471
536
  prependListener(event: "test:start", listener: (data: TestStart) => void): this;
472
537
  prependListener(event: "test:stderr", listener: (data: TestStderr) => void): this;
473
538
  prependListener(event: "test:stdout", listener: (data: TestStdout) => void): this;
539
+ prependListener(event: "test:summary", listener: (data: TestSummary) => void): this;
474
540
  prependListener(event: "test:watch:drained", listener: () => void): this;
475
541
  prependListener(event: string, listener: (...args: any[]) => void): this;
476
542
  prependOnceListener(event: "test:coverage", listener: (data: TestCoverage) => void): this;
@@ -484,6 +550,7 @@ declare module "node:test" {
484
550
  prependOnceListener(event: "test:start", listener: (data: TestStart) => void): this;
485
551
  prependOnceListener(event: "test:stderr", listener: (data: TestStderr) => void): this;
486
552
  prependOnceListener(event: "test:stdout", listener: (data: TestStdout) => void): this;
553
+ prependOnceListener(event: "test:summary", listener: (data: TestSummary) => void): this;
487
554
  prependOnceListener(event: "test:watch:drained", listener: () => void): this;
488
555
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
489
556
  }
@@ -2047,6 +2114,57 @@ interface TestStdout {
2047
2114
  */
2048
2115
  message: string;
2049
2116
  }
2117
+ interface TestSummary {
2118
+ /**
2119
+ * An object containing the counts of various test results.
2120
+ */
2121
+ counts: {
2122
+ /**
2123
+ * The total number of cancelled tests.
2124
+ */
2125
+ cancelled: number;
2126
+ /**
2127
+ * The total number of passed tests.
2128
+ */
2129
+ passed: number;
2130
+ /**
2131
+ * The total number of skipped tests.
2132
+ */
2133
+ skipped: number;
2134
+ /**
2135
+ * The total number of suites run.
2136
+ */
2137
+ suites: number;
2138
+ /**
2139
+ * The total number of tests run, excluding suites.
2140
+ */
2141
+ tests: number;
2142
+ /**
2143
+ * The total number of TODO tests.
2144
+ */
2145
+ todo: number;
2146
+ /**
2147
+ * The total number of top level tests and suites.
2148
+ */
2149
+ topLevel: number;
2150
+ };
2151
+ /**
2152
+ * The duration of the test run in milliseconds.
2153
+ */
2154
+ duration_ms: number;
2155
+ /**
2156
+ * The path of the test file that generated the
2157
+ * summary. If the summary corresponds to multiple files, this value is
2158
+ * `undefined`.
2159
+ */
2160
+ file: string | undefined;
2161
+ /**
2162
+ * Indicates whether or not the test run is considered
2163
+ * successful or not. If any error condition occurs, such as a failing test or
2164
+ * unmet coverage threshold, this value will be set to `false`.
2165
+ */
2166
+ success: boolean;
2167
+ }
2050
2168
 
2051
2169
  /**
2052
2170
  * The `node:test/reporters` module exposes the builtin-reporters for `node:test`.
@@ -2080,6 +2198,7 @@ declare module "node:test/reporters" {
2080
2198
  | { type: "test:start"; data: TestStart }
2081
2199
  | { type: "test:stderr"; data: TestStderr }
2082
2200
  | { type: "test:stdout"; data: TestStdout }
2201
+ | { type: "test:summary"; data: TestSummary }
2083
2202
  | { type: "test:watch:drained"; data: undefined };
2084
2203
  type TestEventGenerator = AsyncGenerator<TestEvent, void>;
2085
2204
 
@@ -445,7 +445,7 @@ declare module "v8" {
445
445
  * @since v8.0.0
446
446
  * @param buffer A buffer returned by {@link serialize}.
447
447
  */
448
- function deserialize(buffer: NodeJS.TypedArray): any;
448
+ function deserialize(buffer: NodeJS.ArrayBufferView): any;
449
449
  /**
450
450
  * The `v8.takeCoverage()` method allows the user to write the coverage started by `NODE_V8_COVERAGE` to disk on demand. This method can be invoked multiple
451
451
  * times during the lifetime of the process. Each time the execution counter will
@@ -594,6 +594,39 @@ declare module "worker_threads" {
594
594
  * @since v14.5.0, v12.19.0
595
595
  */
596
596
  function markAsUntransferable(object: object): void;
597
+ /**
598
+ * Check if an object is marked as not transferable with
599
+ * {@link markAsUntransferable}.
600
+ * @since v21.0.0
601
+ */
602
+ function isMarkedAsUntransferable(object: object): boolean;
603
+ /**
604
+ * Mark an object as not cloneable. If `object` is used as `message` in
605
+ * a `port.postMessage()` call, an error is thrown. This is a no-op if `object` is a
606
+ * primitive value.
607
+ *
608
+ * This has no effect on `ArrayBuffer`, or any `Buffer` like objects.
609
+ *
610
+ * This operation cannot be undone.
611
+ *
612
+ * ```js
613
+ * const { markAsUncloneable } = require('node:worker_threads');
614
+ *
615
+ * const anyObject = { foo: 'bar' };
616
+ * markAsUncloneable(anyObject);
617
+ * const { port1 } = new MessageChannel();
618
+ * try {
619
+ * // This will throw an error, because anyObject is not cloneable.
620
+ * port1.postMessage(anyObject)
621
+ * } catch (error) {
622
+ * // error.name === 'DataCloneError'
623
+ * }
624
+ * ```
625
+ *
626
+ * There is no equivalent to this API in browsers.
627
+ * @since v22.10.0
628
+ */
629
+ function markAsUncloneable(object: object): void;
597
630
  /**
598
631
  * Transfer a `MessagePort` to a different `vm` Context. The original `port` object is rendered unusable, and the returned `MessagePort` instance
599
632
  * takes its place.
@@ -2,8 +2,6 @@ import { MessageEvent, ErrorEvent } from './websocket'
2
2
  import Dispatcher from './dispatcher'
3
3
 
4
4
  import {
5
- EventTarget,
6
- Event,
7
5
  EventListenerOptions,
8
6
  AddEventListenerOptions,
9
7
  EventListenerOrEventListenerObject
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
 
3
3
  import { Blob } from 'buffer'
4
- import { DOMException, Event, EventInit, EventTarget } from './patch'
4
+ import { DOMException, EventInit } from './patch'
5
5
 
6
6
  export declare class FileReader {
7
7
  __proto__: EventTarget & FileReader
@@ -7,9 +7,11 @@ declare namespace Interceptors {
7
7
  export type DumpInterceptorOpts = { maxSize?: number }
8
8
  export type RetryInterceptorOpts = RetryHandler.RetryOptions
9
9
  export type RedirectInterceptorOpts = { maxRedirections?: number }
10
-
10
+ export type ResponseErrorInterceptorOpts = { throwOnError: boolean }
11
+
11
12
  export function createRedirectInterceptor(opts: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
12
13
  export function dump(opts?: DumpInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
13
14
  export function retry(opts?: RetryInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
14
15
  export function redirect(opts?: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
16
+ export function responseError(opts?: ResponseErrorInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
15
17
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undici-types",
3
- "version": "6.19.8",
3
+ "version": "6.20.0",
4
4
  "description": "A stand-alone types package for Undici",
5
5
  "homepage": "https://undici.nodejs.org",
6
6
  "bugs": {
@@ -6,44 +6,6 @@ export type DOMException = typeof globalThis extends { DOMException: infer T }
6
6
  ? T
7
7
  : any
8
8
 
9
- export type EventTarget = typeof globalThis extends { EventTarget: infer T }
10
- ? T
11
- : {
12
- addEventListener(
13
- type: string,
14
- listener: any,
15
- options?: any,
16
- ): void
17
- dispatchEvent(event: Event): boolean
18
- removeEventListener(
19
- type: string,
20
- listener: any,
21
- options?: any | boolean,
22
- ): void
23
- }
24
-
25
- export type Event = typeof globalThis extends { Event: infer T }
26
- ? T
27
- : {
28
- readonly bubbles: boolean
29
- cancelBubble: () => void
30
- readonly cancelable: boolean
31
- readonly composed: boolean
32
- composedPath(): [EventTarget?]
33
- readonly currentTarget: EventTarget | null
34
- readonly defaultPrevented: boolean
35
- readonly eventPhase: 0 | 2
36
- readonly isTrusted: boolean
37
- preventDefault(): void
38
- returnValue: boolean
39
- readonly srcElement: EventTarget | null
40
- stopImmediatePropagation(): void
41
- stopPropagation(): void
42
- readonly target: EventTarget | null
43
- readonly timeStamp: number
44
- readonly type: string
45
- }
46
-
47
9
  export interface EventInit {
48
10
  bubbles?: boolean
49
11
  cancelable?: boolean
@@ -3,8 +3,6 @@
3
3
  import type { Blob } from 'buffer'
4
4
  import type { MessagePort } from 'worker_threads'
5
5
  import {
6
- EventTarget,
7
- Event,
8
6
  EventInit,
9
7
  EventListenerOptions,
10
8
  AddEventListenerOptions,
@@ -1,5 +1,54 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.7.9](https://github.com/axios/axios/compare/v1.7.8...v1.7.9) (2024-12-04)
4
+
5
+
6
+ ### Reverts
7
+
8
+ * Revert "fix(types): export CJS types from ESM (#6218)" (#6729) ([c44d2f2](https://github.com/axios/axios/commit/c44d2f2316ad289b38997657248ba10de11deb6c)), closes [#6218](https://github.com/axios/axios/issues/6218) [#6729](https://github.com/axios/axios/issues/6729)
9
+
10
+ ### Contributors to this release
11
+
12
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+596/-108 (#6729 )")
13
+
14
+ ## [1.7.8](https://github.com/axios/axios/compare/v1.7.7...v1.7.8) (2024-11-25)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * allow passing a callback as paramsSerializer to buildURL ([#6680](https://github.com/axios/axios/issues/6680)) ([eac4619](https://github.com/axios/axios/commit/eac4619fe2e0926e876cd260ee21e3690381dbb5))
20
+ * **core:** fixed config merging bug ([#6668](https://github.com/axios/axios/issues/6668)) ([5d99fe4](https://github.com/axios/axios/commit/5d99fe4491202a6268c71e5dcc09192359d73cea))
21
+ * fixed width form to not shrink after 'Send Request' button is clicked ([#6644](https://github.com/axios/axios/issues/6644)) ([7ccd5fd](https://github.com/axios/axios/commit/7ccd5fd42402102d38712c32707bf055be72ab54))
22
+ * **http:** add support for File objects as payload in http adapter ([#6588](https://github.com/axios/axios/issues/6588)) ([#6605](https://github.com/axios/axios/issues/6605)) ([6841d8d](https://github.com/axios/axios/commit/6841d8d18ddc71cc1bd202ffcfddb3f95622eef3))
23
+ * **http:** fixed proxy-from-env module import ([#5222](https://github.com/axios/axios/issues/5222)) ([12b3295](https://github.com/axios/axios/commit/12b32957f1258aee94ef859809ed39f8f88f9dfa))
24
+ * **http:** use `globalThis.TextEncoder` when available ([#6634](https://github.com/axios/axios/issues/6634)) ([df956d1](https://github.com/axios/axios/commit/df956d18febc9100a563298dfdf0f102c3d15410))
25
+ * ios11 breaks when build ([#6608](https://github.com/axios/axios/issues/6608)) ([7638952](https://github.com/axios/axios/commit/763895270f7b50c7c780c3c9807ae8635de952cd))
26
+ * **types:** add missing types for mergeConfig function ([#6590](https://github.com/axios/axios/issues/6590)) ([00de614](https://github.com/axios/axios/commit/00de614cd07b7149af335e202aef0e076c254f49))
27
+ * **types:** export CJS types from ESM ([#6218](https://github.com/axios/axios/issues/6218)) ([c71811b](https://github.com/axios/axios/commit/c71811b00f2fcff558e4382ba913bdac4ad7200e))
28
+ * updated stream aborted error message to be more clear ([#6615](https://github.com/axios/axios/issues/6615)) ([cc3217a](https://github.com/axios/axios/commit/cc3217a612024d83a663722a56d7a98d8759c6d5))
29
+ * use URL API instead of DOM to fix a potential vulnerability warning; ([#6714](https://github.com/axios/axios/issues/6714)) ([0a8d6e1](https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db))
30
+
31
+ ### Contributors to this release
32
+
33
+ - <img src="https://avatars.githubusercontent.com/u/779047?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Remco Haszing](https://github.com/remcohaszing "+108/-596 (#6218 )")
34
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+281/-19 (#6640 #6619 )")
35
+ - <img src="https://avatars.githubusercontent.com/u/140250471?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Aayush Yadav](https://github.com/aayushyadav020 "+124/-111 (#6617 )")
36
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+12/-65 (#6714 )")
37
+ - <img src="https://avatars.githubusercontent.com/u/479715?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Ell Bradshaw](https://github.com/cincodenada "+29/-0 (#6489 )")
38
+ - <img src="https://avatars.githubusercontent.com/u/60218780?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Amit Saini](https://github.com/amitsainii "+13/-3 (#5237 )")
39
+ - <img src="https://avatars.githubusercontent.com/u/19817867?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Tommaso Paulon](https://github.com/guuido "+14/-1 (#6680 )")
40
+ - <img src="https://avatars.githubusercontent.com/u/63336443?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Akki](https://github.com/Aakash-Rana "+5/-5 (#6668 )")
41
+ - <img src="https://avatars.githubusercontent.com/u/20028934?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Sampo Silvennoinen](https://github.com/stscoundrel "+3/-3 (#6633 )")
42
+ - <img src="https://avatars.githubusercontent.com/u/1174718?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Kasper Isager Dalsgarð](https://github.com/kasperisager "+2/-2 (#6634 )")
43
+ - <img src="https://avatars.githubusercontent.com/u/3709715?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Christian Clauss](https://github.com/cclauss "+4/-0 (#6683 )")
44
+ - <img src="https://avatars.githubusercontent.com/u/1639119?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Pavan Welihinda](https://github.com/pavan168 "+2/-2 (#5222 )")
45
+ - <img src="https://avatars.githubusercontent.com/u/5742900?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Taylor Flatt](https://github.com/taylorflatt "+2/-2 (#6615 )")
46
+ - <img src="https://avatars.githubusercontent.com/u/79452224?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Kenzo Wada](https://github.com/Kenzo-Wada "+2/-2 (#6608 )")
47
+ - <img src="https://avatars.githubusercontent.com/u/50064240?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Ngole Lawson](https://github.com/echelonnought "+3/-0 (#6644 )")
48
+ - <img src="https://avatars.githubusercontent.com/u/1262198?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Haven](https://github.com/Baoyx007 "+3/-0 (#6590 )")
49
+ - <img src="https://avatars.githubusercontent.com/u/149003676?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Shrivali Dutt](https://github.com/shrivalidutt "+1/-1 (#6637 )")
50
+ - <img src="https://avatars.githubusercontent.com/u/1304290?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Henco Appel](https://github.com/hencoappel "+1/-1 (#6605 )")
51
+
3
52
  ## [1.7.7](https://github.com/axios/axios/compare/v1.7.6...v1.7.7) (2024-08-31)
4
53
 
5
54
 
@@ -1,9 +1,13 @@
1
1
 
2
- <h3 align="center"> 🥇 Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/buy-instagram-followers-buzzoid?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buy-instagram-followers-buzzoid.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world&#x27;s #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> </p>
3
- </td><td align="center" width="33.333333333333336%"> <a href="https://stytch.com/?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;website-link&amp;utm_campaign&#x3D;axios-http" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="38px" media="(prefers-color-scheme: dark)" srcset="/assets/sponsors/stytch_white.png"> <img width="200px" height="38px" src="https://axios-http.com/assets/sponsors/stytch.png" alt="Stytch"/> </picture> </a> <p align="center" title="API-first authentication, authorization, and fraud prevention">API-first authentication, authorization, and fraud prevention</p> <p align="center"> <a href="https://stytch.com/?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;website-link&amp;utm_campaign&#x3D;axios-http"><b>Website</b></a> | <a href="https://stytch.com/docs?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;docs-link&amp;utm_campaign&#x3D;axios-http"><b>Documentation</b></a> | <a href="https://github.com/stytchauth/stytch-node?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;node-sdk&amp;utm_campaign&#x3D;axios-http"><b>Node.js</b></a> </p>
4
- </td><td align="center" width="33.333333333333336%"> <a href="https://www.principal.com/about-us?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block"> <img width="133px" height="43px" src="https://axios-http.com/assets/sponsors/principal.svg" alt="Principal Financial Group"/> </a> <p align="center" title="We’re bound by one common purpose: to give you the financial tools, resources and information you need to live your best life.">We’re bound by one common purpose: to give you the financial tools, resources and information you ne...</p> <p align="center"> </p>
5
- </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" title="Hi, we&#x27;re Descope! We are building something in the authentication space for app developers and can’t wait to place it in your hands.">Hi, we&#x27;re Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship"><b>Documentation</b></a> | <a href="https://www.descope.com/community?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship"><b>Community</b></a> </p>
6
- </td><td align="center" width="33.333333333333336%"> <a href="https://route4me.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="51px" media="(prefers-color-scheme: dark)" srcset="/assets/sponsors/route4me_white.png"> <img width="200px" height="51px" src="https://axios-http.com/assets/sponsors/route4me.png" alt="Route4Me"/> </picture> </a> <p align="center" title="Best Route Planning And Route Optimization Software">Best Route Planning And Route Optimization Software</p> <p align="center"> <a href="https://route4me.com/platform/route-optimization-software"><b>Explore</b></a> | <a href="https://route4me.com/platform/marketplace/pricing"><b>Free Trial</b></a> | <a href="https://route4me.com/contact"><b>Contact</b></a> </p>
2
+ <h3 align="center"> 🥇 Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://stytch.com/?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;website-link&amp;utm_campaign&#x3D;axios-http" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="38px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/stytch_white.png"> <img width="200px" height="38px" src="https://axios-http.com/assets/sponsors/stytch.png" alt="Stytch"/> </picture> </a> <p align="center" title="API-first authentication, authorization, and fraud prevention">API-first authentication, authorization, and fraud prevention</p> <p align="center"> <a href="https://stytch.com/?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;website-link&amp;utm_campaign&#x3D;axios-http"><b>Website</b></a> | <a href="https://stytch.com/docs?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;docs-link&amp;utm_campaign&#x3D;axios-http"><b>Documentation</b></a> | <a href="https://github.com/stytchauth/stytch-node?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;node-sdk&amp;utm_campaign&#x3D;axios-http"><b>Node.js</b></a> </p>
3
+ </td><td align="center" width="33.333333333333336%"> <a href="https://www.principal.com/about-us?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block"> <img width="133px" height="43px" src="https://axios-http.com/assets/sponsors/principal.svg" alt="Principal Financial Group"/> </a> <p align="center" title="We’re bound by one common purpose: to give you the financial tools, resources and information you need to live your best life.">We’re bound by one common purpose: to give you the financial tools, resources and information you ne...</p> <p align="center"> <a href="https://www.principal.com/about-us?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship"><b>www.principal.com</b></a> </p>
4
+ </td><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" title="Hi, we&#x27;re Descope! We are building something in the authentication space for app developers and can’t wait to place it in your hands.">Hi, we&#x27;re Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship"><b>Documentation</b></a> | <a href="https://www.descope.com/community?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship"><b>Community</b></a> </p>
5
+ </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buzzoid-buy-instagram-followers.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world&#x27;s #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship"><b>buzzoid.com</b></a> </p>
6
+ </td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.com/buy-tiktok-likes?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/famety-buy-instagram-followers.png" alt="Famety - Buy Instagram Followers"/> </a> <p align="center" title="At Famety, you can grow your social media following quickly, safely, and easily with just a few clicks. Rated the world’s #1 social media service since 2013.">At Famety, you can grow your social media following quickly, safely, and easily with just a few clic...</p> <p align="center"> <a href="https://www.famety.com/buy-tiktok-likes?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship"><b>www.famety.com</b></a> </p>
7
+ </td><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/instagram-likes.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship"><b>poprey.com</b></a> </p>
8
+ </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
9
+ </td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
10
+ </td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
7
11
  </td></tr></table>
8
12
 
9
13
  <!--<div>marker</div>-->
@@ -97,8 +101,8 @@
97
101
 
98
102
  ## Browser Support
99
103
 
100
- ![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png) | ![Safari](https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari_48x48.png) | ![Opera](https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera_48x48.png) | ![Edge](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge_48x48.png) | ![IE](https://raw.githubusercontent.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |
101
- --- | --- | --- | --- | --- | --- |
104
+ ![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png) | ![Safari](https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari_48x48.png) | ![Opera](https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera_48x48.png) | ![Edge](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge_48x48.png) |
105
+ --- | --- | --- | --- | --- |
102
106
  Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 11 ✔ |
103
107
 
104
108
  [![Browser Matrix](https://saucelabs.com/open_sauce/build_matrix/axios.svg)](https://saucelabs.com/u/axios)
@@ -153,6 +157,12 @@ const axios = require('axios');
153
157
  console.log(axios.isCancel('something'));
154
158
  ```
155
159
 
160
+ For some bundlers and some ES6 linter's you may need to do the following:
161
+
162
+ ```js
163
+ import { default as axios } from 'axios';
164
+ ```
165
+
156
166
  For cases where something went wrong when trying to import a module into a custom or legacy environment,
157
167
  you can try importing the module package directly:
158
168
 
@@ -759,7 +769,7 @@ axios.interceptors.request.use(function (config) {
759
769
  ```
760
770
 
761
771
  If you want to execute a particular interceptor based on a runtime check,
762
- you can add a `runWhen` function to the options object. The interceptor will not be executed **if and only if** the return
772
+ you can add a `runWhen` function to the options object. The request interceptor will not be executed **if and only if** the return
763
773
  of `runWhen` is `false`. The function will be called with the config
764
774
  object (don't forget that you can bind your own arguments to it as well.) This can be handy when you have an
765
775
  asynchronous request interceptor that only needs to run at certain times.
@@ -774,6 +784,8 @@ axios.interceptors.request.use(function (config) {
774
784
  }, null, { runWhen: onGetCall });
775
785
  ```
776
786
 
787
+ > **Note:** options parameter(having `synchronous` and `runWhen` properties) is only supported for request interceptors at the moment.
788
+
777
789
  ### Multiple Interceptors
778
790
 
779
791
  Given you add multiple response interceptors