{"_id":"chai-subset","_rev":"275005","name":"chai-subset","description":"Object properties matcher for Chai","dist-tags":{"latest":"1.6.0"},"maintainers":[{"name":"eagleeye","email":""}],"time":{"modified":"2023-09-20T17:29:49.000Z","created":"2014-07-14T14:03:41.738Z","1.6.0":"2017-09-05T11:12:09.965Z","1.5.0":"2017-03-02T15:15:58.989Z","1.4.0":"2016-12-26T09:06:02.485Z","1.3.0":"2016-07-16T07:32:14.273Z","1.2.2":"2016-03-22T07:42:36.734Z","1.2.1":"2016-02-19T10:53:05.082Z","1.2.0":"2015-12-02T08:50:46.111Z","1.1.0":"2015-08-29T23:37:10.154Z","1.0.1":"2015-05-28T18:37:03.496Z","1.0.0":"2015-03-24T10:20:20.494Z","0.3.0":"2014-08-03T22:39:17.258Z","0.2.0":"2014-08-01T09:09:42.932Z","0.1.3":"2014-07-15T11:39:03.850Z","0.1.2":"2014-07-14T15:08:41.638Z","0.1.1":"2014-07-14T14:11:19.872Z","0.1.0":"2014-07-14T14:03:41.738Z"},"users":{},"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/debitoor/chai-subset.git"},"versions":{"1.6.0":{"name":"chai-subset","version":"1.6.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/debitoor/chai-subset.git"},"keywords":["chai","chai-plugin","objects","subset","contains","plugin","containSubset","deep","like","match","similar","includes","superset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"@debitoor/eslint-config-debitoor":"1.2.0","chai":"3.5.0","coveralls":"2.11.16","istanbul":"0.4.5","mocha":"3.2.0","mocha-eslint":"3.0.1"},"files":["lib"],"engines":{"node":">=4"},"gitHead":"5c943ada7356c23d3bd9b04ba2b230ec8a5eebac","_id":"chai-subset@1.6.0","_shasum":"a5d0ca14e329a79596ed70058b6646bd6988cfe9","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"dist":{"shasum":"a5d0ca14e329a79596ed70058b6646bd6988cfe9","size":2687,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.6.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.6.0.tgz"},"maintainers":[{"name":"eagleeye","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-subset-1.6.0.tgz_1504609928997_0.15449078241363168"},"directories":{},"publish_time":1504609929965,"_hasShrinkwrap":false,"_cnpm_publish_time":1504609929965,"_cnpmcore_publish_time":"2021-12-16T16:44:19.717Z"},"1.5.0":{"name":"chai-subset","version":"1.5.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/debitoor/chai-subset.git"},"keywords":["chai","chai-plugin","objects","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"@debitoor/eslint-config-debitoor":"1.2.0","chai":"3.5.0","coveralls":"2.11.16","istanbul":"0.4.5","mocha":"3.2.0","mocha-eslint":"3.0.1"},"files":["lib"],"engines":{"node":">=4"},"gitHead":"ad331cbc1ffa7d266271dbd3b549c0f608f73321","_id":"chai-subset@1.5.0","_shasum":"d03dbcfa8c9daad848643bbde4e63376b7882427","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"dist":{"shasum":"d03dbcfa8c9daad848643bbde4e63376b7882427","size":2614,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.5.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.5.0.tgz"},"maintainers":[{"name":"eagleeye","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/chai-subset-1.5.0.tgz_1488467758338_0.9594144423026592"},"directories":{},"publish_time":1488467758989,"_hasShrinkwrap":false,"_cnpm_publish_time":1488467758989,"_cnpmcore_publish_time":"2021-12-16T16:44:19.911Z"},"1.4.0":{"name":"chai-subset","version":"1.4.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/debitoor/chai-subset.git"},"keywords":["chai","chai-plugin","objects","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"chai":"3.5.0","coveralls":"2.11.15","istanbul":"0.4.5","jscs":"3.0.7","mocha":"3.2.0","mocha-eslint":"3.0.1","mocha-jscs":"5.0.1"},"files":["lib"],"engines":{"node":">=4"},"gitHead":"ec833b2b61845f5110e7c02ad49acbaaceff7ac6","_id":"chai-subset@1.4.0","_shasum":"aab826cfbd8eb067cc55573d5d59796a4f9ffa4f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"dist":{"shasum":"aab826cfbd8eb067cc55573d5d59796a4f9ffa4f","size":2604,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.4.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.4.0.tgz"},"maintainers":[{"name":"eagleeye","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/chai-subset-1.4.0.tgz_1482743161828_0.29596243845298886"},"directories":{},"publish_time":1482743162485,"_hasShrinkwrap":false,"_cnpm_publish_time":1482743162485,"_cnpmcore_publish_time":"2021-12-16T16:44:20.085Z"},"1.3.0":{"name":"chai-subset","version":"1.3.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/debitoor/chai-subset.git"},"keywords":["chai","chai-plugin","objects","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"chai":"^3.2.0","coveralls":"^2.11.3","istanbul":"^0.4.2","jscs":"^3.0.3","mocha":"2.5.1","mocha-eslint":"^2.0.0","mocha-jscs":"^5.0.0"},"files":["lib"],"gitHead":"f7ffcee15dca804f86e8013ca1bbafe4c605a8b4","_id":"chai-subset@1.3.0","_shasum":"456ac33f98d2506431885fab175078f50b7cc75e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"456ac33f98d2506431885fab175078f50b7cc75e","size":2584,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.3.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/chai-subset-1.3.0.tgz_1468654331885_0.317850180901587"},"directories":{},"publish_time":1468654334273,"_hasShrinkwrap":false,"_cnpm_publish_time":1468654334273,"_cnpmcore_publish_time":"2021-12-16T16:44:20.307Z"},"1.2.2":{"name":"chai-subset","version":"1.2.2","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/debitoor/chai-subset.git"},"keywords":["chai","chai-plugin","objects","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"chai":"^3.2.0","coveralls":"^2.11.3","istanbul":"^0.4.2","jscs":"^2.2.1","mocha":"^2.2.1","mocha-eslint":"^2.0.0","mocha-jscs":"^4.0.0"},"files":["lib"],"gitHead":"ed4ac64e65da9273d7afb543b7f468b31c76497d","_id":"chai-subset@1.2.2","_shasum":"8a061be76d86d03f4ec650993d81a70781afd0dc","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"dist":{"shasum":"8a061be76d86d03f4ec650993d81a70781afd0dc","size":2431,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.2.2.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.2.2.tgz"},"maintainers":[{"name":"eagleeye","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/chai-subset-1.2.2.tgz_1458632554261_0.5324230077676475"},"directories":{},"publish_time":1458632556734,"_hasShrinkwrap":false,"_cnpm_publish_time":1458632556734,"_cnpmcore_publish_time":"2021-12-16T16:44:20.503Z"},"1.2.1":{"name":"chai-subset","version":"1.2.1","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/debitoor/chai-subset.git"},"keywords":["chai","chai-plugin","objects","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"chai":"^3.2.0","coveralls":"^2.11.3","istanbul":"^0.4.2","jscs":"^2.2.1","mocha":"^2.2.1","mocha-eslint":"^1.0.0","mocha-jscs":"^4.0.0"},"gitHead":"d68cae263834d4545d12f35dfb72307b1b96f451","_id":"chai-subset@1.2.1","_shasum":"4a38a00800386457da0f6baa0ef7193f4beea99b","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.0","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"dist":{"shasum":"4a38a00800386457da0f6baa0ef7193f4beea99b","size":16036,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.2.1.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.2.1.tgz"},"maintainers":[{"name":"eagleeye","email":""}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/chai-subset-1.2.1.tgz_1455879182295_0.6360943531617522"},"directories":{},"publish_time":1455879185082,"_hasShrinkwrap":false,"_cnpm_publish_time":1455879185082,"_cnpmcore_publish_time":"2021-12-16T16:44:20.718Z"},"1.2.0":{"name":"chai-subset","version":"1.2.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/debitoor/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"chai":"^3.2.0","coveralls":"^2.11.3","istanbul":"^0.3.17","jscs":"^2.2.1","mocha":"^2.2.1","mocha-eslint":"^1.0.0","mocha-jscs":"^4.0.0"},"gitHead":"52bb70a7c0d5ab6dbe0f8432f746847dd90df4e3","_id":"chai-subset@1.2.0","_shasum":"84360d8d68bb0b80de068f7e5178baff512957d1","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.2.0","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"84360d8d68bb0b80de068f7e5178baff512957d1","size":16054,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.2.0.tgz"},"directories":{},"publish_time":1449046246111,"_hasShrinkwrap":false,"_cnpm_publish_time":1449046246111,"_cnpmcore_publish_time":"2021-12-16T16:44:20.944Z"},"1.1.0":{"name":"chai-subset","version":"1.1.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"istanbul cover _mocha -- test && cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"https://github.com/debitoor/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"chai":"^3.2.0","coveralls":"^2.11.3","istanbul":"^0.3.17","jscs":"^1.13.1","mocha":"^2.2.1","mocha-eslint":"^1.0.0","mocha-jscs":"^1.2.0"},"_id":"chai-subset@1.1.0","_shasum":"440fa54b8e396cd830d18f8a2ff2fabc1656b87b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"440fa54b8e396cd830d18f8a2ff2fabc1656b87b","size":15985,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.1.0.tgz"},"directories":{},"publish_time":1440891430154,"_hasShrinkwrap":false,"_cnpm_publish_time":1440891430154,"_cnpmcore_publish_time":"2021-12-16T16:44:21.248Z"},"1.0.1":{"name":"chai-subset","version":"1.0.1","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"node node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"https://github.com/debitoor/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"homepage":"https://github.com/debitoor/chai-subset","devDependencies":{"chai":"^2.1.2","mocha":"^2.2.1","mocha-jshint":"^2.0.2"},"_id":"chai-subset@1.0.1","_shasum":"ea24e591c545f5c319aa66363583d8b52ff5cdae","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"ea24e591c545f5c319aa66363583d8b52ff5cdae","size":2399,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.0.1.tgz"},"directories":{},"publish_time":1432838223496,"_hasShrinkwrap":false,"_cnpm_publish_time":1432838223496,"_cnpmcore_publish_time":"2021-12-16T16:44:21.458Z"},"1.0.0":{"name":"chai-subset","version":"1.0.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"node node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"https://github.com/e-conomic/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada","email":"eagleeyes91@gmail.com"},"contributors":[{"name":"Robert Herhold","email":"reherhold@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/e-conomic/chai-subset/issues"},"homepage":"https://github.com/e-conomic/chai-subset","devDependencies":{"chai":"^2.1.2","mocha":"^2.2.1","mocha-jshint":"^1.0.0"},"gitHead":"dc9d2bcdd5ed72532436fb69b4b3a8c0eb3c573c","_id":"chai-subset@1.0.0","_shasum":"ef130fabc00f1e8f65ff98cea8d05676d7d74db4","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"ef130fabc00f1e8f65ff98cea8d05676d7d74db4","size":2061,"noattachment":false,"key":"/chai-subset/-/chai-subset-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-1.0.0.tgz"},"directories":{},"publish_time":1427192420494,"_hasShrinkwrap":false,"_cnpm_publish_time":1427192420494,"_cnpmcore_publish_time":"2021-12-16T16:44:21.656Z"},"0.3.0":{"name":"chai-subset","version":"0.3.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"node node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"https://github.com/e-conomic/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada"},"license":"MIT","bugs":{"url":"https://github.com/e-conomic/chai-subset/issues"},"homepage":"https://github.com/e-conomic/chai-subset","devDependencies":{"mocha":"^1.20.1","chai":"1.x"},"dependencies":{"circular-json":"^0.1.6"},"gitHead":"497b82b3c9fa4b6996bf4ae1d75577883047f09d","_id":"chai-subset@0.3.0","_shasum":"b3574101ec82f5007f407a20d17d17c5e032022e","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"b3574101ec82f5007f407a20d17d17c5e032022e","size":2559,"noattachment":false,"key":"/chai-subset/-/chai-subset-0.3.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-0.3.0.tgz"},"directories":{},"publish_time":1407105557258,"_hasShrinkwrap":false,"_cnpm_publish_time":1407105557258,"_cnpmcore_publish_time":"2021-12-16T16:44:21.879Z"},"0.2.0":{"name":"chai-subset","version":"0.2.0","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"node node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"https://github.com/e-conomic/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada"},"license":"MIT","bugs":{"url":"https://github.com/e-conomic/chai-subset/issues"},"homepage":"https://github.com/e-conomic/chai-subset","devDependencies":{"mocha":"^1.20.1","chai":"1.x"},"gitHead":"49498a20bd0fa7f8c8ce290e4c966e344062766c","_id":"chai-subset@0.2.0","_shasum":"f88872bdc3bd2697d94d8dfbb90898b475e415b6","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"f88872bdc3bd2697d94d8dfbb90898b475e415b6","size":2388,"noattachment":false,"key":"/chai-subset/-/chai-subset-0.2.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-0.2.0.tgz"},"directories":{},"publish_time":1406884182932,"_hasShrinkwrap":false,"_cnpm_publish_time":1406884182932,"_cnpmcore_publish_time":"2021-12-16T16:44:22.064Z"},"0.1.3":{"name":"chai-subset","version":"0.1.3","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"node node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"https://github.com/e-conomic/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada"},"license":"MIT","bugs":{"url":"https://github.com/e-conomic/chai-subset/issues"},"homepage":"https://github.com/e-conomic/chai-subset","devDependencies":{"mocha":"^1.20.1","chai":"1.x"},"gitHead":"6a1844c4dc2671e33ab122bd44e46f1e1bdbd6de","_id":"chai-subset@0.1.3","_shasum":"5073e8020c8dac671e074597972eac5fb9ee82fb","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"5073e8020c8dac671e074597972eac5fb9ee82fb","size":2369,"noattachment":false,"key":"/chai-subset/-/chai-subset-0.1.3.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-0.1.3.tgz"},"directories":{},"publish_time":1405424343850,"_hasShrinkwrap":false,"_cnpm_publish_time":1405424343850,"_cnpmcore_publish_time":"2021-12-16T16:44:22.307Z"},"0.1.2":{"name":"chai-subset","version":"0.1.2","description":"Object properties matcher for Chai","main":"lib/chai-subset.js","scripts":{"test":"node node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"https://github.com/e-conomic/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada"},"license":"MIT","bugs":{"url":"https://github.com/e-conomic/chai-subset/issues"},"homepage":"https://github.com/e-conomic/chai-subset","devDependencies":{"mocha":"^1.20.1","chai":"1.x"},"gitHead":"029c39681ba32a16bfcd9b12becc45c691afab5b","_id":"chai-subset@0.1.2","_shasum":"db994e2de1bd43ae8f8a6fece18f65407956dc24","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"db994e2de1bd43ae8f8a6fece18f65407956dc24","size":2309,"noattachment":false,"key":"/chai-subset/-/chai-subset-0.1.2.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-0.1.2.tgz"},"directories":{},"publish_time":1405350521638,"_hasShrinkwrap":false,"_cnpm_publish_time":1405350521638,"_cnpmcore_publish_time":"2021-12-16T16:44:22.500Z"},"0.1.1":{"name":"chai-subset","version":"0.1.1","description":"Object properties matcher for Chai","main":"index.js","scripts":{"test":"node_modules/mocha/bin/mocha tests"},"repository":{"type":"git","url":"https://github.com/e-conomic/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada"},"license":"MIT","bugs":{"url":"https://github.com/e-conomic/chai-subset/issues"},"homepage":"https://github.com/e-conomic/chai-subset","devDependencies":{"mocha":"^1.20.1","chai":"1.x"},"gitHead":"02ada949d60e1928588ec04c79b88c1a58484bf4","_id":"chai-subset@0.1.1","_shasum":"fe388130ecab1d9f1efee7364a055264454d489a","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"fe388130ecab1d9f1efee7364a055264454d489a","size":2241,"noattachment":false,"key":"/chai-subset/-/chai-subset-0.1.1.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-0.1.1.tgz"},"directories":{},"publish_time":1405347079872,"_hasShrinkwrap":false,"_cnpm_publish_time":1405347079872,"_cnpmcore_publish_time":"2021-12-16T16:44:22.718Z"},"0.1.0":{"name":"chai-subset","version":"0.1.0","description":"Object properties matcher for Chai","main":"index.js","scripts":{"test":"node_modules/mocha/bin/mocha tests"},"repository":{"type":"git","url":"https://github.com/e-conomic/chai-subset.git"},"keywords":["chai","subset","contains","plugin","containSubset"],"author":{"name":"Andrii Shumada"},"license":"MIT","bugs":{"url":"https://github.com/e-conomic/chai-subset/issues"},"homepage":"https://github.com/e-conomic/chai-subset","devDependencies":{"mocha":"^1.20.1","chai":"1.x"},"gitHead":"b4deead350c59702c7d2c348ece49d209e03cf2d","_id":"chai-subset@0.1.0","_shasum":"dc8193bcfcd0a3ab6b5d36b5d61a94d37f5babb1","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"eagleeye","email":"eagleeyes91@gmail.com"},"maintainers":[{"name":"eagleeye","email":""}],"dist":{"shasum":"dc8193bcfcd0a3ab6b5d36b5d61a94d37f5babb1","size":2186,"noattachment":false,"key":"/chai-subset/-/chai-subset-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/chai-subset/download/chai-subset-0.1.0.tgz"},"directories":{},"publish_time":1405346621738,"_hasShrinkwrap":false,"_cnpm_publish_time":1405346621738,"_cnpmcore_publish_time":"2021-12-16T16:44:23.060Z"}},"readme":"chai-subset [![npm version](https://badge.fury.io/js/chai-subset.svg)](https://badge.fury.io/js/chai-subset) [![Build Status](https://travis-ci.org/debitoor/chai-subset.svg?branch=master)](https://travis-ci.org/debitoor/chai-subset) [![devDependency Status](https://david-dm.org/debitoor/chai-subset/dev-status.svg)](https://david-dm.org/debitoor/chai-subset#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/debitoor/chai-subset/badge.svg?service=github)](https://coveralls.io/github/debitoor/chai-subset) [![NSP Status](https://nodesecurity.io/orgs/debitoor/projects/eb6fec04-2b26-4462-b4ff-08d952da3065/badge)](https://nodesecurity.io/orgs/debitoor/projects/eb6fec04-2b26-4462-b4ff-08d952da3065)\n===========\n\n\"containSubset\" object properties matcher for [Chai](http://chaijs.com/) assertion library\n\nInstallation\n===========\n\n`npm install --save-dev chai-subset`\n\nUsage\n=====\n\ncommon.js\n```js\nvar chai = require('chai');\nvar chaiSubset = require('chai-subset');\nchai.use(chaiSubset);\n```\n\nin your spec.js\n```js\nvar obj = {\n\ta: 'b',\n\tc: 'd',\n\te: {\n\t\tfoo: 'bar',\n\t\tbaz: {\n\t\t\tqux: 'quux'\n\t\t}\n\t}\n};\n\t\nexpect(obj).to.containSubset({\n\ta: 'b',\n\te: {\n\t\tbaz: {\n\t\t\tqux: 'quux'\n\t\t}\n\t}\n});\n\n// or using a compare function\nexpect(obj).containSubset({\n\ta: (expectedValue) => expectedValue,\n\tc: (expectedValue) => expectedValue === 'd'\n})\n\n// or with 'not'\nexpect(obj).to.not.containSubset({\n\tg: 'whatever'\n});\n```\n\nAlso works good with arrays and `should` interface\n```js\nvar list = [{a: 'a', b: 'b'}, {v: 'f', d: {z: 'g'}}];\n\nlist.should.containSubset([{a:'a'}]); //Assertion error is not thrown\nlist.should.containSubset([{a:'a',  b: 'b'}]); //Assertion error is not thrown\n\nlist.should.containSubset([{a:'a', b: 'bd'}]); \n/*throws\nAssertionError: expected\n[\n    {\n        \"a\": \"a\",\n        \"b\": \"b\"\n    },\n    {\n        \"v\": \"f\",\n        \"d\": {\n            \"z\": \"g\"\n        }\n    }\n]\nto contain subset \n[ { a: 'a', b: 'bd' } ]\n*/\n```\n\nand with `assert` interface\n```js\nassert.containSubset({a: 1, b: 2}, {a: 1});\n```\n","_attachments":{},"homepage":"https://github.com/debitoor/chai-subset","bugs":{"url":"https://github.com/debitoor/chai-subset/issues"},"license":"MIT"}