From 336123fe05e7f80d79fc8522b4ff21a60fffe77c Mon Sep 17 00:00:00 2001 From: Nick Merwin Date: Wed, 20 Nov 2019 17:05:48 -0800 Subject: ES6 * remove unused variables * move `require`s at the top * check for prototype built-ins * run in strict mode * always check for error values in tests * make style consistent * mark Node.js 6 as the minimum supported version in package.json * Use the arrow return syntax * logger.js: use `Boolean` to make the intention clearer. * Use the rest params instead of arguments. * test/getOptions.js: beautify git data. * Update logger.js Remove `hasDebugEnvVariable` function; it's just a `process.env` check * Create .jshintrc --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 10bd072..51532c9 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "snyk": "^1.250.0" }, "engines": { - "node": ">=4.0.0" + "node": ">=6" }, "main": "index.js", "directories": { -- cgit v1.2.3