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

serve

Package Overview
Dependencies
Maintainers
4
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serve - npm Package Compare versions

Comparing version 6.5.1 to 6.5.2

2

lib/server.js

@@ -91,3 +91,3 @@ // Native

const ignored = !ignoredFiles.every(item => {
return !pathname.includes(item)
return !decodeURIComponent(pathname).includes(item)
})

@@ -94,0 +94,0 @@

{
"name": "serve",
"version": "6.5.1",
"version": "6.5.2",
"description": "Static file serving and directory listing",

@@ -8,3 +8,3 @@ "scripts": {

"lint": "xo",
"test": "npm run lint && NODE_ENV=test nyc ava"
"test": "yarn lint && NODE_ENV=test nyc ava"
},

@@ -30,3 +30,3 @@ "files": [

"*.js": [
"npm run lint",
"yarn lint",
"prettier --single-quote --no-semi --write",

@@ -49,4 +49,6 @@ "git add"

"lint-staged": "7.0.0",
"node-fetch": "2.1.1",
"nyc": "11.4.1",
"prettier": "1.11.0",
"prettier": "1.11.1",
"test-listen": "1.1.0",
"xo": "0.20.3"

@@ -60,3 +62,3 @@ },

"boxen": "1.3.0",
"chalk": "2.3.1",
"chalk": "2.3.2",
"clipboardy": "1.2.3",

@@ -63,0 +65,0 @@ "dargs": "5.1.0",

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