Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

sirv

Package Overview
Dependencies
3
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.11 to 1.0.12

4

build.js
const fs = require('fs');
const { join, normalize, resolve } = require('path');
const { parse } = require('@polka/url');
const list = require('totalist/sync');
const parser = require('@polka/url');
const mime = require('mime/lite');

@@ -163,3 +163,3 @@

let pathname = req.path || parser(req, true).pathname;
let pathname = req.path || parse(req, true).pathname;
let data = lookup(pathname, extns) || isSPA && !isMatch(pathname, ignores) && lookup(fallback, extns);

@@ -166,0 +166,0 @@ if (!data) return next ? next() : isNotFound(req, res);

{
"name": "sirv",
"version": "1.0.11",
"version": "1.0.12",
"description": "The optimized & lightweight middleware for serving requests to static assets",

@@ -23,7 +23,7 @@ "repository": "lukeed/sirv",

"dependencies": {
"@polka/url": "^1.0.0-next.9",
"@polka/url": "^1.0.0-next.15",
"mime": "^2.3.1",
"totalist": "^1.0.0"
},
"gitHead": "da9845420ab483224ff186c3ac10684420ad7ff8"
"gitHead": "0c832aac6e3eca4c242d0f7d07de2da1abd3d547"
}

Sorry, the diff of this file is not supported yet

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