@jjrawlins/cdk-diff-pr-github-action 0.0.7 → 0.0.8

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 (179) hide show
  1. package/.jsii +4 -4
  2. package/lib/CdkDiffIamTemplate.js +1 -1
  3. package/lib/CdkDiffStackWorkflow.js +1 -1
  4. package/lib/CdkDriftDetectionWorkflow.js +1 -1
  5. package/lib/CdkDriftIamTemplate.js +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +2902 -9273
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +7 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateOrganizationsAccessCommand.js +3 -9
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateTypeCommand.js +3 -9
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +3 -9
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CancelUpdateStackCommand.js +3 -9
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ContinueUpdateRollbackCommand.js +3 -9
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateChangeSetCommand.js +3 -9
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateGeneratedTemplateCommand.js +3 -9
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackCommand.js +3 -9
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackInstancesCommand.js +3 -9
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackRefactorCommand.js +3 -9
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackSetCommand.js +3 -9
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateOrganizationsAccessCommand.js +3 -9
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateTypeCommand.js +3 -9
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteChangeSetCommand.js +3 -9
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteGeneratedTemplateCommand.js +3 -9
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackCommand.js +3 -9
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackInstancesCommand.js +3 -9
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackSetCommand.js +3 -9
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeregisterTypeCommand.js +3 -9
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetCommand.js +3 -9
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetHooksCommand.js +3 -9
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeGeneratedTemplateCommand.js +3 -9
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeOrganizationsAccessCommand.js +3 -9
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribePublisherCommand.js +3 -9
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeResourceScanCommand.js +3 -9
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +3 -9
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackEventsCommand.js +3 -9
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackInstanceCommand.js +3 -9
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackRefactorCommand.js +3 -9
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceCommand.js +3 -9
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceDriftsCommand.js +3 -9
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourcesCommand.js +3 -9
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetCommand.js +3 -9
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetOperationCommand.js +3 -9
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStacksCommand.js +3 -9
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeCommand.js +3 -9
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeRegistrationCommand.js +3 -9
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackDriftCommand.js +3 -9
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackResourceDriftCommand.js +3 -9
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackSetDriftCommand.js +3 -9
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/EstimateTemplateCostCommand.js +3 -9
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteChangeSetCommand.js +3 -9
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteStackRefactorCommand.js +3 -9
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetGeneratedTemplateCommand.js +3 -9
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetStackPolicyCommand.js +3 -9
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateCommand.js +3 -9
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateSummaryCommand.js +3 -9
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ImportStacksToStackSetCommand.js +3 -9
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListChangeSetsCommand.js +3 -9
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListExportsCommand.js +3 -9
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListGeneratedTemplatesCommand.js +3 -9
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListHookResultsCommand.js +3 -9
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListImportsCommand.js +3 -9
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +3 -9
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanResourcesCommand.js +3 -9
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScansCommand.js +3 -9
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +3 -9
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstancesCommand.js +3 -9
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorActionsCommand.js +3 -9
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorsCommand.js +3 -9
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackResourcesCommand.js +3 -9
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +3 -9
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationResultsCommand.js +3 -9
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationsCommand.js +3 -9
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetsCommand.js +3 -9
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStacksCommand.js +3 -9
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeRegistrationsCommand.js +3 -9
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeVersionsCommand.js +3 -9
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypesCommand.js +3 -9
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/PublishTypeCommand.js +3 -9
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RecordHandlerProgressCommand.js +3 -9
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterPublisherCommand.js +3 -9
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterTypeCommand.js +3 -9
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RollbackStackCommand.js +3 -9
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetStackPolicyCommand.js +3 -9
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeConfigurationCommand.js +3 -9
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeDefaultVersionCommand.js +3 -9
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SignalResourceCommand.js +3 -9
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StartResourceScanCommand.js +3 -9
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StopStackSetOperationCommand.js +3 -9
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/TestTypeCommand.js +3 -9
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateGeneratedTemplateCommand.js +3 -9
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackCommand.js +3 -9
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackInstancesCommand.js +3 -9
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackSetCommand.js +3 -9
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateTerminationProtectionCommand.js +3 -9
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ValidateTemplateCommand.js +3 -9
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +7 -0
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +3027 -0
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +10 -1
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -0
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
  102. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -0
  103. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +1 -0
  104. package/node_modules/@aws-sdk/client-cloudformation/dist-types/schemas/schemas_0.d.ts +450 -0
  105. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +4 -0
  106. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  107. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  108. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  109. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  110. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/schemas/schemas_0.d.ts +455 -0
  111. package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -35
  112. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  113. package/node_modules/@aws-sdk/core/package.json +11 -11
  114. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  115. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  116. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  117. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  118. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  119. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  120. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  121. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  122. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  123. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  124. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  125. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
  126. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
  127. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  128. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
  129. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
  130. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  131. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
  132. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
  133. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
  134. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
  135. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
  136. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
  137. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  138. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
  139. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  140. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
  141. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
  142. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
  143. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
  144. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
  145. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
  146. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
  147. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
  148. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  149. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  150. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  151. package/node_modules/@aws-sdk/types/package.json +2 -2
  152. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  153. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  154. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  155. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  156. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
  157. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
  158. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
  159. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
  160. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
  161. package/node_modules/@smithy/core/package.json +1 -1
  162. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  163. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  164. package/node_modules/@smithy/smithy-client/package.json +3 -3
  165. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  166. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  167. package/node_modules/js-yaml/README.md +9 -8
  168. package/node_modules/js-yaml/dist/js-yaml.js +22 -16
  169. package/node_modules/js-yaml/dist/js-yaml.min.js +2 -2
  170. package/node_modules/js-yaml/dist/js-yaml.mjs +20 -15
  171. package/node_modules/js-yaml/lib/loader.js +18 -12
  172. package/node_modules/js-yaml/package.json +1 -1
  173. package/package.json +4 -4
  174. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +0 -8938
  175. package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +0 -794
  176. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -1061
  177. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
  178. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
  179. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.929.0",
