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

minixhr

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minixhr - npm Package Compare versions

Comparing version 3.0.4 to 3.1.0

2

package.json
{
"name": "minixhr",
"version": "3.0.4",
"version": "3.1.0",
"description": "super simpel and small cross-browser xhr",

@@ -5,0 +5,0 @@ "main": "minixhr.js",

@@ -12,6 +12,11 @@ # minixhr

var data = {
foo: 123,
bar: "abc"
}
var request = { // can be 'url string' or object:
url : 'http://requestb.in/18b4srl1',
method : 'POST', // [optional] (defaults to 'GET')
body : '{ "foo": 123, "bar": "abc" }', // [optional] payload data could be <formdata> or {key:val}'s or anything
data : JSON.stringify(data), // [optional] payload data could be <formdata> or {key:val}'s or anything
headers : {} // [optional] (defaults to '{}' or in case of 'POST':

@@ -18,0 +23,0 @@ // {'X-Requested-With':'XMLHttpRequest','Content-Type':'application/x-www-form-urlencoded' } )

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