New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webext-messenger

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webext-messenger - npm Package Compare versions

Comparing version 0.22.0-2 to 0.22.0-3

4

distribution/thisTarget.d.ts

@@ -1,5 +0,5 @@

import { AnyTarget, Message, MessengerMeta, Sender } from "./types.js";
import { AnyTarget, KnownTarget, Message, MessengerMeta, Sender } from "./types.js";
export declare function getActionForMessage(from: Sender, message: Message): "respond" | "forward" | "ignore";
export declare function __getTabData(this: MessengerMeta): AnyTarget;
export declare function getThisTarget(): Promise<AnyTarget>;
export declare function getThisTarget(): Promise<KnownTarget>;
export declare function initPrivateApi(): void;

@@ -55,2 +55,7 @@ import { Runtime } from "webextension-polyfill";

}
export interface KnownTarget {
tabId?: number;
frameId?: number;
page: string;
}
export interface Target {

@@ -57,0 +62,0 @@ tabId: number;

{
"name": "webext-messenger",
"version": "0.22.0-2",
"version": "0.22.0-3",
"description": "Browser Extension component messaging framework",

@@ -5,0 +5,0 @@ "keywords": [],

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