3
+ "version": "3.930.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,40 +29,40 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "3.928.0",
33
- "@aws-sdk/middleware-host-header": "3.922.0",
34
- "@aws-sdk/middleware-logger": "3.922.0",
35
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
36
- "@aws-sdk/middleware-user-agent": "3.928.0",
37
- "@aws-sdk/region-config-resolver": "3.925.0",
38
- "@aws-sdk/types": "3.922.0",
39
- "@aws-sdk/util-endpoints": "3.922.0",
40
- "@aws-sdk/util-user-agent-browser": "3.922.0",
41
- "@aws-sdk/util-user-agent-node": "3.928.0",
42
- "@smithy/config-resolver": "^4.4.2",
43
- "@smithy/core": "^3.17.2",
44
- "@smithy/fetch-http-handler": "^5.3.5",
45
- "@smithy/hash-node": "^4.2.4",
46
- "@smithy/invalid-dependency": "^4.2.4",
47
- "@smithy/middleware-content-length": "^4.2.4",
48
- "@smithy/middleware-endpoint": "^4.3.6",
49
- "@smithy/middleware-retry": "^4.4.6",
50
- "@smithy/middleware-serde": "^4.2.4",
51
- "@smithy/middleware-stack": "^4.2.4",
52
- "@smithy/node-config-provider": "^4.3.4",
53
- "@smithy/node-http-handler": "^4.4.4",
54
- "@smithy/protocol-http": "^5.3.4",
55
- "@smithy/smithy-client": "^4.9.2",
56
- "@smithy/types": "^4.8.1",
57
- "@smithy/url-parser": "^4.2.4",
32
+ "@aws-sdk/core": "3.930.0",
33
+ "@aws-sdk/middleware-host-header": "3.930.0",
34
+ "@aws-sdk/middleware-logger": "3.930.0",
35
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
36
+ "@aws-sdk/middleware-user-agent": "3.930.0",
37
+ "@aws-sdk/region-config-resolver": "3.930.0",
38
+ "@aws-sdk/types": "3.930.0",
39
+ "@aws-sdk/util-endpoints": "3.930.0",
40
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
41
+ "@aws-sdk/util-user-agent-node": "3.930.0",
42
+ "@smithy/config-resolver": "^4.4.3",
43
+ "@smithy/core": "^3.18.2",
44
+ "@smithy/fetch-http-handler": "^5.3.6",
45
+ "@smithy/hash-node": "^4.2.5",
46
+ "@smithy/invalid-dependency": "^4.2.5",
47
+ "@smithy/middleware-content-length": "^4.2.5",
48
+ "@smithy/middleware-endpoint": "^4.3.9",
49
+ "@smithy/middleware-retry": "^4.4.9",
50
+ "@smithy/middleware-serde": "^4.2.5",
51
+ "@smithy/middleware-stack": "^4.2.5",
52
+ "@smithy/node-config-provider": "^4.3.5",
53
+ "@smithy/node-http-handler": "^4.4.5",
54
+ "@smithy/protocol-http": "^5.3.5",
55
+ "@smithy/smithy-client": "^4.9.5",
56
+ "@smithy/types": "^4.9.0",
57
+ "@smithy/url-parser": "^4.2.5",
58
58
  "@smithy/util-base64": "^4.3.0",
