Skip to content

Commit

Permalink
v1.2.2
Browse files Browse the repository at this point in the history
 - [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 `else`s
 - [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`
  • Loading branch information
ljharb committed Mar 25, 2017
1 parent a2ddc15 commit 8fdeb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "object-inspect",
"version": "1.2.1",
"version": "1.2.2",
"description": "string representations of objects in node and the browser",
"main": "index.js",
"devDependencies": {
Expand Down

0 comments on commit 8fdeb49

Please sign in to comment.