{"_id":"promises-aplus-tests","_rev":"87004","name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","dist-tags":{"latest":"2.1.2"},"maintainers":[{"name":"domenic","email":""}],"time":{"modified":"2021-06-03T10:28:16.000Z","created":"2012-12-24T10:02:49.440Z","2.1.2":"2016-06-28T02:56:57.510Z","2.1.1":"2015-07-15T15:46:11.422Z","2.1.0":"2014-09-19T01:58:31.994Z","2.0.5":"2014-08-15T01:46:32.287Z","2.0.4":"2014-03-08T01:54:43.937Z","2.0.3":"2013-12-03T02:34:40.639Z","2.0.2":"2013-11-16T04:24:50.156Z","2.0.1":"2013-10-29T01:29:02.462Z","2.0.0":"2013-09-29T20:38:54.342Z","1.3.2":"2013-06-22T01:15:24.919Z","1.3.1":"2013-03-10T21:14:25.884Z","1.3.0":"2013-03-07T04:32:59.033Z","1.2.1":"2013-02-18T21:36:00.826Z","1.2.0":"2013-02-06T01:24:39.530Z","1.1.0":"2013-01-09T02:24:00.384Z","1.0.2":"2013-01-07T01:40:39.301Z","1.0.1":"2012-12-24T16:02:04.392Z","1.0.0":"2012-12-24T10:02:49.440Z"},"users":{"ljharb":true,"ccxsungodzzx":true,"yorts52":true,"laomu":true,"danielbayley":true},"author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"repository":{"type":"git","url":"git+https://github.com/promises-aplus/promises-tests.git"},"versions":{"2.1.2":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.1.2","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/promises-aplus/promises-tests.git"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"files":["lib/"],"scripts":{"lint":"jshint lib","test":"mocha","prepublish":"node ./scripts/generateTestFiles.js"},"dependencies":{"mocha":"^2.5.3","sinon":"^1.10.3","underscore":"~1.8.3"},"devDependencies":{"jshint":"^2.9.2"},"browser":{"mocha":false},"gitHead":"034bc95082f3a9bea0d0342104dbdb1e7e3fa478","bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"homepage":"https://github.com/promises-aplus/promises-tests#readme","_id":"promises-aplus-tests@2.1.2","_shasum":"76b7c5638968720861969cfbcd8795afd274885c","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"76b7c5638968720861969cfbcd8795afd274885c","size":10696,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.1.2.tgz"},"maintainers":[{"name":"domenic","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/promises-aplus-tests-2.1.2.tgz_1467082614964_0.48746735509485006"},"directories":{},"publish_time":1467082617510,"_cnpm_publish_time":1467082617510,"_hasShrinkwrap":false},"2.1.1":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.1.1","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib","test":"mocha","prepublish":"node ./scripts/generateTestFiles.js"},"dependencies":{"mocha":"~1.21.4","sinon":"^1.10.3","underscore":"~1.6.0"},"devDependencies":{"jshint":"~2.4.4"},"browser":{"mocha":false},"gitHead":"481b36c735b3a7c6ca78636037dfc41d9e051ac3","homepage":"https://github.com/promises-aplus/promises-tests","_id":"promises-aplus-tests@2.1.1","_shasum":"43fc528beb150d14c5918e687480dc088bd3078e","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"dist":{"shasum":"43fc528beb150d14c5918e687480dc088bd3078e","size":12821,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.1.1.tgz"},"directories":{},"publish_time":1436975171422,"_cnpm_publish_time":1436975171422,"_hasShrinkwrap":false},"2.1.0":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.1.0","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib","test":"mocha","prepublish":"node ./scripts/generateTestFiles.js"},"dependencies":{"mocha":"~1.21.4","sinon":"^1.10.3","underscore":"~1.6.0"},"devDependencies":{"jshint":"~2.4.4"},"browser":{"mocha":false},"homepage":"https://github.com/promises-aplus/promises-tests","_id":"promises-aplus-tests@2.1.0","dist":{"shasum":"999c655f52da9a51fd4cfc8bddc78492873b1b3e","size":12600,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.1.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1411091911994,"_cnpm_publish_time":1411091911994,"_hasShrinkwrap":false},"2.0.5":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.0.5","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib","test":"mocha"},"dependencies":{"mocha":"~1.21.4","sinon":"^1.10.3","underscore":"~1.6.0"},"devDependencies":{"jshint":"~2.4.4"},"gitHead":"99d0cd6a4b19c6cede42a2cee0758352a5d00643","homepage":"https://github.com/promises-aplus/promises-tests","_id":"promises-aplus-tests@2.0.5","_shasum":"359b5b534db4b8416edc2df665dd72670e29db39","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"dist":{"shasum":"359b5b534db4b8416edc2df665dd72670e29db39","size":12287,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.0.5.tgz"},"directories":{},"publish_time":1408067192287,"_cnpm_publish_time":1408067192287,"_hasShrinkwrap":false},"2.0.4":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.0.4","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib","test":"mocha"},"dependencies":{"mocha":"~1.17.1","sinon":"~1.9.0","underscore":"~1.6.0"},"devDependencies":{"jshint":"~2.4.4"},"homepage":"https://github.com/promises-aplus/promises-tests","_id":"promises-aplus-tests@2.0.4","dist":{"shasum":"93293aefaad08dd66d852472c1ae235b01b82f49","size":12215,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.0.4.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1394243683937,"_hasShrinkwrap":false,"_cnpm_publish_time":1394243683937},"2.0.3":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.0.3","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":"~1.13.0","sinon":"~1.7.3","underscore":"~1.5.2"},"devDependencies":{"jshint":"~2.3.0"},"homepage":"https://github.com/promises-aplus/promises-tests","_id":"promises-aplus-tests@2.0.3","dist":{"shasum":"cc6a9bc9e0834450ef9474bf8d04d161bb6b315e","size":12066,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.0.3.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1386038080639,"_hasShrinkwrap":false,"_cnpm_publish_time":1386038080639},"2.0.2":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.0.2","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":"~1.13.0","sinon":"~1.7.3","underscore":"~1.5.2"},"devDependencies":{"jshint":"~2.3.0"},"_id":"promises-aplus-tests@2.0.2","dist":{"shasum":"53129b014bd52c48fe79189c86278f4cc1539cfe","size":11942,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.0.2.tgz"},"_resolved":"c:\\Users\\Domenic\\AppData\\Local\\Temp\\npm-3188-hfejIC2e\\1384575891954-0.4541768527124077\\tmp.tgz","_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1384575890156,"_hasShrinkwrap":false,"_cnpm_publish_time":1384575890156},"2.0.1":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.0.1","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":"~1.13.0","sinon":"~1.7.3","underscore":"~1.5.2"},"devDependencies":{"jshint":"~2.3.0"},"_id":"promises-aplus-tests@2.0.1","dist":{"shasum":"f5e38ba81a9c176d45b68e6f027ce972e9bcdefd","size":11940,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.0.1.tgz"},"_resolved":"c:\\Users\\Domenic\\AppData\\Local\\Temp\\npm-4848-SE9Tl66E\\1383010144582-0.7177446354180574\\tmp.tgz","_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1383010142462,"_hasShrinkwrap":false,"_cnpm_publish_time":1383010142462},"2.0.0":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"2.0.0","implements":["Promises/A+ 1.1.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":"~1.13.0","sinon":"~1.7.3","underscore":"~1.5.2"},"devDependencies":{"jshint":"~2.1.11"},"_id":"promises-aplus-tests@2.0.0","dist":{"shasum":"1ccb3601b3cdf108194e484454846495d4e5d433","size":11830,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-2.0.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1380487134342,"_hasShrinkwrap":false,"_cnpm_publish_time":1380487134342},"1.3.2":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","keywords":["promises","promises-aplus"],"version":"1.3.2","implements":["Promises/A+ 1.0.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":"https://github.com/promises-aplus/promises-tests/issues","main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":"~1.11.0","sinon":"~1.7.3","underscore":"~1.4.4"},"devDependencies":{"jshint":"~2.1.3"},"_id":"promises-aplus-tests@1.3.2","dist":{"shasum":"7280e106a968c1d35076401c8b9e5240fcc8c8de","size":7120,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.3.2.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1371863724919,"_hasShrinkwrap":false,"_cnpm_publish_time":1371863724919},"1.3.1":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","version":"1.3.1","implements":["Promises/A+ 1.0.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"http://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"directories":{"lib":"lib"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":"~1.8.1","sinon":"~1.6","underscore":"~1.4.4"},"devDependencies":{"jshint":"~1.1"},"_id":"promises-aplus-tests@1.3.1","dist":{"shasum":"46b0c2a3f637470248c036a8036d5a90232bee64","size":7070,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.3.1.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"publish_time":1362950065884,"_hasShrinkwrap":false,"_cnpm_publish_time":1362950065884},"1.3.0":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","version":"1.3.0","implements":["Promises/A+ 1.0.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"http://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"directories":{"lib":"lib"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":"~1.8.1","sinon":"~1.6","underscore":"~1.4.4"},"devDependencies":{"jshint":">= 0.9.1"},"_id":"promises-aplus-tests@1.3.0","dist":{"shasum":"37bf42bfc91cdc70eb702acf559ca71a286f8089","size":6810,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.3.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"publish_time":1362630779033,"_hasShrinkwrap":false,"_cnpm_publish_time":1362630779033},"1.2.1":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","version":"1.2.1","implements":["Promises/A+ 1.0.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"http://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"directories":{"lib":"lib"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":"~1.8.1","sinon":"~1.6"},"devDependencies":{"jshint":">= 0.9.1"},"_id":"promises-aplus-tests@1.2.1","dist":{"shasum":"1746c87f732562b7e07d7a01eba2168df1912915","size":6312,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.2.1.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"publish_time":1361223360826,"_hasShrinkwrap":false,"_cnpm_publish_time":1361223360826},"1.2.0":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","version":"1.2.0","implements":["Promises/A+ 1.0.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"http://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"directories":{"lib":"lib"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":">= 1.7.4","sinon":">= 1.5.2"},"devDependencies":{"jshint":">= 0.9.1"},"_id":"promises-aplus-tests@1.2.0","dist":{"shasum":"3a721b7f0958b700baeb42fe47d50bd6d4b5b811","size":6248,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.2.0.tgz"},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"publish_time":1360113879530,"_hasShrinkwrap":false,"_cnpm_publish_time":1360113879530},"1.1.0":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","version":"1.1.0","implements":["Promises/A+ 1.0.0"],"author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"http://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"directories":{"lib":"lib"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":">= 1.7.4","sinon":">= 1.5.2"},"devDependencies":{"jshint":">= 0.9.1"},"_id":"promises-aplus-tests@1.1.0","dist":{"shasum":"69b42d201ab316a2390d688d203379134952e41b","size":6079,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.1.0.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"publish_time":1357698240384,"_hasShrinkwrap":false,"_cnpm_publish_time":1357698240384},"1.0.2":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","version":"1.0.2","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"http://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"directories":{"lib":"lib"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":">= 1.7.4","sinon":">= 1.5.2"},"devDependencies":{"jshint":">= 0.9.1"},"_id":"promises-aplus-tests@1.0.2","dist":{"shasum":"bc21d2604a92d848471e77aae90a4710fce2a7d2","size":6048,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.0.2.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"publish_time":1357522839301,"_hasShrinkwrap":false,"_cnpm_publish_time":1357522839301},"1.0.1":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","version":"1.0.1","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"http://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"directories":{"lib":"lib"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":">= 1.7.4","sinon":">= 1.5.2"},"devDependencies":{"jshint":">= 0.9.1"},"_id":"promises-aplus-tests@1.0.1","dist":{"shasum":"0e578a7f13f8f446c8c2a6185e2822c4f4293ab3","size":6040,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.0.1.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"publish_time":1356364924392,"_hasShrinkwrap":false,"_cnpm_publish_time":1356364924392},"1.0.0":{"name":"promises-aplus-tests","description":"Compliance test suite for Promises/A+","version":"1.0.0","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/promises-aplus/promises-tests.git"},"bugs":{"url":"http://github.com/promises-aplus/promises-tests/issues"},"main":"lib/programmaticRunner.js","bin":{"promises-aplus-tests":"lib/cli.js"},"directories":{"lib":"lib"},"scripts":{"lint":"jshint lib"},"dependencies":{"mocha":">= 1.7.4","sinon":">= 1.5.2"},"devDependencies":{"jshint":">= 0.9.1"},"_id":"promises-aplus-tests@1.0.0","dist":{"shasum":"cfd14f45d91e554171663d21a050924034629d2f","size":6011,"noattachment":false,"key":"/promises-aplus-tests/-/promises-aplus-tests-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promises-aplus-tests/download/promises-aplus-tests-1.0.0.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"publish_time":1356343369440,"_hasShrinkwrap":false,"_cnpm_publish_time":1356343369440}},"readme":"<a href=\"http://promises-aplus.github.com/promises-spec\">\n    <img src=\"http://promises-aplus.github.com/promises-spec/assets/logo-small.png\"\n         align=\"right\" alt=\"Promises/A+ logo\" />\n</a>\n\n# Promises/A+ Compliance Test Suite\n\nThis suite tests compliance of a promise implementation with the [Promises/A+ specification][].\n\n[Promises/A+ specification]: https://github.com/promises-aplus/promises-spec\n\nPassing the tests in this repo means that you have a Promises/A+ compliant implementation of the `then()` method, and you can display the Promises/A+ logo in your README. You can also [send a pull request](https://github.com/promises-aplus/promises-spec) to have your implementation listed on the [implementations page](https://promisesaplus.com/implementations).\n\n## How To Run\n\nThe tests can run in either a Node.js environment or, if you set things up correctly, in the browser.\n\n### Adapters\n\nIn order to test your promise library, you must expose a very minimal adapter interface. These are written as Node.js\nmodules with a few well-known exports:\n\n- `resolved(value)`: creates a promise that is resolved with `value`.\n- `rejected(reason)`: creates a promise that is already rejected with `reason`.\n- `deferred()`: creates an object consisting of `{ promise, resolve, reject }`:\n  - `promise` is a promise that is currently in the pending state.\n  - `resolve(value)` resolves the promise with `value`.\n  - `reject(reason)` moves the promise from the pending state to the rejected state, with rejection reason `reason`.\n\nThe `resolved` and `rejected` exports are actually optional, and will be automatically created by the test runner using\n`deferred` if they are not present. But, if your promise library has the capability to create already-resolved or\nalready-rejected promises, then you should include these exports, so that the test runner can provide you with better\ncode coverage and uncover any bugs in those methods.\n\nNote that the tests will never pass a promise or a thenable as a resolution. That means that we never use the promise-\nor thenable-accepting forms of the resolve operation directly, and instead only use the direct fulfillment operation,\nsince fulfill and resolve are equivalent when not given a thenable.\n\nFinally, note that none of these functions, including `deferred().resolve` and `deferred().reject`, should throw\nexceptions. The tests are not structured to deal with that, and if your implementation has the potential to throw\nexceptions—e.g., perhaps it throws when trying to resolve an already-resolved promise—you should wrap direct calls to\nyour implementation in `try`/`catch` when writing the adapter.\n\n### From the CLI\n\nThis package comes with a command-line interface that can be used either by installing it globally with\n`npm install promises-aplus-tests -g` or by including it in your `package.json`'s `devDependencies` and using npm's\n`scripts` feature. In the latter case, your setup might look something like\n\n```json\n{\n    \"devDependencies\": {\n        \"promises-aplus-tests\": \"*\"\n    },\n    \"scripts\": {\n        \"test\": \"run-my-own-tests && promises-aplus-tests test/my-adapter\"\n    }\n}\n```\n\nThe CLI takes as its first argument the filename of your adapter file, relative to the current working directory. It\ntries to pass through any subsequent options to Mocha, so you can use e.g. `--reporter spec` or `--grep 2.2.4`.\n\n### Programmatically\n\nThe main export of this package is a function that allows you to run the tests against an adapter:\n\n```js\nvar promisesAplusTests = require(\"promises-aplus-tests\");\n\npromisesAplusTests(adapter, function (err) {\n    // All done; output is in the console. Or check `err` for number of failures.\n});\n```\n\nYou can also pass any Mocha options as the second parameter, e.g.\n\n```js\npromisesAplusTests(adapter, { reporter: \"dot\" }, function (err) {\n  // As before.\n});\n```\n\n### Within an Existing Mocha Test Suite\n\nIf you already have a Mocha test suite and want to include these tests in it, you can do:\n\n```js\ndescribe(\"Promises/A+ Tests\", function () {\n    require(\"promises-aplus-tests\").mocha(adapter);\n});\n```\n\nThis also works in the browser, if you have your Mocha tests running there, as long as you use [browserify](http://browserify.org/).\n","_attachments":{},"homepage":"https://github.com/promises-aplus/promises-tests#readme","bugs":{"url":"https://github.com/promises-aplus/promises-tests/issues"},"license":"WTFPL"}