Comparing version 2.0.2 to 2.0.3
@@ -61,3 +61,3 @@ "use strict"; | ||
// beginning of the queue. | ||
for (var scan = 0; scan < index; scan++) { | ||
for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) { | ||
queue[scan] = queue[scan + index]; | ||
@@ -222,2 +222,1 @@ } | ||
// https://github.com/tildeio/rsvp.js/blob/cddf7232546a9cf858524b75cde6f9edf72620a7/lib/rsvp/asap.js | ||
{ | ||
"name": "asap", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "High-priority task queue for Node.js and browsers", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -33,3 +33,3 @@ "use strict"; | ||
var index = 0; | ||
// If a task schedules additional tasks recursively, the task queue can grown | ||
// If a task schedules additional tasks recursively, the task queue can grow | ||
// unbounded. To prevent memory excaustion, the task queue will periodically | ||
@@ -60,3 +60,3 @@ // truncate already-completed tasks. | ||
// beginning of the queue. | ||
for (var scan = 0; scan < index; scan++) { | ||
for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) { | ||
queue[scan] = queue[scan + index]; | ||
@@ -104,2 +104,1 @@ } | ||
} | ||
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
33531
8
0
0