From edf8b55f2643b09dce49f57facee44bffdcdd7a2 Mon Sep 17 00:00:00 2001 From: Rafael Weinstein Date: Tue, 24 Jan 2017 13:12:09 -0800 Subject: [PATCH] dont use read ahead for map.first/last (#3110) --- js/noms/package.json | 2 +- js/noms/src/map.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/noms/package.json b/js/noms/package.json index f992df9fcf..0fddf71a6a 100644 --- a/js/noms/package.json +++ b/js/noms/package.json @@ -1,7 +1,7 @@ { "name": "@attic/noms", "license": "Apache-2.0", - "version": "69.0.0", + "version": "69.1.0", "description": "Noms JS SDK", "repository": "https://github.com/attic-labs/noms/tree/master/js/noms", "main": "dist/commonjs/noms.js", diff --git a/js/noms/src/map.js b/js/noms/src/map.js index 7ff0ef45d7..1d934e4e64 100644 --- a/js/noms/src/map.js +++ b/js/noms/src/map.js @@ -97,7 +97,7 @@ export default class Map extends } async _firstOrLast(last: boolean): Promise> { - const cursor = await newCursorAt(this.sequence, null, false, last, true); + const cursor = await newCursorAt(this.sequence, null, false, last, false); if (!cursor.valid) { return undefined; }