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

devtools-contextmenu

Package Overview
Dependencies
Maintainers
11
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devtools-contextmenu - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

5

menu.js

@@ -5,7 +5,8 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

const { Menu, MenuItem } = require("devtools-modules");
const Menu = require("devtools-modules/src/menu");
const MenuItem = require("devtools-modules/src/menu-item");
function inToolbox() {
try {
return window.parent.document.documentURI == "about:devtools-toolbox";
return window.parent.document.documentURI.startsWith("about:devtools-toolbox");
} catch (e) {

@@ -12,0 +13,0 @@ // If `window` is not available, it's very likely that we are in the toolbox.

4

package.json
{
"name": "devtools-contextmenu",
"version": "1.0.5",
"version": "1.0.6",
"description": "DevTools Contextmenu",

@@ -12,4 +12,4 @@ "main": "menu.js",

"dependencies": {
"devtools-modules": "~1.1.2"
"devtools-modules": "~1.1.3"
}
}

Sorry, the diff of this file is not supported yet

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