Socket
Socket
Sign inDemoInstall

sirv

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sirv - npm Package Compare versions

Comparing version 1.0.0-next.0 to 1.0.0-next.1

1

index.js

@@ -40,2 +40,3 @@ const fs = require('fs');

headers = toHeaders(name, stats, isEtag);
headers['Cache-Control'] = 'no-store';
return { abs, stats, headers };

@@ -42,0 +43,0 @@ }

4

package.json
{
"name": "sirv",
"version": "1.0.0-next.0",
"version": "1.0.0-next.1",
"description": "The optimized & lightweight middleware for serving requests to static assets",

@@ -22,3 +22,3 @@ "repository": "lukeed/sirv",

},
"gitHead": "353b8610af18c94596f760bccaaa46d865f4498f"
"gitHead": "88b15bc2161fec6e015f32d8fbce3c52618793e7"
}

@@ -36,4 +36,4 @@ # sirv [![Build Status](https://travis-ci.org/lukeed/sirv.svg?branch=master)](https://travis-ci.org/lukeed/sirv)

.use('/api', require('./api'))
.listen(3000)
.then(() => {
.listen(3000, err => {
if (err) throw err;
console.log('> Ready on localhost:3000~!');

@@ -40,0 +40,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