feedscout 2.0.0-next.2 → 2.0.0-rc.2
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/README.md +1 -1
- package/dist/blogrolls.d.ts +4 -4
- package/dist/blogrolls.js +3 -3
- package/dist/favicons.d.ts +3 -3
- package/dist/favicons.js +2 -2
- package/dist/feeds.d.ts +4 -4
- package/dist/feeds.js +3 -3
- package/dist/hubs.d.ts +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +6 -6
- package/dist/methods.d.ts +7 -7
- package/dist/methods.js +7 -7
- package/dist/node_modules/trousse/dist/arrays.js +9 -0
- package/dist/node_modules/trousse/dist/is.js +19 -0
- package/dist/node_modules/trousse/dist/matching.js +37 -0
- package/dist/node_modules/trousse/dist/urls.js +23 -0
- package/dist/{blogrolls → src/blogrolls}/defaults.d.ts +1 -2
- package/dist/{blogrolls → src/blogrolls}/defaults.js +19 -11
- package/dist/{blogrolls → src/blogrolls}/extractors.js +3 -2
- package/dist/{common → src/common}/discover/defaults.js +1 -3
- package/dist/{common → src/common}/discover/index.js +23 -10
- package/dist/{common → src/common}/discover/utils.js +10 -3
- package/dist/src/common/locales.js +337 -0
- package/dist/{common → src/common}/types.d.ts +9 -1
- package/dist/{common → src/common}/uris/feed/index.js +1 -1
- package/dist/src/common/uris/guess/index.js +16 -0
- package/dist/{common → src/common}/uris/guess/types.d.ts +3 -0
- package/dist/{common → src/common}/uris/guess/utils.d.ts +2 -1
- package/dist/src/common/uris/guess/utils.js +83 -0
- package/dist/src/common/uris/headers/index.js +14 -0
- package/dist/{common → src/common}/uris/html/handlers.js +18 -1
- package/dist/{common → src/common}/uris/html/index.js +17 -1
- package/dist/src/common/uris/html/types.d.ts +14 -0
- package/dist/src/common/utils.js +51 -0
- package/dist/{favicons → src/favicons}/defaults.js +1 -1
- package/dist/{favicons → src/favicons}/extractors.js +3 -8
- package/dist/{favicons → src/favicons}/platform/handlers/bluesky.js +3 -2
- package/dist/{favicons → src/favicons}/platform/handlers/codeberg.js +2 -1
- package/dist/{favicons → src/favicons}/platform/handlers/deviantart.js +2 -1
- package/dist/{favicons → src/favicons}/platform/handlers/devto.js +4 -2
- package/dist/{favicons → src/favicons}/platform/handlers/github.js +2 -1
- package/dist/{favicons → src/favicons}/platform/handlers/githubGist.js +2 -1
- package/dist/{favicons → src/favicons}/platform/handlers/gitlab.js +4 -2
- package/dist/{favicons → src/favicons}/platform/handlers/lobsters.js +1 -1
- package/dist/{favicons → src/favicons}/platform/handlers/mastodon.js +2 -1
- package/dist/{favicons → src/favicons}/platform/handlers/reddit.js +3 -2
- package/dist/{favicons → src/favicons}/platform/handlers/sourceforge.js +1 -1
- package/dist/{favicons → src/favicons}/platform/handlers/tumblr.js +1 -1
- package/dist/{favicons → src/favicons}/utils.js +1 -4
- package/dist/{feeds → src/feeds}/defaults.d.ts +6 -3
- package/dist/src/feeds/defaults.js +300 -0
- package/dist/{feeds → src/feeds}/extractors.js +3 -2
- package/dist/src/feeds/platform/handlers/acast.js +28 -0
- package/dist/src/feeds/platform/handlers/ameblo.js +38 -0
- package/dist/{feeds → src/feeds}/platform/handlers/applePodcasts.js +3 -2
- package/dist/src/feeds/platform/handlers/arena.js +44 -0
- package/dist/src/feeds/platform/handlers/artstation.js +54 -0
- package/dist/src/feeds/platform/handlers/audioboom.js +24 -0
- package/dist/src/feeds/platform/handlers/bearblog.js +46 -0
- package/dist/{feeds → src/feeds}/platform/handlers/behance.js +10 -1
- package/dist/src/feeds/platform/handlers/blogspot.js +72 -0
- package/dist/{feeds → src/feeds}/platform/handlers/bluesky.js +2 -1
- package/dist/src/feeds/platform/handlers/bookwyrm.js +48 -0
- package/dist/src/feeds/platform/handlers/buttondown.js +45 -0
- package/dist/src/feeds/platform/handlers/buzzsprout.js +23 -0
- package/dist/{feeds → src/feeds}/platform/handlers/codeberg.js +8 -6
- package/dist/{feeds → src/feeds}/platform/handlers/csdn.js +2 -1
- package/dist/{feeds → src/feeds}/platform/handlers/dailymotion.js +19 -1
- package/dist/{feeds → src/feeds}/platform/handlers/deviantart.js +28 -7
- package/dist/{feeds → src/feeds}/platform/handlers/devto.js +11 -1
- package/dist/src/feeds/platform/handlers/discourse.js +66 -0
- package/dist/{feeds → src/feeds}/platform/handlers/douban.js +2 -1
- package/dist/src/feeds/platform/handlers/dreamwidth.js +49 -0
- package/dist/src/feeds/platform/handlers/exblog.js +36 -0
- package/dist/src/feeds/platform/handlers/fireside.js +25 -0
- package/dist/src/feeds/platform/handlers/friendica.js +44 -0
- package/dist/src/feeds/platform/handlers/ghost.js +31 -0
- package/dist/{feeds → src/feeds}/platform/handlers/github.js +9 -1
- package/dist/{feeds → src/feeds}/platform/handlers/githubGist.js +19 -6
- package/dist/{feeds → src/feeds}/platform/handlers/gitlab.js +34 -14
- package/dist/{feeds → src/feeds}/platform/handlers/goodreads.js +20 -9
- package/dist/src/feeds/platform/handlers/hackernews.js +22 -0
- package/dist/{feeds → src/feeds}/platform/handlers/hashnode.js +3 -2
- package/dist/{feeds → src/feeds}/platform/handlers/hatenablog.js +6 -2
- package/dist/src/feeds/platform/handlers/hearthis.js +34 -0
- package/dist/src/feeds/platform/handlers/heyWorld.js +19 -0
- package/dist/src/feeds/platform/handlers/insanejournal.js +70 -0
- package/dist/{feeds → src/feeds}/platform/handlers/itchio.js +27 -2
- package/dist/{feeds → src/feeds}/platform/handlers/kickstarter.js +2 -1
- package/dist/src/feeds/platform/handlers/lemmy.js +88 -0
- package/dist/{feeds → src/feeds}/platform/handlers/letterboxd.js +7 -1
- package/dist/src/feeds/platform/handlers/libsyn.js +26 -0
- package/dist/src/feeds/platform/handlers/listed.js +21 -0
- package/dist/src/feeds/platform/handlers/livejournal.js +69 -0
- package/dist/{feeds → src/feeds}/platform/handlers/lobsters.js +2 -1
- package/dist/{feeds → src/feeds}/platform/handlers/mastodon.js +32 -0
- package/dist/src/feeds/platform/handlers/mataroa.js +17 -0
- package/dist/{feeds → src/feeds}/platform/handlers/medium.js +5 -3
- package/dist/src/feeds/platform/handlers/microblog.js +56 -0
- package/dist/src/feeds/platform/handlers/misskey.js +40 -0
- package/dist/src/feeds/platform/handlers/myanimelist.js +44 -0
- package/dist/src/feeds/platform/handlers/naverBlog.js +22 -0
- package/dist/src/feeds/platform/handlers/nebula.js +70 -0
- package/dist/src/feeds/platform/handlers/note.js +55 -0
- package/dist/src/feeds/platform/handlers/observable.js +35 -0
- package/dist/src/feeds/platform/handlers/odysee.js +21 -0
- package/dist/src/feeds/platform/handlers/pagecord.js +17 -0
- package/dist/{feeds → src/feeds}/platform/handlers/paragraph.js +3 -3
- package/dist/src/feeds/platform/handlers/pika.js +36 -0
- package/dist/{feeds → src/feeds}/platform/handlers/pinterest.js +16 -1
- package/dist/src/feeds/platform/handlers/pixelfed.js +46 -0
- package/dist/src/feeds/platform/handlers/pleroma.js +34 -0
- package/dist/src/feeds/platform/handlers/podbean.js +30 -0
- package/dist/src/feeds/platform/handlers/podigee.js +30 -0
- package/dist/src/feeds/platform/handlers/posthaven.js +25 -0
- package/dist/{feeds → src/feeds}/platform/handlers/producthunt.js +2 -1
- package/dist/src/feeds/platform/handlers/prose.js +27 -0
- package/dist/src/feeds/platform/handlers/qiita.js +60 -0
- package/dist/src/feeds/platform/handlers/reddit.js +150 -0
- package/dist/src/feeds/platform/handlers/rssCom.js +21 -0
- package/dist/src/feeds/platform/handlers/seesaa.js +23 -0
- package/dist/{feeds → src/feeds}/platform/handlers/soundcloud.js +3 -1
- package/dist/src/feeds/platform/handlers/sourceforge.js +53 -0
- package/dist/src/feeds/platform/handlers/spreaker.js +22 -0
- package/dist/{feeds → src/feeds}/platform/handlers/stackExchange.js +28 -3
- package/dist/{feeds → src/feeds}/platform/handlers/steam.js +9 -1
- package/dist/{feeds → src/feeds}/platform/handlers/substack.js +2 -1
- package/dist/src/feeds/platform/handlers/tildes.js +42 -0
- package/dist/src/feeds/platform/handlers/tistory.js +17 -0
- package/dist/src/feeds/platform/handlers/transistor.js +30 -0
- package/dist/{feeds → src/feeds}/platform/handlers/tumblr.js +2 -1
- package/dist/{feeds → src/feeds}/platform/handlers/v2ex.js +2 -1
- package/dist/src/feeds/platform/handlers/velog.js +25 -0
- package/dist/{feeds → src/feeds}/platform/handlers/vimeo.js +9 -1
- package/dist/src/feeds/platform/handlers/weblogLol.js +27 -0
- package/dist/src/feeds/platform/handlers/weebly.js +26 -0
- package/dist/src/feeds/platform/handlers/wordpress.js +210 -0
- package/dist/{feeds → src/feeds}/platform/handlers/wpengine.js +1 -1
- package/dist/src/feeds/platform/handlers/writeas.js +53 -0
- package/dist/{feeds → src/feeds}/platform/handlers/ximalaya.js +3 -2
- package/dist/{feeds → src/feeds}/platform/handlers/youtube.js +6 -2
- package/dist/src/feeds/platform/handlers/zenn.js +56 -0
- package/package.json +10 -11
- package/dist/common/locales.js +0 -133
- package/dist/common/uris/guess/index.js +0 -8
- package/dist/common/uris/guess/utils.js +0 -40
- package/dist/common/uris/headers/index.js +0 -26
- package/dist/common/uris/html/types.d.ts +0 -12
- package/dist/common/utils.d.ts +0 -10
- package/dist/common/utils.js +0 -79
- package/dist/feeds/defaults.js +0 -168
- package/dist/feeds/platform/handlers/blogspot.js +0 -36
- package/dist/feeds/platform/handlers/lemmy.js +0 -46
- package/dist/feeds/platform/handlers/reddit.js +0 -74
- package/dist/feeds/platform/handlers/sourceforge.js +0 -19
- package/dist/feeds/platform/handlers/wordpress.js +0 -64
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -2
- /package/dist/{blogrolls → src/blogrolls}/extractors.d.ts +0 -0
- /package/dist/{blogrolls → src/blogrolls}/index.d.ts +0 -0
- /package/dist/{blogrolls → src/blogrolls}/index.js +0 -0
- /package/dist/{blogrolls → src/blogrolls}/types.d.ts +0 -0
- /package/dist/{common → src/common}/discover/defaults.d.ts +0 -0
- /package/dist/{common → src/common}/discover/utils.d.ts +0 -0
- /package/dist/{common → src/common}/types.js +0 -0
- /package/dist/{common → src/common}/uris/feed/index.d.ts +0 -0
- /package/dist/{common → src/common}/uris/feed/types.d.ts +0 -0
- /package/dist/{common → src/common}/uris/guess/index.d.ts +0 -0
- /package/dist/{common → src/common}/uris/headers/index.d.ts +0 -0
- /package/dist/{common → src/common}/uris/headers/types.d.ts +0 -0
- /package/dist/{common → src/common}/uris/html/index.d.ts +0 -0
- /package/dist/{common → src/common}/uris/index.js +0 -0
- /package/dist/{common → src/common}/uris/platform/index.d.ts +0 -0
- /package/dist/{common → src/common}/uris/platform/index.js +0 -0
- /package/dist/{common → src/common}/uris/platform/types.d.ts +0 -0
- /package/dist/{favicons → src/favicons}/defaults.d.ts +0 -0
- /package/dist/{favicons → src/favicons}/extractors.d.ts +0 -0
- /package/dist/{favicons → src/favicons}/index.d.ts +0 -0
- /package/dist/{favicons → src/favicons}/index.js +0 -0
- /package/dist/{favicons → src/favicons}/types.d.ts +0 -0
- /package/dist/{feeds → src/feeds}/extractors.d.ts +0 -0
- /package/dist/{feeds → src/feeds}/index.d.ts +0 -0
- /package/dist/{feeds → src/feeds}/index.js +0 -0
- /package/dist/{feeds → src/feeds}/types.d.ts +0 -0
- /package/dist/{hubs → src/hubs}/discover/index.d.ts +0 -0
- /package/dist/{hubs → src/hubs}/discover/index.js +0 -0
- /package/dist/{hubs → src/hubs}/discover/types.d.ts +0 -0
- /package/dist/{hubs → src/hubs}/feed/index.js +0 -0
- /package/dist/{hubs → src/hubs}/headers/index.js +0 -0
- /package/dist/{hubs → src/hubs}/html/index.js +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { isHostOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
3
|
+
//#region src/feeds/platform/handlers/tildes.ts
|
|
4
|
+
const hosts = ["tildes.net", "www.tildes.net"];
|
|
5
|
+
const groupRegex = /^\/~([^/]+)/;
|
|
6
|
+
const tildesHandler = {
|
|
7
|
+
match: (url) => {
|
|
8
|
+
return isHostOf(url, hosts);
|
|
9
|
+
},
|
|
10
|
+
resolve: (url) => {
|
|
11
|
+
const { pathname, searchParams } = new URL(url);
|
|
12
|
+
const groupMatch = pathname.match(groupRegex);
|
|
13
|
+
const uris = [];
|
|
14
|
+
const tag = searchParams.get("tag");
|
|
15
|
+
const tagSuffix = tag ? `?tag=${encodeURIComponent(tag)}` : "";
|
|
16
|
+
if (groupMatch?.[1]) {
|
|
17
|
+
const group = groupMatch[1];
|
|
18
|
+
uris.push({
|
|
19
|
+
uri: `https://tildes.net/~${group}/topics.rss${tagSuffix}`,
|
|
20
|
+
hint: composeHint("tildes:group-rss")
|
|
21
|
+
});
|
|
22
|
+
uris.push({
|
|
23
|
+
uri: `https://tildes.net/~${group}/topics.atom${tagSuffix}`,
|
|
24
|
+
hint: composeHint("tildes:group-atom")
|
|
25
|
+
});
|
|
26
|
+
return uris;
|
|
27
|
+
}
|
|
28
|
+
if (pathname === "/" || pathname === "") {
|
|
29
|
+
uris.push({
|
|
30
|
+
uri: `https://tildes.net/topics.rss${tagSuffix}`,
|
|
31
|
+
hint: composeHint("tildes:topics-rss")
|
|
32
|
+
});
|
|
33
|
+
uris.push({
|
|
34
|
+
uri: `https://tildes.net/topics.atom${tagSuffix}`,
|
|
35
|
+
hint: composeHint("tildes:topics-atom")
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return uris;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { tildesHandler };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { isSubdomainOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
3
|
+
//#region src/feeds/platform/handlers/tistory.ts
|
|
4
|
+
const tistoryHandler = {
|
|
5
|
+
match: (url) => {
|
|
6
|
+
return isSubdomainOf(url, "tistory.com");
|
|
7
|
+
},
|
|
8
|
+
resolve: (url) => {
|
|
9
|
+
const { origin } = new URL(url);
|
|
10
|
+
return [{
|
|
11
|
+
uri: `${origin}/rss`,
|
|
12
|
+
hint: composeHint("tistory:blog")
|
|
13
|
+
}];
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { tistoryHandler };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { isSubdomainOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
3
|
+
//#region src/feeds/platform/handlers/transistor.ts
|
|
4
|
+
const domainSuffixRegex = /\.transistor\.fm$/i;
|
|
5
|
+
const reservedSlugs = /* @__PURE__ */ new Set([
|
|
6
|
+
"www",
|
|
7
|
+
"feeds",
|
|
8
|
+
"share",
|
|
9
|
+
"support",
|
|
10
|
+
"help",
|
|
11
|
+
"developers",
|
|
12
|
+
"api",
|
|
13
|
+
"cdn"
|
|
14
|
+
]);
|
|
15
|
+
const transistorHandler = {
|
|
16
|
+
match: (url) => {
|
|
17
|
+
if (!isSubdomainOf(url, "transistor.fm")) return false;
|
|
18
|
+
const slug = new URL(url).hostname.toLowerCase().replace(domainSuffixRegex, "");
|
|
19
|
+
return !reservedSlugs.has(slug);
|
|
20
|
+
},
|
|
21
|
+
resolve: (url) => {
|
|
22
|
+
const { hostname } = new URL(url);
|
|
23
|
+
return [{
|
|
24
|
+
uri: `https://feeds.transistor.fm/${hostname.replace(domainSuffixRegex, "")}`,
|
|
25
|
+
hint: composeHint("transistor:podcast")
|
|
26
|
+
}];
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { transistorHandler };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isSubdomainOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
2
3
|
//#region src/feeds/platform/handlers/tumblr.ts
|
|
3
4
|
const domains = ["tumblr.com"];
|
|
4
5
|
const tagRegex = /^\/tagged\/([^/]+)/;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isHostOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
2
3
|
//#region src/feeds/platform/handlers/v2ex.ts
|
|
3
4
|
const nodeRegex = /^\/go\/([^/]+)/;
|
|
4
5
|
const memberRegex = /^\/member\/([^/]+)/;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { isHostOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
3
|
+
//#region src/feeds/platform/handlers/velog.ts
|
|
4
|
+
const hosts = ["velog.io", "www.velog.io"];
|
|
5
|
+
const userRegex = /^\/@([^/]+)/;
|
|
6
|
+
const velogHandler = {
|
|
7
|
+
match: (url) => {
|
|
8
|
+
return isHostOf(url, hosts);
|
|
9
|
+
},
|
|
10
|
+
resolve: (url) => {
|
|
11
|
+
const { pathname } = new URL(url);
|
|
12
|
+
const userMatch = pathname.match(userRegex);
|
|
13
|
+
if (userMatch?.[1]) return [{
|
|
14
|
+
uri: `https://v2.velog.io/rss/${userMatch[1]}`,
|
|
15
|
+
hint: composeHint("velog:posts")
|
|
16
|
+
}];
|
|
17
|
+
if (pathname === "/" || pathname === "") return [{
|
|
18
|
+
uri: "https://v2.velog.io/rss",
|
|
19
|
+
hint: composeHint("velog:trending")
|
|
20
|
+
}];
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { velogHandler };
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isAnyOf } from "../../../../node_modules/trousse/dist/matching.js";
|
|
2
|
+
import { isHostOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
3
|
+
import { composeHint } from "../../../common/utils.js";
|
|
2
4
|
//#region src/feeds/platform/handlers/vimeo.ts
|
|
3
5
|
const numericRegex = /^\d+$/;
|
|
4
6
|
const hosts = ["vimeo.com", "www.vimeo.com"];
|
|
5
7
|
const excludedPaths = [
|
|
6
8
|
"about",
|
|
9
|
+
"album",
|
|
7
10
|
"blog",
|
|
8
11
|
"business",
|
|
9
12
|
"careers",
|
|
@@ -26,6 +29,7 @@ const excludedPaths = [
|
|
|
26
29
|
"pro",
|
|
27
30
|
"search",
|
|
28
31
|
"settings",
|
|
32
|
+
"showcase",
|
|
29
33
|
"site_map",
|
|
30
34
|
"solutions",
|
|
31
35
|
"stock",
|
|
@@ -48,6 +52,10 @@ const vimeoHandler = {
|
|
|
48
52
|
uri: `${origin}/groups/${pathSegments[1]}/videos/rss`,
|
|
49
53
|
hint: composeHint("vimeo:group")
|
|
50
54
|
}];
|
|
55
|
+
if ((pathSegments[0] === "album" || pathSegments[0] === "showcase") && pathSegments[1] && numericRegex.test(pathSegments[1])) return [{
|
|
56
|
+
uri: `${origin}/album/${pathSegments[1]}/rss`,
|
|
57
|
+
hint: composeHint("vimeo:album")
|
|
58
|
+
}];
|
|
51
59
|
if (pathSegments.length > 0) {
|
|
52
60
|
const user = pathSegments[0];
|
|
53
61
|
if (!isAnyOf(user, excludedPaths) && !numericRegex.test(user)) {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { isSubdomainOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
3
|
+
//#region src/feeds/platform/handlers/weblogLol.ts
|
|
4
|
+
const weblogLolHandler = {
|
|
5
|
+
match: (url) => {
|
|
6
|
+
return isSubdomainOf(url, "weblog.lol");
|
|
7
|
+
},
|
|
8
|
+
resolve: (url) => {
|
|
9
|
+
const { origin } = new URL(url);
|
|
10
|
+
const uris = [];
|
|
11
|
+
uris.push({
|
|
12
|
+
uri: `${origin}/rss.xml`,
|
|
13
|
+
hint: composeHint("weblog-lol:posts-rss")
|
|
14
|
+
});
|
|
15
|
+
uris.push({
|
|
16
|
+
uri: `${origin}/atom.xml`,
|
|
17
|
+
hint: composeHint("weblog-lol:posts-atom")
|
|
18
|
+
});
|
|
19
|
+
uris.push({
|
|
20
|
+
uri: `${origin}/feed.json`,
|
|
21
|
+
hint: composeHint("weblog-lol:posts-json")
|
|
22
|
+
});
|
|
23
|
+
return uris;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { weblogLolHandler };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { isSubdomainOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
3
|
+
//#region src/feeds/platform/handlers/weebly.ts
|
|
4
|
+
const numericRegex = /^\d+$/;
|
|
5
|
+
const weeblyHandler = {
|
|
6
|
+
match: (url) => {
|
|
7
|
+
return isSubdomainOf(url, "weebly.com");
|
|
8
|
+
},
|
|
9
|
+
resolve: (url) => {
|
|
10
|
+
const { origin, pathname } = new URL(url);
|
|
11
|
+
const pathSegments = pathname.split("/").filter(Boolean);
|
|
12
|
+
const uris = [];
|
|
13
|
+
const firstSegment = pathSegments[0];
|
|
14
|
+
if (firstSegment && !numericRegex.test(firstSegment)) uris.push({
|
|
15
|
+
uri: `${origin}/${firstSegment}/feed`,
|
|
16
|
+
hint: composeHint("weebly:blog")
|
|
17
|
+
});
|
|
18
|
+
uris.push({
|
|
19
|
+
uri: `${origin}/blog/feed`,
|
|
20
|
+
hint: composeHint("weebly:blog")
|
|
21
|
+
});
|
|
22
|
+
return uris;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { weeblyHandler };
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { isSubdomainOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
3
|
+
//#region src/feeds/platform/handlers/wordpress.ts
|
|
4
|
+
const categoryRegex = /^\/category\/([^/]+)/;
|
|
5
|
+
const tagRegex = /^\/tag\/([^/]+)/;
|
|
6
|
+
const authorRegex = /^\/author\/([^/]+)/;
|
|
7
|
+
const yearRegex = /^\/(\d{4})\/?$/;
|
|
8
|
+
const yearMonthRegex = /^\/(\d{4})\/(\d{2})\/?$/;
|
|
9
|
+
const dayRegex = /^\/(\d{4})\/(\d{2})\/(\d{2})\/?$/;
|
|
10
|
+
const trailingSlashRegex = /\/$/;
|
|
11
|
+
const wordpressHandler = {
|
|
12
|
+
match: (url) => {
|
|
13
|
+
return isSubdomainOf(url, "wordpress.com");
|
|
14
|
+
},
|
|
15
|
+
resolve: (url) => {
|
|
16
|
+
const { origin, pathname } = new URL(url);
|
|
17
|
+
const uris = [];
|
|
18
|
+
let archiveMatched = false;
|
|
19
|
+
const categoryMatch = pathname.match(categoryRegex);
|
|
20
|
+
if (categoryMatch?.[1]) {
|
|
21
|
+
archiveMatched = true;
|
|
22
|
+
const base = `${origin}/category/${categoryMatch[1]}`;
|
|
23
|
+
uris.push({
|
|
24
|
+
uri: [
|
|
25
|
+
`${base}/feed/`,
|
|
26
|
+
`${base}/?feed=rss`,
|
|
27
|
+
`${base}/feed/rss2/`,
|
|
28
|
+
`${base}/?feed=rss2`
|
|
29
|
+
],
|
|
30
|
+
hint: composeHint("wordpress:category-rss")
|
|
31
|
+
});
|
|
32
|
+
uris.push({
|
|
33
|
+
uri: [`${base}/feed/atom/`, `${base}/?feed=atom`],
|
|
34
|
+
hint: composeHint("wordpress:category-atom")
|
|
35
|
+
});
|
|
36
|
+
uris.push({
|
|
37
|
+
uri: [`${base}/feed/rdf/`, `${base}/?feed=rdf`],
|
|
38
|
+
hint: composeHint("wordpress:category-rdf")
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
const tagMatch = pathname.match(tagRegex);
|
|
42
|
+
if (tagMatch?.[1]) {
|
|
43
|
+
archiveMatched = true;
|
|
44
|
+
const base = `${origin}/tag/${tagMatch[1]}`;
|
|
45
|
+
uris.push({
|
|
46
|
+
uri: [
|
|
47
|
+
`${base}/feed/`,
|
|
48
|
+
`${base}/?feed=rss`,
|
|
49
|
+
`${base}/feed/rss2/`,
|
|
50
|
+
`${base}/?feed=rss2`
|
|
51
|
+
],
|
|
52
|
+
hint: composeHint("wordpress:tag-rss")
|
|
53
|
+
});
|
|
54
|
+
uris.push({
|
|
55
|
+
uri: [`${base}/feed/atom/`, `${base}/?feed=atom`],
|
|
56
|
+
hint: composeHint("wordpress:tag-atom")
|
|
57
|
+
});
|
|
58
|
+
uris.push({
|
|
59
|
+
uri: [`${base}/feed/rdf/`, `${base}/?feed=rdf`],
|
|
60
|
+
hint: composeHint("wordpress:tag-rdf")
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
const authorMatch = pathname.match(authorRegex);
|
|
64
|
+
if (authorMatch?.[1]) {
|
|
65
|
+
archiveMatched = true;
|
|
66
|
+
const base = `${origin}/author/${authorMatch[1]}`;
|
|
67
|
+
uris.push({
|
|
68
|
+
uri: [
|
|
69
|
+
`${base}/feed/`,
|
|
70
|
+
`${base}/?feed=rss`,
|
|
71
|
+
`${base}/feed/rss2/`,
|
|
72
|
+
`${base}/?feed=rss2`
|
|
73
|
+
],
|
|
74
|
+
hint: composeHint("wordpress:author-rss")
|
|
75
|
+
});
|
|
76
|
+
uris.push({
|
|
77
|
+
uri: [`${base}/feed/atom/`, `${base}/?feed=atom`],
|
|
78
|
+
hint: composeHint("wordpress:author-atom")
|
|
79
|
+
});
|
|
80
|
+
uris.push({
|
|
81
|
+
uri: [`${base}/feed/rdf/`, `${base}/?feed=rdf`],
|
|
82
|
+
hint: composeHint("wordpress:author-rdf")
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
const dayMatch = pathname.match(dayRegex);
|
|
86
|
+
if (dayMatch?.[1] && dayMatch?.[2] && dayMatch?.[3]) {
|
|
87
|
+
archiveMatched = true;
|
|
88
|
+
const base = `${origin}/${dayMatch[1]}/${dayMatch[2]}/${dayMatch[3]}`;
|
|
89
|
+
uris.push({
|
|
90
|
+
uri: [
|
|
91
|
+
`${base}/feed/`,
|
|
92
|
+
`${base}/?feed=rss`,
|
|
93
|
+
`${base}/feed/rss2/`,
|
|
94
|
+
`${base}/?feed=rss2`
|
|
95
|
+
],
|
|
96
|
+
hint: composeHint("wordpress:date-archive-rss")
|
|
97
|
+
});
|
|
98
|
+
uris.push({
|
|
99
|
+
uri: [`${base}/feed/atom/`, `${base}/?feed=atom`],
|
|
100
|
+
hint: composeHint("wordpress:date-archive-atom")
|
|
101
|
+
});
|
|
102
|
+
uris.push({
|
|
103
|
+
uri: [`${base}/feed/rdf/`, `${base}/?feed=rdf`],
|
|
104
|
+
hint: composeHint("wordpress:date-archive-rdf")
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
const yearMonthMatch = pathname.match(yearMonthRegex);
|
|
108
|
+
if (yearMonthMatch?.[1] && yearMonthMatch?.[2]) {
|
|
109
|
+
archiveMatched = true;
|
|
110
|
+
const base = `${origin}/${yearMonthMatch[1]}/${yearMonthMatch[2]}`;
|
|
111
|
+
uris.push({
|
|
112
|
+
uri: [
|
|
113
|
+
`${base}/feed/`,
|
|
114
|
+
`${base}/?feed=rss`,
|
|
115
|
+
`${base}/feed/rss2/`,
|
|
116
|
+
`${base}/?feed=rss2`
|
|
117
|
+
],
|
|
118
|
+
hint: composeHint("wordpress:date-archive-rss")
|
|
119
|
+
});
|
|
120
|
+
uris.push({
|
|
121
|
+
uri: [`${base}/feed/atom/`, `${base}/?feed=atom`],
|
|
122
|
+
hint: composeHint("wordpress:date-archive-atom")
|
|
123
|
+
});
|
|
124
|
+
uris.push({
|
|
125
|
+
uri: [`${base}/feed/rdf/`, `${base}/?feed=rdf`],
|
|
126
|
+
hint: composeHint("wordpress:date-archive-rdf")
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
const yearMatch = pathname.match(yearRegex);
|
|
130
|
+
if (yearMatch?.[1]) {
|
|
131
|
+
archiveMatched = true;
|
|
132
|
+
const base = `${origin}/${yearMatch[1]}`;
|
|
133
|
+
uris.push({
|
|
134
|
+
uri: [
|
|
135
|
+
`${base}/feed/`,
|
|
136
|
+
`${base}/?feed=rss`,
|
|
137
|
+
`${base}/feed/rss2/`,
|
|
138
|
+
`${base}/?feed=rss2`
|
|
139
|
+
],
|
|
140
|
+
hint: composeHint("wordpress:date-archive-rss")
|
|
141
|
+
});
|
|
142
|
+
uris.push({
|
|
143
|
+
uri: [`${base}/feed/atom/`, `${base}/?feed=atom`],
|
|
144
|
+
hint: composeHint("wordpress:date-archive-atom")
|
|
145
|
+
});
|
|
146
|
+
uris.push({
|
|
147
|
+
uri: [`${base}/feed/rdf/`, `${base}/?feed=rdf`],
|
|
148
|
+
hint: composeHint("wordpress:date-archive-rdf")
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
const segments = pathname.split("/").filter(Boolean);
|
|
152
|
+
if (!archiveMatched && segments.length > 0 && !segments.includes("feed")) {
|
|
153
|
+
const base = `${origin}${pathname.replace(trailingSlashRegex, "")}`;
|
|
154
|
+
uris.push({
|
|
155
|
+
uri: [
|
|
156
|
+
`${base}/feed/`,
|
|
157
|
+
`${base}/?feed=rss`,
|
|
158
|
+
`${base}/feed/rss2/`,
|
|
159
|
+
`${base}/?feed=rss2`
|
|
160
|
+
],
|
|
161
|
+
hint: composeHint("wordpress:post-comments-rss")
|
|
162
|
+
});
|
|
163
|
+
uris.push({
|
|
164
|
+
uri: [`${base}/feed/atom/`, `${base}/?feed=atom`],
|
|
165
|
+
hint: composeHint("wordpress:post-comments-atom")
|
|
166
|
+
});
|
|
167
|
+
uris.push({
|
|
168
|
+
uri: [`${base}/feed/rdf/`, `${base}/?feed=rdf`],
|
|
169
|
+
hint: composeHint("wordpress:post-comments-rdf")
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
uris.push({
|
|
173
|
+
uri: [
|
|
174
|
+
`${origin}/feed/`,
|
|
175
|
+
`${origin}/?feed=rss`,
|
|
176
|
+
`${origin}/feed/rss2/`,
|
|
177
|
+
`${origin}/?feed=rss2`
|
|
178
|
+
],
|
|
179
|
+
hint: composeHint("wordpress:posts-rss")
|
|
180
|
+
});
|
|
181
|
+
uris.push({
|
|
182
|
+
uri: [`${origin}/feed/atom/`, `${origin}/?feed=atom`],
|
|
183
|
+
hint: composeHint("wordpress:posts-atom")
|
|
184
|
+
});
|
|
185
|
+
uris.push({
|
|
186
|
+
uri: [`${origin}/feed/rdf/`, `${origin}/?feed=rdf`],
|
|
187
|
+
hint: composeHint("wordpress:posts-rdf")
|
|
188
|
+
});
|
|
189
|
+
uris.push({
|
|
190
|
+
uri: [
|
|
191
|
+
`${origin}/comments/feed/`,
|
|
192
|
+
`${origin}/?feed=comments-rss`,
|
|
193
|
+
`${origin}/comments/feed/rss2/`,
|
|
194
|
+
`${origin}/?feed=comments-rss2`
|
|
195
|
+
],
|
|
196
|
+
hint: composeHint("wordpress:comments-rss")
|
|
197
|
+
});
|
|
198
|
+
uris.push({
|
|
199
|
+
uri: [`${origin}/comments/feed/atom/`, `${origin}/?feed=comments-atom`],
|
|
200
|
+
hint: composeHint("wordpress:comments-atom")
|
|
201
|
+
});
|
|
202
|
+
uris.push({
|
|
203
|
+
uri: [`${origin}/comments/feed/rdf/`, `${origin}/?feed=comments-rdf`],
|
|
204
|
+
hint: composeHint("wordpress:comments-rdf")
|
|
205
|
+
});
|
|
206
|
+
return uris;
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
//#endregion
|
|
210
|
+
export { wordpressHandler };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { isAnyOf } from "../../../../node_modules/trousse/dist/matching.js";
|
|
2
|
+
import { isHostOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
3
|
+
import { composeHint } from "../../../common/utils.js";
|
|
4
|
+
//#region src/feeds/platform/handlers/writeas.ts
|
|
5
|
+
const hosts = ["write.as", "www.write.as"];
|
|
6
|
+
const excludedPaths = [
|
|
7
|
+
"about",
|
|
8
|
+
"api",
|
|
9
|
+
"blog",
|
|
10
|
+
"docs",
|
|
11
|
+
"legal",
|
|
12
|
+
"login",
|
|
13
|
+
"me",
|
|
14
|
+
"pricing",
|
|
15
|
+
"privacy",
|
|
16
|
+
"settings",
|
|
17
|
+
"signup",
|
|
18
|
+
"terms"
|
|
19
|
+
];
|
|
20
|
+
const tagRegex = /^\/([^/]+)\/tag:([^/]+)/;
|
|
21
|
+
const writeasHandler = {
|
|
22
|
+
match: (url) => {
|
|
23
|
+
return isHostOf(url, hosts);
|
|
24
|
+
},
|
|
25
|
+
resolve: (url) => {
|
|
26
|
+
const { pathname } = new URL(url);
|
|
27
|
+
const uris = [];
|
|
28
|
+
const tagMatch = pathname.match(tagRegex);
|
|
29
|
+
if (tagMatch?.[1] && tagMatch?.[2]) {
|
|
30
|
+
const username = tagMatch[1];
|
|
31
|
+
const tag = tagMatch[2];
|
|
32
|
+
uris.push({
|
|
33
|
+
uri: `https://write.as/${username}/tag:${tag}/feed/`,
|
|
34
|
+
hint: composeHint("writeas:tag")
|
|
35
|
+
});
|
|
36
|
+
uris.push({
|
|
37
|
+
uri: `https://write.as/${username}/feed/`,
|
|
38
|
+
hint: composeHint("writeas:blog")
|
|
39
|
+
});
|
|
40
|
+
return uris;
|
|
41
|
+
}
|
|
42
|
+
const pathSegments = pathname.split("/").filter(Boolean);
|
|
43
|
+
if (pathSegments.length === 0) return [];
|
|
44
|
+
const username = pathSegments[0];
|
|
45
|
+
if (isAnyOf(username, excludedPaths)) return [];
|
|
46
|
+
return [{
|
|
47
|
+
uri: `https://write.as/${username}/feed/`,
|
|
48
|
+
hint: composeHint("writeas:blog")
|
|
49
|
+
}];
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
//#endregion
|
|
53
|
+
export { writeasHandler };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isHostOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
2
3
|
//#region src/feeds/platform/handlers/ximalaya.ts
|
|
3
|
-
const albumRegex =
|
|
4
|
+
const albumRegex = /(?:^|\/)album\/(\d+)/;
|
|
4
5
|
const hosts = ["www.ximalaya.com", "ximalaya.com"];
|
|
5
6
|
const ximalayaHandler = {
|
|
6
7
|
match: (url) => {
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isHostOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
2
|
+
import { composeHint } from "../../../common/utils.js";
|
|
2
3
|
//#region src/feeds/platform/handlers/youtube.ts
|
|
3
4
|
const channelIdRegex = /"(?:channelId|externalId)":"(UC[a-zA-Z0-9_-]+)"/;
|
|
4
5
|
const channelRegex = /^\/channel\/(UC[a-zA-Z0-9_-]+)/;
|
|
5
6
|
const handleRegex = /^\/@([^/]+)/;
|
|
6
7
|
const userRegex = /^\/user\/([^/]+)/;
|
|
7
8
|
const customRegex = /^\/c\/([^/]+)/;
|
|
9
|
+
const shortsRegex = /^\/shorts\/[\w-]+/;
|
|
10
|
+
const liveRegex = /^\/live\/[\w-]+/;
|
|
8
11
|
const channelPrefixRegex = /^UC/;
|
|
9
12
|
const hosts = [
|
|
10
13
|
"youtube.com",
|
|
11
14
|
"www.youtube.com",
|
|
12
15
|
"m.youtube.com",
|
|
16
|
+
"music.youtube.com",
|
|
13
17
|
"youtu.be",
|
|
14
18
|
"www.youtu.be"
|
|
15
19
|
];
|
|
@@ -82,7 +86,7 @@ const youtubeHandler = {
|
|
|
82
86
|
hint: composeHint("youtube:playlist")
|
|
83
87
|
});
|
|
84
88
|
if (uris.length === 0 && content) {
|
|
85
|
-
if (parsedUrl.searchParams.has("v") || parsedUrl.hostname.includes("youtu.be") && parsedUrl.pathname.length > 1 || parsedUrl.pathname.match(handleRegex) || parsedUrl.pathname.match(userRegex) || parsedUrl.pathname.match(customRegex)) {
|
|
89
|
+
if (parsedUrl.searchParams.has("v") || parsedUrl.hostname.includes("youtu.be") && parsedUrl.pathname.length > 1 || shortsRegex.test(parsedUrl.pathname) || liveRegex.test(parsedUrl.pathname) || parsedUrl.pathname.match(handleRegex) || parsedUrl.pathname.match(userRegex) || parsedUrl.pathname.match(customRegex)) {
|
|
86
90
|
const channelId = extractChannelIdFromContent(content);
|
|
87
91
|
if (channelId) pushChannelUris(uris, channelId);
|
|
88
92
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { isAnyOf } from "../../../../node_modules/trousse/dist/matching.js";
|
|
2
|
+
import { isHostOf } from "../../../../node_modules/trousse/dist/urls.js";
|
|
3
|
+
import { composeHint } from "../../../common/utils.js";
|
|
4
|
+
//#region src/feeds/platform/handlers/zenn.ts
|
|
5
|
+
const hosts = ["zenn.dev", "www.zenn.dev"];
|
|
6
|
+
const excludedPaths = [
|
|
7
|
+
"about",
|
|
8
|
+
"api",
|
|
9
|
+
"articles",
|
|
10
|
+
"books",
|
|
11
|
+
"login",
|
|
12
|
+
"notifications",
|
|
13
|
+
"p",
|
|
14
|
+
"privacy",
|
|
15
|
+
"publications",
|
|
16
|
+
"scraps",
|
|
17
|
+
"search",
|
|
18
|
+
"settings",
|
|
19
|
+
"signup",
|
|
20
|
+
"terms",
|
|
21
|
+
"topics"
|
|
22
|
+
];
|
|
23
|
+
const topicRegex = /^\/topics\/([^/]+)/;
|
|
24
|
+
const publicationShortRegex = /^\/p\/([^/]+)/;
|
|
25
|
+
const publicationLongRegex = /^\/publications\/([^/]+)/;
|
|
26
|
+
const zennHandler = {
|
|
27
|
+
match: (url) => {
|
|
28
|
+
return isHostOf(url, hosts);
|
|
29
|
+
},
|
|
30
|
+
resolve: (url) => {
|
|
31
|
+
const { pathname } = new URL(url);
|
|
32
|
+
const topicMatch = pathname.match(topicRegex);
|
|
33
|
+
if (topicMatch?.[1]) return [{
|
|
34
|
+
uri: `https://zenn.dev/topics/${topicMatch[1]}/feed`,
|
|
35
|
+
hint: composeHint("zenn:topic")
|
|
36
|
+
}];
|
|
37
|
+
const pubMatch = pathname.match(publicationShortRegex) ?? pathname.match(publicationLongRegex);
|
|
38
|
+
if (pubMatch?.[1]) return [{
|
|
39
|
+
uri: `https://zenn.dev/p/${pubMatch[1]}/feed`,
|
|
40
|
+
hint: composeHint("zenn:publication")
|
|
41
|
+
}];
|
|
42
|
+
const pathSegments = pathname.split("/").filter(Boolean);
|
|
43
|
+
if (pathSegments.length === 0) return [{
|
|
44
|
+
uri: "https://zenn.dev/feed",
|
|
45
|
+
hint: composeHint("zenn:trending")
|
|
46
|
+
}];
|
|
47
|
+
const username = pathSegments[0];
|
|
48
|
+
if (isAnyOf(username, excludedPaths)) return [];
|
|
49
|
+
return [{
|
|
50
|
+
uri: `https://zenn.dev/${username}/feed`,
|
|
51
|
+
hint: composeHint("zenn:posts")
|
|
52
|
+
}];
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
export { zennHandler };
|
package/package.json
CHANGED
|
@@ -49,10 +49,6 @@
|
|
|
49
49
|
"types": "./dist/methods.d.ts",
|
|
50
50
|
"default": "./dist/methods.js"
|
|
51
51
|
},
|
|
52
|
-
"./utils": {
|
|
53
|
-
"types": "./dist/utils.d.ts",
|
|
54
|
-
"default": "./dist/utils.js"
|
|
55
|
-
},
|
|
56
52
|
"./package.json": "./package.json"
|
|
57
53
|
},
|
|
58
54
|
"files": [
|
|
@@ -60,22 +56,25 @@
|
|
|
60
56
|
],
|
|
61
57
|
"scripts": {
|
|
62
58
|
"prepare": "lefthook install",
|
|
63
|
-
"build": "tsdown src/exports/index.ts src/exports/feeds.ts src/exports/blogrolls.ts src/exports/favicons.ts src/exports/hubs.ts src/exports/methods.ts
|
|
59
|
+
"build": "tsdown src/exports/index.ts src/exports/feeds.ts src/exports/blogrolls.ts src/exports/favicons.ts src/exports/hubs.ts src/exports/methods.ts --format esm --dts --clean --unbundle --no-fixed-extension",
|
|
64
60
|
"docs:dev": "vitepress dev docs",
|
|
65
61
|
"docs:build": "vitepress build docs"
|
|
66
62
|
},
|
|
67
63
|
"dependencies": {
|
|
68
|
-
"htmlparser2": "^12.0.0"
|
|
64
|
+
"htmlparser2": "^12.0.0",
|
|
65
|
+
"http-link-header": "^1.1.3"
|
|
69
66
|
},
|
|
70
67
|
"peerDependencies": {
|
|
71
|
-
"feedsmith": "
|
|
68
|
+
"feedsmith": "3.0.0-rc.1"
|
|
72
69
|
},
|
|
73
70
|
"devDependencies": {
|
|
74
71
|
"@types/bun": "^1.3.13",
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
72
|
+
"@types/http-link-header": "^1.0.7",
|
|
73
|
+
"feedsmith": "3.0.0-rc.1",
|
|
74
|
+
"kvalita": "^1.15.1",
|
|
75
|
+
"trousse": "^1.0.1",
|
|
76
|
+
"tsdown": "^0.22.2",
|
|
78
77
|
"vitepress": "^2.0.0-alpha.17"
|
|
79
78
|
},
|
|
80
|
-
"version": "2.0.0-
|
|
79
|
+
"version": "2.0.0-rc.2"
|
|
81
80
|
}
|