vandium-io / lambda-tester

Helper for unit testing AWS Lambda functions
BSD 3-Clause "New" or "Revised" License
272 stars 51 forks source link

change target version check to <= instead of !== #14

Closed S0yKaf closed 7 years ago

S0yKaf commented 7 years ago

Having the version check be !== made the package only work on 1 very specific version of nodejs 4.3.2, this is an undesired behavior and doesn't reflect the target version inside the package.json

These changes make this version check match the version requirements defined inside the package.json >= 4.3.2 and also adds a check to make sure the node version isn't greater then 7.0.0 as this version isn't currently supported by this package.

This is a fix to #13