mirror of
https://github.com/prymitive/karma
synced 2026-08-23 11:56:20 +00:00
fix(ui): drop mobx-react
This commit is contained in:
committed by
Łukasz Mierzwa
parent
ca7a8fceaf
commit
508e47f5c4
Generated
-8
@@ -15928,14 +15928,6 @@
|
||||
"resolved": "https://registry.npmjs.org/mobx/-/mobx-5.15.4.tgz",
|
||||
"integrity": "sha512-xRFJxSU2Im3nrGCdjSuOTFmxVDGeqOHL+TyADCGbT0k4HHqGmx5u2yaHNryvoORpI4DfbzjJ5jPmuv+d7sioFw=="
|
||||
},
|
||||
"mobx-react": {
|
||||
"version": "6.2.2",
|
||||
"resolved": "https://registry.npmjs.org/mobx-react/-/mobx-react-6.2.2.tgz",
|
||||
"integrity": "sha512-Us6V4ng/iKIRJ8pWxdbdysC6bnS53ZKLKlVGBqzHx6J+gYPYbOotWvhHZnzh/W5mhpYXxlXif4kL2cxoWJOplQ==",
|
||||
"requires": {
|
||||
"mobx-react-lite": "2"
|
||||
}
|
||||
},
|
||||
"mobx-react-lite": {
|
||||
"version": "2.0.7",
|
||||
"resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-2.0.7.tgz",
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
"lodash.throttle": "4.1.1",
|
||||
"lodash.uniqueid": "4.0.1",
|
||||
"mobx": "5.15.4",
|
||||
"mobx-react": "6.2.2",
|
||||
"mobx-react-lite": "2.0.7",
|
||||
"mobx-stored": "1.1.0",
|
||||
"moment": "2.26.0",
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import React, {
|
||||
useCallback,
|
||||
} from "react";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import Media from "react-media";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { toJS } from "mobx";
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import moment from "moment";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { autorun } from "mobx";
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import Favico from "favico.js";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useEffect, useRef } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { reaction } from "mobx";
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import moment from "moment";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useRef, useState, useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { Manager, Reference, Popper } from "react-popper";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faVolumeMute } from "@fortawesome/free-solid-svg-icons/faVolumeMute";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { APIGroup } from "Models/API";
|
||||
import { StaticLabels } from "Common/Query";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { APIGroup } from "Models/API";
|
||||
import { AlertStore } from "Stores/AlertStore";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useCallback, useRef, useState } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { Fade } from "react-reveal";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState, useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import debounce from "lodash.debounce";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useCallback, useState } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import debounce from "lodash.debounce";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { AlertStore } from "Stores/AlertStore";
|
||||
import { Settings } from "Stores/Settings";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faExclamationCircle } from "@fortawesome/free-solid-svg-icons/faExclamationCircle";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { observer } from "mobx-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
||||
import Flash from "react-reveal/Flash";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { useCallback } from "react";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { QueryOperators, FormatQuery } from "Common/Query";
|
||||
import { TooltipWrapper } from "Components/TooltipWrapper";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { QueryOperators } from "Common/Query";
|
||||
import { AlertStore } from "Stores/AlertStore";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { observer } from "mobx-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faTimes } from "@fortawesome/free-solid-svg-icons/faTimes";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { GetClassAndStyle } from "Components/Labels/Utils";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import Select from "react-select";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import Select from "react-select";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { Settings } from "Stores/Settings";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { Settings } from "Stores/Settings";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { Settings } from "Stores/Settings";
|
||||
import { GridLabelName } from "./GridLabelName";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import Select from "react-select";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useState } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { AlertStore } from "Stores/AlertStore";
|
||||
import { Settings } from "Stores/Settings";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import moment from "moment";
|
||||
import Moment from "react-moment";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faCircleNotch } from "@fortawesome/free-solid-svg-icons/faCircleNotch";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useRef, useState, useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
import { localStored } from "mobx-stored";
|
||||
|
||||
import { Manager, Reference, Popper } from "react-popper";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState, useRef, useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import Autosuggest from "react-autosuggest";
|
||||
import Highlight from "react-highlighter";
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useState, useRef, useEffect, useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { reaction } from "mobx";
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import ReactResizeDetector from "react-resize-detector";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useState } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { observer } from "mobx-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
||||
import { AlertStore } from "Stores/AlertStore";
|
||||
import { TooltipWrapper } from "Components/TooltipWrapper";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useState, useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import Flash from "react-reveal/Flash";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useEffect } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { autorun } from "mobx";
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import Select from "react-select";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useState, useEffect } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { Fade } from "react-reveal";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useRef } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { observer } from "mobx-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faAngleUp } from "@fortawesome/free-solid-svg-icons/faAngleUp";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useRef } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { observer } from "mobx-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
||||
import moment from "moment";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState, useCallback } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import moment from "moment";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import JSONPretty from "react-json-pretty";
|
||||
import * as theme from "react-json-pretty/dist/monikai";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faPlus } from "@fortawesome/free-solid-svg-icons/faPlus";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { observer } from "mobx-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
||||
import { components } from "react-select";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faExclamationCircle } from "@fortawesome/free-solid-svg-icons/faExclamationCircle";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faTrash } from "@fortawesome/free-solid-svg-icons/faTrash";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { useObserver } from "mobx-react";
|
||||
import { useObserver } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faLock } from "@fortawesome/free-solid-svg-icons/faLock";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { observer } from "mobx-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faBellSlash } from "@fortawesome/free-solid-svg-icons/faBellSlash";
|
||||
|
||||
Reference in New Issue
Block a user