Socket
Socket
Sign inDemoInstall

@jest/fake-timers

Package Overview
Dependencies
Maintainers
7
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 26.5.2 to 26.6.0

12

build/legacyFakeTimers.js

@@ -105,4 +105,2 @@ 'use strict';

this.reset();
this._createMocks();
}

@@ -420,3 +418,11 @@

_checkFakeTimers() {
if (this._global.setTimeout !== this._fakeTimerAPIs.setTimeout) {
var _this$_fakeTimerAPIs;
if (
this._global.setTimeout !==
((_this$_fakeTimerAPIs = this._fakeTimerAPIs) === null ||
_this$_fakeTimerAPIs === void 0
? void 0
: _this$_fakeTimerAPIs.setTimeout)
) {
this._global.console.warn(

@@ -423,0 +429,0 @@ `A function to advance timers was called but the timers API is not ` +

{
"name": "@jest/fake-timers",
"version": "26.5.2",
"version": "26.6.0",
"repository": {

@@ -13,8 +13,8 @@ "type": "git",

"dependencies": {
"@jest/types": "^26.5.2",
"@jest/types": "^26.6.0",
"@sinonjs/fake-timers": "^6.0.1",
"@types/node": "*",
"jest-message-util": "^26.5.2",
"jest-mock": "^26.5.2",
"jest-util": "^26.5.2"
"jest-message-util": "^26.6.0",
"jest-mock": "^26.6.0",
"jest-util": "^26.6.0"
},

@@ -30,3 +30,3 @@ "devDependencies": {

},
"gitHead": "d2bacceb51e7f05c9cb6d764d5cd886a2fd71267"
"gitHead": "b254fd82fdedcba200e1c7eddeaab83a09bdaaef"
}
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