We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e87ba75 commit 31b7329Copy full SHA for 31b7329
lib/consolidate.js
@@ -17,7 +17,6 @@
17
var fs = require('fs');
18
var path = require('path');
19
var Promise = require('bluebird');
20
-var semver = require('semver');
21
22
var join = path.join;
23
var resolve = path.resolve;
@@ -1772,11 +1771,6 @@ exports.twing = fromStringRenderer('twing');
1772
1771
*/
1773
1774
exports.twing.render = function(str, options, cb) {
1775
- if (!semver.satisfies(process.version, '>=8.0.0')) {
1776
- return promisify(cb, function(cb) {
1777
- throw new Error('This node version is not supported for Twing 4 (used in consolidate/express.js). Please upgrade to at least node version >=8.x');
1778
- });
1779
- }
1780
return promisify(cb, function(cb) {
1781
var engine = requires.twing || (requires.twing = require('twing'));
1782
try {
0 commit comments