зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1889350 - Remove chrome-worker environment from eslint-plugin-mozilla. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D206484
This commit is contained in:
Родитель
754db3ddfc
Коммит
422ede4600
|
@ -5983,7 +5983,7 @@
|
|||
"license": "MPL-2.0"
|
||||
},
|
||||
"tools/lint/eslint/eslint-plugin-mozilla": {
|
||||
"version": "3.7.3",
|
||||
"version": "3.7.4",
|
||||
"dev": true,
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
/**
|
||||
* @fileoverview Defines the environment for chrome workers. This differs
|
||||
* from normal workers by the fact that `ctypes` can be accessed
|
||||
* as well.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
|
||||
var globals = require("globals");
|
||||
var util = require("util");
|
||||
|
||||
var workerGlobals = util._extend(
|
||||
{
|
||||
ctypes: false,
|
||||
},
|
||||
globals.worker
|
||||
);
|
||||
|
||||
module.exports = {
|
||||
globals: workerGlobals,
|
||||
};
|
|
@ -25,7 +25,6 @@ module.exports = {
|
|||
environments: {
|
||||
"browser-window": require("../lib/environments/browser-window.js"),
|
||||
"chrome-script": require("../lib/environments/chrome-script.js"),
|
||||
"chrome-worker": require("../lib/environments/chrome-worker.js"),
|
||||
"frame-script": require("../lib/environments/frame-script.js"),
|
||||
sysmjs: require("../lib/environments/sysmjs.js"),
|
||||
privileged: require("../lib/environments/privileged.js"),
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "eslint-plugin-mozilla",
|
||||
"version": "3.7.3",
|
||||
"version": "3.7.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "eslint-plugin-mozilla",
|
||||
"version": "3.7.3",
|
||||
"version": "3.7.4",
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": {
|
||||
"eslint-scope": "^7.2.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eslint-plugin-mozilla",
|
||||
"version": "3.7.3",
|
||||
"version": "3.7.4",
|
||||
"description": "A collection of rules that help enforce JavaScript coding standard in the Mozilla project.",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
|
|
Загрузка…
Ссылка в новой задаче