single-file-core 1.0.66 → 1.0.67

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.66",
3
+ "version": "1.0.67",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",
@@ -494,6 +494,9 @@ class Processor {
494
494
  );
495
495
  this.doc.documentElement.insertBefore(commentNode, this.doc.documentElement.firstChild);
496
496
  }
497
+ if (this.options.includeInfobar) {
498
+ util.appendInfobar(this.doc, this.options);
499
+ }
497
500
  if (this.doc.querySelector("template[" + SHADOWROOT_ATTRIBUTE_NAME + "]") || (this.options.shadowRoots && this.options.shadowRoots.length)) {
498
501
  if (this.options.blockScripts) {
499
502
  this.doc.querySelectorAll("script[" + SCRIPT_TEMPLATE_SHADOW_ROOT + "]").forEach(element => element.remove());