3rd-Eden / FlashPolicyFileServer

A simple Flash Policy File Server for node
localhost:843
MIT License
39 stars 11 forks source link

process.EventEmitter is going to be removed in Node.js 7, use require('events') #9

Closed ChALkeR closed 7 years ago

ChALkeR commented 8 years ago

process.EventEmitter was deprecated in Node.js 6 and is going to be removed in Node.js 7, use require('events') as a drop-in replacement.

Refs: https://github.com/nodejs/node/pull/5049, https://github.com/nodejs/node/pull/6862.

Used on lib/server.js#L253 and in tests.

jvilk commented 7 years ago

+1. Please fix this. This library no longer functions in Node 7, which prevents other libraries -- like websockify -- from working.

BrianLenzo commented 7 years ago

This is now completely broken with Node 7.

3rd-Eden commented 7 years ago

Published 0.0.6 with a fix, apologies for the inconvenience this caused.