Skip to content

Releases: inspect-js/object-inspect

v1.10.3

08 May 03:50
v1.10.3
45c20d6
Compare
Choose a tag to compare
  • [Fix] handle core-js Symbol shams
  • [readme] update badges

v1.10.2

08 May 03:07
v1.10.2
728ebc2
Compare
Choose a tag to compare
  • [Fix] use a robust check for a boxed Symbol

v1.10.1

08 May 03:07
v1.10.1
5753ace
Compare
Choose a tag to compare
  • [Fix] use a robust check for a boxed bigint

v1.10.0

08 May 03:07
v1.10.0
15e6c3e
Compare
Choose a tag to compare
  • [New] add WeakRef support
  • [New] respect Symbol.toStringTag on objects
  • [Fix] do not allow Symbol.toStringTag to masquerade as builtins
  • [meta] use prepublishOnly script for npm 7+
  • [meta] create FUNDING.yml
  • [meta] do not publish github action workflow files
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, tape
  • [actions] use node/install instead of node/run; use codecov action
  • [Tests] increase coverage

v1.9.0

08 May 03:07
v1.9.0
33bdee9
Compare
Choose a tag to compare
  • [New] add enumerable properties to Function inspect result, per node’s assert
  • [New] add enumerable own Symbols to plain object output
  • [Fix] hex characters in strings should be uppercased, to match node assert
  • [Robustness] cache Symbol.prototype.toString
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, core-js
  • [meta] require-allow-edits no longer requires an explicit github token
  • [actions] update rebase checkout action to v2
  • [actions] add "Require Allow Edits" action
  • [actions] switch Automatic Rebase workflow to pull_request_target event
  • [Tests] migrate tests to Github Actions
  • [Tests] run nyc on all tests
  • [Tests] node 0.8 has an unpredictable property order; fix groups test by removing property
  • [Tests] fix tests for node < 10, due to regex match groups
  • [Tests] add passing tests

v1.8.0

29 Aug 21:20
6b0a54d
Compare
Choose a tag to compare
  • [New] add indent option (#13)
  • [New] add customInspect option, to disable custom inspect methods
  • [New] add maxStringLength option
  • [Fix] do not be fooled by a function’s own toString method
  • [Fix] when truncating a deep array, note it as [Array] instead of just [Object]
  • [patch] indicate explicitly that anon functions are anonymous, to match node
  • [readme] fix repo URLs, remove testling
  • [meta] add safe-publish-latest
  • [Tests] add Date and RegExp tests
  • [Tests] add codecov
  • [actions] add automatic rebasing / merge commit blocking
  • [Dev Deps] update eslint, @ljharb/eslint-config, core-js, tape; add aud; loosen the core-js dep

v1.7.0

29 Aug 21:20
7dd1224
Compare
Choose a tag to compare
  • [New] add support for WeakMap and WeakSet
  • [Refactor] add early bailout to isMap and isSet checks
  • [meta] add funding field
  • [meta] add copyright to LICENSE (#21)
  • [Dev Deps] update eslint, @ljharb/eslint-config, core-js, tape
  • [Tests] use shared travis-ci configs
  • [Tests] use npx aud in posttest
  • [Tests] Fix invalid strict-mode syntax with hexadecimal (#22)
  • [Tests] add linting

v1.6.0

25 Aug 14:44
0ac0417
Compare
Choose a tag to compare
  • [New] add support for boxed BigInt primitives
  • [New] Add support for upcoming BigInt (#19)
  • [Dev Deps] update core-js, tape
  • [Tests] run bigint tests in CI with --harmony-bigint flag
  • [Tests] up to node v10.0, v9.11, v8.11, v6.14, v4.9
  • [Docs] fix example to use safer-buffer

v1.5.0

25 Aug 14:44
ff3f327
Compare
Choose a tag to compare
  • [New] add quoteStyle option
  • [Tests] require 0.6 to pass
  • [Tests] add more test coverage

v1.4.1

25 Aug 14:44
a77008f
Compare
Choose a tag to compare
  • [Fix] inspect(Object(-0)) should be “Object(-0)”, not “Object(0)”
  • [Tests] up to node v9.3, v8.9, v6.12