Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 16:08
· 26 commits to main since this release
0dd04e9

Major Changes

  • d5918fb Thanks @ro80t! - Breaking: AnonymityCheckResult now ties each flag to its provider field at the type level, and provider is renamed to vpnProvider for symmetry with proxyProvider.

    -provider: string | null;
    -proxyProvider: string | null;
    +// isVpn: true  -> vpnProvider: string
    +// isVpn: false -> vpnProvider: null
    +// isProxy: true  -> proxyProvider: string
    +// isProxy: false -> proxyProvider: null

    Once you've checked result.isVpn (or result.isProxy), TypeScript narrows vpnProvider/proxyProvider to string for you — no more provider !== null checks needed alongside the flag. Update any code reading result.provider to result.vpnProvider.

Minor Changes

  • 013e303 Thanks @ro80t! - Add 9 more ASNs to PROXY_ASN_PROVIDERS, broadening geographic coverage beyond the initial seed set: Melbikomas UAB (Lithuania, proxy/data-collection infrastructure), DataImpulse (Softoria LLC), and bulletproof hosting/proxy infrastructure in Malaysia (Shinjiru), Ukraine (VAIZ Partner, E-Rishennya, FDN3), and Bulgaria (Roza Holidays, SS-Net). Each entry was independently verified against RIPEstat whois data before inclusion.