New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/xhr-http-handler

Package Overview
Dependencies
Maintainers
5
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/xhr-http-handler - npm Package Compare versions

Comparing version 3.226.0 to 3.249.0

6

dist-cjs/xhr-http-handler.js

@@ -68,3 +68,6 @@ "use strict";

});
xhr.addEventListener("error", reject);
xhr.addEventListener("error", (err) => {
const error = new Error(XhrHttpHandler.ERROR_IDENTIFIER + ": " + err);
reject(error);
});
xhr.addEventListener("timeout", () => {

@@ -161,2 +164,3 @@ reject(new Error("XMLHttpRequest timed out."));

XhrHttpHandler.EVENTS = EVENTS;
XhrHttpHandler.ERROR_IDENTIFIER = "XHR_HTTP_HANDLER_ERROR";
const isForbiddenRequestHeader = (header) => {

@@ -163,0 +167,0 @@ header = header.toLowerCase();

@@ -65,3 +65,6 @@ import { HttpResponse } from "@aws-sdk/protocol-http";

});
xhr.addEventListener("error", reject);
xhr.addEventListener("error", (err) => {
const error = new Error(XhrHttpHandler.ERROR_IDENTIFIER + ": " + err);
reject(error);
});
xhr.addEventListener("timeout", () => {

@@ -157,2 +160,3 @@ reject(new Error("XMLHttpRequest timed out."));

XhrHttpHandler.EVENTS = EVENTS;
XhrHttpHandler.ERROR_IDENTIFIER = "XHR_HTTP_HANDLER_ERROR";
const isForbiddenRequestHeader = (header) => {

@@ -159,0 +163,0 @@ header = header.toLowerCase();

@@ -18,2 +18,3 @@ import { HttpHandler, HttpRequest, HttpResponse } from "@aws-sdk/protocol-http";

static readonly EVENTS: XhrHttpHandlerEvents;
static readonly ERROR_IDENTIFIER = "XHR_HTTP_HANDLER_ERROR";
private config?;

@@ -20,0 +21,0 @@ private readonly configProvider;

@@ -48,2 +48,3 @@ /// <reference types="node" />

static readonly EVENTS: XhrHttpHandlerEvents;
static readonly ERROR_IDENTIFIER = "XHR_HTTP_HANDLER_ERROR";
private config?;

@@ -50,0 +51,0 @@ private readonly configProvider;

2

package.json
{
"name": "@aws-sdk/xhr-http-handler",
"version": "3.226.0",
"version": "3.249.0",
"description": "Provides a way to make requests using XMLHttpRequest",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc