fix(deps): update all non-major dependencies (#967)

* fix(deps): update all non-major dependencies

* Changes

* Downgrade msw for now

* Move into own group

* Ignore no-unused-vars

* Disable both

* Just the one

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
This commit is contained in:
renovate[bot] 2021-12-04 19:04:59 +00:00 committed by GitHub
parent dc969c14e6
commit 34ffeb60b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
44 changed files with 2144 additions and 1627 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
yarnPath: .yarn/releases/yarn-3.1.0.cjs yarnPath: .yarn/releases/yarn-3.1.1.cjs
packageExtensions: packageExtensions:
'http-proxy-middleware@^2.0.0': 'http-proxy-middleware@^2.0.0':
@ -39,9 +39,9 @@ packageExtensions:
'@chakra-ui/accordion@^1.3.6': '@chakra-ui/accordion@^1.3.6':
peerDependencies: peerDependencies:
'framer-motion': '3.x || 4.x || 5.x' 'framer-motion': '3.x || 4.x || 5.x'
'@mswjs/data@^0.8.0': '@mswjs/data@*':
dependencies: dependencies:
'debug': '^4.3.2' 'debug': '^4.3.2'
'msw@^0.35.0': 'msw@*':
dependencies: dependencies:
'debug': '^4.3.2' 'debug': '^4.3.2'

View File

@ -62,14 +62,14 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@babel/register": "^7.16.0", "@babel/register": "^7.16.0",
"@testing-library/jest-dom": "^5.15.0", "@testing-library/jest-dom": "^5.16.0",
"@testing-library/react": "^12.1.2", "@testing-library/react": "^12.1.2",
"@types/chrome": "^0.0.164", "@types/chrome": "^0.0.166",
"@types/lodash": "^4.14.177", "@types/lodash": "^4.14.177",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@types/styled-components": "^5.1.15", "@types/styled-components": "^5.1.16",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"bestzip": "^2.2.0", "bestzip": "^2.2.0",
"chromedriver": "^96.0.0", "chromedriver": "^96.0.0",
@ -77,29 +77,29 @@
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"css-loader": "^6.5.1", "css-loader": "^6.5.1",
"electron": "^16.0.4", "electron": "^16.0.4",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-airbnb": "^19.0.0", "eslint-config-airbnb": "^19.0.2",
"eslint-plugin-import": "^2.25.3", "eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"gitbook-cli": "^2.3.2", "gitbook-cli": "^2.3.2",
"immutable": "^4.0.0", "immutable": "^4.0.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
"pug-html-loader": "^1.1.5", "pug-html-loader": "^1.1.5",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"react-transform-catch-errors": "^1.0.2", "react-transform-catch-errors": "^1.0.2",
"react-transform-hmr": "^1.0.4", "react-transform-hmr": "^1.0.4",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"selenium-webdriver": "^4.0.0", "selenium-webdriver": "^4.1.0",
"sinon-chrome": "^3.0.1", "sinon-chrome": "^3.0.1",
"style-loader": "^3.3.1", "style-loader": "^3.3.1",
"ts-jest": "^27.0.7", "ts-jest": "^27.0.7",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1" "webpack-cli": "^4.9.1"
} }
} }

View File

@ -1,16 +1,16 @@
{ {
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"lerna": "^4.0.0", "lerna": "^4.0.0",
"prettier": "2.4.1", "prettier": "2.5.0",
"typescript": "~4.4.4" "typescript": "~4.4.4"
}, },
"scripts": { "scripts": {
@ -36,5 +36,5 @@
"resolutions": { "resolutions": {
"@babel/highlight/chalk": "Methuselah96/chalk#head=v2-without-process" "@babel/highlight/chalk": "Methuselah96/chalk#head=v2-without-process"
}, },
"packageManager": "yarn@3.1.0" "packageManager": "yarn@3.1.1"
} }

View File

@ -32,20 +32,20 @@
"@babel/core": "^7.16.0", "@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4", "@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
} }
} }

View File

@ -51,18 +51,18 @@
"@babel/core": "^7.16.0", "@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4", "@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/ramda": "^0.27.50", "@types/ramda": "^0.27.58",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1" "webpack-cli": "^4.9.1"
} }
} }

View File

@ -44,19 +44,19 @@
"@babel/preset-env": "^7.16.4", "@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/d3": "^3.5.46", "@types/d3": "^3.5.46",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/ramda": "^0.27.50", "@types/ramda": "^0.27.58",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"d3": "^3.5.17", "d3": "^3.5.17",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1" "webpack-cli": "^4.9.1"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -49,21 +49,21 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/lodash": "^4.14.177", "@types/lodash": "^4.14.177",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"immutable": "^4.0.0", "immutable": "^4.0.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "^27.0.7", "ts-jest": "^27.0.7",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1" "webpack-cli": "^4.9.1"
} }
} }

View File

@ -51,12 +51,12 @@
"@types/color": "^3.0.2", "@types/color": "^3.0.2",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/lodash.curry": "^4.1.6", "@types/lodash.curry": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "^27.0.7", "ts-jest": "^27.0.7",
"typescript": "~4.4.4" "typescript": "~4.4.4"

View File

@ -11,7 +11,7 @@
}, },
"dependencies": { "dependencies": {
"react": "^17.0.2", "react": "^17.0.2",
"react-bootstrap": "^2.0.2", "react-bootstrap": "^2.0.3",
"react-dock": "^0.4.1", "react-dock": "^0.4.1",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-icons": "^4.3.1", "react-icons": "^4.3.1",
@ -23,25 +23,25 @@
"@babel/preset-env": "^7.16.4", "@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/styled-components": "^5.1.15", "@types/styled-components": "^5.1.16",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
} }
} }

View File

@ -49,16 +49,16 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/lodash.debounce": "^4.0.6", "@types/lodash.debounce": "^4.0.6",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-test-renderer": "^17.0.1", "@types/react-test-renderer": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-test-renderer": "^17.0.2", "react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",

View File

@ -30,24 +30,24 @@
"@babel/preset-env": "^7.16.4", "@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
} }
} }

View File

@ -54,26 +54,26 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-test-renderer": "^17.0.1", "@types/react-test-renderer": "^17.0.1",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-test-renderer": "^17.0.2", "react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "^27.0.7", "ts-jest": "^27.0.7",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1" "webpack-cli": "^4.9.1"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -67,36 +67,36 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@rjsf/core": "^3.2.1", "@rjsf/core": "^3.2.1",
"@testing-library/jest-dom": "^5.15.0", "@testing-library/jest-dom": "^5.16.0",
"@testing-library/react": "^12.1.2", "@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/jsan": "^3.1.2", "@types/jsan": "^3.1.2",
"@types/json-schema": "^7.0.9", "@types/json-schema": "^7.0.9",
"@types/lodash": "^4.14.177", "@types/lodash": "^4.14.177",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@types/socketcluster-client": "^13.0.5", "@types/socketcluster-client": "^13.0.5",
"@types/styled-components": "^5.1.15", "@types/styled-components": "^5.1.16",
"@types/testing-library__jest-dom": "^5.14.1", "@types/testing-library__jest-dom": "^5.14.2",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@types/webpack-env": "^1.16.3", "@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"css-loader": "^6.5.1", "css-loader": "^6.5.1",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-loader": "^3.0.1", "html-loader": "^3.0.1",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
@ -107,13 +107,13 @@
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"url-loader": "^4.1.1", "url-loader": "^4.1.1",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
}, },
"peerDependencies": { "peerDependencies": {
"@types/react": "^16.3.0 || ^17.0.0", "@types/react": "^16.3.0 || ^17.0.0",
"@types/styled-components": "^5.1.15", "@types/styled-components": "^5.1.16",
"react": "^16.3.0 || ^17.0.0", "react": "^16.3.0 || ^17.0.0",
"styled-components": "^5.3.3" "styled-components": "^5.3.3"
} }

View File

@ -50,10 +50,10 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@redux-devtools/core": "^3.9.1", "@redux-devtools/core": "^3.9.1",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",

View File

@ -41,7 +41,7 @@
}, },
"dependencies": { "dependencies": {
"@redux-devtools/app": "^1.0.0-9", "@redux-devtools/app": "^1.0.0-9",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"apollo-server-express": "^3.5.0", "apollo-server-express": "^3.5.0",
"body-parser": "^1.19.0", "body-parser": "^1.19.0",
"chalk": "^4.1.2", "chalk": "^4.1.2",
@ -78,15 +78,15 @@
"@types/socketcluster": "^14.0.4", "@types/socketcluster": "^14.0.4",
"@types/socketcluster-client": "^13.0.5", "@types/socketcluster-client": "^13.0.5",
"@types/socketcluster-server": "^14.2.6", "@types/socketcluster-server": "^14.2.6",
"@types/styled-components": "^5.1.15", "@types/styled-components": "^5.1.16",
"@types/supertest": "^2.0.11", "@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.3", "@types/uuid": "^8.3.3",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"ncp": "^2.0.0", "ncp": "^2.0.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"socketcluster-client": "^14.3.2", "socketcluster-client": "^14.3.2",

View File

@ -51,10 +51,10 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@redux-devtools/core": "^3.9.1", "@redux-devtools/core": "^3.9.1",
"@types/parse-key": "^0.2.0", "@types/parse-key": "^0.2.0",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",

View File

@ -30,9 +30,9 @@
"@babel/core": "^7.16.0", "@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4", "@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"redux": "^4.1.2", "redux": "^4.1.2",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",

View File

@ -15,7 +15,7 @@
"@redux-devtools/inspector-monitor": "^1.0.1", "@redux-devtools/inspector-monitor": "^1.0.1",
"@redux-devtools/inspector-monitor-test-tab": "^0.7.3", "@redux-devtools/inspector-monitor-test-tab": "^0.7.3",
"@redux-devtools/ui": "^1.0.0-10", "@redux-devtools/ui": "^1.0.0-10",
"connected-react-router": "^6.9.1", "connected-react-router": "^6.9.2",
"history": "^4.10.1", "history": "^4.10.1",
"immutable": "^4.0.0", "immutable": "^4.0.0",
"lodash.shuffle": "^4.2.0", "lodash.shuffle": "^4.2.0",
@ -33,29 +33,29 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/history": "^4.7.9", "@types/history": "^4.7.9",
"@types/lodash.shuffle": "^4.2.6", "@types/lodash.shuffle": "^4.2.6",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@types/react-router": "^5.1.17", "@types/react-router": "^5.1.17",
"@types/redux-logger": "^3.0.9", "@types/redux-logger": "^3.0.9",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"css-loader": "^6.5.1", "css-loader": "^6.5.1",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.1", "style-loader": "^3.3.1",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
} }
} }

View File

@ -65,16 +65,16 @@
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/jsan": "^3.1.2", "@types/jsan": "^3.1.2",
"@types/object-path": "^0.11.1", "@types/object-path": "^0.11.1",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/simple-diff": "^1.6.1", "@types/simple-diff": "^1.6.1",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"redux": "^4.1.2", "redux": "^4.1.2",

View File

