urlpurify 1.2.0 → 1.3.0
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 +23 -1
- package/dist/defaults.js +35 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +19 -18
- package/dist/unwraps/hrefLi.d.ts +6 -0
- package/dist/unwraps/hrefLi.js +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,7 +72,13 @@ For wrappers that encode the target (base64 path segments, custom escaping), wri
|
|
|
72
72
|
|
|
73
73
|
### Defaults
|
|
74
74
|
|
|
75
|
-
`defaultTrackingParams` is the combined default list for `cleanUrl` and `stripTrackingParams`: literal names plus family regexes like `/^utm_[a-z0-9_-]+$/` that cover vendor namespaces where new variants keep appearing. Its parts are exported separately as `trackingParamsLiterals` (strings only, for consumers that need a plain string list) and `trackingParamsPatterns`. `defaultUnwrappers` is exported alongside. `defaultUnwrappers` enables a conservative subset of the catalog
|
|
75
|
+
`defaultTrackingParams` is the combined default list for `cleanUrl` and `stripTrackingParams`: literal names plus family regexes like `/^utm_[a-z0-9_-]+$/` that cover vendor namespaces where new variants keep appearing. Its parts are exported separately as `trackingParamsLiterals` (strings only, for consumers that need a plain string list) and `trackingParamsPatterns`. `defaultUnwrappers` is exported alongside. `defaultUnwrappers` enables a conservative subset of the catalog; everything else is exported individually for explicit opt-in.
|
|
76
|
+
|
|
77
|
+
**On by default:** redirects that only track the click — search-engine redirects and platform shims. Unwrapping them costs the destination nothing.
|
|
78
|
+
|
|
79
|
+
**Off by default:** affiliate and referral wrappers (`unwrapSkimlinks`, `unwrapAwin`, `unwrapShareasale`, `unwrapAmazonAffiliate`, `unwrapViglink`, and the rest). The reader lands on the same page either way — unwrapping only removes the writer's commission, which for a small blog is the money paying for the work. Opt in explicitly if you want them.
|
|
80
|
+
|
|
81
|
+
Prevalence is not the test: affiliate wrappers are more common than tracking shims.
|
|
76
82
|
|
|
77
83
|
## Unwrappers
|
|
78
84
|
|
|
@@ -82,17 +88,33 @@ Enabled by default:
|
|
|
82
88
|
| --- | --- |
|
|
83
89
|
| `unwrapBing` | Bing search-result redirect (www.bing.com/ck/a?u=a1\<base64url\>) |
|
|
84
90
|
| `unwrapBlueskyRedirect` | Bluesky outbound link redirect (go.bsky.app/redirect?u=\<target\>) |
|
|
91
|
+
| `unwrapDisqus` | Disqus outbound link redirect (disq.us/?url=\<target\>) |
|
|
92
|
+
| `unwrapDouban` | Douban external link redirect (www.douban.com/link2/?url=\<target\>) |
|
|
85
93
|
| `unwrapFacebookShim` | Meta link shim (l.facebook.com / l.messenger.com /l.php?u=\<target\>) |
|
|
94
|
+
| `unwrapFlipboard` | Flipboard outbound redirect (flipboard.com/redirect?url=\<target\>) |
|
|
95
|
+
| `unwrapGitee` | Gitee external link redirect (gitee.com/link?target=\<target\>) |
|
|
86
96
|
| `unwrapGoogle` | Google redirect (google.\<TLD\>/url?url=\<target\> or ?q=\<target\>) |
|
|
87
97
|
| `unwrapGoogleAmpViewer` | Google AMP viewer (www.google.\<TLD\>/amp/s/\<host\>/\<path\>) |
|
|
88
98
|
| `unwrapGoogleNews` | Google News legacy redirect (news.google.\<TLD\>/news/url?url=\<target\>) |
|
|
89
99
|
| `unwrapGoogleNewsModern` | Google News modern article URLs (news.google.com/articles/\<base64\>) |
|
|
90
100
|
| `unwrapGoogleScholar` | Google Scholar search-result redirect (scholar.google.\<TLD\>/scholar_url?url=\<target\>) |
|
|
101
|
+
| `unwrapHashnode` | Hashnode outbound redirect (hashnode.com/util/redirect?url=\<target\>) |
|
|
102
|
+
| `unwrapHrefLi` | href.li referrer stripper (href.li/?\<target\>), used by Tumblr |
|
|
91
103
|
| `unwrapInstagramShim` | Instagram outbound link shim (l.instagram.com with ?u=\<target\>) |
|
|
104
|
+
| `unwrapJianshuGo` | Jianshu external link redirect (links.jianshu.com/go?to=\<target\>) |
|
|
105
|
+
| `unwrapJuejin` | Juejin external link redirect (link.juejin.cn/?target=\<target\>) |
|
|
106
|
+
| `unwrapMedium` | Medium outbound link redirect (medium.com/r/?url=\<target\>) |
|
|
107
|
+
| `unwrapMozillaOutgoing` | Mozilla outgoing-link redirector (outgoing.prod.mozaws.net/v1/\<hash\>/\<target\>) |
|
|
108
|
+
| `unwrapPocket` | Pocket redirect (getpocket.com/redirect?url=\<target\>) |
|
|
92
109
|
| `unwrapRedditOut` | Reddit outbound click tracker (out.reddit.com/?url=\<target\>) |
|
|
110
|
+
| `unwrapSegmentfault` | Segmentfault external link redirect (link.segmentfault.com/?enc=\<base64\>) |
|
|
111
|
+
| `unwrapSspai` | Sspai external link redirect (sspai.com/link?target=\<target\>) |
|
|
112
|
+
| `unwrapSteamLinkfilter` | Steam outbound link filter (steamcommunity.com/linkfilter/?url=\<target\>) |
|
|
93
113
|
| `unwrapThreadsShim` | Threads outbound link shim (l.threads.com / l.threads.net with ?u=\<target\>) |
|
|
114
|
+
| `unwrapTumblr` | Tumblr outbound redirect (t.umblr.com/redirect?z=\<target\>) |
|
|
94
115
|
| `unwrapVkAway` | VK away redirect (vk.com/away.php?to=\<target\>) |
|
|
95
116
|
| `unwrapYahooSearch` | Yahoo Search redirect (r.search.yahoo.com/.../RU=\<target\>/RK=...) |
|
|
96
117
|
| `unwrapYouTube` | YouTube external redirect (www.youtube.com/redirect?q=\<target\>) |
|
|
118
|
+
| `unwrapZhihu` | Zhihu external redirect (link.zhihu.com/?target=\<target\>) |
|
|
97
119
|
|
|
98
120
|
Many more are available for explicit opt-in: email security gateways (Outlook SafeLinks, Proofpoint, Mimecast), affiliate networks (Awin, Skimlinks, Commission Junction), CJK platforms, AMP caches, and others. See [src/unwraps](src/unwraps) for the full catalog, each documented in its source file.
|
package/dist/defaults.js
CHANGED
|
@@ -1,19 +1,35 @@
|
|
|
1
|
+
import { trackingParamsLiterals } from "./tracking/literals.js";
|
|
2
|
+
import { trackingParamsPatterns } from "./tracking/patterns.js";
|
|
1
3
|
import { unwrapBing } from "./unwraps/bing.js";
|
|
2
4
|
import { unwrapBlueskyRedirect } from "./unwraps/bsky.js";
|
|
5
|
+
import { unwrapDisqus } from "./unwraps/disqus.js";
|
|
6
|
+
import { unwrapDouban } from "./unwraps/douban.js";
|
|
3
7
|
import { unwrapFacebookShim } from "./unwraps/facebook.js";
|
|
8
|
+
import { unwrapFlipboard } from "./unwraps/flipboard.js";
|
|
9
|
+
import { unwrapGitee } from "./unwraps/gitee.js";
|
|
4
10
|
import { unwrapGoogle } from "./unwraps/google.js";
|
|
5
11
|
import { unwrapGoogleAmpViewer } from "./unwraps/googleAmpViewer.js";
|
|
6
12
|
import { unwrapGoogleNews } from "./unwraps/googleNews.js";
|
|
7
13
|
import { unwrapGoogleNewsModern } from "./unwraps/googleNewsModern.js";
|
|
8
14
|
import { unwrapGoogleScholar } from "./unwraps/googleScholar.js";
|
|
15
|
+
import { unwrapHashnode } from "./unwraps/hashnode.js";
|
|
16
|
+
import { unwrapHrefLi } from "./unwraps/hrefLi.js";
|
|
9
17
|
import { unwrapInstagramShim } from "./unwraps/instagram.js";
|
|
18
|
+
import { unwrapJianshuGo } from "./unwraps/jianshuGo.js";
|
|
19
|
+
import { unwrapJuejin } from "./unwraps/juejin.js";
|
|
20
|
+
import { unwrapMedium } from "./unwraps/medium.js";
|
|
21
|
+
import { unwrapMozillaOutgoing } from "./unwraps/mozillaOutgoing.js";
|
|
22
|
+
import { unwrapPocket } from "./unwraps/pocket.js";
|
|
10
23
|
import { unwrapRedditOut } from "./unwraps/redditOut.js";
|
|
24
|
+
import { unwrapSegmentfault } from "./unwraps/segmentfault.js";
|
|
25
|
+
import { unwrapSspai } from "./unwraps/sspai.js";
|
|
26
|
+
import { unwrapSteamLinkfilter } from "./unwraps/steamLinkfilter.js";
|
|
11
27
|
import { unwrapThreadsShim } from "./unwraps/threads.js";
|
|
28
|
+
import { unwrapTumblr } from "./unwraps/tumblr.js";
|
|
12
29
|
import { unwrapVkAway } from "./unwraps/vkAway.js";
|
|
13
30
|
import { unwrapYahooSearch } from "./unwraps/yahooSearch.js";
|
|
14
31
|
import { unwrapYouTube } from "./unwraps/youtube.js";
|
|
15
|
-
import {
|
|
16
|
-
import { trackingParamsPatterns } from "./tracking/patterns.js";
|
|
32
|
+
import { unwrapZhihu } from "./unwraps/zhihu.js";
|
|
17
33
|
//#region src/defaults.ts
|
|
18
34
|
const defaultTrackingParams = [...trackingParamsLiterals, ...trackingParamsPatterns];
|
|
19
35
|
const defaultUnwrappers = [
|
|
@@ -28,9 +44,25 @@ const defaultUnwrappers = [
|
|
|
28
44
|
unwrapFacebookShim,
|
|
29
45
|
unwrapInstagramShim,
|
|
30
46
|
unwrapThreadsShim,
|
|
47
|
+
unwrapPocket,
|
|
48
|
+
unwrapTumblr,
|
|
49
|
+
unwrapHrefLi,
|
|
31
50
|
unwrapVkAway,
|
|
32
51
|
unwrapRedditOut,
|
|
33
|
-
unwrapBlueskyRedirect
|
|
52
|
+
unwrapBlueskyRedirect,
|
|
53
|
+
unwrapDisqus,
|
|
54
|
+
unwrapSteamLinkfilter,
|
|
55
|
+
unwrapDouban,
|
|
56
|
+
unwrapMedium,
|
|
57
|
+
unwrapFlipboard,
|
|
58
|
+
unwrapZhihu,
|
|
59
|
+
unwrapJuejin,
|
|
60
|
+
unwrapSspai,
|
|
61
|
+
unwrapJianshuGo,
|
|
62
|
+
unwrapSegmentfault,
|
|
63
|
+
unwrapGitee,
|
|
64
|
+
unwrapHashnode,
|
|
65
|
+
unwrapMozillaOutgoing
|
|
34
66
|
];
|
|
35
67
|
//#endregion
|
|
36
68
|
export { defaultTrackingParams, defaultUnwrappers };
|
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { unwrapGoogleNewsModern } from "./unwraps/googleNewsModern.js";
|
|
|
32
32
|
import { unwrapGoogleScholar } from "./unwraps/googleScholar.js";
|
|
33
33
|
import { unwrapGoogleTranslate } from "./unwraps/googleTranslate.js";
|
|
34
34
|
import { unwrapHashnode } from "./unwraps/hashnode.js";
|
|
35
|
+
import { unwrapHrefLi } from "./unwraps/hrefLi.js";
|
|
35
36
|
import { unwrapIcptrack } from "./unwraps/icptrack.js";
|
|
36
37
|
import { unwrapIdealoPartner } from "./unwraps/idealoPartner.js";
|
|
37
38
|
import { unwrapInstagramShim } from "./unwraps/instagram.js";
|
|
@@ -80,4 +81,4 @@ import { unwrapYandexTurbo } from "./unwraps/yandexTurbo.js";
|
|
|
80
81
|
import { unwrapYouTube } from "./unwraps/youtube.js";
|
|
81
82
|
import { unwrapZhihu } from "./unwraps/zhihu.js";
|
|
82
83
|
import { ParamExtractorConfig, createParamExtractor } from "./utils.js";
|
|
83
|
-
export { type CleanUrlOptions, type ParamExtractorConfig, type TrackingParam, type UrlUnwrapper, cleanUrl, createParamExtractor, defaultTrackingParams, defaultUnwrappers, stripTrackingParams, trackingParamsLiterals, trackingParamsPatterns, unwrapAceml, unwrapAdjust, unwrapAmazonAffiliate, unwrapAmpCache, unwrapAwin, unwrapBing, unwrapBlueskyRedirect, unwrapCjNetwork, unwrapDigidip, unwrapDisqus, unwrapDouban, unwrapDuckduckgo, unwrapEbayRover, unwrapEffiliation, unwrapEmbedly, unwrapFacebookShim, unwrapFeedsportal, unwrapFirebaseDynamicLinks, unwrapFlipboard, unwrapGateSc, unwrapGeoriot, unwrapGitee, unwrapGoogle, unwrapGoogleAmpViewer, unwrapGoogleNews, unwrapGoogleNewsModern, unwrapGoogleScholar, unwrapGoogleTranslate, unwrapHashnode, unwrapIcptrack, unwrapIdealoPartner, unwrapInstagramShim, unwrapJianshuGo, unwrapJuejin, unwrapLeverAnalytics, unwrapLinksynergy, unwrapMailchimp, unwrapMailpanion, unwrapMailpgn, unwrapMailtrack, unwrapMedium, unwrapMimecast, unwrapMozillaOutgoing, unwrapNarrativ, unwrapNicoMs, unwrapOutlookSafelinks, unwrapPartnerAds, unwrapPocket, unwrapPostmark, unwrapProofpointV1, unwrapProofpointV2, unwrapProofpointV3, unwrapPxf, unwrapRecruitics, unwrapRedditOut, unwrapRedirectingat, unwrapSegmentfault, unwrapShareasale, unwrapSjv, unwrapSkimlinks, unwrapSlack, unwrapSmartredirect, unwrapSspai, unwrapSteamLinkfilter, unwrapTelegramIv, unwrapThreadsShim, unwrapTradedoubler, unwrapTumblr, unwrapUrl, unwrapValuecommerce, unwrapViglink, unwrapVkAway, unwrapWebArchive, unwrapYahooSearch, unwrapYandexTurbo, unwrapYouTube, unwrapZhihu };
|
|
84
|
+
export { type CleanUrlOptions, type ParamExtractorConfig, type TrackingParam, type UrlUnwrapper, cleanUrl, createParamExtractor, defaultTrackingParams, defaultUnwrappers, stripTrackingParams, trackingParamsLiterals, trackingParamsPatterns, unwrapAceml, unwrapAdjust, unwrapAmazonAffiliate, unwrapAmpCache, unwrapAwin, unwrapBing, unwrapBlueskyRedirect, unwrapCjNetwork, unwrapDigidip, unwrapDisqus, unwrapDouban, unwrapDuckduckgo, unwrapEbayRover, unwrapEffiliation, unwrapEmbedly, unwrapFacebookShim, unwrapFeedsportal, unwrapFirebaseDynamicLinks, unwrapFlipboard, unwrapGateSc, unwrapGeoriot, unwrapGitee, unwrapGoogle, unwrapGoogleAmpViewer, unwrapGoogleNews, unwrapGoogleNewsModern, unwrapGoogleScholar, unwrapGoogleTranslate, unwrapHashnode, unwrapHrefLi, unwrapIcptrack, unwrapIdealoPartner, unwrapInstagramShim, unwrapJianshuGo, unwrapJuejin, unwrapLeverAnalytics, unwrapLinksynergy, unwrapMailchimp, unwrapMailpanion, unwrapMailpgn, unwrapMailtrack, unwrapMedium, unwrapMimecast, unwrapMozillaOutgoing, unwrapNarrativ, unwrapNicoMs, unwrapOutlookSafelinks, unwrapPartnerAds, unwrapPocket, unwrapPostmark, unwrapProofpointV1, unwrapProofpointV2, unwrapProofpointV3, unwrapPxf, unwrapRecruitics, unwrapRedditOut, unwrapRedirectingat, unwrapSegmentfault, unwrapShareasale, unwrapSjv, unwrapSkimlinks, unwrapSlack, unwrapSmartredirect, unwrapSspai, unwrapSteamLinkfilter, unwrapTelegramIv, unwrapThreadsShim, unwrapTradedoubler, unwrapTumblr, unwrapUrl, unwrapValuecommerce, unwrapViglink, unwrapVkAway, unwrapWebArchive, unwrapYahooSearch, unwrapYandexTurbo, unwrapYouTube, unwrapZhihu };
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,36 @@
|
|
|
1
|
+
import { trackingParamsLiterals } from "./tracking/literals.js";
|
|
2
|
+
import { trackingParamsPatterns } from "./tracking/patterns.js";
|
|
1
3
|
import { createParamExtractor } from "./utils.js";
|
|
2
4
|
import { unwrapBing } from "./unwraps/bing.js";
|
|
3
5
|
import { unwrapBlueskyRedirect } from "./unwraps/bsky.js";
|
|
6
|
+
import { unwrapDisqus } from "./unwraps/disqus.js";
|
|
7
|
+
import { unwrapDouban } from "./unwraps/douban.js";
|
|
4
8
|
import { unwrapFacebookShim } from "./unwraps/facebook.js";
|
|
9
|
+
import { unwrapFlipboard } from "./unwraps/flipboard.js";
|
|
10
|
+
import { unwrapGitee } from "./unwraps/gitee.js";
|
|
5
11
|
import { unwrapGoogle } from "./unwraps/google.js";
|
|
6
12
|
import { unwrapGoogleAmpViewer } from "./unwraps/googleAmpViewer.js";
|
|
7
13
|
import { unwrapGoogleNews } from "./unwraps/googleNews.js";
|
|
8
14
|
import { unwrapGoogleNewsModern } from "./unwraps/googleNewsModern.js";
|
|
9
15
|
import { unwrapGoogleScholar } from "./unwraps/googleScholar.js";
|
|
16
|
+
import { unwrapHashnode } from "./unwraps/hashnode.js";
|
|
17
|
+
import { unwrapHrefLi } from "./unwraps/hrefLi.js";
|
|
10
18
|
import { unwrapInstagramShim } from "./unwraps/instagram.js";
|
|
19
|
+
import { unwrapJianshuGo } from "./unwraps/jianshuGo.js";
|
|
20
|
+
import { unwrapJuejin } from "./unwraps/juejin.js";
|
|
21
|
+
import { unwrapMedium } from "./unwraps/medium.js";
|
|
22
|
+
import { unwrapMozillaOutgoing } from "./unwraps/mozillaOutgoing.js";
|
|
23
|
+
import { unwrapPocket } from "./unwraps/pocket.js";
|
|
11
24
|
import { unwrapRedditOut } from "./unwraps/redditOut.js";
|
|
25
|
+
import { unwrapSegmentfault } from "./unwraps/segmentfault.js";
|
|
26
|
+
import { unwrapSspai } from "./unwraps/sspai.js";
|
|
27
|
+
import { unwrapSteamLinkfilter } from "./unwraps/steamLinkfilter.js";
|
|
12
28
|
import { unwrapThreadsShim } from "./unwraps/threads.js";
|
|
29
|
+
import { unwrapTumblr } from "./unwraps/tumblr.js";
|
|
13
30
|
import { unwrapVkAway } from "./unwraps/vkAway.js";
|
|
14
31
|
import { unwrapYahooSearch } from "./unwraps/yahooSearch.js";
|
|
15
32
|
import { unwrapYouTube } from "./unwraps/youtube.js";
|
|
16
|
-
import {
|
|
17
|
-
import { trackingParamsPatterns } from "./tracking/patterns.js";
|
|
33
|
+
import { unwrapZhihu } from "./unwraps/zhihu.js";
|
|
18
34
|
import { defaultTrackingParams, defaultUnwrappers } from "./defaults.js";
|
|
19
35
|
import { cleanUrl, stripTrackingParams, unwrapUrl } from "./clean.js";
|
|
20
36
|
import { unwrapAceml } from "./unwraps/aceml.js";
|
|
@@ -24,38 +40,28 @@ import { unwrapAmpCache } from "./unwraps/ampCache.js";
|
|
|
24
40
|
import { unwrapAwin } from "./unwraps/awin.js";
|
|
25
41
|
import { unwrapCjNetwork } from "./unwraps/cjNetwork.js";
|
|
26
42
|
import { unwrapDigidip } from "./unwraps/digidip.js";
|
|
27
|
-
import { unwrapDisqus } from "./unwraps/disqus.js";
|
|
28
|
-
import { unwrapDouban } from "./unwraps/douban.js";
|
|
29
43
|
import { unwrapDuckduckgo } from "./unwraps/duckduckgo.js";
|
|
30
44
|
import { unwrapEbayRover } from "./unwraps/ebayRover.js";
|
|
31
45
|
import { unwrapEffiliation } from "./unwraps/effiliation.js";
|
|
32
46
|
import { unwrapEmbedly } from "./unwraps/embedly.js";
|
|
33
47
|
import { unwrapFeedsportal } from "./unwraps/feedsportal.js";
|
|
34
48
|
import { unwrapFirebaseDynamicLinks } from "./unwraps/firebaseDynamicLinks.js";
|
|
35
|
-
import { unwrapFlipboard } from "./unwraps/flipboard.js";
|
|
36
49
|
import { unwrapGateSc } from "./unwraps/gateSc.js";
|
|
37
50
|
import { unwrapGeoriot } from "./unwraps/georiot.js";
|
|
38
|
-
import { unwrapGitee } from "./unwraps/gitee.js";
|
|
39
51
|
import { unwrapGoogleTranslate } from "./unwraps/googleTranslate.js";
|
|
40
|
-
import { unwrapHashnode } from "./unwraps/hashnode.js";
|
|
41
52
|
import { unwrapIcptrack } from "./unwraps/icptrack.js";
|
|
42
53
|
import { unwrapIdealoPartner } from "./unwraps/idealoPartner.js";
|
|
43
|
-
import { unwrapJianshuGo } from "./unwraps/jianshuGo.js";
|
|
44
|
-
import { unwrapJuejin } from "./unwraps/juejin.js";
|
|
45
54
|
import { unwrapLeverAnalytics } from "./unwraps/leverAnalytics.js";
|
|
46
55
|
import { unwrapLinksynergy } from "./unwraps/linksynergy.js";
|
|
47
56
|
import { unwrapMailchimp } from "./unwraps/mailchimp.js";
|
|
48
57
|
import { unwrapMailpanion } from "./unwraps/mailpanion.js";
|
|
49
58
|
import { unwrapMailpgn } from "./unwraps/mailpgn.js";
|
|
50
59
|
import { unwrapMailtrack } from "./unwraps/mailtrack.js";
|
|
51
|
-
import { unwrapMedium } from "./unwraps/medium.js";
|
|
52
60
|
import { unwrapMimecast } from "./unwraps/mimecast.js";
|
|
53
|
-
import { unwrapMozillaOutgoing } from "./unwraps/mozillaOutgoing.js";
|
|
54
61
|
import { unwrapNarrativ } from "./unwraps/narrativ.js";
|
|
55
62
|
import { unwrapNicoMs } from "./unwraps/nicoMs.js";
|
|
56
63
|
import { unwrapOutlookSafelinks } from "./unwraps/outlookSafelinks.js";
|
|
57
64
|
import { unwrapPartnerAds } from "./unwraps/partnerAds.js";
|
|
58
|
-
import { unwrapPocket } from "./unwraps/pocket.js";
|
|
59
65
|
import { unwrapPostmark } from "./unwraps/postmark.js";
|
|
60
66
|
import { unwrapProofpointV1 } from "./unwraps/proofpointV1.js";
|
|
61
67
|
import { unwrapProofpointV2 } from "./unwraps/proofpointV2.js";
|
|
@@ -63,20 +69,15 @@ import { unwrapProofpointV3 } from "./unwraps/proofpointV3.js";
|
|
|
63
69
|
import { unwrapPxf } from "./unwraps/pxf.js";
|
|
64
70
|
import { unwrapRecruitics } from "./unwraps/recruitics.js";
|
|
65
71
|
import { unwrapRedirectingat } from "./unwraps/redirectingat.js";
|
|
66
|
-
import { unwrapSegmentfault } from "./unwraps/segmentfault.js";
|
|
67
72
|
import { unwrapShareasale } from "./unwraps/shareasale.js";
|
|
68
73
|
import { unwrapSjv } from "./unwraps/sjv.js";
|
|
69
74
|
import { unwrapSkimlinks } from "./unwraps/skimlinks.js";
|
|
70
75
|
import { unwrapSlack } from "./unwraps/slack.js";
|
|
71
76
|
import { unwrapSmartredirect } from "./unwraps/smartredirect.js";
|
|
72
|
-
import { unwrapSspai } from "./unwraps/sspai.js";
|
|
73
|
-
import { unwrapSteamLinkfilter } from "./unwraps/steamLinkfilter.js";
|
|
74
77
|
import { unwrapTelegramIv } from "./unwraps/telegramIv.js";
|
|
75
78
|
import { unwrapTradedoubler } from "./unwraps/tradedoubler.js";
|
|
76
|
-
import { unwrapTumblr } from "./unwraps/tumblr.js";
|
|
77
79
|
import { unwrapValuecommerce } from "./unwraps/valuecommerce.js";
|
|
78
80
|
import { unwrapViglink } from "./unwraps/viglink.js";
|
|
79
81
|
import { unwrapWebArchive } from "./unwraps/webArchive.js";
|
|
80
82
|
import { unwrapYandexTurbo } from "./unwraps/yandexTurbo.js";
|
|
81
|
-
|
|
82
|
-
export { cleanUrl, createParamExtractor, defaultTrackingParams, defaultUnwrappers, stripTrackingParams, trackingParamsLiterals, trackingParamsPatterns, unwrapAceml, unwrapAdjust, unwrapAmazonAffiliate, unwrapAmpCache, unwrapAwin, unwrapBing, unwrapBlueskyRedirect, unwrapCjNetwork, unwrapDigidip, unwrapDisqus, unwrapDouban, unwrapDuckduckgo, unwrapEbayRover, unwrapEffiliation, unwrapEmbedly, unwrapFacebookShim, unwrapFeedsportal, unwrapFirebaseDynamicLinks, unwrapFlipboard, unwrapGateSc, unwrapGeoriot, unwrapGitee, unwrapGoogle, unwrapGoogleAmpViewer, unwrapGoogleNews, unwrapGoogleNewsModern, unwrapGoogleScholar, unwrapGoogleTranslate, unwrapHashnode, unwrapIcptrack, unwrapIdealoPartner, unwrapInstagramShim, unwrapJianshuGo, unwrapJuejin, unwrapLeverAnalytics, unwrapLinksynergy, unwrapMailchimp, unwrapMailpanion, unwrapMailpgn, unwrapMailtrack, unwrapMedium, unwrapMimecast, unwrapMozillaOutgoing, unwrapNarrativ, unwrapNicoMs, unwrapOutlookSafelinks, unwrapPartnerAds, unwrapPocket, unwrapPostmark, unwrapProofpointV1, unwrapProofpointV2, unwrapProofpointV3, unwrapPxf, unwrapRecruitics, unwrapRedditOut, unwrapRedirectingat, unwrapSegmentfault, unwrapShareasale, unwrapSjv, unwrapSkimlinks, unwrapSlack, unwrapSmartredirect, unwrapSspai, unwrapSteamLinkfilter, unwrapTelegramIv, unwrapThreadsShim, unwrapTradedoubler, unwrapTumblr, unwrapUrl, unwrapValuecommerce, unwrapViglink, unwrapVkAway, unwrapWebArchive, unwrapYahooSearch, unwrapYandexTurbo, unwrapYouTube, unwrapZhihu };
|
|
83
|
+
export { cleanUrl, createParamExtractor, defaultTrackingParams, defaultUnwrappers, stripTrackingParams, trackingParamsLiterals, trackingParamsPatterns, unwrapAceml, unwrapAdjust, unwrapAmazonAffiliate, unwrapAmpCache, unwrapAwin, unwrapBing, unwrapBlueskyRedirect, unwrapCjNetwork, unwrapDigidip, unwrapDisqus, unwrapDouban, unwrapDuckduckgo, unwrapEbayRover, unwrapEffiliation, unwrapEmbedly, unwrapFacebookShim, unwrapFeedsportal, unwrapFirebaseDynamicLinks, unwrapFlipboard, unwrapGateSc, unwrapGeoriot, unwrapGitee, unwrapGoogle, unwrapGoogleAmpViewer, unwrapGoogleNews, unwrapGoogleNewsModern, unwrapGoogleScholar, unwrapGoogleTranslate, unwrapHashnode, unwrapHrefLi, unwrapIcptrack, unwrapIdealoPartner, unwrapInstagramShim, unwrapJianshuGo, unwrapJuejin, unwrapLeverAnalytics, unwrapLinksynergy, unwrapMailchimp, unwrapMailpanion, unwrapMailpgn, unwrapMailtrack, unwrapMedium, unwrapMimecast, unwrapMozillaOutgoing, unwrapNarrativ, unwrapNicoMs, unwrapOutlookSafelinks, unwrapPartnerAds, unwrapPocket, unwrapPostmark, unwrapProofpointV1, unwrapProofpointV2, unwrapProofpointV3, unwrapPxf, unwrapRecruitics, unwrapRedditOut, unwrapRedirectingat, unwrapSegmentfault, unwrapShareasale, unwrapSjv, unwrapSkimlinks, unwrapSlack, unwrapSmartredirect, unwrapSspai, unwrapSteamLinkfilter, unwrapTelegramIv, unwrapThreadsShim, unwrapTradedoubler, unwrapTumblr, unwrapUrl, unwrapValuecommerce, unwrapViglink, unwrapVkAway, unwrapWebArchive, unwrapYahooSearch, unwrapYandexTurbo, unwrapYouTube, unwrapZhihu };
|
package/package.json
CHANGED