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

@types/scheduler

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/scheduler - npm Package Compare versions

Comparing version 0.10.0 to 0.12.0

15

scheduler/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for scheduler 0.10
// Type definitions for scheduler 0.12
// Project: https://reactjs.org/

@@ -7,7 +7,3 @@ // Definitions by: Nathan Bierema <https://github.com/Methuselah96>

export interface Deadline {
timeRemaining(): number;
didTimeout: boolean;
}
export type FrameCallbackType = (deadline: Deadline) => FrameCallbackType | void;
export type FrameCallbackType = () => FrameCallbackType | void;
export interface CallbackNode {

@@ -24,3 +20,4 @@ callback: FrameCallbackType;

export const unstable_NormalPriority = 3;
export const unstable_IdlePriority = 4;
export const unstable_IdlePriority = 5;
export const unstable_LowPriority = 4;
export function unstable_runWithPriority<T>(priorityLevel: number, eventHandler: () => T): T | undefined;

@@ -31,2 +28,6 @@ export function unstable_scheduleCallback(callback: FrameCallbackType, deprecated_options?: { timeout: number}): CallbackNode;

export function unstable_getCurrentPriorityLevel(): number;
export function unstable_shouldYield(): boolean;
export function unstable_continueExecution(): void;
export function unstable_pauseExecution(): void;
export function unstable_getFirstCallbackNode(): CallbackNode | null;
export function unstable_now(): number;
{
"name": "@types/scheduler",
"version": "0.10.0",
"version": "0.12.0",
"description": "TypeScript definitions for scheduler",

@@ -14,3 +14,3 @@ "license": "MIT",

"main": "",
"types": "",
"types": "index",
"repository": {

@@ -22,4 +22,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "d4281c8c1bd9933ea6a15d652a403b1634b421e909716ccb1975099cec306109",
"typesPublisherContentHash": "680b4cf0ac8677e33e3a79157bc92e59a8f5a63fd92226112bd9f218871e4c0f",
"typeScriptVersion": "2.1"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 05 Nov 2018 06:21:20 GMT
* Last updated: Fri, 18 Jan 2019 00:37:36 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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