single-file-core 1.5.31 → 1.5.32

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.
Files changed (2) hide show
  1. package/core/index.js +5 -1
  2. package/package.json +1 -1
package/core/index.js CHANGED
@@ -1252,7 +1252,11 @@ class Processor {
1252
1252
  }
1253
1253
  Array.from(frameElement.childNodes).forEach(node => node.remove());
1254
1254
  if (src && !testIgnoredPath(src)) {
1255
- url = util.resolveURL(src, this.baseURI);
1255
+ try {
1256
+ url = util.resolveURL(src, this.baseURI);
1257
+ } catch (error) {
1258
+ // ignored
1259
+ }
1256
1260
  if (this.options.saveOriginalURLs && src && !isDataURL(src)) {
1257
1261
  frameElement.setAttribute("data-sf-original-src", url);
1258
1262
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.5.31",
3
+ "version": "1.5.32",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",