From 81bd7ecdada569f1f36dfaa66661579173608247 Mon Sep 17 00:00:00 2001 From: Amith Mohanan Date: Thu, 7 Oct 2021 22:09:05 +0530 Subject: [PATCH] fix: Remove duplicate named export `txt` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7d950b0..aae0a80 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ const NOT_FLUSH_MASK = ~FLUSH_MASK const QU_MASK = 1 << 15 const NOT_QU_MASK = ~QU_MASK -const name = exports.txt = exports.name = {} +const name = exports.name = {} name.encode = function (str, buf, offset) { if (!buf) buf = Buffer.alloc(name.encodingLength(str))