Comparing version 2.1.3 to 2.1.4
{ | ||
"root": true, | ||
"extends": "eslint-config-jane" | ||
"extends": "eslint-config-zacanger" | ||
} |
12
index.js
@@ -13,8 +13,8 @@ #!/usr/bin/env node | ||
const version = `♡ luvi ${pkg.version}` | ||
const each = require('zeelib/lib/each').default | ||
const mix = require('zeelib/lib/mix').default | ||
const clrs = require('zeelib/lib/colorize').default | ||
const filter = require('zeelib/lib/filter').default | ||
const isArrayLike = require('zeelib/lib/is-array-like').default | ||
const exit = require('zeelib/lib/exit').default | ||
const each = require('zeelib/lib/each') | ||
const mix = require('zeelib/lib/mix') | ||
const clrs = require('zeelib/lib/colorize') | ||
const filter = require('zeelib/lib/filter') | ||
const isArrayLike = require('zeelib/lib/is-array-like') | ||
const exit = require('zeelib/lib/exit') | ||
@@ -21,0 +21,0 @@ let servers = isArrayLike(config) |
@@ -5,6 +5,6 @@ const http = require('http') | ||
const clrs = require('zeelib/lib/colorize').default | ||
const mix = require('zeelib/lib/mix').default | ||
const open = require('zeelib/lib/open').default | ||
const findPort = require('zeelib/lib/find-port').default | ||
const clrs = require('zeelib/lib/colorize') | ||
const mix = require('zeelib/lib/mix') | ||
const open = require('zeelib/lib/open') | ||
const findPort = require('zeelib/lib/find-port') | ||
@@ -11,0 +11,0 @@ const notFound = require('./not-found') |
const { readFileSync } = require('fs') | ||
const { resolve } = require('path') | ||
function readFile () { | ||
const file = resolve.apply(null, arguments) | ||
const readFile = (...args) => { | ||
const file = resolve.apply(null, args) | ||
try { | ||
@@ -7,0 +7,0 @@ return readFileSync(file, { encoding: 'utf8' }) |
const { resolve } = require('path') | ||
const readFile = require('./read-file') | ||
function readJSON () { | ||
const file = resolve.apply(null, arguments) | ||
const readJSON = (...args) => { | ||
const file = resolve.apply(null, args) | ||
const content = readFile(file) | ||
@@ -7,0 +7,0 @@ |
{ | ||
"name": "luvi", | ||
"description": "Dev server with simple config and API.", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"author": "Zac Anger <zac@zacanger.com> (http://zacanger.com)", | ||
@@ -40,16 +40,16 @@ "license": "MIT", | ||
"serve-static": "1.13.2", | ||
"zeelib": "6.1.4" | ||
"zeelib": "6.2.0" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "8.2.2", | ||
"eslint": "4.18.1", | ||
"eslint-config-jane": "0.11.0", | ||
"eslint-plugin-babel": "4.1.2", | ||
"eslint-plugin-import": "2.9.0", | ||
"eslint-plugin-promise": "3.6.0", | ||
"eslint-plugin-unicorn": "4.0.2" | ||
"babel-eslint": "8.2.3", | ||
"eslint": "4.19.1", | ||
"eslint-config-zacanger": "3.1.1", | ||
"eslint-plugin-babel": "5.1.0", | ||
"eslint-plugin-import": "2.11.0", | ||
"eslint-plugin-promise": "3.7.0", | ||
"eslint-plugin-unicorn": "4.0.3" | ||
}, | ||
"engines": { | ||
"node": ">=6.4.0" | ||
"node": ">=8.11.1" | ||
} | ||
} |
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
13229
+ Addedzeelib@6.2.0(transitive)
- Removedzeelib@6.1.4(transitive)
Updatedzeelib@6.2.0