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 +1 -0
- package/core/{single-file-util.js → util.js} +1 -1
- package/modules/css-fonts-alt-minifier.js +1 -1
- package/modules/css-fonts-minifier.js +1 -1
- package/modules/css-medias-alt-minifier.js +1 -1
- package/package.json +1 -1
- package/processors/frame-tree/content/content-frame-tree.js +1 -1
- package/processors/lazy/content/content-lazy-loader.js +1 -1
- package/single-file-bootstrap.js +1 -1
- package/single-file-editor-helper.js +1 -1
- package/single-file-infobar.js +1 -1
- package/single-file.js +3 -3
- /package/core/{single-file-helper.js → helper.js} +0 -0
- /package/core/{single-file-core.js → index.js} +0 -0
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 "./
|
|
28
|
+
import * as helper from "./helper.js";
|
|
29
29
|
|
|
30
30
|
const DEBUG = false;
|
|
31
31
|
const ONE_MB = 1024 * 1024;
|
|
@@ -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/
|
|
26
|
+
import { flatten } from "./../core/helper.js";
|
|
27
27
|
|
|
28
28
|
const helper = {
|
|
29
29
|
flatten
|
package/package.json
CHANGED
|
@@ -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/
|
|
30
|
+
} from "./../../../core/helper.js";
|
|
31
31
|
const helper = {
|
|
32
32
|
LAZY_SRC_ATTRIBUTE_NAME,
|
|
33
33
|
SINGLE_FILE_UI_ELEMENT_CLASS
|
package/single-file-bootstrap.js
CHANGED
|
@@ -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/
|
|
26
|
+
import { getInstance } from "./core/util.js";
|
|
27
27
|
|
|
28
28
|
const util = getInstance();
|
|
29
29
|
const helper = {
|
package/single-file-infobar.js
CHANGED
|
@@ -54,7 +54,7 @@ import { appendInfobar, refreshInfobarInfo, extractInfobarData } from "./core/in
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
if (options.displayInfobar) {
|
|
57
|
-
appendInfobar(document,
|
|
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/
|
|
30
|
-
import * as helper from "./core/
|
|
31
|
-
import * as util from "./core/
|
|
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
|