Closed
Bug 1359448
Opened 7 years ago
Closed 7 years ago
Lock down devtools-core package
Categories
(DevTools :: Netmonitor, defect, P1)
DevTools
Netmonitor
Tracking
(firefox55 fixed)
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: rickychien, Assigned: rickychien)
References
Details
(Whiteboard: [netmonitor])
Attachments
(1 file)
There are a few update and bug fixed in devtools-core recently (export cause, fromCache, fromServiceWorker [1]. [1] https://github.com/devtools-html/devtools-core/pull/344
Updated•7 years ago
|
Flags: qe-verify?
Assignee | ||
Comment 2•7 years ago
|
||
Latest change of devtools-connection module in https://github.com/devtools-html/devtools-core/pull/344 hasn't published to NPM yet at the time. Let's wait for devtools-connection version bump and review again.
Updated•7 years ago
|
Flags: qe-verify?
Flags: qe-verify-
Flags: needinfo?(mmucci)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
Filed bump package request at https://github.com/devtools-html/devtools-core/issues/349. Bumped devtools-connection https://github.com/devtools-html/devtools-core/commit/054f8992e47234425d42d9fc014e57bcc7e3c1df Bumped launchpad https://github.com/devtools-html/devtools-core/commit/8a12fbfd3996051dd375f6badbc84d355afe2beb Thanks Jason's help!
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8862694 [details] Bug 1359448 - Lock down devtools-core package https://reviewboard.mozilla.org/r/134564/#review137556 r+ after nit fixed ::: devtools/client/netmonitor/index.js:16 (Diff revision 1) > */ > 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-connection/src/utils/event-emitter"); do we need to include `devtools-connection` module if we use it? ::: devtools/client/netmonitor/package.json:10 (Diff revision 1) > "node": ">=6.9.0" > }, > "description": "Network monitor in developer tools", > "dependencies": { > "codemirror": "^5.24.2", > "devtools-config": "=0.0.12", add "devtools-connection": " 0.04",
Attachment #8862694 -
Flags: review?(gasolin) → review+
Comment 6•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8862694 [details] Bug 1359448 - Lock down devtools-core package https://reviewboard.mozilla.org/r/134564/#review137556 > add "devtools-connection": " > 0.04", And we should update the README.md accordingly when add a new dependency
Assignee | ||
Comment 7•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8862694 [details] Bug 1359448 - Lock down devtools-core package https://reviewboard.mozilla.org/r/134564/#review137556 > do we need to include `devtools-connection` module if we use it? Good catch! After investigating, I think we are no longer to depend on devtools-connection since it's part of nested dependency of devtools-launchpad. EventEmitter can also be accessed from devtools-module, as a result, we can get rid of it. Thanks for spotting the issue! > And we should update the README.md accordingly when add a new dependency Likewise above. The netmonitor is no longer necessarily to depend on devtools-connection anymore, READMD.md update will not be needed.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8862694 [details] Bug 1359448 - Lock down devtools-core package https://reviewboard.mozilla.org/r/134564/#review137568
Comment 10•7 years ago
|
||
Pushed by rchien@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2e7660e83f7d Lock down devtools-core package r=gasolin
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2e7660e83f7d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•