single-file-core 1.0.45 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",
@@ -325,6 +325,7 @@ async function getFetchResponse(resourceURL, options, data, charset, contentType
325
325
  charset = "utf-8";
326
326
  data = new TextDecoder(charset).decode(data);
327
327
  }
328
+ data = data.replace(/\ufeff/gi, "");
328
329
  }
329
330
  } else {
330
331
  data = options.asBinary ? helper.EMPTY_RESOURCE : "";