single-file-core 1.5.32 → 1.5.33

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
@@ -909,7 +909,11 @@ class Processor {
909
909
  }
910
910
  originalElement.childNodes.forEach(childNode => placeHolderElement.appendChild(childNode.cloneNode(true)));
911
911
  }
912
- templateElement.replaceWith(placeHolderElement);
912
+ try {
913
+ templateElement.replaceWith(placeHolderElement);
914
+ } catch (error) {
915
+ // ignored
916
+ }
913
917
  }
914
918
  });
915
919
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.5.32",
3
+ "version": "1.5.33",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",