mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
chore(*): upgrade dependencies (#573)
* redux-logger * chalk jsdom * color * cross-spawn * immutable * is-plain-object * javascript-stringify
This commit is contained in:
parent
90e686a7ce
commit
7801a03596
|
@ -47,7 +47,6 @@
|
|||
"d3": "^3.5.17",
|
||||
"d3tooltip": "^1.2.2",
|
||||
"deepmerge": "^0.2.10",
|
||||
"is-plain-object": "^2.0.4",
|
||||
"map2tree": "^1.4.1",
|
||||
"ramda": "^0.17.1"
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
"enzyme-to-json": "^3.5.0",
|
||||
"git-url-parse": "^11.1.2",
|
||||
"jest": "^26.2.2",
|
||||
"jsdom": "^16.3.0",
|
||||
"jsdom": "^16.4.0",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-test-renderer": "^16.13.1",
|
||||
|
@ -62,7 +62,7 @@
|
|||
"dependencies": {
|
||||
"base16": "^1.0.0",
|
||||
"codemirror": "^5.56.0",
|
||||
"color": "^2.0.1",
|
||||
"color": "^3.1.2",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-icons": "^2.2.7",
|
||||
"react-jsonschema-form": "^1.8.1",
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"webpack-dev-server": "^3.11.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"immutable": "^3.8.2",
|
||||
"immutable": "^4.0.0-rc.12",
|
||||
"react": "^16.13.1",
|
||||
"react-base16-styling": "^0.6.0",
|
||||
"react-dom": "^16.13.1",
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||
"dependencies": {
|
||||
"body-parser": "^1.19.0",
|
||||
"chalk": "^2.4.2",
|
||||
"chalk": "^4.1.0",
|
||||
"cors": "^2.8.5",
|
||||
"cross-spawn": "^6.0.5",
|
||||
"cross-spawn": "^7.0.3",
|
||||
"electron": "^7.3.2",
|
||||
"express": "^4.17.1",
|
||||
"getport": "^0.1.0",
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
"jest": "^26.2.2",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"redux-logger": "^2.10.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"style-loader": "^1.2.1",
|
||||
"terser-webpack-plugin": "^4.0.0",
|
||||
|
@ -68,7 +67,7 @@
|
|||
"d3-state-visualizer": "^1.3.2",
|
||||
"devui": "^1.0.0-4",
|
||||
"get-params": "^0.1.2",
|
||||
"javascript-stringify": "^1.6.0",
|
||||
"javascript-stringify": "^2.0.1",
|
||||
"jsan": "^3.1.13",
|
||||
"jsondiffpatch": "^0.4.1",
|
||||
"localforage": "^1.9.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React, { Component } from 'react';
|
||||
import { Editor } from 'devui';
|
||||
import stringify from 'javascript-stringify';
|
||||
import { stringify } from 'javascript-stringify';
|
||||
|
||||
export default class RawTab extends Component {
|
||||
constructor(props) {
|
||||
|
|
|
@ -5,7 +5,7 @@ import DemoApp from './DemoApp';
|
|||
import { Provider } from 'react-redux';
|
||||
import reducers from './reducers';
|
||||
import { createStore, applyMiddleware, compose, combineReducers } from 'redux';
|
||||
import createLogger from 'redux-logger';
|
||||
import logger from 'redux-logger';
|
||||
import { Router, Route, browserHistory } from 'react-router';
|
||||
import {
|
||||
syncHistoryWithStore,
|
||||
|
@ -69,7 +69,7 @@ let DevTools = getDevTools(getOptions());
|
|||
const reduxRouterMiddleware = routerMiddleware(browserHistory);
|
||||
|
||||
const enhancer = compose(
|
||||
applyMiddleware(createLogger(), reduxRouterMiddleware),
|
||||
applyMiddleware(logger, reduxRouterMiddleware),
|
||||
(...args) => {
|
||||
const useDevtoolsExtension =
|
||||
!!window.__REDUX_DEVTOOLS_EXTENSION__ && getOptions().useExtension;
|
||||
|
|
|
@ -24,7 +24,7 @@ const IMMUTABLE_MAP = Immutable.Map({
|
|||
list: Immutable.List(['a', 'b', 'c']),
|
||||
set: Immutable.Set(['a', 'b', 'c']),
|
||||
stack: Immutable.Stack(['a', 'b', 'c']),
|
||||
seq: Immutable.Seq.of(1, 2, 3, 4, 5, 6, 7, 8),
|
||||
seq: Immutable.Seq([1, 2, 3, 4, 5, 6, 7, 8]),
|
||||
});
|
||||
|
||||
const NATIVE_MAP = new window.Map([
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
"base16": "^1.0.0",
|
||||
"clean-webpack-plugin": "^3.0.0",
|
||||
"cross-env": "^7.0.2",
|
||||
"export-files-webpack-plugin": "^0.0.1",
|
||||
"html-webpack-plugin": "^4.3.0",
|
||||
"immutable": "^4.0.0-rc.12",
|
||||
"lodash.shuffle": "^4.2.0",
|
||||
"react": "^16.13.1",
|
||||
"react-bootstrap": "^0.30.10",
|
||||
|
@ -47,7 +47,7 @@
|
|||
"redux": "^4.0.5",
|
||||
"redux-devtools": "^3.6.0",
|
||||
"redux-devtools-dock-monitor": "^1.1.3",
|
||||
"redux-logger": "^2.10.2",
|
||||
"redux-logger": "^3.0.6",
|
||||
"webpack": "^4.44.1",
|
||||
"webpack-cli": "^3.3.12",
|
||||
"webpack-dev-server": "^3.11.0"
|
||||
|
@ -65,8 +65,7 @@
|
|||
"babel-runtime": "^6.26.0",
|
||||
"dateformat": "^3.0.3",
|
||||
"hex-rgba": "^1.0.2",
|
||||
"immutable": "^3.8.2",
|
||||
"javascript-stringify": "^1.6.0",
|
||||
"javascript-stringify": "^2.0.1",
|
||||
"jsondiffpatch": "^0.4.1",
|
||||
"jss": "^6.5.0",
|
||||
"jss-nested": "^3.0.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React, { Component } from 'react';
|
||||
import JSONTree from 'react-json-tree';
|
||||
import stringify from 'javascript-stringify';
|
||||
import { stringify } from 'javascript-stringify';
|
||||
import getItemString from './getItemString';
|
||||
import getJsonTreeTheme from './getJsonTreeTheme';
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ var path = require('path');
|
|||
var webpack = require('webpack');
|
||||
var HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
var { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||
var ExportFilesWebpackPlugin = require('export-files-webpack-plugin');
|
||||
|
||||
var pkg = require('./package.json');
|
||||
|
||||
|
@ -34,14 +33,7 @@ module.exports = {
|
|||
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
|
||||
},
|
||||
}),
|
||||
].concat(
|
||||
isProduction
|
||||
? []
|
||||
: [
|
||||
new ExportFilesWebpackPlugin('demo/dist/index.html'),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
]
|
||||
),
|
||||
].concat(isProduction ? [] : [new webpack.HotModuleReplacementPlugin()]),
|
||||
resolve: {
|
||||
extensions: ['*', '.js', '.jsx'],
|
||||
},
|
||||
|
|
|
@ -7,7 +7,7 @@ import DemoApp from './DemoApp';
|
|||
import { Provider } from 'react-redux';
|
||||
import reducers from './reducers';
|
||||
import { createStore, applyMiddleware, compose, combineReducers } from 'redux';
|
||||
import createLogger from 'redux-logger';
|
||||
import logger from 'redux-logger';
|
||||
import { Router, Route, browserHistory } from 'react-router';
|
||||
import {
|
||||
syncHistoryWithStore,
|
||||
|
@ -57,7 +57,7 @@ let DevTools = getDevTools(getOptions());
|
|||
const reduxRouterMiddleware = routerMiddleware(browserHistory);
|
||||
|
||||
const enhancer = compose(
|
||||
applyMiddleware(createLogger(), reduxRouterMiddleware),
|
||||
applyMiddleware(logger, reduxRouterMiddleware),
|
||||
(...args) => {
|
||||
const useDevtoolsExtension =
|
||||
!!window.__REDUX_DEVTOOLS_EXTENSION__ && getOptions().useExtension;
|
||||
|
|
|
@ -24,7 +24,7 @@ const IMMUTABLE_MAP = Immutable.Map({
|
|||
list: Immutable.List(['a', 'b', 'c']),
|
||||
set: Immutable.Set(['a', 'b', 'c']),
|
||||
stack: Immutable.Stack(['a', 'b', 'c']),
|
||||
seq: Immutable.Seq.of(1, 2, 3, 4, 5, 6, 7, 8),
|
||||
seq: Immutable.Seq([1, 2, 3, 4, 5, 6, 7, 8]),
|
||||
});
|
||||
|
||||
/* eslint-enable babel/new-cap */
|
||||
|
|
|
@ -49,9 +49,9 @@
|
|||
"enzyme-adapter-react-16": "^1.15.3",
|
||||
"enzyme-to-json": "^3.5.0",
|
||||
"expect": "^26.2.0",
|
||||
"export-files-webpack-plugin": "^0.0.1",
|
||||
"file-loader": "^6.0.0",
|
||||
"html-webpack-plugin": "^4.3.0",
|
||||
"immutable": "^4.0.0-rc.12",
|
||||
"jest": "^26.2.2",
|
||||
"lodash.shuffle": "^4.2.0",
|
||||
"react-dom": "^16.13.1",
|
||||
|
@ -62,7 +62,7 @@
|
|||
"redux-devtools": "^3.6.0",
|
||||
"redux-devtools-dock-monitor": "^1.1.3",
|
||||
"redux-devtools-inspector": "^0.13.0",
|
||||
"redux-logger": "^2.10.2",
|
||||
"redux-logger": "^3.0.6",
|
||||
"rimraf": "^3.0.2",
|
||||
"style-loader": "^1.2.1",
|
||||
"webpack": "^4.44.1",
|
||||
|
@ -71,7 +71,7 @@
|
|||
"dependencies": {
|
||||
"devui": "^1.0.0-4",
|
||||
"es6template": "^1.0.5",
|
||||
"javascript-stringify": "^1.6.0",
|
||||
"javascript-stringify": "^2.0.1",
|
||||
"jsan": "^3.1.13",
|
||||
"object-path": "^0.11.4",
|
||||
"prop-types": "^15.7.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React, { PureComponent, Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import stringify from 'javascript-stringify';
|
||||
import { stringify } from 'javascript-stringify';
|
||||
import objectPath from 'object-path';
|
||||
import jsan from 'jsan';
|
||||
import diff from 'simple-diff';
|
||||
|
|
|
@ -2,7 +2,6 @@ const path = require('path');
|
|||
const webpack = require('webpack');
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||
const ExportFilesWebpackPlugin = require('export-files-webpack-plugin');
|
||||
|
||||
const pkg = require('./package.json');
|
||||
|
||||
|
@ -41,10 +40,7 @@ module.exports = {
|
|||
output: { comments: false },
|
||||
}),
|
||||
]
|
||||
: [
|
||||
new ExportFilesWebpackPlugin('demo/dist/index.html'),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
]
|
||||
: [new webpack.HotModuleReplacementPlugin()]
|
||||
),
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx'],
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
"dependencies": {
|
||||
"@babel/code-frame": "^7.10.4",
|
||||
"anser": "^1.4.9",
|
||||
"chalk": "^2.4.2",
|
||||
"html-entities": "^1.3.1",
|
||||
"react": "^16.13.1",
|
||||
"redux-devtools-themes": "^1.0.0",
|
||||
|
|
79
yarn.lock
79
yarn.lock
|
@ -5308,10 +5308,10 @@ color-string@^1.5.2:
|
|||
color-name "^1.0.0"
|
||||
simple-swizzle "^0.2.2"
|
||||
|
||||
color@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/color/-/color-2.0.1.tgz#e4ed78a3c4603d0891eba5430b04b86314f4c839"
|
||||
integrity sha512-ubUCVVKfT7r2w2D3qtHakj8mbmKms+tThR8gI8zEYCbUBl8/voqFGt3kgBqGwXAopgXybnkuOq+qMYCRrp4cXw==
|
||||
color@^3.1.2:
|
||||
version "3.1.2"
|
||||
resolved "https://registry.yarnpkg.com/color/-/color-3.1.2.tgz#68148e7f85d41ad7649c5fa8c8106f098d229e10"
|
||||
integrity sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==
|
||||
dependencies:
|
||||
color-convert "^1.9.1"
|
||||
color-string "^1.5.2"
|
||||
|
@ -5787,7 +5787,7 @@ cross-spawn@^5.0.1:
|
|||
shebang-command "^1.2.0"
|
||||
which "^1.2.9"
|
||||
|
||||
cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2:
|
||||
cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
|
||||
version "7.0.3"
|
||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
|
||||
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
|
||||
|
@ -6107,10 +6107,10 @@ dedent@^0.7.0:
|
|||
resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
|
||||
integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=
|
||||
|
||||
deep-diff@0.3.4:
|
||||
version "0.3.4"
|
||||
resolved "https://registry.yarnpkg.com/deep-diff/-/deep-diff-0.3.4.tgz#aac5c39952236abe5f037a2349060ba01b00ae48"
|
||||
integrity sha1-qsXDmVIjar5fA3ojSQYLoBsArkg=
|
||||
deep-diff@^0.3.5:
|
||||
version "0.3.8"
|
||||
resolved "https://registry.yarnpkg.com/deep-diff/-/deep-diff-0.3.8.tgz#c01de63efb0eec9798801d40c7e0dae25b582c84"
|
||||
integrity sha1-wB3mPvsO7JeYgB1Ax+Da4ltYLIQ=
|
||||
|
||||
deep-equal@^1.0.1:
|
||||
version "1.1.1"
|
||||
|
@ -7230,13 +7230,6 @@ expirymanager@^0.9.3:
|
|||
resolved "https://registry.yarnpkg.com/expirymanager/-/expirymanager-0.9.3.tgz#e5f6b3ba00d8d76cf63311c2b71d7dfc9bde3e4f"
|
||||
integrity sha1-5fazugDY12z2MxHCtx19/JvePk8=
|
||||
|
||||
export-files-webpack-plugin@^0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.yarnpkg.com/export-files-webpack-plugin/-/export-files-webpack-plugin-0.0.1.tgz#03838a13b7df160d158100fe10becd3ee9f80f13"
|
||||
integrity sha1-A4OKE7ffFg0VgQD+EL7NPun4DxM=
|
||||
dependencies:
|
||||
mkdirp "^0.5.1"
|
||||
|
||||
express@^4.16.3, express@^4.17.1:
|
||||
version "4.17.1"
|
||||
resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134"
|
||||
|
@ -8779,7 +8772,7 @@ immer@1.7.2:
|
|||
resolved "https://registry.yarnpkg.com/immer/-/immer-1.7.2.tgz#a51e9723c50b27e132f6566facbec1c85fc69547"
|
||||
integrity sha512-4Urocwu9+XLDJw4Tc6ZCg7APVjjLInCFvO4TwGsAYV5zT6YYSor14dsZR0+0tHlDIN92cFUOq+i7fC00G5vTxA==
|
||||
|
||||
immutable@^3.8.1, immutable@^3.8.2:
|
||||
immutable@^3.8.1:
|
||||
version "3.8.2"
|
||||
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3"
|
||||
integrity sha1-wkOZUUVbs5kT2vKBN28VMOEErfM=
|
||||
|
@ -9558,10 +9551,10 @@ iterate-value@^1.0.0:
|
|||
es-get-iterator "^1.0.2"
|
||||
iterate-iterator "^1.0.1"
|
||||
|
||||
javascript-stringify@^1.6.0:
|
||||
version "1.6.0"
|
||||
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3"
|
||||
integrity sha1-FC0RHzpuPa6PSpr9d9RYVbWpzOM=
|
||||
javascript-stringify@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-2.0.1.tgz#6ef358035310e35d667c675ed63d3eb7c1aa19e5"
|
||||
integrity sha512-yV+gqbd5vaOYjqlbk16EG89xB5udgjqQF3C5FAORDg4f/IS1Yc5ERCv5e/57yBcfJYw05V5JyIXabhwb75Xxow==
|
||||
|
||||
jest-changed-files@^26.2.0:
|
||||
version "26.2.0"
|
||||
|
@ -9971,7 +9964,7 @@ jsbn@~0.1.0:
|
|||
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
|
||||
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=
|
||||
|
||||
jsdom@^16.2.2, jsdom@^16.3.0:
|
||||
jsdom@^16.2.2:
|
||||
version "16.3.0"
|
||||
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.3.0.tgz#75690b7dac36c67be49c336dcd7219bbbed0810c"
|
||||
integrity sha512-zggeX5UuEknpdZzv15+MS1dPYG0J/TftiiNunOeNxSl3qr8Z6cIlQpN0IdJa44z9aFxZRIVqRncvEhQ7X5DtZg==
|
||||
|
@ -10003,6 +9996,38 @@ jsdom@^16.2.2, jsdom@^16.3.0:
|
|||
ws "^7.2.3"
|
||||
xml-name-validator "^3.0.0"
|
||||
|
||||
jsdom@^16.4.0:
|
||||
version "16.4.0"
|
||||
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.4.0.tgz#36005bde2d136f73eee1a830c6d45e55408edddb"
|
||||
integrity sha512-lYMm3wYdgPhrl7pDcRmvzPhhrGVBeVhPIqeHjzeiHN3DFmD1RBpbExbi8vU7BJdH8VAZYovR8DMt0PNNDM7k8w==
|
||||
dependencies:
|
||||
abab "^2.0.3"
|
||||
acorn "^7.1.1"
|
||||
acorn-globals "^6.0.0"
|
||||
cssom "^0.4.4"
|
||||
cssstyle "^2.2.0"
|
||||
data-urls "^2.0.0"
|
||||
decimal.js "^10.2.0"
|
||||
domexception "^2.0.1"
|
||||
escodegen "^1.14.1"
|
||||
html-encoding-sniffer "^2.0.1"
|
||||
is-potential-custom-element-name "^1.0.0"
|
||||
nwsapi "^2.2.0"
|
||||
parse5 "5.1.1"
|
||||
request "^2.88.2"
|
||||
request-promise-native "^1.0.8"
|
||||
saxes "^5.0.0"
|
||||
symbol-tree "^3.2.4"
|
||||
tough-cookie "^3.0.1"
|
||||
w3c-hr-time "^1.0.2"
|
||||
w3c-xmlserializer "^2.0.0"
|
||||
webidl-conversions "^6.1.0"
|
||||
whatwg-encoding "^1.0.5"
|
||||
whatwg-mimetype "^2.3.0"
|
||||
whatwg-url "^8.0.0"
|
||||
ws "^7.2.3"
|
||||
xml-name-validator "^3.0.0"
|
||||
|
||||
jsesc@^2.5.1:
|
||||
version "2.5.2"
|
||||
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
|
||||
|
@ -13669,12 +13694,12 @@ redux-devtools-themes@^1.0.0:
|
|||
dependencies:
|
||||
base16 "^1.0.0"
|
||||
|
||||
redux-logger@^2.10.2:
|
||||
version "2.10.2"
|
||||
resolved "https://registry.yarnpkg.com/redux-logger/-/redux-logger-2.10.2.tgz#3c5a5f0a6f32577c1deadf6655f257f82c6c3937"
|
||||
integrity sha1-PFpfCm8yV3wd6t9mVfJX+CxsOTc=
|
||||
redux-logger@^3.0.6:
|
||||
version "3.0.6"
|
||||
resolved "https://registry.yarnpkg.com/redux-logger/-/redux-logger-3.0.6.tgz#f7555966f3098f3c88604c449cf0baf5778274bf"
|
||||
integrity sha1-91VZZvMJjzyIYExEnPC69XeCdL8=
|
||||
dependencies:
|
||||
deep-diff "0.3.4"
|
||||
deep-diff "^0.3.5"
|
||||
|
||||
redux-persist@^4.10.2:
|
||||
version "4.10.2"
|
||||
|
|
Loading…
Reference in New Issue
Block a user