Comparing version 9.1.1 to 9.1.2
@@ -28,7 +28,7 @@ #!/usr/bin/env node | ||
const warning = message => chalk`{yellow WARNING:} ${message}`; | ||
const info = message => chalk`{magenta INFO:} ${message}`; | ||
const error = message => chalk`{red ERROR:} ${message}`; | ||
const warning = (message) => chalk`{yellow WARNING:} ${message}`; | ||
const info = (message) => chalk`{magenta INFO:} ${message}`; | ||
const error = (message) => chalk`{red ERROR:} ${message}`; | ||
const updateCheck = async isDebugging => { | ||
const updateCheck = async (isDebugging) => { | ||
let update = null; | ||
@@ -107,3 +107,3 @@ | ||
const parseEndpoint = str => { | ||
const parseEndpoint = (str) => { | ||
if (!isNaN(str)) { | ||
@@ -142,3 +142,3 @@ return [str]; | ||
const registerShutdown = fn => { | ||
const registerShutdown = (fn) => { | ||
let run = false; | ||
@@ -163,3 +163,3 @@ | ||
server.on('error', err => { | ||
server.on('error', (err) => { | ||
console.error(error(`Failed to serve: ${err.stack}`)); | ||
@@ -166,0 +166,0 @@ process.exit(1); |
{ | ||
"name": "serve", | ||
"version": "9.1.1", | ||
"version": "9.1.2", | ||
"description": "Static file serving and directory listing", | ||
@@ -26,5 +26,5 @@ "scripts": { | ||
"devDependencies": { | ||
"@zeit/eslint-config-node": "0.2.13", | ||
"@zeit/eslint-config-node": "0.3.0", | ||
"@zeit/git-hooks": "0.1.4", | ||
"eslint": "4.19.1" | ||
"eslint": "5.0.1" | ||
}, | ||
@@ -40,4 +40,4 @@ "eslintConfig": { | ||
"dependencies": { | ||
"@zeit/schemas": "1.2.0", | ||
"ajv": "6.5.1", | ||
"@zeit/schemas": "1.5.1", | ||
"ajv": "6.5.2", | ||
"arg": "2.0.0", | ||
@@ -47,5 +47,5 @@ "boxen": "1.3.0", | ||
"clipboardy": "1.2.3", | ||
"serve-handler": "3.2.1", | ||
"serve-handler": "3.2.3", | ||
"update-check": "1.5.2" | ||
} | ||
} |
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
14720
+ Added@zeit/schemas@1.5.1(transitive)
+ Addedajv@6.5.2(transitive)
+ Addedserve-handler@3.2.3(transitive)
- Removed@zeit/schemas@1.2.0(transitive)
- Removedajv@6.5.1(transitive)
- Removedserve-handler@3.2.1(transitive)
Updated@zeit/schemas@1.5.1
Updatedajv@6.5.2
Updatedserve-handler@3.2.3