{"_id":"@egjs/list-differ","_rev":"3347625","name":"@egjs/list-differ","description":"A module that checks the diff when values are added, removed, or changed in an array.","dist-tags":{"beta":"1.0.1-beta.0","latest":"1.0.1"},"maintainers":[{"name":"ajaxpf","email":""},{"name":"anuu0916","email":""},{"name":"braixen","email":""},{"name":"happyhj","email":"heejae.kim@navercorp.com"},{"name":"jongmoon","email":"jongmoon.yoon@gmail.com"},{"name":"mixed","email":"i.nevalose@gmail.com"},{"name":"netil","email":"alberto.park@gmail.com"},{"name":"sculove","email":"sculove@gmail.com"},{"name":"woodneck","email":"saiyu915@naver.com"},{"name":"younkue","email":""}],"time":{"modified":"2024-08-07T03:51:18.000Z","created":"2019-05-08T11:56:40.294Z","1.0.1":"2023-04-07T04:10:42.717Z","1.0.1-beta.0":"2023-04-06T06:35:28.357Z","1.0.0":"2019-08-05T08:35:53.723Z","0.1.0":"2019-07-31T08:11:24.487Z","0.0.1":"2019-05-10T09:56:55.326Z","0.0.0":"2019-05-08T11:56:40.294Z"},"users":{},"author":{"name":"NAVER Corp."},"repository":{"type":"git","url":"git+https://github.com/naver/egjs-list-differ.git"},"versions":{"1.0.1":{"name":"@egjs/list-differ","version":"1.0.1","description":"A module that checks the diff when values are added, removed, or changed in an array.","main":"./dist/list-differ.js","module":"./dist/list-differ.esm.js","types":"./declaration/index.d.ts","es2015":"dist/list-differ.esm.js","sideEffects":false,"scripts":{"start":"rollup -c -w","test":"jest --watchAll","coverage":"jest --coverage && print-coveralls --sort=desc","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rm -rf ./dist ./declaration && rollup -c && npm run declaration && npm run printsizes","declaration":"rm -rf declaration && tsc -p tsconfig.declaration.json","printsizes":"print-sizes ./dist --exclude=\\.map","lint":"tslint -c tslint.json 'src/**/*.ts'","jsdoc":"rm -rf ./doc && jsdoc -c jsdoc.json","demo:build":"npm run build && cpx 'dist/**/*' demo/release/latest/dist --clean","demo:prebuild-version":"cpx 'dist/**/*' demo/release/$npm_package_version/dist --clean && cpx 'doc/**/*' demo/release/$npm_package_version/doc --clean","demo:prebuild-latest":"cpx 'dist/**/*' demo/release/latest/dist --clean && cpx 'doc/**/*' demo/release/latest/doc --clean","demo:deploy-init":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --remote upstream","demo:deploy":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --add --remote upstream","release":"release-helper upstream"},"repository":{"type":"git","url":"git+https://github.com/naver/egjs-list-differ.git"},"author":{"name":"NAVER Corp."},"namespace":{"eg":"eg"},"keywords":["diff","arr","list","children","dom","differ","data"],"license":"MIT","dependencies":{},"devDependencies":{"@daybrush/jsdoc":"^0.3.7","@egjs/build-helper":"0.0.5","@egjs/release-helper":"0.0.3","@types/jest":"^24.0.11","@types/sinon":"^7.0.11","coveralls":"^3.0.3","cpx":"^1.5.0","egjs-jsdoc-template":"^1.4.4","gh-pages":"^2.1.0","jest":"^24.7.1","print-coveralls":"^1.2.2","print-sizes":"^0.1.0","rollup":"^1.8.0","sinon":"^7.3.1","ts-jest":"^24.0.1","tslint":"^5.15.0","typescript":"^3.0.3"},"gitHead":"325d0a85467efd524689d4372ea8816fef5433c1","bugs":{"url":"https://github.com/naver/egjs-list-differ/issues"},"homepage":"https://github.com/naver/egjs-list-differ#readme","_id":"@egjs/list-differ@1.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"5772b0f8b87973bb67827f6c7d7df8d7f64a22eb","size":18260,"noattachment":false,"key":"/@egjs/list-differ/-/@egjs/list-differ-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@egjs/list-differ/download/@egjs/list-differ-1.0.1.tgz"},"_npmUser":{"name":"braixen","email":"malangfox@naver.com"},"directories":{},"maintainers":[{"name":"ajaxpf","email":""},{"name":"anuu0916","email":""},{"name":"braixen","email":""},{"name":"happyhj","email":"heejae.kim@navercorp.com"},{"name":"jongmoon","email":"jongmoon.yoon@gmail.com"},{"name":"mixed","email":"i.nevalose@gmail.com"},{"name":"netil","email":"alberto.park@gmail.com"},{"name":"sculove","email":"sculove@gmail.com"},{"name":"woodneck","email":"saiyu915@naver.com"},{"name":"younkue","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-differ_1.0.1_1680840642497_0.8358624147697775"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-07T04:10:42.717Z","publish_time":1680840642717,"_cnpm_publish_time":1680840642717},"1.0.1-beta.0":{"name":"@egjs/list-differ","version":"1.0.1-beta.0","description":"A module that checks the diff when values are added, removed, or changed in an array.","main":"./dist/list-differ.js","module":"./dist/list-differ.esm.js","types":"./declaration/index.d.ts","es2015":"dist/list-differ.esm.js","sideEffects":false,"scripts":{"start":"rollup -c -w","test":"jest --watchAll","coverage":"jest --coverage && print-coveralls --sort=desc","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rm -rf ./dist ./declaration && rollup -c && npm run declaration && npm run printsizes","declaration":"rm -rf declaration && tsc -p tsconfig.declaration.json","printsizes":"print-sizes ./dist --exclude=\\.map","lint":"tslint -c tslint.json 'src/**/*.ts'","jsdoc":"rm -rf ./doc && jsdoc -c jsdoc.json","demo:build":"npm run build && cpx 'dist/**/*' demo/release/latest/dist --clean","demo:prebuild-version":"cpx 'dist/**/*' demo/release/$npm_package_version/dist --clean && cpx 'doc/**/*' demo/release/$npm_package_version/doc --clean","demo:prebuild-latest":"cpx 'dist/**/*' demo/release/latest/dist --clean && cpx 'doc/**/*' demo/release/latest/doc --clean","demo:deploy-init":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --remote upstream","demo:deploy":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --add --remote upstream","release":"release-helper upstream"},"repository":{"type":"git","url":"git+https://github.com/naver/egjs-list-differ.git"},"author":{"name":"NAVER Corp."},"namespace":{"eg":"eg"},"keywords":["diff","arr","list","children","dom","differ","data"],"license":"MIT","dependencies":{},"devDependencies":{"@daybrush/jsdoc":"^0.3.7","@egjs/build-helper":"0.0.5","@egjs/release-helper":"0.0.3","@types/jest":"^24.0.11","@types/sinon":"^7.0.11","coveralls":"^3.0.3","cpx":"^1.5.0","egjs-jsdoc-template":"^1.4.4","gh-pages":"^2.1.0","jest":"^24.7.1","print-coveralls":"^1.2.2","print-sizes":"^0.1.0","rollup":"^1.8.0","sinon":"^7.3.1","ts-jest":"^24.0.1","tslint":"^5.15.0","typescript":"^3.0.3"},"readmeFilename":"README.md","gitHead":"fda66a2a534d40f44c6371cfdbb37a3fa968d5ac","bugs":{"url":"https://github.com/naver/egjs-list-differ/issues"},"homepage":"https://github.com/naver/egjs-list-differ#readme","_id":"@egjs/list-differ@1.0.1-beta.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"f082c5b28fb2e3ba1346fb934866448340b1c768","size":19563,"noattachment":false,"key":"/@egjs/list-differ/-/@egjs/list-differ-1.0.1-beta.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@egjs/list-differ/download/@egjs/list-differ-1.0.1-beta.0.tgz"},"_npmUser":{"name":"braixen","email":"malangfox@naver.com"},"directories":{},"maintainers":[{"name":"ajaxpf","email":""},{"name":"anuu0916","email":""},{"name":"braixen","email":""},{"name":"happyhj","email":"heejae.kim@navercorp.com"},{"name":"jongmoon","email":"jongmoon.yoon@gmail.com"},{"name":"mixed","email":"i.nevalose@gmail.com"},{"name":"netil","email":"alberto.park@gmail.com"},{"name":"sculove","email":"sculove@gmail.com"},{"name":"woodneck","email":"saiyu915@naver.com"},{"name":"younkue","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-differ_1.0.1-beta.0_1680762928186_0.9446553887570996"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-06T06:35:28.357Z","publish_time":1680762928357,"_cnpm_publish_time":1680762928357},"1.0.0":{"name":"@egjs/list-differ","version":"1.0.0","description":"A module that checks the diff when values are added, removed, or changed in an array.","main":"./dist/list-differ.js","module":"./dist/list-differ.esm.js","types":"./declaration/index.d.ts","es2015":"dist/list-differ.esm.js","sideEffects":false,"scripts":{"start":"rollup -c -w","test":"jest --watchAll","coverage":"jest --coverage && print-coveralls --sort=desc","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rm -rf ./dist ./declaration && rollup -c && npm run declaration && npm run printsizes","declaration":"rm -rf declaration && tsc -p tsconfig.declaration.json","printsizes":"print-sizes ./dist --exclude=\\.map","lint":"tslint -c tslint.json 'src/**/*.ts'","jsdoc":"rm -rf ./doc && jsdoc -c jsdoc.json","demo:build":"npm run build && cpx 'dist/**/*' demo/release/latest/dist --clean","demo:prebuild-version":"cpx 'dist/**/*' demo/release/$npm_package_version/dist --clean && cpx 'doc/**/*' demo/release/$npm_package_version/doc --clean","demo:prebuild-latest":"cpx 'dist/**/*' demo/release/latest/dist --clean && cpx 'doc/**/*' demo/release/latest/doc --clean","demo:deploy-init":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --remote upstream","demo:deploy":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --add --remote upstream","release":"release-helper upstream"},"repository":{"type":"git","url":"git+https://github.com/naver/egjs-list-differ.git"},"author":{"name":"NAVER Corp."},"namespace":{"eg":"eg"},"keywords":["diff","arr","list","children","dom","differ","data"],"license":"MIT","dependencies":{},"devDependencies":{"@daybrush/jsdoc":"^0.3.7","@egjs/build-helper":"0.0.5","@egjs/release-helper":"0.0.3","@types/jest":"^24.0.11","@types/sinon":"^7.0.11","coveralls":"^3.0.3","cpx":"^1.5.0","egjs-jsdoc-template":"^1.4.4","gh-pages":"^2.1.0","jest":"^24.7.1","print-coveralls":"^1.2.2","print-sizes":"^0.1.0","rollup":"^1.8.0","sinon":"^7.3.1","ts-jest":"^24.0.1","tslint":"^5.15.0","typescript":"^3.0.3"},"gitHead":"8d0325988ab6e56e58ac4e20c312c4a0057108af","bugs":{"url":"https://github.com/naver/egjs-list-differ/issues"},"homepage":"https://github.com/naver/egjs-list-differ#readme","_id":"@egjs/list-differ@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"2277aff52e3e4bd9318d5c30ffc3ba3b6216f05e","size":2941015,"noattachment":false,"key":"/@egjs/list-differ/-/@egjs/list-differ-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@egjs/list-differ/download/@egjs/list-differ-1.0.0.tgz"},"maintainers":[{"name":"ajaxpf","email":""},{"name":"anuu0916","email":""},{"name":"braixen","email":""},{"name":"happyhj","email":"heejae.kim@navercorp.com"},{"name":"jongmoon","email":"jongmoon.yoon@gmail.com"},{"name":"mixed","email":"i.nevalose@gmail.com"},{"name":"netil","email":"alberto.park@gmail.com"},{"name":"sculove","email":"sculove@gmail.com"},{"name":"woodneck","email":"saiyu915@naver.com"},{"name":"younkue","email":""}],"_npmUser":{"name":"younkue","email":"daybrush@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-differ_1.0.0_1564994153416_0.7230667860990061"},"_hasShrinkwrap":false,"publish_time":1564994153723,"_cnpm_publish_time":1564994153723,"_cnpmcore_publish_time":"2021-12-16T21:51:09.500Z"},"0.1.0":{"name":"@egjs/list-differ","version":"0.1.0","description":"A module that checks the diff when values are added, removed, or changed in an array.","main":"./dist/list-differ.js","module":"./dist/list-differ.esm.js","types":"./declaration/index.d.ts","es2015":"dist/list-differ.esm.js","sideEffects":false,"scripts":{"start":"rollup -c -w","test":"jest --watchAll","coverage":"jest --coverage && print-coveralls --sort=desc","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rm -rf ./dist ./declaration && rollup -c && npm run declaration && npm run printsizes","declaration":"rm -rf declaration && tsc -p tsconfig.declaration.json","printsizes":"print-sizes ./dist --exclude=\\.map","lint":"tslint -c tslint.json 'src/**/*.ts'","jsdoc":"rm -rf ./doc && jsdoc -c jsdoc.json","demo:build":"npm run build && cpx 'dist/**/*' demo/release/latest/dist --clean","demo:prebuild-version":"cpx 'dist/**/*' demo/release/$npm_package_version/dist --clean && cpx 'doc/**/*' demo/release/$npm_package_version/doc --clean","demo:prebuild-latest":"cpx 'dist/**/*' demo/release/latest/dist --clean && cpx 'doc/**/*' demo/release/latest/doc --clean","demo:deploy-init":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --remote upstream","demo:deploy":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --add --remote upstream","release":"release-helper oss"},"repository":{"type":"git","url":"git+https://github.com/naver/egjs-list-differ.git"},"author":{"name":"NAVER Corp."},"namespace":{"eg":"eg"},"keywords":["diff","arr","list","children","dom","differ","data"],"license":"MIT","dependencies":{},"devDependencies":{"@daybrush/jsdoc":"^0.3.7","@egjs/build-helper":"0.0.5","@egjs/release-helper":"0.0.3","@types/jest":"^24.0.11","@types/sinon":"^7.0.11","coveralls":"^3.0.3","cpx":"^1.5.0","egjs-jsdoc-template":"^1.4.4","jest":"^24.7.1","print-coveralls":"^1.2.2","print-sizes":"^0.1.0","rollup":"^1.8.0","sinon":"^7.3.1","ts-jest":"^24.0.1","tslint":"^5.15.0","typescript":"^3.0.3"},"gitHead":"b34042ab3841299dd00533443c5269ed4542ed8e","bugs":{"url":"https://github.com/naver/egjs-list-differ/issues"},"homepage":"https://github.com/naver/egjs-list-differ#readme","_id":"@egjs/list-differ@0.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"177666464fd19f05595a69d10d3c0c677d3c0c97","size":2704712,"noattachment":false,"key":"/@egjs/list-differ/-/@egjs/list-differ-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@egjs/list-differ/download/@egjs/list-differ-0.1.0.tgz"},"maintainers":[{"name":"ajaxpf","email":""},{"name":"anuu0916","email":""},{"name":"braixen","email":""},{"name":"happyhj","email":"heejae.kim@navercorp.com"},{"name":"jongmoon","email":"jongmoon.yoon@gmail.com"},{"name":"mixed","email":"i.nevalose@gmail.com"},{"name":"netil","email":"alberto.park@gmail.com"},{"name":"sculove","email":"sculove@gmail.com"},{"name":"woodneck","email":"saiyu915@naver.com"},{"name":"younkue","email":""}],"_npmUser":{"name":"younkue","email":"daybrush@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-differ_0.1.0_1564560684138_0.8537185749132805"},"_hasShrinkwrap":false,"publish_time":1564560684487,"_cnpm_publish_time":1564560684487,"_cnpmcore_publish_time":"2021-12-16T21:51:17.170Z"},"0.0.1":{"name":"@egjs/list-differ","version":"0.0.1","description":"A module that checks the diff when values are added, removed, or changed in an array.","main":"./dist/list-differ.js","module":"./dist/list-differ.esm.js","types":"./declaration/index.d.ts","es2015":"dist/list-differ.esm.js","sideEffects":false,"scripts":{"start":"rollup -c -w","test":"jest --watchAll","coverage":"jest --coverage && print-coveralls --sort=desc","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rm -rf ./dist ./declaration && rollup -c && npm run declaration && npm run printsizes","declaration":"rm -rf declaration && tsc -p tsconfig.declaration.json","printsizes":"print-sizes ./dist --exclude=\\.map","lint":"tslint -c tslint.json 'src/**/*.ts'","jsdoc":"rm -rf ./doc && jsdoc -c jsdoc.json","demo:build":"npm run build && cpx 'dist/**/*' demo/release/latest/dist --clean","demo:prebuild-version":"cpx 'dist/**/*' demo/release/$npm_package_version/dist --clean && cpx 'doc/**/*' demo/release/$npm_package_version/doc --clean","demo:prebuild-latest":"cpx 'dist/**/*' demo/release/latest/dist --clean && cpx 'doc/**/*' demo/release/latest/doc --clean","demo:deploy-init":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --remote upstream","demo:deploy":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --add --remote upstream","release":"release-helper oss"},"repository":{"type":"git","url":"git+https://github.com/naver/egjs-list-differ.git"},"author":{"name":"NAVER Corp."},"namespace":{"eg":"eg"},"keywords":["diff","arr","list","children","dom","differ","data"],"license":"MIT","dependencies":{},"devDependencies":{"@daybrush/jsdoc":"^0.3.7","@egjs/release-helper":"0.0.3","@types/jest":"^24.0.11","@types/sinon":"^7.0.11","coveralls":"^3.0.3","cpx":"^1.5.0","egjs-jsdoc-template":"^1.4.4","jest":"^24.7.1","print-coveralls":"^1.2.2","print-sizes":"0.0.4","rollup":"^1.8.0","rollup-plugin-node-resolve":"^4.1.0","rollup-plugin-prototype-minify":"^1.0.5","rollup-plugin-replace":"^2.1.1","rollup-plugin-typescript":"^1.0.1","rollup-plugin-uglify":"^6.0.2","sinon":"^7.3.1","ts-jest":"^24.0.1","tslint":"^5.15.0","typescript":"^3.0.3"},"gitHead":"c5b8684adfa1b17e22bdd2adf49b31a1b74c1085","bugs":{"url":"https://github.com/naver/egjs-list-differ/issues"},"homepage":"https://github.com/naver/egjs-list-differ#readme","_id":"@egjs/list-differ@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"younkue","email":"daybrush@gmail.com"},"dist":{"shasum":"5ca258259eeb1869049af8aaf386abcd51d7cc61","size":1739416,"noattachment":false,"key":"/@egjs/list-differ/-/@egjs/list-differ-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@egjs/list-differ/download/@egjs/list-differ-0.0.1.tgz"},"maintainers":[{"name":"ajaxpf","email":""},{"name":"anuu0916","email":""},{"name":"braixen","email":""},{"name":"happyhj","email":"heejae.kim@navercorp.com"},{"name":"jongmoon","email":"jongmoon.yoon@gmail.com"},{"name":"mixed","email":"i.nevalose@gmail.com"},{"name":"netil","email":"alberto.park@gmail.com"},{"name":"sculove","email":"sculove@gmail.com"},{"name":"woodneck","email":"saiyu915@naver.com"},{"name":"younkue","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-differ_0.0.1_1557482215083_0.9628314471865538"},"_hasShrinkwrap":false,"publish_time":1557482215326,"_cnpm_publish_time":1557482215326,"_cnpmcore_publish_time":"2021-12-16T21:51:22.083Z"},"0.0.0":{"name":"@egjs/list-differ","version":"0.0.0","description":"A module that checks diff when values are added, removed, or changed in an array.","main":"./dist/listdiffer.js","module":"./dist/listdiffer.esm.js","types":"./declaration/index.d.ts","es2015":"dist/listdiffer.esm.js","sideEffects":false,"scripts":{"start":"rollup -c -w","test":"jest --watchAll","coverage":"jest --coverage && print-coveralls --sort=desc","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rm -rf ./dist ./declaration && rollup -c && npm run declaration && npm run printsizes","declaration":"rm -rf declaration && tsc -p tsconfig.declaration.json","printsizes":"print-sizes ./dist --exclude=\\.map","lint":"tslint -c tslint.json 'src/**/*.ts'","jsdoc":"rm -rf ./doc && jsdoc -c jsdoc.json","demo:build":"npm run build && cpx 'dist/**/*' demo/release/latest/dist --clean","demo:prebuild-version":"cpx 'dist/**/*' demo/release/$npm_package_version/dist --clean && cpx 'doc/**/*' demo/release/$npm_package_version/doc --clean","demo:prebuild-latest":"cpx 'dist/**/*' demo/release/latest/dist --clean && cpx 'doc/**/*' demo/release/latest/doc --clean","demo:deploy-init":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --remote upstream","demo:deploy":"npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d demo/ --add --remote upstream","release":"release-helper oss"},"repository":{"type":"git","url":"git+https://github.com/naver/egjs-list-differ.git"},"author":{"name":"NAVER Corp."},"namespace":{"eg":"eg"},"keywords":["diff","arr","list","children","dom","differ","data"],"license":"MIT","dependencies":{},"devDependencies":{"@daybrush/jsdoc":"^0.3.7","@egjs/release-helper":"0.0.3","@types/jest":"^24.0.11","@types/sinon":"^7.0.11","coveralls":"^3.0.3","cpx":"^1.5.0","egjs-jsdoc-template":"^1.4.4","jest":"^24.7.1","print-coveralls":"^1.2.2","print-sizes":"0.0.4","rollup":"^1.8.0","rollup-plugin-node-resolve":"^4.1.0","rollup-plugin-prototype-minify":"^1.0.5","rollup-plugin-replace":"^2.1.1","rollup-plugin-typescript":"^1.0.1","rollup-plugin-uglify":"^6.0.2","sinon":"^7.3.1","ts-jest":"^24.0.1","tslint":"^5.15.0","typescript":"^3.4.1"},"gitHead":"d1f8c80382474d2e29a1cefb9f2faf5a81e52a20","bugs":{"url":"https://github.com/naver/egjs-list-differ/issues"},"homepage":"https://github.com/naver/egjs-list-differ#readme","_id":"@egjs/list-differ@0.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"younkue","email":"daybrush@gmail.com"},"dist":{"shasum":"2fa9e501db75339d386291d2ae078f735af6db2e","size":257753,"noattachment":false,"key":"/@egjs/list-differ/-/@egjs/list-differ-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@egjs/list-differ/download/@egjs/list-differ-0.0.0.tgz"},"maintainers":[{"name":"ajaxpf","email":""},{"name":"anuu0916","email":""},{"name":"braixen","email":""},{"name":"happyhj","email":"heejae.kim@navercorp.com"},{"name":"jongmoon","email":"jongmoon.yoon@gmail.com"},{"name":"mixed","email":"i.nevalose@gmail.com"},{"name":"netil","email":"alberto.park@gmail.com"},{"name":"sculove","email":"sculove@gmail.com"},{"name":"woodneck","email":"saiyu915@naver.com"},{"name":"younkue","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-differ_0.0.0_1557316600129_0.14836346832751746"},"_hasShrinkwrap":false,"publish_time":1557316600294,"_cnpm_publish_time":1557316600294,"_cnpmcore_publish_time":"2021-12-16T21:51:23.117Z"}},"readme":"\n<p align=\"middle\"><img src=\"https://raw.githubusercontent.com/naver/egjs-list-differ/master/demo/images/logo.png\"/></p>\n<h2 align=\"middle\">@egjs/list-differ</h2>\n<p align=\"middle\"><a href=\"https://www.npmjs.com/package/@egjs/list-differ\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/@egjs/list-differ.svg?style=flat-square&color=007acc&label=version&logo=NPM\" alt=\"version\" /></a> <a href=\"https://travis-ci.org/naver/egjs-list-differ\" target=\"_blank\"><img alt=\"Travis (.org)\" src=\"https://img.shields.io/travis/naver/egjs-list-differ.svg?style=flat-square&label=build&logo=travis%20ci\" /></a> <a href=\"https://coveralls.io/github/naver/egjs-list-differ?branch=master&style=flat-square\" target=\"_blank\"><img alt=\"Coveralls github\" src=\"https://img.shields.io/coveralls/github/naver/egjs-list-differ.svg?style=flat-square&label=%E2%9C%85%20coverage\"></a> <a href=\"https://www.npmjs.com/package/@egjs/list-differ\" target=\"_blank\"><img src=\"https://img.shields.io/npm/dm/@egjs/list-differ.svg?style=flat-square&label=%E2%AC%87%20downloads&color=08CE5D\" alt=\"npm downloads per month\"></a>  <a href=\"https://github.com/naver/egjs-list-differ/blob/master/LICENSE\" target=\"_blank\"><img alt=\"GitHub\" src=\"https://img.shields.io/github/license/naver/egjs-list-differ.svg?style=flat-square&label=%F0%9F%93%9C%20license&color=08CE5D\"></a></p>\n\n\n<p align=\"middle\">➕➖???? A module that checks the diff when values are added, removed, or changed in an array.</p>\n\n\n\n## ⚙️ Installation\n\n```sh\n$ npm i @egjs/list-differ\n```\n\n```html\n<script src=\"//naver.github.io/egjs-list-differ/release/latest/dist/list-differ.min.js\"></script>\n```\n\n## ???? Documentation\n* See [**Documentation**](https://naver.github.io/egjs-list-differ/release/latest/doc/index.html) page.\n* [Introducing ListDiffer to track changes in data and track changes](https://medium.com/naver-fe-platform/introducing-listdiffer-to-track-changes-in-data-27793f0c6f4a)([한국어](https://medium.com/naver-fe-platform/%EB%8D%B0%EC%9D%B4%ED%84%B0%EC%9D%98-%EB%B3%80%ED%99%94%EB%A5%BC-%EC%95%8C%EC%95%84%EB%82%B4%EA%B3%A0-%EB%B3%80%ED%99%94-%EA%B3%BC%EC%A0%95%EC%9D%84-%EC%B6%94%EC%A0%81-%ED%95%98%EB%8A%94-listdiffer-9c3f1d770542))\n* [How to Make Cross Framework Component](https://medium.com/naver-fe-platform/how-to-make-cross-framework-component-ee76d76708b1)([한국어](https://medium.com/naver-fe-platform/cross-framework-component%EB%A5%BC-%EB%A7%8C%EB%93%9C%EB%8A%94-%EB%B0%A9%EB%B2%95-234b3fece353))\n\n\n## ???? Packages\n|Package|Version|Description|\n|:-----:|:-----:|:-----:|\n|[**@egjs/children-differ**](https://github.com/naver/egjs-children-differ)|<a href=\"https://www.npmjs.com/package/@egjs/children-differ\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/@egjs/children-differ.svg?style=flat-square&color=007acc&label=%F0%9F%94%96\" alt=\"version\" /></a>|A module that checks diff in DOM children.|\n|[**@egjs/react-children-differ**](https://github.com/naver/egjs-children-differ/blob/master/packages/react-children-differ/README.md)|<a href=\"https://www.npmjs.com/package/@egjs/react-children-differ\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/@egjs/react-children-differ.svg?style=flat-square&color=00d8ff&label=%F0%9F%94%96\" alt=\"version\" /></a>|<img width=\"15\" src=\"https://naver.github.io/egjs-flicking/images/react.svg\" valign=\"middle\" alt=\"React\" /> [React](https://reactjs.org/) port of @egjs/children-differ|\n|[**@egjs/ngx-children-differ**](https://github.com/naver/egjs-children-differ/blob/master/packages/ngx-children-differ/README.md)|<a href=\"https://www.npmjs.com/package/@egjs/ngx-children-differ\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/@egjs/ngx-children-differ.svg?style=flat-square&color=dd0031&label=%F0%9F%94%96\" alt=\"version\" /></a>|<img width=\"15\" src=\"https://naver.github.io/egjs-flicking/images/angular.svg\" valign=\"middle\" alt=\"Angular\" /> [Angular](https://angular.io/) port of @egjs/children-differ|\n|[**@egjs/vue-children-differ**](https://github.com/naver/egjs-children-differ/blob/master/packages/vue-children-differ/README.md)|<a href=\"https://www.npmjs.com/package/@egjs/vue-children-differ\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/@egjs/vue-children-differ.svg?style=flat-square&color=42b883&label=%F0%9F%94%96\" alt=\"version\" /></a>|<img width=\"15\" src=\"https://naver.github.io/egjs-flicking/images/vue.svg\" valign=\"middle\" alt=\"Vue.js\" /> [Vue.js](https://vuejs.org/v2/guide/index.html) port of @egjs/children-differ|\n\n## ???? How to use\n### checks the diff in array\n```js\nimport ListDiffer, { diff } from \"@egjs/list-differ\";\n\n// script => eg.ListDiffer\n// Value is key\nconst differ = new ListDiffer([1, 2, 3, 4, 5, 6, 7], e => e);\n// const result = diff([1, 2, 3, 4, 5, 6, 7], [4, 3, 6, 2, 1, 7], e => e);\nconst result = differ.update([4, 3, 6, 2, 1, 7]);\n// List before update\n// [1, 2, 3, 4, 5, 6, 7]\nconsole.log(result.prevList);\n// Updated list\n// [4, 3, 6, 2, 1, 7]\nconsole.log(result.list);\n// Index array of values added to `list`\n// [2]\nconsole.log(result.added);\n// Index array of values removed in `prevList`\n// [5, 4]\nconsole.log(result.removed);\n// An array of index pairs of `prevList` and `list` with different indexes from `prevList` and `list`\n// [[3, 0], [2, 1], [1, 3], [0, 4], [6, 5]]\nconsole.log(result.changed);\n// The subset of `changed` and an array of index pairs that moved data directly. Indicate an array of absolute index pairs of `ordered`.(Formatted by: Array<[index of prevList, index of list]>)\n// [[3, 0], [2, 1], [1, 3]]\nconsole.log(result.pureChanged);\n// An array of index pairs to be `ordered` that can synchronize `list` before adding data. (Formatted by: Array<[prevIndex, nextIndex]>)\n// [[3, 0], [3, 1], [3, 2]]\nconsole.log(result.ordered);\n// An array of index pairs of `prevList` and `list` that have not been added/removed so data is preserved\n// [[3, 0], [2, 1], [1, 3], [0, 4], [6, 5]]\nconsole.log(result.maintained);\n```\n### What is changed?\n* **changed**: An array of index pairs of `prevList` and `list` with different indexes from `prevList` and `list`\n* **pureChanged**: The subset of `changed` and an array of index pairs that moved data directly. Indicate an array of absolute index pairs of `ordered`.(Formatted by: Array<[index of prevList, index of list]>)\n\n\n||**changed**|**pureChanged:**|\n|---:|---|---|\n||[[3, 0], [2, 1], [1, 3], [0, 4], [6, 5]]|[[[3, 0], [2, 1], [1, 3]]||\n|prevList|![prev_list](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/changed_prev_list.png) |![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/changed_before_prev_list.png)|\n|process|<p align=\"center\">-</p>|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/changed_before_animation.gif)|\n|list|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/changed_list.png)|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/changed_before_list.png)|\n\n### What is ordered?\nAn array of index pairs to be `ordered` that can synchronize `list` before adding data. (Formatted by: Array<[prevIndex, nextIndex]>)\n\n||removed -> ordered -> added|\n|---:|---|\n|prevList|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/prev_list.png)|\n|removed<br/>[5, 4]|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/removed.png)|\n|ordered|[[3, 0], [3, 1], [3, 2]]|\n||![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/ordered_before_added.gif)|\n|ordered[0]<br/>[3 => 0]| ![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/ordered_before_ordered0.png)|\n|ordered[1]<br/>[3 => 1]| ![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/ordered_before_ordered1.png)|\n|ordered[2]<br/>[3 => 2]| ![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/ordered_before_ordered2.png)|\n|added<br/>[2]|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/ordered_before_added.png)|\n|list|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/list.png)|\n\n\n\n## Data Sync Examples\n```js\nimport ListDiffer, { diff } from \"@egjs/list-differ\";\n\nconst prevList = [1, 2, 3, 4, 5, 6, 7];\nconst list = [4, 3, 6, 2, 1, 7];\n// const differ = new ListDiffer(prevList, e => e);\n// const result = differ.update(list);\nconst result = diff(prevList, list, e => e);\n```\n\n### removed => ordered => added\n\n||removed => ordered => added|\n|---|---|\n|prevList|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/prev_list.png)|\n|process|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/changed_before_animation.gif)|\n|list|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/list.png)|\n\n*  Synchronize List\n```js\nconst nextList = prevList.slice();\nresult.removed.forEach(index => {\n  nextList.splice(index, 1);\n});\nresult.ordered.forEach(([from, to], i) => {\n  nextList.splice(from, 1);\n  nextList.splice(to, 0, list[result.pureChanged[i][1]]);\n});\nresult.added.forEach(index => {\n  nextList.splice(index, 0, list[index]);\n});\n// `nextList` is the same as `list`.\nconsole.log(nextList);\n```\n\n*  Synchronize DOM\n```js\nconst parentElement = document.querySelector(\".parent\");\nconst children = parentElement.children;\n\nresult.removed.forEach(index => {\n  children[index].remove();\n});\nresult.ordered.forEach(([from, to]) => {\n  parentElement.insertBefore(children[from], children[from < to ? to + 1 : to]);\n});\nresult.added.forEach(index => {\n  parentElement.insertBefore(document.createElement(\"div\"), children[index]);\n});\n```\n\n### removed => maintaind => added\n||maintaind => added|\n|---|---|\n|prevList|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/prev_list.png)|\n|process|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/maintained_with_added.gif)|\n|list|![](https://raw.githubusercontent.com/naver/egjs-list-differ/master/images/list.png)|\n\n* Synchronize List\n```js\nconst nextList: number[] = [];\nresult.removed.forEach(index => {\n  // There is a remove operation for the index.\n  // prevList[index];\n});\nresult.maintained.forEach(([from, to]) => {\n  nextList[to] = list[to];\n});\nresult.added.forEach(index => {\n  nextList[index] = list[index];\n});\n// `nextList` is the same as `list`.\nconsole.log(nextList);\n```\n\n*  Synchronize DOM\n```js\nconst parentElement = document.querySelector(\".parent\");\nconst children = parentElement.children;\nconst prevChildren: Element[] = [].slice.call(parentElement.children);\n\nresult.removed.forEach(index => {\n  prevChildren[index].remove();\n});\nresult.maintained.forEach(([from, to]) => {\n  parentElement.appendChild(prevChildren[from]);\n});\nresult.added.forEach(index => {\n  parentElement.insertBefore(document.createElement(\"div\"), children[index]);\n});\n```\n\n\n## ???? Contributing\nSee [CONTRIBUTING.md](https://github.com/naver/egjs-list-differ/blob/master/CONTRIBUTING.md).\n\n## ???? Feedback\nPlease file an [Issue](https://github.com/naver/egjs-list-differ/issues).\n\n## ???? License\n@egjs/list-differ is released under the [MIT license](https://github.com/naver/egjs-list-differ/blob/master/LICENSE).\n\n```\nCopyright (c) 2019-present NAVER Corp.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n```\n","_attachments":{},"homepage":"https://github.com/naver/egjs-list-differ#readme","bugs":{"url":"https://github.com/naver/egjs-list-differ/issues"},"license":"MIT"}