You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "engine" field in the package.json file is outdated and should be removed or corrected. The Sinon.js documentation page has a compatibility section wich states that Node 4 is the minimum requirement: http://sinonjs.org/releases/v4.1.0/
If you need Sinon on Node 0.12 please use Sinon 1.x. We require Node 4 since Sinon 2.
I am complaining because sinon supports old node.js, it's written in package.json https://github.com/sinonjs/sinon/blob/master/package.json#L95
Okay, I understand that it is not mainstream, but I have a package that should be working on old env.
And everything was okay until release of 4.1.0.
But than
supports-color
was added: https://github.com/sinonjs/sinon/pull/1583/files#diff-dab05c918e781b4a65cc1fdbcdc6a7aaR3Some options we could do:
.travis.yml
you are not testing on it anywaysupports-color
from dependenciesand put necessary code from
supports-color
tolib/sinon/color.js
supports-color
, to switch fromconst
&&let
, tovar
but actually I am not believing in this option =/Sinon version : 4.1.0
What did you expect to happen?
tests on node 0.12.0 works
What actually happens
no they not
The text was updated successfully, but these errors were encountered: