From 5a280de6c28916bf9bbef7f5aa0ab4979e9d60f3 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Sat, 10 Mar 2018 22:27:58 +0100 Subject: [PATCH] Remove buffers `noAssert` argument The support for the `noAssert` argument dropped for the upcoming Node.js 10.x release. This just removes the argument and should not have any further impact. --- headers/entryHeader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/entryHeader.js b/headers/entryHeader.js index 9a0e1bd..65b019e 100644 --- a/headers/entryHeader.js +++ b/headers/entryHeader.js @@ -213,7 +213,7 @@ module.exports = function () { // modification time (2 bytes time, 2 bytes date) data.writeUInt32LE(_time, Constants.CENTIM); // uncompressed file crc-32 value - data.writeInt32LE(_crc, Constants.CENCRC, true); + data.writeInt32LE(_crc, Constants.CENCRC); // compressed size data.writeUInt32LE(_compressedSize, Constants.CENSIZ); // uncompressed size