urlpurify 2.1.1 → 2.2.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 +2 -0
- package/dist/clean.d.mts +1 -3
- package/dist/clean.mjs +7 -11
- package/dist/defaults.d.mts +2 -2
- package/dist/defaults.mjs +43 -4
- package/dist/index.d.mts +20 -2
- package/dist/index.mjs +20 -2
- package/dist/node_modules/entities/dist/decode-codepoint.mjs +72 -0
- package/dist/node_modules/entities/dist/decode.mjs +314 -0
- package/dist/node_modules/entities/dist/generated/decode-data-html.mjs +5 -0
- package/dist/node_modules/entities/dist/internal/bin-trie-flags.mjs +50 -0
- package/dist/node_modules/entities/dist/internal/decode-shared.mjs +143 -0
- package/dist/node_modules/trousse/dist/is.mjs +1 -2
- package/dist/node_modules/trousse/dist/matching.mjs +7 -4
- package/dist/node_modules/trousse/dist/urls.mjs +90 -10
- package/dist/pathTarget.mjs +1 -2
- package/dist/tracking/affiliate.d.mts +1 -3
- package/dist/tracking/affiliate.mjs +1 -2
- package/dist/tracking/campaign.d.mts +1 -3
- package/dist/tracking/campaign.mjs +1 -2
- package/dist/tracking/clickAttribution.d.mts +1 -3
- package/dist/tracking/clickAttribution.mjs +1 -2
- package/dist/tracking/housekeeping.d.mts +1 -3
- package/dist/tracking/housekeeping.mjs +1 -2
- package/dist/tracking/visitorId.d.mts +1 -3
- package/dist/tracking/visitorId.mjs +1 -2
- package/dist/types.d.mts +1 -3
- package/dist/unwraps/12ft.d.mts +1 -3
- package/dist/unwraps/12ft.mjs +1 -2
- package/dist/unwraps/2performant.d.mts +1 -3
- package/dist/unwraps/2performant.mjs +1 -2
- package/dist/unwraps/4pda.d.mts +1 -3
- package/dist/unwraps/4pda.mjs +1 -2
- package/dist/unwraps/a8Net.d.mts +1 -3
- package/dist/unwraps/a8Net.mjs +1 -2
- package/dist/unwraps/aboutCom.d.mts +1 -3
- package/dist/unwraps/aboutCom.mjs +1 -2
- package/dist/unwraps/acast.d.mts +1 -3
- package/dist/unwraps/acast.mjs +1 -2
- package/dist/unwraps/accesstrade.d.mts +1 -3
- package/dist/unwraps/accesstrade.mjs +1 -2
- package/dist/unwraps/aceml.d.mts +1 -3
- package/dist/unwraps/aceml.mjs +1 -2
- package/dist/unwraps/adcell.d.mts +1 -3
- package/dist/unwraps/adcell.mjs +1 -2
- package/dist/unwraps/adfly.d.mts +1 -3
- package/dist/unwraps/adfly.mjs +1 -2
- package/dist/unwraps/adjust.d.mts +1 -3
- package/dist/unwraps/adjust.mjs +1 -2
- package/dist/unwraps/admitad.d.mts +1 -3
- package/dist/unwraps/admitad.mjs +1 -2
- package/dist/unwraps/adrecord.d.mts +1 -3
- package/dist/unwraps/adrecord.mjs +1 -2
- package/dist/unwraps/adtraction.d.mts +1 -3
- package/dist/unwraps/adtraction.mjs +1 -2
- package/dist/unwraps/affilae.d.mts +1 -3
- package/dist/unwraps/affilae.mjs +1 -2
- package/dist/unwraps/affiliateFuture.d.mts +1 -3
- package/dist/unwraps/affiliateFuture.mjs +1 -2
- package/dist/unwraps/affiliatesOne.d.mts +1 -3
- package/dist/unwraps/affiliatesOne.mjs +1 -2
- package/dist/unwraps/aliexpress.d.mts +1 -3
- package/dist/unwraps/aliexpress.mjs +1 -2
- package/dist/unwraps/aliyun.d.mts +1 -3
- package/dist/unwraps/aliyun.mjs +1 -2
- package/dist/unwraps/allblog.d.mts +1 -3
- package/dist/unwraps/allblog.mjs +1 -2
- package/dist/unwraps/amazonAffiliate.d.mts +1 -3
- package/dist/unwraps/amazonAffiliate.mjs +1 -2
- package/dist/unwraps/amazonSes.d.mts +1 -3
- package/dist/unwraps/amazonSes.mjs +1 -2
- package/dist/unwraps/ampCache.d.mts +1 -3
- package/dist/unwraps/ampCache.mjs +1 -2
- package/dist/unwraps/ampCacheImage.d.mts +2 -0
- package/dist/unwraps/ampCacheImage.mjs +10 -0
- package/dist/unwraps/anchor.d.mts +1 -3
- package/dist/unwraps/anchor.mjs +1 -2
- package/dist/unwraps/anonymTo.d.mts +1 -3
- package/dist/unwraps/anonymTo.mjs +1 -2
- package/dist/unwraps/anonymouse.d.mts +1 -3
- package/dist/unwraps/anonymouse.mjs +1 -2
- package/dist/unwraps/appsflyerOnelink.d.mts +1 -3
- package/dist/unwraps/appsflyerOnelink.mjs +1 -2
- package/dist/unwraps/apptrkr.d.mts +1 -3
- package/dist/unwraps/apptrkr.mjs +1 -2
- package/dist/unwraps/archiveToday.d.mts +1 -3
- package/dist/unwraps/archiveToday.mjs +1 -2
- package/dist/unwraps/arquivo.d.mts +1 -3
- package/dist/unwraps/arquivo.mjs +1 -2
- package/dist/unwraps/arttrack.d.mts +1 -3
- package/dist/unwraps/arttrack.mjs +1 -2
- package/dist/unwraps/arxiv.d.mts +1 -3
- package/dist/unwraps/arxiv.mjs +1 -2
- package/dist/unwraps/ask.d.mts +1 -3
- package/dist/unwraps/ask.mjs +1 -2
- package/dist/unwraps/augure.d.mts +1 -3
- package/dist/unwraps/augure.mjs +1 -2
- package/dist/unwraps/ausha.d.mts +1 -3
- package/dist/unwraps/ausha.mjs +1 -2
- package/dist/unwraps/avantlink.d.mts +1 -3
- package/dist/unwraps/avantlink.mjs +1 -2
- package/dist/unwraps/awesound.d.mts +1 -3
- package/dist/unwraps/awesound.mjs +1 -2
- package/dist/unwraps/awin.d.mts +1 -3
- package/dist/unwraps/awin.mjs +1 -2
- package/dist/unwraps/axigen.d.mts +1 -3
- package/dist/unwraps/axigen.mjs +1 -2
- package/dist/unwraps/babyblog.d.mts +1 -3
- package/dist/unwraps/babyblog.mjs +1 -2
- package/dist/unwraps/bacLacWebArchive.d.mts +1 -3
- package/dist/unwraps/bacLacWebArchive.mjs +1 -2
- package/dist/unwraps/bale.d.mts +1 -3
- package/dist/unwraps/bale.mjs +1 -2
- package/dist/unwraps/bananatag.d.mts +1 -3
- package/dist/unwraps/bananatag.mjs +1 -2
- package/dist/unwraps/barracudaLinkProtect.d.mts +1 -3
- package/dist/unwraps/barracudaLinkProtect.mjs +1 -2
- package/dist/unwraps/big5Gate.d.mts +1 -3
- package/dist/unwraps/big5Gate.mjs +1 -2
- package/dist/unwraps/bing.d.mts +1 -3
- package/dist/unwraps/bing.mjs +1 -2
- package/dist/unwraps/bingAds.d.mts +1 -3
- package/dist/unwraps/bingAds.mjs +1 -2
- package/dist/unwraps/bitrix.d.mts +1 -3
- package/dist/unwraps/bitrix.mjs +1 -2
- package/dist/unwraps/bitrixBanner.d.mts +1 -3
- package/dist/unwraps/bitrixBanner.mjs +1 -2
- package/dist/unwraps/bizrate.d.mts +1 -3
- package/dist/unwraps/bizrate.mjs +1 -2
- package/dist/unwraps/bloggerImageProxy.d.mts +2 -0
- package/dist/unwraps/bloggerImageProxy.mjs +13 -0
- package/dist/unwraps/blubrry.d.mts +1 -3
- package/dist/unwraps/blubrry.mjs +1 -2
- package/dist/unwraps/bolPartner.d.mts +1 -3
- package/dist/unwraps/bolPartner.mjs +1 -2
- package/dist/unwraps/bridgyFed.d.mts +1 -3
- package/dist/unwraps/bridgyFed.mjs +1 -2
- package/dist/unwraps/brightspot.d.mts +2 -0
- package/dist/unwraps/brightspot.mjs +12 -0
- package/dist/unwraps/bsky.d.mts +1 -3
- package/dist/unwraps/bsky.mjs +1 -2
- package/dist/unwraps/businessWire.d.mts +1 -3
- package/dist/unwraps/businessWire.mjs +1 -2
- package/dist/unwraps/button.d.mts +1 -3
- package/dist/unwraps/button.mjs +1 -2
- package/dist/unwraps/buyAt.d.mts +1 -3
- package/dist/unwraps/buyAt.mjs +1 -2
- package/dist/unwraps/buybox.d.mts +1 -3
- package/dist/unwraps/buybox.mjs +1 -2
- package/dist/unwraps/buzzstream.d.mts +1 -3
- package/dist/unwraps/buzzstream.mjs +1 -2
- package/dist/unwraps/bytedance.d.mts +1 -3
- package/dist/unwraps/bytedance.mjs +1 -2
- package/dist/unwraps/cake.d.mts +1 -3
- package/dist/unwraps/cake.mjs +1 -2
- package/dist/unwraps/calendly.d.mts +1 -3
- package/dist/unwraps/calendly.mjs +1 -2
- package/dist/unwraps/canva.d.mts +1 -3
- package/dist/unwraps/canva.mjs +1 -2
- package/dist/unwraps/castPlus.d.mts +1 -3
- package/dist/unwraps/castPlus.mjs +1 -2
- package/dist/unwraps/ccbill.d.mts +1 -3
- package/dist/unwraps/ccbill.mjs +1 -2
- package/dist/unwraps/chartable.d.mts +1 -3
- package/dist/unwraps/chartable.mjs +1 -2
- package/dist/unwraps/checkPointHarmony.d.mts +1 -3
- package/dist/unwraps/checkPointHarmony.mjs +4 -5
- package/dist/unwraps/chitika.d.mts +1 -3
- package/dist/unwraps/chitika.mjs +1 -2
- package/dist/unwraps/ciscoSecureWeb.d.mts +1 -3
- package/dist/unwraps/ciscoSecureWeb.mjs +1 -2
- package/dist/unwraps/cjNetwork.d.mts +1 -3
- package/dist/unwraps/cjNetwork.mjs +1 -2
- package/dist/unwraps/claritas.d.mts +1 -3
- package/dist/unwraps/claritas.mjs +1 -2
- package/dist/unwraps/cleverbridge.d.mts +1 -3
- package/dist/unwraps/cleverbridge.mjs +1 -2
- package/dist/unwraps/clevercomm.d.mts +1 -3
- package/dist/unwraps/clevercomm.mjs +1 -2
- package/dist/unwraps/cloudflareImages.d.mts +2 -0
- package/dist/unwraps/cloudflareImages.mjs +12 -0
- package/dist/unwraps/cloudhq.d.mts +1 -3
- package/dist/unwraps/cloudhq.mjs +1 -2
- package/dist/unwraps/cloudinaryFetch.d.mts +2 -0
- package/dist/unwraps/cloudinaryFetch.mjs +9 -0
- package/dist/unwraps/cloze.d.mts +1 -3
- package/dist/unwraps/cloze.mjs +1 -2
- package/dist/unwraps/cohst.d.mts +1 -3
- package/dist/unwraps/cohst.mjs +1 -2
- package/dist/unwraps/commissionFactory.d.mts +1 -3
- package/dist/unwraps/commissionFactory.mjs +1 -2
- package/dist/unwraps/communicationads.d.mts +1 -3
- package/dist/unwraps/communicationads.mjs +1 -2
- package/dist/unwraps/constantContact.d.mts +1 -3
- package/dist/unwraps/constantContact.mjs +1 -2
- package/dist/unwraps/contactMonkey.d.mts +1 -3
- package/dist/unwraps/contactMonkey.mjs +1 -2
- package/dist/unwraps/convertiser.d.mts +1 -3
- package/dist/unwraps/convertiser.mjs +1 -2
- package/dist/unwraps/csdn.d.mts +1 -3
- package/dist/unwraps/csdn.mjs +1 -2
- package/dist/unwraps/cse360.d.mts +1 -3
- package/dist/unwraps/cse360.mjs +1 -2
- package/dist/unwraps/cuelinks.d.mts +1 -3
- package/dist/unwraps/cuelinks.mjs +1 -2
- package/dist/unwraps/dasBlog.d.mts +1 -3
- package/dist/unwraps/dasBlog.mjs +1 -2
- package/dist/unwraps/datalifeEngine.d.mts +1 -3
- package/dist/unwraps/datalifeEngine.mjs +1 -2
- package/dist/unwraps/deployer.d.mts +1 -3
- package/dist/unwraps/deployer.mjs +1 -2
- package/dist/unwraps/derefMail.d.mts +1 -3
- package/dist/unwraps/derefMail.mjs +1 -2
- package/dist/unwraps/devToImage.d.mts +2 -0
- package/dist/unwraps/devToImage.mjs +10 -0
- package/dist/unwraps/deviantartOutgoing.d.mts +1 -3
- package/dist/unwraps/deviantartOutgoing.mjs +1 -2
- package/dist/unwraps/digidip.d.mts +1 -3
- package/dist/unwraps/digidip.mjs +1 -2
- package/dist/unwraps/digikala.d.mts +1 -3
- package/dist/unwraps/digikala.mjs +1 -2
- package/dist/unwraps/directMail.d.mts +1 -3
- package/dist/unwraps/directMail.mjs +1 -2
- package/dist/unwraps/disqus.d.mts +1 -3
- package/dist/unwraps/disqus.mjs +1 -2
- package/dist/unwraps/dmmAffiliate.d.mts +1 -3
- package/dist/unwraps/dmmAffiliate.mjs +1 -2
- package/dist/unwraps/dognet.d.mts +1 -3
- package/dist/unwraps/dognet.mjs +1 -2
- package/dist/unwraps/douban.d.mts +1 -3
- package/dist/unwraps/douban.mjs +1 -2
- package/dist/unwraps/dropbox.d.mts +1 -3
- package/dist/unwraps/dropbox.mjs +1 -2
- package/dist/unwraps/drupalOembed.d.mts +2 -0
- package/dist/unwraps/drupalOembed.mjs +14 -0
- package/dist/unwraps/dstats.d.mts +1 -3
- package/dist/unwraps/dstats.mjs +1 -2
- package/dist/unwraps/duckduckgo.d.mts +1 -3
- package/dist/unwraps/duckduckgo.mjs +1 -2
- package/dist/unwraps/duckduckgoAds.d.mts +1 -3
- package/dist/unwraps/duckduckgoAds.mjs +1 -2
- package/dist/unwraps/duckduckgoImage.d.mts +2 -0
- package/dist/unwraps/duckduckgoImage.mjs +12 -0
- package/dist/unwraps/duomai.d.mts +1 -3
- package/dist/unwraps/duomai.mjs +1 -2
- package/dist/unwraps/dyn.d.mts +1 -3
- package/dist/unwraps/dyn.mjs +1 -2
- package/dist/unwraps/dzen.d.mts +1 -3
- package/dist/unwraps/dzen.mjs +1 -2
- package/dist/unwraps/eClick.d.mts +1 -3
- package/dist/unwraps/eClick.mjs +1 -2
- package/dist/unwraps/easyMarketing.d.mts +1 -3
- package/dist/unwraps/easyMarketing.mjs +1 -2
- package/dist/unwraps/ebayRover.d.mts +1 -3
- package/dist/unwraps/ebayRover.mjs +1 -2
- package/dist/unwraps/ebuzzing.d.mts +1 -3
- package/dist/unwraps/ebuzzing.mjs +1 -2
- package/dist/unwraps/edgepilot.d.mts +1 -3
- package/dist/unwraps/edgepilot.mjs +1 -2
- package/dist/unwraps/effiliation.d.mts +1 -3
- package/dist/unwraps/effiliation.mjs +1 -2
- package/dist/unwraps/ehub.d.mts +1 -3
- package/dist/unwraps/ehub.mjs +1 -2
- package/dist/unwraps/elasticEmail.d.mts +1 -3
- package/dist/unwraps/elasticEmail.mjs +1 -2
- package/dist/unwraps/embedly.d.mts +1 -3
- package/dist/unwraps/embedly.mjs +3 -4
- package/dist/unwraps/epn.d.mts +1 -3
- package/dist/unwraps/epn.mjs +1 -2
- package/dist/unwraps/esva.d.mts +1 -3
- package/dist/unwraps/esva.mjs +1 -2
- package/dist/unwraps/eulerian.d.mts +1 -3
- package/dist/unwraps/eulerian.mjs +1 -2
- package/dist/unwraps/evernote.d.mts +1 -3
- package/dist/unwraps/evernote.mjs +1 -2
- package/dist/unwraps/exciteTranslate.d.mts +1 -3
- package/dist/unwraps/exciteTranslate.mjs +1 -2
- package/dist/unwraps/expediaAffiliate.d.mts +1 -3
- package/dist/unwraps/expediaAffiliate.mjs +1 -2
- package/dist/unwraps/facebook.d.mts +1 -3
- package/dist/unwraps/facebook.mjs +1 -2
- package/dist/unwraps/fanbridge.d.mts +1 -3
- package/dist/unwraps/fanbridge.mjs +1 -2
- package/dist/unwraps/federatedMedia.d.mts +1 -3
- package/dist/unwraps/federatedMedia.mjs +1 -2
- package/dist/unwraps/feedStatistics.d.mts +1 -3
- package/dist/unwraps/feedStatistics.mjs +1 -2
- package/dist/unwraps/feedblitz.d.mts +1 -3
- package/dist/unwraps/feedblitz.mjs +1 -2
- package/dist/unwraps/feedsportal.d.mts +1 -3
- package/dist/unwraps/feedsportal.mjs +1 -2
- package/dist/unwraps/finalsite.d.mts +1 -3
- package/dist/unwraps/finalsite.mjs +1 -2
- package/dist/unwraps/firebaseDynamicLinks.d.mts +1 -3
- package/dist/unwraps/firebaseDynamicLinks.mjs +1 -2
- package/dist/unwraps/fireeye.d.mts +1 -3
- package/dist/unwraps/fireeye.mjs +1 -2
- package/dist/unwraps/firstory.d.mts +1 -3
- package/dist/unwraps/firstory.mjs +1 -2
- package/dist/unwraps/fiveByFive.d.mts +1 -3
- package/dist/unwraps/fiveByFive.mjs +1 -2
- package/dist/unwraps/fiverr.d.mts +1 -3
- package/dist/unwraps/fiverr.mjs +1 -2
- package/dist/unwraps/flexoffers.d.mts +1 -3
- package/dist/unwraps/flexoffers.mjs +1 -2
- package/dist/unwraps/flipboard.d.mts +1 -3
- package/dist/unwraps/flipboard.mjs +1 -2
- package/dist/unwraps/fortimail.d.mts +1 -3
- package/dist/unwraps/fortimail.mjs +1 -2
- package/dist/unwraps/ftc.d.mts +1 -3
- package/dist/unwraps/ftc.mjs +1 -2
- package/dist/unwraps/gateSc.d.mts +1 -3
- package/dist/unwraps/gateSc.mjs +1 -2
- package/dist/unwraps/georiot.d.mts +1 -3
- package/dist/unwraps/georiot.mjs +1 -2
- package/dist/unwraps/gfnLinkProxy.d.mts +1 -3
- package/dist/unwraps/gfnLinkProxy.mjs +1 -2
- package/dist/unwraps/gitee.d.mts +1 -3
- package/dist/unwraps/gitee.mjs +1 -2
- package/dist/unwraps/glueUp.d.mts +1 -3
- package/dist/unwraps/glueUp.mjs +1 -2
- package/dist/unwraps/godcaster.d.mts +1 -3
- package/dist/unwraps/godcaster.mjs +1 -2
- package/dist/unwraps/google.d.mts +1 -3
- package/dist/unwraps/google.mjs +1 -2
- package/dist/unwraps/googleAds.d.mts +1 -3
- package/dist/unwraps/googleAds.mjs +1 -2
- package/dist/unwraps/googleAmpViewer.d.mts +1 -3
- package/dist/unwraps/googleAmpViewer.mjs +6 -5
- package/dist/unwraps/googleNews.d.mts +1 -3
- package/dist/unwraps/googleNews.mjs +0 -1
- package/dist/unwraps/googleNewsModern.d.mts +1 -3
- package/dist/unwraps/googleNewsModern.mjs +1 -2
- package/dist/unwraps/googleScholar.d.mts +1 -3
- package/dist/unwraps/googleScholar.mjs +0 -1
- package/dist/unwraps/googleTranslate.d.mts +1 -3
- package/dist/unwraps/googleTranslate.mjs +1 -2
- package/dist/unwraps/googleWebLight.d.mts +1 -3
- package/dist/unwraps/googleWebLight.mjs +1 -2
- package/dist/unwraps/govdelivery.d.mts +1 -3
- package/dist/unwraps/govdelivery.mjs +1 -2
- package/dist/unwraps/groupMail.d.mts +1 -3
- package/dist/unwraps/groupMail.mjs +1 -2
- package/dist/unwraps/groupon.d.mts +1 -3
- package/dist/unwraps/groupon.mjs +1 -2
- package/dist/unwraps/gumball.d.mts +1 -3
- package/dist/unwraps/gumball.mjs +1 -2
- package/dist/unwraps/gurunavi.d.mts +1 -3
- package/dist/unwraps/gurunavi.mjs +1 -2
- package/dist/unwraps/hackerone.d.mts +1 -3
- package/dist/unwraps/hackerone.mjs +1 -2
- package/dist/unwraps/hashnode.d.mts +1 -3
- package/dist/unwraps/hashnode.mjs +1 -2
- package/dist/unwraps/hasoffers.d.mts +1 -3
- package/dist/unwraps/hasoffers.mjs +1 -2
- package/dist/unwraps/hatenaImage.d.mts +2 -0
- package/dist/unwraps/hatenaImage.mjs +10 -0
- package/dist/unwraps/hearthis.d.mts +1 -3
- package/dist/unwraps/hearthis.mjs +1 -2
- package/dist/unwraps/hellohq.d.mts +1 -3
- package/dist/unwraps/hellohq.mjs +1 -2
- package/dist/unwraps/hirkereso.d.mts +1 -3
- package/dist/unwraps/hirkereso.mjs +1 -2
- package/dist/unwraps/horde.d.mts +1 -3
- package/dist/unwraps/horde.mjs +1 -2
- package/dist/unwraps/hornetsecurity.d.mts +1 -3
- package/dist/unwraps/hornetsecurity.mjs +1 -2
- package/dist/unwraps/hrefLi.d.mts +1 -3
- package/dist/unwraps/hrefLi.mjs +1 -2
- package/dist/unwraps/hubspotSidekick.d.mts +1 -3
- package/dist/unwraps/hubspotSidekick.mjs +1 -2
- package/dist/unwraps/icptrack.d.mts +1 -3
- package/dist/unwraps/icptrack.mjs +1 -2
- package/dist/unwraps/iframely.d.mts +2 -0
- package/dist/unwraps/iframely.mjs +8 -0
- package/dist/unwraps/igafnl.d.mts +1 -3
- package/dist/unwraps/igafnl.mjs +1 -2
- package/dist/unwraps/imagekit.d.mts +2 -0
- package/dist/unwraps/imagekit.mjs +10 -0
- package/dist/unwraps/impact.d.mts +1 -3
- package/dist/unwraps/impact.mjs +1 -2
- package/dist/unwraps/indexHu.d.mts +1 -3
- package/dist/unwraps/indexHu.mjs +1 -2
- package/dist/unwraps/infospace.d.mts +1 -3
- package/dist/unwraps/infospace.mjs +1 -2
- package/dist/unwraps/insiderAffiliate.d.mts +1 -3
- package/dist/unwraps/insiderAffiliate.mjs +1 -2
- package/dist/unwraps/instagram.d.mts +1 -3
- package/dist/unwraps/instagram.mjs +1 -2
- package/dist/unwraps/intranetQuorum.d.mts +1 -3
- package/dist/unwraps/intranetQuorum.mjs +1 -2
- package/dist/unwraps/invisionNoExternalLinks.d.mts +1 -3
- package/dist/unwraps/invisionNoExternalLinks.mjs +1 -2
- package/dist/unwraps/involveAsia.d.mts +1 -3
- package/dist/unwraps/involveAsia.mjs +1 -2
- package/dist/unwraps/irs.d.mts +1 -3
- package/dist/unwraps/irs.mjs +1 -2
- package/dist/unwraps/jetpack.d.mts +2 -0
- package/dist/unwraps/jetpack.mjs +11 -0
- package/dist/unwraps/jianshuGo.d.mts +1 -3
- package/dist/unwraps/jianshuGo.mjs +1 -2
- package/dist/unwraps/jive.d.mts +1 -3
- package/dist/unwraps/jive.mjs +1 -2
- package/dist/unwraps/juejin.d.mts +1 -3
- package/dist/unwraps/juejin.mjs +1 -2
- package/dist/unwraps/justwatch.d.mts +1 -3
- package/dist/unwraps/justwatch.mjs +1 -2
- package/dist/unwraps/klook.d.mts +1 -3
- package/dist/unwraps/klook.mjs +1 -2
- package/dist/unwraps/lazada.d.mts +1 -3
- package/dist/unwraps/lazada.mjs +1 -2
- package/dist/unwraps/ld246.d.mts +1 -3
- package/dist/unwraps/ld246.mjs +1 -2
- package/dist/unwraps/letscast.d.mts +1 -3
- package/dist/unwraps/letscast.mjs +1 -2
- package/dist/unwraps/leverAnalytics.d.mts +1 -3
- package/dist/unwraps/leverAnalytics.mjs +1 -2
- package/dist/unwraps/linkA.d.mts +1 -3
- package/dist/unwraps/linkA.mjs +1 -2
- package/dist/unwraps/linkconnector.d.mts +1 -3
- package/dist/unwraps/linkconnector.mjs +1 -2
- package/dist/unwraps/linkedin.d.mts +1 -3
- package/dist/unwraps/linkedin.mjs +1 -2
- package/dist/unwraps/linksynergy.d.mts +1 -3
- package/dist/unwraps/linksynergy.mjs +1 -2
- package/dist/unwraps/linktrust.d.mts +1 -3
- package/dist/unwraps/linktrust.mjs +1 -2
- package/dist/unwraps/linkwise.d.mts +1 -3
- package/dist/unwraps/linkwise.mjs +1 -2
- package/dist/unwraps/livejournal.d.mts +1 -3
- package/dist/unwraps/livejournal.mjs +1 -2
- package/dist/unwraps/lnkam.d.mts +1 -3
- package/dist/unwraps/lnkam.mjs +1 -2
- package/dist/unwraps/locWebArchive.d.mts +1 -3
- package/dist/unwraps/locWebArchive.mjs +1 -2
- package/dist/unwraps/locaweb.d.mts +1 -3
- package/dist/unwraps/locaweb.mjs +1 -2
- package/dist/unwraps/logicboard.d.mts +1 -3
- package/dist/unwraps/logicboard.mjs +1 -2
- package/dist/unwraps/magellan.d.mts +1 -3
- package/dist/unwraps/magellan.mjs +1 -2
- package/dist/unwraps/magnetmail.d.mts +1 -3
- package/dist/unwraps/magnetmail.mjs +1 -2
- package/dist/unwraps/mail2easy.d.mts +1 -3
- package/dist/unwraps/mail2easy.mjs +1 -2
- package/dist/unwraps/mailRu.d.mts +1 -3
- package/dist/unwraps/mailRu.mjs +1 -2
- package/dist/unwraps/mailRuLink.d.mts +1 -3
- package/dist/unwraps/mailRuLink.mjs +1 -2
- package/dist/unwraps/mailchimp.d.mts +1 -3
- package/dist/unwraps/mailchimp.mjs +1 -2
- package/dist/unwraps/mailinblack.d.mts +1 -3
- package/dist/unwraps/mailinblack.mjs +1 -2
- package/dist/unwraps/mailpanion.d.mts +1 -3
- package/dist/unwraps/mailpanion.mjs +1 -2
- package/dist/unwraps/mailpgn.d.mts +1 -3
- package/dist/unwraps/mailpgn.mjs +1 -2
- package/dist/unwraps/mailstat.d.mts +1 -3
- package/dist/unwraps/mailstat.mjs +1 -2
- package/dist/unwraps/mailtrack.d.mts +1 -3
- package/dist/unwraps/mailtrack.mjs +1 -2
- package/dist/unwraps/mandrill.d.mts +1 -3
- package/dist/unwraps/mandrill.mjs +1 -2
- package/dist/unwraps/marketwire.d.mts +1 -3
- package/dist/unwraps/marketwire.mjs +1 -2
- package/dist/unwraps/mcas.d.mts +1 -3
- package/dist/unwraps/mcas.mjs +1 -2
- package/dist/unwraps/medium.d.mts +1 -3
- package/dist/unwraps/medium.mjs +1 -2
- package/dist/unwraps/megalodon.d.mts +1 -3
- package/dist/unwraps/megalodon.mjs +1 -2
- package/dist/unwraps/mimecast.d.mts +1 -3
- package/dist/unwraps/mimecast.mjs +1 -2
- package/dist/unwraps/ministryCloud.d.mts +1 -3
- package/dist/unwraps/ministryCloud.mjs +1 -2
- package/dist/unwraps/mintDownloads.d.mts +1 -3
- package/dist/unwraps/mintDownloads.mjs +1 -2
- package/dist/unwraps/mintFeeder.d.mts +1 -3
- package/dist/unwraps/mintFeeder.mjs +1 -2
- package/dist/unwraps/mohtwize.d.mts +1 -3
- package/dist/unwraps/mohtwize.mjs +1 -2
- package/dist/unwraps/moshimo.d.mts +1 -3
- package/dist/unwraps/moshimo.mjs +1 -2
- package/dist/unwraps/mozillaOutgoing.d.mts +1 -3
- package/dist/unwraps/mozillaOutgoing.mjs +1 -2
- package/dist/unwraps/myNewsletterBuilder.d.mts +1 -3
- package/dist/unwraps/myNewsletterBuilder.mjs +1 -2
- package/dist/unwraps/narrativ.d.mts +1 -3
- package/dist/unwraps/narrativ.mjs +1 -2
- package/dist/unwraps/natlibNz.d.mts +1 -3
- package/dist/unwraps/natlibNz.mjs +1 -2
- package/dist/unwraps/naverOutgoing.d.mts +1 -3
- package/dist/unwraps/naverOutgoing.mjs +1 -2
- package/dist/unwraps/ncls.d.mts +1 -3
- package/dist/unwraps/ncls.mjs +1 -2
- package/dist/unwraps/ndlWarp.d.mts +1 -3
- package/dist/unwraps/ndlWarp.mjs +1 -2
- package/dist/unwraps/netaffiliation.d.mts +1 -3
- package/dist/unwraps/netaffiliation.mjs +1 -2
- package/dist/unwraps/netcentrum.d.mts +1 -3
- package/dist/unwraps/netcentrum.mjs +1 -2
- package/dist/unwraps/newswire.d.mts +1 -3
- package/dist/unwraps/newswire.mjs +1 -2
- package/dist/unwraps/nextImage.d.mts +2 -0
- package/dist/unwraps/nextImage.mjs +10 -0
- package/dist/unwraps/nicoMs.d.mts +1 -3
- package/dist/unwraps/nicoMs.mjs +1 -2
- package/dist/unwraps/nimble.d.mts +1 -3
- package/dist/unwraps/nimble.mjs +1 -2
- package/dist/unwraps/nlaWebarchive.d.mts +1 -3
- package/dist/unwraps/nlaWebarchive.mjs +1 -2
- package/dist/unwraps/nodeseek.d.mts +1 -3
- package/dist/unwraps/nodeseek.mjs +1 -2
- package/dist/unwraps/okRu.d.mts +1 -3
- package/dist/unwraps/okRu.mjs +1 -2
- package/dist/unwraps/op3.d.mts +1 -3
- package/dist/unwraps/op3.mjs +1 -2
- package/dist/unwraps/orkut.d.mts +1 -3
- package/dist/unwraps/orkut.mjs +1 -2
- package/dist/unwraps/osnova.d.mts +1 -3
- package/dist/unwraps/osnova.mjs +1 -2
- package/dist/unwraps/outlookSafelinks.d.mts +1 -3
- package/dist/unwraps/outlookSafelinks.mjs +1 -2
- package/dist/unwraps/outlookWebAccess.d.mts +1 -3
- package/dist/unwraps/outlookWebAccess.mjs +1 -2
- package/dist/unwraps/pagefreezer.d.mts +1 -3
- package/dist/unwraps/pagefreezer.mjs +1 -2
- package/dist/unwraps/partnerAds.d.mts +1 -3
- package/dist/unwraps/partnerAds.mjs +1 -2
- package/dist/unwraps/pbs.d.mts +1 -3
- package/dist/unwraps/pbs.mjs +1 -2
- package/dist/unwraps/philpapers.d.mts +1 -3
- package/dist/unwraps/philpapers.mjs +1 -2
- package/dist/unwraps/pinterest.d.mts +1 -3
- package/dist/unwraps/pinterest.mjs +1 -2
- package/dist/unwraps/pipedrive.d.mts +1 -3
- package/dist/unwraps/pipedrive.mjs +1 -2
- package/dist/unwraps/pocket.d.mts +1 -3
- package/dist/unwraps/pocket.mjs +1 -2
- package/dist/unwraps/podcorn.d.mts +1 -3
- package/dist/unwraps/podcorn.mjs +1 -2
- package/dist/unwraps/podder.d.mts +1 -3
- package/dist/unwraps/podder.mjs +1 -2
- package/dist/unwraps/podigee.d.mts +2 -0
- package/dist/unwraps/podigee.mjs +10 -0
- package/dist/unwraps/podkite.d.mts +1 -3
- package/dist/unwraps/podkite.mjs +1 -2
- package/dist/unwraps/podroll.d.mts +1 -3
- package/dist/unwraps/podroll.mjs +1 -2
- package/dist/unwraps/podscribe.d.mts +1 -3
- package/dist/unwraps/podscribe.mjs +1 -2
- package/dist/unwraps/podsights.d.mts +1 -3
- package/dist/unwraps/podsights.mjs +1 -2
- package/dist/unwraps/podtrac.d.mts +1 -3
- package/dist/unwraps/podtrac.mjs +1 -2
- package/dist/unwraps/podup.d.mts +1 -3
- package/dist/unwraps/podup.mjs +1 -2
- package/dist/unwraps/postAffiliatePro.d.mts +1 -3
- package/dist/unwraps/postAffiliatePro.mjs +1 -2
- package/dist/unwraps/postmark.d.mts +1 -3
- package/dist/unwraps/postmark.mjs +5 -6
- package/dist/unwraps/prNewswire.d.mts +1 -3
- package/dist/unwraps/prNewswire.mjs +1 -2
- package/dist/unwraps/prezly.d.mts +1 -3
- package/dist/unwraps/prezly.mjs +1 -2
- package/dist/unwraps/priceGrabber.d.mts +1 -3
- package/dist/unwraps/priceGrabber.mjs +1 -2
- package/dist/unwraps/promoJukebox.d.mts +1 -3
- package/dist/unwraps/promoJukebox.mjs +1 -2
- package/dist/unwraps/proofpointIsolation.d.mts +1 -3
- package/dist/unwraps/proofpointIsolation.mjs +1 -2
- package/dist/unwraps/proofpointV1.d.mts +1 -3
- package/dist/unwraps/proofpointV1.mjs +1 -2
- package/dist/unwraps/proofpointV2.d.mts +1 -3
- package/dist/unwraps/proofpointV2.mjs +1 -2
- package/dist/unwraps/proofpointV3.d.mts +1 -3
- package/dist/unwraps/proofpointV3.mjs +2 -3
- package/dist/unwraps/prweb.d.mts +1 -3
- package/dist/unwraps/prweb.mjs +1 -2
- package/dist/unwraps/qualityClick.d.mts +1 -3
- package/dist/unwraps/qualityClick.mjs +1 -2
- package/dist/unwraps/rakutenAffiliate.d.mts +1 -3
- package/dist/unwraps/rakutenAffiliate.mjs +1 -2
- package/dist/unwraps/ramblerMail.d.mts +1 -3
- package/dist/unwraps/ramblerMail.mjs +1 -2
- package/dist/unwraps/recruitics.d.mts +1 -3
- package/dist/unwraps/recruitics.mjs +1 -2
- package/dist/unwraps/redditOut.d.mts +1 -3
- package/dist/unwraps/redditOut.mjs +1 -2
- package/dist/unwraps/rediffmail.d.mts +1 -3
- package/dist/unwraps/rediffmail.mjs +1 -2
- package/dist/unwraps/redirectingat.d.mts +1 -3
- package/dist/unwraps/redirectingat.mjs +1 -2
- package/dist/unwraps/researchgate.d.mts +1 -3
- package/dist/unwraps/researchgate.mjs +1 -2
- package/dist/unwraps/reverbnation.d.mts +1 -3
- package/dist/unwraps/reverbnation.mjs +1 -2
- package/dist/unwraps/reviveAdserver.d.mts +1 -3
- package/dist/unwraps/reviveAdserver.mjs +1 -2
- package/dist/unwraps/salesdoubler.d.mts +1 -3
- package/dist/unwraps/salesdoubler.mjs +1 -2
- package/dist/unwraps/salesflare.d.mts +1 -3
- package/dist/unwraps/salesflare.mjs +1 -2
- package/dist/unwraps/salesforceiq.d.mts +1 -3
- package/dist/unwraps/salesforceiq.mjs +1 -2
- package/dist/unwraps/saleshandy.d.mts +1 -3
- package/dist/unwraps/saleshandy.mjs +1 -2
- package/dist/unwraps/salsa.d.mts +1 -3
- package/dist/unwraps/salsa.mjs +1 -2
- package/dist/unwraps/sapHelp.d.mts +1 -3
- package/dist/unwraps/sapHelp.mjs +1 -2
- package/dist/unwraps/sbsAd.d.mts +1 -3
- package/dist/unwraps/sbsAd.mjs +1 -2
- package/dist/unwraps/segmentfault.d.mts +1 -3
- package/dist/unwraps/segmentfault.mjs +1 -2
- package/dist/unwraps/serendipity.d.mts +1 -3
- package/dist/unwraps/serendipity.mjs +1 -2
- package/dist/unwraps/shareasale.d.mts +1 -3
- package/dist/unwraps/shareasale.mjs +1 -2
- package/dist/unwraps/shareit.d.mts +1 -3
- package/dist/unwraps/shareit.mjs +1 -2
- package/dist/unwraps/skimlinks.d.mts +1 -3
- package/dist/unwraps/skimlinks.mjs +1 -2
- package/dist/unwraps/skyrock.d.mts +1 -3
- package/dist/unwraps/skyrock.mjs +1 -2
- package/dist/unwraps/slack.d.mts +1 -3
- package/dist/unwraps/slack.mjs +1 -2
- package/dist/unwraps/slickdeals.d.mts +1 -3
- package/dist/unwraps/slickdeals.mjs +1 -2
- package/dist/unwraps/smartAdserver.d.mts +1 -3
- package/dist/unwraps/smartAdserver.mjs +1 -2
- package/dist/unwraps/smartredirect.d.mts +1 -3
- package/dist/unwraps/smartredirect.mjs +1 -2
- package/dist/unwraps/smry.d.mts +1 -3
- package/dist/unwraps/smry.mjs +1 -2
- package/dist/unwraps/sophos.d.mts +1 -3
- package/dist/unwraps/sophos.mjs +1 -2
- package/dist/unwraps/soundOn.d.mts +1 -3
- package/dist/unwraps/soundOn.mjs +1 -2
- package/dist/unwraps/soundcloud.d.mts +1 -3
- package/dist/unwraps/soundcloud.mjs +1 -2
- package/dist/unwraps/soundstack.d.mts +1 -3
- package/dist/unwraps/soundstack.mjs +1 -2
- package/dist/unwraps/squarespaceEmail.d.mts +1 -3
- package/dist/unwraps/squarespaceEmail.mjs +1 -2
- package/dist/unwraps/sspai.d.mts +1 -3
- package/dist/unwraps/sspai.mjs +1 -2
- package/dist/unwraps/stay22.d.mts +1 -3
- package/dist/unwraps/stay22.mjs +1 -2
- package/dist/unwraps/steamLinkfilter.d.mts +1 -3
- package/dist/unwraps/steamLinkfilter.mjs +1 -2
- package/dist/unwraps/storify.d.mts +1 -3
- package/dist/unwraps/storify.mjs +1 -2
- package/dist/unwraps/streak.d.mts +1 -3
- package/dist/unwraps/streak.mjs +1 -2
- package/dist/unwraps/streamsend.d.mts +1 -3
- package/dist/unwraps/streamsend.mjs +1 -2
- package/dist/unwraps/stumbleupon.d.mts +1 -3
- package/dist/unwraps/stumbleupon.mjs +1 -2
- package/dist/unwraps/subscribeRu.d.mts +1 -3
- package/dist/unwraps/subscribeRu.mjs +1 -2
- package/dist/unwraps/substack.d.mts +1 -3
- package/dist/unwraps/substack.mjs +1 -2
- package/dist/unwraps/surly.d.mts +1 -3
- package/dist/unwraps/surly.mjs +1 -2
- package/dist/unwraps/surugaya.d.mts +1 -3
- package/dist/unwraps/surugaya.mjs +1 -2
- package/dist/unwraps/swap.d.mts +1 -3
- package/dist/unwraps/swap.mjs +1 -2
- package/dist/unwraps/symantecClicktime.d.mts +1 -3
- package/dist/unwraps/symantecClicktime.mjs +1 -2
- package/dist/unwraps/symplicity.d.mts +1 -3
- package/dist/unwraps/symplicity.mjs +1 -2
- package/dist/unwraps/targetCircle.d.mts +1 -3
- package/dist/unwraps/targetCircle.mjs +1 -2
- package/dist/unwraps/teacup.d.mts +1 -3
- package/dist/unwraps/teacup.mjs +1 -2
- package/dist/unwraps/telegramIv.d.mts +1 -3
- package/dist/unwraps/telegramIv.mjs +1 -2
- package/dist/unwraps/theRegister.d.mts +1 -3
- package/dist/unwraps/theRegister.mjs +1 -2
- package/dist/unwraps/threads.d.mts +1 -3
- package/dist/unwraps/threads.mjs +1 -2
- package/dist/unwraps/tiktok.d.mts +1 -3
- package/dist/unwraps/tiktok.mjs +1 -2
- package/dist/unwraps/titanhqLinklock.d.mts +1 -3
- package/dist/unwraps/titanhqLinklock.mjs +1 -2
- package/dist/unwraps/topsec.d.mts +1 -3
- package/dist/unwraps/topsec.mjs +1 -2
- package/dist/unwraps/toucharcade.d.mts +1 -3
- package/dist/unwraps/toucharcade.mjs +1 -2
- package/dist/unwraps/tracdelight.d.mts +1 -3
- package/dist/unwraps/tracdelight.mjs +1 -2
- package/dist/unwraps/tradedoubler.d.mts +1 -3
- package/dist/unwraps/tradedoubler.mjs +1 -2
- package/dist/unwraps/tradetracker.d.mts +1 -3
- package/dist/unwraps/tradetracker.mjs +1 -2
- package/dist/unwraps/travelpayouts.d.mts +1 -3
- package/dist/unwraps/travelpayouts.mjs +1 -2
- package/dist/unwraps/trendMicro.d.mts +1 -3
- package/dist/unwraps/trendMicro.mjs +1 -2
- package/dist/unwraps/triplelift.d.mts +1 -3
- package/dist/unwraps/triplelift.mjs +1 -2
- package/dist/unwraps/trustwaveScanmail.d.mts +1 -3
- package/dist/unwraps/trustwaveScanmail.mjs +1 -2
- package/dist/unwraps/trxHub.d.mts +1 -3
- package/dist/unwraps/trxHub.mjs +1 -2
- package/dist/unwraps/tumblr.d.mts +1 -3
- package/dist/unwraps/tumblr.mjs +1 -2
- package/dist/unwraps/twitterRedirect.d.mts +1 -3
- package/dist/unwraps/twitterRedirect.mjs +1 -2
- package/dist/unwraps/twoCheckout.d.mts +1 -3
- package/dist/unwraps/twoCheckout.mjs +1 -2
- package/dist/unwraps/uinterbox.d.mts +1 -3
- package/dist/unwraps/uinterbox.mjs +1 -2
- package/dist/unwraps/ukWebArchive.d.mts +1 -3
- package/dist/unwraps/ukWebArchive.mjs +1 -2
- package/dist/unwraps/ukgwa.d.mts +1 -3
- package/dist/unwraps/ukgwa.mjs +1 -2
- package/dist/unwraps/unescoWebArchive.d.mts +1 -3
- package/dist/unwraps/unescoWebArchive.mjs +1 -2
- package/dist/unwraps/unhcrWebArchive.d.mts +1 -3
- package/dist/unwraps/unhcrWebArchive.mjs +1 -2
- package/dist/unwraps/unisender.d.mts +1 -3
- package/dist/unwraps/unisender.mjs +1 -2
- package/dist/unwraps/upAudio.d.mts +1 -3
- package/dist/unwraps/upAudio.mjs +1 -2
- package/dist/unwraps/vadeSecure.d.mts +1 -3
- package/dist/unwraps/vadeSecure.mjs +1 -2
- package/dist/unwraps/valuePress.d.mts +1 -3
- package/dist/unwraps/valuePress.mjs +1 -2
- package/dist/unwraps/valuecommerce.d.mts +1 -3
- package/dist/unwraps/valuecommerce.mjs +1 -2
- package/dist/unwraps/vanilla.d.mts +1 -3
- package/dist/unwraps/vanilla.mjs +1 -2
- package/dist/unwraps/vbulletin.d.mts +1 -3
- package/dist/unwraps/vbulletin.mjs +1 -2
- package/dist/unwraps/vefsafn.d.mts +1 -3
- package/dist/unwraps/vefsafn.mjs +1 -2
- package/dist/unwraps/vgWort.d.mts +1 -3
- package/dist/unwraps/vgWort.mjs +1 -2
- package/dist/unwraps/viglink.d.mts +1 -3
- package/dist/unwraps/viglink.mjs +1 -2
- package/dist/unwraps/virgool.d.mts +1 -3
- package/dist/unwraps/virgool.mjs +1 -2
- package/dist/unwraps/visibli.d.mts +1 -3
- package/dist/unwraps/visibli.mjs +1 -2
- package/dist/unwraps/vkAway.d.mts +1 -3
- package/dist/unwraps/vkAway.mjs +1 -2
- package/dist/unwraps/vocus.d.mts +1 -3
- package/dist/unwraps/vocus.mjs +1 -2
- package/dist/unwraps/voxnest.d.mts +1 -3
- package/dist/unwraps/voxnest.mjs +1 -2
- package/dist/unwraps/vpixl.d.mts +1 -3
- package/dist/unwraps/vpixl.mjs +1 -2
- package/dist/unwraps/vuture.d.mts +1 -3
- package/dist/unwraps/vuture.mjs +1 -2
- package/dist/unwraps/webArchive.d.mts +1 -3
- package/dist/unwraps/webArchive.mjs +1 -2
- package/dist/unwraps/webcitation.d.mts +1 -3
- package/dist/unwraps/webcitation.mjs +1 -2
- package/dist/unwraps/webgains.d.mts +1 -3
- package/dist/unwraps/webgains.mjs +1 -2
- package/dist/unwraps/webharvest.d.mts +1 -3
- package/dist/unwraps/webharvest.mjs +1 -2
- package/dist/unwraps/weserv.d.mts +2 -0
- package/dist/unwraps/weserv.mjs +10 -0
- package/dist/unwraps/wikiwix.d.mts +1 -3
- package/dist/unwraps/wikiwix.mjs +1 -2
- package/dist/unwraps/wikizero.d.mts +1 -3
- package/dist/unwraps/wikizero.mjs +1 -2
- package/dist/unwraps/wordpressEmail.d.mts +1 -3
- package/dist/unwraps/wordpressEmail.mjs +1 -2
- package/dist/unwraps/wordpressGo2.d.mts +1 -3
- package/dist/unwraps/wordpressGo2.mjs +1 -2
- package/dist/unwraps/worldNomads.d.mts +1 -3
- package/dist/unwraps/worldNomads.mjs +1 -2
- package/dist/unwraps/wpPoczta.d.mts +1 -3
- package/dist/unwraps/wpPoczta.mjs +1 -2
- package/dist/unwraps/xengentr.d.mts +1 -3
- package/dist/unwraps/xengentr.mjs +1 -2
- package/dist/unwraps/xiaoyuzhou.d.mts +1 -3
- package/dist/unwraps/xiaoyuzhou.mjs +1 -2
- package/dist/unwraps/ximalaya.d.mts +1 -3
- package/dist/unwraps/ximalaya.mjs +1 -2
- package/dist/unwraps/yahooImage.d.mts +2 -0
- package/dist/unwraps/yahooImage.mjs +10 -0
- package/dist/unwraps/yahooJapan.d.mts +1 -3
- package/dist/unwraps/yahooJapan.mjs +1 -2
- package/dist/unwraps/yahooJapanAmpViewer.d.mts +1 -3
- package/dist/unwraps/yahooJapanAmpViewer.mjs +1 -2
- package/dist/unwraps/yahooMailImage.d.mts +2 -0
- package/dist/unwraps/yahooMailImage.mjs +9 -0
- package/dist/unwraps/yahooSearch.d.mts +1 -3
- package/dist/unwraps/yahooSearch.mjs +1 -2
- package/dist/unwraps/yamm.d.mts +1 -3
- package/dist/unwraps/yamm.mjs +1 -2
- package/dist/unwraps/yandexMail.d.mts +1 -3
- package/dist/unwraps/yandexMail.mjs +1 -2
- package/dist/unwraps/yandexMailImage.d.mts +2 -0
- package/dist/unwraps/yandexMailImage.mjs +10 -0
- package/dist/unwraps/yandexTranslate.d.mts +1 -3
- package/dist/unwraps/yandexTranslate.mjs +4 -5
- package/dist/unwraps/yandexTurbo.d.mts +1 -3
- package/dist/unwraps/yandexTurbo.mjs +1 -2
- package/dist/unwraps/yelp.d.mts +1 -3
- package/dist/unwraps/yelp.mjs +1 -2
- package/dist/unwraps/yesware.d.mts +1 -3
- package/dist/unwraps/yesware.mjs +1 -2
- package/dist/unwraps/yourMembership.d.mts +1 -3
- package/dist/unwraps/yourMembership.mjs +1 -2
- package/dist/unwraps/youtube.d.mts +1 -3
- package/dist/unwraps/youtube.mjs +1 -2
- package/dist/unwraps/zanox.d.mts +1 -3
- package/dist/unwraps/zanox.mjs +1 -2
- package/dist/unwraps/zayads.d.mts +1 -3
- package/dist/unwraps/zayads.mjs +1 -2
- package/dist/unwraps/zemanta.d.mts +1 -3
- package/dist/unwraps/zemanta.mjs +1 -2
- package/dist/unwraps/zencastr.d.mts +1 -3
- package/dist/unwraps/zencastr.mjs +1 -2
- package/dist/unwraps/zhihu.d.mts +1 -3
- package/dist/unwraps/zhihu.mjs +1 -2
- package/dist/unwraps/zix.d.mts +1 -3
- package/dist/unwraps/zix.mjs +1 -2
- package/dist/unwraps/zscalerIsolation.d.mts +1 -3
- package/dist/unwraps/zscalerIsolation.mjs +1 -2
- package/dist/utils.d.mts +1 -3
- package/dist/utils.mjs +7 -8
- package/package.json +5 -5
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { codePointToString } from "./decode-codepoint.mjs";
|
|
2
|
+
import { htmlDecodeTree } from "./generated/decode-data-html.mjs";
|
|
3
|
+
import { BinTrieFlags } from "./internal/bin-trie-flags.mjs";
|
|
4
|
+
// node_modules/entities/dist/decode.js
|
|
5
|
+
var CharCodes;
|
|
6
|
+
(function(CharCodes) {
|
|
7
|
+
CharCodes[CharCodes["AMP"] = 38] = "AMP";
|
|
8
|
+
CharCodes[CharCodes["NUM"] = 35] = "NUM";
|
|
9
|
+
CharCodes[CharCodes["SEMI"] = 59] = "SEMI";
|
|
10
|
+
CharCodes[CharCodes["EQUALS"] = 61] = "EQUALS";
|
|
11
|
+
CharCodes[CharCodes["ZERO"] = 48] = "ZERO";
|
|
12
|
+
CharCodes[CharCodes["NINE"] = 57] = "NINE";
|
|
13
|
+
CharCodes[CharCodes["LOWER_A"] = 97] = "LOWER_A";
|
|
14
|
+
CharCodes[CharCodes["LOWER_X"] = 120] = "LOWER_X";
|
|
15
|
+
})(CharCodes || (CharCodes = {}));
|
|
16
|
+
/** Bit that needs to be set to convert an upper case ASCII character to lower case */
|
|
17
|
+
const TO_LOWER_BIT = 32;
|
|
18
|
+
const CONSUMED_SHIFT = 21;
|
|
19
|
+
const CODE_POINT_MASK = 2097151;
|
|
20
|
+
/**
|
|
21
|
+
* Reserved consumed field for counts of at least 2047 characters after `&`.
|
|
22
|
+
* The true count is in `longNumericConsumed`.
|
|
23
|
+
*/
|
|
24
|
+
const CONSUMED_OVERFLOW = 2047;
|
|
25
|
+
/**
|
|
26
|
+
* Side channel for numeric entities of at least 2048 characters including
|
|
27
|
+
* `&`. Set by `parseNumericEntity` when its consumed count reaches the
|
|
28
|
+
* reserved value `CONSUMED_OVERFLOW`; callers read the true count from here.
|
|
29
|
+
* A module-level slot avoids a tuple allocation on the hot path.
|
|
30
|
+
*/
|
|
31
|
+
let longNumericConsumed = 0;
|
|
32
|
+
/**
|
|
33
|
+
* Extract the consumed count from a `parseNumericEntity` packed result,
|
|
34
|
+
* recovering the true length from `longNumericConsumed` when the packed
|
|
35
|
+
* field contains the sentinel. Read it before the next `parseNumericEntity`
|
|
36
|
+
* call, which may overwrite the side channel. This helper owns that protocol.
|
|
37
|
+
* @param packed Packed result of `parseNumericEntity`.
|
|
38
|
+
*/
|
|
39
|
+
function unpackConsumed(packed) {
|
|
40
|
+
const consumed = packed >>> CONSUMED_SHIFT;
|
|
41
|
+
return consumed === CONSUMED_OVERFLOW ? longNumericConsumed : consumed;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Unsigned subtraction trick: (code - lo) >>> 0 wraps negatives to large
|
|
45
|
+
* values, so a single `<=` covers the entire [lo..hi] range check.
|
|
46
|
+
* @param code Code point to check.
|
|
47
|
+
*/
|
|
48
|
+
function isNumber(code) {
|
|
49
|
+
return code - CharCodes.ZERO >>> 0 <= 9;
|
|
50
|
+
}
|
|
51
|
+
function isHexadecimalCharacter(code) {
|
|
52
|
+
return (code | TO_LOWER_BIT) - CharCodes.LOWER_A >>> 0 <= 5;
|
|
53
|
+
}
|
|
54
|
+
function isAlpha(code) {
|
|
55
|
+
return (code | TO_LOWER_BIT) - CharCodes.LOWER_A >>> 0 <= 25;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Checks if the given character is a valid end character for an entity in an attribute.
|
|
59
|
+
*
|
|
60
|
+
* Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.
|
|
61
|
+
* See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state
|
|
62
|
+
* @param code Code point to check.
|
|
63
|
+
*/
|
|
64
|
+
function isEntityInAttributeInvalidEnd(code) {
|
|
65
|
+
return code === CharCodes.EQUALS || isAlpha(code) || isNumber(code);
|
|
66
|
+
}
|
|
67
|
+
var EntityDecoderState;
|
|
68
|
+
(function(EntityDecoderState) {
|
|
69
|
+
EntityDecoderState[EntityDecoderState["EntityStart"] = 0] = "EntityStart";
|
|
70
|
+
EntityDecoderState[EntityDecoderState["NumericStart"] = 1] = "NumericStart";
|
|
71
|
+
EntityDecoderState[EntityDecoderState["NumericDecimal"] = 2] = "NumericDecimal";
|
|
72
|
+
EntityDecoderState[EntityDecoderState["NumericHex"] = 3] = "NumericHex";
|
|
73
|
+
EntityDecoderState[EntityDecoderState["NamedEntity"] = 4] = "NamedEntity";
|
|
74
|
+
})(EntityDecoderState || (EntityDecoderState = {}));
|
|
75
|
+
/**
|
|
76
|
+
* Decoding mode for named entities.
|
|
77
|
+
*/
|
|
78
|
+
var DecodingMode;
|
|
79
|
+
(function(DecodingMode) {
|
|
80
|
+
/** Entities in text nodes that can end with any character. */
|
|
81
|
+
DecodingMode[DecodingMode["Legacy"] = 0] = "Legacy";
|
|
82
|
+
/** Only allow entities terminated with a semicolon. */
|
|
83
|
+
DecodingMode[DecodingMode["Strict"] = 1] = "Strict";
|
|
84
|
+
/** Entities in attributes have limitations on ending characters. */
|
|
85
|
+
DecodingMode[DecodingMode["Attribute"] = 2] = "Attribute";
|
|
86
|
+
})(DecodingMode || (DecodingMode = {}));
|
|
87
|
+
/**
|
|
88
|
+
* Determines the branch of the current node that is taken given the current
|
|
89
|
+
* character. This function is used to traverse the trie.
|
|
90
|
+
*
|
|
91
|
+
* See `BinTrieFlags` for the branch-data layouts handled here.
|
|
92
|
+
* @param decodeTree The trie.
|
|
93
|
+
* @param current The current node's header word.
|
|
94
|
+
* @param nodeIndex Index of the node's first branch-data word (the header
|
|
95
|
+
* plus any value words have been skipped by the caller).
|
|
96
|
+
* @param char The current character.
|
|
97
|
+
* @returns The index of the next node, or -1 if no branch is taken.
|
|
98
|
+
*/
|
|
99
|
+
function determineBranch(decodeTree, current, nodeIndex, char) {
|
|
100
|
+
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
101
|
+
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
102
|
+
if (jumpOffset) {
|
|
103
|
+
if (branchCount === 0) return char === jumpOffset ? nodeIndex : -1;
|
|
104
|
+
const slot = char - jumpOffset;
|
|
105
|
+
if (slot >>> 0 >= branchCount) return -1;
|
|
106
|
+
const stored = decodeTree[nodeIndex + slot];
|
|
107
|
+
return stored === 0 ? -1 : nodeIndex + branchCount + stored - 1 & 65535;
|
|
108
|
+
}
|
|
109
|
+
if (branchCount === 0) return -1;
|
|
110
|
+
const packedKeySlots = branchCount + 1 >> 1;
|
|
111
|
+
const branchEnd = nodeIndex + packedKeySlots + branchCount;
|
|
112
|
+
for (let index = 0; index < branchCount; index++) {
|
|
113
|
+
const key = decodeTree[nodeIndex + (index >> 1)] >> ((index & 1) << 3) & 255;
|
|
114
|
+
if (key === char) return branchEnd + decodeTree[nodeIndex + packedKeySlots + index] & 65535;
|
|
115
|
+
if (key > char) return -1;
|
|
116
|
+
}
|
|
117
|
+
return -1;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Read the decoded value from a trie node.
|
|
121
|
+
* @param decodeTree The trie.
|
|
122
|
+
* @param nodeIndex The index of the node.
|
|
123
|
+
* @param valueLength The length of the value (1, 2, or 3).
|
|
124
|
+
* @returns The decoded string.
|
|
125
|
+
*/
|
|
126
|
+
function readTrieValue(decodeTree, nodeIndex, valueLength) {
|
|
127
|
+
if (valueLength === 1) return String.fromCharCode(decodeTree[nodeIndex] & BinTrieFlags.VALUE_MASK);
|
|
128
|
+
if (valueLength === 2) return String.fromCharCode(decodeTree[nodeIndex + 1]);
|
|
129
|
+
return String.fromCharCode(decodeTree[nodeIndex + 1], decodeTree[nodeIndex + 2]);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Parse a numeric entity (`&#DDD;` or `&#xHHH;`).
|
|
133
|
+
*
|
|
134
|
+
* Encodes the result as `(consumed << CONSUMED_SHIFT) | codepoint` (see
|
|
135
|
+
* the packing comment at the top of the file; overlong entities spill
|
|
136
|
+
* their length into `longNumericConsumed`). Returns 0 when no digits were
|
|
137
|
+
* found.
|
|
138
|
+
*
|
|
139
|
+
* This is the sync counterpart of the streaming
|
|
140
|
+
* `EntityDecoder#stateNumericDecimal` / `#stateNumericHex`. Digit parsing
|
|
141
|
+
* matches those methods; only this packed result needs a value clamp.
|
|
142
|
+
* @param input The input string.
|
|
143
|
+
* @param numberStart Index of the `#` character.
|
|
144
|
+
* @param inputLength Cached `input.length`.
|
|
145
|
+
*/
|
|
146
|
+
function parseNumericEntity(input, numberStart, inputLength) {
|
|
147
|
+
let offset = numberStart + 1;
|
|
148
|
+
let cp = 0;
|
|
149
|
+
let digitStart = offset;
|
|
150
|
+
if (offset < inputLength && (input.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
|
|
151
|
+
offset += 1;
|
|
152
|
+
digitStart = offset;
|
|
153
|
+
while (offset < inputLength) {
|
|
154
|
+
const char = input.charCodeAt(offset);
|
|
155
|
+
if (isNumber(char)) cp = cp * 16 + (char - CharCodes.ZERO);
|
|
156
|
+
else if (isHexadecimalCharacter(char)) cp = cp * 16 + ((char | TO_LOWER_BIT) - CharCodes.LOWER_A + 10);
|
|
157
|
+
else break;
|
|
158
|
+
offset += 1;
|
|
159
|
+
}
|
|
160
|
+
} else while (offset < inputLength) {
|
|
161
|
+
const digit = input.charCodeAt(offset) - CharCodes.ZERO;
|
|
162
|
+
if (digit >>> 0 > 9) break;
|
|
163
|
+
cp = cp * 10 + digit;
|
|
164
|
+
offset += 1;
|
|
165
|
+
}
|
|
166
|
+
if (offset === digitStart) return 0;
|
|
167
|
+
if (offset < inputLength && input.charCodeAt(offset) === CharCodes.SEMI) offset += 1;
|
|
168
|
+
if (cp > 1114111) cp = 1114112;
|
|
169
|
+
let consumed = offset - numberStart;
|
|
170
|
+
if (consumed >= CONSUMED_OVERFLOW) {
|
|
171
|
+
longNumericConsumed = consumed;
|
|
172
|
+
consumed = CONSUMED_OVERFLOW;
|
|
173
|
+
}
|
|
174
|
+
return consumed << CONSUMED_SHIFT | cp;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Decode all entities in `input` using the HTML trie.
|
|
178
|
+
*
|
|
179
|
+
* Hard-wired to `htmlDecodeTree`: the inline root navigation below assumes
|
|
180
|
+
* the HTML root's jump-table shape, so this must not be generalized to
|
|
181
|
+
* other tries (the XML trie's dictionary root would silently match no
|
|
182
|
+
* entities — `decodeXML` has its own hand-coded fast path instead).
|
|
183
|
+
* @param input The string to decode.
|
|
184
|
+
* @param isStrict Only match semicolon-terminated entities.
|
|
185
|
+
* @param isAttribute Whether to apply attribute-specific parsing rules (disallowing certain non-semicolon terminators).
|
|
186
|
+
* @returns The decoded string.
|
|
187
|
+
*/
|
|
188
|
+
function decodeWithTrie(input, isStrict, isAttribute) {
|
|
189
|
+
const decodeTree = htmlDecodeTree;
|
|
190
|
+
let offset = input.indexOf("&");
|
|
191
|
+
if (offset < 0) return input;
|
|
192
|
+
const inputLength = input.length;
|
|
193
|
+
let chunkStart = 0;
|
|
194
|
+
let result = "";
|
|
195
|
+
const root = decodeTree[0];
|
|
196
|
+
const rootJumpOffset = root & BinTrieFlags.JUMP_TABLE;
|
|
197
|
+
const rootBranchCount = (root & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
198
|
+
do {
|
|
199
|
+
const entityStart = offset + 1;
|
|
200
|
+
const firstChar = input.charCodeAt(entityStart);
|
|
201
|
+
let consumed;
|
|
202
|
+
let value;
|
|
203
|
+
if (firstChar === CharCodes.NUM) {
|
|
204
|
+
const packed = parseNumericEntity(input, entityStart, inputLength);
|
|
205
|
+
consumed = unpackConsumed(packed);
|
|
206
|
+
if (isStrict && consumed > 0 && input.charCodeAt(entityStart + consumed - 1) !== CharCodes.SEMI) consumed = 0;
|
|
207
|
+
value = consumed === 0 ? "" : codePointToString(packed & CODE_POINT_MASK);
|
|
208
|
+
} else if (isAlpha(firstChar)) {
|
|
209
|
+
consumed = 0;
|
|
210
|
+
value = "";
|
|
211
|
+
const rootSlotIndex = firstChar - rootJumpOffset;
|
|
212
|
+
let nodeIndex;
|
|
213
|
+
if (rootSlotIndex >>> 0 < rootBranchCount) {
|
|
214
|
+
const stored = decodeTree[1 + rootSlotIndex];
|
|
215
|
+
nodeIndex = stored === 0 ? -1 : rootBranchCount + stored & 65535;
|
|
216
|
+
} else nodeIndex = -1;
|
|
217
|
+
let bestNodeIndex = 0;
|
|
218
|
+
let bestValueLength = 0;
|
|
219
|
+
let current = nodeIndex < 0 ? 0 : decodeTree[nodeIndex];
|
|
220
|
+
let index = entityStart + 1;
|
|
221
|
+
trie: while (index < inputLength) {
|
|
222
|
+
while ((current & (BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13)) === 0 && (current & BinTrieFlags.JUMP_TABLE) !== 0) {
|
|
223
|
+
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
224
|
+
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
225
|
+
if (branchCount === 0) {
|
|
226
|
+
if (input.charCodeAt(index) !== jumpOffset) break trie;
|
|
227
|
+
nodeIndex += 1;
|
|
228
|
+
} else {
|
|
229
|
+
const slot = input.charCodeAt(index) - jumpOffset;
|
|
230
|
+
if (slot >>> 0 >= branchCount) break trie;
|
|
231
|
+
const stored = decodeTree[nodeIndex + 1 + slot];
|
|
232
|
+
if (stored === 0) break trie;
|
|
233
|
+
nodeIndex = nodeIndex + branchCount + stored & 65535;
|
|
234
|
+
}
|
|
235
|
+
current = decodeTree[nodeIndex];
|
|
236
|
+
index += 1;
|
|
237
|
+
if (index >= inputLength) break trie;
|
|
238
|
+
}
|
|
239
|
+
if ((current & (BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13)) === BinTrieFlags.FLAG13) {
|
|
240
|
+
const runLength = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
241
|
+
if (input.charCodeAt(index) !== (current & BinTrieFlags.JUMP_TABLE)) break;
|
|
242
|
+
index += 1;
|
|
243
|
+
const remaining = runLength - 1;
|
|
244
|
+
let wordIndex = nodeIndex + 1;
|
|
245
|
+
let charIndexInPacked = 0;
|
|
246
|
+
for (; charIndexInPacked + 1 < remaining; charIndexInPacked += 2) {
|
|
247
|
+
const packed = decodeTree[wordIndex];
|
|
248
|
+
if (input.charCodeAt(index) !== (packed & 255)) break trie;
|
|
249
|
+
index += 1;
|
|
250
|
+
if (input.charCodeAt(index) !== (packed >> 8 & 255)) break trie;
|
|
251
|
+
index += 1;
|
|
252
|
+
wordIndex += 1;
|
|
253
|
+
}
|
|
254
|
+
if (charIndexInPacked < remaining) {
|
|
255
|
+
if (input.charCodeAt(index) !== (decodeTree[wordIndex] & 255)) break;
|
|
256
|
+
index += 1;
|
|
257
|
+
}
|
|
258
|
+
nodeIndex += 1 + (runLength >> 1);
|
|
259
|
+
current = decodeTree[nodeIndex];
|
|
260
|
+
continue;
|
|
261
|
+
}
|
|
262
|
+
const valueLength = current >>> 14;
|
|
263
|
+
const char = input.charCodeAt(index);
|
|
264
|
+
if (valueLength !== 0) {
|
|
265
|
+
if (char === CharCodes.SEMI) {
|
|
266
|
+
consumed = index - entityStart + 1;
|
|
267
|
+
value = valueLength === 1 ? String.fromCharCode(current & BinTrieFlags.VALUE_MASK) : readTrieValue(decodeTree, nodeIndex, valueLength);
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
if (!isStrict && (current & BinTrieFlags.FLAG13) === 0) {
|
|
271
|
+
consumed = index - entityStart;
|
|
272
|
+
bestNodeIndex = nodeIndex;
|
|
273
|
+
bestValueLength = valueLength;
|
|
274
|
+
}
|
|
275
|
+
if (valueLength === 1) break;
|
|
276
|
+
}
|
|
277
|
+
const next = determineBranch(decodeTree, current, nodeIndex + (valueLength || 1), char);
|
|
278
|
+
if (next < 0) break;
|
|
279
|
+
nodeIndex = next;
|
|
280
|
+
current = decodeTree[nodeIndex];
|
|
281
|
+
index += 1;
|
|
282
|
+
}
|
|
283
|
+
if (value === "") {
|
|
284
|
+
const finalVL = current >>> 14;
|
|
285
|
+
if (finalVL !== 0 && !isStrict && (current & BinTrieFlags.FLAG13) === 0) {
|
|
286
|
+
consumed = index - entityStart;
|
|
287
|
+
bestNodeIndex = nodeIndex;
|
|
288
|
+
bestValueLength = finalVL;
|
|
289
|
+
}
|
|
290
|
+
if (consumed > 0) value = readTrieValue(decodeTree, bestNodeIndex, bestValueLength);
|
|
291
|
+
}
|
|
292
|
+
} else {
|
|
293
|
+
consumed = 0;
|
|
294
|
+
value = "";
|
|
295
|
+
}
|
|
296
|
+
if (consumed === 0 || isAttribute && firstChar !== CharCodes.NUM && input.charCodeAt(entityStart + consumed - 1) !== CharCodes.SEMI && entityStart + consumed < inputLength && isEntityInAttributeInvalidEnd(input.charCodeAt(entityStart + consumed))) offset = entityStart;
|
|
297
|
+
else {
|
|
298
|
+
if (chunkStart < offset) result += input.slice(chunkStart, offset);
|
|
299
|
+
result += value;
|
|
300
|
+
offset = chunkStart = entityStart + consumed;
|
|
301
|
+
}
|
|
302
|
+
if (input.charCodeAt(offset) !== CharCodes.AMP) offset = input.indexOf("&", offset);
|
|
303
|
+
} while (offset >= 0);
|
|
304
|
+
return result + input.slice(chunkStart);
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Decodes an HTML string, requiring all entities to be terminated by a semicolon.
|
|
308
|
+
* @param htmlString The string to decode.
|
|
309
|
+
* @returns The decoded string.
|
|
310
|
+
*/
|
|
311
|
+
function decodeHTMLStrict(htmlString) {
|
|
312
|
+
return decodeWithTrie(htmlString, true, false);
|
|
313
|
+
}
|
|
314
|
+
export { DecodingMode, decodeHTMLStrict, determineBranch };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { decodeTrieDict } from "../internal/decode-shared.mjs";
|
|
2
|
+
// node_modules/entities/dist/generated/decode-data-html.js
|
|
3
|
+
/** Packed HTML decode trie data. */
|
|
4
|
+
const htmlDecodeTree = /* #__PURE__ */ decodeTrieDict("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##),%-##%%)#&}(.}&%#&}%%}*&#%},&&}&%}#%*'#%})%}D&}&%}-&}6&#&}-,%}#%})-(~+`~,=?~I9'9%~!,#%})%})%}@%}?%}(~!?~#<~#pP~#BG~#=1#%K+~#?#~%;)~#A~#mF1~#A'~'X%'~#lR~#N~'N~#r~#m#-~#i'?%#'%~#B%##%,%#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|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P", 13494, 2713, 49, 25, 61);
|
|
5
|
+
export { htmlDecodeTree };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// node_modules/entities/dist/internal/bin-trie-flags.js
|
|
2
|
+
/**
|
|
3
|
+
* Bit flags & masks for the binary trie encoding used for entity decoding.
|
|
4
|
+
*
|
|
5
|
+
* The trie is a flat `Uint16Array`. Every node starts with one header word:
|
|
6
|
+
*
|
|
7
|
+
* 15..14 VALUE_LENGTH Number of words the value occupies, +1.
|
|
8
|
+
* 0 = no value; 1 = value inline in bits 12..0;
|
|
9
|
+
* 2/3 = value in the 1/2 words after the header.
|
|
10
|
+
* 13 FLAG13 If VALUE_LENGTH > 0: semicolon required ("strict"
|
|
11
|
+
* entity; `;` is never stored as a branch).
|
|
12
|
+
* If VALUE_LENGTH == 0: this node is a compact run.
|
|
13
|
+
* 12..7 BRANCH_LENGTH Number of branches (or run length for runs).
|
|
14
|
+
* 6..0 JUMP_TABLE Jump-table offset / single-branch char / first
|
|
15
|
+
* run char (see below).
|
|
16
|
+
*
|
|
17
|
+
* Branch data follows the header and any value words. Its shape is selected
|
|
18
|
+
* by (JUMP_TABLE, BRANCH_LENGTH) in the header:
|
|
19
|
+
*
|
|
20
|
+
* Single branch JUMP_TABLE = the only child's char, BRANCH_LENGTH = 0.
|
|
21
|
+
* No branch words; the child node follows immediately.
|
|
22
|
+
* Jump table JUMP_TABLE = first covered char (> 0), BRANCH_LENGTH =
|
|
23
|
+
* table length. One word per covered char: 0 = no branch,
|
|
24
|
+
* otherwise the child's offset from the END of the table,
|
|
25
|
+
* +1 (so 0 stays the no-branch sentinel).
|
|
26
|
+
* Dictionary JUMP_TABLE = 0, BRANCH_LENGTH = number of branches.
|
|
27
|
+
* ceil(n/2) words of sorted keys packed two per word
|
|
28
|
+
* (low byte first), then n pointer words storing the
|
|
29
|
+
* child's offset from the END of the branch data.
|
|
30
|
+
* Compact run VALUE_LENGTH = 0, FLAG13 set. BRANCH_LENGTH = run
|
|
31
|
+
* length (3..63), JUMP_TABLE = first char; remaining run
|
|
32
|
+
* chars packed two per word after the header. The target
|
|
33
|
+
* node follows the packed words immediately.
|
|
34
|
+
*
|
|
35
|
+
* Pointers are end-relative (rather than relative to the pointer's own
|
|
36
|
+
* position) because that makes the common "child encoded right after the
|
|
37
|
+
* branch data" case a small constant, which compresses far better. Offsets
|
|
38
|
+
* to already-encoded (shared) nodes wrap via uint16 modulo arithmetic; the
|
|
39
|
+
* decoder masks navigation results with `& 0xff_ff` to match.
|
|
40
|
+
*/
|
|
41
|
+
var BinTrieFlags;
|
|
42
|
+
(function(BinTrieFlags) {
|
|
43
|
+
BinTrieFlags[BinTrieFlags["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
|
|
44
|
+
BinTrieFlags[BinTrieFlags["FLAG13"] = 8192] = "FLAG13";
|
|
45
|
+
BinTrieFlags[BinTrieFlags["BRANCH_LENGTH"] = 8064] = "BRANCH_LENGTH";
|
|
46
|
+
BinTrieFlags[BinTrieFlags["JUMP_TABLE"] = 127] = "JUMP_TABLE";
|
|
47
|
+
/** Bits 12..0: the inline value of a VALUE_LENGTH = 1 header word. */
|
|
48
|
+
BinTrieFlags[BinTrieFlags["VALUE_MASK"] = 8191] = "VALUE_MASK";
|
|
49
|
+
})(BinTrieFlags || (BinTrieFlags = {}));
|
|
50
|
+
export { BinTrieFlags };
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
// node_modules/entities/dist/internal/decode-shared.js
|
|
2
|
+
const BASE91_INVERSE = /* #__PURE__ */ (() => {
|
|
3
|
+
const table = /* @__PURE__ */ new Uint8Array(127);
|
|
4
|
+
let code = 0;
|
|
5
|
+
for (let char = 33; char <= 126; char++) if (char !== 34 && char !== 36 && char !== 92) table[char] = code++;
|
|
6
|
+
return table;
|
|
7
|
+
})();
|
|
8
|
+
/**
|
|
9
|
+
* Decode a dictionary-encoded trie string back into its Uint16Array.
|
|
10
|
+
*
|
|
11
|
+
* Stream layout (consumed in this order):
|
|
12
|
+
* 1. dict1 atoms — `dict1AtomCount` uint16 values, delta+RLE encoded.
|
|
13
|
+
* 2. dict2 atoms — `atomCount - dict1AtomCount` values, delta+RLE.
|
|
14
|
+
* 3. dict2 ngrams — `ngramCount - (dictSize - dict1AtomCount)` entries,
|
|
15
|
+
* each a pair of slot codes that resolve to earlier slots.
|
|
16
|
+
* 4. dict1 ngrams — `dictSize - dict1AtomCount` entries, same shape.
|
|
17
|
+
* 5. data — slot codes, each expanding to one or more uint16 values.
|
|
18
|
+
*
|
|
19
|
+
* Codes use a 91-char base (printable ASCII minus `"`, `$`, `\`):
|
|
20
|
+
* - char1 < dictSize → 1-char code, slot = char1
|
|
21
|
+
* - char1 ≥ dictSize → 2-char code, slot = dictSize + (char1 - dictSize)*91 + char2
|
|
22
|
+
*
|
|
23
|
+
* Slot index → token kind:
|
|
24
|
+
* [0, A) dict1 atoms (1-char codes)
|
|
25
|
+
* [A, dictSize) dict1 ngrams (1-char codes)
|
|
26
|
+
* [dictSize, dictSize+D) dict2 atoms (2-char codes)
|
|
27
|
+
* [dictSize+D, end) dict2 ngrams (2-char codes)
|
|
28
|
+
*
|
|
29
|
+
* Both atom dicts decode before any ngram, and dict2 ngrams decode before
|
|
30
|
+
* dict1 ngrams. So every ngram entry references slots whose contents are
|
|
31
|
+
* already filled — no forward references to handle.
|
|
32
|
+
*
|
|
33
|
+
* This runs on library import. Flat typed arrays store each slot as either
|
|
34
|
+
* a plain value (`single`, covering every atom) or a range in a shared
|
|
35
|
+
* `pool` (ngrams).
|
|
36
|
+
* @param input Packed trie string.
|
|
37
|
+
* @param resultLength Expected number of uint16 values in the output.
|
|
38
|
+
* @param atomCount Total number of distinct uint16 values in the trie.
|
|
39
|
+
* @param dict1AtomCount Atoms in the 1-char range (`A` above).
|
|
40
|
+
* @param ngramCount Total number of ngram entries (dict1 + dict2).
|
|
41
|
+
* @param dictSize Number of 1-char code slots; the rest of `BASE - dictSize`
|
|
42
|
+
* first-byte values are 2-char codes.
|
|
43
|
+
*/
|
|
44
|
+
function decodeTrieDict(input, resultLength, atomCount, dict1AtomCount, ngramCount, dictSize) {
|
|
45
|
+
const base = 91;
|
|
46
|
+
const inputLength = input.length;
|
|
47
|
+
const twoCharBias = dictSize * 90;
|
|
48
|
+
let pos = 0;
|
|
49
|
+
/** Read one slot code at `pos` and return its slot index, advancing pos. */
|
|
50
|
+
const readSlotCode = () => {
|
|
51
|
+
const c1 = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
52
|
+
return c1 < dictSize ? c1 : c1 * base - twoCharBias + BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
53
|
+
};
|
|
54
|
+
const dict2AtomCount = atomCount - dict1AtomCount;
|
|
55
|
+
const slotCount = atomCount + ngramCount;
|
|
56
|
+
const single = new Int32Array(slotCount);
|
|
57
|
+
single.fill(-1, dict1AtomCount, dictSize);
|
|
58
|
+
single.fill(-1, dictSize + dict2AtomCount, slotCount);
|
|
59
|
+
const start = new Int32Array(slotCount);
|
|
60
|
+
const length = new Int32Array(slotCount);
|
|
61
|
+
/**
|
|
62
|
+
* Decode `count` ascending uint16 values from a delta+RLE stream into
|
|
63
|
+
* `single[off..off+count)`.
|
|
64
|
+
*
|
|
65
|
+
* code < 89 → delta = code
|
|
66
|
+
* code == 89 → run-length: next char encodes runLength-2; emit `runLength` consecutive +1 values
|
|
67
|
+
* code == 90, next < 90 → escape: delta = 89 + next * BASE + after-next
|
|
68
|
+
* code == 90, next == 90 → double-escape: extra char for very large deltas
|
|
69
|
+
* @param count
|
|
70
|
+
* @param off
|
|
71
|
+
*/
|
|
72
|
+
function decodeDelta(count, off) {
|
|
73
|
+
let previous = 0;
|
|
74
|
+
let slot = off;
|
|
75
|
+
const end = off + count;
|
|
76
|
+
while (slot < end) {
|
|
77
|
+
const code = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
78
|
+
if (code < 89) {
|
|
79
|
+
previous += code;
|
|
80
|
+
single[slot++] = previous;
|
|
81
|
+
} else if (code === 89) {
|
|
82
|
+
let runLength = BASE91_INVERSE[input.charCodeAt(pos++)] + 2;
|
|
83
|
+
while (runLength--) single[slot++] = ++previous;
|
|
84
|
+
} else {
|
|
85
|
+
const next = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
86
|
+
previous += 89 + (next < 90 ? next * base + BASE91_INVERSE[input.charCodeAt(pos++)] : BASE91_INVERSE[input.charCodeAt(pos++)] * 8281 + BASE91_INVERSE[input.charCodeAt(pos++)] * base + BASE91_INVERSE[input.charCodeAt(pos++)]);
|
|
87
|
+
single[slot++] = previous;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
decodeDelta(dict1AtomCount, 0);
|
|
92
|
+
decodeDelta(dict2AtomCount, dictSize);
|
|
93
|
+
const references = new Int32Array(ngramCount * 2);
|
|
94
|
+
let poolSize = 0;
|
|
95
|
+
let ngramIndex = 0;
|
|
96
|
+
/**
|
|
97
|
+
* Read `count` ngram entries (each = 2 slot-code references) for the slots
|
|
98
|
+
* starting at `startSlot`, recording references and assigning pool ranges.
|
|
99
|
+
* @param count
|
|
100
|
+
* @param startSlot
|
|
101
|
+
*/
|
|
102
|
+
function readNgramReferences(count, startSlot) {
|
|
103
|
+
for (let index = 0; index < count; index++) {
|
|
104
|
+
const slot = startSlot + index;
|
|
105
|
+
const a = readSlotCode();
|
|
106
|
+
const b = readSlotCode();
|
|
107
|
+
references[ngramIndex * 2] = a;
|
|
108
|
+
references[ngramIndex * 2 + 1] = b;
|
|
109
|
+
ngramIndex += 1;
|
|
110
|
+
start[slot] = poolSize;
|
|
111
|
+
const entryLength = (single[a] < 0 ? length[a] : 1) + (single[b] < 0 ? length[b] : 1);
|
|
112
|
+
length[slot] = entryLength;
|
|
113
|
+
poolSize += entryLength;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
readNgramReferences(ngramCount - dictSize + dict1AtomCount, dictSize + dict2AtomCount);
|
|
117
|
+
readNgramReferences(dictSize - dict1AtomCount, dict1AtomCount);
|
|
118
|
+
const pool = new Uint16Array(poolSize);
|
|
119
|
+
let write = 0;
|
|
120
|
+
for (let index = 0; index < ngramIndex; index++) for (let half = 0; half < 2; half++) {
|
|
121
|
+
const source = references[index * 2 + half];
|
|
122
|
+
const value = single[source];
|
|
123
|
+
if (value < 0) {
|
|
124
|
+
let read = start[source];
|
|
125
|
+
const readEnd = read + length[source];
|
|
126
|
+
while (read < readEnd) pool[write++] = pool[read++];
|
|
127
|
+
} else pool[write++] = value;
|
|
128
|
+
}
|
|
129
|
+
const out = new Uint16Array(resultLength);
|
|
130
|
+
let outIndex = 0;
|
|
131
|
+
while (pos < inputLength) {
|
|
132
|
+
let slot = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
133
|
+
if (slot >= dictSize) slot = slot * base - twoCharBias + BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
134
|
+
const value = single[slot];
|
|
135
|
+
if (value < 0) {
|
|
136
|
+
let read = start[slot];
|
|
137
|
+
const readEnd = read + length[slot];
|
|
138
|
+
while (read < readEnd) out[outIndex++] = pool[read++];
|
|
139
|
+
} else out[outIndex++] = value;
|
|
140
|
+
}
|
|
141
|
+
return out;
|
|
142
|
+
}
|
|
143
|
+
export { decodeTrieDict };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isNullish } from "./is.mjs";
|
|
2
|
-
|
|
2
|
+
// node_modules/trousse/dist/matching.js
|
|
3
3
|
const testRegex = (regex, value) => {
|
|
4
4
|
regex.lastIndex = 0;
|
|
5
5
|
return regex.test(value);
|
|
@@ -7,21 +7,24 @@ const testRegex = (regex, value) => {
|
|
|
7
7
|
const testRegexAnyCase = (regex, lowerValue, value) => {
|
|
8
8
|
return testRegex(regex, lowerValue) || lowerValue !== value && testRegex(regex, value);
|
|
9
9
|
};
|
|
10
|
+
const toPatternList = (patterns) => {
|
|
11
|
+
return typeof patterns === "string" || patterns instanceof RegExp ? [patterns] : patterns;
|
|
12
|
+
};
|
|
10
13
|
const isAnyOf = (value, patterns, parser) => {
|
|
11
14
|
if (isNullish(value)) return false;
|
|
12
15
|
const parsedValue = parser ? parser(value) : value.toLowerCase().trim();
|
|
13
16
|
const originalValue = parser ? parsedValue : value.trim();
|
|
14
|
-
return (
|
|
17
|
+
return toPatternList(patterns).some((pattern) => {
|
|
15
18
|
if (pattern instanceof RegExp) return testRegexAnyCase(pattern, parsedValue, originalValue);
|
|
16
19
|
return parsedValue === (parser ? pattern : pattern.toLowerCase().trim());
|
|
17
20
|
});
|
|
18
21
|
};
|
|
19
22
|
const endsWithAnyOf = (value, patterns) => {
|
|
23
|
+
if (isNullish(value)) return false;
|
|
20
24
|
const lowerValue = value.toLowerCase();
|
|
21
|
-
return patterns.some((pattern) => {
|
|
25
|
+
return toPatternList(patterns).some((pattern) => {
|
|
22
26
|
if (pattern instanceof RegExp) return testRegexAnyCase(pattern, lowerValue, value);
|
|
23
27
|
return pattern && lowerValue.endsWith(pattern.toLowerCase());
|
|
24
28
|
});
|
|
25
29
|
};
|
|
26
|
-
//#endregion
|
|
27
30
|
export { endsWithAnyOf, isAnyOf };
|