Skip to content

Releases: inspect-js/object-inspect

v1.4.0

25 Aug 14:43
Compare
Choose a tag to compare
  • [New] add support for util.inspect.custom, in node only
  • [Tests] up to node v8.8; use nvm install-latest-npm to ensure new npm doesn’t break old node
  • [Tests] add npm run coverage
  • [Dev Deps] update core-js, tape

v1.3.0

25 Aug 14:43
Compare
Choose a tag to compare
  • [New] add support for arrays with additional object keys
  • [Fix] Map/Set: work around core-js bug < v2.5.0 (#9)
  • [Tests] up to node v8.2, v7.10, v6.11; fix new npm breaking on older nodes
  • [Dev Deps] update tape
  • Only apps should have lockfiles

v1.2.2

25 Aug 14:43
Compare
Choose a tag to compare
  • [Fix] differentiate -0 from 0 (#8)
  • [Robustness] cache Object.prototype.toString
  • [Performance] avoid recreating lowbyte function every time
  • [Performance] check for primitive types as early as possible.
  • [Robustness] use typeof instead of comparing to literal undefined
  • [Refactor] explicitly coerce Error objects to strings
  • [Refactor] remove unneeded elses
  • [Refactor] consolidate wrapping logic for boxed primitives into a function
  • [Refactor] consolidate Map/Set notations.
  • [Refactor] split up var declarations for debuggability
  • [Refactor] move object key gathering into separate function
  • [Tests] up to node v7.7, v6.10, v5.12, v4.8; improve test matrix
  • [Tests] ensure that this function remains anonymous, despite ES6 name inference.
  • [Dev Deps] update tape