@jest/fake-timers
Advanced tools
Comparing version 28.0.0-alpha.3 to 28.0.0-alpha.4
@@ -122,3 +122,5 @@ 'use strict'; | ||
if (!this._cancelledTicks.hasOwnProperty(tick.uuid)) { | ||
if ( | ||
!Object.prototype.hasOwnProperty.call(this._cancelledTicks, tick.uuid) | ||
) { | ||
// Callback may throw, so update the map prior calling. | ||
@@ -537,3 +539,3 @@ this._cancelledTicks[tick.uuid] = true; | ||
this._timerAPIs.nextTick(() => { | ||
if (!cancelledTicks.hasOwnProperty(uuid)) { | ||
if (!Object.prototype.hasOwnProperty.call(cancelledTicks, uuid)) { | ||
// Callback may throw, so update the map prior calling. | ||
@@ -540,0 +542,0 @@ cancelledTicks[uuid] = true; |
{ | ||
"name": "@jest/fake-timers", | ||
"version": "28.0.0-alpha.3", | ||
"version": "28.0.0-alpha.4", | ||
"repository": { | ||
@@ -20,8 +20,8 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^28.0.0-alpha.3", | ||
"@jest/types": "^28.0.0-alpha.4", | ||
"@sinonjs/fake-timers": "^9.1.0", | ||
"@types/node": "*", | ||
"jest-message-util": "^28.0.0-alpha.3", | ||
"jest-mock": "^28.0.0-alpha.3", | ||
"jest-util": "^28.0.0-alpha.3" | ||
"jest-message-util": "^28.0.0-alpha.4", | ||
"jest-mock": "^28.0.0-alpha.4", | ||
"jest-util": "^28.0.0-alpha.4" | ||
}, | ||
@@ -37,3 +37,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "fc30b27bd94bb7ebeaadc72626ebbdba535150d2" | ||
"gitHead": "c13dab19491ba6b57c2d703e7d7c4b20189e1e17" | ||
} |
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
25138
799
Updated@jest/types@^28.0.0-alpha.4
Updatedjest-mock@^28.0.0-alpha.4
Updatedjest-util@^28.0.0-alpha.4