Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -72,6 +72,15 @@ class Any extends AsymmetricMatcher {
if (this.sample == Boolean) {
return typeof other == 'boolean';
}
/* global BigInt */
if (this.sample == BigInt) {
return typeof other == 'bigint';
}
if (this.sample == Symbol) {
return typeof other == 'symbol';
}
return other instanceof this.sample;
}