{"_id":"@swimlane/el-segundo","_rev":"223-74a31d061d10d6dcef51810bc5678063","name":"@swimlane/el-segundo","dist-tags":{"latest":"2.2.0"},"versions":{"1.0.0":{"name":"@swimlane/el-segundo","version":"1.0.0","keywords":[],"author":{"name":"J. Harshbarger"},"license":"MIT","_id":"@swimlane/el-segundo@1.0.0","maintainers":[{"name":"swimlane","email":"austin@swimlane.com"}],"homepage":"https://github.com/swimlane/el-segundo#readme","bugs":{"url":"https://github.com/swimlane/el-segundo/issues"},"ava":{"source":["dist/**/*.spec.js"]},"nyc":{"exclude":["**/*.spec.js"]},"dist":{"shasum":"013d84dc57b2b982ad160ea5c0bb5dccf83c7704","tarball":"https://registry.npmjs.org/@swimlane/el-segundo/-/el-segundo-1.0.0.tgz","integrity":"sha512-s120mbUOUQA9Fcb5oLoQbUfTXKRsg+3YYvBurkyxZJ3P/QS/WU6669QepsDO32ja0fYutqMHLzOyMOgXXjTs7w==","signatures":[{"sig":"MEQCIAzSgE0DGMZPOp7jdXzcZRzcvQrQTMhlZ9UUIKO6XxcMAiA35Tp+ClF0L+1hK90FzevQLG7Nem/2Z1Nm+olYExwvqw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","files":["dist"],"engines":{"node":">=4"},"gitHead":"f8baf3cc8eace17b8eabb5d9e5d86bb719fb5231","scripts":{"np":"npm run build && np","cov":"npm-run-all unit html-coverage && opn coverage/index.html","lint":"tslint src/**/*.ts","test":"npm-run-all lint unit check-coverage","unit":"npm run build && nyc ava ./dist/*.spec.js","bench":"npm run build && grunion ./benchmark/*.js","build":"tsc -p tsconfig.json","watch":"npm run build && concurrently -r --kill-others 'npm run --silent build -- -w' 'sleepms 2000 && ava ./dist/main/*.spec.js --watch'","version":"npm-run-all changelog build","changelog":"chg release -y && git add -A CHANGELOG.md","html-coverage":"nyc report --reporter=html","send-coverage":"nyc report --reporter=lcov > coverage.lcov && codecov","check-coverage":"nyc check-coverage --lines 100 --functions 100 --branches 100"},"typings":"dist/index.d.ts","_npmUser":{"name":"swimlane","email":"austin@swimlane.com"},"repository":{"url":"git+https://github.com/swimlane/el-segundo.git","type":"git"},"_npmVersion":"5.0.3","description":"The second choice in change detection.","directories":{},"_nodeVersion":"7.4.0","dependencies":{"tslib":"^1.6.0"},"devDependencies":{"np":"^2.16.0","ava":"^0.19.0","chg":"^0.3.2","nyc":"^10.2.0","chuhai":"^1.2.0","mkdirp":"^0.5.1","tslint":"^5.0.0","codecov":"^2.0.1","grunion":"^1.3.1","opn-cli":"^3.1.0","sleep-ms":"^2.0.1","blue-tape":"^1.0.0","deep-diff":"^0.3.8","typescript":"^2.2.2","@types/node":"^7.0.31","npm-run-all":"^4.0.2","concurrently":"^3.4.0","lodash.isequal":"^4.5.0","lodash.clonedeep":"^4.5.0","lodash.isequalwith":"^4.4.0","lodash.ismatchwith":"^4.4.0","tslint-config-standard":"^5.0.2"},"_npmOperationalInternal":{"tmp":"tmp/el-segundo-1.0.0.tgz_1497925584926_0.7776389676146209","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@swimlane/el-segundo","version":"1.1.0","keywords":[],"author":{"name":"J. Harshbarger"},"license":"MIT","_id":"@swimlane/el-segundo@1.1.0","maintainers":[{"name":"swimlane","email":"austin@swimlane.com"}],"homepage":"https://github.com/swimlane/el-segundo#readme","bugs":{"url":"https://github.com/swimlane/el-segundo/issues"},"ava":{"source":["dist/**/*.spec.js"]},"nyc":{"exclude":["**/*.spec.js"]},"dist":{"shasum":"1902abf930f8bb37ef1f0b902eb88903377f93fc","tarball":"https://registry.npmjs.org/@swimlane/el-segundo/-/el-segundo-1.1.0.tgz","integrity":"sha512-UfczAoP1l3rTiR0if7H4+a1LvgKZjaeOX+QkG4TRc514CrQTpWMEsoS/XtLai2cnmOBnr+riSQDsuU2HtI99gw==","signatures":[{"sig":"MEYCIQCDOglfzLPMOZH/AiuI8xNyujeUuqS0V7nv2iRJ5O9ufwIhANTNeh5svHI6V6inBgOmAZfphATylFvbvkSUSqsk+yDI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","files":["dist"],"engines":{"node":">=4"},"gitHead":"72cfc9b7b57230d7ed3b9df8cd995cf6982c219e","scripts":{"np":"npm run build && np","cov":"npm-run-all unit html-coverage && opn coverage/index.html","lint":"tslint src/**/*.ts","test":"npm-run-all lint unit check-coverage","unit":"npm run build && nyc ava ./dist/*.spec.js","bench":"npm run build && grunion ./benchmark/*.js","build":"tsc -p tsconfig.json","watch":"npm run build && concurrently -r --kill-others 'npm run --silent build -- -w' 'sleepms 2000 && ava ./dist/main/*.spec.js --watch'","version":"npm-run-all changelog build","changelog":"chg release -y && git add -A CHANGELOG.md","html-coverage":"nyc report --reporter=html","send-coverage":"nyc report --reporter=lcov > coverage.lcov && codecov","check-coverage":"nyc check-coverage --lines 100 --functions 100 --branches 100"},"typings":"dist/index.d.ts","_npmUser":{"name":"swimlane","email":"austin@swimlane.com"},"repository":{"url":"git+https://github.com/swimlane/el-segundo.git","type":"git"},"_npmVersion":"5.0.3","description":"The second choice in change detection.","directories":{},"_nodeVersion":"7.4.0","dependencies":{"tslib":"^1.7.1"},"devDependencies":{"np":"^2.16.0","ava":"^0.19.0","chg":"^0.3.2","nyc":"^10.2.0","chuhai":"^1.2.0","mkdirp":"^0.5.1","tslint":"^5.0.0","codecov":"^2.0.1","grunion":"^1.3.1","opn-cli":"^3.1.0","sleep-ms":"^2.0.1","blue-tape":"^1.0.0","deep-diff":"^0.3.8","typescript":"^2.2.2","@types/node":"^7.0.31","npm-run-all":"^4.0.2","concurrently":"^3.4.0","lodash.isequal":"^4.5.0","lodash.clonedeep":"^4.5.0","lodash.isequalwith":"^4.4.0","lodash.ismatchwith":"^4.4.0","tslint-config-standard":"^5.0.2"},"_npmOperationalInternal":{"tmp":"tmp/el-segundo-1.1.0.tgz_1498011373063_0.08572623739019036","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@swimlane/el-segundo","version":"1.1.1","keywords":[],"author":{"name":"J. Harshbarger"},"license":"MIT","_id":"@swimlane/el-segundo@1.1.1","maintainers":[{"name":"swimlane","email":"austin@swimlane.com"}],"homepage":"https://github.com/swimlane/el-segundo#readme","bugs":{"url":"https://github.com/swimlane/el-segundo/issues"},"ava":{"source":["dist/**/*.spec.js"]},"nyc":{"exclude":["**/*.spec.js"]},"dist":{"shasum":"e66b5090facfd8bec91872890a3bdaa65f27e0e0","tarball":"https://registry.npmjs.org/@swimlane/el-segundo/-/el-segundo-1.1.1.tgz","integrity":"sha512-Y+PXGS+5/pwIWmFx6Y5BtCZDRCNx/xZnBRyroYyHGbip5Ia0uMX/4Hrfa9rzgI6A2291IVAvWrFuIgG9/6Q6cA==","signatures":[{"sig":"MEQCIH52iZgsm7uGjfp4DpOn7rmbsO3H+VQ7lmRh0rlFgfphAiAPW9LVIpZ+gyy3XBbtQpqyTqjDx0vBKGFkS2tWLnwqTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","files":["dist"],"engines":{"node":">=4"},"gitHead":"4a1482fb0b36cfec667940801443920ca2c61b9a","scripts":{"np":"npm run build && np","cov":"npm-run-all unit html-coverage && opn coverage/index.html","lint":"tslint src/**/*.ts","test":"npm-run-all lint unit check-coverage","unit":"npm run build && nyc ava ./dist/*.spec.js","bench":"npm run build && grunion ./benchmark/*.js","build":"tsc -p tsconfig.json","watch":"npm run build && concurrently -r --kill-others 'npm run --silent build -- -w' 'sleepms 2000 && ava ./dist/main/*.spec.js --watch'","version":"npm-run-all changelog build","changelog":"chg release -y && git add -A CHANGELOG.md","html-coverage":"nyc report --reporter=html","send-coverage":"nyc report --reporter=lcov > coverage.lcov && codecov","check-coverage":"nyc check-coverage --lines 100 --functions 100 --branches 100"},"typings":"dist/index.d.ts","_npmUser":{"name":"swimlane","email":"austin@swimlane.com"},"repository":{"url":"git+https://github.com/swimlane/el-segundo.git","type":"git"},"_npmVersion":"5.0.3","description":"The second choice in change detection.","directories":{},"_nodeVersion":"7.4.0","dependencies":{"tslib":"^1.7.1"},"devDependencies":{"np":"^2.16.0","ava":"^0.19.0","chg":"^0.3.2","nyc":"^10.2.0","chuhai":"^1.2.0","mkdirp":"^0.5.1","tslint":"^5.0.0","codecov":"^2.0.1","grunion":"^1.3.1","opn-cli":"^3.1.0","mimic-fn":"^1.1.0","sleep-ms":"^2.0.1","blue-tape":"^1.0.0","deep-diff":"^0.3.8","typescript":"^2.2.2","@types/node":"^7.0.31","locate-path":"^2.0.0","npm-run-all":"^4.0.2","concurrently":"^3.4.0","lodash.isequal":"^4.5.0","lodash.clonedeep":"^4.5.0","lodash.isequalwith":"^4.4.0","lodash.ismatchwith":"^4.4.0","tslint-config-swimlane":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/el-segundo-1.1.1.tgz_1498514254992_0.06323514273390174","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@swimlane/el-segundo","version":"2.0.0","keywords":[],"author":{"name":"J. Harshbarger"},"license":"MIT","_id":"@swimlane/el-segundo@2.0.0","maintainers":[{"name":"swimlane","email":"austin@swimlane.com"}],"homepage":"https://github.com/swimlane/el-segundo#readme","bugs":{"url":"https://github.com/swimlane/el-segundo/issues"},"ava":{"source":["dist/**/*.spec.js"]},"nyc":{"exclude":["**/*.spec.js"]},"dist":{"shasum":"633b4b9c32ce97985bccac49806eeb1b2de928c9","tarball":"https://registry.npmjs.org/@swimlane/el-segundo/-/el-segundo-2.0.0.tgz","integrity":"sha512-hmhaDbmrxZjRkNmCz8olBlh6NwPtHkRTkq3dSw7c+vz1Ydztg6mq5A2gcEXrMuGPTImwo+vqjh3pI4r3wJyrjw==","signatures":[{"sig":"MEUCIBMMBkkKIXHn0uQCsLaQiLsncFmpYBYVlffUrJuh2S0nAiEAm2viuNUbEt+w5/akYrM1CDIoIEDn/XVY+Mmbyscyidg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","files":["dist"],"engines":{"node":">=4"},"gitHead":"1d738bff9ff3a2975a8c4a1b337c64b29606a5d1","scripts":{"np":"npm run build && np","cov":"npm-run-all unit html-coverage && opn coverage/index.html","lint":"tslint src/**/*.ts","test":"npm-run-all lint unit check-coverage","unit":"npm run build && nyc ava ./dist/*.spec.js","bench":"npm run build && grunion ./benchmark/*.js","build":"tsc -p tsconfig.json","watch":"npm run build && concurrently -r --kill-others 'npm run --silent build -- -w' 'sleepms 2000 && ava ./dist/main/*.spec.js --watch'","version":"npm-run-all changelog build","changelog":"chg release -y && git add -A CHANGELOG.md","html-coverage":"nyc report --reporter=html","send-coverage":"nyc report --reporter=lcov > coverage.lcov && codecov","check-coverage":"nyc check-coverage --lines 100 --functions 100 --branches 100"},"typings":"dist/index.d.ts","_npmUser":{"name":"swimlane","email":"austin@swimlane.com"},"repository":{"url":"git+https://github.com/swimlane/el-segundo.git","type":"git"},"_npmVersion":"5.0.3","description":"The second choice in change detection.","directories":{},"_nodeVersion":"7.4.0","dependencies":{"tslib":"^1.7.1"},"devDependencies":{"np":"^2.16.0","ava":"^0.19.0","chg":"^0.3.2","nyc":"^10.2.0","chuhai":"^1.2.0","mkdirp":"^0.5.1","tslint":"^5.0.0","codecov":"^2.0.1","grunion":"^1.3.1","opn-cli":"^3.1.0","mimic-fn":"^1.1.0","sleep-ms":"^2.0.1","blue-tape":"^1.0.0","deep-diff":"^0.3.8","typescript":"^2.2.2","@types/node":"^7.0.31","locate-path":"^2.0.0","npm-run-all":"^4.0.2","concurrently":"^3.4.0","lodash.isequal":"^4.5.0","lodash.clonedeep":"^4.5.0","lodash.isequalwith":"^4.4.0","lodash.ismatchwith":"^4.4.0","tslint-config-swimlane":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/el-segundo-2.0.0.tgz_1499719708819_0.5839702333323658","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@swimlane/el-segundo","version":"2.1.0","keywords":[],"author":{"name":"J. Harshbarger"},"license":"MIT","_id":"@swimlane/el-segundo@2.1.0","maintainers":[{"name":"brantw","email":"brantw@gmail.com"},{"name":"danstory","email":"danstory@gmail.com"},{"name":"duredhel","email":"duredhel313@gmail.com"},{"name":"hypercubed","email":"hypercubed@gmail.com"},{"name":"marjan-georgiev","email":"marjan.georgiev@gmail.com"},{"name":"metalex9","email":"alexbainter@gmail.com"},{"name":"michael.baswell","email":"michael.baswell@swimlane.com"},{"name":"nick-allen","email":"nick.allen.cse@gmail.com"},{"name":"seangrimes","email":"sean.grimes@swimlane.com"},{"name":"shaunburdick","email":"npm@shaunburdick.com"},{"name":"swimlanedev","email":"npm@swimlane.com"}],"homepage":"https://github.com/swimlane/el-segundo#readme","bugs":{"url":"https://github.com/swimlane/el-segundo/issues"},"ava":{"require":["ts-node/register"],"sources":["./src/*.spec.ts"],"extensions":["ts"],"compileEnhancements":false},"nyc":{"exclude":["**/*.spec.js"]},"dist":{"shasum":"38f6782699415b588c11c9ae91de04a00b539e0c","tarball":"https://registry.npmjs.org/@swimlane/el-segundo/-/el-segundo-2.1.0.tgz","fileCount":11,"integrity":"sha512-1Tm5GVXYuydjkzIlcnN2z04nsF1k6qzleNsWL8ZGyW3h3pjUIqBpeZIOA32pvRL8bxi932mSJFboEn+YYosSQg==","signatures":[{"sig":"MEUCIQD2i2+F3KuZzko/5vMyJPAUpJ5Y/DS5twilHg6C/qjZ/gIgdOO5OIrHISe9n5Q+q0ifYUYf9u8J3cXE3SR7xIIe4bc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct5faCRA9TVsSAnZWagAA7t4P/j+5gSh8pLgTel/lX9u8\nEYQGjBNbRQRiDegD6kV84qe3bpFEBZ8P2TpOMuEYDZpieJyZkxHj8pcoEldv\n0Y98ELBbbOCxRnCzBKkhbY4qZECb7BDu7oTbAMnhlwHoVq5Bt5wQzIDCvYoV\nuuBnOw0oMBSERQ6F68P6e6qEk09ivPQfYPW6Tz3lEL64yNp2JVmZuaPSNAZX\nrqKp5b4hsu8MB+aHx7hqKOreYI2LwF+vUCOCGtD2a60IyfmkF6ITGwJoGtuP\nlByPFjF8VC2CZEA/eqdfOw/RhkFiQS38siDtoWPVss/DLi4oQcLDgjNPK+2K\nT4qp+pV3JJX2IMjVmzEVfL8LefMp+TiY7EUqSXj7MJcrfigapukrDO3xbVwg\nNaOCeV8xGJkC5UhR2KSCmvNnMXMJsOfPeJs+sabar64e+7QRrKP1EIlOagMe\n0Z3Oj2mH6YJPA66ED4R8weV4MKZik1vAwj8An665oVLnvqSzAt0kdNh+D9z9\ne+MVN8vKLat5I3AEdZH96q/2xUSMuxAMLoMIgz6dwrJE31UyA2qRx7j7tyPf\nlMe1Iddk6UEJugWTqowk1kQJMI744ItzG/aB/rL1f0a7/dcJ5imjGmEus9md\n9A4rbM4FrCFgxLu4DRi2uCu2UT6RuL+mGT7do7n4MdISPiMqQxozxH1bo3EG\nKtC+\r\n=OmYS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=4"},"gitHead":"6911b5b00af1c3731bb0949e735dd42c80165025","scripts":{"np":"npm run build && np","cov":"npm-run-all unit html-coverage && opn coverage/index.html","lint":"tslint src/**/*.ts","test":"npm-run-all lint unit check-coverage","unit":"nyc --extension .ts ava ./src/*.spec.ts","bench":"npm run build && grunion ./benchmark/*.js","build":"tsc -p tsconfig.json","watch":"npm run build && concurrently -r --kill-others 'npm run --silent build -- -w' 'sleepms 2000 && ava ./dist/main/*.spec.js --watch'","version":"npm-run-all changelog build","changelog":"chg release -y && git add -A CHANGELOG.md","html-coverage":"nyc report --reporter=html","send-coverage":"nyc report --reporter=lcov > coverage.lcov && codecov","check-coverage":"nyc check-coverage --lines 100 --functions 100 --branches 100"},"typings":"dist/index.d.ts","_npmUser":{"name":"hypercubed","email":"hypercubed@gmail.com"},"repository":{"url":"git+https://github.com/swimlane/el-segundo.git","type":"git"},"_npmVersion":"6.5.0","description":"The second choice in change detection.","directories":{},"_nodeVersion":"8.9.1","dependencies":{"tslib":"^1.7.1"},"_hasShrinkwrap":false,"devDependencies":{"np":"^4.0.2","ava":"^1.4.1","chg":"^0.3.2","nyc":"^14.0.0","chuhai":"^1.2.0","mkdirp":"^0.5.1","tslint":"^5.0.0","codecov":"^3.3.0","grunion":"^1.3.1","opn-cli":"^4.1.0","ts-node":"^8.1.0","mimic-fn":"^2.1.0","sleep-ms":"^2.0.1","blue-tape":"^1.0.0","deep-diff":"^1.0.2","typescript":"^3.4.3","@types/node":"^11.13.4","locate-path":"^4.0.0","npm-run-all":"^4.0.2","concurrently":"^4.1.0","lodash.isequal":"^4.5.0","fast-deep-equal":"^2.0.1","lodash.clonedeep":"^4.5.0","lodash.isequalwith":"^4.4.0","lodash.ismatchwith":"^4.4.0","tslint-config-security":"^1.16.0","tslint-config-swimlane":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/el-segundo_2.1.0_1555535833839_0.47972710162838816","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@swimlane/el-segundo","version":"2.2.0","keywords":[],"author":{"name":"J. Harshbarger"},"license":"MIT","_id":"@swimlane/el-segundo@2.2.0","maintainers":[{"name":"bensteele7","email":"ben.steele@swimlane.com"},{"name":"brantw","email":"brantw@gmail.com"},{"name":"marjan-georgiev","email":"marjan.georgiev@gmail.com"},{"name":"danstory","email":"danstory@gmail.com"},{"name":"hypercubed","email":"hypercubed@gmail.com"},{"name":"seangrimes","email":"sean.grimes@swimlane.com"},{"name":"michael.baswell","email":"michael.baswell@swimlane.com"},{"name":"duredhel","email":"duredhel313@gmail.com"},{"name":"haeminn","email":"haeminp@umich.edu"},{"name":"jacobheater-swimlane","email":"jacob.heater@swimlane.com"},{"name":"dmikov","email":"dmikov@gmail.com"},{"name":"amiranda","email":"alvaro.miranda@swimlane.com"},{"name":"jorgemontero","email":"jorge.montero@swimlane.com"},{"name":"ngutierrez","email":"nelson.gutierrez@swimlane.com"},{"name":"adamfrank","email":"adam.frank@swimlane.com"},{"name":"parayacr","email":"pablo.araya@swimlane.com"},{"name":"lemurlane","email":"daniel.lemus@swimlane.com"},{"name":"danguloa","email":"diego.angulo@swimlane.com"},{"name":"bradstouffersl","email":"brad.stouffer@swimlane.com"},{"name":"dcookswim","email":"david.cook@swimlane.com"},{"name":"tflintswim","email":"travis.flint@swimlane.com"},{"name":"ywchen008","email":"yingwen.chen@swimlane.com"},{"name":"jgrannan","email":"jeremy.grannan@swimlane.com"},{"name":"jose86veiga","email":"jose.veiga@swimlane.com"},{"name":"gilmendezcrswim","email":"gilberto.solano@swimlane.com"},{"name":"bageldawg","email":"ryan.knauer@swimlane.com"},{"name":"malvarado25","email":"mario.alvarado@swimlane.com"},{"name":"it.admin.swim","email":"it.admin@swimlane.com"},{"name":"luisrojas-swimlane","email":"luis.rojas@swimlane.com"},{"name":"smartinski","email":"ljutvi@gmail.com"},{"name":"mattepp","email":"matthew.eppelsheimer@gmail.com"},{"name":"vterziski","email":"vane.terziski@swimlane.com"},{"name":"calebukle","email":"caleb.ukle@gmail.com"},{"name":"lisa-reynolds","email":"lisa.reynolds@swimlane.com"},{"name":"josep.campos","email":"josep.campos@swimlane.com"},{"name":"diegocalme","email":"diegocalme@outlook.com"},{"name":"royar95","email":"roy.araya@swimlane.com"},{"name":"brian.davis","email":"brian.davis@swimlane.com"},{"name":"tanner.lewis","email":"tanner.lewis@swimlane.com"},{"name":"mr_charlie","email":"chris@u4ic.co"},{"name":"swimlane.dev","email":"developers@swimlane.com"},{"name":"jeperezv","email":"josue.perez@swimlane.com"}],"homepage":"https://github.com/swimlane/el-segundo#readme","bugs":{"url":"https://github.com/swimlane/el-segundo/issues"},"nyc":{"exclude":["**/*.spec.js"]},"dist":{"shasum":"c2ecbb1ff4269bfc1da5ddb8308dc7c81c9f1d86","tarball":"https://registry.npmjs.org/@swimlane/el-segundo/-/el-segundo-2.2.0.tgz","fileCount":9,"integrity":"sha512-cZ0mEzLY0PLLt7TwAZ6CEkMy9lrCXv0yBD1WYAxRs+FHUtIpyFuK8SMQiDPYSw2Jk1eRoA0mkJ0pe+lB6PaL8w==","signatures":[{"sig":"MEYCIQD+oxgwuqiLRJ+jv82qazRRLIMaUgHOEH9cWpHmNJddDAIhAOtEAGQNy0rGXGzjguyPklvUer2JS3ooJdt5e9pODDEa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQShSCRA9TVsSAnZWagAAGacP/i1dXRyUp8TQR1RNRjUM\nijRiTL1R2wNANb1vwUMC2ivpFIZawqKGhTqYrYClScFXPvkciw1xdOiQz1fk\n2pzhn8JXtQhqIpPovs4q8SF0zzmeK3tiEqymFDCLxo4yEsD750zT+NjAkY+W\nak38/yN0rfzjWMeuQbekAtIns3gUePLT047zyndQQeeAwm0YO5Npmt948ayg\nNOKdmcuy3KXeU8g14PLzF9eB639rZJfX8Kx8wqmmfOMz0SN+Up0cGy3FbI9z\nWTdnS/5SP7stQaMrgFBPwoVMb8Mp/4ATE8kMfhiUJranehMlaDiwZhFy5Sk9\n9ZbrQP6BSGaZC29xJKmabS2dlrIiU19QHD49mUaIss3igaVKaoPJx/8ZhwMG\nkteNjjv+H7elZqc1cNBXtBdNpqowK0WPQQYA/1XKlwHxafp21IVEfvGCScIq\n1v42zHIqsGZ3z2M7QhtbEht13omCA4sxyGE4DB0ic58PiNd5gGgqQmHzw+Mu\nnP2DDWbxuzzCowcW2lCM27Yv9k+Ppcz5szuCmtvTnxds3gokHM4w6zXGyUUp\n9zSSXWMo1j721laBBn1I3+R+Ro6uTWUkdHiEqlSLmcCUuePYxyNqjqsYLbcY\nR7jVVjjAQHa5S/CzkWBh2vbOXwrfgxNMAmKivRUCAknfpgDjhRB8cyEchKjk\nYU4o\r\n=kZ2O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=4"},"gitHead":"ee5faf6008f687c0ffb310b28c78317a858fab49","scripts":{"np":"npm run build && np","cov":"npm-run-all test:unit html-coverage && open-cli coverage/index.html","fix":"run-s fix:*","test":"run-s test:*","bench":"npm run build && grunion ./benchmark/*.js","build":"tsc -p tsconfig.json","watch":"npm run build && concurrently -r --kill-others 'npm run --silent build -- -w' 'sleepms 2000 && ava ./dist/main/*.spec.js --watch'","version":"npm-run-all changelog build","fix:lint":"eslint \"src/**/*.{js,ts}\" --ext .ts --fix","changelog":"chg release -y && git add -A CHANGELOG.md","test:lint":"eslint \"src/**/*.{js,ts}\" --ext .ts","test:unit":"nyc --extension .ts ava ./src/*.spec.ts","fix:prettier":"prettier \"src/**/*.ts\" --write","html-coverage":"nyc report --reporter=html","send-coverage":"nyc report --reporter=lcov > coverage.lcov && codecov","test:coverage":"nyc check-coverage --lines 100 --functions 100 --branches 100","test:prettier":"prettier \"src/**/*.{ts,js,css,md}\" --check"},"typings":"dist/index.d.ts","_npmUser":{"name":"hypercubed","email":"hypercubed@gmail.com"},"repository":{"url":"git+https://github.com/swimlane/el-segundo.git","type":"git"},"_npmVersion":"7.21.1","description":"The second choice in change detection.","directories":{},"_nodeVersion":"14.17.5","dependencies":{"tslib":"^2.3.1"},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.5.0","ava":"^3.15.0","chg":"^0.4.0","nyc":"^15.1.0","chuhai":"^1.2.0","eslint":"^7.32.0","mkdirp":"^1.0.4","codecov":"^3.8.3","grunion":"^1.3.1","opn-cli":"^5.0.0","ts-node":"^10.2.1","mimic-fn":"^4.0.0","prettier":"^2.4.0","sleep-ms":"^2.0.1","blue-tape":"^1.0.0","deep-diff":"^1.0.2","@ava/babel":"^2.0.0","typescript":"^4.4.3","@types/node":"^16.9.1","locate-path":"^7.0.0","npm-run-all":"^4.0.2","concurrently":"^6.2.1","lodash.isequal":"^4.5.0","fast-deep-equal":"^3.1.3","lodash.clonedeep":"^4.5.0","lodash.isequalwith":"^4.4.0","lodash.ismatchwith":"^4.4.0","lodash.clonedeepwith":"^4.5.0","eslint-config-prettier":"^8.3.0","@swimlane/eslint-config":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.31.1","@swimlane/prettier-config-swimlane":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/el-segundo_2.2.0_1631660114662_0.9347466050039381","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-20T02:26:25.995Z","modified":"2026-07-14T10:27:36.506Z","1.0.0":"2017-06-20T02:26:25.995Z","1.1.0":"2017-06-21T02:16:15.122Z","1.1.1":"2017-06-26T21:57:35.936Z","2.0.0":"2017-07-10T20:48:29.699Z","2.1.0":"2019-04-17T21:17:13.993Z","2.2.0":"2021-09-14T22:55:14.819Z"},"bugs":{"url":"https://github.com/swimlane/el-segundo/issues"},"author":{"name":"J. Harshbarger"},"license":"MIT","homepage":"https://github.com/swimlane/el-segundo#readme","keywords":[],"repository":{"url":"git+https://github.com/swimlane/el-segundo.git","type":"git"},"description":"The second choice in change detection.","maintainers":[{"email":"hansstoetzer1@gmail.com","name":"hansstoetzer"},{"email":"ben.steele@swimlane.com","name":"bensteele7"},{"email":"brantw@gmail.com","name":"brantw"},{"email":"marjan.georgiev@gmail.com","name":"marjan-georgiev"},{"email":"danstory@gmail.com","name":"danstory"},{"email":"ryan.knauer@swimlane.com","name":"bageldawg"},{"email":"it.admin@swimlane.com","name":"it.admin.swim"},{"email":"roy.araya@swimlane.com","name":"royar95"},{"email":"developers@swimlane.com","name":"swimlane.dev"},{"email":"manideep.laxmishetty@swimlane.com","name":"manideep-swimlane"},{"email":"ian.schultz@swimlane.com","name":"ischultz-swimlane"},{"email":"Jogaj_26@hotmail.com","name":"jogaj_26"},{"email":"nicholas.tausek@gmail.com","name":"nikkuman"},{"email":"sarath.pantula@swimlane.com","name":"sarath.pantula"},{"email":"grandhi.subrahmanyam@swimlane.com","name":"grandhi_subrahmanyam"},{"email":"daniel.abbott@swimlane.com","name":"dabbott-sl"},{"email":"dmytro.skorokhodov@swimlane.com","name":"dmytro_skorokhodov"},{"email":"koushik.kumar@swimlane.com","name":"koushik.kumar"},{"email":"steveblue@gmail.com","name":"steveblue"},{"email":"prasanth.boyina@swimlane.com","name":"prasanthsaiboyina"},{"email":"ashray.gupta@swimlane.com","name":"ashraygupta"},{"email":"surya.pabbineedi@swimlane.com","name":"surya-pabbineedi"},{"email":"anurag.pasupureddi@swimlane.com","name":"anurag-p"},{"email":"anjali.tiwari@swimlane.com","name":"anjali.tiwari"}],"readme":"# El Segundo\r\n\r\nI don't always do dirty checking, but when I do, I use El Segundo.  The second choice in change detection.\r\n\r\n## Background\r\n\r\nIn JavaScript there is no built-in method to determine if values within an Object (or Array) have changed.  One well known method is to compare the JSON stringified version of an object to a previous value.  For example:\r\n\r\n```js\r\nconst A = {...};\r\n\r\nconst prevValue = JSON.stringify(A);\r\n\r\n... Do some stuff\r\n\r\nconst isDirty = prevValue === JSON.stringify(A);\r\n```\r\n\r\nIn fact this may be the fasted method to deep dirty check an object in JavaScript.  However, this approach has a couple of drawbacks:\r\n\r\n1) Even if the a value has changed, the `JSON.stringify` method must stringify the entire object under test.  This can be expensive for large and deeply nested objects.\r\n2) `JSON.stringify` does not support circular objects.\r\n2) This method will not detect if a value has been deleted and then the same value added again (i.e. the property key has changed positions).\r\n4) This method only supports value types that have JSON representations.\r\n5) Does not support a way to conditionally ignore portions of objects.  For example properties the begin with `$`.\r\n\r\n`El Segundo` is designed to encapsulate this dirty checking process while addressing the issues above.  It does not, and likely never will, be faster than `JSON.stringify` in cases where the object has not changed (i.e. is not dirty), but can realize a notable improvement when the object is dirty.\r\n\r\n## Features\r\n\r\n1) Efficiently abort dirty checking when a non-equal value is found.\r\n2) Support circular objects.\r\n3) Not impacted by key order changes.\r\n4) Support value types without JSON representations.\r\n5) Conditionally ignore portions of objects.\r\n\r\n## Comparison with other methods\r\n\r\n| Method          | Early Abort | Circular Objects | Key Order Changes | Non JSON types | Hidden keys    | Maps and Sets  |\r\n|-----------------|-------------|------------------|-------------------|----------------|----------------|----------------|\r\n| El Segundo      | ✓           | ✓                | ✓                 | ✓              | ✓              | ✘              |\r\n| JSON.stringify  | ✘           | ✘                | ✘                 | ✘ <sup>1</sup> | ✓ <sup>1</sup> | ✘ <sup>1</sup> |\r\n| deep-diff       | ✘           | ✓                | ✓                 | ✓              | ✓ <sup>2</sup> | ✘ <sup>2<sup>  |\r\n| lodash          | ✓           | ✓                | ✓                 | ✓              | ✘ <sup>3<sup>  | ✘ <sup>2<sup>  |\r\n| fast-deep-equal | ✓           | ✘ <sup>2</sup>   | ✘                 | ✓              | ✓ <sup>2</sup> | ✓              |\r\n\r\n1. Possible using `replacer` parameter... Non JSON types not tested.\r\n2. Possible using prefilter and inspecting the difference results... not tested\r\n3. Keys can be ignored using `lodash.isEqualWith` & `lodash.isMatchWidth`, but neither options supports all cases.\r\n\r\n![alt text](benchmarks.png)\r\n\r\n## How to use\r\n\r\n```js\r\nimport { ElSegundo } from 'el-segundo';\r\n\r\nconst A = {...};\r\n\r\nconst isDirty = new ElSegundo(A);\r\n\r\n// Do some stuff\r\n\r\nconst isDirty = isDirty.check(A);  // returns true if any value in A has changed\r\n```\r\n\r\n## How it works\r\n\r\nWhen an `ElSegundo` object is created it internally stores a map of path-value pairs.  For example, the following object:\r\n\r\n```js\r\nconst leia = {\r\n  role: 'General',\r\n  name: {\r\n    first: 'Leia',\r\n    second: 'Organa'\r\n  },\r\n  siblings: [],\r\n  $hidden: false,\r\n};\r\n\r\nconst luke = {\r\n  role: 'Jedi',\r\n  name: {\r\n    first: 'Luke',\r\n    second: 'Skywalker'\r\n  }\r\n  siblings: [leia],\r\n  $hidden: true\r\n}\r\n\r\nleia.siblings.push(luke);\r\n\r\nconst isDirty = new ElSegundo(leia);\r\n```\r\n\r\nWould store the cached object:\r\n\r\n```js\r\n{\r\n  '#': 3,\r\n  '#/siblings': 1,\r\n  '#/siblings/0': 3,\r\n  '#/siblings/0/siblings': 1,\r\n  '#/siblings/0/siblings/0': '#',\r\n  '#/siblings/0/name': 2,\r\n  '#/siblings/0/name/second': 'Skywalker',\r\n  '#/siblings/0/name/first': 'Luke',\r\n  '#/siblings/0/role': 'Jedi',\r\n  '#/name': 2,\r\n  '#/name/second': 'Organa',\r\n  '#/name/first': 'Leia',\r\n  '#/role': 'General'\r\n}\r\n```\r\n\r\nLater, when the value of `leia` is checked:\r\n\r\n```\r\nisDirty.check(leia);\r\n```\r\n\r\nThe `ElSegundo.protyotype.check` method will test equality (`===`) of each deeply nested value in `leia` to determine if any values have changed.  Once a single value has been detected that fails the equality test, the `check` is aborted with a return value of `true`.  If all values pass the equality tests, and all keys within the cached map have been checked, the `check` will a return value of `false`.\r\n\r\n## Credits\r\n\r\n`el-segundo` is a [Swimlane](http://swimlane.com) open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.\r\n","readmeFilename":"README.md","users":{"willwm":true}}