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 1.1.0 to 1.2.0

schemas/esr/webext.json

8

modules/schema.js

@@ -20,3 +20,5 @@ /**

* @param {...(string|Object)} [args] - optional arguments
* {string} - release channel
* {string} - release channel.
* one of "beta", "central",
* "release", "esr", "mail".
* {Object} - sinon config

@@ -27,3 +29,3 @@ */

this._channel =
isString(arg1) && /(?:(?:centra|mai)l|beta|release)/.test(arg1) &&
isString(arg1) && /(?:(?:centra|mai)l|beta|esr|release)/.test(arg1) &&
arg1 || "beta";

@@ -45,3 +47,3 @@ this._sandbox =

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

@@ -48,0 +50,0 @@ }

@@ -18,2 +18,3 @@ /**

const PERM_FILE = 0o644;
const ESR_VER = 68;

@@ -49,2 +50,5 @@ /**

break;
case "esr":
dir = `releases/mozilla-esr${ESR_VER}/`;
break;
case "mail":

@@ -249,2 +253,3 @@ dir = "comm-central/";

saveSchemaFile("central", info),
saveSchemaFile("esr", info),
saveSchemaFile("release", info),

@@ -258,2 +263,3 @@ saveSchemaFile("mail", info),

module.exports = {
ESR_VER,
createUnifiedSchema,

@@ -260,0 +266,0 @@ fetchText,

@@ -20,2 +20,3 @@ {

"update:central": "node index update -c central -i",
"update:esr": "node index update -c esr -i",
"update:mail": "node index update -c mail -i",

@@ -38,3 +39,3 @@ "update:release": "node index update -c release -i"

},
"version": "1.1.0"
"version": "1.2.0"
}

@@ -27,3 +27,3 @@ [![Build Status](https://travis-ci.org/asamuzaK/webext-schema.svg?branch=master)](https://travis-ci.org/asamuzaK/webext-schema)

* @param {string} [channel] - release channel
* @param {string} [channel] - release channel. one of "beta", "central", "release", "esr", "mail".
* @param {Object} [sinonConfig] - optional configuration for `sinon.createSandbox()`, see [Sinon.JS](https://sinonjs.org/) for details.

@@ -42,4 +42,4 @@

"central", "beta", "release", "esr" for WebExtensions, and "mail" for MailExtensions are available.
Channel defaults to "beta".
"central", "beta", "release" for WebExtensions, and "mail" for MailExtensions are available.

@@ -46,0 +46,0 @@ ```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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