aws-sdk-v3-proxy
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -15,3 +15,3 @@ "use strict"; | ||
exports.addProxyToClient = exports.getHttpsProxy = exports.getHttpProxy = void 0; | ||
const node_http_handler_1 = require("@aws-sdk/node-http-handler"); | ||
const node_http_handler_1 = require("@smithy/node-http-handler"); | ||
const hpagent_1 = require("hpagent"); | ||
@@ -18,0 +18,0 @@ const getHttpProxy = () => process.env.http_proxy || process.env.HTTP_PROXY || ''; |
@@ -1,7 +0,7 @@ | ||
import type { NodeHttpHandlerOptions } from '@aws-sdk/node-http-handler'; | ||
import type { HttpHandler } from '@aws-sdk/protocol-http'; | ||
import { HttpHandlerOptions, RequestHandler } from '@aws-sdk/types'; | ||
import type { NodeHttpHandlerOptions } from '@smithy/node-http-handler'; | ||
import type { HttpsProxyAgentOptions } from 'hpagent'; | ||
declare type ConfigWithRequestHandler = { | ||
config: { | ||
requestHandler: HttpHandler; | ||
requestHandler: RequestHandler<any, any, HttpHandlerOptions>; | ||
}; | ||
@@ -8,0 +8,0 @@ }; |
@@ -28,5 +28,5 @@ "use strict"; | ||
const hpagent = __importStar(require("hpagent")); | ||
const node_http_handler_1 = require("@aws-sdk/node-http-handler"); | ||
const node_http_handler_1 = require("@smithy/node-http-handler"); | ||
const src_1 = require("../src"); | ||
jest.mock('@aws-sdk/node-http-handler'); | ||
jest.mock('@smithy/node-http-handler'); | ||
jest.mock('hpagent'); | ||
@@ -33,0 +33,0 @@ const MockNodeHttpHandler = jest.mocked(node_http_handler_1.NodeHttpHandler); |
{ | ||
"name": "aws-sdk-v3-proxy", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "A wrapper for adding proxy support to AWS SDK v3 clients", | ||
@@ -44,4 +44,4 @@ "main": "./lib/src/index.js", | ||
"dependencies": { | ||
"@aws-sdk/node-http-handler": "^3.53.0", | ||
"@aws-sdk/protocol-http": "^3.296.0", | ||
"@smithy/node-http-handler": "^2.5.0", | ||
"@smithy/protocol-http": "^3.3.0", | ||
"hpagent": "^1.2.0" | ||
@@ -48,0 +48,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30019
+ Added@smithy/protocol-http@^3.3.0
+ Added@smithy/abort-controller@2.2.0(transitive)
+ Added@smithy/node-http-handler@2.5.0(transitive)
+ Added@smithy/protocol-http@3.3.0(transitive)
+ Added@smithy/querystring-builder@2.2.0(transitive)
+ Added@smithy/types@2.12.0(transitive)
+ Added@smithy/util-uri-escape@2.2.0(transitive)
- Removed@aws-sdk/node-http-handler@^3.53.0
- Removed@aws-sdk/protocol-http@^3.296.0
- Removed@aws-sdk/node-http-handler@3.374.0(transitive)
- Removed@aws-sdk/protocol-http@3.374.0(transitive)
- Removed@smithy/abort-controller@1.1.0(transitive)
- Removed@smithy/node-http-handler@1.1.0(transitive)
- Removed@smithy/protocol-http@1.2.0(transitive)
- Removed@smithy/querystring-builder@1.1.0(transitive)
- Removed@smithy/types@1.2.0(transitive)
- Removed@smithy/util-uri-escape@1.1.0(transitive)