@aws-sdk/client-codecommit 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
@@ -1277,18 +1277,9 @@ const SortByEnum = {
1277
1277
  REPOSITORY_NAME: "repositoryName",
1278
1278
  };
1279
1279
 
1280
- Object.defineProperty(exports, "$Command", {
1281
- enumerable: true,
1282
- get: function () { return smithyClient.Command; }
1283
- });
1284
- Object.defineProperty(exports, "__Client", {
1285
- enumerable: true,
1286
- get: function () { return smithyClient.Client; }
1287
- });
1288
- Object.defineProperty(exports, "CodeCommitServiceException", {
1289
- enumerable: true,
1290
- get: function () { return CodeCommitServiceException.CodeCommitServiceException; }
1291
- });
1280
+ exports.$Command = smithyClient.Command;
1281
+ exports.__Client = smithyClient.Client;
1282
+ exports.CodeCommitServiceException = CodeCommitServiceException.CodeCommitServiceException;
1292
1283
  exports.ApprovalState = ApprovalState;
1293
1284
  exports.AssociateApprovalRuleTemplateWithRepositoryCommand = AssociateApprovalRuleTemplateWithRepositoryCommand;
1294
1285
  exports.BatchAssociateApprovalRuleTemplateWithRepositoriesCommand = BatchAssociateApprovalRuleTemplateWithRepositoriesCommand;
@@ -1400,15 +1391,23 @@ exports.paginateListFileCommitHistory = paginateListFileCommitHistory;
1400
1391
  exports.paginateListPullRequests = paginateListPullRequests;
1401
1392
  exports.paginateListRepositories = paginateListRepositories;
1402
1393
  exports.paginateListRepositoriesForApprovalRuleTemplate = paginateListRepositoriesForApprovalRuleTemplate;
1403
- Object.keys(schemas_0).forEach(function (k) {
1404
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
1394
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
1395
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1396
+ Object.defineProperty(exports, '__proto__', {
1405
1397
  enumerable: true,
1406
- get: function () { return schemas_0[k]; }
1398
+ value: schemas_0['__proto__']
1407
1399
  });
1400
+
1401
+ Object.keys(schemas_0).forEach(function (k) {
1402
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
1408
1403
  });
1409
- Object.keys(errors).forEach(function (k) {
1410
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
1404
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
1405
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1406
+ Object.defineProperty(exports, '__proto__', {
1411
1407
  enumerable: true,
1412
- get: function () { return errors[k]; }
1408
+ value: errors['__proto__']
1413
1409
  });
1410
+
1411
+ Object.keys(errors).forEach(function (k) {
1412
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
1414
1413
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codecommit",
3
3
  "description": "AWS SDK for JavaScript Codecommit 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-codecommit",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.11",
27
- "@aws-sdk/credential-provider-node": "^3.972.10",
26
+ "@aws-sdk/core": "^3.973.12",
27
+ "@aws-sdk/credential-provider-node": "^3.972.11",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.3",
29
29
  "@aws-sdk/middleware-logger": "^3.972.3",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
- "@aws-sdk/middleware-user-agent": "^3.972.11",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.12",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.3",
33
33
  "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.994.0",
34
+ "@aws-sdk/util-endpoints": "3.996.0",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
- "@aws-sdk/util-user-agent-node": "^3.972.9",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.11",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
38
  "@smithy/core": "^3.23.2",
39
39
  "@smithy/fetch-http-handler": "^5.3.9",