59
59
  "@smithy/util-body-length-browser": "^4.2.0",
60
60
  "@smithy/util-body-length-node": "^4.2.1",
61
- "@smithy/util-defaults-mode-browser": "^4.3.5",
62
- "@smithy/util-defaults-mode-node": "^4.2.8",
63
- "@smithy/util-endpoints": "^3.2.4",
64
- "@smithy/util-middleware": "^4.2.4",
65
- "@smithy/util-retry": "^4.2.4",
61
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
62
+ "@smithy/util-defaults-mode-node": "^4.2.11",
63
+ "@smithy/util-endpoints": "^3.2.5",
64
+ "@smithy/util-middleware": "^4.2.5",
65
+ "@smithy/util-retry": "^4.2.5",
66
66
  "@smithy/util-utf8": "^4.2.0",
67
67
  "tslib": "^2.6.2"
68
68
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.925.0",
3
+ "version": "3.930.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
@@ -23,10 +23,10 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.922.0",
27
- "@smithy/config-resolver": "^4.4.2",
28
- "@smithy/node-config-provider": "^4.3.4",
29
- "@smithy/types": "^4.8.1",
26
+ "@aws-sdk/types": "3.930.0",
27
+ "@smithy/config-resolver": "^4.4.3",
28
+ "@smithy/node-config-provider": "^4.3.5",
29
+ "@smithy/types": "^4.9.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.929.0",
3
+ "version": "3.930.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,12 +29,12 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.928.0",
33
- "@aws-sdk/nested-clients": "3.929.0",
34
- "@aws-sdk/types": "3.922.0",
35
- "@smithy/property-provider": "^4.2.4",
36
- "@smithy/shared-ini-file-loader": "^4.3.4",
37
- "@smithy/types": "^4.8.1",
32
+ "@aws-sdk/core": "3.930.0",
33
+ "@aws-sdk/nested-clients": "3.930.0",
34
+ "@aws-sdk/types": "3.930.0",
35
+ "@smithy/property-provider": "^4.2.5",
36
+ "@smithy/shared-ini-file-loader": "^4.4.0",
37
+ "@smithy/types": "^4.9.0",
38
38
  "tslib": "^2.6.2"
39
39
  },
40
40
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.922.0",
3
+ "version": "3.930.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "directory": "packages/types"
43
43
  },
44
44
  "dependencies": {
45
- "@smithy/types": "^4.8.1",
45
+ "@smithy/types": "^4.9.0",
46
46
  "tslib": "^2.6.2"
47
47
  },
48
48
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.922.0",
3
+ "version": "3.930.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/types": "3.922.0",
29
- "@smithy/types": "^4.8.1",
30
- "@smithy/url-parser": "^4.2.4",
31
- "@smithy/util-endpoints": "^3.2.4",
28
+ "@aws-sdk/types": "3.930.0",
29
+ "@smithy/types": "^4.9.0",
30
+ "@smithy/url-parser": "^4.2.5",
31
+ "@smithy/util-endpoints": "^3.2.5",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.922.0",
3
+ "version": "3.930.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
@@ -24,8 +24,8 @@
24
24
  "license": "Apache-2.0",
25
25
  "react-native": "dist-es/index.native.js",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.922.0",
