{"_id":"simple-diff","_rev":"14-87362d374117f7611f6cff8e9de2efce","name":"simple-diff","dist-tags":{"latest":"1.7.3"},"versions":{"1.0.1":{"name":"simple-diff","version":"1.0.1","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.0.1","maintainers":[{"name":"redexp","email":"redexp@ukr.net"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"abd4bf4925891ee2c0f816f81f94f05003d5dd08","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.0.1.tgz","integrity":"sha512-QpIabNlZ5K0mpxdK3AnoeMhLmJXboFkkKYvDR+8zKMgK8qfoAI195BDcItuLPbd563C8TDoeLzitSO6C5xGUxA==","signatures":[{"sig":"MEQCIA1ARhbB5TA3PH59Q6Rw1Ud532FQr65qKymTIVa8boH5AiAY8PfIt7wZQ1D6QMjhi6AkVgepknMh9ZZAWY7xnXcO9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"simple-diff.js","_from":".","_shasum":"abd4bf4925891ee2c0f816f81f94f05003d5dd08","gitHead":"535ad6e9c0d03a9de2d31b937537a76dc62e1eb7","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"redexp@ukr.net"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"3.3.12","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"5.4.1","devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff-1.0.1.tgz_1469423452476_0.5826493045315146","host":"packages-16-east.internal.npmjs.com"}},"1.1.0":{"name":"simple-diff","version":"1.1.0","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.1.0","maintainers":[{"name":"redexp","email":"redexp@ukr.net"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"9ff418b95ea91715b216c13fe95c7d2f8cba18b7","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.1.0.tgz","integrity":"sha512-9ntoWHwxgLEGZTwklptjRXv1yfnK1T8vMUoxufD43pJ5MxHqHkKVIZsvOicFyg/6vbqNs6Is7UubN0tbrAQOtA==","signatures":[{"sig":"MEYCIQC2w292ElDnyNl6cjfYND/YTXt0S4lT3OwDCeKtVQRffAIhANpeaVn2hmGAOJ+yunblPuDBoPs9u4btOx9v08oPIzeo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"simple-diff.js","_from":".","_shasum":"9ff418b95ea91715b216c13fe95c7d2f8cba18b7","gitHead":"fca451bbffc11c79708f5f60322da68257667292","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"redexp@ukr.net"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"3.3.12","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"5.4.1","devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff-1.1.0.tgz_1469764549645_0.06576611194759607","host":"packages-12-west.internal.npmjs.com"}},"1.2.0":{"name":"simple-diff","version":"1.2.0","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.2.0","maintainers":[{"name":"redexp","email":"redexp@ukr.net"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"95ae6bfe1b3ea23f300e006a1800734ad5669111","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.2.0.tgz","integrity":"sha512-bU4Z+aITRLfmrYDzhsWlrwl/PMo2yG4dQmf5I4nC5Voj9vPpD5TL80czI2PkbnhFRW1r8HRZfpFhpdrENQaOLw==","signatures":[{"sig":"MEYCIQDbZKLI3uTcDSoEB6gFaSyEJbXbYBewHyi0CBVHLQY9SAIhAKVMdyoqPskxwOC4mU2b76+/7TeHYD/RMZj7ixf1kaO6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"simple-diff.js","_from":".","_shasum":"95ae6bfe1b3ea23f300e006a1800734ad5669111","gitHead":"78ab13e10569e2187391373dec7f54a44490647d","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"redexp@ukr.net"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"3.3.12","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"5.4.1","devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff-1.2.0.tgz_1470296723009_0.6881290499586612","host":"packages-12-west.internal.npmjs.com"}},"1.3.0":{"name":"simple-diff","version":"1.3.0","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.3.0","maintainers":[{"name":"redexp","email":"redexp@ukr.net"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"be439fd1e1ba71dffa6d7a3f0def8531858cb63f","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.3.0.tgz","integrity":"sha512-xs0DiaoM1tv4Bs8jvY4gZsos23JhXfzd2jj2XMT96T552JKyifi33KruH5pDIbCOlageAjBPJppQLax8rx1tnA==","signatures":[{"sig":"MEYCIQDuTZ+Mln2Yy5TbUtiyPQ7/RsnNq+YMWnf42RTUsbxcBAIhAMg/MrVFBPyjtFckmVLOqApxDGHcNZr4sqzei1dXkUMi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"simple-diff.js","_from":".","_shasum":"be439fd1e1ba71dffa6d7a3f0def8531858cb63f","gitHead":"a4ac46984d7bf7ae0a9457245440dc2018fb1083","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"redexp@ukr.net"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"3.3.12","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"5.4.1","devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff-1.3.0.tgz_1470742325186_0.7436863724142313","host":"packages-12-west.internal.npmjs.com"}},"1.4.0":{"name":"simple-diff","version":"1.4.0","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.4.0","maintainers":[{"name":"redexp","email":"redexp@ukr.net"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"6a763f86bbec38e04244d851d92fedbc6adef28d","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.4.0.tgz","integrity":"sha512-GX+qfCoUDRsy3Jnp8V4BSDFJftnKo1em6mrBKEiNd+f8ETsyP2n/DodAtyvAAYkC8aN0YV6tw2ETL0F7Ea+d0g==","signatures":[{"sig":"MEQCIBo2iVuu27LKJnAqPGnsXQExtbFvRpvupoHZvH/g9LfwAiAzHNlY9iwCIwe1E70ha8K7JT0mTgFgz8DcO2FKrIv6zA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"simple-diff.js","_from":".","_shasum":"6a763f86bbec38e04244d851d92fedbc6adef28d","gitHead":"e32299f2511ba9b971f90202c2568fc4bfeef442","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"redexp@ukr.net"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"3.3.12","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"5.4.1","devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff-1.4.0.tgz_1474090432339_0.024886494502425194","host":"packages-16-east.internal.npmjs.com"}},"1.5.0":{"name":"simple-diff","version":"1.5.0","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.5.0","maintainers":[{"name":"redexp","email":"redexp@ukr.net"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"1d9d7582ac49ca31085e0759ee739039d47f4380","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.5.0.tgz","integrity":"sha512-swFa2KnoVQyxoIgdX8Ao5DAT1cKkSA3T6hyfMS+dHDgREMGhQFc9TLM9ZHW4f3a8LZ9CCYq/EWwbHSHS/O32Ew==","signatures":[{"sig":"MEUCIQCgxQd0GasUTz7qqsWUhlF0RMUccM7Nsvwfk3iW+paSSQIgXJjOk2rbBQ7w/JyBf8Us+008Km9HtV5QEw9pUJHMWGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"simple-diff.js","_from":".","_shasum":"1d9d7582ac49ca31085e0759ee739039d47f4380","gitHead":"e31626adc5d51fb4eb33f4d8cbd47ea05e9d44a7","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"redexp@ukr.net"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"3.3.12","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"5.4.1","devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","sinon":"^1.17.7","sinon-chai":"^2.8.0","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff-1.5.0.tgz_1487313952686_0.27893670182675123","host":"packages-18-east.internal.npmjs.com"}},"1.6.0":{"name":"simple-diff","version":"1.6.0","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.6.0","maintainers":[{"name":"redexp","email":"redexp@ukr.net"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"9bb5d950a7b464d1ecc86f204e88365019d5a542","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.6.0.tgz","integrity":"sha512-99OIdUsKPcn8V8eGl+UGy3H95WpKcZGv3Iz/CoPCt6ZV4XuYkxk38sWEDXyXL7xOUfLoKHA4zXlcp3Z4DhxN0g==","signatures":[{"sig":"MEYCIQCSfSNNUuNCG6v1xX/HNHBHIia8hq1Ksz+VAJ/JjtHbbgIhALoTzDIhOBYFWNvRddorCZnFvz7qoPLdoTNxke2ZB6H8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"simple-diff.js","_from":".","_shasum":"9bb5d950a7b464d1ecc86f204e88365019d5a542","gitHead":"3abd2c557c8ed6e1696bec55ff294c025bdcad10","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"redexp@ukr.net"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"3.3.12","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"5.4.1","devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","sinon":"^1.17.7","sinon-chai":"^2.8.0","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff-1.6.0.tgz_1487341715402_0.8542681867256761","host":"packages-18-east.internal.npmjs.com"}},"1.7.0":{"name":"simple-diff","version":"1.7.0","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.7.0","maintainers":[{"name":"redexp","email":"sergiikliuchnyk@gmail.com"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"e35178c06cd2d67ac2b37be58bcc407c5ac410ed","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.7.0.tgz","fileCount":10,"integrity":"sha512-tdT060npow0l5Ur5PzruDAsWBEBstHUpvsHYPQH+X64bKOVXXGVG2IYA1/+lPc8FMhpRdLNC1KfWsqs2sIwdtA==","signatures":[{"sig":"MEYCIQDa/XoDE2EOjHwbWwi502TAie8E6NcM0dZl/eyD8HeGUQIhAOqVnayCyGhBx/IpCw1FiHzKxz2dm4oloKW904SXglFw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHXmgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmolxxAAopZHFNRjNaxEwZiE9EcktFDJ4SYNF5F71nLKDTKqipQufECC\r\nKHMWxMcGeAyMUb3JplCwxfQI/FWIudgaSeVYqzdnGSuddzbQ6J8n+cHHnqV0\r\nlm0hrsIQ/hSb+r1IU5+2UZdnwLvWRvRdiUMF8SHn96BXcx0nHC2DRHX4SPG6\r\nnb1Qr6xQx2aILSIxwfgPPZ7NC4jWB2i4S7ZaNhZR57f/K/HDjPVNPQxxPF7V\r\n7M2niDLNTKqqmpp8Zu51aq94/JkdTroDpGdjQgBf5tTyMbd2uqsIndpr30vh\r\nhCHggr+qIzr9vD6LyHAEi/OFPrZ0XuzSg2gV6GjsXqD2hYkxApEJOFh4wlXG\r\n9a4CORaH5ismUN8W/drEaM7xu0Ab/IEFaLTjluY5lI55GbT642WSK8YV2ODy\r\nckYIdpNrVzemHxEC9lJaEyZ22ELnhIAAO05y3If6aUP7ObV9HWMH5ZBKahUx\r\nC3QHrfjwAvARwvc44l2Yk9qnoKtY4LEBwGWYKsGFBltUvlO1hxXnnQAa12uS\r\nnUaGZx2brfhnsAHI4Yy1nFVYEGZeaNcUN2/xBD75n+0Se3x3NPiA+OD3BG8m\r\n+uAYjIDJ1ovmpeISqUAqySW7V4CIXndNBCJfwJk45n0OSAtrbECt1sx5zyL9\r\nM95g4jADs1RVkRQiZXZ1sSHAoncWLXjdvJs=\r\n=mY4z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"simple-diff.js","types":"simple-diff.d.ts","gitHead":"51bfed7f8d17e22b6e8eeadfe005df79f0f568db","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"sergiikliuchnyk@gmail.com"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"6.14.18","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"14.21.3","_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","sinon":"^1.17.7","sinon-chai":"^2.8.0","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff_1.7.0_1679653280105_0.5836765485268316","host":"s3://npm-registry-packages"}},"1.7.1":{"name":"simple-diff","version":"1.7.1","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.7.1","maintainers":[{"name":"redexp","email":"sergiikliuchnyk@gmail.com"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"88a628222eb66799cf0844ca4314b8a4030514de","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.7.1.tgz","fileCount":10,"integrity":"sha512-adwK0aCHYSLEDOiAxb4TjGE3h2WGFox2Luzkqy9m68O/P2iEpZbcnFYKqrbWVgKXf/pUt+8yXvfSU38vXI8GSg==","signatures":[{"sig":"MEUCIQCQTcCucx+6m1SRyeMC4ldH9p7zSEBAWYCb3O3NqzwKNAIgNBbgDSGs9bjsoelQOLU5MU7Z6a4tBwkHRCzquWolBGQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIKiaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpa8g/+L6v67FXLje6DBnyqR4UYVfuAFEwwHf1UWzs8maAYaVbe6MW1\r\nnPC6iAJAfw4OgOX/N3rtOWcvSkoSXYavaqtXLdK3KTuAmjPgcpcixhkEGcJW\r\nAwsAyNsxLGabGxkSMncQ8DNu5DVzogXJ9wvJK2oReFgYcBUGkQYkcxM3lnZZ\r\nNKwiZrCGu+7DGj4qasvNZq+0uxbhJZXD/36B8NcmXHwfNOIAEJRGhAntZdbj\r\nB/7OWUjmuZtTcAVPtWtCsicrAdhSlU4a1Yj73zup4ROABr19J1bo2Bm7k93o\r\n6ic71DRHXr58yYqPZUzVt27uQqjdbZWV2K3gLbYzB2YG1PIKcGtl27kMXw43\r\nx+ln5+oaonm67gvTqGNCtqEy0OToM5D3O6bQ2i35tH8PtzYvnA7P+pLaOrZV\r\nXk3OIdSbMn+WLsSBDfs4VV+0EDllgj2y7HKxTb+1IapuJmRpgapwb4THW6TJ\r\ntJZ8Fvnz7yF9KK+oEOY6HxCOSETMm6Sp4HCj2lccHOuqUPzVGNH4ozZLFyXZ\r\n1eBJOvO+k9jygbAt2mQueNo0gXnpy2Rca5pZiDUrvNY7Nm+VP0uPn8gRo+Vk\r\nkT5tjxWGOX6Kl9fjjPGFA3f/7VyDYgdxInwcpt6cRFbpLIYvwj8dg+Y+Sjpv\r\n/BIGSAKrI02ovntB5yySjsoLm6WMF74r27Q=\r\n=DKJD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"simple-diff.js","types":"simple-diff.d.ts","gitHead":"c248d39cf05d14bcf2e189586e462de75b84abc8","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"sergiikliuchnyk@gmail.com"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"6.14.18","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"14.21.3","_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","sinon":"^1.17.7","sinon-chai":"^2.8.0","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff_1.7.1_1679861914602_0.09086390977446546","host":"s3://npm-registry-packages"}},"1.7.2":{"name":"simple-diff","version":"1.7.2","keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","_id":"simple-diff@1.7.2","maintainers":[{"name":"redexp","email":"sergiikliuchnyk@gmail.com"}],"homepage":"https://github.com/redexp/simple-diff#readme","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"dist":{"shasum":"2bd1877a42b50e9d7d2280cef6d142590cb694ef","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.7.2.tgz","fileCount":10,"integrity":"sha512-7UPeBrh/I1zlY33vyUL5R0J1rP4HqP1zMpbuYw0+Lbq4OhWWadUi0dNziRMrQzjJsk2MoPwKDLHacjGpolUiqQ==","signatures":[{"sig":"MEUCIF7l9hqSB9XY6R94tAg6Z/gCUwyqksr1vPM/2+QSLE8QAiEA9QTMgXq8WdCelgDkErkU2i10MurZn81jpat6hN/KJ9I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40555},"main":"simple-diff.js","types":"simple-diff.d.ts","gitHead":"2564260750f4d35ba7dd88861f1ea9b20acfd285","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"redexp","email":"sergiikliuchnyk@gmail.com"},"repository":{"url":"git+https://github.com/redexp/simple-diff.git","type":"git"},"_npmVersion":"10.1.0","description":"simple diff for object and arrays with options","directories":{},"_nodeVersion":"20.7.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.5.3","sinon":"^1.17.7","sinon-chai":"^2.8.0","gulp-rename":"^1.2.2","gulp-uglify":"^1.5.4","gulp-replace":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/simple-diff_1.7.2_1698395709896_0.08838946940299519","host":"s3://npm-registry-packages"}},"1.7.3":{"name":"simple-diff","version":"1.7.3","description":"simple diff for object and arrays with options","main":"simple-diff.js","types":"simple-diff.d.ts","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git+https://github.com/redexp/simple-diff.git"},"keywords":["diff"],"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"homepage":"https://github.com/redexp/simple-diff#readme","devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","gulp-rename":"^1.2.2","gulp-replace":"^0.5.4","gulp-uglify":"^1.5.4","mocha":"^2.5.3","sinon":"^1.17.7","sinon-chai":"^2.8.0"},"_id":"simple-diff@1.7.3","gitHead":"41cfece13bcd1c423a94c788111c5fa61250ac9d","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-GDsmY1LEX8r+GQutS8H01exRmJOrtBZoEbD++W4iYAurcHZCZfW7blA4ERUkRWV6RaCjSkCT67G00mAfrI9Mfw==","shasum":"967c06ff39791a623ca5be7011cb42b0e9fbf5b2","tarball":"https://registry.npmjs.org/simple-diff/-/simple-diff-1.7.3.tgz","fileCount":10,"unpackedSize":40614,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBBbNid3v811UYOVc93VO2hhVivuKiPGyEFCijYCUcrXAiEAzzUmZKLzPMw8a+3Guachs92Up8JRPv75CxT/46IO8h0="}]},"_npmUser":{"name":"redexp","email":"sergiikliuchnyk@gmail.com"},"directories":{},"maintainers":[{"name":"redexp","email":"sergiikliuchnyk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/simple-diff_1.7.3_1772952115383_0.3579355212466875"},"_hasShrinkwrap":false}},"time":{"created":"2016-07-25T05:10:54.548Z","modified":"2026-03-08T06:41:55.623Z","1.0.1":"2016-07-25T05:10:54.548Z","1.1.0":"2016-07-29T03:55:51.273Z","1.2.0":"2016-08-04T07:45:24.486Z","1.3.0":"2016-08-09T11:32:06.668Z","1.4.0":"2016-09-17T05:33:53.930Z","1.5.0":"2017-02-17T06:45:53.301Z","1.6.0":"2017-02-17T14:28:36.005Z","1.7.0":"2023-03-24T10:21:20.279Z","1.7.1":"2023-03-26T20:18:34.795Z","1.7.2":"2023-10-27T08:35:10.125Z","1.7.3":"2026-03-08T06:41:55.518Z"},"bugs":{"url":"https://github.com/redexp/simple-diff/issues"},"author":{"name":"Sergii Kliuchnyk"},"license":"MIT","homepage":"https://github.com/redexp/simple-diff#readme","keywords":["diff"],"repository":{"type":"git","url":"git+https://github.com/redexp/simple-diff.git"},"description":"simple diff for object and arrays with options","maintainers":[{"name":"redexp","email":"sergiikliuchnyk@gmail.com"}],"readme":"simple-diff\n===========\n\nLib for simple diff with detection of moved items in array\n\n[![Build Status](https://travis-ci.org/redexp/simple-diff.svg?branch=master)](https://travis-ci.org/redexp/simple-diff)\n\n```javascript\nvar oldObject = {\n    prop1: 'value1',\n    prop2: [\n        {\n            id: 1,\n            name: 'name1'\n        },\n        {\n            id: 2,\n            name: 'name2'\n        },\n        {\n            id: 3,\n            name: 'name3'\n        },\n        {\n            id: 4,\n            name: 'name4'\n        }\n    ]\n};\n\nvar newObject = {\n    prop1: 'value01',\n    prop2: [\n        {\n            id: 2\n        },\n        {\n            id: 1,\n            name: 'name01'\n        },\n        {\n            id: 4,\n            name: 'name4'\n        },\n        {\n            id: 5,\n            name: 'name5'\n        }\n    ],\n    prop3: 'value3'\n};\n\nvar changes = diff(oldObject, newObject, {\n    idProp: 'id'\n});\n\nconsole.log(changes);\n```\nOutput\n```javascript\n[\n    {\n        oldPath: ['prop1'],\n        newPath: ['prop1'],\n        type: 'change',\n        oldValue: 'value1',\n        newValue: 'value01'\n    },\n    {\n        oldPath: ['prop2'],\n        newPath: ['prop2'],\n        type: 'remove-item',\n        oldIndex: 2,\n        curIndex: 2,\n        newIndex: -1,\n        oldValue: {\n            id: 3,\n            name: 'name3'\n        }\n    },\n    {\n        oldPath: ['prop2'],\n        newPath: ['prop2'],\n        type: 'add-item',\n        oldIndex: -1,\n        curIndex: -1,\n        newIndex: 3,\n        newValue: {\n            id: 5, \n            name: 'name5'\n        }\n    },\n    {\n        oldPath: ['prop2'],\n        newPath: ['prop2'],\n        type: 'move-item',\n        oldIndex: 1,\n        curIndex: 1,\n        newIndex: 0\n    },\n    {\n        oldPath: ['prop2', 1, 'name'],\n        newPath: ['prop2', 0, 'name'],\n        type: 'remove',\n        oldValue: 'name2',\n        newValue: undefined\n    },\n    {\n        oldPath: ['prop2', 0, 'name'],\n        newPath: ['prop2', 1, 'name'],\n        type: 'change',\n        oldValue: 'name1',\n        newValue: 'name01'\n    },\n    {\n        oldPath: ['prop3'],\n        newPath: ['prop3'],\n        type: 'add',\n        oldValue: undefined,\n        newValue: 'value3'\n    }\n]\n```\n \n# Installation\n\n`npm i simple-diff`\n\n`bower i simple-diff`\n\nLib will look for CommonJS or AMD or will be added global function called `simpleDiff()`.\n\n# Options\n\n## `idProp: 'id' || '*'`\n\nProperty name with unique value in it array. Default value is `id`. If your arrays do not have unique properties then you should set this option as `*` and lib will compare items one by one without trying to find moved items. \n \n## `idProps: {'path': 'propName' || '*'}` \n\nHash where key is path to array and value is id property. Path examples: `users.list`, `user.list.1.friends`, `users.list.*.friends`\n\n## `comparators: [[Class, function (oldValue, newValue, options)], ...]`\n\nArray of comparators to handle comparison of objects which do not have own properties. For example instead of `user.name` you have `user.getName()` or you need to compare `Date` objects or you just know quick way to compare large objects like by `id` property and you do not need full list of changes of those objects. First value of comparator should be some class and second is function which should return `true` if objects are equal and `false` if they not. In `options` will be `oldPath` and `newPath`.\n```javascript\nvar now = new Date();\nvar prevHour = new Date();\nprevHour.setHours(-1);\n\nvar changes = diff(\n\t{\n\t\tcreatedAt: now\n\t},\n\t{\n\t\tcreatedAt: prevHour\n\t},\n\t{\n\t\tcomparators: [\n\t\t\t[Date, function(oldValue, newValue, options) {\n\t\t\t    options.oldPath; // ['createdAt']\n\t\t\t    options.newPath; // ['createdAt']\n\t\t\t    \n\t\t\t    return oldValue.toString() === newValue.toString();\n\t\t\t}]\n\t\t]\n\t}\n);\n```\n\n## `ignore: function (oldValue, newValue, options)`\n\nFunction which will be called before each object comparison and if returning value will be `true` then objects will be ignored. In `options` will be `oldPath` and `newPath`. Useful to prevent from traversing through circular references and when you don't want to compare some kind of objects at all.\n\n## `callback: function (event)` \n\nFunction which will be called for each event. If callback is passed then lib will not create array of all changes.\n\n## `addEvent: 'add'`\n\nName of event when new property added to object. Default value is `add`\n\n## `changeEvent: 'change'` \n\nName of event when property value changed. Default value is `change`\n\n## `removeEvent: 'remove'` \n\nName of event when property removed from object. Default value is `remove`\n\n## `addItemEvent: 'add-item'` \n\nName of event when new item added to array. Default value is `add-item`\n\n## `removeItemEvent: 'remove-item'` \n\nName of event when item removed from array. Default value is `remove-item`\n\n## `moveItemEvent: 'move-item'` \n\nName of event when item changed it index in array. Default value is `move-item`\n\n","readmeFilename":"README.md"}