Socket
Socket
Sign inDemoInstall

bankai

Package Overview
Dependencies
360
Maintainers
6
Versions
114
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.2.1 to 5.3.0

7

bin.js

@@ -119,3 +119,8 @@ #!/usr/bin/env node

case '/bundle.css': return assets.css(req, res).pipe(res)
default: return (res.statusCode = 404 && res.end('404 not found'))
default:
if (req.headers['accept'].indexOf('html') > 0) {
return assets.html(req, res).pipe(res)
}
res.statusCode = 404
res.end('404 not found')
}

@@ -122,0 +127,0 @@ }).listen(port, function () {

2

package.json
{
"name": "bankai",
"version": "5.2.1",
"version": "5.3.0",
"description": "DIY asset server",

@@ -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