@aws-sdk/client-guardduty 3.994.0 → 3.996.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +17 -18
  2. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -1766,18 +1766,9 @@ const ListMalwareScansCriterionKey = {
1766
1766
  SCAN_TYPE: "SCAN_TYPE",
1767
1767
  };
1768
1768
 
1769
- Object.defineProperty(exports, "$Command", {
1770
- enumerable: true,
1771
- get: function () { return smithyClient.Command; }
1772
- });
1773
- Object.defineProperty(exports, "__Client", {
1774
- enumerable: true,
1775
- get: function () { return smithyClient.Client; }
1776
- });
1777
- Object.defineProperty(exports, "GuardDutyServiceException", {
1778
- enumerable: true,
1779
- get: function () { return GuardDutyServiceException.GuardDutyServiceException; }
1780
- });
1769
+ exports.$Command = smithyClient.Command;
1770
+ exports.__Client = smithyClient.Client;
1771
+ exports.GuardDutyServiceException = GuardDutyServiceException.GuardDutyServiceException;
1781
1772
  exports.AcceptAdministratorInvitationCommand = AcceptAdministratorInvitationCommand;
1782
1773
  exports.AcceptInvitationCommand = AcceptInvitationCommand;
1783
1774
  exports.AdminStatus = AdminStatus;
@@ -1951,15 +1942,23 @@ exports.paginateListPublishingDestinations = paginateListPublishingDestinations;
1951
1942
  exports.paginateListThreatEntitySets = paginateListThreatEntitySets;
1952
1943
  exports.paginateListThreatIntelSets = paginateListThreatIntelSets;
1953
1944
  exports.paginateListTrustedEntitySets = paginateListTrustedEntitySets;
1954
- Object.keys(schemas_0).forEach(function (k) {
1955
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
1945
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
1946
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1947
+ Object.defineProperty(exports, '__proto__', {
1956
1948
  enumerable: true,
1957
- get: function () { return schemas_0[k]; }
1949
+ value: schemas_0['__proto__']
1958
1950
  });
1951
+
1952
+ Object.keys(schemas_0).forEach(function (k) {
1953
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
1959
1954
  });
1960
- Object.keys(errors).forEach(function (k) {
1961
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
1955
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
1956
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1957
+ Object.defineProperty(exports, '__proto__', {
1962
1958
  enumerable: true,
1963
- get: function () { return errors[k]; }
1959
+ value: errors['__proto__']
1964
1960
  });
1961
+
1962
+ Object.keys(errors).forEach(function (k) {
1963
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
1965
1964
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-guardduty",
3
3
  "description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
4
- "version": "3.994.0",
4
+ "version": "3.996.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-guardduty",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.11",
25
- "@aws-sdk/credential-provider-node": "^3.972.10",
24
+ "@aws-sdk/core": "^3.973.12",
25
+ "@aws-sdk/credential-provider-node": "^3.972.11",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.11",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.12",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.994.0",
32
+ "@aws-sdk/util-endpoints": "3.996.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.9",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.11",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
36
  "@smithy/core": "^3.23.2",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",