@ -28,7 +28,7 @@
"dependencies": { "dependencies": {
"@babel/code-frame": "^7.16.0", "@babel/code-frame": "^7.16.0",
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@types/chrome": "^0.0.164", "@types/chrome": "^0.0.166",
"anser": "^2.1.0", "anser": "^2.1.0",
"html-entities": "^2.3.2", "html-entities": "^2.3.2",
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
@ -48,17 +48,17 @@
"@types/babel__code-frame": "^7.0.3", "@types/babel__code-frame": "^7.0.3",
"@types/html-entities": "^1.3.4", "@types/html-entities": "^1.3.4",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/redux-devtools-themes": "^1.0.0", "@types/redux-devtools-themes": "^1.0.0",
"@types/source-map": "0.5.2", "@types/source-map": "0.5.2",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2", "react-test-renderer": "^17.0.2",

View File

@ -14,12 +14,12 @@
"@redux-devtools/dock-monitor": "^1.4.1", "@redux-devtools/dock-monitor": "^1.4.1",
"@redux-devtools/inspector-monitor": "^1.0.1", "@redux-devtools/inspector-monitor": "^1.0.1",
"base16": "^1.0.0", "base16": "^1.0.0",
"connected-react-router": "^6.9.1", "connected-react-router": "^6.9.2",
"history": "^4.10.1", "history": "^4.10.1",
"immutable": "^4.0.0", "immutable": "^4.0.0",
"lodash.shuffle": "^4.2.0", "lodash.shuffle": "^4.2.0",
"react": "^17.0.2", "react": "^17.0.2",
"react-bootstrap": "^2.0.2", "react-bootstrap": "^2.0.3",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-redux": "^7.2.6", "react-redux": "^7.2.6",
"react-router": "^5.2.1", "react-router": "^5.2.1",
@ -34,27 +34,27 @@
"@types/base16": "^1.0.2", "@types/base16": "^1.0.2",
"@types/history": "^4.7.9", "@types/history": "^4.7.9",
"@types/lodash.shuffle": "^4.2.6", "@types/lodash.shuffle": "^4.2.6",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@types/react-router": "^5.1.17", "@types/react-router": "^5.1.17",
"@types/redux-logger": "^3.0.9", "@types/redux-logger": "^3.0.9",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
} }
} }

View File

@ -62,12 +62,12 @@
"@types/hex-rgba": "^1.0.1", "@types/hex-rgba": "^1.0.1",
"@types/history": "^4.7.9", "@types/history": "^4.7.9",
"@types/lodash.debounce": "^4.0.6", "@types/lodash.debounce": "^4.0.6",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dragula": "^1.1.0", "@types/react-dragula": "^1.1.0",
"@types/redux-devtools-themes": "^1.0.0", "@types/redux-devtools-themes": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",

View File

