Skip to content

Commit f2bab9d

Browse files
authored
Merge pull request #30 from omgaz/upgrade-deps
[patch] upgrade deps
2 parents 90a8c9d + 9cc13aa commit f2bab9d

File tree

4 files changed

+738
-740
lines changed

4 files changed

+738
-740
lines changed

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
.travis.yml
22
tests
3+
src
4+
.eslintrc
5+
.eslintignore
6+
.gitignore
7+
stuff

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* @license MIT https://github.com/omgaz/diffler
33
* Author: Gary Chisholm @omgaz
44
*/
5-
function diffler(f,e){var o={};for(var r in f)if(f.hasOwnProperty(r)&&"function"!=typeof f[r]){var n=f[r],t=e[r];if(r in e)if("object"==typeof n){var i=diffler(n,t);0<Object.keys(i).length&&i&&(o[r]=i)}else n!==t&&(o[r]={from:n,to:t});else o[r]={from:n,to:null}}for(r in e)if(e.hasOwnProperty(r)&&"function"!=typeof e[r]){n=f[r],t=e[r];r in f||((o=o||{})[r]={from:null,to:t})}return o}module.exports=diffler;
5+
function diffler(o,f){var n,r,t,e,i={};for(n in o){o.hasOwnProperty(n)&&"function"!=typeof o[n]&&(t=o[n],e=f[n],n in f?"object"==typeof t?(r=diffler(t,e),0<Object.keys(r).length&&r&&(i[n]=r)):t!==e&&(i[n]={from:t,to:e}):i[n]={from:t,to:null})}for(n in f){f.hasOwnProperty(n)&&"function"!=typeof f[n]&&(t=o[n],e=f[n],n in o||((i=i||{})[n]={from:null,to:e}))}return i}module.exports=diffler;

0 commit comments

Comments
 (0)