Skip to content

v7.0.2

Choose a tag to compare

@XhmikosR XhmikosR released this 25 Apr 07:25
· 10 commits to main since this release

What's Changed

Fixed

  • Options object passed to the Walker constructor is no longer mutated
  • Options object passed to parse() is no longer mutated when allowHashBang is absent

Performance

  • stopWalking() now exits all three traversal loops immediately
  • Object node properties are now iterated with Object.keys instead of Object.entries
  • Primitive and null values are skipped

Internal

  • isObject converted from a module-level function to a private class method (#isObject)
  • Added JSDoc annotations for traverse, moonwalk, stopWalking, #reverseTraverse, and #isObject

Full Changelog: v7.0.1...v7.0.2