Comparing version 1.8.0 to 1.8.1
@@ -338,8 +338,2 @@ "use strict"; | ||
case 'M': // Memo | ||
while (len > 0 && buffer[offset] === 0x20) | ||
++offset, --len; | ||
if (len === 0) { | ||
value = null; | ||
break; | ||
} | ||
let blockIndex = dbf._version === 0x30 | ||
@@ -349,2 +343,6 @@ ? int32At(offset, len) | ||
offset += len; | ||
if (isNaN(blockIndex) || blockIndex === 0) { | ||
value = null; | ||
break; | ||
} | ||
// If the memo file is missing and we get this far, we must be in 'loose' read mode. | ||
@@ -351,0 +349,0 @@ // Skip reading the memo value and continue with the next field. |
{ | ||
"name": "dbffile", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "Read and write .dbf (dBase III & Visual FoxPro) files in Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
184255
918