@wordpress/priority-queue
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -75,4 +75,2 @@ /** | ||
var isRunning = false; | ||
/* eslint-disable jsdoc/valid-types */ | ||
/** | ||
@@ -85,4 +83,2 @@ * Callback to process as much queue as time permits. | ||
/* eslint-enable */ | ||
var runWaitingList = function runWaitingList(deadline) { | ||
@@ -89,0 +85,0 @@ var hasTimeRemaining = typeof deadline === 'number' ? function () { |
@@ -85,4 +85,2 @@ "use strict"; | ||
var isRunning = false; | ||
/* eslint-disable jsdoc/valid-types */ | ||
/** | ||
@@ -95,4 +93,2 @@ * Callback to process as much queue as time permits. | ||
/* eslint-enable */ | ||
var runWaitingList = function runWaitingList(deadline) { | ||
@@ -99,0 +95,0 @@ var hasTimeRemaining = typeof deadline === 'number' ? function () { |
{ | ||
"name": "@wordpress/priority-queue", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Generic browser priority queue.", | ||
@@ -33,3 +33,3 @@ "author": "The WordPress Contributors", | ||
}, | ||
"gitHead": "8e06f0d212f89adba9099106497117819adefc5a" | ||
"gitHead": "07baf5a12007d31bbd4ee22113b07952f7eacc26" | ||
} |
@@ -77,3 +77,2 @@ /** | ||
/* eslint-disable jsdoc/valid-types */ | ||
/** | ||
@@ -85,3 +84,2 @@ * Callback to process as much queue as time permits. | ||
*/ | ||
/* eslint-enable */ | ||
const runWaitingList = ( deadline ) => { | ||
@@ -88,0 +86,0 @@ const hasTimeRemaining = |
@@ -5,5 +5,6 @@ { | ||
"rootDir": "src", | ||
"declarationDir": "build-types" | ||
"declarationDir": "build-types", | ||
"types": [ "requestidlecallback" ] | ||
}, | ||
"include": [ "src/**/*" ] | ||
} |
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
72395
678