@mavogel/awscdk-rootmail 0.0.214 → 0.0.216

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 (85) hide show
  1. package/.jsii +30 -12
  2. package/API.md +14 -0
  3. package/CONTRIBUTING.md +3 -3
  4. package/README.md +3 -3
  5. package/integ-tests/README.md +11 -4
  6. package/integ-tests/common.ts +2 -0
  7. package/integ-tests/create-e2e-cfn-stack.bash +35 -0
  8. package/integ-tests/delete-e2e-cfn-stack.bash +26 -0
  9. package/integ-tests/integ.rootmail-custom-santa.ts +1 -2
  10. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/RootmailIntegTestStack.assets.json +8 -8
  11. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/RootmailIntegTestStack.template.json +4 -4
  12. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.assets.json +2 -2
  13. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.template.json +2 -2
  14. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/{asset.0649b5bfaa322d6bd173d2daef3177389cf0778b556b300ac6bf451704cc3a49 → asset.97724f55c990db7c62d85b80d4afb032e60011490da173e3551e6a131013b79d}/index.js +17458 -464
  15. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/{asset.f9b17c134d24cf60e1d26c033b5f4f247b759149619ac0aac341b950a10ccf14 → asset.f75274dd7677b6ef41f29d2dfc2c885b4f4e069d3fb8e67636bd89efd3f0fcad}/index.js +2 -0
  16. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/integ.json +1 -1
  17. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/manifest.json +2 -2
  18. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/tree.json +3 -3
  19. package/integ-tests/integ.rootmail.ts +1 -2
  20. package/integ-tests/integ.rootmail.ts.snapshot/RootmailIntegTestStack.assets.json +8 -8
  21. package/integ-tests/integ.rootmail.ts.snapshot/RootmailIntegTestStack.template.json +4 -4
  22. package/integ-tests/integ.rootmail.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.assets.json +2 -2
  23. package/integ-tests/integ.rootmail.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.template.json +3 -3
  24. package/integ-tests/integ.rootmail.ts.snapshot/{asset.de67316e819b929cc1aa19838de373be5c9ede7a11e8132fabd28dbc730a92fd → asset.3fe096136c1d1292627baeb9b860b3206032deebb5a03ea407d7d04833a222d7}/index.js +17489 -474
  25. package/integ-tests/integ.rootmail.ts.snapshot/{asset.f9b17c134d24cf60e1d26c033b5f4f247b759149619ac0aac341b950a10ccf14 → asset.f75274dd7677b6ef41f29d2dfc2c885b4f4e069d3fb8e67636bd89efd3f0fcad}/index.js +2 -0
  26. package/integ-tests/integ.rootmail.ts.snapshot/integ.json +1 -1
  27. package/integ-tests/integ.rootmail.ts.snapshot/manifest.json +2 -2
  28. package/integ-tests/integ.rootmail.ts.snapshot/tree.json +3 -3
  29. package/lib/rootmail.d.ts +7 -1
  30. package/lib/rootmail.js +4 -2
  31. package/lib/ses-receive.js +1 -1
  32. package/lib/ses-receive.ops-santa-handler.js +32 -11
  33. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +2 -0
  34. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +2 -0
  35. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -0
  36. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +13 -13
  37. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
  38. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
  39. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +19 -19
  40. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +32 -32
  41. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -2
  42. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +31 -30
  43. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +12 -0
  44. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +10 -0
  45. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +1 -0
  46. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +1 -0
  47. package/node_modules/@aws-sdk/client-s3/package.json +1 -1
  48. package/node_modules/axios/CHANGELOG.md +38 -0
  49. package/node_modules/axios/README.md +20 -8
  50. package/node_modules/axios/dist/axios.js +34 -63
  51. package/node_modules/axios/dist/axios.js.map +1 -1
  52. package/node_modules/axios/dist/axios.min.js +1 -1
  53. package/node_modules/axios/dist/axios.min.js.map +1 -1
  54. package/node_modules/axios/dist/browser/axios.cjs +40 -71
  55. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  56. package/node_modules/axios/dist/esm/axios.js +40 -71
  57. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  58. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  59. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  60. package/node_modules/axios/dist/node/axios.cjs +45 -75
  61. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  62. package/node_modules/axios/index.d.cts +38 -29
  63. package/node_modules/axios/index.d.ts +75 -561
  64. package/node_modules/axios/lib/adapters/http.js +4 -4
  65. package/node_modules/axios/lib/core/Axios.js +7 -2
  66. package/node_modules/axios/lib/core/mergeConfig.js +5 -5
  67. package/node_modules/axios/lib/env/data.js +1 -1
  68. package/node_modules/axios/lib/helpers/buildURL.js +7 -1
  69. package/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
  70. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +12 -65
  71. package/node_modules/axios/lib/helpers/validator.js +8 -0
  72. package/node_modules/axios/package.json +3 -3
  73. package/node_modules/cdk-nag/.jsii +2 -2
  74. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  75. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  76. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  77. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  78. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  79. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  80. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  81. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  82. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  83. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  84. package/node_modules/cdk-nag/package.json +1 -1
  85. package/package.json +6 -6
