mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 19:13:56 +03:00
chore(deps): update all non-major dependencies (#758)
* chore(deps): update all non-major dependencies * Prettify * Combine versions * Downgrade knex * Engine changes * Only LTS * Greater than * Combine lodash * Fix type * Fix type * Update snapshots Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
This commit is contained in:
parent
ec7f9117f6
commit
9a77585dd7
|
@ -46,20 +46,20 @@
|
||||||
"react-icons": "^3.11.0",
|
"react-icons": "^3.11.0",
|
||||||
"react-json-tree": "^0.15.0",
|
"react-json-tree": "^0.15.0",
|
||||||
"react-redux": "^7.2.4",
|
"react-redux": "^7.2.4",
|
||||||
"redux": "^4.1.0"
|
"redux": "^4.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/plugin-proposal-decorators": "^7.14.5",
|
"@babel/plugin-proposal-decorators": "^7.14.5",
|
||||||
"@babel/polyfill": "^7.12.1",
|
"@babel/polyfill": "^7.12.1",
|
||||||
"@babel/register": "^7.14.5",
|
"@babel/register": "^7.15.3",
|
||||||
"bestzip": "^2.2.0",
|
"bestzip": "^2.2.0",
|
||||||
"chromedriver": "^91.0.1",
|
"chromedriver": "^91.0.1",
|
||||||
"electron": "^13.1.2",
|
"electron": "^13.2.2",
|
||||||
"enzyme": "^3.11.0",
|
"enzyme": "^3.11.0",
|
||||||
"enzyme-adapter-react-16": "^1.15.6",
|
"enzyme-adapter-react-16": "^1.15.6",
|
||||||
"eslint": "^7.28.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-config-airbnb": "^18.2.1",
|
"eslint-config-airbnb": "^18.2.1",
|
||||||
"eslint-plugin-import": "^2.23.4",
|
"eslint-plugin-import": "^2.24.2",
|
||||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||||
"eslint-plugin-react": "^7.24.0",
|
"eslint-plugin-react": "^7.24.0",
|
||||||
"eslint-plugin-react-hooks": "^4.2.0",
|
"eslint-plugin-react-hooks": "^4.2.0",
|
||||||
|
|
33
package.json
33
package.json
|
@ -1,27 +1,27 @@
|
||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.14.5",
|
"@babel/cli": "^7.14.8",
|
||||||
"@babel/core": "^7.14.6",
|
"@babel/core": "^7.15.0",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
||||||
"@babel/plugin-transform-runtime": "^7.14.5",
|
"@babel/plugin-transform-runtime": "^7.15.0",
|
||||||
"@babel/preset-env": "^7.14.5",
|
"@babel/preset-env": "^7.15.0",
|
||||||
"@babel/preset-react": "^7.14.5",
|
"@babel/preset-react": "^7.14.5",
|
||||||
"@babel/preset-typescript": "^7.14.5",
|
"@babel/preset-typescript": "^7.15.0",
|
||||||
"@types/jest": "^26.0.23",
|
"@types/jest": "^26.0.24",
|
||||||
"@types/node": "^14.17.3",
|
"@types/node": "^14.17.12",
|
||||||
"@types/webpack": "^4.41.29",
|
"@types/webpack": "^4.41.30",
|
||||||
"@types/webpack-dev-server": "^3.11.4",
|
"@types/webpack-dev-server": "^3.11.6",
|
||||||
"@types/webpack-env": "^1.16.0",
|
"@types/webpack-env": "^1.16.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^3.10.1",
|
"@typescript-eslint/eslint-plugin": "^3.10.1",
|
||||||
"@typescript-eslint/parser": "^3.10.1",
|
"@typescript-eslint/parser": "^3.10.1",
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"babel-loader": "^8.2.2",
|
"babel-loader": "^8.2.2",
|
||||||
"clean-webpack-plugin": "^3.0.0",
|
"clean-webpack-plugin": "^3.0.0",
|
||||||
"copy-webpack-plugin": "^6.3.1",
|
"copy-webpack-plugin": "^6.4.1",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"css-loader": "^4.3.0",
|
"css-loader": "^4.3.0",
|
||||||
"eslint": "^7.28.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-config-prettier": "^6.15.0",
|
"eslint-config-prettier": "^6.15.0",
|
||||||
"eslint-plugin-babel": "^5.3.1",
|
"eslint-plugin-babel": "^5.3.1",
|
||||||
"eslint-plugin-jest": "^23.20.0",
|
"eslint-plugin-jest": "^23.20.0",
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
"html-webpack-plugin": "^4.5.2",
|
"html-webpack-plugin": "^4.5.2",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"lerna": "^3.22.1",
|
"lerna": "^3.22.1",
|
||||||
"prettier": "^2.3.1",
|
"prettier": "^2.3.2",
|
||||||
"pug-html-loader": "^1.1.5",
|
"pug-html-loader": "^1.1.5",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
"stylelint-processor-styled-components": "^1.10.0",
|
"stylelint-processor-styled-components": "^1.10.0",
|
||||||
"ts-jest": "^26.5.6",
|
"ts-jest": "^26.5.6",
|
||||||
"ts-node": "^9.1.1",
|
"ts-node": "^9.1.1",
|
||||||
"typescript": "^4.3.4",
|
"typescript": "^4.3.5",
|
||||||
"url-loader": "^4.1.1",
|
"url-loader": "^4.1.1",
|
||||||
"webpack": "^4.46.0",
|
"webpack": "^4.46.0",
|
||||||
"webpack-cli": "^3.3.12",
|
"webpack-cli": "^3.3.12",
|
||||||
|
@ -70,8 +70,5 @@
|
||||||
"packages/redux-devtools/examples/counter",
|
"packages/redux-devtools/examples/counter",
|
||||||
"packages/redux-devtools/examples/todomvc",
|
"packages/redux-devtools/examples/todomvc",
|
||||||
"packages/redux-devtools-slider-monitor/examples/todomvc"
|
"packages/redux-devtools-slider-monitor/examples/todomvc"
|
||||||
],
|
]
|
||||||
"engines": {
|
|
||||||
"node": ">=10.13.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/d3": "^3.5.44",
|
"@types/d3": "^3.5.45",
|
||||||
"d3": "^3.5.17",
|
"d3": "^3.5.17",
|
||||||
"d3tooltip": "^1.3.0",
|
"d3tooltip": "^1.3.0",
|
||||||
"deepmerge": "^4.2.2",
|
"deepmerge": "^4.2.2",
|
||||||
|
@ -49,6 +49,6 @@
|
||||||
"ramda": "^0.27.1"
|
"ramda": "^0.27.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/ramda": "^0.27.40"
|
"@types/ramda": "^0.27.44"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,10 +41,10 @@
|
||||||
"ramda": "^0.27.1"
|
"ramda": "^0.27.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/ramda": "^0.27.40"
|
"@types/ramda": "^0.27.44"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@types/d3": "^3.5.43",
|
"@types/d3": "^3.5.45",
|
||||||
"d3": "^3.5.17"
|
"d3": "^3.5.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,26 +38,26 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@rjsf/core": "^2.5.1",
|
"@rjsf/core": "^2.5.1",
|
||||||
"@types/base16": "^1.0.2",
|
"@types/base16": "^1.0.2",
|
||||||
"@types/codemirror": "^0.0.97",
|
"@types/codemirror": "^0.0.109",
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"@types/react-select": "^3.1.2",
|
"@types/react-select": "^3.1.2",
|
||||||
"@types/redux-devtools-themes": "^1.0.0",
|
"@types/redux-devtools-themes": "^1.0.0",
|
||||||
"@types/simple-element-resize-detector": "^1.3.0",
|
"@types/simple-element-resize-detector": "^1.3.0",
|
||||||
"@types/styled-components": "^5.1.10",
|
"@types/styled-components": "^5.1.13",
|
||||||
"base16": "^1.0.0",
|
"base16": "^1.0.0",
|
||||||
"codemirror": "^5.61.1",
|
"codemirror": "^5.62.3",
|
||||||
"color": "^3.1.3",
|
"color": "^3.2.1",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react-icons": "^3.11.0",
|
"react-icons": "^3.11.0",
|
||||||
"react-select": "^3.2.0",
|
"react-select": "^3.2.0",
|
||||||
"redux-devtools-themes": "^1.0.0",
|
"redux-devtools-themes": "^1.0.0",
|
||||||
"simple-element-resize-detector": "^1.3.0",
|
"simple-element-resize-detector": "^1.3.0",
|
||||||
"styled-components": "^5.3.0"
|
"styled-components": "^5.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@storybook/addon-essentials": "^6.2.9",
|
"@storybook/addon-essentials": "^6.3.7",
|
||||||
"@storybook/react": "^6.2.9",
|
"@storybook/react": "^6.3.7",
|
||||||
"@types/enzyme": "^3.10.8",
|
"@types/enzyme": "^3.10.9",
|
||||||
"@types/enzyme-adapter-react-16": "^1.0.6",
|
"@types/enzyme-adapter-react-16": "^1.0.6",
|
||||||
"csstype": "^3.0.8",
|
"csstype": "^3.0.8",
|
||||||
"enzyme": "^3.11.0",
|
"enzyme": "^3.11.0",
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
exports[`Button renders correctly 1`] = `
|
exports[`Button renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi YTVoL"
|
class="sc-dlfnuX bpFXet"
|
||||||
>
|
>
|
||||||
Text
|
Text
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`Container renders correctly 1`] = `
|
exports[`Container renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-bdnxRM cJyPfD"
|
class="sc-bdfBQB SWUnk"
|
||||||
>
|
>
|
||||||
Text
|
Text
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`ContextMenu renders correctly 1`] = `
|
exports[`ContextMenu renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-jSFjdj hRVwnq"
|
class="sc-jSgvzq jsvxSn"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
value="Menu Item 1"
|
value="Menu Item 1"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`Dialog renders correctly 1`] = `
|
exports[`Dialog renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-pNWdM flJpeN"
|
class="sc-pGacB cQhcnT"
|
||||||
>
|
>
|
||||||
<div />
|
<div />
|
||||||
<div>
|
<div>
|
||||||
|
@ -21,19 +21,19 @@ exports[`Dialog renders correctly 1`] = `
|
||||||
class="mc-dialog--footer"
|
class="mc-dialog--footer"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi YTVoL"
|
class="sc-dlfnuX bpFXet"
|
||||||
>
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi erIiXz"
|
class="sc-dlfnuX eIIxFx"
|
||||||
>
|
>
|
||||||
Submit
|
Submit
|
||||||
</button>
|
</button>
|
||||||
|
@ -45,7 +45,7 @@ exports[`Dialog renders correctly 1`] = `
|
||||||
|
|
||||||
exports[`Dialog renders modal 1`] = `
|
exports[`Dialog renders modal 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-pNWdM flJpeN"
|
class="sc-pGacB cQhcnT"
|
||||||
>
|
>
|
||||||
<div />
|
<div />
|
||||||
<div>
|
<div>
|
||||||
|
@ -61,19 +61,19 @@ exports[`Dialog renders modal 1`] = `
|
||||||
class="mc-dialog--footer"
|
class="mc-dialog--footer"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi YTVoL"
|
class="sc-dlfnuX bpFXet"
|
||||||
>
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi erIiXz"
|
class="sc-dlfnuX eIIxFx"
|
||||||
>
|
>
|
||||||
Submit
|
Submit
|
||||||
</button>
|
</button>
|
||||||
|
@ -85,7 +85,7 @@ exports[`Dialog renders modal 1`] = `
|
||||||
|
|
||||||
exports[`Dialog renders with props 1`] = `
|
exports[`Dialog renders with props 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-pNWdM eCTPkG"
|
class="sc-pGacB itppjQ"
|
||||||
open=""
|
open=""
|
||||||
>
|
>
|
||||||
<div />
|
<div />
|
||||||
|
@ -109,19 +109,19 @@ exports[`Dialog renders with props 1`] = `
|
||||||
class="mc-dialog--footer"
|
class="mc-dialog--footer"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi YTVoL"
|
class="sc-dlfnuX bpFXet"
|
||||||
>
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi erIiXz"
|
class="sc-dlfnuX eIIxFx"
|
||||||
>
|
>
|
||||||
Submit
|
Submit
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -12,7 +12,7 @@ exports[`Editor renders correctly 1`] = `
|
||||||
>
|
>
|
||||||
<styled.div>
|
<styled.div>
|
||||||
<div
|
<div
|
||||||
className="sc-jrsJWt bGGtuw"
|
className="sc-jrAFXE eSKznJ"
|
||||||
/>
|
/>
|
||||||
</styled.div>
|
</styled.div>
|
||||||
</Editor>
|
</Editor>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`Notification renders correctly 1`] = `
|
exports[`Notification renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-dIsUp cNjybr"
|
class="sc-dQoVA jbwpAA"
|
||||||
type="info"
|
type="info"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
|
@ -13,7 +13,7 @@ exports[`Notification renders correctly 1`] = `
|
||||||
|
|
||||||
exports[`Notification renders with props 1`] = `
|
exports[`Notification renders with props 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-dIsUp cNjybr"
|
class="sc-dQoVA jbwpAA"
|
||||||
type="error"
|
type="error"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`SegmentedControl renders correctly 1`] = `
|
exports[`SegmentedControl renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-crzoAE bFkxJ"
|
class="sc-crrszt cvNxfC"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
data-selected="true"
|
data-selected="true"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`Slider renders correctly 1`] = `
|
exports[`Slider renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-gKAaRy kGUJQC"
|
class="sc-gKseQn dZjemh"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
max="100"
|
max="100"
|
||||||
|
@ -15,7 +15,7 @@ exports[`Slider renders correctly 1`] = `
|
||||||
|
|
||||||
exports[`Slider renders with props 1`] = `
|
exports[`Slider renders with props 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-gKAaRy jCQInr"
|
class="sc-gKseQn iDCsqw"
|
||||||
disabled=""
|
disabled=""
|
||||||
>
|
>
|
||||||
<label>
|
<label>
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
exports[`Tabs renders correctly 1`] = `
|
exports[`Tabs renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-iqAclL lhAsMF"
|
class="sc-iqHYmW fkHtZZ"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-kEqXSa GgFRW"
|
class="sc-kEjbQP cJpVpt"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
|
@ -30,10 +30,10 @@ exports[`Tabs renders correctly 1`] = `
|
||||||
|
|
||||||
exports[`Tabs renders tabs without inner components 1`] = `
|
exports[`Tabs renders tabs without inner components 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-iqAclL lhAsMF"
|
class="sc-iqHYmW fkHtZZ"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-kEqXSa GgFRW"
|
class="sc-kEjbQP cJpVpt"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
|
@ -94,10 +94,10 @@ exports[`Tabs renders tabs without inner components 1`] = `
|
||||||
|
|
||||||
exports[`Tabs renders with props 1`] = `
|
exports[`Tabs renders with props 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-iqAclL lhAsMF"
|
class="sc-iqHYmW fkHtZZ"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-kEqXSa GgFRW"
|
class="sc-kEjbQP cJpVpt"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -2,28 +2,28 @@
|
||||||
|
|
||||||
exports[`Toolbar renders correctly 1`] = `
|
exports[`Toolbar renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-bqGGPW epxzCc"
|
class="sc-bqyKOL kijwRz"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi YTVoL"
|
class="sc-dlfnuX bpFXet"
|
||||||
>
|
>
|
||||||
1
|
1
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="sc-ksluID Osoke"
|
class="sc-kstqJO icaEkX"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="sc-hBMUJo eOpmnQ"
|
class="sc-hBEYId bvLjEB"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="sc-eCApnc fBsDrg"
|
class="sc-eCstlR hyNRxs"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="sc-dlnjwi YTVoL"
|
class="sc-dlfnuX bpFXet"
|
||||||
>
|
>
|
||||||
2
|
2
|
||||||
</button>
|
</button>
|
||||||
|
@ -33,6 +33,6 @@ exports[`Toolbar renders correctly 1`] = `
|
||||||
|
|
||||||
exports[`Toolbar renders with props 1`] = `
|
exports[`Toolbar renders with props 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-bqGGPW cWsbPt"
|
class="sc-bqyKOL ddKOSq"
|
||||||
/>
|
/>
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
"lodash": "^4.17.21"
|
"lodash": "^4.17.21"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/lodash": "^4.14.170",
|
"@types/lodash": "^4.14.172",
|
||||||
"immutable": "^4.0.0-rc.12"
|
"immutable": "^4.0.0-rc.14"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ function getNode(tree: Node, key: string): Node | null {
|
||||||
|
|
||||||
export default function map2tree(
|
export default function map2tree(
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||||
root: {},
|
root: unknown,
|
||||||
options: { key?: string; pushMethod?: 'push' | 'unshift' } = {},
|
options: { key?: string; pushMethod?: 'push' | 'unshift' } = {},
|
||||||
tree: Node = { name: options.key || 'state', children: [] }
|
tree: Node = { name: options.key || 'state', children: [] }
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||||
|
@ -66,7 +66,8 @@ export default function map2tree(
|
||||||
root && (root as { toJS: () => {} }).toJS
|
root && (root as { toJS: () => {} }).toJS
|
||||||
? // eslint-disable-next-line @typescript-eslint/ban-types
|
? // eslint-disable-next-line @typescript-eslint/ban-types
|
||||||
(root as { toJS: () => {} }).toJS()
|
(root as { toJS: () => {} }).toJS()
|
||||||
: root,
|
: // eslint-disable-next-line @typescript-eslint/ban-types
|
||||||
|
(root as {}),
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||||
(maybeImmutable: { toJS?: () => {} }, key) => {
|
(maybeImmutable: { toJS?: () => {} }, key) => {
|
||||||
const value =
|
const value =
|
||||||
|
|
|
@ -41,11 +41,11 @@
|
||||||
"@types/base16": "^1.0.2",
|
"@types/base16": "^1.0.2",
|
||||||
"@types/lodash.curry": "^4.1.6",
|
"@types/lodash.curry": "^4.1.6",
|
||||||
"base16": "^1.0.0",
|
"base16": "^1.0.0",
|
||||||
"color": "^3.1.3",
|
"color": "^3.2.1",
|
||||||
"csstype": "^3.0.8",
|
"csstype": "^3.0.8",
|
||||||
"lodash.curry": "^4.1.1"
|
"lodash.curry": "^4.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/color": "^3.0.1"
|
"@types/color": "^3.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,23 +41,23 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"lodash.debounce": "^4.0.8",
|
"lodash.debounce": "^4.0.8",
|
||||||
"prop-types": "^15.7.2"
|
"prop-types": "^15.7.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/lodash.debounce": "^4.0.6",
|
"@types/lodash.debounce": "^4.0.6",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"@types/react-dom": "^16.9.13",
|
"@types/react-dom": "^16.9.14",
|
||||||
"@types/react-test-renderer": "^16.9.5",
|
"@types/react-test-renderer": "^16.9.5",
|
||||||
"@types/styled-components": "^5.1.10",
|
"@types/styled-components": "^5.1.13",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"react-bootstrap": "^1.6.1",
|
"react-bootstrap": "^1.6.1",
|
||||||
"react-dom": "^16.14.0",
|
"react-dom": "^16.14.0",
|
||||||
"react-hot-loader": "^4.13.0",
|
"react-hot-loader": "^4.13.0",
|
||||||
"react-icons": "^3.11.0",
|
"react-icons": "^3.11.0",
|
||||||
"react-test-renderer": "^16.14.0",
|
"react-test-renderer": "^16.14.0",
|
||||||
"styled-components": "^5.3.0"
|
"styled-components": "^5.3.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@types/react": "^16.3.0 || ^17.0.0",
|
"@types/react": "^16.3.0 || ^17.0.0",
|
||||||
|
|
|
@ -7,21 +7,21 @@ React JSON Viewer Component, Extracted from [redux-devtools](https://github.com/
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import JSONTree from 'react-json-tree'
|
import JSONTree from 'react-json-tree';
|
||||||
// If you're using Immutable.js: `npm i --save immutable`
|
// If you're using Immutable.js: `npm i --save immutable`
|
||||||
import { Map } from 'immutable'
|
import { Map } from 'immutable';
|
||||||
|
|
||||||
// Inside a React component:
|
// Inside a React component:
|
||||||
const json = {
|
const json = {
|
||||||
array: [1, 2, 3],
|
array: [1, 2, 3],
|
||||||
bool: true,
|
bool: true,
|
||||||
object: {
|
object: {
|
||||||
foo: 'bar'
|
foo: 'bar',
|
||||||
},
|
},
|
||||||
immutable: Map({ key: 'value' })
|
immutable: Map({ key: 'value' }),
|
||||||
}
|
};
|
||||||
|
|
||||||
<JSONTree data={json} />
|
<JSONTree data={json} />;
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Result:
|
#### Result:
|
||||||
|
|
|
@ -46,12 +46,12 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react-base16-styling": "^0.8.0"
|
"react-base16-styling": "^0.8.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"@types/react-test-renderer": "^16.9.5",
|
"@types/react-test-renderer": "^16.9.5",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"react-test-renderer": "^16.14.0"
|
"react-test-renderer": "^16.14.0"
|
||||||
|
|
|
@ -49,21 +49,21 @@
|
||||||
"javascript-stringify": "^2.1.0",
|
"javascript-stringify": "^2.1.0",
|
||||||
"jsan": "^3.1.13",
|
"jsan": "^3.1.13",
|
||||||
"jsondiffpatch": "^0.4.1",
|
"jsondiffpatch": "^0.4.1",
|
||||||
"localforage": "^1.9.0",
|
"localforage": "^1.10.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react-icons": "^3.11.0",
|
"react-icons": "^3.11.0",
|
||||||
"react-is": "^16.13.1",
|
"react-is": "^16.13.1",
|
||||||
"react-redux": "^7.2.4",
|
"react-redux": "^7.2.4",
|
||||||
"redux": "^4.1.0",
|
"redux": "^4.1.1",
|
||||||
"redux-persist": "^4.10.2",
|
"redux-persist": "^4.10.2",
|
||||||
"socketcluster-client": "^14.3.2",
|
"socketcluster-client": "^14.3.2",
|
||||||
"styled-components": "^5.3.0"
|
"styled-components": "^5.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rjsf/core": "^2.5.1",
|
"@rjsf/core": "^2.5.1",
|
||||||
"@types/json-schema": "^7.0.7",
|
"@types/json-schema": "^7.0.9",
|
||||||
"@types/socketcluster-client": "^13.0.4",
|
"@types/socketcluster-client": "^13.0.5",
|
||||||
"enzyme": "^3.11.0",
|
"enzyme": "^3.11.0",
|
||||||
"enzyme-adapter-react-16": "^1.15.6",
|
"enzyme-adapter-react-16": "^1.15.6",
|
||||||
"enzyme-to-json": "^3.6.2",
|
"enzyme-to-json": "^3.6.2",
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"@types/redux-devtools-themes": "^1.0.0",
|
"@types/redux-devtools-themes": "^1.0.0",
|
||||||
"d3-state-visualizer": "^1.4.0",
|
"d3-state-visualizer": "^1.4.0",
|
||||||
"deepmerge": "^4.2.2",
|
"deepmerge": "^4.2.2",
|
||||||
|
@ -47,9 +47,9 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@redux-devtools/core": "^3.9.0",
|
"@redux-devtools/core": "^3.9.0",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"redux": "^4.1.0"
|
"redux": "^4.1.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@redux-devtools/core": "^3.7.0",
|
"@redux-devtools/core": "^3.7.0",
|
||||||
|
|
|
@ -39,18 +39,18 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0.0"
|
"node": ">=14.15.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@redux-devtools/app": "^1.0.0-8",
|
"@redux-devtools/app": "^1.0.0-8",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"apollo-server": "^2.25.1",
|
"apollo-server": "^2.25.2",
|
||||||
"apollo-server-express": "^2.25.1",
|
"apollo-server-express": "^2.25.2",
|
||||||
"body-parser": "^1.19.0",
|
"body-parser": "^1.19.0",
|
||||||
"chalk": "^4.1.1",
|
"chalk": "^4.1.2",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"cross-spawn": "^7.0.3",
|
"cross-spawn": "^7.0.3",
|
||||||
"electron": "^13.1.2",
|
"electron": "^13.2.2",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"getport": "^0.1.0",
|
"getport": "^0.1.0",
|
||||||
"graphql": "^14.7.0",
|
"graphql": "^14.7.0",
|
||||||
|
@ -68,10 +68,10 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/cross-spawn": "^6.0.2",
|
"@types/cross-spawn": "^6.0.2",
|
||||||
"@types/morgan": "^1.9.2",
|
"@types/morgan": "^1.9.3",
|
||||||
"@types/semver": "^7.3.6",
|
"@types/semver": "^7.3.8",
|
||||||
"@types/supertest": "^2.0.11",
|
"@types/supertest": "^2.0.11",
|
||||||
"@types/uuid": "^8.3.0",
|
"@types/uuid": "^8.3.1",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"ncp": "^2.0.0",
|
"ncp": "^2.0.0",
|
||||||
"socketcluster-client": "^14.3.2",
|
"socketcluster-client": "^14.3.2",
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"parse-key": "^0.2.1",
|
"parse-key": "^0.2.1",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react-dock": "^0.4.0"
|
"react-dock": "^0.4.0"
|
||||||
|
@ -48,9 +48,9 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@redux-devtools/core": "^3.9.0",
|
"@redux-devtools/core": "^3.9.0",
|
||||||
"@types/parse-key": "^0.2.0",
|
"@types/parse-key": "^0.2.0",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"redux": "^4.1.0"
|
"redux": "^4.1.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@redux-devtools/core": "^3.7.0",
|
"@redux-devtools/core": "^3.7.0",
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"devui": "^1.0.0-9",
|
"devui": "^1.0.0-9",
|
||||||
"es6template": "^1.0.5",
|
"es6template": "^1.0.5",
|
||||||
"javascript-stringify": "^2.1.0",
|
"javascript-stringify": "^2.1.0",
|
||||||
|
@ -58,27 +58,27 @@
|
||||||
"@redux-devtools/dock-monitor": "^1.4.0",
|
"@redux-devtools/dock-monitor": "^1.4.0",
|
||||||
"@redux-devtools/inspector-monitor": "^1.0.0",
|
"@redux-devtools/inspector-monitor": "^1.0.0",
|
||||||
"@types/es6template": "^1.0.0",
|
"@types/es6template": "^1.0.0",
|
||||||
"@types/history": "^4.7.8",
|
"@types/history": "^4.7.9",
|
||||||
"@types/jsan": "^3.1.2",
|
"@types/jsan": "^3.1.2",
|
||||||
"@types/lodash.shuffle": "^4.2.6",
|
"@types/lodash.shuffle": "^4.2.6",
|
||||||
"@types/object-path": "^0.11.0",
|
"@types/object-path": "^0.11.1",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"@types/react-router": "^5.1.15",
|
"@types/react-router": "^5.1.16",
|
||||||
"@types/redux-logger": "^3.0.8",
|
"@types/redux-logger": "^3.0.9",
|
||||||
"@types/simple-diff": "^1.6.0",
|
"@types/simple-diff": "^1.6.1",
|
||||||
"connected-react-router": "^6.9.1",
|
"connected-react-router": "^6.9.1",
|
||||||
"enzyme": "^3.11.0",
|
"enzyme": "^3.11.0",
|
||||||
"enzyme-adapter-react-16": "^1.15.6",
|
"enzyme-adapter-react-16": "^1.15.6",
|
||||||
"enzyme-to-json": "^3.6.2",
|
"enzyme-to-json": "^3.6.2",
|
||||||
"history": "^4.10.1",
|
"history": "^4.10.1",
|
||||||
"immutable": "^4.0.0-rc.12",
|
"immutable": "^4.0.0-rc.14",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"lodash.shuffle": "^4.2.0",
|
"lodash.shuffle": "^4.2.0",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"react-dom": "^16.14.0",
|
"react-dom": "^16.14.0",
|
||||||
"react-redux": "^7.2.4",
|
"react-redux": "^7.2.4",
|
||||||
"react-router": "^5.2.0",
|
"react-router": "^5.2.0",
|
||||||
"redux": "^4.1.0",
|
"redux": "^4.1.1",
|
||||||
"redux-logger": "^3.0.6",
|
"redux-logger": "^3.0.6",
|
||||||
"seamless-immutable": "^7.1.4"
|
"seamless-immutable": "^7.1.4"
|
||||||
},
|
},
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/code-frame": "^7.14.5",
|
"@babel/code-frame": "^7.14.5",
|
||||||
"@types/chrome": "^0.0.145",
|
"@types/chrome": "^0.0.154",
|
||||||
"anser": "^1.4.10",
|
"anser": "^1.4.10",
|
||||||
"html-entities": "^1.4.0",
|
"html-entities": "^1.4.0",
|
||||||
"redux-devtools-themes": "^1.0.0",
|
"redux-devtools-themes": "^1.0.0",
|
||||||
|
@ -38,11 +38,11 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@redux-devtools/core": "^3.9.0",
|
"@redux-devtools/core": "^3.9.0",
|
||||||
"@redux-devtools/inspector-monitor": "^1.0.0",
|
"@redux-devtools/inspector-monitor": "^1.0.0",
|
||||||
"@types/babel__code-frame": "^7.0.2",
|
"@types/babel__code-frame": "^7.0.3",
|
||||||
"@types/enzyme": "^3.10.8",
|
"@types/enzyme": "^3.10.9",
|
||||||
"@types/enzyme-adapter-react-16": "^1.0.6",
|
"@types/enzyme-adapter-react-16": "^1.0.6",
|
||||||
"@types/html-entities": "^1.3.4",
|
"@types/html-entities": "^1.3.4",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"@types/redux-devtools-themes": "^1.0.0",
|
"@types/redux-devtools-themes": "^1.0.0",
|
||||||
"enzyme": "^3.11.0",
|
"enzyme": "^3.11.0",
|
||||||
"enzyme-adapter-react-16": "^1.15.6",
|
"enzyme-adapter-react-16": "^1.15.6",
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"react-dom": "^16.14.0",
|
"react-dom": "^16.14.0",
|
||||||
"react-test-renderer": "^16.14.0",
|
"react-test-renderer": "^16.14.0",
|
||||||
"redux": "^4.1.0"
|
"redux": "^4.1.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@redux-devtools/inspector-monitor": "^1.0.0",
|
"@redux-devtools/inspector-monitor": "^1.0.0",
|
||||||
|
|
|
@ -37,15 +37,15 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/dragula": "^3.7.0",
|
"@types/dragula": "^3.7.1",
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"dateformat": "^3.0.3",
|
"dateformat": "^3.0.3",
|
||||||
"hex-rgba": "^1.0.2",
|
"hex-rgba": "^1.0.2",
|
||||||
"immutable": "^4.0.0-rc.12",
|
"immutable": "^4.0.0-rc.14",
|
||||||
"javascript-stringify": "^2.1.0",
|
"javascript-stringify": "^2.1.0",
|
||||||
"jsondiffpatch": "^0.4.1",
|
"jsondiffpatch": "^0.4.1",
|
||||||
"jss": "^10.6.0",
|
"jss": "^10.7.1",
|
||||||
"jss-preset-default": "^10.6.0",
|
"jss-preset-default": "^10.7.1",
|
||||||
"lodash.debounce": "^4.0.8",
|
"lodash.debounce": "^4.0.8",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react-base16-styling": "^0.8.0",
|
"react-base16-styling": "^0.8.0",
|
||||||
|
@ -57,13 +57,13 @@
|
||||||
"@redux-devtools/core": "^3.9.0",
|
"@redux-devtools/core": "^3.9.0",
|
||||||
"@redux-devtools/dock-monitor": "^1.4.0",
|
"@redux-devtools/dock-monitor": "^1.4.0",
|
||||||
"@types/dateformat": "^3.0.1",
|
"@types/dateformat": "^3.0.1",
|
||||||
"@types/hex-rgba": "^1.0.0",
|
"@types/hex-rgba": "^1.0.1",
|
||||||
"@types/history": "^4.7.8",
|
"@types/history": "^4.7.9",
|
||||||
"@types/lodash.shuffle": "^4.2.6",
|
"@types/lodash.shuffle": "^4.2.6",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"@types/react-dragula": "^1.1.0",
|
"@types/react-dragula": "^1.1.0",
|
||||||
"@types/react-router": "^5.1.15",
|
"@types/react-router": "^5.1.16",
|
||||||
"@types/redux-logger": "^3.0.8",
|
"@types/redux-logger": "^3.0.9",
|
||||||
"base16": "^1.0.0",
|
"base16": "^1.0.0",
|
||||||
"connected-react-router": "^6.9.1",
|
"connected-react-router": "^6.9.1",
|
||||||
"history": "^4.10.1",
|
"history": "^4.10.1",
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
"react-dom": "^16.14.0",
|
"react-dom": "^16.14.0",
|
||||||
"react-redux": "^7.2.4",
|
"react-redux": "^7.2.4",
|
||||||
"react-router": "^5.2.0",
|
"react-router": "^5.2.0",
|
||||||
"redux": "^4.1.0",
|
"redux": "^4.1.1",
|
||||||
"redux-logger": "^3.0.6",
|
"redux-logger": "^3.0.6",
|
||||||
"seamless-immutable": "^7.1.4"
|
"seamless-immutable": "^7.1.4"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { fromJS, isAssociative } from 'immutable';
|
import { fromJS, isAssociative, Map } from 'immutable';
|
||||||
import isIterable from './isIterable';
|
import isIterable from './isIterable';
|
||||||
|
|
||||||
function iterateToKey(obj: any, key: string | number) {
|
function iterateToKey(obj: any, key: string | number) {
|
||||||
|
@ -41,7 +41,7 @@ export default function getInspectedState<S>(
|
||||||
|
|
||||||
if (convertImmutable) {
|
if (convertImmutable) {
|
||||||
try {
|
try {
|
||||||
state = fromJS(state).toJS();
|
state = (fromJS(state) as Map<unknown, unknown>).toJS() as unknown as S;
|
||||||
} catch (e) {} // eslint-disable-line no-empty
|
} catch (e) {} // eslint-disable-line no-empty
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,9 +43,9 @@
|
||||||
"lodash": "^4.17.21"
|
"lodash": "^4.17.21"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/lodash": "^4.14.170",
|
"@types/lodash": "^4.14.172",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"redux": "^4.1.0",
|
"redux": "^4.1.1",
|
||||||
"rxjs": "^6.6.7"
|
"rxjs": "^6.6.7"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/lodash.debounce": "^4.0.6",
|
"@types/lodash.debounce": "^4.0.6",
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"@types/redux-devtools-themes": "^1.0.0",
|
"@types/redux-devtools-themes": "^1.0.0",
|
||||||
"lodash.debounce": "^4.0.8",
|
"lodash.debounce": "^4.0.8",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
|
@ -50,9 +50,9 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@redux-devtools/core": "^3.9.0",
|
"@redux-devtools/core": "^3.9.0",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"redux": "^4.1.0"
|
"redux": "^4.1.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@redux-devtools/core": "^3.7.0",
|
"@redux-devtools/core": "^3.7.0",
|
||||||
|
|
|
@ -36,9 +36,9 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jsan": "^3.1.2",
|
"@types/jsan": "^3.1.2",
|
||||||
"immutable": "^4.0.0-rc.12"
|
"immutable": "^4.0.0-rc.14"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"immutable": "^4.0.0-rc.12"
|
"immutable": "^4.0.0-rc.14"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"@types/redux-devtools-themes": "^1.0.0",
|
"@types/redux-devtools-themes": "^1.0.0",
|
||||||
"devui": "^1.0.0-9",
|
"devui": "^1.0.0-9",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
|
@ -39,9 +39,9 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@redux-devtools/core": "^3.9.0",
|
"@redux-devtools/core": "^3.9.0",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"redux": "^4.1.0"
|
"redux": "^4.1.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@redux-devtools/core": "^3.7.0",
|
"@redux-devtools/core": "^3.7.0",
|
||||||
|
|
|
@ -35,15 +35,15 @@
|
||||||
"@redux-devtools/core": "^3.9.0",
|
"@redux-devtools/core": "^3.9.0",
|
||||||
"@redux-devtools/serialize": "^0.3.0",
|
"@redux-devtools/serialize": "^0.3.0",
|
||||||
"get-params": "^0.1.2",
|
"get-params": "^0.1.2",
|
||||||
"immutable": "^4.0.0-rc.12",
|
"immutable": "^4.0.0-rc.14",
|
||||||
"jsan": "^3.1.13",
|
"jsan": "^3.1.13",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"nanoid": "^3.1.23",
|
"nanoid": "^3.1.25",
|
||||||
"redux": "^4.1.0"
|
"redux": "^4.1.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@redux-devtools/core": "^3.7.0",
|
"@redux-devtools/core": "^3.7.0",
|
||||||
"immutable": "^4.0.0-rc.12",
|
"immutable": "^4.0.0-rc.14",
|
||||||
"redux": "^4.0.5"
|
"redux": "^4.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,17 +41,17 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@redux-devtools/instrument": "^1.11.0",
|
"@redux-devtools/instrument": "^1.11.0",
|
||||||
"@types/prop-types": "^15.7.3",
|
"@types/prop-types": "^15.7.4",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"prop-types": "^15.7.2"
|
"prop-types": "^15.7.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/lodash": "^4.14.170",
|
"@types/lodash": "^4.14.172",
|
||||||
"@types/react": "^16.14.8",
|
"@types/react": "^16.14.14",
|
||||||
"@types/react-redux": "^7.1.16",
|
"@types/react-redux": "^7.1.18",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"react-redux": "^7.2.4",
|
"react-redux": "^7.2.4",
|
||||||
"redux": "^4.1.0"
|
"redux": "^4.1.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^0.14.9 || ^15.3.0 || ^16.0.0 || ^17.0.0",
|
"react": "^0.14.9 || ^15.3.0 || ^16.0.0 || ^17.0.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user