Bug 1874363 - [devtools] Remove build-debugger reselect mappings. r=devtools-reviewers,ochameau.

Differential Revision: https://phabricator.services.mozilla.com/D198413
This commit is contained in:
Nicolas Chevobbe 2024-01-16 08:31:00 +00:00
Родитель 2ec413367a
Коммит ccad545aeb
13 изменённых файлов: 12 добавлений и 13 удалений

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

@ -6,7 +6,7 @@ import React, { PureComponent } from "react";
import { div, input, span } from "react-dom-factories";
import PropTypes from "prop-types";
import { connect } from "../../../utils/connect";
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import actions from "../../../actions";
import { CloseButton } from "../../shared/Button";

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import { getSelectedSource } from "./sources";
import { getBreakpointsList } from "./breakpoints";
import { getFilename } from "../utils/source";

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import { makeBreakpointId } from "../utils/breakpoint";

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import { shallowEqual, arrayShallowEqual } from "../utils/shallow-equal";
import { getSelectedSource, getSourceActorsForSource } from "./";

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
const getExpressionsWrapper = state => state.expressions;

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

@ -9,7 +9,7 @@ import { getBlackBoxRanges } from "./source-blackbox";
// eslint-disable-next-line
import { getSelectedLocation as _getSelectedLocation } from "../utils/selected-location";
import { isFrameBlackBoxed } from "../utils/source";
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
export const getSelectedFrame = createSelector(
(state, thread) => state.pause.threads[thread],

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
/**
* Main selector to build the SourceTree,

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import { getPrettySourceURL, isPretty, isJavaScript } from "../utils/source";

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import { getPrettySourceURL } from "../utils/source";
import { getSpecificSourceByURL } from "./sources";

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import { parse } from "../utils/url";
export const getThreads = createSelector(

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import { getBreakpointsList } from "./breakpoints";
import { getSelectedSource } from "./sources";

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

@ -2,7 +2,7 @@
* 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/>. */
import { createSelector } from "reselect";
import { createSelector } from "devtools/client/shared/vendor/reselect";
import {
getViewport,

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

@ -14,7 +14,6 @@ const mappings = {
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
"react-redux": "devtools/client/shared/vendor/react-redux",
redux: "devtools/client/shared/vendor/redux",
reselect: "devtools/client/shared/vendor/reselect",
"prop-types": "devtools/client/shared/vendor/react-prop-types",
"wasmparser/dist/cjs/WasmParser": "devtools/client/shared/vendor/WasmParser",
"wasmparser/dist/cjs/WasmDis": "devtools/client/shared/vendor/WasmDis",