Parcourir la source

update `single-file-core`

Gildas il y a 2 semaines
Parent
commit
62f492cbbc

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
lib/single-file-extension-background.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
lib/single-file-extension-editor-helper.js


+ 2 - 0
lib/single-file-extension-editor.js

@@ -1358,6 +1358,8 @@
 			} else {
 				const contentDocument = (new DOMParser()).parseFromString(content, "text/html");
 				if (detectSavedPage(contentDocument)) {
+					const { saveUrl } = singlefile.helper.extractInfobarData(contentDocument);
+					pageUrl = saveUrl;
 					if (contentDocument.doctype) {
 						if (document.doctype) {
 							document.replaceChild(contentDocument.doctype, document.doctype);

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
lib/single-file.js


+ 4 - 4
package-lock.json

@@ -9,7 +9,7 @@
 			"version": "1.2.4",
 			"license": "AGPL-3.0-or-later",
 			"dependencies": {
-				"single-file-core": "1.5.71"
+				"single-file-core": "1.5.72"
 			},
 			"devDependencies": {
 				"@rollup/plugin-node-resolve": "16.0.3",
@@ -1642,9 +1642,9 @@
 			}
 		},
 		"node_modules/single-file-core": {
-			"version": "1.5.71",
-			"resolved": "https://registry.npmjs.org/single-file-core/-/single-file-core-1.5.71.tgz",
-			"integrity": "sha512-UPHW1vj7OUAkv9jHZTutBqPdHmcdfZ5LrHzT9Vw7zvVEMgQE80+geQChbUc5Apwqq7YeInVXFMFfh2mxLySZyA==",
+			"version": "1.5.72",
+			"resolved": "https://registry.npmjs.org/single-file-core/-/single-file-core-1.5.72.tgz",
+			"integrity": "sha512-BwmEJJ553SIH0SiLWEIwor63gaTWQfyQ4fuORAk+0EYsADFxYflu/pDsKLYgt1jfYievR9vhsBMvYbCDNH1W1g==",
 			"license": "AGPL-3.0-or-later"
 		},
 		"node_modules/smob": {

+ 1 - 1
package.json

@@ -10,7 +10,7 @@
 	},
 	"type": "module",
 	"dependencies": {
-		"single-file-core": "1.5.71"
+		"single-file-core": "1.5.72"
 	},
 	"devDependencies": {
 		"eslint": "^9.39.1",

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff