From 2d3a441e55adc20ed248848722a56bfaef989521 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Sat, 8 Feb 2020 12:18:58 -0800 Subject: [PATCH] Add `alert()` function --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 06c63cb..8fd5eb7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -188,6 +188,7 @@ namespace createPacResolver { } export type FindProxyForURL = ReturnType; export const sandbox: Readonly = Object.freeze({ + alert: (message: string = '') => console.log('%s', message), dateRange, dnsDomainIs, dnsDomainLevels,