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

airfile

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airfile - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

5

bin/cli.js

@@ -9,2 +9,3 @@ #!/usr/bin/env node

var ip = require('internal-ip')
var path = require('path')

@@ -18,5 +19,5 @@ http.createServer(onRequest).listen(8400, function () {

if (req.url === '/index.html' || req.url === '/') {
fs.createReadStream('./index.html').pipe(res)
fs.createReadStream(path.join(__dirname, '..', 'index.html')).pipe(res)
} else if (req.url === '/bundle.js') {
fs.createReadStream('./bundle.js').pipe(res)
fs.createReadStream(path.join(__dirname, '..', 'bundle.js')).pipe(res)
} else if (req.method === 'POST' && /^\/send/.test(req.url)) {

@@ -23,0 +24,0 @@ var qs = url.parse(req.url).query

2

package.json

@@ -5,3 +5,3 @@ {

"author": "Stephen Whitmore <sww@eight.net>",
"version": "0.0.4",
"version": "0.0.5",
"repository": {

@@ -8,0 +8,0 @@ "url": "git://github.com/noffle/airfile.git"

@@ -6,3 +6,4 @@ # airfile

Airfile was designed specifically to make it easier to get data off my android
phone to my laptop without needing a native application.
phone to my laptop without needing a native application, cloud services, or a
USB cable.

@@ -9,0 +10,0 @@ ## Usage

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