Socket
Socket
Sign inDemoInstall

serve

Package Overview
Dependencies
Maintainers
181
Versions
152
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 13.0.3 to 13.0.4

2

bin/serve.js

@@ -301,3 +301,3 @@ #!/usr/bin/env node

} catch (err) {
if (err.code === 'ENOENT') {
if (err.code === 'ENOENT' && file !== args['--config']) {
continue;

@@ -304,0 +304,0 @@ }

{
"name": "serve",
"version": "13.0.3",
"version": "13.0.4",
"description": "Static file serving and directory listing",
"scripts": {
"test": "yarn lint",
"lint": "zeit-eslint --ext .jsx,.js .",
"lint-staged": "git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"
"test": ""
},

@@ -18,3 +16,3 @@ "files": [

"keywords": [
"now",
"vercel",
"serve",

@@ -24,17 +22,3 @@ "micro",

],
"author": "leo",
"license": "MIT",
"devDependencies": {
"@zeit/eslint-config-node": "0.3.0",
"@zeit/git-hooks": "0.1.4",
"eslint": "5.4.0"
},
"eslintConfig": {
"extends": [
"@zeit/eslint-config-node"
]
},
"git": {
"pre-commit": "lint-staged"
},
"dependencies": {

@@ -41,0 +25,0 @@ "@zeit/schemas": "2.6.0",

@@ -64,3 +64,3 @@ ![](https://assets.vercel.com/image/upload/v1527770721/repositories/serve/serve-repo-banner.png)

return handler(request, response);
})
});

@@ -88,2 +88,2 @@ server.listen(3000, () => {

Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [Vercel](https://vercel.com)
Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo))

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc