From: Linus Unnebäck Date: Tue, 23 Jan 2024 10:47:31 +0000 (+0100) Subject: Fix linting errors (#340) X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=56a89ebc942c461e13f35bd3a05eb938919eda6b;p=buffer.git Fix linting errors (#340) --- diff --git a/index.js b/index.js index 8cb261d..dad9152 100644 --- a/index.js +++ b/index.js @@ -2119,16 +2119,16 @@ const hexSliceLookupTable = (function () { // hex lookup table for Buffer.from(x, 'hex') const hexCharValueTable = { - '0': 0, - '1': 1, - '2': 2, - '3': 3, - '4': 4, - '5': 5, - '6': 6, - '7': 7, - '8': 8, - '9': 9, + 0: 0, + 1: 1, + 2: 2, + 3: 3, + 4: 4, + 5: 5, + 6: 6, + 7: 7, + 8: 8, + 9: 9, a: 10, b: 11, c: 12,