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

webext-schema

Package Overview
Dependencies
Maintainers
1
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webext-schema - npm Package Compare versions

Comparing version 5.1.6 to 5.1.7

2

modules/browser.js

@@ -181,3 +181,3 @@ /**

func = commands.reset(id);
} else if (/^(?:(?:(?:Alt|Command|(?:Mac)?Ctrl)(?:\+Shift)?|Alt\+(?:Command|(?:Mac)?Ctrl)|Command\+(?:Alt|MacCtrl)|Ctrl\+(?:Alt|MacCtrl)|MacCtrl\+(?:Alt|Command|Ctrl))\+(?:[\dA-Z]|F(?:[1-9]|1[0-2])|(?:Page)?(?:Down|Up)|Left|Right|Comma|Period|Home|End|Delete|Insert|Space))|F(?:[1-9]|1[0-2])|Media(?:(?:Next|Prev)Track|PlayPause|Stop)$/.test(shortcut)) {
} else if (/^(?:(?:Alt|Command|(?:Mac)?Ctrl)(?:\+Shift)?|Alt\+(?:Command|(?:Mac)?Ctrl)|Command\+(?:Alt|MacCtrl)|Ctrl\+(?:Alt|MacCtrl)|MacCtrl\+(?:Alt|Command|Ctrl))\+[\dA-Z]|F[1-9]|Media(?:(?:Next|Prev)Track|PlayPause|Stop)$/.test(shortcut)) {
func = commands.update({

@@ -184,0 +184,0 @@ shortcut,

@@ -131,3 +131,3 @@ /**

if (isString(file) && isFile(file) &&
/^([^.]+)(?:\..+)?$/.test(path.basename(file))) {
/^[^.]+(?:\..+)?$/.test(path.basename(file))) {
[, name] = /^([^.]+)(?:\..+)?$/.exec(path.basename(file));

@@ -134,0 +134,0 @@ }

@@ -31,3 +31,3 @@ /**

this.#channel =
isString(arg1) && /(?:(?:centra|mai)l|beta|esr|release)/.test(arg1)
isString(arg1) && /(?:centra|mai)l|beta|esr|release/.test(arg1)
? arg1

@@ -51,3 +51,3 @@ : 'beta';

set channel(ch) {
if (isString(ch) && /(?:(?:centra|mai)l|beta|esr|release)/.test(ch)) {
if (isString(ch) && /(?:centra|mai)l|beta|esr|release/.test(ch)) {
this.#channel = ch;

@@ -54,0 +54,0 @@ }

@@ -99,3 +99,3 @@ /**

const reg =
/content\/(?:(?:brows|messeng)er|extensions)\/schemas\/([\da-zA-Z_]+\.json)/;
/content\/(?:(?:brows|messeng)er|extensions)\/schemas\/(\w+\.json)/;
const items = text.split('\n');

@@ -102,0 +102,0 @@ const arr = [];

@@ -17,3 +17,3 @@ {

"@types/firefox-webext-browser": "^109.0.0",
"@types/node": "^18.14.1",
"@types/node": "^18.14.2",
"@types/sinon": "^10.0.13",

@@ -35,2 +35,3 @@ "camelize": "^1.0.1",

"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-regexp": "^1.12.0",
"eslint-plugin-unicorn": "^45.0.2",

@@ -60,3 +61,3 @@ "mocha": "^10.2.0",

},
"version": "5.1.6"
"version": "5.1.7"
}
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