time-queues 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -329,5 +329,6 @@ This project is licensed under the BSD-3-Clause License.
329
329
 
330
330
  ## Release History
331
331
 
332
- * 1.0.1 Minor update in README. No need to upgrade.*
332
+ * 1.0.2 *Updated deps (`list-toolkit`).*
333
+ * 1.0.1 *Minor update in README. No need to upgrade.*
333
334
  * 1.0.0 *Initial release.*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "time-queues",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Time queues to organize multitasking and scheduled tasks.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -37,6 +37,6 @@
37
37
  "tape-six": "^0.9.5"
38
38
  },
39
39
  "dependencies": {
40
- "list-toolkit": "^1.0.2"
40
+ "list-toolkit": "^2.0.0"
41
41
  }
42
42
  }
package/src/FrameQueue.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- import List from 'list-toolkit/List.js';
3
+ import List from 'list-toolkit/list.js';
4
4
  import ListQueue from './ListQueue.js';
5
5
 
6
6
  export class FrameQueue extends ListQueue {
package/src/IdleQueue.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- import List from 'list-toolkit/List.js';
3
+ import List from 'list-toolkit/list.js';
4
4
  import ListQueue from './ListQueue.js';
5
5
 
6
6
  // Based on information from https://developer.mozilla.org/en-US/docs/Web/API/Background_Tasks_API
package/src/ListQueue.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- import List from 'list-toolkit/List.js';
3
+ import List from 'list-toolkit/list.js';
4
4
  import MicroTaskQueue from './MicroTaskQueue.js';
5
5
 
6
6
  export class ListQueue extends MicroTaskQueue {
package/src/Scheduler.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- import MinHeap from 'list-toolkit/MinHeap.js';
3
+ import MinHeap from 'list-toolkit/heap.js';
4
4
  import MicroTask from './MicroTask.js';
5
5
  import MicroTaskQueue from './MicroTaskQueue.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- import List from 'list-toolkit/List.js';
3
+ import List from 'list-toolkit/list.js';
4
4
 
5
5
  const waitingForDom = new List();
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- import List from 'list-toolkit/List.js';
3
+ import List from 'list-toolkit/list.js';
4
4
 
5
5
  const waitingForLoad = new List();
6
6