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

webext-content-scripts

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webext-content-scripts - npm Package Compare versions

Comparing version 0.11.0 to 0.11.1

4

index.js

@@ -14,3 +14,3 @@ import chromeP from 'webext-polyfill-kinda';

if ('scripting' in chrome) {
const [result] = await chrome.scripting.executeScript({
const [injection] = await chrome.scripting.executeScript({
target: {

@@ -23,3 +23,3 @@ tabId,

});
return result;
return injection === null || injection === void 0 ? void 0 : injection.result;
}

@@ -26,0 +26,0 @@ const [result] = await chromeP.tabs.executeScript(tabId, {

{
"name": "webext-content-scripts",
"version": "0.11.0",
"version": "0.11.1",
"description": "Utility functions to inject content scripts from a WebExtension.",

@@ -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