Bug 1359448 - Lock down devtools-core package r=gasolin

MozReview-Commit-ID: 7vmaYbyW31b

--HG--
extra : rebase_source : 9d9bccb6baceb1bdfd91513c2b7da8a2a0e806eb
This commit is contained in:
Ricky Chien 2017-04-26 14:51:40 +08:00
Родитель 8109941e51
Коммит 150b22a171
4 изменённых файлов: 996 добавлений и 114 удалений

Просмотреть файл

@ -13,7 +13,7 @@ const React = require("react");
const ReactDOM = require("react-dom");
const { bindActionCreators } = require("redux");
const { bootstrap, renderRoot } = require("devtools-launchpad");
const { EventEmitter } = require("devtools-modules");
const EventEmitter = require("devtools-modules/src/utils/event-emitter");
const { Services: { appinfo, pref }} = require("devtools-modules");
const { configureStore } = require("./src/utils/create-store");

Просмотреть файл

@ -8,8 +8,8 @@
"dependencies": {
"codemirror": "^5.24.2",
"devtools-config": "=0.0.12",
"devtools-launchpad": "=0.0.67",
"devtools-modules": "=0.0.24",
"devtools-launchpad": "=0.0.75",
"devtools-modules": "=0.0.27",
"devtools-source-editor": "=0.0.3",
"immutable": "^3.8.1",
"jszip": "^3.1.3",

Просмотреть файл

@ -39,7 +39,7 @@ let webpackConfig = {
alias: {
"react": path.join(__dirname, "node_modules/react"),
"devtools/client/framework/devtools": path.join(__dirname, "../../client/shims/devtools"),
"devtools/client/framework/menu": "devtools-modules/client/framework/menu",
"devtools/client/framework/menu": "devtools-modules/src/menu",
"devtools/client/framework/menu-item": path.join(__dirname, "../../client/framework/menu-item"),
"devtools/client/locales": path.join(__dirname, "../../client/locales/en-US"),
"devtools/client/shared/components/reps/reps": path.join(__dirname, "../../client/shared/components/reps/reps"),
@ -72,7 +72,7 @@ let webpackConfig = {
"devtools/client/sourceeditor/editor": "devtools-source-editor/src/source-editor",
"devtools/shared/async-utils": path.join(__dirname, "../../shared/async-utils"),
"devtools/shared/defer": path.join(__dirname, "../../shared/defer"),
"devtools/shared/event-emitter": "devtools-modules/shared/event-emitter",
"devtools/shared/event-emitter": "devtools-modules/src/utils/event-emitter",
"devtools/shared/fronts/timeline": path.join(__dirname, "../../shared/shims/fronts/timeline"),
"devtools/shared/l10n": path.join(__dirname, "../../shared/l10n"),
"devtools/shared/locales": path.join(__dirname, "../../shared/locales/en-US"),
@ -80,7 +80,7 @@ let webpackConfig = {
"devtools/shared/plural-form": path.join(__dirname, "../../shared/plural-form"),
"devtools/shared/task": path.join(__dirname, "../../shared/task"),
"toolkit/locales": path.join(__dirname, "../../../toolkit/locales/en-US"),
"Services": "devtools-modules/client/shared/shim/Services",
"Services": "devtools-modules/src/Services",
},
},
};

Разница между файлами не показана из-за своего большого размера Загрузить разницу