Socket
Socket
Sign inDemoInstall

appy-bird

Package Overview
Dependencies
10
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

15

index.js

@@ -58,2 +58,17 @@ const fs = require('fs');

var responder = {
file: function(path, mimeType) {
return new Promise(function(resolve, reject) {
fs.stat(path, function(err, stat) {
if (err) return reject(500);
resolve([
200,
{
'Content-Type': mimeType,
'Content-Length': stat.size
},
fs.createReadStream(path)
]);
});
});
},
html: function(status, html) {

@@ -60,0 +75,0 @@ if (arguments.length === 1) {

2

package.json
{
"name": "appy-bird",
"version": "1.0.1",
"version": "1.0.2",
"description": "'appy-bird makes APIs as easy as flying into a brick wall!",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc