single-file-core 1.0.68 → 1.0.69

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.68",
3
+ "version": "1.0.69",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",
@@ -495,6 +495,10 @@ class Processor {
495
495
  );
496
496
  this.doc.documentElement.insertBefore(commentNode, this.doc.documentElement.firstChild);
497
497
  }
498
+ const legacyInfobarElement = this.doc.querySelector("singlefile-infobar");
499
+ if (legacyInfobarElement) {
500
+ legacyInfobarElement.remove();
501
+ }
498
502
  if (this.options.includeInfobar) {
499
503
  util.appendInfobar(this.doc, this.options);
500
504
  }