From 8409888310e4397d57d9037552f8da33642d714d Mon Sep 17 00:00:00 2001 From: helloyou2012 Date: Mon, 3 Feb 2020 22:02:56 +0800 Subject: [PATCH] update deps --- package.json | 38 +++++++++++++++++++------------------- src/index.js | 4 ++-- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 045434d..2eb91e5 100644 --- a/package.json +++ b/package.json @@ -49,27 +49,27 @@ }, "homepage": "https://github.com/d-band/yax#readme", "dependencies": { - "@babel/runtime": "^7.5.5", - "redux": "^4.0.4" + "@babel/runtime": "^7.8.4", + "redux": "^4.0.5" }, "devDependencies": { - "@babel/cli": "^7.5.5", - "@babel/core": "^7.5.5", - "@babel/plugin-transform-runtime": "^7.5.5", - "@babel/preset-env": "^7.5.5", - "@babel/register": "^7.5.5", - "babel-eslint": "^10.0.2", - "babel-plugin-istanbul": "^5.2.0", - "coveralls": "^3.0.6", - "cross-env": "^5.2.0", - "eslint": "^6.1.0", - "eslint-config-standard": "^13.0.1", - "eslint-plugin-import": "^2.18.2", - "eslint-plugin-node": "^9.1.0", + "@babel/cli": "^7.8.4", + "@babel/core": "^7.8.4", + "@babel/plugin-transform-runtime": "^7.8.3", + "@babel/preset-env": "^7.8.4", + "@babel/register": "^7.8.3", + "babel-eslint": "^10.0.3", + "babel-plugin-istanbul": "^6.0.0", + "coveralls": "^3.0.9", + "cross-env": "^7.0.0", + "eslint": "^6.8.0", + "eslint-config-standard": "^14.1.0", + "eslint-plugin-import": "^2.20.1", + "eslint-plugin-node": "^11.0.0", "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-standard": "^4.0.0", - "expect": "^24.8.0", - "mocha": "^6.2.0", - "nyc": "^14.1.1" + "eslint-plugin-standard": "^4.0.1", + "expect": "^25.1.0", + "mocha": "^7.0.1", + "nyc": "^15.0.0" } } diff --git a/src/index.js b/src/index.js index c3772f0..338ddf6 100644 --- a/src/index.js +++ b/src/index.js @@ -31,7 +31,7 @@ export default function yax (options = {}, enhancer) { function registerModule (path, rawModule) { if (typeof path === 'string') path = [path]; - assert(Array.isArray(path), `module path must be a string or an Array.`); + assert(Array.isArray(path), 'module path must be a string or an Array.'); _modules.register(path, rawModule); _installModule(path, _modules.get(path)); _resetReducers(); @@ -39,7 +39,7 @@ export default function yax (options = {}, enhancer) { function unregisterModule (path) { if (typeof path === 'string') path = [path]; - assert(Array.isArray(path), `module path must be a string or an Array.`); + assert(Array.isArray(path), 'module path must be a string or an Array.'); _modules.unregister(path); _resetStore(); _store.dispatch({ type: '@@yax/unregister', path });