@@ -227,104 +227,104 @@ declare const ListMultipartUploadsCommand_base: {
227
227
  * <p>Base exception class for all service exceptions from S3 service.</p>
228
228
  *
229
229
  * @public
230
- * @example List next set of multipart uploads when previous result is truncated
230
+ * @example To list in-progress multipart uploads on a bucket
231
231
  * ```javascript
232
- * // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.
232
+ * // The following example lists in-progress multipart uploads on a specific bucket.
233
233
  * const input = {
234
- * "Bucket": "examplebucket",
235
- * "KeyMarker": "nextkeyfrompreviousresponse",
236
- * "MaxUploads": "2",
237
- * "UploadIdMarker": "valuefrompreviousresponse"
234
+ * "Bucket": "examplebucket"
238
235
  * };
239
236
  * const command = new ListMultipartUploadsCommand(input);
240
237
  * const response = await client.send(command);
241
238
  * /* response ==
242
239
  * {
243
- * "Bucket": "acl1",
244
- * "IsTruncated": true,
245
- * "KeyMarker": "",
246
- * "MaxUploads": "2",
247
- * "NextKeyMarker": "someobjectkey",
248
- * "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
249
- * "UploadIdMarker": "",
250
240
  * "Uploads": [
251
241
  * {
252
242
  * "Initiated": "2014-05-01T05:40:58.000Z",
253
243
  * "Initiator": {
254
- * "DisplayName": "ownder-display-name",
244
+ * "DisplayName": "display-name",
255
245
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
256
246
  * },
257
247
  * "Key": "JavaFile",
258
248
  * "Owner": {
259
- * "DisplayName": "mohanataws",
260
- * "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
249
+ * "DisplayName": "display-name",
250
+ * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
261
251
  * },
262
252
  * "StorageClass": "STANDARD",
263
- * "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
253
+ * "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
264
254
  * },
265
255
  * {
266
256
  * "Initiated": "2014-05-01T05:41:27.000Z",
267
257
  * "Initiator": {
268
- * "DisplayName": "ownder-display-name",
258
+ * "DisplayName": "display-name",
269
259
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
270
260
  * },
271
261
  * "Key": "JavaFile",
272
262
  * "Owner": {
273
- * "DisplayName": "ownder-display-name",
263
+ * "DisplayName": "display-name",
274
264
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
275
265
  * },
276
266
  * "StorageClass": "STANDARD",
277
- * "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
267
+ * "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
278
268
  * }
279
269
  * ]
280
270
  * }
281
271
  * *\/
282
- * // example id: list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748
272
+ * // example id: to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260
283
273
  * ```
284
274
  *
285
- * @example To list in-progress multipart uploads on a bucket
275
+ * @example List next set of multipart uploads when previous result is truncated
286
276
  * ```javascript
287
- * // The following example lists in-progress multipart uploads on a specific bucket.
277
+ * // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.
288
278
  * const input = {
289
- * "Bucket": "examplebucket"
279
+ * "Bucket": "examplebucket",
280
+ * "KeyMarker": "nextkeyfrompreviousresponse",
281
+ * "MaxUploads": "2",
282
+ * "UploadIdMarker": "valuefrompreviousresponse"
290
283
  * };
291
284
  * const command = new ListMultipartUploadsCommand(input);
292
285
  * const response = await client.send(command);
293
286
  * /* response ==
294
287
  * {
288
+ * "Bucket": "acl1",
289
+ * "IsTruncated": true,
290
+ * "KeyMarker": "",
291
+ * "MaxUploads": "2",
292
+ * "NextKeyMarker": "someobjectkey",
293
+ * "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
294
+ * "UploadIdMarker": "",
295
295
  * "Uploads": [
296
296
  * {
297
297
  * "Initiated": "2014-05-01T05:40:58.000Z",
298
298
  * "Initiator": {
299
- * "DisplayName": "display-name",
299
+ * "DisplayName": "ownder-display-name",
300
300
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
301
301
  * },
302
302
  * "Key": "JavaFile",
303
303
  * "Owner": {
304
- * "DisplayName": "display-name",
305
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
304
+ * "DisplayName": "mohanataws",
305
+ * "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
306
306
  * },
307
307
  * "StorageClass": "STANDARD",
308
- * "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
308
+ * "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
309
309
  * },
310
310
  * {
311
311
  * "Initiated": "2014-05-01T05:41:27.000Z",
312
312
  * "Initiator": {
313
- * "DisplayName": "display-name",
313
+ * "DisplayName": "ownder-display-name",
314
314
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
315
315
  * },
316
316
  * "Key": "JavaFile",
317
317
  * "Owner": {
318
- * "DisplayName": "display-name",
318
+ * "DisplayName": "ownder-display-name",
319
319
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
320
320
  * },
321
321
  * "StorageClass": "STANDARD",
322
- * "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
322
+ * "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
323
323
  * }
324
324
  * ]
325
325
  * }
326
326
  * *\/
327
- * // example id: to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260
327
+ * // example id: list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748
328
328
  * ```
329
329
  *
330
330
  */
@@ -32,9 +32,11 @@ declare const PutBucketVersioningCommand_base: {
32
32
  * </note>
33
33
  * <note>
34
34
  * <p>When you enable versioning on a bucket for the first time, it might take a short
35
- * amount of time for the change to be fully propagated. We recommend that you wait for 15
35
+ * amount of time for the change to be fully propagated. While this change is propagating,
36
+ * you may encounter intermittent <code>HTTP 404 NoSuchKey</code> errors for requests to
37
+ * objects created or updated after enabling versioning. We recommend that you wait for 15
36
38
  * minutes after enabling versioning before issuing write operations (<code>PUT</code> or
37
- * <code>DELETE</code>) on objects in the bucket. </p>
39
+ * <code>DELETE</code>) on objects in the bucket. </p>
38
40
  * </note>
39
41
  * <p>Sets the versioning state of an existing bucket.</p>
40
42
  * <p>You can set the versioning state with one of the following values:</p>
@@ -195,6 +195,7 @@ declare const PutObjectCommand_base: {
195
195
  * ChecksumSHA1: "STRING_VALUE",
196
196
  * ChecksumSHA256: "STRING_VALUE",
197
197
  * Expires: new Date("TIMESTAMP"),
198
+ * IfMatch: "STRING_VALUE",
198
199
  * IfNoneMatch: "STRING_VALUE",
199
200
  * GrantFullControl: "STRING_VALUE",
200
201
  * GrantRead: "STRING_VALUE",
@@ -326,26 +327,23 @@ declare const PutObjectCommand_base: {
326
327
  * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
327
328
  * ```
328
329
  *
329
- * @example To upload an object and specify server-side encryption and object tags
330
+ * @example To upload an object
330
331
  * ```javascript
331
- * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
332
+ * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
332
333
  * const input = {
333
- * "Body": "filetoupload",
334
+ * "Body": "HappyFace.jpg",
334
335
  * "Bucket": "examplebucket",
335
- * "Key": "exampleobject",
336
- * "ServerSideEncryption": "AES256",
337
- * "Tagging": "key1=value1&key2=value2"
336
+ * "Key": "HappyFace.jpg"
338
337
  * };
339
338
  * const command = new PutObjectCommand(input);
340
339
  * const response = await client.send(command);
341
340
  * /* response ==
342
341
  * {
343
342
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
344
- * "ServerSideEncryption": "AES256",
345
- * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
343
+ * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
346
344
  * }
347
345
  * *\/
348
- * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
346
+ * // example id: to-upload-an-object-1481760101010
349
347
  * ```
350
348
  *
351
349
  * @example To upload object and specify user-defined metadata
@@ -371,64 +369,67 @@ declare const PutObjectCommand_base: {
371
369
  * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
372
370
  * ```
373
371
  *
374
- * @example To upload an object (specify optional headers)
372
+ * @example To create an object.
375
373
  * ```javascript
376
- * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
374
+ * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
377
375
  * const input = {
378
- * "Body": "HappyFace.jpg",
376
+ * "Body": "filetoupload",
379
377
  * "Bucket": "examplebucket",
380
- * "Key": "HappyFace.jpg",
381
- * "ServerSideEncryption": "AES256",
382
- * "StorageClass": "STANDARD_IA"
378
+ * "Key": "objectkey"
383
379
  * };
384
380
  * const command = new PutObjectCommand(input);
385
381
  * const response = await client.send(command);
386
382
  * /* response ==
387
383
  * {
388
384
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
389
- * "ServerSideEncryption": "AES256",
390
- * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
385
+ * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
391
386
  * }
392
387
  * *\/
393
- * // example id: to-upload-an-object-(specify-optional-headers)
388
+ * // example id: to-create-an-object-1483147613675
394
389
  * ```
395
390
  *
396
- * @example To create an object.
391
+ * @example To upload an object (specify optional headers)
397
392
  * ```javascript
398
- * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
393
+ * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
399
394
  * const input = {
400
- * "Body": "filetoupload",
395
+ * "Body": "HappyFace.jpg",
401
396
  * "Bucket": "examplebucket",
402
- * "Key": "objectkey"
397
+ * "Key": "HappyFace.jpg",
398
+ * "ServerSideEncryption": "AES256",
399
+ * "StorageClass": "STANDARD_IA"
403
400
  * };
404
401
  * const command = new PutObjectCommand(input);
405
402
  * const response = await client.send(command);
406
403
  * /* response ==
407
404
  * {
408
405
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
409
- * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
406
+ * "ServerSideEncryption": "AES256",
407
+ * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
410
408
  * }
411
409
  * *\/
412
- * // example id: to-create-an-object-1483147613675
410
+ * // example id: to-upload-an-object-(specify-optional-headers)
413
411
  * ```
414
412
  *
415
- * @example To upload an object
413
+ * @example To upload an object and specify server-side encryption and object tags
416
414
  * ```javascript
417
- * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
415
+ * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
418
416
  * const input = {
419
- * "Body": "HappyFace.jpg",
417
+ * "Body": "filetoupload",
420
418
  * "Bucket": "examplebucket",
421
- * "Key": "HappyFace.jpg"
419
+ * "Key": "exampleobject",
420
+ * "ServerSideEncryption": "AES256",
421
+ * "Tagging": "key1=value1&key2=value2"
422
422
  * };
423
423
  * const command = new PutObjectCommand(input);
424
424
  * const response = await client.send(command);
425
425
  * /* response ==
426
426
  * {
427
427
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
428
- * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
428
+ * "ServerSideEncryption": "AES256",
429
+ * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
429
430
  * }
430
431
  * *\/
431
- * // example id: to-upload-an-object-1481760101010
432
+ * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
432
433
  * ```
433
434
  *
434
435
  */
@@ -646,6 +646,18 @@ export interface CompleteMultipartUploadRequest {
646
646
  * @public
647
647
  */
648
648
  ExpectedBucketOwner?: string | undefined;
649
+ /**
650
+ * <p>Uploads the object only if the ETag (entity tag) value provided during the WRITE
651
+ * operation matches the ETag of the object in S3. If the ETag values do not match, the
652
+ * operation returns a <code>412 Precondition Failed</code> error.</p>
653
+ * <p>If a conflicting operation occurs during the upload S3 returns a <code>409
654
+ * ConditionalRequestConflict</code> response. On a 409 failure you should fetch the object's ETag, re-initiate the
655
+ * multipart upload with <code>CreateMultipartUpload</code>, and re-upload each part.</p>
656
+ * <p>Expects the ETag value as a string.</p>
657
+ * <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>, or <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html">Conditional requests</a> in the <i>Amazon S3 User Guide</i>.</p>
658
+ * @public
659
+ */
660
+ IfMatch?: string | undefined;
649
661
  /**
650
662
  * <p>Uploads the object only if the object key name does not already exist in the bucket
651
663
  * specified. Otherwise, Amazon S3 returns a <code>412 Precondition Failed</code> error.</p>
@@ -850,6 +850,16 @@ export interface PutObjectRequest {
850
850
  * @public
851
851
  */
852
852
  Expires?: Date | undefined;
853
+ /**
854
+ * <p>Uploads the object only if the ETag (entity tag) value provided during the WRITE
855
+ * operation matches the ETag of the object in S3. If the ETag values do not match, the
856
+ * operation returns a <code>412 Precondition Failed</code> error.</p>
857
+ * <p>If a conflicting operation occurs during the upload S3 returns a <code>409 ConditionalRequestConflict</code> response. On a 409 failure you should fetch the object's ETag and retry the upload.</p>
858
+ * <p>Expects the ETag value as a string.</p>
859
+ * <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>, or <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html">Conditional requests</a> in the <i>Amazon S3 User Guide</i>.</p>
860
+ * @public
861
+ */
862
+ IfMatch?: string | undefined;
853
863
  /**
854
864
  * <p>Uploads the object only if the object key name does not already exist in the bucket
855
865
  * specified. Otherwise, Amazon S3 returns a <code>412 Precondition Failed</code> error.</p>
@@ -123,6 +123,7 @@ export interface CompleteMultipartUploadRequest {
123
123
  ChecksumSHA256?: string | undefined;
124
124
  RequestPayer?: RequestPayer | undefined;
125
125
  ExpectedBucketOwner?: string | undefined;
126
+ IfMatch?: string | undefined;
126
127
  IfNoneMatch?: string | undefined;
127
128
  SSECustomerAlgorithm?: string | undefined;
128
129
  SSECustomerKey?: string | undefined;
@@ -157,6 +157,7 @@ export interface PutObjectRequest {
157
157
  ChecksumSHA1?: string | undefined;
158
158
  ChecksumSHA256?: string | undefined;
159
159
  Expires?: Date | undefined;
160
+ IfMatch?: string | undefined;
160
161
  IfNoneMatch?: string | undefined;
161
162
  GrantFullControl?: string | undefined;
162
163
  GrantRead?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.699.0",
4
+ "version": "3.700.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -1,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.7.8](https://github.com/axios/axios/compare/v1.7.7...v1.7.8) (2024-11-25)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * allow passing a callback as paramsSerializer to buildURL ([#6680](https://github.com/axios/axios/issues/6680)) ([eac4619](https://github.com/axios/axios/commit/eac4619fe2e0926e876cd260ee21e3690381dbb5))
9
+ * **core:** fixed config merging bug ([#6668](https://github.com/axios/axios/issues/6668)) ([5d99fe4](https://github.com/axios/axios/commit/5d99fe4491202a6268c71e5dcc09192359d73cea))
10
+ * 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))
11
+ * **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))
12
+ * **http:** fixed proxy-from-env module import ([#5222](https://github.com/axios/axios/issues/5222)) ([12b3295](https://github.com/axios/axios/commit/12b32957f1258aee94ef859809ed39f8f88f9dfa))
13
+ * **http:** use `globalThis.TextEncoder` when available ([#6634](https://github.com/axios/axios/issues/6634)) ([df956d1](https://github.com/axios/axios/commit/df956d18febc9100a563298dfdf0f102c3d15410))
14
+ * ios11 breaks when build ([#6608](https://github.com/axios/axios/issues/6608)) ([7638952](https://github.com/axios/axios/commit/763895270f7b50c7c780c3c9807ae8635de952cd))
15
+ * **types:** add missing types for mergeConfig function ([#6590](https://github.com/axios/axios/issues/6590)) ([00de614](https://github.com/axios/axios/commit/00de614cd07b7149af335e202aef0e076c254f49))
16
+ * **types:** export CJS types from ESM ([#6218](https://github.com/axios/axios/issues/6218)) ([c71811b](https://github.com/axios/axios/commit/c71811b00f2fcff558e4382ba913bdac4ad7200e))
17
+ * 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))
18
+ * 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))
19
+
20
+ ### Contributors to this release
21
+
22
+ - <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 )")
23
+ - <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 )")
24
+ - <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 )")
25
+ - <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 )")
26
+ - <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 )")
27
+ - <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 )")
28
+ - <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 )")
29
+ - <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 )")
30
+ - <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 )")
31
+ - <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 )")
32
+ - <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 )")
33
+ - <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 )")
34
+ - <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 )")
35
+ - <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 )")
36
+ - <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 )")
37
+ - <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 )")
38
+ - <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 )")
39
+ - <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 )")
40
+
3
41
  ## [1.7.7](https://github.com/axios/axios/compare/v1.7.6...v1.7.7) (2024-08-31)
4
42
 
5
43
 
@@ -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