You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@wordpress/priority-queue

Package Overview
Dependencies
Maintainers
16
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/priority-queue - npm Package Compare versions

Comparing version

to
1.10.0

10

build-types/index.d.ts

@@ -13,7 +13,7 @@ export function createQueue(): WPPriorityQueue;

*/
export type WPPriorityQueueAdd = (element: {}, item: () => void) => void;
export type WPPriorityQueueAdd = (element: WPPriorityQueueContext, item: WPPriorityQueueCallback) => void;
/**
* Function to flush callbacks from priority queue.
*/
export type WPPriorityQueueFlush = (element: {}) => boolean;
export type WPPriorityQueueFlush = (element: WPPriorityQueueContext) => boolean;
/**

@@ -30,12 +30,12 @@ * Reset the queue.

*/
add: (element: {}, item: () => void) => void;
add: WPPriorityQueueAdd;
/**
* Flush queue for context.
*/
flush: (element: {}) => boolean;
flush: WPPriorityQueueFlush;
/**
* Reset queue.
*/
reset: () => void;
reset: WPPriorityQueueReset;
};
//# sourceMappingURL=index.d.ts.map

@@ -7,6 +7,6 @@ /**

*/
export function createRequestIdleCallback(): (callback: (timeOrDeadline: number | IdleDeadline) => void) => void;
declare function _default(callback: (timeOrDeadline: number | IdleDeadline) => void): void;
export function createRequestIdleCallback(): (callback: Callback) => void;
declare function _default(callback: Callback): void;
export default _default;
export type Callback = (timeOrDeadline: number | IdleDeadline) => void;
export type Callback = (timeOrDeadline: IdleDeadline | number) => void;
//# sourceMappingURL=request-idle-callback.d.ts.map
{
"name": "@wordpress/priority-queue",
"version": "1.9.0",
"version": "1.10.0",
"description": "Generic browser priority queue.",

@@ -28,3 +28,3 @@ "author": "The WordPress Contributors",

"dependencies": {
"@babel/runtime": "^7.11.2"
"@babel/runtime": "^7.12.5"
},

@@ -34,3 +34,3 @@ "publishConfig": {

},
"gitHead": "cbcd167ffb9b67f87a79df71d95aa48dc4db1a64"
"gitHead": "0f57de12b3c47128b216629b08e5c1657e1ee329"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet