Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@madeiramadeira/http-client

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@madeiramadeira/http-client - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

6

package.json
{
"name": "@madeiramadeira/http-client",
"version": "1.0.3",
"version": "1.0.4",
"description": "Simple HTTP client lib",

@@ -56,3 +56,5 @@ "main": "src/index.js",

},
"dependencies": {}
"dependencies": {
"xmlhttprequest": "^1.8.0"
}
}

@@ -80,2 +80,6 @@ module.exports = class httpClient {

return new Promise((resolve, reject) => {
if (typeof XMLHttpRequest === 'undefined') {
const XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
}
const req = new XMLHttpRequest();

@@ -82,0 +86,0 @@ req.open(optionObj.method, url, true);

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