@aws-sdk/core 3.977.9 → 3.978.0

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.
@@ -51,7 +51,12 @@ function formatUrl(request) {
51
51
  return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`;
52
52
  }
53
53
 
54
+ function hasOwn(container, key) {
55
+ return Object.prototype.hasOwnProperty.call(container, key);
56
+ }
57
+
54
58
  exports.build = build;
55
59
  exports.formatUrl = formatUrl;
60
+ exports.hasOwn = hasOwn;
56
61
  exports.parse = parse;
57
62
  exports.validate = validate;
@@ -0,0 +1,3 @@
1
+ export function hasOwn(container, key) {
2
+ return Object.prototype.hasOwnProperty.call(container, key);
3
+ }
@@ -1,2 +1,3 @@
1
1
  export { build, parse, validate } from "./util-arn-parser/arn";
2
2
  export { formatUrl } from "./util-format-url/format-url";
3
+ export { hasOwn } from "./hasOwn";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare function hasOwn(container: object, key: string): boolean;
@@ -1,3 +1,4 @@
1
1
  export { build, parse, validate } from "./util-arn-parser/arn";
2
2
  export type { ARN } from "./util-arn-parser/arn";
3
3
  export { formatUrl } from "./util-format-url/format-url";
4
+ export { hasOwn } from "./hasOwn";
@@ -0,0 +1 @@
1
+ export declare function hasOwn(container: object, key: string): boolean;
@@ -1,3 +1,4 @@
1
1
  export { build, parse, validate } from "./util-arn-parser/arn";
2
2
  export { ARN } from "./util-arn-parser/arn";
3
3
  export { formatUrl } from "./util-format-url/format-url";
4
+ export { hasOwn } from "./hasOwn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.977.9",
3
+ "version": "3.978.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
6
6
  "license": "Apache-2.0",