28
- "@smithy/types": "^4.8.1",
27
+ "@aws-sdk/types": "3.930.0",
28
+ "@smithy/types": "^4.9.0",
29
29
  "bowser": "^2.11.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.928.0",
3
+ "version": "3.930.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -22,10 +22,10 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/middleware-user-agent": "3.928.0",
26
- "@aws-sdk/types": "3.922.0",
27
- "@smithy/node-config-provider": "^4.3.4",
28
- "@smithy/types": "^4.8.1",
25
+ "@aws-sdk/middleware-user-agent": "3.930.0",
26
+ "@aws-sdk/types": "3.930.0",
27
+ "@smithy/node-config-provider": "^4.3.5",
28
+ "@smithy/types": "^4.9.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.921.0",
3
+ "version": "3.930.0",
4
4
  "description": "XML builder for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/types": "^4.8.1",
6
+ "@smithy/types": "^4.9.0",
7
7
  "fast-xml-parser": "5.2.5",
8
8
  "tslib": "^2.6.2"
9
9
  },
@@ -76,8 +76,9 @@ class EventStreamSerde {
76
76
  const unionMember = Object.keys(event).find((key) => {
77
77
  return key !== "__type";
78
78
  }) ?? "";
79
+ const body = event[unionMember].body;
79
80
  if (unionMember === "initial-response") {
80
- const dataObject = await this.deserializer.read(responseSchema, event[unionMember].body);
81
+ const dataObject = await this.deserializer.read(responseSchema, body);
81
82
  delete dataObject[eventStreamMember];
82
83
  return {
83
84
  [initialResponseMarker]: true,
@@ -86,8 +87,48 @@ class EventStreamSerde {
86
87
  }
87
88
  else if (unionMember in memberSchemas) {
88
89
  const eventStreamSchema = memberSchemas[unionMember];
90
+ if (eventStreamSchema.isStructSchema()) {
91
+ const out = {};
92
+ let hasBindings = false;
93
+ for (const [name, member] of eventStreamSchema.structIterator()) {
94
+ const { eventHeader, eventPayload } = member.getMergedTraits();
95
+ hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
96
+ if (eventPayload) {
97
+ if (member.isBlobSchema()) {
98
+ out[name] = body;
99
+ }
100
+ else if (member.isStringSchema()) {
101
+ out[name] = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(body);
102
+ }
103
+ else if (member.isStructSchema()) {
104
+ out[name] = await this.deserializer.read(member, body);
105
+ }
106
+ }
107
+ else if (eventHeader) {
108
+ const value = event[unionMember].headers[name]?.value;
109
+ if (value != null) {
110
+ if (member.isNumericSchema()) {
111
+ if (value && typeof value === "object" && "bytes" in value) {
112
+ out[name] = BigInt(value.toString());
113
+ }
114
+ else {
115
+ out[name] = Number(value);
116
+ }
117
+ }
118
+ else {
119
+ out[name] = value;
120
+ }
121
+ }
122
+ }
123
+ }
124
+ if (hasBindings) {
125
+ return {
126
+ [unionMember]: out,
127
+ };
128
+ }
129
+ }
89
130
  return {
90
- [unionMember]: await this.deserializer.read(eventStreamSchema, event[unionMember].body),
131
+ [unionMember]: await this.deserializer.read(eventStreamSchema, body),
91
132
  };
92
133
  }
93
134
  else {
@@ -189,7 +189,7 @@ class HttpBindingProtocol extends HttpProtocol {
189
189
  for (const [memberName, memberNs] of ns.structIterator()) {
190
190
  const memberTraits = memberNs.getMergedTraits() ?? {};
191
191
  const inputMemberValue = input[memberName];
192
- if (inputMemberValue == null) {
192
+ if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
193
193
  continue;
194
194
  }
195
195
  if (memberTraits.httpPayload) {
@@ -770,7 +770,12 @@ class ToStringShapeSerializer extends SerdeContext {
770
770
  this.stringBuffer = value;
771
771
  break;
772
772
  default:
773
- this.stringBuffer = String(value);
773
+ if (ns.isIdempotencyToken()) {
774
+ this.stringBuffer = serde.generateIdempotencyToken();
775
+ }
776
+ else {
777
+ this.stringBuffer = String(value);
778
+ }
774
779
  }
775
780
  }
776
781
  flush() {
@@ -1,4 +1,4 @@
1
- import { fromUtf8 } from "@smithy/util-utf8";
1
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
2
2
  export class EventStreamSerde {
3
3
  marshaller;
4
4
  serializer;
@@ -73,8 +73,9 @@ export class EventStreamSerde {
73
73
  const unionMember = Object.keys(event).find((key) => {
74
74
  return key !== "__type";
75
75
  }) ?? "";
76
+ const body = event[unionMember].body;
76
77
  if (unionMember === "initial-response") {
77
- const dataObject = await this.deserializer.read(responseSchema, event[unionMember].body);
78
+ const dataObject = await this.deserializer.read(responseSchema, body);
78
79
  delete dataObject[eventStreamMember];
79
80
  return {
80
81
  [initialResponseMarker]: true,
@@ -83,8 +84,48 @@ export class EventStreamSerde {
83
84
  }
84
85
  else if (unionMember in memberSchemas) {
85
86
  const eventStreamSchema = memberSchemas[unionMember];
87
+ if (eventStreamSchema.isStructSchema()) {
88
+ const out = {};
89
+ let hasBindings = false;
90
+ for (const [name, member] of eventStreamSchema.structIterator()) {
91
+ const { eventHeader, eventPayload } = member.getMergedTraits();
92
+ hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
93
+ if (eventPayload) {
94
+ if (member.isBlobSchema()) {
95
+ out[name] = body;
96
+ }
97
+ else if (member.isStringSchema()) {
98
+ out[name] = (this.serdeContext?.utf8Encoder ?? toUtf8)(body);
99
+ }
100
+ else if (member.isStructSchema()) {
101
+ out[name] = await this.deserializer.read(member, body);
102
+ }
103
+ }
104
+ else if (eventHeader) {
105
+ const value = event[unionMember].headers[name]?.value;
106
+ if (value != null) {
107
+ if (member.isNumericSchema()) {
108
+ if (value && typeof value === "object" && "bytes" in value) {
109
+ out[name] = BigInt(value.toString());
110
+ }
111
+ else {
112
+ out[name] = Number(value);
113
+ }
114
+ }
115
+ else {
116
+ out[name] = value;
117
+ }
118
+ }
119
+ }
120
+ }
121
+ if (hasBindings) {
122
+ return {
123
+ [unionMember]: out,
124
+ };
125
+ }
126
+ }
86
127
  return {
87
- [unionMember]: await this.deserializer.read(eventStreamSchema, event[unionMember].body),
128
+ [unionMember]: await this.deserializer.read(eventStreamSchema, body),
88
129
  };
89
130
  }
90
131
  else {
@@ -48,7 +48,7 @@ export class HttpBindingProtocol extends HttpProtocol {
48
48
  for (const [memberName, memberNs] of ns.structIterator()) {
49
49
  const memberTraits = memberNs.getMergedTraits() ?? {};
50
50
  const inputMemberValue = input[memberName];
51
- if (inputMemberValue == null) {
51
+ if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
52
52
  continue;
53
53
  }
54
54
  if (memberTraits.httpPayload) {
@@ -1,5 +1,5 @@
1
1
  import { NormalizedSchema } from "@smithy/core/schema";
2
- import { dateToUtcString, LazyJsonString, quoteHeader } from "@smithy/core/serde";
2
+ import { dateToUtcString, generateIdempotencyToken, LazyJsonString, quoteHeader } from "@smithy/core/serde";
3
3
  import { toBase64 } from "@smithy/util-base64";
4
4
  import { SerdeContext } from "../SerdeContext";
5
5
  import { determineTimestampFormat } from "./determineTimestampFormat";
@@ -75,7 +75,12 @@ export class ToStringShapeSerializer extends SerdeContext {
75
75
  this.stringBuffer = value;
76
76
  break;
77
77
  default:
78
- this.stringBuffer = String(value);
78
+ if (ns.isIdempotencyToken()) {
79
+ this.stringBuffer = generateIdempotencyToken();
80
+ }
81
+ else {
82
+ this.stringBuffer = String(value);
83
+ }
79
84
  }
80
85
  }
81
86
  flush() {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.18.0",
3
+ "version": "3.18.3",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.3.7",
3
+ "version": "4.3.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.18.0",
28
+ "@smithy/core": "^3.18.3",
29
29
  "@smithy/middleware-serde": "^4.2.5",
30
30
  "@smithy/node-config-provider": "^4.3.5",
31
31
  "@smithy/shared-ini-file-loader": "^4.4.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.4.7",
3
+ "version": "4.4.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -37,7 +37,7 @@
37
37
  "@smithy/node-config-provider": "^4.3.5",
38
38
  "@smithy/protocol-http": "^5.3.5",
39
39
  "@smithy/service-error-classification": "^4.2.5",
40
- "@smithy/smithy-client": "^4.9.3",
40
+ "@smithy/smithy-client": "^4.9.6",
41
41
  "@smithy/types": "^4.9.0",
42
42
  "@smithy/util-middleware": "^4.2.5",
43
43
  "@smithy/util-retry": "^4.2.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.9.3",
3
+ "version": "4.9.6",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline smithy-client",
@@ -25,8 +25,8 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.18.0",
29
- "@smithy/middleware-endpoint": "^4.3.7",
28
+ "@smithy/core": "^3.18.3",
29
+ "@smithy/middleware-endpoint": "^4.3.10",
30
30
  "@smithy/middleware-stack": "^4.2.5",
31
31
  "@smithy/protocol-http": "^5.3.5",
32
32
  "@smithy/types": "^4.9.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.3.6",
3
+ "version": "4.3.9",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -25,7 +25,7 @@
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
27
  "@smithy/property-provider": "^4.2.5",
28
- "@smithy/smithy-client": "^4.9.3",
28
+ "@smithy/smithy-client": "^4.9.6",
29
29
  "@smithy/types": "^4.9.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.9",
3
+ "version": "4.2.12",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -28,7 +28,7 @@
28
28
  "@smithy/credential-provider-imds": "^4.2.5",
29
29
  "@smithy/node-config-provider": "^4.3.5",
30
30
  "@smithy/property-provider": "^4.2.5",
31
- "@smithy/smithy-client": "^4.9.3",
31
+ "@smithy/smithy-client": "^4.9.6",
32
32
  "@smithy/types": "^4.9.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
@@ -4,11 +4,11 @@ JS-YAML - YAML 1.2 parser / writer for JavaScript
4
4
  [![CI](https://github.com/nodeca/js-yaml/workflows/CI/badge.svg?branch=master)](https://github.com/nodeca/js-yaml/actions)
5
5
  [![NPM version](https://img.shields.io/npm/v/js-yaml.svg)](https://www.npmjs.org/package/js-yaml)
6
6
 
7
- __[Online Demo](http://nodeca.github.com/js-yaml/)__
7
+ __[Online Demo](https://nodeca.github.io/js-yaml/)__
8
8
 
9
9
 
10
- This is an implementation of [YAML](http://yaml.org/), a human-friendly data
11
- serialization language. Started as [PyYAML](http://pyyaml.org/) port, it was
10
+ This is an implementation of [YAML](https://yaml.org/), a human-friendly data
11
+ serialization language. Started as [PyYAML](https://pyyaml.org/) port, it was
12
12
  completely rewritten from scratch. Now it's very fast, and supports 1.2 spec.
13
13
 
14
14
 
@@ -81,11 +81,11 @@ options:
81
81
  Loader will call this function with an instance of `YAMLException` for each warning.
82
82
  - `schema` _(default: `DEFAULT_SCHEMA`)_ - specifies a schema to use.
83
83
  - `FAILSAFE_SCHEMA` - only strings, arrays and plain objects:
84
- http://www.yaml.org/spec/1.2/spec.html#id2802346
84
+ https://www.yaml.org/spec/1.2/spec.html#id2802346
85
85
  - `JSON_SCHEMA` - all JSON-supported types:
86
- http://www.yaml.org/spec/1.2/spec.html#id2803231
86
+ https://www.yaml.org/spec/1.2/spec.html#id2803231
87
87
  - `CORE_SCHEMA` - same as `JSON_SCHEMA`:
88
- http://www.yaml.org/spec/1.2/spec.html#id2804923
88
+ https://www.yaml.org/spec/1.2/spec.html#id2804923
89
89
  - `DEFAULT_SCHEMA` - all supported YAML types.
90
90
  - `json` _(default: false)_ - compatibility with JSON.parse behaviour. If true, then duplicate keys in a mapping will override values rather than throwing an error.
91
91
 
@@ -149,6 +149,7 @@ output is shown on the right side after `=>` (default setting) or `->`:
149
149
  "lowercase" => "null"
150
150
  "uppercase" -> "NULL"
151
151
  "camelcase" -> "Null"
152
+ "empty" -> ""
152
153
 
153
154
  !!int
154
155
  "binary" -> "0b1", "0b101010", "0b1110001111010"
@@ -182,8 +183,8 @@ Supported YAML types
182
183
  --------------------
183
184
 
184
185
  The list of standard YAML tags and corresponding JavaScript types. See also
185
- [YAML tag discussion](http://pyyaml.org/wiki/YAMLTagDiscussion) and
186
- [YAML types repository](http://yaml.org/type/).
186
+ [YAML tag discussion](https://pyyaml.org/wiki/YAMLTagDiscussion) and
187
+ [YAML types repository](https://yaml.org/type/).
187
188
 
188
189
  ```
189
190
  !!null '' # null
@@ -1,10 +1,10 @@
1
1
 
2
- /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
2
+ /*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
5
5
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
6
6
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jsyaml = {}));
7
- }(this, (function (exports) { 'use strict';
7
+ })(this, (function (exports) { 'use strict';
8
8
 
9
9
  function isNothing(subject) {
10
10
  return (typeof subject === 'undefined') || (subject === null);
@@ -1216,6 +1216,22 @@
1216
1216
  );
1217
1217
  }
1218
1218
 
1219
+ // set a property of a literal object, while protecting against prototype pollution,
1220
+ // see https://github.com/nodeca/js-yaml/issues/164 for more details
1221
+ function setProperty(object, key, value) {
1222
+ // used for this specific key only because Object.defineProperty is slow
1223
+ if (key === '__proto__') {
1224
+ Object.defineProperty(object, key, {
1225
+ configurable: true,
1226
+ enumerable: true,
1227
+ writable: true,
1228
+ value: value
1229
+ });
1230
+ } else {
1231
+ object[key] = value;
1232
+ }
1233
+ }
1234
+
1219
1235
  var simpleEscapeCheck = new Array(256); // integer, for fast access
1220
1236
  var simpleEscapeMap = new Array(256);
1221
1237
  for (var i = 0; i < 256; i++) {
@@ -1394,7 +1410,7 @@
1394
1410
  key = sourceKeys[index];
1395
1411
 
1396
1412
  if (!_hasOwnProperty$1.call(destination, key)) {
1397
- destination[key] = source[key];
1413
+ setProperty(destination, key, source[key]);
1398
1414
  overridableKeys[key] = true;
1399
1415
  }
1400
1416
  }
@@ -1454,17 +1470,7 @@
1454
1470
  throwError(state, 'duplicated mapping key');
1455
1471
  }
1456
1472
 
1457
- // used for this specific key only because Object.defineProperty is slow
1458
- if (keyNode === '__proto__') {
1459
- Object.defineProperty(_result, keyNode, {
1460
- configurable: true,
1461
- enumerable: true,
1462
- writable: true,
1463
- value: valueNode
1464
- });
1465
- } else {
1466
- _result[keyNode] = valueNode;
1467
- }
1473
+ setProperty(_result, keyNode, valueNode);
1468
1474
  delete overridableKeys[keyNode];
1469
1475
  }
1470
1476
 
@@ -3860,7 +3866,7 @@
3860
3866
  exports.Schema = Schema;
3861
3867
  exports.Type = Type;
3862
3868
  exports.YAMLException = YAMLException;
3863
- exports.default = jsYaml;
3869
+ exports["default"] = jsYaml;
3864
3870
  exports.dump = dump;
3865
3871
  exports.load = load;
3866
3872
  exports.loadAll = loadAll;
@@ -3871,4 +3877,4 @@
3871
3877
 
3872
3878
  Object.defineProperty(exports, '__esModule', { value: true });
3873
3879
 
3874
- })));
3880
+ }));