Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jest/fake-timers

Package Overview
Dependencies
Maintainers
6
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/fake-timers - npm Package Compare versions

Comparing version 28.0.0-alpha.3 to 28.0.0-alpha.4

6

build/legacyFakeTimers.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc