From df4f8cee4b97062b110ab5c5e3f670da30894dc7 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Sat, 8 Dec 2018 13:21:47 -0500 Subject: [PATCH] remove node 6 --- install/package.json | 3 +-- src/promisify.js | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/install/package.json b/install/package.json index 25d9fbbe9d..8e07119768 100644 --- a/install/package.json +++ b/install/package.json @@ -122,7 +122,6 @@ "spider-detector": "1.0.18", "toobusy-js": "^0.5.1", "uglify-es": "^3.3.9", - "util.promisify": "1.0.0", "validator": "10.9.0", "winston": "3.1.0", "xml": "^1.0.1", @@ -150,7 +149,7 @@ "url": "https://github.com/NodeBB/NodeBB/issues" }, "engines": { - "node": ">=6" + "node": ">=8" }, "maintainers": [ { diff --git a/src/promisify.js b/src/promisify.js index 9882cf2753..7b6721f8ec 100644 --- a/src/promisify.js +++ b/src/promisify.js @@ -1,8 +1,5 @@ 'use strict'; -// remove once node 6 support is removed -require('util.promisify/shim')(); - var util = require('util'); var _ = require('lodash');