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.19 to 2.0.0

4

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

@@ -149,3 +149,3 @@

if (!opts.dev) {
list(dir, (name, abs, stats) => {
totalist(dir, (name, abs, stats) => {
if (/\.well-known[\\+\/]/.test(name)) {} // keep

@@ -152,0 +152,0 @@ else if (!opts.dotfiles && /(^\.|[\\+|\/+]\.)/.test(name)) return;

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

@@ -25,4 +25,4 @@ "repository": "lukeed/sirv",

"mrmime": "^1.0.0",
"totalist": "^1.0.0"
"totalist": "^2.0.0"
}
}

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