Using curly in Node V6.9.1 I receive:
DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.
This is coming from line 51 in index.js:
Request.prototype.__proto__ = process.EventEmitter.prototype;
In version 7, process.EventEmitter has been removed and this line throws an error.
Request.prototype.__proto__ = process.EventEmitter.prototype;
TypeError: Cannot read property 'prototype' of undefined
Replacing with Request.prototype.__proto__ = require('events').prototype; seems to work.
Using curly in Node V6.9.1 I receive:
DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.This is coming from line 51 in index.js:
Request.prototype.__proto__ = process.EventEmitter.prototype;In version 7, process.EventEmitter has been removed and this line throws an error.
Request.prototype.__proto__ = process.EventEmitter.prototype;TypeError: Cannot read property 'prototype' of undefinedReplacing with
Request.prototype.__proto__ = require('events').prototype;seems to work.