redux-diff-logger
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "redux-diff-logger", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Diff logger between states for redux", | ||
@@ -10,8 +10,5 @@ "main": "lib/index.js", | ||
"lint": "$(npm bin)/eslint src", | ||
"build:module": "$(npm bin)/babel src --out-dir lib", | ||
"build:example": "$(npm bin)/webpack -p --config example/webpack.config.production.js", | ||
"build": "npm run build:module && npm run build:example", | ||
"prepublish": "npm run clean && npm run test && npm run build", | ||
"deploy:ghpages": "$(npm bin)/gh-pages -d example/dist", | ||
"deploy": "npm run build && git add -A && git commit -am 'chore: update docs' && git push && npm run deploy:ghpages" | ||
"build:lib": "$(npm bin)/babel src --out-dir lib", | ||
"build": "npm run build:lib", | ||
"prepublish": "npm run clean && npm run test && npm run build" | ||
}, | ||
@@ -18,0 +15,0 @@ "repository": { |
@@ -53,3 +53,8 @@ // https://github.com/flitbit/diff#differences | ||
console.group('diff @', `${time.getHours()}:${time.getMinutes()}:${time.getSeconds()}`); | ||
try { | ||
console.group('diff @', `${time.getHours()}:${time.getMinutes()}:${time.getSeconds()}`); | ||
} catch (e) { | ||
console.log('diff @', `${time.getHours()}:${time.getMinutes()}:${time.getSeconds()}`); | ||
} | ||
if (diff) { | ||
@@ -65,4 +70,9 @@ diff.forEach((elem) => { | ||
} | ||
console.groupEnd('diff'); | ||
try { | ||
console.groupEnd(); | ||
} catch (e) { | ||
console.log(`—— diff end —— `); | ||
} | ||
return returnValue; | ||
@@ -69,0 +79,0 @@ }; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3651
7
68
1