* feat: add cloneDeepWithoutLoc * fix: sort functions alphabetically * doc: add documentation for the withoutLoc parameter * test: add a test for shallow cloneWithoutLoc * test: add loc object to node and fix test * fix: set loc object on deeper node * test: check loc on deeper node is null * doc: adjust withoutLoc documentation * fix: add withoutLoc param to deep clones * fix: apply cloneIfNodeOrArray for leadingComments, innerComments and trailingComments * test: add test for leadingComments, innerComments and trailingComments * Cleanup PR Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
@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