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

air

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

air - npm Package Compare versions

Comparing version 0.4.10 to 0.4.11

lib/air/inherit.js

2

lib/air.js

@@ -44,3 +44,3 @@ ;(function() {

}else{
this.dom = (el instanceof Element || el === window) ? [el] : [];
this.dom = ((el instanceof Element) || el === window) ? [el] : [];
}

@@ -47,0 +47,0 @@ }

@@ -61,4 +61,19 @@ /**

req.open(opts.method, opts.url);
var url = opts.url;
if(opts.qs) {
var keys = Object.keys(opts.qs)
, qs = '?';
keys.forEach(function(key, index) {
if(index) {
qs += '&';
}
qs += encodeURIComponent(key) + '=' + encodeURIComponent(opts.qs[key]);
})
url += qs;
}
req.open(opts.method, url);
// apply custom request headers

@@ -65,0 +80,0 @@ for(z in opts.headers) {

{
"name": "air",
"description": "Lightweight, modular DOM library",
"version": "0.4.10",
"version": "0.4.11",
"author": "muji <noop@xpm.io>",

@@ -6,0 +6,0 @@ "license": "MIT",

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