@ -13,56 +13,57 @@ interface Props<S, A extends Action<unknown>> {
onSelectTab: (tabName: string) => void; onSelectTab: (tabName: string) => void;
} }
const ActionPreviewHeader: FunctionComponent<Props<unknown, Action<unknown>>> = const ActionPreviewHeader: FunctionComponent<
({ styling, inspectedPath, onInspectPath, tabName, onSelectTab, tabs }) => ( Props<unknown, Action<unknown>>
<div key="previewHeader" {...styling('previewHeader')}> > = ({ styling, inspectedPath, onInspectPath, tabName, onSelectTab, tabs }) => (
<div {...styling('tabSelector')}> <div key="previewHeader" {...styling('previewHeader')}>
{tabs.map((tab) => ( <div {...styling('tabSelector')}>
<div {tabs.map((tab) => (
onClick={() => onSelectTab(tab.name)} <div
key={tab.name} onClick={() => onSelectTab(tab.name)}
{...styling( key={tab.name}
[ {...styling(
'selectorButton', [
tab.name === tabName && 'selectorButtonSelected', 'selectorButton',
], tab.name === tabName && 'selectorButtonSelected',
tab.name === tabName ],
)} tab.name === tabName
)}
>
{tab.name}
</div>
))}
</div>
<div {...styling('inspectedPath')}>
{inspectedPath.length ? (
<span {...styling('inspectedPathKey')}>
<a
onClick={() => onInspectPath([])}
{...styling('inspectedPathKeyLink')}
> >
{tab.name} {tabName}
</div> </a>
))} </span>
</div> ) : (
<div {...styling('inspectedPath')}> tabName
{inspectedPath.length ? ( )}
<span {...styling('inspectedPathKey')}> {inspectedPath.map((key, idx) =>
idx === inspectedPath.length - 1 ? (
<span key={key}>{key}</span>
) : (
<span key={key} {...styling('inspectedPathKey')}>
<a <a
onClick={() => onInspectPath([])} onClick={() => onInspectPath(inspectedPath.slice(0, idx + 1))}
{...styling('inspectedPathKeyLink')} {...styling('inspectedPathKeyLink')}
> >
{tabName} {key}
</a> </a>
</span> </span>
) : ( )
tabName )}
)}
{inspectedPath.map((key, idx) =>
idx === inspectedPath.length - 1 ? (
<span key={key}>{key}</span>
) : (
<span key={key} {...styling('inspectedPathKey')}>
<a
onClick={() => onInspectPath(inspectedPath.slice(0, idx + 1))}
{...styling('inspectedPathKeyLink')}
>
{key}
</a>
</span>
)
)}
</div>
</div> </div>
); </div>
);
ActionPreviewHeader.propTypes = { ActionPreviewHeader.propTypes = {
tabs: PropTypes.array.isRequired, tabs: PropTypes.array.isRequired,

View File

@ -4,28 +4,29 @@ import JSONDiff from './JSONDiff';
import { TabComponentProps } from '../ActionPreview'; import { TabComponentProps } from '../ActionPreview';
import { Action } from 'redux'; import { Action } from 'redux';
const DiffTab: FunctionComponent<TabComponentProps<unknown, Action<unknown>>> = const DiffTab: FunctionComponent<
({ TabComponentProps<unknown, Action<unknown>>
delta, > = ({
styling, delta,
base16Theme, styling,
invertTheme, base16Theme,
labelRenderer, invertTheme,
isWideLayout, labelRenderer,
dataTypeKey, isWideLayout,
}) => ( dataTypeKey,
<JSONDiff }) => (
{...{ <JSONDiff
delta, {...{
styling, delta,
base16Theme, styling,
invertTheme, base16Theme,
labelRenderer, invertTheme,
isWideLayout, labelRenderer,
dataTypeKey, isWideLayout,
}} dataTypeKey,
/> }}
); />
);
DiffTab.propTypes = { DiffTab.propTypes = {
delta: PropTypes.any, delta: PropTypes.any,

View File

@ -47,13 +47,13 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/lodash": "^4.14.177", "@types/lodash": "^4.14.177",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"redux": "^4.1.2", "redux": "^4.1.2",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"rxjs": "^7.4.0", "rxjs": "^7.4.0",

View File

@ -53,10 +53,10 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@redux-devtools/core": "^3.9.1", "@redux-devtools/core": "^3.9.1",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",

View File

@ -53,9 +53,9 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/jsan": "^3.1.2", "@types/jsan": "^3.1.2",
"@types/socketcluster-client": "^13.0.5", "@types/socketcluster-client": "^13.0.5",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"redux": "^4.1.2", "redux": "^4.1.2",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",

View File

@ -12,14 +12,14 @@
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@chakra-ui/react": "^1.7.2", "@chakra-ui/react": "^1.7.2",
"@emotion/react": "^11.6.0", "@emotion/react": "^11.7.0",
"@emotion/styled": "^11.6.0", "@emotion/styled": "^11.6.0",
"@mswjs/data": "^0.8.0", "@mswjs/data": "^0.8.3",
"@redux-devtools/core": "^3.9.1", "@redux-devtools/core": "^3.9.1",
"@redux-devtools/dock-monitor": "^1.4.1", "@redux-devtools/dock-monitor": "^1.4.1",
"@redux-devtools/rtk-query-monitor": "^1.0.1", "@redux-devtools/rtk-query-monitor": "^1.0.1",
"@reduxjs/toolkit": "^1.6.2", "@reduxjs/toolkit": "^1.6.2",
"framer-motion": "^5.3.1", "framer-motion": "^5.3.3",
"msw": "^0.35.0", "msw": "^0.35.0",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
@ -34,30 +34,30 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/copy-webpack-plugin": "^8.0.1", "@types/copy-webpack-plugin": "^8.0.1",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@types/react-router-dom": "^5.3.2", "@types/react-router-dom": "^5.3.2",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"copy-webpack-plugin": "^9.1.0", "copy-webpack-plugin": "^9.1.0",
"css-loader": "^6.5.1", "css-loader": "^6.5.1",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.1", "style-loader": "^3.3.1",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
}, },
"msw": { "msw": {
"workerDirectory": "public" "workerDirectory": "public"

View File

@ -63,10 +63,10 @@
"@reduxjs/toolkit": "^1.6.2", "@reduxjs/toolkit": "^1.6.2",
"@types/hex-rgba": "^1.0.1", "@types/hex-rgba": "^1.0.1",
"@types/lodash.debounce": "^4.0.6", "@types/lodash.debounce": "^4.0.6",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",

View File

@ -200,17 +200,19 @@ export function createInspectorSelectors<S>(): InspectorSelectors<S> {
} }
); );
const selectApiOfCurrentQuery: InspectorSelector<S, null | RtkQueryApiState> = const selectApiOfCurrentQuery: InspectorSelector<
(selectorsSource: SelectorsSource<S>) => { S,
const apiStates = selectApiStates(selectorsSource); null | RtkQueryApiState
const currentQueryInfo = selectCurrentQueryInfo(selectorsSource); > = (selectorsSource: SelectorsSource<S>) => {
const apiStates = selectApiStates(selectorsSource);
const currentQueryInfo = selectCurrentQueryInfo(selectorsSource);
if (!apiStates || !currentQueryInfo) { if (!apiStates || !currentQueryInfo) {
return null; return null;
} }
return apiStates[currentQueryInfo.reducerPath] ?? null; return apiStates[currentQueryInfo.reducerPath] ?? null;
}; };
const selectProvidedOfCurrentQuery: InspectorSelector< const selectProvidedOfCurrentQuery: InspectorSelector<
S, S,

View File

@ -39,13 +39,13 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/jsan": "^3.1.2", "@types/jsan": "^3.1.2",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"immutable": "^4.0.0", "immutable": "^4.0.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "^27.0.7", "ts-jest": "^27.0.7",
"typescript": "~4.4.4" "typescript": "~4.4.4"

View File

@ -33,28 +33,28 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/classnames": "^2.3.1", "@types/classnames": "^2.3.1",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/prop-types": "^15.7.4", "@types/prop-types": "^15.7.4",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"css-loader": "^6.5.1", "css-loader": "^6.5.1",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.1", "style-loader": "^3.3.1",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
} }
} }

