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.5 to 0.4.6

6

lib/air/request.js

@@ -52,2 +52,4 @@ /**

opts.headers['X-Requested-With'] = 'XMLHttpRequest';
// apply custom request headers

@@ -58,3 +60,3 @@ for(z in opts.headers) {

if(opts.mime && (typeof(req.overrideMimeType) === 'function')) {
if(opts.mime && typeof(req.overrideMimeType) === 'function') {
req.overrideMimeType(opts.mime);

@@ -83,3 +85,3 @@ }

req.send(opts.data);
req.send(opts.body);
}

@@ -86,0 +88,0 @@

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

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

@@ -80,3 +80,3 @@ Table of Contents

Designed to work with [browserify](http://browserify.org) by default, assuming you have configured the [browserify](http://browserify.org) `paths` option correctly:
Designed to work with [browserify](http://browserify.org) by default, assuming you have configured the [browserify](http://browserify.org) `paths` option correctly for `node_modules/air/lib`:

@@ -86,6 +86,8 @@ ```javascript

$.plugin([
require('event')
require('air/event')
])
```
Note that the plugins are namespaced to prevent potential collisions when an application is using multiple plugin-enabled components.
## API

@@ -92,0 +94,0 @@

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