Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Add alert() function
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Feb 8, 2020
1 parent b71ef41 commit 2d3a441
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ namespace createPacResolver {
}
export type FindProxyForURL = ReturnType<typeof createPacResolver>;
export const sandbox: Readonly<Context> = Object.freeze({
alert: (message: string = '') => console.log('%s', message),
dateRange,
dnsDomainIs,
dnsDomainLevels,
Expand Down

0 comments on commit 2d3a441

Please sign in to comment.