View File

@ -42,10 +42,10 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@redux-devtools/core": "^3.9.1", "@redux-devtools/core": "^3.9.1",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",

View File

@ -56,25 +56,25 @@
"@babel/preset-env": "^7.16.4", "@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@storybook/addon-essentials": "^6.3.12", "@storybook/addon-essentials": "^6.4.7",
"@storybook/react": "^6.3.12", "@storybook/react": "^6.4.7",
"@testing-library/dom": "^8.11.1", "@testing-library/dom": "^8.11.1",
"@testing-library/react": "^12.1.2", "@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0", "@testing-library/user-event": "^13.5.0",
"@types/color": "^3.0.2", "@types/color": "^3.0.2",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/styled-components": "^5.1.15", "@types/styled-components": "^5.1.16",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"csstype": "^3.0.10", "csstype": "^3.0.10",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-is": "^17.0.2", "react-is": "^17.0.2",
@ -87,11 +87,11 @@
"stylelint-processor-styled-components": "^1.10.0", "stylelint-processor-styled-components": "^1.10.0",
"ts-jest": "^27.0.7", "ts-jest": "^27.0.7",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2" "webpack": "^5.64.4"
}, },
"peerDependencies": { "peerDependencies": {
"@types/react": "^16.3.0 || ^17.0.0", "@types/react": "^16.3.0 || ^17.0.0",
"@types/styled-components": "^5.1.15", "@types/styled-components": "^5.1.16",
"react": "^16.3.0 || ^17.0.0", "react": "^16.3.0 || ^17.0.0",
"styled-components": "^5.3.3" "styled-components": "^5.3.3"
} }

View File

