@crawlee/memory-storage
Advanced tools
Comparing version 3.11.2-beta.15 to 3.11.2-beta.16
{ | ||
"name": "@crawlee/memory-storage", | ||
"version": "3.11.2-beta.15", | ||
"version": "3.11.2-beta.16", | ||
"description": "A simple in-memory storage implementation of the Apify API", | ||
@@ -52,3 +52,3 @@ "engines": { | ||
"@apify/log": "^2.4.0", | ||
"@crawlee/types": "3.11.2-beta.15", | ||
"@crawlee/types": "3.11.2-beta.16", | ||
"@sapphire/async-queue": "^1.5.0", | ||
@@ -70,3 +70,3 @@ "@sapphire/shapeshift": "^3.0.0", | ||
}, | ||
"gitHead": "304b582238af94b0b9e98d31458e3af696caf4c2" | ||
"gitHead": "69c9baad727994e2c3cfa6ed8d1ea561089c9ada" | ||
} |
@@ -266,3 +266,4 @@ "use strict"; | ||
const start = Date.now(); | ||
const isLocked = (r) => !r.orderNo || r.orderNo > start || r.orderNo < -start; | ||
// If there is no `orderNo` -> request was marked as handled | ||
const isLocked = (r) => r.orderNo && (r.orderNo > start || r.orderNo < -start); | ||
if (!isLocked(internalRequest)) { | ||
@@ -269,0 +270,0 @@ throw new Error(`Request with ID ${id} is not locked in queue ${queue.name ?? queue.id}`); |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
328547
2868
+ Added@crawlee/types@3.11.2-beta.16(transitive)
- Removed@crawlee/types@3.11.2-beta.15(transitive)