From: Feross Aboukhadijeh Date: Tue, 22 Nov 2016 23:08:40 +0000 (-0300) Subject: standard fixes X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=ed9d8ce92f2c650373f5b85cc6f31d51170e1816;p=buffer.git standard fixes --- diff --git a/index.js b/index.js index 5cbf37f..439f860 100644 --- a/index.js +++ b/index.js @@ -1557,7 +1557,7 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) { // HELPER FUNCTIONS // ================ -var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g +var INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g function base64clean (str) { // Node strips out invalid characters like \n and \t from the string, base64-js does not