Comparing version 3.0.4 to 3.0.5
@@ -108,2 +108,6 @@ class Format { | ||
printValue () { | ||
/* istanbul ignore next - no BigInt on node v8 and before */ | ||
if (typeof this.object === 'bigint') | ||
return this.object.toString() + 'n' | ||
switch (typeof this.object) { | ||
@@ -110,0 +114,0 @@ case 'undefined': |
@@ -30,2 +30,4 @@ const Format = require('./format.js') | ||
: pattern === Boolean ? typeof obj === 'boolean' | ||
: pattern === global.BigInt | ||
? /* istanbul ignore next - no BigInt on node v8 and before */ typeof obj === 'bigint' | ||
: pattern === Map ? this.isMap() | ||
@@ -32,0 +34,0 @@ : pattern === Set ? this.isSet() |
{ | ||
"name": "tcompare", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "A comprehensive comparison library, for use in test frameworks", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
40050
1147