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

sirv

Package Overview
Dependencies
Maintainers
1
Versions
48
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.7 to 1.0.9

2

build.js

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

if (opts.ignores !== false) {
ignores.push(/\w\.\w+$/); // any extn
ignores.push(/[/]([A-Za-z\s\d~$._-]+\.\w+){1,}$/); // any extn
if (opts.dotfiles) ignores.push(/\/\.\w/);

@@ -133,0 +133,0 @@ else ignores.push(/\/\.well-known/);

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

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

},
"gitHead": "4eb463081fe399bb88f30ff84d8ba3aa5d48bc27"
"gitHead": "25974174e9c5703138401c07e4036175cc7558f8"
}

@@ -6,3 +6,3 @@ declare module 'sirv' {

type Arrayable<T> = T | T[];
export type NextHandler = VoidFunction | Promise<void>;
export type NextHandler = () => void | Promise<void>;
export type RequestHandler = (req: IncomingMessage, res: ServerResponse, next?: NextHandler) => void;

@@ -9,0 +9,0 @@

Sorry, the diff of this file is not supported yet

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