Replace enzyme with React testing library in app and extension (#918)

* Update tests

* Replace in extension as well
This commit is contained in:
Nathan Bierema 2021-10-22 10:49:53 -04:00 committed by GitHub
parent 57ec0534b2
commit e8dc843f78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 120 additions and 409 deletions

View File

@ -61,6 +61,8 @@
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@babel/register": "^7.15.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.2",
"@types/chrome": "^0.0.159",
"@types/lodash": "^4.14.176",
"@types/react": "^16.14.18",
@ -74,8 +76,6 @@
"cross-env": "^7.0.3",
"css-loader": "^6.4.0",
"electron": "^15.3.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.25.2",

View File

@ -1,24 +1,30 @@
import React from 'react';
import { mount } from 'enzyme';
import { render, screen, within } from '@testing-library/react';
import { Provider } from 'react-redux';
import configureStore from '../../../src/app/stores/windowStore';
import App from '../../../src/app/containers/App';
const { store } = configureStore(store);
const component = mount(
<Provider store={store}>
<App position="devtools-left" />
</Provider>
);
describe('App container', () => {
it("should render inspector monitor's component", () => {
expect(component.find('DevtoolsInspector').html()).toBeDefined();
render(
<Provider store={store}>
<App position="devtools-left" />
</Provider>
);
expect(screen.getByTestId('inspector')).toBeDefined();
});
it('should contain an empty action list', () => {
expect(component.find('ActionList').html()).toMatch(
/<div class="actionListRows-[0-9-]+"><\/div>/
render(
<Provider store={store}>
<App position="devtools-left" />
</Provider>
);
const actionList = screen.getByTestId('actionList');
expect(
within(actionList).getByTestId('actionListRows')
).toBeEmptyDOMElement();
});
});

View File

@ -1,8 +1,5 @@
require('@babel/polyfill');
global.chrome = require('sinon-chrome');
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
require('@testing-library/jest-dom');
jest.setTimeout(50000);

View File

@ -67,8 +67,8 @@
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@rjsf/core": "^3.2.0",
"@types/enzyme": "^3.10.10",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.2",
"@types/jsan": "^3.1.2",
"@types/json-schema": "^7.0.9",
@ -79,6 +79,7 @@
"@types/react-redux": "^7.1.20",
"@types/socketcluster-client": "^13.0.5",
"@types/styled-components": "^5.1.15",
"@types/testing-library__jest-dom": "^5.14.1",
"@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.3.1",
"@types/webpack-env": "^1.16.3",
@ -86,9 +87,6 @@
"@typescript-eslint/parser": "^5.1.0",
"babel-loader": "^8.2.3",
"css-loader": "^6.4.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.2",

View File

@ -1,8 +1,7 @@
import React, { Component } from 'react';
import React from 'react';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import { mount, ReactWrapper } from 'enzyme';
// import { mountToJson } from 'enzyme-to-json';
import { render, screen, within } from '@testing-library/react';
import App from '../src/containers/App';
import api from '../src/middlewares/api';
import exportState from '../src/middlewares/exportState';
@ -10,39 +9,28 @@ import rootReducer from '../src/reducers';
import { DATA_TYPE_KEY } from '../src/constants/dataTypes';
import stringifyJSON from '../src/utils/stringifyJSON';
let wrapper: ReactWrapper<unknown, unknown, Component>;
const store = createStore(rootReducer, applyMiddleware(exportState, api));
describe('App container', () => {
beforeAll(() => {
wrapper = mount(
it("should render inspector monitor's wrapper", () => {
render(
<Provider store={store}>
<App />
</Provider>
);
});
/*
it('should render the App', () => {
expect(mountToJson(wrapper)).toMatchSnapshot();
});
*/
it("should render inspector monitor's wrapper", () => {
expect(wrapper.find('DevtoolsInspector').html()).toBeDefined();
expect(screen.getByTestId('inspector')).toBeDefined();
});
it('should contain an empty action list', () => {
render(
<Provider store={store}>
<App />
</Provider>
);
const actionList = screen.getByTestId('actionList');
expect(
wrapper
.find('ActionList')
.findWhere((n) => {
const { className } = n.props();
return className && className.startsWith('actionListRows-');
})
.html()
).toMatch(/<div class="actionListRows-\d-\d-\d+"><\/div>/);
within(actionList).getByTestId('actionListRows')
).toBeEmptyDOMElement();
});
});

View File

@ -1,4 +1 @@
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
import '@testing-library/jest-dom';

View File

@ -140,6 +140,7 @@ export default class ActionList<
return (
<div
key="actionList"
data-testid="actionList"
{...styling(
['actionList', isWideLayout && 'actionListWide'],
isWideLayout
@ -154,7 +155,11 @@ export default class ActionList<
hasSkippedActions={skippedActionIds.length > 0}
hasStagedActions={actionIds.length > 1}
/>
<div {...styling('actionListRows')} ref={this.getRef}>
<div
data-testid="actionListRows"
{...styling('actionListRows')}
ref={this.getRef}
>
{filteredActionIds.map((actionId) => (
<ActionListRow
key={actionId}

View File

@ -312,6 +312,7 @@ class DevtoolsInspector<S, A extends Action<unknown>> extends PureComponent<
return (
<div
key="inspector"
data-testid="inspector"
ref={this.inspectorCreateRef}
{...styling(
['inspector', isWideLayout && 'inspectorWide'],

437
yarn.lock
View File

@ -4504,8 +4504,8 @@ __metadata:
"@redux-devtools/ui": ^1.0.0-9
"@reduxjs/toolkit": ^1.6.2
"@rjsf/core": ^3.2.0
"@types/enzyme": ^3.10.10
"@types/enzyme-adapter-react-16": ^1.0.6
"@testing-library/jest-dom": ^5.14.1
"@testing-library/react": ^12.1.2
"@types/jest": ^27.0.2
"@types/jsan": ^3.1.2
"@types/json-schema": ^7.0.9
@ -4517,6 +4517,7 @@ __metadata:
"@types/react-redux": ^7.1.20
"@types/socketcluster-client": ^13.0.5
"@types/styled-components": ^5.1.15
"@types/testing-library__jest-dom": ^5.14.1
"@types/webpack": ^5.28.0
"@types/webpack-dev-server": ^4.3.1
"@types/webpack-env": ^1.16.3
@ -4525,9 +4526,6 @@ __metadata:
babel-loader: ^8.2.3
css-loader: ^6.4.0
d3-state-visualizer: ^1.4.0
enzyme: ^3.11.0
enzyme-adapter-react-16: ^1.15.6
enzyme-to-json: ^3.6.2
eslint: ^7.32.0
eslint-config-prettier: ^8.3.0
eslint-plugin-jest: ^25.2.2
@ -6309,6 +6307,23 @@ __metadata:
languageName: node
linkType: hard
"@testing-library/jest-dom@npm:^5.14.1":
version: 5.14.1
resolution: "@testing-library/jest-dom@npm:5.14.1"
dependencies:
"@babel/runtime": ^7.9.2
"@types/testing-library__jest-dom": ^5.9.1
aria-query: ^4.2.2
chalk: ^3.0.0
css: ^3.0.0
css.escape: ^1.5.1
dom-accessibility-api: ^0.5.6
lodash: ^4.17.15
redent: ^3.0.0
checksum: eeba37ba10be550bd9ab7dd0dda77d9011a96d9a4f75c70ed57d7bf120fe4126b251ccfb1444da1746c19773bbe4efbd96a0408f970d98c9cd1d399b2455d2c1
languageName: node
linkType: hard
"@testing-library/react@npm:^12.1.2":
version: 12.1.2
resolution: "@testing-library/react@npm:12.1.2"
@ -6498,15 +6513,6 @@ __metadata:
languageName: node
linkType: hard
"@types/cheerio@npm:*, @types/cheerio@npm:^0.22.22":
version: 0.22.30
resolution: "@types/cheerio@npm:0.22.30"
dependencies:
"@types/node": "*"
checksum: 2aba93f57c0c88964bd83c3403b1f9ad98c377d00e0d638417a943ab483f0a638925c9a4f2e25d923db2a293ffb59f833cd49fa76c6299684494633becea54de
languageName: node
linkType: hard
"@types/chrome@npm:^0.0.159":
version: 0.0.159
resolution: "@types/chrome@npm:0.0.159"
@ -6674,25 +6680,6 @@ __metadata:
languageName: node
linkType: hard
"@types/enzyme-adapter-react-16@npm:^1.0.6":
version: 1.0.6
resolution: "@types/enzyme-adapter-react-16@npm:1.0.6"
dependencies:
"@types/enzyme": "*"
checksum: d668ed5fbb7bf72e647f212ab60e2208f96b566a1782cbaa35cd0be3bfc27c5d075367517d341155d35dd21834271df7d74bbf49d1f878e0b7be2a9c0daa17a3
languageName: node
linkType: hard
"@types/enzyme@npm:*, @types/enzyme@npm:^3.10.10":
version: 3.10.10
resolution: "@types/enzyme@npm:3.10.10"
dependencies:
"@types/cheerio": "*"
"@types/react": "*"
checksum: e2393f87d6737d643789fb1a83c53c5cb6cb9eaebf1e1c8a3163d95f778f3741a9734fea47761a7648d9c778166ffd531f61c0aa4c5bf97b0d8018cacad05a49
languageName: node
linkType: hard
"@types/es6template@npm:^1.0.0":
version: 1.0.0
resolution: "@types/es6template@npm:1.0.0"
@ -6957,7 +6944,7 @@ __metadata:
languageName: node
linkType: hard
"@types/jest@npm:^27.0.2":
"@types/jest@npm:*, @types/jest@npm:^27.0.2":
version: 27.0.2
resolution: "@types/jest@npm:27.0.2"
dependencies:
@ -7638,6 +7625,15 @@ __metadata:
languageName: node
linkType: hard
"@types/testing-library__jest-dom@npm:^5.14.1, @types/testing-library__jest-dom@npm:^5.9.1":
version: 5.14.1
resolution: "@types/testing-library__jest-dom@npm:5.14.1"
dependencies:
"@types/jest": "*"
checksum: 77fe7ad3a9d49250972a0e3289b6d536942f95f0d539f32a917cf78c9422113d55c00de53b53dd4de1de49b68c8b500faea62e3017c4a64736cfbfbade749e04
languageName: node
linkType: hard
"@types/through@npm:*":
version: 0.0.30
resolution: "@types/through@npm:0.0.30"
@ -8521,25 +8517,6 @@ __metadata:
languageName: node
linkType: hard
"airbnb-prop-types@npm:^2.16.0":
version: 2.16.0
resolution: "airbnb-prop-types@npm:2.16.0"
dependencies:
array.prototype.find: ^2.1.1
function.prototype.name: ^1.1.2
is-regex: ^1.1.0
object-is: ^1.1.2
object.assign: ^4.1.0
object.entries: ^1.1.2
prop-types: ^15.7.2
prop-types-exact: ^1.2.0
react-is: ^16.13.1
peerDependencies:
react: ^0.14 || ^15.0.0 || ^16.0.0-alpha
checksum: 393a5988b99f122c4b935296a6b8c8cbd10345418d67d547cdbcd71d57636cb9abdf9d6556940f70d0b76c3f83448627376557a75b5faf570fb8d262ed4a472f
languageName: node
linkType: hard
"ajv-errors@npm:^1.0.0":
version: 1.0.1
resolution: "ajv-errors@npm:1.0.1"
@ -9235,31 +9212,7 @@ __metadata:
languageName: node
linkType: hard
"array.prototype.filter@npm:^1.0.0":
version: 1.0.1
resolution: "array.prototype.filter@npm:1.0.1"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.3
es-abstract: ^1.19.0
es-array-method-boxes-properly: ^1.0.0
is-string: ^1.0.7
checksum: 574b52dcebf2def7bedb05449b60e5e3819093fa77f88c3f87a9611361d2745c7aacde01cd3ed7accafd632ee1e0340b655dd26dc7c060429cb4566058e63134
languageName: node
linkType: hard
"array.prototype.find@npm:^2.1.1":
version: 2.1.2
resolution: "array.prototype.find@npm:2.1.2"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.3
es-abstract: ^1.19.0
checksum: fd3f56a9e075ede7bd1b4515b92b8a2f11e39dd612caf7ae8d097d21d293a6d680be2d7ac25a0a26f5dd44904ceb591630efde599ff95b76a8e29c4c299ed5a8
languageName: node
linkType: hard
"array.prototype.flat@npm:^1.2.1, array.prototype.flat@npm:^1.2.3, array.prototype.flat@npm:^1.2.5":
"array.prototype.flat@npm:^1.2.1, array.prototype.flat@npm:^1.2.5":
version: 1.2.5
resolution: "array.prototype.flat@npm:1.2.5"
dependencies:
@ -10917,34 +10870,6 @@ __metadata:
languageName: node
linkType: hard
"cheerio-select@npm:^1.5.0":
version: 1.5.0
resolution: "cheerio-select@npm:1.5.0"
dependencies:
css-select: ^4.1.3
css-what: ^5.0.1
domelementtype: ^2.2.0
domhandler: ^4.2.0
domutils: ^2.7.0
checksum: d4506d8b9ad330a18f9de3a5a22138d0804063e92aac2fc020384cc52ab86d2194d2ae614fc87f0e2a62b6a6dd0c28ad23669cec64331172a9f99ad604863010
languageName: node
linkType: hard
"cheerio@npm:^1.0.0-rc.3":
version: 1.0.0-rc.10
resolution: "cheerio@npm:1.0.0-rc.10"
dependencies:
cheerio-select: ^1.5.0
dom-serializer: ^1.3.2
domhandler: ^4.2.0
htmlparser2: ^6.1.0
parse5: ^6.0.1
parse5-htmlparser2-tree-adapter: ^6.0.1
tslib: ^2.2.0
checksum: ace2f9c5809737534b1320d11d48762013694fa905b4deacac81a634edac178c1b0534f79d7b1896a88ce489db6cb539f222317996b21c8b6923ce413dcc1a2f
languageName: node
linkType: hard
"chmodr@npm:~1.0.2":
version: 1.0.2
resolution: "chmodr@npm:1.0.2"
@ -12334,13 +12259,31 @@ __metadata:
languageName: node
linkType: hard
"css-what@npm:^5.0.0, css-what@npm:^5.0.1":
"css-what@npm:^5.0.0":
version: 5.1.0
resolution: "css-what@npm:5.1.0"
checksum: 0b75d1bac95c885c168573c85744a6c6843d8c33345f54f717218b37ea6296b0e99bb12105930ea170fd4a921990392a7c790c16c585c1d8960c49e2b7ec39f7
languageName: node
linkType: hard
"css.escape@npm:^1.5.1":
version: 1.5.1
resolution: "css.escape@npm:1.5.1"
checksum: f6d38088d870a961794a2580b2b2af1027731bb43261cfdce14f19238a88664b351cc8978abc20f06cc6bbde725699dec8deb6fe9816b139fc3f2af28719e774
languageName: node
linkType: hard
"css@npm:^3.0.0":
version: 3.0.0
resolution: "css@npm:3.0.0"
dependencies:
inherits: ^2.0.4
source-map: ^0.6.1
source-map-resolve: ^0.6.0
checksum: 4273ac816ddf99b99acb9c1d1a27d86d266a533cc01118369d941d8e8a78277a83cad3315e267a398c509d930fbb86504e193ea1ebc620a4a4212e06fe76e8be
languageName: node
linkType: hard
"cssesc@npm:^3.0.0":
version: 3.0.0
resolution: "cssesc@npm:3.0.0"
@ -13033,13 +12976,6 @@ __metadata:
languageName: node
linkType: hard
"discontinuous-range@npm:1.0.0":
version: 1.0.0
resolution: "discontinuous-range@npm:1.0.0"
checksum: 8ee88d7082445b6eadc7c03bebe6dc978f96760c45e9f65d16ca66174d9e086a9e3855ee16acf65625e1a07a846a17de674f02a5964a6aebe5963662baf8b5c8
languageName: node
linkType: hard
"dns-equal@npm:^1.0.0":
version: 1.0.0
resolution: "dns-equal@npm:1.0.0"
@ -13091,7 +13027,7 @@ __metadata:
languageName: node
linkType: hard
"dom-accessibility-api@npm:^0.5.9":
"dom-accessibility-api@npm:^0.5.6, dom-accessibility-api@npm:^0.5.9":
version: 0.5.9
resolution: "dom-accessibility-api@npm:0.5.9"
checksum: 3988bd1c58e115e972179b9ef881e65ab5da9c2e9d08f4e9646870301971fb0c72d0e0866559e0c06b91b9da6f1fed2f31f0fcbf0b6cffd959b01c0601da2c56
@ -13117,7 +13053,7 @@ __metadata:
languageName: node
linkType: hard
"dom-serializer@npm:^1.0.1, dom-serializer@npm:^1.3.2":
"dom-serializer@npm:^1.0.1":
version: 1.3.2
resolution: "dom-serializer@npm:1.3.2"
dependencies:
@ -13167,7 +13103,7 @@ __metadata:
languageName: node
linkType: hard
"domutils@npm:^2.5.2, domutils@npm:^2.6.0, domutils@npm:^2.7.0":
"domutils@npm:^2.5.2, domutils@npm:^2.6.0":
version: 2.8.0
resolution: "domutils@npm:2.8.0"
dependencies:
@ -13522,97 +13458,6 @@ __metadata:
languageName: node
linkType: hard
"enzyme-adapter-react-16@npm:^1.15.6":
version: 1.15.6
resolution: "enzyme-adapter-react-16@npm:1.15.6"
dependencies:
enzyme-adapter-utils: ^1.14.0
enzyme-shallow-equal: ^1.0.4
has: ^1.0.3
object.assign: ^4.1.2
object.values: ^1.1.2
prop-types: ^15.7.2
react-is: ^16.13.1
react-test-renderer: ^16.0.0-0
semver: ^5.7.0
peerDependencies:
enzyme: ^3.0.0
react: ^16.0.0-0
react-dom: ^16.0.0-0
checksum: b0f31037c7595558d504c060e19db542723789a41e0598b97345b89855cb03ac86a706440106ef5d4a6c95431e455ea0cad58ca5b287bdb771915b5c6210da84
languageName: node
linkType: hard
"enzyme-adapter-utils@npm:^1.14.0":
version: 1.14.0
resolution: "enzyme-adapter-utils@npm:1.14.0"
dependencies:
airbnb-prop-types: ^2.16.0
function.prototype.name: ^1.1.3
has: ^1.0.3
object.assign: ^4.1.2
object.fromentries: ^2.0.3
prop-types: ^15.7.2
semver: ^5.7.1
peerDependencies:
react: 0.13.x || 0.14.x || ^15.0.0-0 || ^16.0.0-0
checksum: a96a0a1bdf66417ff751e465c33733f58127b043013ec288429bc9113defa4f8ac23d806be4f3cf399cf23401cd3fdd88383ea146bc1d8f1e4258ecf35611c62
languageName: node
linkType: hard
"enzyme-shallow-equal@npm:^1.0.1, enzyme-shallow-equal@npm:^1.0.4":
version: 1.0.4
resolution: "enzyme-shallow-equal@npm:1.0.4"
dependencies:
has: ^1.0.3
object-is: ^1.1.2
checksum: 54bbad0955683f09252568bfcb9d7e934a27c06634057db9e82b54c0d9f7a27b6160d77643177d973c133b87d404f284cc6aa0481c0a1c81cdff05b072e2bb49
languageName: node
linkType: hard
"enzyme-to-json@npm:^3.6.2":
version: 3.6.2
resolution: "enzyme-to-json@npm:3.6.2"
dependencies:
"@types/cheerio": ^0.22.22
lodash: ^4.17.21
react-is: ^16.12.0
peerDependencies:
enzyme: ^3.4.0
checksum: e81f3dc05b5c440da416544a3cbc41fb9e79de0777453e48fe55de822f7d6f56ee08e5173d46a7624cf2781198396509c470bdd616a1ea441e6fa9ddf4396477
languageName: node
linkType: hard
"enzyme@npm:^3.11.0":
version: 3.11.0
resolution: "enzyme@npm:3.11.0"
dependencies:
array.prototype.flat: ^1.2.3
cheerio: ^1.0.0-rc.3
enzyme-shallow-equal: ^1.0.1
function.prototype.name: ^1.1.2
has: ^1.0.3
html-element-map: ^1.2.0
is-boolean-object: ^1.0.1
is-callable: ^1.1.5
is-number-object: ^1.0.4
is-regex: ^1.0.5
is-string: ^1.0.5
is-subset: ^0.1.1
lodash.escape: ^4.0.1
lodash.isequal: ^4.5.0
object-inspect: ^1.7.0
object-is: ^1.0.2
object.assign: ^4.1.0
object.entries: ^1.1.1
object.values: ^1.1.1
raf: ^3.4.1
rst-selector-parser: ^2.2.3
string.prototype.trim: ^1.2.1
checksum: 69ae80049c3f405122b8e619f1cf8b04f32b3cc2b6134c29ed8c0f05e87a0b15080f1121096ec211954a710f4787300af9157078c863012de87eee16e98e64ea
languageName: node
linkType: hard
"err-code@npm:^1.0.0":
version: 1.1.2
resolution: "err-code@npm:1.1.2"
@ -15300,7 +15145,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"function.prototype.name@npm:^1.1.0, function.prototype.name@npm:^1.1.2, function.prototype.name@npm:^1.1.3":
"function.prototype.name@npm:^1.1.0":
version: 1.1.5
resolution: "function.prototype.name@npm:1.1.5"
dependencies:
@ -16502,16 +16347,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"html-element-map@npm:^1.2.0":
version: 1.3.1
resolution: "html-element-map@npm:1.3.1"
dependencies:
array.prototype.filter: ^1.0.0
call-bind: ^1.0.2
checksum: 7408da008d37bfa76b597e298ae0ed530258065deb29fbd73d40f7cbd123b654d1022a7a8cfbe713e57d90c5bef844399f5c8a46cde7d55c91d305024c921d08
languageName: node
linkType: hard
"html-encoding-sniffer@npm:^2.0.1":
version: 2.0.1
resolution: "html-encoding-sniffer@npm:2.0.1"
@ -17385,7 +17220,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"is-boolean-object@npm:^1.0.1, is-boolean-object@npm:^1.1.0":
"is-boolean-object@npm:^1.1.0":
version: 1.1.2
resolution: "is-boolean-object@npm:1.1.2"
dependencies:
@ -17418,7 +17253,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.1.5, is-callable@npm:^1.2.4":
"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.4":
version: 1.2.4
resolution: "is-callable@npm:1.2.4"
checksum: 1a28d57dc435797dae04b173b65d6d1e77d4f16276e9eff973f994eadcfdc30a017e6a597f092752a083c1103cceb56c91e3dadc6692fedb9898dfaba701575f
@ -17834,7 +17669,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"is-regex@npm:^1.0.3, is-regex@npm:^1.0.4, is-regex@npm:^1.0.5, is-regex@npm:^1.1.0, is-regex@npm:^1.1.2, is-regex@npm:^1.1.4":
"is-regex@npm:^1.0.3, is-regex@npm:^1.0.4, is-regex@npm:^1.1.2, is-regex@npm:^1.1.4":
version: 1.1.4
resolution: "is-regex@npm:1.1.4"
dependencies:
@ -17920,13 +17755,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"is-subset@npm:^0.1.1":
version: 0.1.1
resolution: "is-subset@npm:0.1.1"
checksum: 97b8d7852af165269b7495095691a6ce6cf20bdfa1f846f97b4560ee190069686107af4e277fbd93aa0845c4d5db704391460ff6e9014aeb73264ba87893df44
languageName: node
linkType: hard
"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3":
version: 1.0.4
resolution: "is-symbol@npm:1.0.4"
@ -19841,13 +19669,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"lodash.escape@npm:^4.0.1":
version: 4.0.1
resolution: "lodash.escape@npm:4.0.1"
checksum: fcb54f457497256964d619d5cccbd80a961916fca60df3fe0fa3e7f052715c2944c0ed5aefb4f9e047d127d44aa2d55555f3350cb42c6549e9e293fb30b41e7f
languageName: node
linkType: hard
"lodash.flatten@npm:^4.4.0":
version: 4.4.0
resolution: "lodash.flatten@npm:4.4.0"
@ -19855,13 +19676,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"lodash.flattendeep@npm:^4.4.0":
version: 4.4.0
resolution: "lodash.flattendeep@npm:4.4.0"
checksum: 8521c919acac3d4bcf0aaf040c1ca9cb35d6c617e2d72e9b4d51c9a58b4366622cd6077441a18be626c3f7b28227502b3bf042903d447b056ee7e0b11d45c722
languageName: node
linkType: hard
"lodash.includes@npm:^4.3.0":
version: 4.3.0
resolution: "lodash.includes@npm:4.3.0"
@ -19876,13 +19690,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"lodash.isequal@npm:^4.5.0":
version: 4.5.0
resolution: "lodash.isequal@npm:4.5.0"
checksum: da27515dc5230eb1140ba65ff8de3613649620e8656b19a6270afe4866b7bd461d9ba2ac8a48dcc57f7adac4ee80e1de9f965d89d4d81a0ad52bb3eec2609644
languageName: node
linkType: hard
"lodash.isequalwith@npm:^4.4.0":
version: 4.4.0
resolution: "lodash.isequalwith@npm:4.4.0"
@ -21003,13 +20810,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"moo@npm:^0.5.0":
version: 0.5.1
resolution: "moo@npm:0.5.1"
checksum: 2d8c013f1f9aad8e5c7a9d4a03dbb4eecd91b9fe5e9446fbc7561fd38d4d161c742434acff385722542fe7b360fce9c586da62442379e62e4158ad49c7e1a6b7
languageName: node
linkType: hard
"morgan@npm:^1.10.0":
version: 1.10.0
resolution: "morgan@npm:1.10.0"
@ -21212,23 +21012,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"nearley@npm:^2.7.10":
version: 2.20.1
resolution: "nearley@npm:2.20.1"
dependencies:
commander: ^2.19.0
moo: ^0.5.0
railroad-diagrams: ^1.0.0
randexp: 0.4.6
bin:
nearley-railroad: bin/nearley-railroad.js
nearley-test: bin/nearley-test.js
nearley-unparse: bin/nearley-unparse.js
nearleyc: bin/nearleyc.js
checksum: 42c2c330c13c7991b48221c5df00f4352c2f8851636ae4d1f8ca3c8e193fc1b7668c78011d1cad88cca4c1c4dc087425420629c19cc286d7598ec15533aaef26
languageName: node
linkType: hard
"needle@npm:^2.2.1":
version: 2.9.1
resolution: "needle@npm:2.9.1"
@ -22250,14 +22033,14 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"object-inspect@npm:^1.11.0, object-inspect@npm:^1.7.0, object-inspect@npm:^1.9.0":
"object-inspect@npm:^1.11.0, object-inspect@npm:^1.9.0":
version: 1.11.0
resolution: "object-inspect@npm:1.11.0"
checksum: 8c64f89ce3a7b96b6925879ad5f6af71d498abc217e136660efecd97452991216f375a7eb47cb1cb50643df939bf0c7cc391567b7abc6a924d04679705e58e27
languageName: node
linkType: hard
"object-is@npm:^1.0.1, object-is@npm:^1.0.2, object-is@npm:^1.1.2":
"object-is@npm:^1.0.1":
version: 1.1.5
resolution: "object-is@npm:1.1.5"
dependencies:
@ -22314,7 +22097,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"object.entries@npm:^1.1.0, object.entries@npm:^1.1.1, object.entries@npm:^1.1.2, object.entries@npm:^1.1.4":
"object.entries@npm:^1.1.0, object.entries@npm:^1.1.2, object.entries@npm:^1.1.4":
version: 1.1.5
resolution: "object.entries@npm:1.1.5"
dependencies:
@ -22325,7 +22108,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"object.fromentries@npm:^2.0.0 || ^1.0.0, object.fromentries@npm:^2.0.3, object.fromentries@npm:^2.0.4":
"object.fromentries@npm:^2.0.0 || ^1.0.0, object.fromentries@npm:^2.0.4":
version: 2.0.5
resolution: "object.fromentries@npm:2.0.5"
dependencies:
@ -22376,7 +22159,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"object.values@npm:^1.1.0, object.values@npm:^1.1.1, object.values@npm:^1.1.2, object.values@npm:^1.1.4, object.values@npm:^1.1.5":
"object.values@npm:^1.1.0, object.values@npm:^1.1.4, object.values@npm:^1.1.5":
version: 1.1.5
resolution: "object.values@npm:1.1.5"
dependencies:
@ -22981,15 +22764,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"parse5-htmlparser2-tree-adapter@npm:^6.0.1":
version: 6.0.1
resolution: "parse5-htmlparser2-tree-adapter@npm:6.0.1"
dependencies:
parse5: ^6.0.1
checksum: 1848378b355d027915645c13f13f982e60502d201f53bc2067a508bf2dba4aac08219fc781dcd160167f5f50f0c73f58d20fa4fb3d90ee46762c20234fa90a6d
languageName: node
linkType: hard
"parse5@npm:6.0.1, parse5@npm:^6.0.0, parse5@npm:^6.0.1":
version: 6.0.1
resolution: "parse5@npm:6.0.1"
@ -23755,17 +23529,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"prop-types-exact@npm:^1.2.0":
version: 1.2.0
resolution: "prop-types-exact@npm:1.2.0"
dependencies:
has: ^1.0.3
object.assign: ^4.1.0
reflect.ownkeys: ^0.2.0
checksum: 21676a16d5b2623c345ca938554faba7bf29c6ad589eac3f490eda2207bcfd8d25cb3dfda5e5f8e6805239aabd2c6943f7bfbe726a1de708bae2b7a01c03eead
languageName: node
linkType: hard
"prop-types-extra@npm:^1.1.0":
version: 1.1.1
resolution: "prop-types-extra@npm:1.1.1"
@ -24172,22 +23935,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"raf@npm:^3.4.1":
version: 3.4.1
resolution: "raf@npm:3.4.1"
dependencies:
performance-now: ^2.1.0
checksum: 50ba284e481c8185dbcf45fc4618ba3aec580bb50c9121385d5698cb6012fe516d2015b1df6dd407a7b7c58d44be8086108236affbce1861edd6b44637c8cd52
languageName: node
linkType: hard
"railroad-diagrams@npm:^1.0.0":
version: 1.0.0
resolution: "railroad-diagrams@npm:1.0.0"
checksum: 9e312af352b5ed89c2118edc0c06cef2cc039681817f65266719606e4e91ff6ae5374c707cc9033fe29a82c2703edf3c63471664f97f0167c85daf6f93496319
languageName: node
linkType: hard
"ramda@npm:^0.21.0":
version: 0.21.0
resolution: "ramda@npm:0.21.0"
@ -24202,16 +23949,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"randexp@npm:0.4.6":
version: 0.4.6
resolution: "randexp@npm:0.4.6"
dependencies:
discontinuous-range: 1.0.0
ret: ~0.1.10
checksum: 3c0d440a3f89d6d36844aa4dd57b5cdb0cab938a41956a16da743d3a3578ab32538fc41c16cc0984b6938f2ae4cbc0216967e9829e52191f70e32690d8e3445d
languageName: node
linkType: hard
"randombytes@npm:^2.0.0, randombytes@npm:^2.0.1, randombytes@npm:^2.0.5, randombytes@npm:^2.1.0":
version: 2.1.0
resolution: "randombytes@npm:2.1.0"
@ -24620,7 +24357,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"react-is@npm:^16.12.0, react-is@npm:^16.13.1, react-is@npm:^16.3.2, react-is@npm:^16.6.0, react-is@npm:^16.7.0, react-is@npm:^16.8.1, react-is@npm:^16.8.6, react-is@npm:^16.9.0":
"react-is@npm:^16.13.1, react-is@npm:^16.3.2, react-is@npm:^16.6.0, react-is@npm:^16.7.0, react-is@npm:^16.8.1, react-is@npm:^16.8.6, react-is@npm:^16.9.0":
version: 16.13.1
resolution: "react-is@npm:16.13.1"
checksum: f7a19ac3496de32ca9ae12aa030f00f14a3d45374f1ceca0af707c831b2a6098ef0d6bdae51bd437b0a306d7f01d4677fcc8de7c0d331eb47ad0f46130e53c5f
@ -24906,7 +24643,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"react-test-renderer@npm:^16.0.0-0, react-test-renderer@npm:^16.14.0":
"react-test-renderer@npm:^16.14.0":
version: 16.14.0
resolution: "react-test-renderer@npm:16.14.0"
dependencies:
@ -25355,13 +25092,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"reflect.ownkeys@npm:^0.2.0":
version: 0.2.0
resolution: "reflect.ownkeys@npm:0.2.0"
checksum: 9530b166569e547c2cf25ade3cdc39c662212feeccf3e0ed46e6d8abf92f5683c82d7857011cee6230bf648eb0b99b6b419a007012b8571dcd4bb4d818d3b88d
languageName: node
linkType: hard
"refractor@npm:^3.1.0":
version: 3.5.0
resolution: "refractor@npm:3.5.0"
@ -25594,6 +25324,8 @@ fsevents@^1.2.7:
"@redux-devtools/slider-monitor": ^2.0.0-8
"@redux-devtools/ui": ^1.0.0-9
"@redux-devtools/utils": ^1.0.0-6
"@testing-library/jest-dom": ^5.14.1
"@testing-library/react": ^12.1.2
"@types/chrome": ^0.0.159
"@types/jsan": ^3.1.2
"@types/lodash": ^4.14.176
@ -25608,8 +25340,6 @@ fsevents@^1.2.7:
cross-env: ^7.0.3
css-loader: ^6.4.0
electron: ^15.3.0
enzyme: ^3.11.0
enzyme-adapter-react-16: ^1.15.6
eslint: ^7.32.0
eslint-config-airbnb: ^18.2.1
eslint-plugin-import: ^2.25.2
@ -26050,16 +25780,6 @@ resolve@^2.0.0-next.3:
languageName: unknown
linkType: soft
"rst-selector-parser@npm:^2.2.3":
version: 2.2.3
resolution: "rst-selector-parser@npm:2.2.3"
dependencies:
lodash.flattendeep: ^4.4.0
nearley: ^2.7.10
checksum: fbfb2f6a7d4c9b3e013ef555ac06e5dba444e0d37dc959b94c507b6c34093ef10fe98141338d9cac58e5ae0f9453a5ef7f85af3d5e6386b237c1b3552debe4a0
languageName: node
linkType: hard
"rsvp@npm:^4.8.4":
version: 4.8.5
resolution: "rsvp@npm:4.8.5"
@ -26431,7 +26151,7 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"semver@npm:2 >=2.2.1 || 3.x || 4 || 5, semver@npm:2 || 3 || 4 || 5, semver@npm:2.x || 3.x || 4 || 5, semver@npm:4 || 5, semver@npm:^2.3.0 || 3.x || 4 || 5, semver@npm:^5.0.3, semver@npm:^5.1.0, semver@npm:^5.3.0, semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.6.0, semver@npm:^5.7.0, semver@npm:^5.7.1":
"semver@npm:2 >=2.2.1 || 3.x || 4 || 5, semver@npm:2 || 3 || 4 || 5, semver@npm:2.x || 3.x || 4 || 5, semver@npm:4 || 5, semver@npm:^2.3.0 || 3.x || 4 || 5, semver@npm:^5.0.3, semver@npm:^5.1.0, semver@npm:^5.3.0, semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.6.0, semver@npm:^5.7.1":
version: 5.7.1
resolution: "semver@npm:5.7.1"
bin:
@ -27136,6 +26856,16 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"source-map-resolve@npm:^0.6.0":
version: 0.6.0
resolution: "source-map-resolve@npm:0.6.0"
dependencies:
atob: ^2.1.2
decode-uri-component: ^0.2.0
checksum: fe503b9e5dac1c54be835282fcfec10879434e7b3ee08a9774f230299c724a8d403484d9531276d1670c87390e0e4d1d3f92b14cca6e4a2445ea3016b786ecd4
languageName: node
linkType: hard
"source-map-support@npm:^0.5.16, source-map-support@npm:^0.5.6, source-map-support@npm:~0.5.12, source-map-support@npm:~0.5.20":
version: 0.5.20
resolution: "source-map-support@npm:0.5.20"
@ -27619,17 +27349,6 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"string.prototype.trim@npm:^1.2.1":
version: 1.2.5
resolution: "string.prototype.trim@npm:1.2.5"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.3
es-abstract: ^1.19.1
checksum: d9f748ffca2a3ce722c421f7c2993b6490ec0cf19d9cb0904598c744e9367e54a3f13c7b99c8c0966c8a76484bd656a60281daa5d0534cc222cd72193fd63034
languageName: node
linkType: hard
"string.prototype.trimend@npm:^1.0.4":
version: 1.0.4
resolution: "string.prototype.trimend@npm:1.0.4"
@ -28925,7 +28644,7 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0":
"tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0":
version: 2.3.1
resolution: "tslib@npm:2.3.1"
checksum: de17a98d4614481f7fcb5cd53ffc1aaf8654313be0291e1bfaee4b4bb31a20494b7d218ff2e15017883e8ea9626599b3b0e0229c18383ba9dce89da2adf15cb9