From 1063cc6117e5cadb087ffebb9cbe469ad6d08288 Mon Sep 17 00:00:00 2001 From: tycrek Date: Tue, 6 Apr 2021 01:18:43 -0600 Subject: [PATCH] APPLE FIX YOUR SHITTY DEVICES --- zws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zws.js b/zws.js index 6d051fd..75526a0 100755 --- a/zws.js +++ b/zws.js @@ -1,3 +1,3 @@ const { randomBytes } = require('crypto'); -const zeroWidthChars = ['\u200B', '\u200C', '\u200D', '\u2060', '\u180E']; +const zeroWidthChars = ['\u200B', '\u200C', '\u200D', '\u2060']; module.exports = (size) => [...randomBytes(size)].map(byte => zeroWidthChars[+byte % zeroWidthChars.length]).join('').slice(1) + zeroWidthChars[0];