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 2.0.4 to 3.0.0

index.d.mts

4

build.js

@@ -1,3 +0,3 @@

const fs = require('fs');
const { join, normalize, resolve } = require('path');
const fs = require('node:fs');
const { join, normalize, resolve } = require('node:path');
const { totalist } = require('totalist/sync');

@@ -4,0 +4,0 @@ const { parse } = require('@polka/url');

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

@@ -12,4 +12,17 @@ "repository": "lukeed/sirv",

"build.*",
"sirv.d.ts"
"index.d.*"
],
"exports": {
".": {
"import": {
"types": "./index.d.mts",
"default": "./build.mjs"
},
"require": {
"types": "./index.d.ts",
"default": "./build.js"
}
},
"./package.json": "./package.json"
},
"author": {

@@ -21,3 +34,3 @@ "name": "Luke Edwards",

"engines": {
"node": ">= 10"
"node": ">=18"
},

@@ -24,0 +37,0 @@ "dependencies": {

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