Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webextension-polyfill-ts

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webextension-polyfill-ts - npm Package Compare versions

Comparing version 0.24.0 to 0.25.0

3

lib/dns.d.ts

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc