tck-lambdas 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (690) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tck/lambdas/chistacojs/chistaco_diario.zip +0 -0
  3. data/lib/tck/lambdas/chistacojs/source/chistacojs.js +26 -5
  4. data/lib/tck/lambdas/chistacojs/source/chistescortos.js +19 -15
  5. data/lib/tck/lambdas/chistacojs/source/conf.js +18 -6
  6. data/lib/tck/lambdas/chistacojs/source/post_chistaco.js +9 -4
  7. data/lib/tck/lambdas/chistacojs/source/refreshing_matter.js +19 -15
  8. data/lib/tck/lambdas/chistacojs/test/failed/module_not_found.json +1 -0
  9. data/lib/tck/lambdas/chistacojs/test/succeeded/chistescortos_module.json +1 -0
  10. data/lib/tck/lambdas/chistacojs/test/succeeded/refreshing_module.json +1 -0
  11. data/lib/tck/lambdas/version.rb +1 -1
  12. metadata +5 -680
  13. data/lib/tck/lambdas/chistacojs/chistaco_diario.js +0 -31
  14. data/lib/tck/lambdas/chistacojs/chistescortos.js +0 -17
  15. data/lib/tck/lambdas/chistacojs/conf.js +0 -13
  16. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/History.md +0 -576
  17. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/Readme.md +0 -1093
  18. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/index.js +0 -11
  19. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/attributes.js +0 -495
  20. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/css.js +0 -121
  21. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/forms.js +0 -65
  22. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/manipulation.js +0 -425
  23. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/traversing.js +0 -429
  24. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/cheerio.js +0 -148
  25. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/parse.js +0 -86
  26. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/static.js +0 -187
  27. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/utils.js +0 -83
  28. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/README.md +0 -133
  29. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/index.js +0 -59
  30. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/attributes.js +0 -181
  31. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/compile.js +0 -192
  32. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/general.js +0 -89
  33. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/procedure.json +0 -11
  34. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/pseudos.js +0 -393
  35. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/sort.js +0 -80
  36. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/boolbase/README.md +0 -10
  37. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/boolbase/index.js +0 -8
  38. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/boolbase/package.json +0 -46
  39. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/css-what/index.js +0 -267
  40. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/css-what/package.json +0 -74
  41. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/css-what/readme.md +0 -46
  42. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/index.js +0 -14
  43. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/helpers.js +0 -141
  44. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/legacy.js +0 -87
  45. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/manipulation.js +0 -77
  46. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/querying.js +0 -94
  47. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/stringify.js +0 -22
  48. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/traversal.js +0 -24
  49. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/node_modules/domelementtype/index.js +0 -15
  50. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/node_modules/domelementtype/package.json +0 -46
  51. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/node_modules/domelementtype/readme.md +0 -1
  52. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/package.json +0 -74
  53. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/readme.md +0 -1
  54. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/fixture.js +0 -6
  55. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/tests/helpers.js +0 -89
  56. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/tests/legacy.js +0 -119
  57. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/tests/traversal.js +0 -17
  58. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/utils.js +0 -9
  59. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/README.md +0 -51
  60. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/compile.js +0 -40
  61. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/index.js +0 -9
  62. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/package.json +0 -52
  63. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/parse.js +0 -40
  64. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/test.js +0 -102
  65. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/package.json +0 -90
  66. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/index.js +0 -178
  67. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/node_modules/domelementtype/index.js +0 -14
  68. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/node_modules/domelementtype/package.json +0 -45
  69. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/node_modules/domelementtype/readme.md +0 -1
  70. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/package.json +0 -72
  71. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/index.js +0 -33
  72. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/lib/decode.js +0 -72
  73. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/lib/decode_codepoint.js +0 -26
  74. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/lib/encode.js +0 -73
  75. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/maps/decode.json +0 -1
  76. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/maps/entities.json +0 -1
  77. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/maps/legacy.json +0 -1
  78. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/maps/xml.json +0 -1
  79. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/package.json +0 -79
  80. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/readme.md +0 -27
  81. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/test/mocha.opts +0 -2
  82. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/test/test.js +0 -168
  83. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/CollectingHandler.js +0 -55
  84. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/FeedHandler.js +0 -95
  85. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/Parser.js +0 -353
  86. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/ProxyHandler.js +0 -27
  87. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/Stream.js +0 -35
  88. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/Tokenizer.js +0 -906
  89. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/WritableStream.js +0 -25
  90. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/index.js +0 -68
  91. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domelementtype/index.js +0 -15
  92. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domelementtype/package.json +0 -45
  93. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domelementtype/readme.md +0 -1
  94. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/index.js +0 -182
  95. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/lib/element.js +0 -20
  96. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -44
  97. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/package.json +0 -68
  98. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/readme.md +0 -105
  99. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/01-basic.json +0 -57
  100. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/02-single_tag_1.json +0 -21
  101. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/03-single_tag_2.json +0 -21
  102. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/04-unescaped_in_script.json +0 -27
  103. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/05-tags_in_comment.json +0 -18
  104. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/06-comment_in_script.json +0 -18
  105. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/07-unescaped_in_style.json +0 -20
  106. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/08-extra_spaces_in_tag.json +0 -20
  107. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/09-unquoted_attrib.json +0 -20
  108. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/10-singular_attribute.json +0 -15
  109. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/11-text_outside_tags.json +0 -40
  110. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/12-text_only.json +0 -11
  111. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/13-comment_in_text.json +0 -19
  112. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json +0 -18
  113. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/15-non-verbose.json +0 -22
  114. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/16-normalize_whitespace.json +0 -47
  115. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/17-xml_namespace.json +0 -18
  116. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/18-enforce_empty_tags.json +0 -16
  117. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/19-ignore_empty_tags.json +0 -20
  118. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/20-template_script_tags.json +0 -20
  119. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/21-conditional_comments.json +0 -15
  120. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/22-lowercase_tags.json +0 -41
  121. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/23-dom-lvl1.json +0 -131
  122. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/24-with-start-indices.json +0 -85
  123. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/tests.js +0 -60
  124. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/index.js +0 -14
  125. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +0 -141
  126. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +0 -87
  127. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +0 -77
  128. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +0 -94
  129. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +0 -22
  130. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +0 -24
  131. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/package.json +0 -74
  132. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/readme.md +0 -1
  133. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/fixture.js +0 -6
  134. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/tests/helpers.js +0 -89
  135. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/tests/legacy.js +0 -119
  136. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/tests/traversal.js +0 -17
  137. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/utils.js +0 -9
  138. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/inherits/README.md +0 -42
  139. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/inherits/inherits.js +0 -7
  140. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/inherits/inherits_browser.js +0 -23
  141. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/inherits/package.json +0 -62
  142. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/README.md +0 -36
  143. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/doc/stream.md +0 -2015
  144. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  145. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/duplex.js +0 -1
  146. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
  147. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
  148. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_readable.js +0 -937
  149. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_transform.js +0 -180
  150. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_writable.js +0 -526
  151. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -64
  152. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/buffer-shims/index.js +0 -108
  153. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/buffer-shims/license.md +0 -19
  154. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/buffer-shims/package.json +0 -49
  155. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/buffer-shims/readme.md +0 -21
  156. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/README.md +0 -3
  157. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/float.patch +0 -604
  158. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +0 -107
  159. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/package.json +0 -60
  160. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/test.js +0 -68
  161. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/README.md +0 -60
  162. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/component.json +0 -19
  163. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/index.js +0 -5
  164. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/package.json +0 -71
  165. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/test.js +0 -20
  166. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/index.js +0 -43
  167. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/license.md +0 -19
  168. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/package.json +0 -49
  169. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/readme.md +0 -18
  170. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/test.js +0 -24
  171. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/string_decoder/README.md +0 -7
  172. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/string_decoder/index.js +0 -221
  173. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/string_decoder/package.json +0 -54
  174. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/History.md +0 -16
  175. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/README.md +0 -53
  176. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/browser.js +0 -67
  177. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/node.js +0 -6
  178. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/package.json +0 -54
  179. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/package.json +0 -90
  180. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/passthrough.js +0 -1
  181. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/readable.js +0 -16
  182. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/transform.js +0 -1
  183. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/writable.js +0 -1
  184. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/package.json +0 -84
  185. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.assignin/README.md +0 -18
  186. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.assignin/index.js +0 -626
  187. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.assignin/package.json +0 -77
  188. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.bind/README.md +0 -18
  189. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.bind/index.js +0 -1254
  190. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.bind/package.json +0 -77
  191. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.defaults/README.md +0 -18
  192. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.defaults/index.js +0 -668
  193. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.defaults/package.json +0 -77
  194. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.filter/README.md +0 -18
  195. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.filter/index.js +0 -2366
  196. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.filter/package.json +0 -77
  197. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.flatten/README.md +0 -18
  198. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.flatten/index.js +0 -349
  199. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.flatten/package.json +0 -77
  200. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.foreach/README.md +0 -18
  201. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.foreach/index.js +0 -565
  202. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.foreach/package.json +0 -77
  203. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.map/README.md +0 -18
  204. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.map/index.js +0 -2366
  205. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.map/package.json +0 -77
  206. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.merge/README.md +0 -18
  207. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.merge/index.js +0 -2207
  208. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.merge/package.json +0 -77
  209. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.pick/README.md +0 -18
  210. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.pick/index.js +0 -503
  211. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.pick/package.json +0 -77
  212. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reduce/README.md +0 -18
  213. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reduce/index.js +0 -2372
  214. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reduce/package.json +0 -77
  215. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reject/README.md +0 -18
  216. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reject/index.js +0 -2398
  217. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reject/package.json +0 -77
  218. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.some/README.md +0 -18
  219. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.some/index.js +0 -2368
  220. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.some/package.json +0 -77
  221. data/lib/tck/lambdas/chistacojs/node_modules/cheerio/package.json +0 -105
  222. data/lib/tck/lambdas/chistacojs/node_modules/request/CHANGELOG.md +0 -633
  223. data/lib/tck/lambdas/chistacojs/node_modules/request/CONTRIBUTING.md +0 -81
  224. data/lib/tck/lambdas/chistacojs/node_modules/request/README.md +0 -1097
  225. data/lib/tck/lambdas/chistacojs/node_modules/request/codecov.yml +0 -2
  226. data/lib/tck/lambdas/chistacojs/node_modules/request/index.js +0 -157
  227. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/auth.js +0 -168
  228. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/cookies.js +0 -39
  229. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/getProxyFromURI.js +0 -79
  230. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/har.js +0 -215
  231. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/helpers.js +0 -74
  232. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/multipart.js +0 -112
  233. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/oauth.js +0 -147
  234. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/querystring.js +0 -51
  235. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/redirect.js +0 -153
  236. data/lib/tck/lambdas/chistacojs/node_modules/request/lib/tunnel.js +0 -176
  237. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws-sign2/README.md +0 -4
  238. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws-sign2/index.js +0 -212
  239. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws-sign2/package.json +0 -49
  240. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws4/README.md +0 -514
  241. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws4/aws4.js +0 -318
  242. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws4/lru.js +0 -96
  243. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws4/package.json +0 -106
  244. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/LICENSE.md +0 -13
  245. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/README.md +0 -200
  246. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/bl.js +0 -243
  247. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/README.md +0 -36
  248. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/doc/stream.markdown +0 -1760
  249. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  250. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/duplex.js +0 -1
  251. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
  252. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
  253. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -880
  254. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -180
  255. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -516
  256. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/README.md +0 -3
  257. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/float.patch +0 -604
  258. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +0 -107
  259. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/package.json +0 -60
  260. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/test.js +0 -68
  261. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/README.md +0 -42
  262. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits.js +0 -1
  263. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +0 -23
  264. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/package.json +0 -49
  265. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/test.js +0 -25
  266. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/README.md +0 -60
  267. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json +0 -19
  268. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js +0 -5
  269. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/package.json +0 -71
  270. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/test.js +0 -20
  271. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/index.js +0 -43
  272. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/license.md +0 -19
  273. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/package.json +0 -49
  274. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/readme.md +0 -18
  275. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/test.js +0 -24
  276. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md +0 -7
  277. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/index.js +0 -221
  278. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/package.json +0 -54
  279. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/History.md +0 -16
  280. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/README.md +0 -53
  281. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/browser.js +0 -67
  282. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/node.js +0 -6
  283. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/package.json +0 -54
  284. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/package.json +0 -80
  285. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/passthrough.js +0 -1
  286. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/readable.js +0 -12
  287. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/transform.js +0 -1
  288. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/writable.js +0 -1
  289. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/package.json +0 -64
  290. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/test/test.js +0 -640
  291. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/caseless/README.md +0 -45
  292. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/caseless/index.js +0 -66
  293. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/caseless/package.json +0 -62
  294. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/caseless/test.js +0 -40
  295. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/Readme.md +0 -138
  296. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/lib/combined_stream.js +0 -188
  297. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +0 -141
  298. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  299. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/package.json +0 -64
  300. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/package.json +0 -67
  301. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/CHANGELOG.md +0 -69
  302. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/README.md +0 -62
  303. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/component.json +0 -32
  304. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/index.js +0 -86
  305. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/package.json +0 -73
  306. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/forever-agent/README.md +0 -4
  307. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/forever-agent/index.js +0 -138
  308. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/forever-agent/package.json +0 -56
  309. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/README.md +0 -218
  310. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/lib/browser.js +0 -2
  311. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/lib/form_data.js +0 -411
  312. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/lib/populate.js +0 -9
  313. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/CHANGELOG.md +0 -125
  314. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/README.md +0 -1877
  315. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/dist/async.js +0 -1265
  316. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/dist/async.min.js +0 -2
  317. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +0 -1265
  318. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/package.json +0 -123
  319. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/package.json +0 -104
  320. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/wercker.yml +0 -36
  321. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/README.md +0 -309
  322. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/async.js +0 -14
  323. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/error.js +0 -10
  324. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/index.js +0 -22
  325. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/runner.js +0 -29
  326. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/cache.json +0 -13
  327. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/cacheEntry.json +0 -31
  328. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/content.json +0 -27
  329. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/cookie.json +0 -34
  330. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/creator.json +0 -18
  331. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/entry.json +0 -51
  332. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/har.json +0 -11
  333. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/index.js +0 -49
  334. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/log.json +0 -34
  335. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/page.json +0 -30
  336. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/pageTimings.json +0 -16
  337. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/postData.json +0 -41
  338. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/record.json +0 -18
  339. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/request.json +0 -55
  340. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/response.json +0 -52
  341. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/timings.json +0 -40
  342. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/index.js +0 -116
  343. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/index.js +0 -65
  344. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/package.json +0 -80
  345. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/readme.md +0 -86
  346. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/index.js +0 -11
  347. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/package.json +0 -75
  348. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/readme.md +0 -27
  349. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/index.js +0 -4
  350. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/index.js +0 -4
  351. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json +0 -86
  352. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/readme.md +0 -31
  353. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/package.json +0 -85
  354. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/readme.md +0 -36
  355. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/index.js +0 -6
  356. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -4
  357. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -86
  358. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -31
  359. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/package.json +0 -90
  360. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/readme.md +0 -33
  361. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/index.js +0 -50
  362. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/package.json +0 -79
  363. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/readme.md +0 -36
  364. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/package.json +0 -107
  365. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/readme.md +0 -213
  366. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/History.md +0 -261
  367. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/Readme.md +0 -351
  368. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/index.js +0 -1110
  369. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/README.md +0 -17
  370. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/index.js +0 -12
  371. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/package.json +0 -48
  372. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/package.json +0 -71
  373. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/README.md +0 -173
  374. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/example.js +0 -18
  375. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/formats.js +0 -14
  376. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/index.js +0 -584
  377. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/README.md +0 -72
  378. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/example.js +0 -27
  379. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/index.js +0 -61
  380. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/package.json +0 -53
  381. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/test.js +0 -33
  382. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/README.md +0 -19
  383. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js +0 -12
  384. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/README.md +0 -28
  385. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/is-property.js +0 -5
  386. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/package.json +0 -59
  387. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/package.json +0 -51
  388. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/test.js +0 -12
  389. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/README.md +0 -32
  390. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/jsonpointer.js +0 -76
  391. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/package.json +0 -64
  392. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/test.js +0 -98
  393. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/README.md +0 -32
  394. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/immutable.js +0 -19
  395. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/mutable.js +0 -17
  396. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/package.json +0 -84
  397. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/test.js +0 -83
  398. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/package.json +0 -75
  399. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/require.js +0 -12
  400. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/fixtures/cosmic.js +0 -84
  401. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +0 -82
  402. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +0 -88
  403. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +0 -112
  404. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +0 -68
  405. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +0 -107
  406. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +0 -49
  407. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +0 -32
  408. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +0 -113
  409. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +0 -72
  410. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +0 -143
  411. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +0 -46
  412. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +0 -28
  413. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +0 -28
  414. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +0 -28
  415. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +0 -42
  416. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +0 -28
  417. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +0 -28
  418. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +0 -28
  419. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +0 -42
  420. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +0 -96
  421. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +0 -96
  422. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +0 -18
  423. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +0 -18
  424. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +0 -68
  425. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +0 -23
  426. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +0 -110
  427. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +0 -92
  428. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +0 -128
  429. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +0 -74
  430. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +0 -39
  431. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +0 -330
  432. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +0 -79
  433. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema.js +0 -23
  434. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/misc.js +0 -447
  435. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/index.js +0 -3
  436. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie/index.js +0 -292
  437. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie/package.json +0 -66
  438. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie/readme.md +0 -83
  439. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/package.json +0 -69
  440. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/readme.md +0 -28
  441. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/package.json +0 -87
  442. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/README.md +0 -634
  443. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/bower.json +0 -24
  444. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/component.json +0 -19
  445. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/dist/client.js +0 -343
  446. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/example/usage.js +0 -78
  447. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
  448. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/images/logo.png +0 -0
  449. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/browser.js +0 -637
  450. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/client.js +0 -369
  451. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/crypto.js +0 -126
  452. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/index.js +0 -15
  453. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/server.js +0 -548
  454. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/utils.js +0 -184
  455. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/CONTRIBUTING.md +0 -1
  456. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/README.md +0 -652
  457. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
  458. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +0 -318
  459. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/package.json +0 -64
  460. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/test/index.js +0 -654
  461. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +0 -16
  462. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +0 -68
  463. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +0 -61
  464. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/cryptiles/test/index.js +0 -102
  465. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/CONTRIBUTING.md +0 -1
  466. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +0 -584
  467. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
  468. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +0 -132
  469. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +0 -993
  470. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +0 -61
  471. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/escaper.js +0 -88
  472. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js +0 -2513
  473. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt +0 -0
  474. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js +0 -1
  475. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js +0 -1
  476. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js +0 -1
  477. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +0 -68
  478. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +0 -16
  479. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +0 -25
  480. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +0 -1
  481. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +0 -412
  482. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +0 -65
  483. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/test/index.js +0 -435
  484. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/package.json +0 -68
  485. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/browser.js +0 -1492
  486. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/client.js +0 -440
  487. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/crypto.js +0 -70
  488. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/index.js +0 -378
  489. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/readme.js +0 -95
  490. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/server.js +0 -1329
  491. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/uri.js +0 -838
  492. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/utils.js +0 -149
  493. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/CHANGES.md +0 -46
  494. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/README.md +0 -79
  495. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/http_signing.md +0 -363
  496. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/index.js +0 -29
  497. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/parser.js +0 -318
  498. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/signer.js +0 -399
  499. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/utils.js +0 -112
  500. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/verify.js +0 -88
  501. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/CHANGES.md +0 -8
  502. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +0 -155
  503. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +0 -206
  504. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +0 -83
  505. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/CHANGES.md +0 -35
  506. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/README.md +0 -237
  507. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/lib/jsprim.js +0 -488
  508. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/Makefile.deps +0 -39
  509. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/Makefile.targ +0 -285
  510. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/README.md +0 -39
  511. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/examples/simple.js +0 -2
  512. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/jsl.node.conf +0 -137
  513. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/lib/extsprintf.js +0 -166
  514. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/package.json +0 -37
  515. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/README.md +0 -5
  516. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
  517. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
  518. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/lib/links.js +0 -52
  519. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/lib/validate.js +0 -260
  520. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/package.json +0 -59
  521. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/test/tests.js +0 -95
  522. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/Makefile.targ +0 -285
  523. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/README.md +0 -120
  524. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/levels-verror.js +0 -36
  525. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/levels-werror.js +0 -34
  526. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/varargs.js +0 -6
  527. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/verror.js +0 -13
  528. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/werror.js +0 -14
  529. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/jsl.node.conf +0 -139
  530. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/lib/verror.js +0 -157
  531. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json +0 -43
  532. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/tests/tst.inherit.js +0 -100
  533. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/tests/tst.verror.js +0 -156
  534. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/tests/tst.werror.js +0 -179
  535. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/package.json +0 -51
  536. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/README.md +0 -666
  537. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/algs.js +0 -168
  538. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/certificate.js +0 -291
  539. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/dhe.js +0 -311
  540. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/ed-compat.js +0 -96
  541. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/errors.js +0 -84
  542. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/fingerprint.js +0 -161
  543. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/auto.js +0 -73
  544. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/openssh-cert.js +0 -289
  545. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/pem.js +0 -186
  546. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/pkcs1.js +0 -320
  547. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/pkcs8.js +0 -505
  548. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/rfc4253.js +0 -146
  549. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/ssh-private.js +0 -138
  550. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/ssh.js +0 -114
  551. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/x509-pem.js +0 -77
  552. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/x509.js +0 -484
  553. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/identity.js +0 -255
  554. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/index.js +0 -38
  555. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/key.js +0 -270
  556. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/private-key.js +0 -231
  557. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/signature.js +0 -245
  558. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/ssh-buffer.js +0 -148
  559. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/utils.js +0 -246
  560. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/man/man1/sshpk-conv.1 +0 -135
  561. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/man/man1/sshpk-sign.1 +0 -81
  562. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/man/man1/sshpk-verify.1 +0 -68
  563. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/README.md +0 -50
  564. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/errors.js +0 -13
  565. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/index.js +0 -27
  566. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/reader.js +0 -261
  567. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/types.js +0 -36
  568. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/writer.js +0 -316
  569. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/index.js +0 -20
  570. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/package.json +0 -65
  571. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/tst/ber/reader.test.js +0 -208
  572. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/tst/ber/writer.test.js +0 -370
  573. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +0 -14
  574. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/README.md +0 -162
  575. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/assert.js +0 -211
  576. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/package.json +0 -83
  577. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/README.md +0 -574
  578. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/etc/dashdash.bash_completion.in +0 -388
  579. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/lib/dashdash.js +0 -1055
  580. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/package.json +0 -91
  581. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/README.md +0 -8
  582. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/index.js +0 -57
  583. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/lib/ec.js +0 -561
  584. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/lib/sec.js +0 -170
  585. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/package.json +0 -56
  586. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/test.js +0 -14
  587. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/README.md +0 -32
  588. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/lib/index.js +0 -123
  589. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/package.json +0 -57
  590. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/AUTHORS.md +0 -3
  591. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/README.md +0 -51
  592. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/almond.0 +0 -42
  593. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/almond.1 +0 -13
  594. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/index.js +0 -35
  595. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/jsdoc.json +0 -19
  596. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/core.js +0 -481
  597. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/curve255.js +0 -221
  598. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/dh.js +0 -111
  599. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/eddsa.js +0 -573
  600. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/utils.js +0 -198
  601. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/package.json +0 -71
  602. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/README.md +0 -175
  603. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/example.html +0 -12
  604. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/example.js +0 -3
  605. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/index.js +0 -1358
  606. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/package.json +0 -50
  607. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/CHANGELOG.md +0 -128
  608. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/README.md +0 -463
  609. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/nacl-fast.js +0 -2418
  610. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/nacl-fast.min.js +0 -2
  611. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/nacl.js +0 -1205
  612. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/nacl.min.js +0 -1
  613. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/package.json +0 -94
  614. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/package.json +0 -101
  615. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/package.json +0 -83
  616. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/LICENSE.md +0 -18
  617. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/README.md +0 -16
  618. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/index.js +0 -41
  619. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/package.json +0 -57
  620. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/test.js +0 -34
  621. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/LICENSE.md +0 -11
  622. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/README.md +0 -66
  623. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/isstream.js +0 -27
  624. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/package.json +0 -59
  625. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/test.js +0 -168
  626. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  627. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/README.md +0 -52
  628. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/package.json +0 -68
  629. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/stringify.js +0 -27
  630. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  631. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  632. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/HISTORY.md +0 -197
  633. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/README.md +0 -103
  634. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/index.js +0 -188
  635. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/HISTORY.md +0 -341
  636. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/README.md +0 -82
  637. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/db.json +0 -6627
  638. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/index.js +0 -11
  639. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/package.json +0 -99
  640. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/package.json +0 -89
  641. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/LICENSE.md +0 -21
  642. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/README.md +0 -254
  643. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/README.md +0 -53
  644. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +0 -174
  645. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +0 -34
  646. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
  647. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +0 -84
  648. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/bower.json +0 -23
  649. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/component.json +0 -25
  650. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/package.json +0 -81
  651. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/test/compare_v1.js +0 -63
  652. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/test/test.html +0 -17
  653. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/test/test.js +0 -231
  654. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/uuid.js +0 -272
  655. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/oauth-sign/README.md +0 -4
  656. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/oauth-sign/index.js +0 -136
  657. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/oauth-sign/package.json +0 -66
  658. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/CHANGELOG.md +0 -130
  659. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/CONTRIBUTING.md +0 -1
  660. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/README.md +0 -376
  661. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/dist/qs.js +0 -486
  662. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/lib/index.js +0 -9
  663. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/lib/parse.js +0 -166
  664. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/lib/stringify.js +0 -137
  665. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/lib/utils.js +0 -164
  666. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/package.json +0 -87
  667. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/test/index.js +0 -5
  668. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/test/parse.js +0 -451
  669. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/test/stringify.js +0 -305
  670. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/test/utils.js +0 -9
  671. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/LICENSE.txt +0 -22
  672. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/README.md +0 -38
  673. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/example.js +0 -27
  674. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/package.json +0 -50
  675. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/stringstream.js +0 -102
  676. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/README.md +0 -506
  677. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/cookie.js +0 -1336
  678. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/memstore.js +0 -170
  679. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/pathMatch.js +0 -61
  680. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/permuteDomain.js +0 -56
  681. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +0 -98
  682. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/store.js +0 -71
  683. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/package.json +0 -95
  684. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tunnel-agent/README.md +0 -4
  685. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tunnel-agent/index.js +0 -243
  686. data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tunnel-agent/package.json +0 -68
  687. data/lib/tck/lambdas/chistacojs/node_modules/request/package.json +0 -119
  688. data/lib/tck/lambdas/chistacojs/node_modules/request/request.js +0 -1434
  689. data/lib/tck/lambdas/chistacojs/post_chistaco.js +0 -21
  690. data/lib/tck/lambdas/chistacojs/refreshing_matter.js +0 -17
@@ -1,1329 +0,0 @@
1
- // Load modules
2
-
3
- var Url = require('url');
4
- var Code = require('code');
5
- var Hawk = require('../lib');
6
- var Hoek = require('hoek');
7
- var Lab = require('lab');
8
-
9
-
10
- // Declare internals
11
-
12
- var internals = {};
13
-
14
-
15
- // Test shortcuts
16
-
17
- var lab = exports.lab = Lab.script();
18
- var describe = lab.experiment;
19
- var it = lab.test;
20
- var expect = Code.expect;
21
-
22
-
23
- describe('Server', function () {
24
-
25
- var credentialsFunc = function (id, callback) {
26
-
27
- var credentials = {
28
- id: id,
29
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
30
- algorithm: (id === '1' ? 'sha1' : 'sha256'),
31
- user: 'steve'
32
- };
33
-
34
- return callback(null, credentials);
35
- };
36
-
37
- describe('authenticate()', function () {
38
-
39
- it('parses a valid authentication header (sha1)', function (done) {
40
-
41
- var req = {
42
- method: 'GET',
43
- url: '/resource/4?filter=a',
44
- host: 'example.com',
45
- port: 8080,
46
- authorization: 'Hawk id="1", ts="1353788437", nonce="k3j4h2", mac="zy79QQ5/EYFmQqutVnYb73gAc/U=", ext="hello"'
47
- };
48
-
49
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
50
-
51
- expect(err).to.not.exist();
52
- expect(credentials.user).to.equal('steve');
53
- done();
54
- });
55
- });
56
-
57
- it('parses a valid authentication header (sha256)', function (done) {
58
-
59
- var req = {
60
- method: 'GET',
61
- url: '/resource/1?b=1&a=2',
62
- host: 'example.com',
63
- port: 8000,
64
- authorization: 'Hawk id="dh37fgj492je", ts="1353832234", nonce="j4h3g2", mac="m8r1rHbXN6NgO+KIIhjO7sFRyd78RNGVUwehe8Cp2dU=", ext="some-app-data"'
65
- };
66
-
67
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353832234000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
68
-
69
- expect(err).to.not.exist();
70
- expect(credentials.user).to.equal('steve');
71
- done();
72
- });
73
- });
74
-
75
- it('parses a valid authentication header (host override)', function (done) {
76
-
77
- var req = {
78
- method: 'GET',
79
- url: '/resource/4?filter=a',
80
- headers: {
81
- host: 'example1.com:8080',
82
- authorization: 'Hawk id="1", ts="1353788437", nonce="k3j4h2", mac="zy79QQ5/EYFmQqutVnYb73gAc/U=", ext="hello"'
83
- }
84
- };
85
-
86
- Hawk.server.authenticate(req, credentialsFunc, { host: 'example.com', localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
87
-
88
- expect(err).to.not.exist();
89
- expect(credentials.user).to.equal('steve');
90
- done();
91
- });
92
- });
93
-
94
- it('parses a valid authentication header (host port override)', function (done) {
95
-
96
- var req = {
97
- method: 'GET',
98
- url: '/resource/4?filter=a',
99
- headers: {
100
- host: 'example1.com:80',
101
- authorization: 'Hawk id="1", ts="1353788437", nonce="k3j4h2", mac="zy79QQ5/EYFmQqutVnYb73gAc/U=", ext="hello"'
102
- }
103
- };
104
-
105
- Hawk.server.authenticate(req, credentialsFunc, { host: 'example.com', port: 8080, localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
106
-
107
- expect(err).to.not.exist();
108
- expect(credentials.user).to.equal('steve');
109
- done();
110
- });
111
- });
112
-
113
- it('parses a valid authentication header (POST with payload)', function (done) {
114
-
115
- var req = {
116
- method: 'POST',
117
- url: '/resource/4?filter=a',
118
- host: 'example.com',
119
- port: 8080,
120
- authorization: 'Hawk id="123456", ts="1357926341", nonce="1AwuJD", hash="qAiXIVv+yjDATneWxZP2YCTa9aHRgQdnH9b3Wc+o3dg=", ext="some-app-data", mac="UeYcj5UoTVaAWXNvJfLVia7kU3VabxCqrccXP8sUGC4="'
121
- };
122
-
123
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1357926341000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
124
-
125
- expect(err).to.not.exist();
126
- expect(credentials.user).to.equal('steve');
127
- done();
128
- });
129
- });
130
-
131
- it('errors on missing hash', function (done) {
132
-
133
- var req = {
134
- method: 'GET',
135
- url: '/resource/1?b=1&a=2',
136
- host: 'example.com',
137
- port: 8000,
138
- authorization: 'Hawk id="dh37fgj492je", ts="1353832234", nonce="j4h3g2", mac="m8r1rHbXN6NgO+KIIhjO7sFRyd78RNGVUwehe8Cp2dU=", ext="some-app-data"'
139
- };
140
-
141
- Hawk.server.authenticate(req, credentialsFunc, { payload: 'body', localtimeOffsetMsec: 1353832234000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
142
-
143
- expect(err).to.exist();
144
- expect(err.output.payload.message).to.equal('Missing required payload hash');
145
- done();
146
- });
147
- });
148
-
149
- it('errors on a stale timestamp', function (done) {
150
-
151
- var req = {
152
- method: 'GET',
153
- url: '/resource/4?filter=a',
154
- host: 'example.com',
155
- port: 8080,
156
- authorization: 'Hawk id="123456", ts="1362337299", nonce="UzmxSs", ext="some-app-data", mac="wnNUxchvvryMH2RxckTdZ/gY3ijzvccx4keVvELC61w="'
157
- };
158
-
159
- Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
160
-
161
- expect(err).to.exist();
162
- expect(err.output.payload.message).to.equal('Stale timestamp');
163
- var header = err.output.headers['WWW-Authenticate'];
164
- var ts = header.match(/^Hawk ts\=\"(\d+)\"\, tsm\=\"([^\"]+)\"\, error=\"Stale timestamp\"$/);
165
- var now = Hawk.utils.now();
166
- expect(parseInt(ts[1], 10) * 1000).to.be.within(now - 1000, now + 1000);
167
-
168
- var res = {
169
- headers: {
170
- 'www-authenticate': header
171
- }
172
- };
173
-
174
- expect(Hawk.client.authenticate(res, credentials, artifacts)).to.equal(true);
175
- done();
176
- });
177
- });
178
-
179
- it('errors on a replay', function (done) {
180
-
181
- var req = {
182
- method: 'GET',
183
- url: '/resource/4?filter=a',
184
- host: 'example.com',
185
- port: 8080,
186
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="bXx7a7p1h9QYQNZ8x7QhvDQym8ACgab4m3lVSFn4DBw=", ext="hello"'
187
- };
188
-
189
- var memoryCache = {};
190
- var options = {
191
- localtimeOffsetMsec: 1353788437000 - Hawk.utils.now(),
192
- nonceFunc: function (key, nonce, ts, callback) {
193
-
194
- if (memoryCache[key + nonce]) {
195
- return callback(new Error());
196
- }
197
-
198
- memoryCache[key + nonce] = true;
199
- return callback();
200
- }
201
- };
202
-
203
- Hawk.server.authenticate(req, credentialsFunc, options, function (err, credentials1, artifacts1) {
204
-
205
- expect(err).to.not.exist();
206
- expect(credentials1.user).to.equal('steve');
207
-
208
- Hawk.server.authenticate(req, credentialsFunc, options, function (err, credentials2, artifacts2) {
209
-
210
- expect(err).to.exist();
211
- expect(err.output.payload.message).to.equal('Invalid nonce');
212
- done();
213
- });
214
- });
215
- });
216
-
217
- it('does not error on nonce collision if keys differ', function (done) {
218
-
219
- var reqSteve = {
220
- method: 'GET',
221
- url: '/resource/4?filter=a',
222
- host: 'example.com',
223
- port: 8080,
224
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="bXx7a7p1h9QYQNZ8x7QhvDQym8ACgab4m3lVSFn4DBw=", ext="hello"'
225
- };
226
-
227
- var reqBob = {
228
- method: 'GET',
229
- url: '/resource/4?filter=a',
230
- host: 'example.com',
231
- port: 8080,
232
- authorization: 'Hawk id="456", ts="1353788437", nonce="k3j4h2", mac="LXfmTnRzrLd9TD7yfH+4se46Bx6AHyhpM94hLCiNia4=", ext="hello"'
233
- };
234
-
235
- var credentialsFuncion = function (id, callback) {
236
-
237
- var credentials = {
238
- '123': {
239
- id: id,
240
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
241
- algorithm: (id === '1' ? 'sha1' : 'sha256'),
242
- user: 'steve'
243
- },
244
- '456': {
245
- id: id,
246
- key: 'xrunpaw3489ruxnpa98w4rxnwerxhqb98rpaxn39848',
247
- algorithm: (id === '1' ? 'sha1' : 'sha256'),
248
- user: 'bob'
249
- }
250
- };
251
-
252
- return callback(null, credentials[id]);
253
- };
254
-
255
- var memoryCache = {};
256
- var options = {
257
- localtimeOffsetMsec: 1353788437000 - Hawk.utils.now(),
258
- nonceFunc: function (key, nonce, ts, callback) {
259
-
260
- if (memoryCache[key + nonce]) {
261
- return callback(new Error());
262
- }
263
-
264
- memoryCache[key + nonce] = true;
265
- return callback();
266
- }
267
- };
268
-
269
- Hawk.server.authenticate(reqSteve, credentialsFuncion, options, function (err, credentials1, artifacts1) {
270
-
271
- expect(err).to.not.exist();
272
- expect(credentials1.user).to.equal('steve');
273
-
274
- Hawk.server.authenticate(reqBob, credentialsFuncion, options, function (err, credentials2, artifacts2) {
275
-
276
- expect(err).to.not.exist();
277
- expect(credentials2.user).to.equal('bob');
278
- done();
279
- });
280
- });
281
- });
282
-
283
- it('errors on an invalid authentication header: wrong scheme', function (done) {
284
-
285
- var req = {
286
- method: 'GET',
287
- url: '/resource/4?filter=a',
288
- host: 'example.com',
289
- port: 8080,
290
- authorization: 'Basic asdasdasdasd'
291
- };
292
-
293
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
294
-
295
- expect(err).to.exist();
296
- expect(err.output.payload.message).to.not.exist();
297
- done();
298
- });
299
- });
300
-
301
- it('errors on an invalid authentication header: no scheme', function (done) {
302
-
303
- var req = {
304
- method: 'GET',
305
- url: '/resource/4?filter=a',
306
- host: 'example.com',
307
- port: 8080,
308
- authorization: '!@#'
309
- };
310
-
311
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
312
-
313
- expect(err).to.exist();
314
- expect(err.output.payload.message).to.equal('Invalid header syntax');
315
- done();
316
- });
317
- });
318
-
319
- it('errors on an missing authorization header', function (done) {
320
-
321
- var req = {
322
- method: 'GET',
323
- url: '/resource/4?filter=a',
324
- host: 'example.com',
325
- port: 8080
326
- };
327
-
328
- Hawk.server.authenticate(req, credentialsFunc, {}, function (err, credentials, artifacts) {
329
-
330
- expect(err).to.exist();
331
- expect(err.isMissing).to.equal(true);
332
- done();
333
- });
334
- });
335
-
336
- it('errors on an missing host header', function (done) {
337
-
338
- var req = {
339
- method: 'GET',
340
- url: '/resource/4?filter=a',
341
- headers: {
342
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
343
- }
344
- };
345
-
346
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
347
-
348
- expect(err).to.exist();
349
- expect(err.output.payload.message).to.equal('Invalid Host header');
350
- done();
351
- });
352
- });
353
-
354
- it('errors on an missing authorization attribute (id)', function (done) {
355
-
356
- var req = {
357
- method: 'GET',
358
- url: '/resource/4?filter=a',
359
- host: 'example.com',
360
- port: 8080,
361
- authorization: 'Hawk ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
362
- };
363
-
364
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
365
-
366
- expect(err).to.exist();
367
- expect(err.output.payload.message).to.equal('Missing attributes');
368
- done();
369
- });
370
- });
371
-
372
- it('errors on an missing authorization attribute (ts)', function (done) {
373
-
374
- var req = {
375
- method: 'GET',
376
- url: '/resource/4?filter=a',
377
- host: 'example.com',
378
- port: 8080,
379
- authorization: 'Hawk id="123", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
380
- };
381
-
382
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
383
-
384
- expect(err).to.exist();
385
- expect(err.output.payload.message).to.equal('Missing attributes');
386
- done();
387
- });
388
- });
389
-
390
- it('errors on an missing authorization attribute (nonce)', function (done) {
391
-
392
- var req = {
393
- method: 'GET',
394
- url: '/resource/4?filter=a',
395
- host: 'example.com',
396
- port: 8080,
397
- authorization: 'Hawk id="123", ts="1353788437", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
398
- };
399
-
400
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
401
-
402
- expect(err).to.exist();
403
- expect(err.output.payload.message).to.equal('Missing attributes');
404
- done();
405
- });
406
- });
407
-
408
- it('errors on an missing authorization attribute (mac)', function (done) {
409
-
410
- var req = {
411
- method: 'GET',
412
- url: '/resource/4?filter=a',
413
- host: 'example.com',
414
- port: 8080,
415
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", ext="hello"'
416
- };
417
-
418
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
419
-
420
- expect(err).to.exist();
421
- expect(err.output.payload.message).to.equal('Missing attributes');
422
- done();
423
- });
424
- });
425
-
426
- it('errors on an unknown authorization attribute', function (done) {
427
-
428
- var req = {
429
- method: 'GET',
430
- url: '/resource/4?filter=a',
431
- host: 'example.com',
432
- port: 8080,
433
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", x="3", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
434
- };
435
-
436
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
437
-
438
- expect(err).to.exist();
439
- expect(err.output.payload.message).to.equal('Unknown attribute: x');
440
- done();
441
- });
442
- });
443
-
444
- it('errors on an bad authorization header format', function (done) {
445
-
446
- var req = {
447
- method: 'GET',
448
- url: '/resource/4?filter=a',
449
- host: 'example.com',
450
- port: 8080,
451
- authorization: 'Hawk id="123\\", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
452
- };
453
-
454
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
455
-
456
- expect(err).to.exist();
457
- expect(err.output.payload.message).to.equal('Bad header format');
458
- done();
459
- });
460
- });
461
-
462
- it('errors on an bad authorization attribute value', function (done) {
463
-
464
- var req = {
465
- method: 'GET',
466
- url: '/resource/4?filter=a',
467
- host: 'example.com',
468
- port: 8080,
469
- authorization: 'Hawk id="\t", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
470
- };
471
-
472
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
473
-
474
- expect(err).to.exist();
475
- expect(err.output.payload.message).to.equal('Bad attribute value: id');
476
- done();
477
- });
478
- });
479
-
480
- it('errors on an empty authorization attribute value', function (done) {
481
-
482
- var req = {
483
- method: 'GET',
484
- url: '/resource/4?filter=a',
485
- host: 'example.com',
486
- port: 8080,
487
- authorization: 'Hawk id="", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
488
- };
489
-
490
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
491
-
492
- expect(err).to.exist();
493
- expect(err.output.payload.message).to.equal('Bad attribute value: id');
494
- done();
495
- });
496
- });
497
-
498
- it('errors on duplicated authorization attribute key', function (done) {
499
-
500
- var req = {
501
- method: 'GET',
502
- url: '/resource/4?filter=a',
503
- host: 'example.com',
504
- port: 8080,
505
- authorization: 'Hawk id="123", id="456", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
506
- };
507
-
508
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
509
-
510
- expect(err).to.exist();
511
- expect(err.output.payload.message).to.equal('Duplicate attribute: id');
512
- done();
513
- });
514
- });
515
-
516
- it('errors on an invalid authorization header format', function (done) {
517
-
518
- var req = {
519
- method: 'GET',
520
- url: '/resource/4?filter=a',
521
- host: 'example.com',
522
- port: 8080,
523
- authorization: 'Hawk'
524
- };
525
-
526
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
527
-
528
- expect(err).to.exist();
529
- expect(err.output.payload.message).to.equal('Invalid header syntax');
530
- done();
531
- });
532
- });
533
-
534
- it('errors on an bad host header (missing host)', function (done) {
535
-
536
- var req = {
537
- method: 'GET',
538
- url: '/resource/4?filter=a',
539
- headers: {
540
- host: ':8080',
541
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
542
- }
543
- };
544
-
545
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
546
-
547
- expect(err).to.exist();
548
- expect(err.output.payload.message).to.equal('Invalid Host header');
549
- done();
550
- });
551
- });
552
-
553
- it('errors on an bad host header (pad port)', function (done) {
554
-
555
- var req = {
556
- method: 'GET',
557
- url: '/resource/4?filter=a',
558
- headers: {
559
- host: 'example.com:something',
560
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
561
- }
562
- };
563
-
564
- Hawk.server.authenticate(req, credentialsFunc, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
565
-
566
- expect(err).to.exist();
567
- expect(err.output.payload.message).to.equal('Invalid Host header');
568
- done();
569
- });
570
- });
571
-
572
- it('errors on credentialsFunc error', function (done) {
573
-
574
- var req = {
575
- method: 'GET',
576
- url: '/resource/4?filter=a',
577
- host: 'example.com',
578
- port: 8080,
579
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
580
- };
581
-
582
- var credentialsFuncion = function (id, callback) {
583
-
584
- return callback(new Error('Unknown user'));
585
- };
586
-
587
- Hawk.server.authenticate(req, credentialsFuncion, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
588
-
589
- expect(err).to.exist();
590
- expect(err.message).to.equal('Unknown user');
591
- done();
592
- });
593
- });
594
-
595
- it('errors on credentialsFunc error (with credentials)', function (done) {
596
-
597
- var req = {
598
- method: 'GET',
599
- url: '/resource/4?filter=a',
600
- host: 'example.com',
601
- port: 8080,
602
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
603
- };
604
-
605
- var credentialsFuncion = function (id, callback) {
606
-
607
- return callback(new Error('Unknown user'), { some: 'value' });
608
- };
609
-
610
- Hawk.server.authenticate(req, credentialsFuncion, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
611
-
612
- expect(err).to.exist();
613
- expect(err.message).to.equal('Unknown user');
614
- expect(credentials.some).to.equal('value');
615
- done();
616
- });
617
- });
618
-
619
- it('errors on missing credentials', function (done) {
620
-
621
- var req = {
622
- method: 'GET',
623
- url: '/resource/4?filter=a',
624
- host: 'example.com',
625
- port: 8080,
626
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
627
- };
628
-
629
- var credentialsFuncion = function (id, callback) {
630
-
631
- return callback(null, null);
632
- };
633
-
634
- Hawk.server.authenticate(req, credentialsFuncion, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
635
-
636
- expect(err).to.exist();
637
- expect(err.output.payload.message).to.equal('Unknown credentials');
638
- done();
639
- });
640
- });
641
-
642
- it('errors on invalid credentials (id)', function (done) {
643
-
644
- var req = {
645
- method: 'GET',
646
- url: '/resource/4?filter=a',
647
- host: 'example.com',
648
- port: 8080,
649
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
650
- };
651
-
652
- var credentialsFuncion = function (id, callback) {
653
-
654
- var credentials = {
655
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
656
- user: 'steve'
657
- };
658
-
659
- return callback(null, credentials);
660
- };
661
-
662
- Hawk.server.authenticate(req, credentialsFuncion, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
663
-
664
- expect(err).to.exist();
665
- expect(err.message).to.equal('Invalid credentials');
666
- expect(err.output.payload.message).to.equal('An internal server error occurred');
667
- done();
668
- });
669
- });
670
-
671
- it('errors on invalid credentials (key)', function (done) {
672
-
673
- var req = {
674
- method: 'GET',
675
- url: '/resource/4?filter=a',
676
- host: 'example.com',
677
- port: 8080,
678
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
679
- };
680
-
681
- var credentialsFuncion = function (id, callback) {
682
-
683
- var credentials = {
684
- id: '23434d3q4d5345d',
685
- user: 'steve'
686
- };
687
-
688
- return callback(null, credentials);
689
- };
690
-
691
- Hawk.server.authenticate(req, credentialsFuncion, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
692
-
693
- expect(err).to.exist();
694
- expect(err.message).to.equal('Invalid credentials');
695
- expect(err.output.payload.message).to.equal('An internal server error occurred');
696
- done();
697
- });
698
- });
699
-
700
- it('errors on unknown credentials algorithm', function (done) {
701
-
702
- var req = {
703
- method: 'GET',
704
- url: '/resource/4?filter=a',
705
- host: 'example.com',
706
- port: 8080,
707
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcUyW6EEgUH4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
708
- };
709
-
710
- var credentialsFuncion = function (id, callback) {
711
-
712
- var credentials = {
713
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
714
- algorithm: 'hmac-sha-0',
715
- user: 'steve'
716
- };
717
-
718
- return callback(null, credentials);
719
- };
720
-
721
- Hawk.server.authenticate(req, credentialsFuncion, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
722
-
723
- expect(err).to.exist();
724
- expect(err.message).to.equal('Unknown algorithm');
725
- expect(err.output.payload.message).to.equal('An internal server error occurred');
726
- done();
727
- });
728
- });
729
-
730
- it('errors on unknown bad mac', function (done) {
731
-
732
- var req = {
733
- method: 'GET',
734
- url: '/resource/4?filter=a',
735
- host: 'example.com',
736
- port: 8080,
737
- authorization: 'Hawk id="123", ts="1353788437", nonce="k3j4h2", mac="/qwS4UjfVWMcU4jlr7T/wuKe3dKijvTvSos=", ext="hello"'
738
- };
739
-
740
- var credentialsFuncion = function (id, callback) {
741
-
742
- var credentials = {
743
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
744
- algorithm: 'sha256',
745
- user: 'steve'
746
- };
747
-
748
- return callback(null, credentials);
749
- };
750
-
751
- Hawk.server.authenticate(req, credentialsFuncion, { localtimeOffsetMsec: 1353788437000 - Hawk.utils.now() }, function (err, credentials, artifacts) {
752
-
753
- expect(err).to.exist();
754
- expect(err.output.payload.message).to.equal('Bad mac');
755
- done();
756
- });
757
- });
758
- });
759
-
760
- describe('header()', function () {
761
-
762
- it('generates header', function (done) {
763
-
764
- var credentials = {
765
- id: '123456',
766
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
767
- algorithm: 'sha256',
768
- user: 'steve'
769
- };
770
-
771
- var artifacts = {
772
- method: 'POST',
773
- host: 'example.com',
774
- port: '8080',
775
- resource: '/resource/4?filter=a',
776
- ts: '1398546787',
777
- nonce: 'xUwusx',
778
- hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
779
- ext: 'some-app-data',
780
- mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
781
- id: '123456'
782
- };
783
-
784
- var header = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
785
- expect(header).to.equal('Hawk mac=\"n14wVJK4cOxAytPUMc5bPezQzuJGl5n7MYXhFQgEKsE=\", hash=\"f9cDF/TDm7TkYRLnGwRMfeDzT6LixQVLvrIKhh0vgmM=\", ext=\"response-specific\"');
786
- done();
787
- });
788
-
789
- it('generates header (empty payload)', function (done) {
790
-
791
- var credentials = {
792
- id: '123456',
793
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
794
- algorithm: 'sha256',
795
- user: 'steve'
796
- };
797
-
798
- var artifacts = {
799
- method: 'POST',
800
- host: 'example.com',
801
- port: '8080',
802
- resource: '/resource/4?filter=a',
803
- ts: '1398546787',
804
- nonce: 'xUwusx',
805
- hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
806
- ext: 'some-app-data',
807
- mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
808
- id: '123456'
809
- };
810
-
811
- var header = Hawk.server.header(credentials, artifacts, { payload: '', contentType: 'text/plain', ext: 'response-specific' });
812
- expect(header).to.equal('Hawk mac=\"i8/kUBDx0QF+PpCtW860kkV/fa9dbwEoe/FpGUXowf0=\", hash=\"q/t+NNAkQZNlq/aAD6PlexImwQTxwgT2MahfTa9XRLA=\", ext=\"response-specific\"');
813
- done();
814
- });
815
-
816
- it('generates header (pre calculated hash)', function (done) {
817
-
818
- var credentials = {
819
- id: '123456',
820
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
821
- algorithm: 'sha256',
822
- user: 'steve'
823
- };
824
-
825
- var artifacts = {
826
- method: 'POST',
827
- host: 'example.com',
828
- port: '8080',
829
- resource: '/resource/4?filter=a',
830
- ts: '1398546787',
831
- nonce: 'xUwusx',
832
- hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
833
- ext: 'some-app-data',
834
- mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
835
- id: '123456'
836
- };
837
-
838
- var options = { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' };
839
- options.hash = Hawk.crypto.calculatePayloadHash(options.payload, credentials.algorithm, options.contentType);
840
- var header = Hawk.server.header(credentials, artifacts, options);
841
- expect(header).to.equal('Hawk mac=\"n14wVJK4cOxAytPUMc5bPezQzuJGl5n7MYXhFQgEKsE=\", hash=\"f9cDF/TDm7TkYRLnGwRMfeDzT6LixQVLvrIKhh0vgmM=\", ext=\"response-specific\"');
842
- done();
843
- });
844
-
845
- it('generates header (null ext)', function (done) {
846
-
847
- var credentials = {
848
- id: '123456',
849
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
850
- algorithm: 'sha256',
851
- user: 'steve'
852
- };
853
-
854
- var artifacts = {
855
- method: 'POST',
856
- host: 'example.com',
857
- port: '8080',
858
- resource: '/resource/4?filter=a',
859
- ts: '1398546787',
860
- nonce: 'xUwusx',
861
- hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
862
- mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
863
- id: '123456'
864
- };
865
-
866
- var header = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: null });
867
- expect(header).to.equal('Hawk mac=\"6PrybJTJs20jsgBw5eilXpcytD8kUbaIKNYXL+6g0ns=\", hash=\"f9cDF/TDm7TkYRLnGwRMfeDzT6LixQVLvrIKhh0vgmM=\"');
868
- done();
869
- });
870
-
871
- it('errors on missing artifacts', function (done) {
872
-
873
- var credentials = {
874
- id: '123456',
875
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
876
- algorithm: 'sha256',
877
- user: 'steve'
878
- };
879
-
880
- var header = Hawk.server.header(credentials, null, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
881
- expect(header).to.equal('');
882
- done();
883
- });
884
-
885
- it('errors on invalid artifacts', function (done) {
886
-
887
- var credentials = {
888
- id: '123456',
889
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
890
- algorithm: 'sha256',
891
- user: 'steve'
892
- };
893
-
894
- var header = Hawk.server.header(credentials, 5, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
895
- expect(header).to.equal('');
896
- done();
897
- });
898
-
899
- it('errors on missing credentials', function (done) {
900
-
901
- var artifacts = {
902
- method: 'POST',
903
- host: 'example.com',
904
- port: '8080',
905
- resource: '/resource/4?filter=a',
906
- ts: '1398546787',
907
- nonce: 'xUwusx',
908
- hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
909
- ext: 'some-app-data',
910
- mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
911
- id: '123456'
912
- };
913
-
914
- var header = Hawk.server.header(null, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
915
- expect(header).to.equal('');
916
- done();
917
- });
918
-
919
- it('errors on invalid credentials (key)', function (done) {
920
-
921
- var credentials = {
922
- id: '123456',
923
- algorithm: 'sha256',
924
- user: 'steve'
925
- };
926
-
927
- var artifacts = {
928
- method: 'POST',
929
- host: 'example.com',
930
- port: '8080',
931
- resource: '/resource/4?filter=a',
932
- ts: '1398546787',
933
- nonce: 'xUwusx',
934
- hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
935
- ext: 'some-app-data',
936
- mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
937
- id: '123456'
938
- };
939
-
940
- var header = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
941
- expect(header).to.equal('');
942
- done();
943
- });
944
-
945
- it('errors on invalid algorithm', function (done) {
946
-
947
- var credentials = {
948
- id: '123456',
949
- key: 'werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn',
950
- algorithm: 'x',
951
- user: 'steve'
952
- };
953
-
954
- var artifacts = {
955
- method: 'POST',
956
- host: 'example.com',
957
- port: '8080',
958
- resource: '/resource/4?filter=a',
959
- ts: '1398546787',
960
- nonce: 'xUwusx',
961
- hash: 'nJjkVtBE5Y/Bk38Aiokwn0jiJxt/0S2WRSUwWLCf5xk=',
962
- ext: 'some-app-data',
963
- mac: 'dvIvMThwi28J61Jc3P0ryAhuKpanU63GXdx6hkmQkJA=',
964
- id: '123456'
965
- };
966
-
967
- var header = Hawk.server.header(credentials, artifacts, { payload: 'some reply', contentType: 'text/plain', ext: 'response-specific' });
968
- expect(header).to.equal('');
969
- done();
970
- });
971
- });
972
-
973
- describe('authenticateBewit()', function () {
974
-
975
- it('errors on uri too long', function (done) {
976
-
977
- var long = '/';
978
- for (var i = 0; i < 5000; ++i) {
979
- long += 'x';
980
- }
981
-
982
- var req = {
983
- method: 'GET',
984
- url: long,
985
- host: 'example.com',
986
- port: 8080,
987
- authorization: 'Hawk id="1", ts="1353788437", nonce="k3j4h2", mac="zy79QQ5/EYFmQqutVnYb73gAc/U=", ext="hello"'
988
- };
989
-
990
- Hawk.server.authenticateBewit(req, credentialsFunc, {}, function (err, credentials, bewit) {
991
-
992
- expect(err).to.exist();
993
- expect(err.output.statusCode).to.equal(400);
994
- expect(err.message).to.equal('Resource path exceeds max length');
995
- done();
996
- });
997
- });
998
- });
999
-
1000
- describe('authenticateMessage()', function () {
1001
-
1002
- it('errors on invalid authorization (ts)', function (done) {
1003
-
1004
- credentialsFunc('123456', function (err, credentials1) {
1005
-
1006
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1007
- delete auth.ts;
1008
-
1009
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials2) {
1010
-
1011
- expect(err).to.exist();
1012
- expect(err.message).to.equal('Invalid authorization');
1013
- done();
1014
- });
1015
- });
1016
- });
1017
-
1018
- it('errors on invalid authorization (nonce)', function (done) {
1019
-
1020
- credentialsFunc('123456', function (err, credentials1) {
1021
-
1022
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1023
- delete auth.nonce;
1024
-
1025
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials2) {
1026
-
1027
- expect(err).to.exist();
1028
- expect(err.message).to.equal('Invalid authorization');
1029
- done();
1030
- });
1031
- });
1032
- });
1033
-
1034
- it('errors on invalid authorization (hash)', function (done) {
1035
-
1036
- credentialsFunc('123456', function (err, credentials1) {
1037
-
1038
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1039
- delete auth.hash;
1040
-
1041
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials2) {
1042
-
1043
- expect(err).to.exist();
1044
- expect(err.message).to.equal('Invalid authorization');
1045
- done();
1046
- });
1047
- });
1048
- });
1049
-
1050
- it('errors with credentials', function (done) {
1051
-
1052
- credentialsFunc('123456', function (err, credentials1) {
1053
-
1054
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1055
-
1056
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, function (id, callback) {
1057
-
1058
- callback(new Error('something'), { some: 'value' });
1059
- }, {}, function (err, credentials2) {
1060
-
1061
- expect(err).to.exist();
1062
- expect(err.message).to.equal('something');
1063
- expect(credentials2.some).to.equal('value');
1064
- done();
1065
- });
1066
- });
1067
- });
1068
-
1069
- it('errors on nonce collision', function (done) {
1070
-
1071
- credentialsFunc('123456', function (err, credentials1) {
1072
-
1073
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1074
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {
1075
- nonceFunc: function (key, nonce, ts, nonceCallback) {
1076
-
1077
- nonceCallback(true);
1078
- }
1079
- }, function (err, credentials2) {
1080
-
1081
- expect(err).to.exist();
1082
- expect(err.message).to.equal('Invalid nonce');
1083
- done();
1084
- });
1085
- });
1086
- });
1087
-
1088
- it('should generate an authorization then successfully parse it', function (done) {
1089
-
1090
- credentialsFunc('123456', function (err, credentials1) {
1091
-
1092
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1093
- expect(auth).to.exist();
1094
-
1095
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials2) {
1096
-
1097
- expect(err).to.not.exist();
1098
- expect(credentials2.user).to.equal('steve');
1099
- done();
1100
- });
1101
- });
1102
- });
1103
-
1104
- it('should fail authorization on mismatching host', function (done) {
1105
-
1106
- credentialsFunc('123456', function (err, credentials1) {
1107
-
1108
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1109
- expect(auth).to.exist();
1110
-
1111
- Hawk.server.authenticateMessage('example1.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials2) {
1112
-
1113
- expect(err).to.exist();
1114
- expect(err.message).to.equal('Bad mac');
1115
- done();
1116
- });
1117
- });
1118
- });
1119
-
1120
- it('should fail authorization on stale timestamp', function (done) {
1121
-
1122
- credentialsFunc('123456', function (err, credentials1) {
1123
-
1124
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1125
- expect(auth).to.exist();
1126
-
1127
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, { localtimeOffsetMsec: 100000 }, function (err, credentials2) {
1128
-
1129
- expect(err).to.exist();
1130
- expect(err.message).to.equal('Stale timestamp');
1131
- done();
1132
- });
1133
- });
1134
- });
1135
-
1136
- it('overrides timestampSkewSec', function (done) {
1137
-
1138
- credentialsFunc('123456', function (err, credentials1) {
1139
-
1140
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1, localtimeOffsetMsec: 100000 });
1141
- expect(auth).to.exist();
1142
-
1143
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, { timestampSkewSec: 500 }, function (err, credentials2) {
1144
-
1145
- expect(err).to.not.exist();
1146
- done();
1147
- });
1148
- });
1149
- });
1150
-
1151
- it('should fail authorization on invalid authorization', function (done) {
1152
-
1153
- credentialsFunc('123456', function (err, credentials1) {
1154
-
1155
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1156
- expect(auth).to.exist();
1157
- delete auth.id;
1158
-
1159
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {}, function (err, credentials2) {
1160
-
1161
- expect(err).to.exist();
1162
- expect(err.message).to.equal('Invalid authorization');
1163
- done();
1164
- });
1165
- });
1166
- });
1167
-
1168
- it('should fail authorization on bad hash', function (done) {
1169
-
1170
- credentialsFunc('123456', function (err, credentials1) {
1171
-
1172
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1173
- expect(auth).to.exist();
1174
-
1175
- Hawk.server.authenticateMessage('example.com', 8080, 'some message1', auth, credentialsFunc, {}, function (err, credentials2) {
1176
-
1177
- expect(err).to.exist();
1178
- expect(err.message).to.equal('Bad message hash');
1179
- done();
1180
- });
1181
- });
1182
- });
1183
-
1184
- it('should fail authorization on nonce error', function (done) {
1185
-
1186
- credentialsFunc('123456', function (err, credentials1) {
1187
-
1188
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1189
- expect(auth).to.exist();
1190
-
1191
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, credentialsFunc, {
1192
- nonceFunc: function (key, nonce, ts, callback) {
1193
-
1194
- callback(new Error('kaboom'));
1195
- }
1196
- }, function (err, credentials2) {
1197
-
1198
- expect(err).to.exist();
1199
- expect(err.message).to.equal('Invalid nonce');
1200
- done();
1201
- });
1202
- });
1203
- });
1204
-
1205
- it('should fail authorization on credentials error', function (done) {
1206
-
1207
- credentialsFunc('123456', function (err, credentials1) {
1208
-
1209
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1210
- expect(auth).to.exist();
1211
-
1212
- var errFunc = function (id, callback) {
1213
-
1214
- callback(new Error('kablooey'));
1215
- };
1216
-
1217
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, errFunc, {}, function (err, credentials2) {
1218
-
1219
- expect(err).to.exist();
1220
- expect(err.message).to.equal('kablooey');
1221
- done();
1222
- });
1223
- });
1224
- });
1225
-
1226
- it('should fail authorization on missing credentials', function (done) {
1227
-
1228
- credentialsFunc('123456', function (err, credentials1) {
1229
-
1230
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1231
- expect(auth).to.exist();
1232
-
1233
- var errFunc = function (id, callback) {
1234
-
1235
- callback();
1236
- };
1237
-
1238
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, errFunc, {}, function (err, credentials2) {
1239
-
1240
- expect(err).to.exist();
1241
- expect(err.message).to.equal('Unknown credentials');
1242
- done();
1243
- });
1244
- });
1245
- });
1246
-
1247
- it('should fail authorization on invalid credentials', function (done) {
1248
-
1249
- credentialsFunc('123456', function (err, credentials1) {
1250
-
1251
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1252
- expect(auth).to.exist();
1253
-
1254
- var errFunc = function (id, callback) {
1255
-
1256
- callback(null, {});
1257
- };
1258
-
1259
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, errFunc, {}, function (err, credentials2) {
1260
-
1261
- expect(err).to.exist();
1262
- expect(err.message).to.equal('Invalid credentials');
1263
- done();
1264
- });
1265
- });
1266
- });
1267
-
1268
- it('should fail authorization on invalid credentials algorithm', function (done) {
1269
-
1270
- credentialsFunc('123456', function (err, credentials1) {
1271
-
1272
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: credentials1 });
1273
- expect(auth).to.exist();
1274
-
1275
- var errFunc = function (id, callback) {
1276
-
1277
- callback(null, { key: '123', algorithm: '456' });
1278
- };
1279
-
1280
- Hawk.server.authenticateMessage('example.com', 8080, 'some message', auth, errFunc, {}, function (err, credentials2) {
1281
-
1282
- expect(err).to.exist();
1283
- expect(err.message).to.equal('Unknown algorithm');
1284
- done();
1285
- });
1286
- });
1287
- });
1288
-
1289
- it('should fail on missing host', function (done) {
1290
-
1291
- credentialsFunc('123456', function (err, credentials) {
1292
-
1293
- var auth = Hawk.client.message(null, 8080, 'some message', { credentials: credentials });
1294
- expect(auth).to.not.exist();
1295
- done();
1296
- });
1297
- });
1298
-
1299
- it('should fail on missing credentials', function (done) {
1300
-
1301
- var auth = Hawk.client.message('example.com', 8080, 'some message', {});
1302
- expect(auth).to.not.exist();
1303
- done();
1304
- });
1305
-
1306
- it('should fail on invalid algorithm', function (done) {
1307
-
1308
- credentialsFunc('123456', function (err, credentials) {
1309
-
1310
- var creds = Hoek.clone(credentials);
1311
- creds.algorithm = 'blah';
1312
- var auth = Hawk.client.message('example.com', 8080, 'some message', { credentials: creds });
1313
- expect(auth).to.not.exist();
1314
- done();
1315
- });
1316
- });
1317
- });
1318
-
1319
- describe('authenticatePayloadHash()', function () {
1320
-
1321
- it('checks payload hash', function (done) {
1322
-
1323
- expect(Hawk.server.authenticatePayloadHash('abcdefg', { hash: 'abcdefg' })).to.equal(true);
1324
- expect(Hawk.server.authenticatePayloadHash('1234567', { hash: 'abcdefg' })).to.equal(false);
1325
- done();
1326
- });
1327
- });
1328
- });
1329
-