@glimt/record 0.0.44 → 0.0.45
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/dist/record.cjs +10 -10
- package/dist/record.cjs.map +1 -1
- package/dist/record.js +10 -10
- package/dist/record.js.map +1 -1
- package/dist/record.umd.cjs +10 -10
- package/dist/record.umd.cjs.map +2 -2
- package/dist/record.umd.min.cjs +24 -24
- package/dist/record.umd.min.cjs.map +3 -3
- package/package.json +1 -1
package/dist/record.cjs
CHANGED
|
@@ -812,7 +812,7 @@ function splitCssText(cssText, style, _testNoPxNorm = false) {
|
|
|
812
812
|
function markCssSplits(cssText, style) {
|
|
813
813
|
return splitCssText(cssText, style).join("/* rr_split */");
|
|
814
814
|
}
|
|
815
|
-
const CLEANUP_DEBOUNCE_TIME$1 = 1e3 *
|
|
815
|
+
const CLEANUP_DEBOUNCE_TIME$1 = 1e3 * 30;
|
|
816
816
|
const DISALLOWED_EXTENSIONS$1 = [
|
|
817
817
|
// Fonts
|
|
818
818
|
"woff",
|
|
@@ -930,13 +930,13 @@ const _AsyncStylesheetManager$1 = class _AsyncStylesheetManager {
|
|
|
930
930
|
}
|
|
931
931
|
onCleanTimeout() {
|
|
932
932
|
console.log("AsyncStylesheetManager, onCleanTimeout: cleaning up");
|
|
933
|
-
|
|
934
|
-
|
|
933
|
+
asyncStylesheetManager$1.cleanTimeout = null;
|
|
934
|
+
asyncStylesheetManager$1.removeAllCloneElements();
|
|
935
935
|
}
|
|
936
936
|
blowCache() {
|
|
937
937
|
console.log("AsyncStylesheetManager, blowCache: blowing cache");
|
|
938
|
-
this.clones = {};
|
|
939
938
|
this.removeAllCloneElements();
|
|
939
|
+
this.clones = {};
|
|
940
940
|
}
|
|
941
941
|
registerClone({ forElement }) {
|
|
942
942
|
if (this.currentHref != null && document.location.href !== this.currentHref)
|
|
@@ -952,7 +952,7 @@ const _AsyncStylesheetManager$1 = class _AsyncStylesheetManager {
|
|
|
952
952
|
const [filename] = last.split("?");
|
|
953
953
|
const ext = filename.split(".").pop();
|
|
954
954
|
if (ext) {
|
|
955
|
-
if (DISALLOWED_EXTENSIONS$1.includes(ext.toLowerCase())) return;
|
|
955
|
+
if (DISALLOWED_EXTENSIONS$1.includes(ext.trim().toLowerCase())) return;
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
}
|
|
@@ -5704,7 +5704,7 @@ function absolutifyURLs(cssText, href) {
|
|
|
5704
5704
|
}
|
|
5705
5705
|
);
|
|
5706
5706
|
}
|
|
5707
|
-
const CLEANUP_DEBOUNCE_TIME = 1e3 *
|
|
5707
|
+
const CLEANUP_DEBOUNCE_TIME = 1e3 * 30;
|
|
5708
5708
|
const DISALLOWED_EXTENSIONS = [
|
|
5709
5709
|
// Fonts
|
|
5710
5710
|
"woff",
|
|
@@ -5822,13 +5822,13 @@ const _AsyncStylesheetManager2 = class _AsyncStylesheetManager22 {
|
|
|
5822
5822
|
}
|
|
5823
5823
|
onCleanTimeout() {
|
|
5824
5824
|
console.log("AsyncStylesheetManager, onCleanTimeout: cleaning up");
|
|
5825
|
-
|
|
5826
|
-
|
|
5825
|
+
asyncStylesheetManager.cleanTimeout = null;
|
|
5826
|
+
asyncStylesheetManager.removeAllCloneElements();
|
|
5827
5827
|
}
|
|
5828
5828
|
blowCache() {
|
|
5829
5829
|
console.log("AsyncStylesheetManager, blowCache: blowing cache");
|
|
5830
|
-
this.clones = {};
|
|
5831
5830
|
this.removeAllCloneElements();
|
|
5831
|
+
this.clones = {};
|
|
5832
5832
|
}
|
|
5833
5833
|
registerClone({ forElement }) {
|
|
5834
5834
|
if (this.currentHref != null && document.location.href !== this.currentHref)
|
|
@@ -5844,7 +5844,7 @@ const _AsyncStylesheetManager2 = class _AsyncStylesheetManager22 {
|
|
|
5844
5844
|
const [filename] = last.split("?");
|
|
5845
5845
|
const ext = filename.split(".").pop();
|
|
5846
5846
|
if (ext) {
|
|
5847
|
-
if (DISALLOWED_EXTENSIONS.includes(ext.toLowerCase())) return;
|
|
5847
|
+
if (DISALLOWED_EXTENSIONS.includes(ext.trim().toLowerCase())) return;
|
|
5848
5848
|
}
|
|
5849
5849
|
}
|
|
5850
5850
|
}
|