Fixes #8163 The `isNodesEquivalent()` algorithm incorrectly assumes that any object properties must themselves be AST nodes, which is not the case here, causing the error.
@babel/types
Babel Types is a Lodash-esque utility library for AST nodes
See our website @babel/types for more information or the issues associated with this package.
Install
Using npm:
npm install --save-dev @babel/types
or using yarn:
yarn add @babel/types --dev