single-file-core 1.1.73 → 1.1.74

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/core/infobar.js CHANGED
@@ -245,6 +245,7 @@ function refreshInfobarInfo(doc, { saveUrl, infobarContent, saveDate }) {
245
245
  infobarContentElement.textContent = infobarContent || saveDate;
246
246
  const linkElement = shadowRootFragment.querySelector(".infobar-content .infobar-link-icon");
247
247
  linkElement.href = saveUrl;
248
+ linkElement.title = "Open source URL: " + saveUrl;
248
249
  }
249
250
  }
250
251
 
@@ -25,7 +25,7 @@
25
25
 
26
26
  import * as vendor from "./../vendor/index.js";
27
27
  import * as modules from "./../modules/index.js";
28
- import * as helper from "./single-file-helper.js";
28
+ import * as helper from "./helper.js";
29
29
 
30
30
  const DEBUG = false;
31
31
  const ONE_MB = 1024 * 1024;
@@ -27,7 +27,7 @@ import * as cssTree from "./../vendor/css-tree.js";
27
27
  import {
28
28
  normalizeFontFamily,
29
29
  getFontWeight
30
- } from "./../core/single-file-helper.js";
30
+ } from "./../core/helper.js";
31
31
 
32
32
  const helper = {
33
33
  normalizeFontFamily,
@@ -30,7 +30,7 @@ import {
30
30
  flatten,
31
31
  getFontWeight,
32
32
  removeQuotes
33
- } from "./../core/single-file-helper.js";
33
+ } from "./../core/helper.js";
34
34
 
35
35
  const helper = {
36
36
  normalizeFontFamily,
@@ -23,7 +23,7 @@
23
23
 
24
24
  import * as cssTree from "./../vendor/css-tree.js";
25
25
  import * as mediaQueryParser from "./../vendor/css-media-query-parser.js";
26
- import { flatten } from "./../core/single-file-helper.js";
26
+ import { flatten } from "./../core/helper.js";
27
27
 
28
28
  const helper = {
29
29
  flatten
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.1.73",
3
+ "version": "1.1.74",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",
@@ -32,7 +32,7 @@ import {
32
32
  serialize,
33
33
  postProcessDoc,
34
34
  getShadowRoot
35
- } from "./../../../core/single-file-helper.js";
35
+ } from "./../../../core/helper.js";
36
36
 
37
37
  const helper = {
38
38
  ON_BEFORE_CAPTURE_EVENT_NAME,
@@ -27,7 +27,7 @@ import * as hooksFrames from "./../../hooks/content/content-hooks-frames.js";
27
27
  import {
28
28
  LAZY_SRC_ATTRIBUTE_NAME,
29
29
  SINGLE_FILE_UI_ELEMENT_CLASS
30
- } from "./../../../core/single-file-helper.js";
30
+ } from "./../../../core/helper.js";
31
31
  const helper = {
32
32
  LAZY_SRC_ATTRIBUTE_NAME,
33
33
  SINGLE_FILE_UI_ELEMENT_CLASS
@@ -32,7 +32,7 @@ import {
32
32
  preProcessDoc,
33
33
  postProcessDoc,
34
34
  getShadowRoot
35
- } from "./core/single-file-helper.js";
35
+ } from "./core/helper.js";
36
36
 
37
37
  const processors = { frameTree };
38
38
  const helper = {
@@ -23,7 +23,7 @@
23
23
 
24
24
  import * as serializer from "./modules/html-serializer.js";
25
25
  import * as infobar from "./core/infobar.js";
26
- import { getInstance } from "./core/single-file-util.js";
26
+ import { getInstance } from "./core/util.js";
27
27
 
28
28
  const util = getInstance();
29
29
  const helper = {
@@ -54,7 +54,7 @@ import { appendInfobar, refreshInfobarInfo, extractInfobarData } from "./core/in
54
54
  }
55
55
  }
56
56
  if (options.displayInfobar) {
57
- appendInfobar(document, options, true);
57
+ appendInfobar(document, infoData, true);
58
58
  refreshInfobarInfo(document, infoData);
59
59
  }
60
60
  }
package/single-file.js CHANGED
@@ -26,9 +26,9 @@
26
26
  import * as processors from "./processors/index.js";
27
27
  import * as vendor from "./vendor/index.js";
28
28
  import * as modules from "./modules/index.js";
29
- import * as core from "./core/single-file-core.js";
30
- import * as helper from "./core/single-file-helper.js";
31
- import * as util from "./core/single-file-util.js";
29
+ import * as core from "./core/index.js";
30
+ import * as helper from "./core/helper.js";
31
+ import * as util from "./core/util.js";
32
32
 
33
33
  let SingleFile;
34
34
 
File without changes
File without changes