v4.0.0
<a name"4.0.0">
4.0.0 (2018-10-15)
Features
- change error comparison algorithm again (#59) (50f229d5)
- change error comparison algorithm (#57) (62e2d514)
Breaking Changes
-
As described in GH Issue #58, the previous change
to the error comparison algorithm isn't compatible with IE and
Safari due to those browsers adding extra enumerable properties
ontoError
objects. This commit causesError
objects to only
include theirname
,message
, andcode
properties in the
comparison, regardless of enumerability.
(50f229d5) -
This commit drops support for versions of Node
that are no longer maintained. -
feat: change error comparison algorithm
BREAKING CHANGE: Previously, Error
objects were compared using
strict equality. This commit causes Error
objects to be compared
using deep equality instead, but treats them as a special case by
including their name
and message
properties in the comparison,
regardless of enumerability.
(62e2d514)