Add node modules and new code for release (#39)

Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-01-05 11:26:06 -05:00
committed by GitHub
parent a10d84bc2e
commit 7ad2aa66bb
7655 changed files with 1763577 additions and 14 deletions

15
node_modules/strip-bom/index.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
'use strict';
module.exports = string => {
if (typeof string !== 'string') {
throw new TypeError(`Expected a string, got ${typeof string}`);
}
// Catches EFBBBF (UTF-8 BOM) because the buffer-to-string
// conversion translates it to FEFF (UTF-16 BOM)
if (string.charCodeAt(0) === 0xFEFF) {
return string.slice(1);
}
return string;
};