@aws-sdk/credential-provider-http 3.972.13 → 3.972.15

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.
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const client_1 = require("@aws-sdk/core/client");
6
6
  const node_http_handler_1 = require("@smithy/node-http-handler");
7
7
  const property_provider_1 = require("@smithy/property-provider");
8
- const promises_1 = tslib_1.__importDefault(require("fs/promises"));
8
+ const promises_1 = tslib_1.__importDefault(require("node:fs/promises"));
9
9
  const checkUrl_1 = require("./checkUrl");
10
10
  const requestHelpers_1 = require("./requestHelpers");
11
11
  const retry_wrapper_1 = require("./retry-wrapper");
@@ -1,7 +1,7 @@
1
1
  import { setCredentialFeature } from "@aws-sdk/core/client";
2
2
  import { NodeHttpHandler } from "@smithy/node-http-handler";
3
3
  import { CredentialsProviderError } from "@smithy/property-provider";
4
- import fs from "fs/promises";
4
+ import fs from "node:fs/promises";
5
5
  import { checkUrl } from "./checkUrl";
6
6
  import { createGetRequest, getCredentials } from "./requestHelpers";
7
7
  import { retryWrapper } from "./retry-wrapper";
@@ -1,4 +1,4 @@
1
- import { Logger } from "@smithy/types";
1
+ import type { Logger } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  *
@@ -1,4 +1,4 @@
1
- import { AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentityProvider } from "@smithy/types";
2
2
  import type { FromHttpOptions } from "./fromHttpTypes";
3
3
  /**
4
4
  * Creates a provider that gets credentials via HTTP request.
@@ -1,4 +1,4 @@
1
- import { AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentityProvider } from "@smithy/types";
2
2
  import type { FromHttpOptions } from "./fromHttpTypes";
3
3
  /**
4
4
  * Creates a provider that gets credentials via HTTP request.
@@ -1,6 +1,6 @@
1
- import { AwsCredentialIdentity } from "@aws-sdk/types";
1
+ import type { AwsCredentialIdentity } from "@aws-sdk/types";
2
2
  import { HttpRequest } from "@smithy/protocol-http";
3
- import { HttpResponse, Logger } from "@smithy/types";
3
+ import type { HttpResponse, Logger } from "@smithy/types";
4
4
  /**
5
5
  * @internal
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.13",
3
+ "version": "3.972.15",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.973.13",
32
- "@aws-sdk/types": "^3.973.2",
33
- "@smithy/fetch-http-handler": "^5.3.10",
34
- "@smithy/node-http-handler": "^4.4.11",
35
- "@smithy/property-provider": "^4.2.9",
36
- "@smithy/protocol-http": "^5.3.9",
37
- "@smithy/smithy-client": "^4.11.7",
38
- "@smithy/types": "^4.12.1",
39
- "@smithy/util-stream": "^4.5.14",
31
+ "@aws-sdk/core": "^3.973.15",
32
+ "@aws-sdk/types": "^3.973.4",
33
+ "@smithy/fetch-http-handler": "^5.3.11",
34
+ "@smithy/node-http-handler": "^4.4.12",
35
+ "@smithy/property-provider": "^4.2.10",
36
+ "@smithy/protocol-http": "^5.3.10",
37
+ "@smithy/smithy-client": "^4.12.0",
38
+ "@smithy/types": "^4.13.0",
39
+ "@smithy/util-stream": "^4.5.15",
40
40
  "tslib": "^2.6.2"
41
41
  },
42
42
  "devDependencies": {