aeorank 3.0.1 → 3.0.3
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/browser.js +5 -5
- package/dist/browser.js.map +1 -1
- package/dist/{chunk-OCLAIHX6.js → chunk-RYV25AUV.js} +4 -2
- package/dist/chunk-RYV25AUV.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/{full-site-crawler-5AYKCZQY.js → full-site-crawler-OBECS7AT.js} +4 -2
- package/dist/full-site-crawler-OBECS7AT.js.map +1 -0
- package/dist/{full-site-crawler-BCJS67WQ.js → full-site-crawler-TQ35TB2X.js} +2 -2
- package/dist/index.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-OCLAIHX6.js.map +0 -1
- package/dist/full-site-crawler-5AYKCZQY.js.map +0 -1
- /package/dist/{full-site-crawler-BCJS67WQ.js.map → full-site-crawler-TQ35TB2X.js.map} +0 -0
package/dist/browser.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
extractAllUrlsFromSitemap,
|
|
4
4
|
extractInternalLinks,
|
|
5
5
|
inferCategory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RYV25AUV.js";
|
|
7
7
|
|
|
8
8
|
// src/parked-domain.ts
|
|
9
9
|
var PARKING_PATHS = ["/lander", "/parking", "/park", "/sedoparking"];
|
|
@@ -4440,8 +4440,8 @@ function extractLinksWithAnchors(html, sourceUrl, domain) {
|
|
|
4440
4440
|
if (href.startsWith("//")) {
|
|
4441
4441
|
fullUrl = `https:${href}`;
|
|
4442
4442
|
} else if (href.startsWith("/")) {
|
|
4443
|
-
if (href
|
|
4444
|
-
fullUrl = `https://${domain}${href}`;
|
|
4443
|
+
if (href.startsWith("/#")) continue;
|
|
4444
|
+
fullUrl = href === "/" ? `https://${domain}` : `https://${domain}${href}`;
|
|
4445
4445
|
} else if (href.startsWith("http")) {
|
|
4446
4446
|
fullUrl = href;
|
|
4447
4447
|
} else if (href.startsWith("#") || href.startsWith("?") || href.startsWith("mailto:") || href.startsWith("tel:") || href.startsWith("javascript:")) {
|
|
@@ -4455,7 +4455,7 @@ function extractLinksWithAnchors(html, sourceUrl, domain) {
|
|
|
4455
4455
|
if (linkDomain !== cleanDomain) continue;
|
|
4456
4456
|
parsed.hash = "";
|
|
4457
4457
|
const path = parsed.pathname;
|
|
4458
|
-
if (path === "
|
|
4458
|
+
if (path === "") continue;
|
|
4459
4459
|
if (RESOURCE_EXTENSIONS.test(path)) continue;
|
|
4460
4460
|
if (SKIP_PATH_PATTERNS.test(path)) continue;
|
|
4461
4461
|
const normalized = normalizeUrl(fullUrl);
|
|
@@ -6049,7 +6049,7 @@ async function audit(domain, options) {
|
|
|
6049
6049
|
}
|
|
6050
6050
|
}
|
|
6051
6051
|
if (options?.fullCrawl) {
|
|
6052
|
-
const { crawlFullSite: crawlFullSite2 } = await import("./full-site-crawler-
|
|
6052
|
+
const { crawlFullSite: crawlFullSite2 } = await import("./full-site-crawler-TQ35TB2X.js");
|
|
6053
6053
|
const crawlResult = await crawlFullSite2(siteData, {
|
|
6054
6054
|
maxPages: options.maxPages ?? 200,
|
|
6055
6055
|
concurrency: options.concurrency ?? 5
|