Comparing version 2.0.4 to 3.0.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
21844
6
337
1