Closed ariya closed 9 years ago
This is particularly important when you are adopting the forthcoming version of Esprima that adds sourceType to the Program node (https://github.com/jquery/esprima/issues/1159).
sourceType
Program
Without the change, the node comparison may fail and therefore some unit tests will not pass.
Nice, thanks for the heads up.
:+1: In addition to this, we start to include jsfmt as part of the CI process (https://github.com/jquery/esprima/pull/1288), to ensure that no future version will regress jsfmt!
This is particularly important when you are adopting the forthcoming version of Esprima that adds
sourceType
to theProgram
node (https://github.com/jquery/esprima/issues/1159).Without the change, the node comparison may fail and therefore some unit tests will not pass.