Socket
Socket
Sign inDemoInstall

@paperbits/common

Package Overview
Dependencies
Maintainers
2
Versions
691
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paperbits/common - npm Package Compare versions

Comparing version 0.1.569 to 0.1.570

http/nodeHttpClient.ts

11

http/xmlHttpRequestClient.ts

@@ -47,4 +47,2 @@ import * as XMLHttpRequest from "xhr2";

return new Promise((resolve, reject) => {

@@ -67,12 +65,7 @@ const xhr = new XMLHttpRequest();

if (xhr.status === 0) {
// this.logger.trackEvent("HttpRequest", {
// method: request.method,
// url: request.url
// });
reject({
message: `Could not complete the request. Please try again later.`,
code: "RequestError",
requestedUrl: request.url,
details: []
requestMethod: request.method,
requestedUrl: request.url
});

@@ -79,0 +72,0 @@ return;

{
"name": "@paperbits/common",
"version": "0.1.569",
"version": "0.1.570",
"description": "Paperbits common components.",

@@ -5,0 +5,0 @@ "author": "Paperbits",

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