webextension-polyfill-ts
Advanced tools
Comparing version 0.24.0 to 0.25.0
@@ -40,5 +40,6 @@ /** | ||
* @param flags Optional. | ||
* @returns Promise<DNSRecord> | ||
*/ | ||
resolve(hostname: string, flags?: ResolveFlags): void; | ||
resolve(hostname: string, flags?: ResolveFlags): Promise<DNSRecord>; | ||
} | ||
} |
@@ -262,3 +262,3 @@ /** | ||
type OptionalPermission = OptionalPermissionNoPrompt | "clipboardRead" | "clipboardWrite" | "geolocation" | "notifications" | "bookmarks" | "browserSettings" | "browsingData" | "devtools" | "downloads" | "downloads.open" | "find" | "history" | "management" | "pkcs11" | "privacy" | "proxy" | "sessions" | "tabs" | "tabHide" | "topSites" | "webNavigation"; | ||
type OptionalPermission = OptionalPermissionNoPrompt | "clipboardRead" | "clipboardWrite" | "geolocation" | "notifications" | "bookmarks" | "browserSettings" | "browsingData" | "devtools" | "downloads" | "downloads.open" | "find" | "history" | "management" | "pkcs11" | "privacy" | "proxy" | "nativeMessaging" | "sessions" | "tabs" | "tabHide" | "topSites" | "webNavigation"; | ||
@@ -269,3 +269,3 @@ type OptionalPermissionOrOrigin = OptionalPermission | MatchPattern; | ||
type Permission = PermissionNoPrompt | OptionalPermission | string | "nativeMessaging"; | ||
type Permission = PermissionNoPrompt | OptionalPermission | string; | ||
@@ -272,0 +272,0 @@ type PermissionOrOrigin = Permission | MatchPattern; |
@@ -66,5 +66,5 @@ /** | ||
* @param permissions | ||
* @returns Promise<void> | ||
* @returns Promise<boolean> | ||
*/ | ||
remove(permissions: Permissions): Promise<void>; | ||
remove(permissions: Permissions): Promise<boolean>; | ||
@@ -71,0 +71,0 @@ /** |
{ | ||
"name": "webextension-polyfill-ts", | ||
"version": "0.24.0", | ||
"version": "0.25.0", | ||
"description": "webextension-polyfill for TypeScript", | ||
@@ -48,3 +48,3 @@ "keywords": [ | ||
"@lusito/stylelint-config": "^1.5.0", | ||
"@types/node": "^14.14.22", | ||
"@types/node": "^14.14.27", | ||
"@types/rimraf": "^3.0.0", | ||
@@ -55,4 +55,4 @@ "got": "^11.8.1", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^4.1.3" | ||
"typescript": "^4.1.5" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
435682
11002