Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
super simpel and small cross-browser xhr
var minixhr = require('minixhr')
function responseHandler (error, data, response, xhr, header) {
if (error) console.error('timeout: ', error)
console.log(data)
}
var request = { // can be 'url string' or object:
url : 'http://jsonplaceholder.typicode.com/posts/1',
method : 'POST', // [optional] (defaults to 'GET')
body : 'payload', // [optional] payload data could be <formdata> or {key:val}'s or anything
timeout : 2000 // [optional] (to set a timeout)
header : {} // [optional] (defaults to '{}' or in case of 'POST':
// {'X-Requested-With':'XMLHttpRequest','Content-Type':'application/x-www-form-urlencoded' } )
}
// EXAMPLE 1
var callback = responseHandler
minixhr(request, callback) // [optional] callback - (e.g. leave out for POST Request where you don't care about a response
// EXAMPLE 2
minixhr('http://requestb.in/18b4srl1', function (data) { console.log(data) })
// check http://requestb.in/18b4srl1?inspect afterwards to inspect
// EXAMPLE 3 - github
minixhr()
FAQs
super simpel and small cross-browser xhr
The npm package minixhr receives a total of 47,904 weekly downloads. As such, minixhr popularity was classified as popular.
We found that minixhr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.