@ -11,17 +11,18 @@ interface ContainerFromThemeDataProps {
className?: string; className?: string;
} }
const ContainerFromThemeData: React.FunctionComponent<ContainerFromThemeDataProps> = const ContainerFromThemeData: React.FunctionComponent<
({ themeData, className, children }) => { ContainerFromThemeDataProps
const theme = useTheme(themeData); > = ({ themeData, className, children }) => {
return ( const theme = useTheme(themeData);
<ThemeProvider theme={theme}> return (
<MainContainerWrapper className={className}> <ThemeProvider theme={theme}>
{children} <MainContainerWrapper className={className}>
</MainContainerWrapper> {children}
</ThemeProvider> </MainContainerWrapper>
); </ThemeProvider>
}; );
};
interface Props { interface Props {
children?: React.ReactNode; children?: React.ReactNode;

View File

@ -53,4 +53,4 @@ WithTabs.argTypes = {
foldGutter: { control: { disable: true } }, foldGutter: { control: { disable: true } },
autofocus: { control: { disable: true } }, autofocus: { control: { disable: true } },
onChange: { control: { disable: true } }, onChange: { control: { disable: true } },
}; } as any;

View File

@ -17,7 +17,8 @@ export default {
component: SegmentedControl, component: SegmentedControl,
}; };
const Template: Story<Omit<SegmentedControlProps, 'values'>> = (args) => ( // eslint-disable-next-line react/prop-types
const Template: Story<SegmentedControlProps> = ({ values, ...args }) => (
<Container> <Container>
<SegmentedControl values={['Button1', 'Button2', 'Button3']} {...args} /> <SegmentedControl values={['Button1', 'Button2', 'Button3']} {...args} />
</Container> </Container>

View File

@ -47,10 +47,10 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/jsan": "^3.1.2", "@types/jsan": "^3.1.2",
"@types/lodash": "^4.14.177", "@types/lodash": "^4.14.177",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "~4.4.4" "typescript": "~4.4.4"

View File

@ -27,34 +27,34 @@
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-redux": "^7.2.6", "react-redux": "^7.2.6",
"redux": "^4.1.2", "redux": "^4.1.2",
"redux-thunk": "^2.4.0" "redux-thunk": "^2.4.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.16.0", "@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4", "@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/prop-types": "^15.7.4", "@types/prop-types": "^15.7.4",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@types/webpack-env": "^1.16.3", "@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
} }
} }

View File

@ -48,28 +48,28 @@
"@babel/preset-react": "^7.16.0", "@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/classnames": "^2.3.1", "@types/classnames": "^2.3.1",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/prop-types": "^15.7.4", "@types/prop-types": "^15.7.4",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.5.0", "@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"css-loader": "^6.5.1", "css-loader": "^6.5.1",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0", "fork-ts-checker-webpack-plugin": "^6.5.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.1", "style-loader": "^3.3.1",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "~4.4.4", "typescript": "~4.4.4",
"webpack": "^5.64.2", "webpack": "^5.64.4",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0" "webpack-dev-server": "^4.6.0"
} }
} }

View File

@ -51,17 +51,17 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"@types/lodash": "^4.14.177", "@types/lodash": "^4.14.177",
"@types/node": "^16.11.9", "@types/node": "^16.11.11",
"@types/react": "^17.0.36", "@types/react": "^17.0.37",
"@types/react-redux": "^7.1.20", "@types/react-redux": "^7.1.20",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.3.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.4", "eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.3.1", "jest": "^27.4.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-redux": "^7.2.6", "react-redux": "^7.2.6",

View File

@ -21,6 +21,11 @@
"matchPackageNames": ["source-map"], "matchPackageNames": ["source-map"],
"matchUpdateTypes": ["major", "minor"], "matchUpdateTypes": ["major", "minor"],
"groupName": "source-map" "groupName": "source-map"
},
{
"matchPackageNames": ["msw"],
"matchUpdateTypes": ["major", "minor"],
"groupName": "msw"
} }
] ]
} }

2816
yarn.lock

File diff suppressed because it is too large Load Diff