@html-validate/puppeteer-fetch 3.1.3 → 3.1.4
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/index.js +6 -3
- package/package.json +7 -2
package/dist/index.js
CHANGED
|
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
|
-
|
|
9
|
+
try {
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
throw mod = 0, e;
|
|
13
|
+
}
|
|
10
14
|
};
|
|
11
15
|
var __copyProps = (to, from, except, desc) => {
|
|
12
16
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -3199,9 +3203,8 @@ var import_puppeteer = require("puppeteer");
|
|
|
3199
3203
|
function normalizeUrl(url) {
|
|
3200
3204
|
if (url.includes("://")) {
|
|
3201
3205
|
return url;
|
|
3202
|
-
} else {
|
|
3203
|
-
return `https://${url}`;
|
|
3204
3206
|
}
|
|
3207
|
+
return `https://${url}`;
|
|
3205
3208
|
}
|
|
3206
3209
|
async function run() {
|
|
3207
3210
|
const content = await import_node_fs.promises.readFile(import_node_path.default.join(__dirname, "../package.json"), "utf-8");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/puppeteer-fetch",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"description": "Fetch HTML source from a webpage using Chrome as backend",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"puppeteer",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"puppeteer-fetch.js"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"puppeteer": "25.
|
|
30
|
+
"puppeteer": "25.2.0"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": "^22.16.0 || >= 24.0.0",
|
|
@@ -35,5 +35,10 @@
|
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"allowScripts": {
|
|
40
|
+
"esbuild": true,
|
|
41
|
+
"puppeteer": true,
|
|
42
|
+
"unrs-resolver": true
|
|
38
43
|
}
|
|
39
44
|
}
|