Comparing version 1.0.2 to 1.0.3
@@ -1,3 +0,7 @@ | ||
1.0.2 2016-12-06 | ||
1.0.3 2016-01-03 | ||
---------------- | ||
- Fixed toString for ObjectId so it will work with inspect. | ||
1.0.2 2016-01-02 | ||
---------------- | ||
- Minor optimizations for ObjectID to use Buffer.from where available. | ||
@@ -4,0 +8,0 @@ |
@@ -174,3 +174,3 @@ /** | ||
if(this.id && this.id.copy) { | ||
return this.id.toString(format || 'hex'); | ||
return this.id.toString(typeof format === 'string' ? format : 'hex'); | ||
} | ||
@@ -177,0 +177,0 @@ |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": "Christian Amor Kvalheim <christkv@gmail.com>", | ||
@@ -18,0 +18,0 @@ "contributors": [], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
724624