brainsiq / hapi-boom-decorators

Decorates a Hapi server's response toolkit with functions to make it easy to reply with Boom errors
MIT License
29 stars 6 forks source link

Node versions supported #39

Closed millette closed 7 years ago

millette commented 7 years ago

With the recent change https://github.com/brainsiq/hapi-boom-decorators/commit/02fa06af1f37114f04cc82eab78e3923df8edd86, Node 4.x isn't supported anymore.

Is there a way to keep support for Node 4 (the "..." argument is failing)?

Otherwise, please update the package.json engine field and maybe consider this a major (breaking) change?

brainsiq commented 7 years ago

Yes I should be able to use apply instead of the spread operator.

brainsiq commented 7 years ago

I've published v2.2.1 which should fix that for you.

millette commented 7 years ago

Awesome, thanks a lot!