Server IP : 85.214.239.14 / Your IP : 18.222.106.87 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/task/3/root/proc/2/root/lib/node_modules/pm2/node_modules/pac-resolver/dist/ |
Upload File : |
/// <reference types="node" /> /// <reference types="node" /> import { CompileOptions } from 'degenerator'; /** * Built-in PAC functions. */ import dateRange from './dateRange'; import dnsDomainIs from './dnsDomainIs'; import dnsDomainLevels from './dnsDomainLevels'; import dnsResolve from './dnsResolve'; import isInNet from './isInNet'; import isPlainHostName from './isPlainHostName'; import isResolvable from './isResolvable'; import localHostOrDomainIs from './localHostOrDomainIs'; import myIpAddress from './myIpAddress'; import shExpMatch from './shExpMatch'; import timeRange from './timeRange'; import weekdayRange from './weekdayRange'; import type { QuickJSWASMModule } from '@tootallnate/quickjs-emscripten'; /** * Returns an asynchronous `FindProxyForURL()` function * from the given JS string (from a PAC file). */ export declare function createPacResolver(qjs: QuickJSWASMModule, _str: string | Buffer, _opts?: PacResolverOptions): (url: string | URL, _host?: string) => Promise<string>; export type GMT = 'GMT'; export type Hour = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23; export type Day = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31; export type Weekday = 'SUN' | 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT'; export type Month = 'JAN' | 'FEB' | 'MAR' | 'APR' | 'MAY' | 'JUN' | 'JUL' | 'AUG' | 'SEP' | 'OCT' | 'NOV' | 'DEC'; export type PacResolverOptions = CompileOptions; export interface FindProxyForURLCallback { (err?: Error | null, result?: string): void; } export type FindProxyForURL = ReturnType<typeof createPacResolver>; export declare const sandbox: Readonly<{ alert: (message?: string) => void; dateRange: typeof dateRange; dnsDomainIs: typeof dnsDomainIs; dnsDomainLevels: typeof dnsDomainLevels; dnsResolve: typeof dnsResolve; isInNet: typeof isInNet; isPlainHostName: typeof isPlainHostName; isResolvable: typeof isResolvable; localHostOrDomainIs: typeof localHostOrDomainIs; myIpAddress: typeof myIpAddress; shExpMatch: typeof shExpMatch; timeRange: typeof timeRange; weekdayRange: typeof weekdayRange; }>; //# sourceMappingURL=index.d.ts.map