select_all-rails 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1874) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +17 -0
  3. data/README.md +1 -1
  4. data/lib/select_all/rails/version.rb +1 -1
  5. data/package.json +4 -4
  6. data/select_all-rails.gemspec +1 -1
  7. data/vendor/assets/javascripts/select_all.js +1 -1
  8. metadata +3 -1869
  9. data/node_modules/.bin/acorn +0 -71
  10. data/node_modules/.bin/escodegen +0 -77
  11. data/node_modules/.bin/esgenerate +0 -64
  12. data/node_modules/.bin/esparse +0 -126
  13. data/node_modules/.bin/esvalidate +0 -199
  14. data/node_modules/.bin/har-validator +0 -56
  15. data/node_modules/.bin/sshpk-conv +0 -201
  16. data/node_modules/.bin/sshpk-sign +0 -191
  17. data/node_modules/.bin/sshpk-verify +0 -166
  18. data/node_modules/.bin/uuid +0 -26
  19. data/node_modules/abab/CHANGELOG.md +0 -11
  20. data/node_modules/abab/README.md +0 -52
  21. data/node_modules/abab/index.js +0 -9
  22. data/node_modules/abab/lib/atob.js +0 -109
  23. data/node_modules/abab/lib/btoa.js +0 -65
  24. data/node_modules/abab/package.json +0 -106
  25. data/node_modules/acorn-globals/LICENSE +0 -19
  26. data/node_modules/acorn-globals/README.md +0 -76
  27. data/node_modules/acorn-globals/index.js +0 -180
  28. data/node_modules/acorn-globals/package.json +0 -100
  29. data/node_modules/acorn/.editorconfig +0 -7
  30. data/node_modules/acorn/.gitattributes +0 -1
  31. data/node_modules/acorn/.npmignore +0 -3
  32. data/node_modules/acorn/.tern-project +0 -6
  33. data/node_modules/acorn/.travis.yml +0 -6
  34. data/node_modules/acorn/AUTHORS +0 -43
  35. data/node_modules/acorn/LICENSE +0 -19
  36. data/node_modules/acorn/README.md +0 -396
  37. data/node_modules/acorn/bin/acorn +0 -71
  38. data/node_modules/acorn/bin/build-acorn.js +0 -82
  39. data/node_modules/acorn/bin/generate-identifier-regex.js +0 -47
  40. data/node_modules/acorn/bin/update_authors.sh +0 -6
  41. data/node_modules/acorn/dist/.keep +0 -0
  42. data/node_modules/acorn/dist/acorn.js +0 -3340
  43. data/node_modules/acorn/dist/acorn_loose.js +0 -1300
  44. data/node_modules/acorn/dist/walk.js +0 -377
  45. data/node_modules/acorn/package.json +0 -222
  46. data/node_modules/acorn/src/bin/acorn.js +0 -59
  47. data/node_modules/acorn/src/expression.js +0 -707
  48. data/node_modules/acorn/src/identifier.js +0 -90
  49. data/node_modules/acorn/src/index.js +0 -67
  50. data/node_modules/acorn/src/location.js +0 -24
  51. data/node_modules/acorn/src/locutil.js +0 -42
  52. data/node_modules/acorn/src/loose/acorn_loose.js +0 -0
  53. data/node_modules/acorn/src/loose/expression.js +0 -501
  54. data/node_modules/acorn/src/loose/index.js +0 -50
  55. data/node_modules/acorn/src/loose/parseutil.js +0 -1
  56. data/node_modules/acorn/src/loose/state.js +0 -160
  57. data/node_modules/acorn/src/loose/statement.js +0 -420
  58. data/node_modules/acorn/src/loose/tokenize.js +0 -108
  59. data/node_modules/acorn/src/lval.js +0 -215
  60. data/node_modules/acorn/src/node.js +0 -50
  61. data/node_modules/acorn/src/options.js +0 -121
  62. data/node_modules/acorn/src/parseutil.js +0 -102
  63. data/node_modules/acorn/src/state.js +0 -104
  64. data/node_modules/acorn/src/statement.js +0 -626
  65. data/node_modules/acorn/src/tokencontext.js +0 -109
  66. data/node_modules/acorn/src/tokenize.js +0 -682
  67. data/node_modules/acorn/src/tokentype.js +0 -147
  68. data/node_modules/acorn/src/util.js +0 -9
  69. data/node_modules/acorn/src/walk/index.js +0 -340
  70. data/node_modules/acorn/src/whitespace.js +0 -12
  71. data/node_modules/amdefine/LICENSE +0 -58
  72. data/node_modules/amdefine/README.md +0 -171
  73. data/node_modules/amdefine/amdefine.js +0 -301
  74. data/node_modules/amdefine/intercept.js +0 -36
  75. data/node_modules/amdefine/package.json +0 -86
  76. data/node_modules/ansi-regex/index.js +0 -4
  77. data/node_modules/ansi-regex/license +0 -21
  78. data/node_modules/ansi-regex/package.json +0 -121
  79. data/node_modules/ansi-regex/readme.md +0 -31
  80. data/node_modules/ansi-styles/index.js +0 -65
  81. data/node_modules/ansi-styles/license +0 -21
  82. data/node_modules/ansi-styles/package.json +0 -114
  83. data/node_modules/ansi-styles/readme.md +0 -86
  84. data/node_modules/array-equal/.npmignore +0 -1
  85. data/node_modules/array-equal/LICENSE +0 -22
  86. data/node_modules/array-equal/README.md +0 -11
  87. data/node_modules/array-equal/component.json +0 -10
  88. data/node_modules/array-equal/index.js +0 -9
  89. data/node_modules/array-equal/package.json +0 -75
  90. data/node_modules/asn1/.npmignore +0 -2
  91. data/node_modules/asn1/.travis.yml +0 -4
  92. data/node_modules/asn1/LICENSE +0 -19
  93. data/node_modules/asn1/README.md +0 -50
  94. data/node_modules/asn1/lib/ber/errors.js +0 -13
  95. data/node_modules/asn1/lib/ber/index.js +0 -27
  96. data/node_modules/asn1/lib/ber/reader.js +0 -261
  97. data/node_modules/asn1/lib/ber/types.js +0 -36
  98. data/node_modules/asn1/lib/ber/writer.js +0 -316
  99. data/node_modules/asn1/lib/index.js +0 -20
  100. data/node_modules/asn1/package.json +0 -98
  101. data/node_modules/asn1/tst/ber/reader.test.js +0 -208
  102. data/node_modules/asn1/tst/ber/writer.test.js +0 -370
  103. data/node_modules/assert-plus/AUTHORS +0 -6
  104. data/node_modules/assert-plus/CHANGES.md +0 -8
  105. data/node_modules/assert-plus/README.md +0 -155
  106. data/node_modules/assert-plus/assert.js +0 -206
  107. data/node_modules/assert-plus/package.json +0 -115
  108. data/node_modules/assertion-error/.npmignore +0 -11
  109. data/node_modules/assertion-error/History.md +0 -19
  110. data/node_modules/assertion-error/README.md +0 -41
  111. data/node_modules/assertion-error/index.js +0 -116
  112. data/node_modules/assertion-error/package.json +0 -95
  113. data/node_modules/asynckit/LICENSE +0 -21
  114. data/node_modules/asynckit/README.md +0 -233
  115. data/node_modules/asynckit/bench.js +0 -76
  116. data/node_modules/asynckit/index.js +0 -6
  117. data/node_modules/asynckit/lib/abort.js +0 -29
  118. data/node_modules/asynckit/lib/async.js +0 -34
  119. data/node_modules/asynckit/lib/defer.js +0 -26
  120. data/node_modules/asynckit/lib/iterate.js +0 -75
  121. data/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  122. data/node_modules/asynckit/lib/readable_parallel.js +0 -25
  123. data/node_modules/asynckit/lib/readable_serial.js +0 -25
  124. data/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  125. data/node_modules/asynckit/lib/state.js +0 -37
  126. data/node_modules/asynckit/lib/streamify.js +0 -141
  127. data/node_modules/asynckit/lib/terminator.js +0 -29
  128. data/node_modules/asynckit/package.json +0 -126
  129. data/node_modules/asynckit/parallel.js +0 -43
  130. data/node_modules/asynckit/serial.js +0 -17
  131. data/node_modules/asynckit/serialOrdered.js +0 -75
  132. data/node_modules/asynckit/stream.js +0 -21
  133. data/node_modules/aws-sign2/LICENSE +0 -55
  134. data/node_modules/aws-sign2/README.md +0 -4
  135. data/node_modules/aws-sign2/index.js +0 -212
  136. data/node_modules/aws-sign2/package.json +0 -81
  137. data/node_modules/aws4/.npmignore +0 -4
  138. data/node_modules/aws4/.tern-port +0 -1
  139. data/node_modules/aws4/.travis.yml +0 -5
  140. data/node_modules/aws4/LICENSE +0 -19
  141. data/node_modules/aws4/README.md +0 -523
  142. data/node_modules/aws4/aws4.js +0 -323
  143. data/node_modules/aws4/lru.js +0 -96
  144. data/node_modules/aws4/package.json +0 -140
  145. data/node_modules/bcrypt-pbkdf/README.md +0 -39
  146. data/node_modules/bcrypt-pbkdf/index.js +0 -559
  147. data/node_modules/bcrypt-pbkdf/package.json +0 -72
  148. data/node_modules/boom/.npmignore +0 -18
  149. data/node_modules/boom/.travis.yml +0 -8
  150. data/node_modules/boom/CONTRIBUTING.md +0 -1
  151. data/node_modules/boom/LICENSE +0 -28
  152. data/node_modules/boom/README.md +0 -652
  153. data/node_modules/boom/images/boom.png +0 -0
  154. data/node_modules/boom/lib/index.js +0 -318
  155. data/node_modules/boom/package.json +0 -98
  156. data/node_modules/boom/test/index.js +0 -654
  157. data/node_modules/caseless/LICENSE +0 -28
  158. data/node_modules/caseless/README.md +0 -45
  159. data/node_modules/caseless/index.js +0 -66
  160. data/node_modules/caseless/package.json +0 -96
  161. data/node_modules/caseless/test.js +0 -40
  162. data/node_modules/chai/.npmignore +0 -14
  163. data/node_modules/chai/CODE_OF_CONDUCT.md +0 -58
  164. data/node_modules/chai/CONTRIBUTING.md +0 -214
  165. data/node_modules/chai/History.md +0 -1059
  166. data/node_modules/chai/README.md +0 -83
  167. data/node_modules/chai/ReleaseNotes.md +0 -737
  168. data/node_modules/chai/bower.json +0 -26
  169. data/node_modules/chai/chai.js +0 -6142
  170. data/node_modules/chai/index.js +0 -1
  171. data/node_modules/chai/karma.conf.js +0 -28
  172. data/node_modules/chai/karma.sauce.js +0 -41
  173. data/node_modules/chai/lib/chai.js +0 -93
  174. data/node_modules/chai/lib/chai/assertion.js +0 -131
  175. data/node_modules/chai/lib/chai/config.js +0 -55
  176. data/node_modules/chai/lib/chai/core/assertions.js +0 -1860
  177. data/node_modules/chai/lib/chai/interface/assert.js +0 -1645
  178. data/node_modules/chai/lib/chai/interface/expect.js +0 -34
  179. data/node_modules/chai/lib/chai/interface/should.js +0 -201
  180. data/node_modules/chai/lib/chai/utils/addChainableMethod.js +0 -112
  181. data/node_modules/chai/lib/chai/utils/addMethod.js +0 -44
  182. data/node_modules/chai/lib/chai/utils/addProperty.js +0 -48
  183. data/node_modules/chai/lib/chai/utils/expectTypes.js +0 -42
  184. data/node_modules/chai/lib/chai/utils/flag.js +0 -33
  185. data/node_modules/chai/lib/chai/utils/getActual.js +0 -20
  186. data/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +0 -26
  187. data/node_modules/chai/lib/chai/utils/getMessage.js +0 -51
  188. data/node_modules/chai/lib/chai/utils/getName.js +0 -22
  189. data/node_modules/chai/lib/chai/utils/getPathInfo.js +0 -111
  190. data/node_modules/chai/lib/chai/utils/getPathValue.js +0 -43
  191. data/node_modules/chai/lib/chai/utils/getProperties.js +0 -36
  192. data/node_modules/chai/lib/chai/utils/hasProperty.js +0 -64
  193. data/node_modules/chai/lib/chai/utils/index.js +0 -130
  194. data/node_modules/chai/lib/chai/utils/inspect.js +0 -335
  195. data/node_modules/chai/lib/chai/utils/objDisplay.js +0 -50
  196. data/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +0 -54
  197. data/node_modules/chai/lib/chai/utils/overwriteMethod.js +0 -52
  198. data/node_modules/chai/lib/chai/utils/overwriteProperty.js +0 -55
  199. data/node_modules/chai/lib/chai/utils/test.js +0 -28
  200. data/node_modules/chai/lib/chai/utils/transferFlags.js +0 -45
  201. data/node_modules/chai/package.json +0 -128
  202. data/node_modules/chai/sauce.browsers.js +0 -128
  203. data/node_modules/chalk/index.js +0 -116
  204. data/node_modules/chalk/license +0 -21
  205. data/node_modules/chalk/package.json +0 -140
  206. data/node_modules/chalk/readme.md +0 -213
  207. data/node_modules/combined-stream/License +0 -19
  208. data/node_modules/combined-stream/Readme.md +0 -138
  209. data/node_modules/combined-stream/lib/combined_stream.js +0 -188
  210. data/node_modules/combined-stream/package.json +0 -101
  211. data/node_modules/commander/History.md +0 -261
  212. data/node_modules/commander/LICENSE +0 -22
  213. data/node_modules/commander/Readme.md +0 -351
  214. data/node_modules/commander/index.js +0 -1110
  215. data/node_modules/commander/package.json +0 -104
  216. data/node_modules/content-type-parser/LICENSE.txt +0 -19
  217. data/node_modules/content-type-parser/README.md +0 -60
  218. data/node_modules/content-type-parser/lib/content-type-parser.js +0 -103
  219. data/node_modules/content-type-parser/package.json +0 -96
  220. data/node_modules/cryptiles/.npmignore +0 -18
  221. data/node_modules/cryptiles/.travis.yml +0 -8
  222. data/node_modules/cryptiles/LICENSE +0 -28
  223. data/node_modules/cryptiles/README.md +0 -16
  224. data/node_modules/cryptiles/lib/index.js +0 -68
  225. data/node_modules/cryptiles/package.json +0 -94
  226. data/node_modules/cryptiles/test/index.js +0 -102
  227. data/node_modules/cssom/LICENSE.txt +0 -20
  228. data/node_modules/cssom/README.mdown +0 -69
  229. data/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
  230. data/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
  231. data/node_modules/cssom/lib/CSSImportRule.js +0 -132
  232. data/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
  233. data/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
  234. data/node_modules/cssom/lib/CSSMediaRule.js +0 -41
  235. data/node_modules/cssom/lib/CSSRule.js +0 -43
  236. data/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
  237. data/node_modules/cssom/lib/CSSStyleRule.js +0 -190
  238. data/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
  239. data/node_modules/cssom/lib/CSSValue.js +0 -43
  240. data/node_modules/cssom/lib/CSSValueExpression.js +0 -344
  241. data/node_modules/cssom/lib/MatcherList.js +0 -62
  242. data/node_modules/cssom/lib/MediaList.js +0 -61
  243. data/node_modules/cssom/lib/StyleSheet.js +0 -17
  244. data/node_modules/cssom/lib/clone.js +0 -76
  245. data/node_modules/cssom/lib/index.js +0 -19
  246. data/node_modules/cssom/lib/parse.js +0 -381
  247. data/node_modules/cssom/package.json +0 -96
  248. data/node_modules/cssstyle/.npmignore +0 -1
  249. data/node_modules/cssstyle/MIT-LICENSE.txt +0 -20
  250. data/node_modules/cssstyle/README.md +0 -27
  251. data/node_modules/cssstyle/lib/CSSStyleDeclaration.js +0 -233
  252. data/node_modules/cssstyle/lib/parsers.js +0 -670
  253. data/node_modules/cssstyle/lib/properties.js +0 -5858
  254. data/node_modules/cssstyle/lib/properties/alignmentBaseline.js +0 -12
  255. data/node_modules/cssstyle/lib/properties/azimuth.js +0 -65
  256. data/node_modules/cssstyle/lib/properties/background.js +0 -24
  257. data/node_modules/cssstyle/lib/properties/backgroundAttachment.js +0 -22
  258. data/node_modules/cssstyle/lib/properties/backgroundClip.js +0 -12
  259. data/node_modules/cssstyle/lib/properties/backgroundColor.js +0 -33
  260. data/node_modules/cssstyle/lib/properties/backgroundImage.js +0 -29
  261. data/node_modules/cssstyle/lib/properties/backgroundOrigin.js +0 -12
  262. data/node_modules/cssstyle/lib/properties/backgroundPosition.js +0 -56
  263. data/node_modules/cssstyle/lib/properties/backgroundPositionX.js +0 -12
  264. data/node_modules/cssstyle/lib/properties/backgroundPositionY.js +0 -12
  265. data/node_modules/cssstyle/lib/properties/backgroundRepeat.js +0 -25
  266. data/node_modules/cssstyle/lib/properties/backgroundRepeatX.js +0 -12
  267. data/node_modules/cssstyle/lib/properties/backgroundRepeatY.js +0 -12
  268. data/node_modules/cssstyle/lib/properties/backgroundSize.js +0 -12
  269. data/node_modules/cssstyle/lib/properties/baselineShift.js +0 -12
  270. data/node_modules/cssstyle/lib/properties/border.js +0 -49
  271. data/node_modules/cssstyle/lib/properties/borderBottom.js +0 -23
  272. data/node_modules/cssstyle/lib/properties/borderBottomColor.js +0 -16
  273. data/node_modules/cssstyle/lib/properties/borderBottomLeftRadius.js +0 -12
  274. data/node_modules/cssstyle/lib/properties/borderBottomRightRadius.js +0 -12
  275. data/node_modules/cssstyle/lib/properties/borderBottomStyle.js +0 -21
  276. data/node_modules/cssstyle/lib/properties/borderBottomWidth.js +0 -16
  277. data/node_modules/cssstyle/lib/properties/borderCollapse.js +0 -25
  278. data/node_modules/cssstyle/lib/properties/borderColor.js +0 -28
  279. data/node_modules/cssstyle/lib/properties/borderImage.js +0 -12
  280. data/node_modules/cssstyle/lib/properties/borderImageOutset.js +0 -12
  281. data/node_modules/cssstyle/lib/properties/borderImageRepeat.js +0 -12
  282. data/node_modules/cssstyle/lib/properties/borderImageSlice.js +0 -12
  283. data/node_modules/cssstyle/lib/properties/borderImageSource.js +0 -12
  284. data/node_modules/cssstyle/lib/properties/borderImageWidth.js +0 -12
  285. data/node_modules/cssstyle/lib/properties/borderLeft.js +0 -23
  286. data/node_modules/cssstyle/lib/properties/borderLeftColor.js +0 -16
  287. data/node_modules/cssstyle/lib/properties/borderLeftStyle.js +0 -21
  288. data/node_modules/cssstyle/lib/properties/borderLeftWidth.js +0 -16
  289. data/node_modules/cssstyle/lib/properties/borderRadius.js +0 -12
  290. data/node_modules/cssstyle/lib/properties/borderRight.js +0 -23
  291. data/node_modules/cssstyle/lib/properties/borderRightColor.js +0 -16
  292. data/node_modules/cssstyle/lib/properties/borderRightStyle.js +0 -21
  293. data/node_modules/cssstyle/lib/properties/borderRightWidth.js +0 -16
  294. data/node_modules/cssstyle/lib/properties/borderSpacing.js +0 -42
  295. data/node_modules/cssstyle/lib/properties/borderStyle.js +0 -27
  296. data/node_modules/cssstyle/lib/properties/borderTop.js +0 -22
  297. data/node_modules/cssstyle/lib/properties/borderTopColor.js +0 -16
  298. data/node_modules/cssstyle/lib/properties/borderTopLeftRadius.js +0 -12
  299. data/node_modules/cssstyle/lib/properties/borderTopRightRadius.js +0 -12
  300. data/node_modules/cssstyle/lib/properties/borderTopStyle.js +0 -21
  301. data/node_modules/cssstyle/lib/properties/borderTopWidth.js +0 -17
  302. data/node_modules/cssstyle/lib/properties/borderWidth.js +0 -47
  303. data/node_modules/cssstyle/lib/properties/bottom.js +0 -14
  304. data/node_modules/cssstyle/lib/properties/boxShadow.js +0 -12
  305. data/node_modules/cssstyle/lib/properties/boxSizing.js +0 -12
  306. data/node_modules/cssstyle/lib/properties/captionSide.js +0 -12
  307. data/node_modules/cssstyle/lib/properties/clear.js +0 -16
  308. data/node_modules/cssstyle/lib/properties/clip.js +0 -49
  309. data/node_modules/cssstyle/lib/properties/color.js +0 -14
  310. data/node_modules/cssstyle/lib/properties/colorInterpolation.js +0 -12
  311. data/node_modules/cssstyle/lib/properties/colorInterpolationFilters.js +0 -12
  312. data/node_modules/cssstyle/lib/properties/colorProfile.js +0 -12
  313. data/node_modules/cssstyle/lib/properties/colorRendering.js +0 -12
  314. data/node_modules/cssstyle/lib/properties/content.js +0 -12
  315. data/node_modules/cssstyle/lib/properties/counterIncrement.js +0 -12
  316. data/node_modules/cssstyle/lib/properties/counterReset.js +0 -12
  317. data/node_modules/cssstyle/lib/properties/cssFloat.js +0 -12
  318. data/node_modules/cssstyle/lib/properties/cue.js +0 -12
  319. data/node_modules/cssstyle/lib/properties/cueAfter.js +0 -12
  320. data/node_modules/cssstyle/lib/properties/cueBefore.js +0 -12
  321. data/node_modules/cssstyle/lib/properties/cursor.js +0 -12
  322. data/node_modules/cssstyle/lib/properties/direction.js +0 -12
  323. data/node_modules/cssstyle/lib/properties/display.js +0 -12
  324. data/node_modules/cssstyle/lib/properties/dominantBaseline.js +0 -12
  325. data/node_modules/cssstyle/lib/properties/elevation.js +0 -12
  326. data/node_modules/cssstyle/lib/properties/emptyCells.js +0 -12
  327. data/node_modules/cssstyle/lib/properties/enableBackground.js +0 -12
  328. data/node_modules/cssstyle/lib/properties/fill.js +0 -12
  329. data/node_modules/cssstyle/lib/properties/fillOpacity.js +0 -12
  330. data/node_modules/cssstyle/lib/properties/fillRule.js +0 -12
  331. data/node_modules/cssstyle/lib/properties/filter.js +0 -12
  332. data/node_modules/cssstyle/lib/properties/floodColor.js +0 -14
  333. data/node_modules/cssstyle/lib/properties/floodOpacity.js +0 -12
  334. data/node_modules/cssstyle/lib/properties/font.js +0 -40
  335. data/node_modules/cssstyle/lib/properties/fontFamily.js +0 -33
  336. data/node_modules/cssstyle/lib/properties/fontSize.js +0 -25
  337. data/node_modules/cssstyle/lib/properties/fontSizeAdjust.js +0 -12
  338. data/node_modules/cssstyle/lib/properties/fontStretch.js +0 -12
  339. data/node_modules/cssstyle/lib/properties/fontStyle.js +0 -18
  340. data/node_modules/cssstyle/lib/properties/fontVariant.js +0 -18
  341. data/node_modules/cssstyle/lib/properties/fontWeight.js +0 -18
  342. data/node_modules/cssstyle/lib/properties/glyphOrientationHorizontal.js +0 -12
  343. data/node_modules/cssstyle/lib/properties/glyphOrientationVertical.js +0 -12
  344. data/node_modules/cssstyle/lib/properties/height.js +0 -24
  345. data/node_modules/cssstyle/lib/properties/imageRendering.js +0 -12
  346. data/node_modules/cssstyle/lib/properties/kerning.js +0 -12
  347. data/node_modules/cssstyle/lib/properties/left.js +0 -14
  348. data/node_modules/cssstyle/lib/properties/letterSpacing.js +0 -12
  349. data/node_modules/cssstyle/lib/properties/lightingColor.js +0 -14
  350. data/node_modules/cssstyle/lib/properties/lineHeight.js +0 -21
  351. data/node_modules/cssstyle/lib/properties/listStyle.js +0 -12
  352. data/node_modules/cssstyle/lib/properties/listStyleImage.js +0 -12
  353. data/node_modules/cssstyle/lib/properties/listStylePosition.js +0 -12
  354. data/node_modules/cssstyle/lib/properties/listStyleType.js +0 -12
  355. data/node_modules/cssstyle/lib/properties/margin.js +0 -59
  356. data/node_modules/cssstyle/lib/properties/marginBottom.js +0 -13
  357. data/node_modules/cssstyle/lib/properties/marginLeft.js +0 -13
  358. data/node_modules/cssstyle/lib/properties/marginRight.js +0 -13
  359. data/node_modules/cssstyle/lib/properties/marginTop.js +0 -13
  360. data/node_modules/cssstyle/lib/properties/marker.js +0 -12
  361. data/node_modules/cssstyle/lib/properties/markerEnd.js +0 -12
  362. data/node_modules/cssstyle/lib/properties/markerMid.js +0 -12
  363. data/node_modules/cssstyle/lib/properties/markerOffset.js +0 -12
  364. data/node_modules/cssstyle/lib/properties/markerStart.js +0 -12
  365. data/node_modules/cssstyle/lib/properties/marks.js +0 -12
  366. data/node_modules/cssstyle/lib/properties/mask.js +0 -12
  367. data/node_modules/cssstyle/lib/properties/maxHeight.js +0 -12
  368. data/node_modules/cssstyle/lib/properties/maxWidth.js +0 -12
  369. data/node_modules/cssstyle/lib/properties/minHeight.js +0 -12
  370. data/node_modules/cssstyle/lib/properties/minWidth.js +0 -12
  371. data/node_modules/cssstyle/lib/properties/opacity.js +0 -14
  372. data/node_modules/cssstyle/lib/properties/orphans.js +0 -12
  373. data/node_modules/cssstyle/lib/properties/outline.js +0 -12
  374. data/node_modules/cssstyle/lib/properties/outlineColor.js +0 -14
  375. data/node_modules/cssstyle/lib/properties/outlineOffset.js +0 -12
  376. data/node_modules/cssstyle/lib/properties/outlineStyle.js +0 -12
  377. data/node_modules/cssstyle/lib/properties/outlineWidth.js +0 -12
  378. data/node_modules/cssstyle/lib/properties/overflow.js +0 -12
  379. data/node_modules/cssstyle/lib/properties/overflowX.js +0 -12
  380. data/node_modules/cssstyle/lib/properties/overflowY.js +0 -12
  381. data/node_modules/cssstyle/lib/properties/padding.js +0 -52
  382. data/node_modules/cssstyle/lib/properties/paddingBottom.js +0 -13
  383. data/node_modules/cssstyle/lib/properties/paddingLeft.js +0 -13
  384. data/node_modules/cssstyle/lib/properties/paddingRight.js +0 -13
  385. data/node_modules/cssstyle/lib/properties/paddingTop.js +0 -13
  386. data/node_modules/cssstyle/lib/properties/page.js +0 -12
  387. data/node_modules/cssstyle/lib/properties/pageBreakAfter.js +0 -12
  388. data/node_modules/cssstyle/lib/properties/pageBreakBefore.js +0 -12
  389. data/node_modules/cssstyle/lib/properties/pageBreakInside.js +0 -12
  390. data/node_modules/cssstyle/lib/properties/pause.js +0 -12
  391. data/node_modules/cssstyle/lib/properties/pauseAfter.js +0 -12
  392. data/node_modules/cssstyle/lib/properties/pauseBefore.js +0 -12
  393. data/node_modules/cssstyle/lib/properties/pitch.js +0 -12
  394. data/node_modules/cssstyle/lib/properties/pitchRange.js +0 -12
  395. data/node_modules/cssstyle/lib/properties/playDuring.js +0 -12
  396. data/node_modules/cssstyle/lib/properties/pointerEvents.js +0 -12
  397. data/node_modules/cssstyle/lib/properties/position.js +0 -12
  398. data/node_modules/cssstyle/lib/properties/quotes.js +0 -12
  399. data/node_modules/cssstyle/lib/properties/resize.js +0 -12
  400. data/node_modules/cssstyle/lib/properties/richness.js +0 -12
  401. data/node_modules/cssstyle/lib/properties/right.js +0 -14
  402. data/node_modules/cssstyle/lib/properties/shapeRendering.js +0 -12
  403. data/node_modules/cssstyle/lib/properties/size.js +0 -12
  404. data/node_modules/cssstyle/lib/properties/speak.js +0 -12
  405. data/node_modules/cssstyle/lib/properties/speakHeader.js +0 -12
  406. data/node_modules/cssstyle/lib/properties/speakNumeral.js +0 -12
  407. data/node_modules/cssstyle/lib/properties/speakPunctuation.js +0 -12
  408. data/node_modules/cssstyle/lib/properties/speechRate.js +0 -12
  409. data/node_modules/cssstyle/lib/properties/src.js +0 -12
  410. data/node_modules/cssstyle/lib/properties/stopColor.js +0 -14
  411. data/node_modules/cssstyle/lib/properties/stopOpacity.js +0 -12
  412. data/node_modules/cssstyle/lib/properties/stress.js +0 -12
  413. data/node_modules/cssstyle/lib/properties/stroke.js +0 -12
  414. data/node_modules/cssstyle/lib/properties/strokeDasharray.js +0 -12
  415. data/node_modules/cssstyle/lib/properties/strokeDashoffset.js +0 -12
  416. data/node_modules/cssstyle/lib/properties/strokeLinecap.js +0 -12
  417. data/node_modules/cssstyle/lib/properties/strokeLinejoin.js +0 -12
  418. data/node_modules/cssstyle/lib/properties/strokeMiterlimit.js +0 -12
  419. data/node_modules/cssstyle/lib/properties/strokeOpacity.js +0 -12
  420. data/node_modules/cssstyle/lib/properties/strokeWidth.js +0 -12
  421. data/node_modules/cssstyle/lib/properties/tableLayout.js +0 -12
  422. data/node_modules/cssstyle/lib/properties/textAlign.js +0 -12
  423. data/node_modules/cssstyle/lib/properties/textAnchor.js +0 -12
  424. data/node_modules/cssstyle/lib/properties/textDecoration.js +0 -12
  425. data/node_modules/cssstyle/lib/properties/textIndent.js +0 -12
  426. data/node_modules/cssstyle/lib/properties/textLineThrough.js +0 -12
  427. data/node_modules/cssstyle/lib/properties/textLineThroughColor.js +0 -14
  428. data/node_modules/cssstyle/lib/properties/textLineThroughMode.js +0 -12
  429. data/node_modules/cssstyle/lib/properties/textLineThroughStyle.js +0 -12
  430. data/node_modules/cssstyle/lib/properties/textLineThroughWidth.js +0 -12
  431. data/node_modules/cssstyle/lib/properties/textOverflow.js +0 -12
  432. data/node_modules/cssstyle/lib/properties/textOverline.js +0 -12
  433. data/node_modules/cssstyle/lib/properties/textOverlineColor.js +0 -14
  434. data/node_modules/cssstyle/lib/properties/textOverlineMode.js +0 -12
  435. data/node_modules/cssstyle/lib/properties/textOverlineStyle.js +0 -12
  436. data/node_modules/cssstyle/lib/properties/textOverlineWidth.js +0 -12
  437. data/node_modules/cssstyle/lib/properties/textRendering.js +0 -12
  438. data/node_modules/cssstyle/lib/properties/textShadow.js +0 -12
  439. data/node_modules/cssstyle/lib/properties/textTransform.js +0 -12
  440. data/node_modules/cssstyle/lib/properties/textUnderline.js +0 -12
  441. data/node_modules/cssstyle/lib/properties/textUnderlineColor.js +0 -14
  442. data/node_modules/cssstyle/lib/properties/textUnderlineMode.js +0 -12
  443. data/node_modules/cssstyle/lib/properties/textUnderlineStyle.js +0 -12
  444. data/node_modules/cssstyle/lib/properties/textUnderlineWidth.js +0 -12
  445. data/node_modules/cssstyle/lib/properties/top.js +0 -14
  446. data/node_modules/cssstyle/lib/properties/unicodeBidi.js +0 -12
  447. data/node_modules/cssstyle/lib/properties/unicodeRange.js +0 -12
  448. data/node_modules/cssstyle/lib/properties/vectorEffect.js +0 -12
  449. data/node_modules/cssstyle/lib/properties/verticalAlign.js +0 -12
  450. data/node_modules/cssstyle/lib/properties/visibility.js +0 -12
  451. data/node_modules/cssstyle/lib/properties/voiceFamily.js +0 -12
  452. data/node_modules/cssstyle/lib/properties/volume.js +0 -12
  453. data/node_modules/cssstyle/lib/properties/webkitAnimation.js +0 -12
  454. data/node_modules/cssstyle/lib/properties/webkitAnimationDelay.js +0 -12
  455. data/node_modules/cssstyle/lib/properties/webkitAnimationDirection.js +0 -12
  456. data/node_modules/cssstyle/lib/properties/webkitAnimationDuration.js +0 -12
  457. data/node_modules/cssstyle/lib/properties/webkitAnimationFillMode.js +0 -12
  458. data/node_modules/cssstyle/lib/properties/webkitAnimationIterationCount.js +0 -12
  459. data/node_modules/cssstyle/lib/properties/webkitAnimationName.js +0 -12
  460. data/node_modules/cssstyle/lib/properties/webkitAnimationPlayState.js +0 -12
  461. data/node_modules/cssstyle/lib/properties/webkitAnimationTimingFunction.js +0 -12
  462. data/node_modules/cssstyle/lib/properties/webkitAppearance.js +0 -12
  463. data/node_modules/cssstyle/lib/properties/webkitAspectRatio.js +0 -12
  464. data/node_modules/cssstyle/lib/properties/webkitBackfaceVisibility.js +0 -12
  465. data/node_modules/cssstyle/lib/properties/webkitBackgroundClip.js +0 -12
  466. data/node_modules/cssstyle/lib/properties/webkitBackgroundComposite.js +0 -12
  467. data/node_modules/cssstyle/lib/properties/webkitBackgroundOrigin.js +0 -12
  468. data/node_modules/cssstyle/lib/properties/webkitBackgroundSize.js +0 -12
  469. data/node_modules/cssstyle/lib/properties/webkitBorderAfter.js +0 -12
  470. data/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +0 -14
  471. data/node_modules/cssstyle/lib/properties/webkitBorderAfterStyle.js +0 -12
  472. data/node_modules/cssstyle/lib/properties/webkitBorderAfterWidth.js +0 -12
  473. data/node_modules/cssstyle/lib/properties/webkitBorderBefore.js +0 -12
  474. data/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +0 -14
  475. data/node_modules/cssstyle/lib/properties/webkitBorderBeforeStyle.js +0 -12
  476. data/node_modules/cssstyle/lib/properties/webkitBorderBeforeWidth.js +0 -12
  477. data/node_modules/cssstyle/lib/properties/webkitBorderEnd.js +0 -12
  478. data/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +0 -14
  479. data/node_modules/cssstyle/lib/properties/webkitBorderEndStyle.js +0 -12
  480. data/node_modules/cssstyle/lib/properties/webkitBorderEndWidth.js +0 -12
  481. data/node_modules/cssstyle/lib/properties/webkitBorderFit.js +0 -12
  482. data/node_modules/cssstyle/lib/properties/webkitBorderHorizontalSpacing.js +0 -12
  483. data/node_modules/cssstyle/lib/properties/webkitBorderImage.js +0 -12
  484. data/node_modules/cssstyle/lib/properties/webkitBorderRadius.js +0 -12
  485. data/node_modules/cssstyle/lib/properties/webkitBorderStart.js +0 -12
  486. data/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +0 -14
  487. data/node_modules/cssstyle/lib/properties/webkitBorderStartStyle.js +0 -12
  488. data/node_modules/cssstyle/lib/properties/webkitBorderStartWidth.js +0 -12
  489. data/node_modules/cssstyle/lib/properties/webkitBorderVerticalSpacing.js +0 -12
  490. data/node_modules/cssstyle/lib/properties/webkitBoxAlign.js +0 -12
  491. data/node_modules/cssstyle/lib/properties/webkitBoxDirection.js +0 -12
  492. data/node_modules/cssstyle/lib/properties/webkitBoxFlex.js +0 -12
  493. data/node_modules/cssstyle/lib/properties/webkitBoxFlexGroup.js +0 -12
  494. data/node_modules/cssstyle/lib/properties/webkitBoxLines.js +0 -12
  495. data/node_modules/cssstyle/lib/properties/webkitBoxOrdinalGroup.js +0 -12
  496. data/node_modules/cssstyle/lib/properties/webkitBoxOrient.js +0 -12
  497. data/node_modules/cssstyle/lib/properties/webkitBoxPack.js +0 -12
  498. data/node_modules/cssstyle/lib/properties/webkitBoxReflect.js +0 -12
  499. data/node_modules/cssstyle/lib/properties/webkitBoxShadow.js +0 -12
  500. data/node_modules/cssstyle/lib/properties/webkitColorCorrection.js +0 -12
  501. data/node_modules/cssstyle/lib/properties/webkitColumnAxis.js +0 -12
  502. data/node_modules/cssstyle/lib/properties/webkitColumnBreakAfter.js +0 -12
  503. data/node_modules/cssstyle/lib/properties/webkitColumnBreakBefore.js +0 -12
  504. data/node_modules/cssstyle/lib/properties/webkitColumnBreakInside.js +0 -12
  505. data/node_modules/cssstyle/lib/properties/webkitColumnCount.js +0 -12
  506. data/node_modules/cssstyle/lib/properties/webkitColumnGap.js +0 -12
  507. data/node_modules/cssstyle/lib/properties/webkitColumnRule.js +0 -12
  508. data/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +0 -14
  509. data/node_modules/cssstyle/lib/properties/webkitColumnRuleStyle.js +0 -12
  510. data/node_modules/cssstyle/lib/properties/webkitColumnRuleWidth.js +0 -12
  511. data/node_modules/cssstyle/lib/properties/webkitColumnSpan.js +0 -12
  512. data/node_modules/cssstyle/lib/properties/webkitColumnWidth.js +0 -12
  513. data/node_modules/cssstyle/lib/properties/webkitColumns.js +0 -12
  514. data/node_modules/cssstyle/lib/properties/webkitFilter.js +0 -12
  515. data/node_modules/cssstyle/lib/properties/webkitFlexAlign.js +0 -12
  516. data/node_modules/cssstyle/lib/properties/webkitFlexDirection.js +0 -12
  517. data/node_modules/cssstyle/lib/properties/webkitFlexFlow.js +0 -12
  518. data/node_modules/cssstyle/lib/properties/webkitFlexItemAlign.js +0 -12
  519. data/node_modules/cssstyle/lib/properties/webkitFlexLinePack.js +0 -12
  520. data/node_modules/cssstyle/lib/properties/webkitFlexOrder.js +0 -12
  521. data/node_modules/cssstyle/lib/properties/webkitFlexPack.js +0 -12
  522. data/node_modules/cssstyle/lib/properties/webkitFlexWrap.js +0 -12
  523. data/node_modules/cssstyle/lib/properties/webkitFlowFrom.js +0 -12
  524. data/node_modules/cssstyle/lib/properties/webkitFlowInto.js +0 -12
  525. data/node_modules/cssstyle/lib/properties/webkitFontFeatureSettings.js +0 -12
  526. data/node_modules/cssstyle/lib/properties/webkitFontKerning.js +0 -12
  527. data/node_modules/cssstyle/lib/properties/webkitFontSizeDelta.js +0 -12
  528. data/node_modules/cssstyle/lib/properties/webkitFontSmoothing.js +0 -12
  529. data/node_modules/cssstyle/lib/properties/webkitFontVariantLigatures.js +0 -12
  530. data/node_modules/cssstyle/lib/properties/webkitHighlight.js +0 -12
  531. data/node_modules/cssstyle/lib/properties/webkitHyphenateCharacter.js +0 -12
  532. data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitAfter.js +0 -12
  533. data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitBefore.js +0 -12
  534. data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitLines.js +0 -12
  535. data/node_modules/cssstyle/lib/properties/webkitHyphens.js +0 -12
  536. data/node_modules/cssstyle/lib/properties/webkitLineAlign.js +0 -12
  537. data/node_modules/cssstyle/lib/properties/webkitLineBoxContain.js +0 -12
  538. data/node_modules/cssstyle/lib/properties/webkitLineBreak.js +0 -12
  539. data/node_modules/cssstyle/lib/properties/webkitLineClamp.js +0 -12
  540. data/node_modules/cssstyle/lib/properties/webkitLineGrid.js +0 -12
  541. data/node_modules/cssstyle/lib/properties/webkitLineSnap.js +0 -12
  542. data/node_modules/cssstyle/lib/properties/webkitLocale.js +0 -12
  543. data/node_modules/cssstyle/lib/properties/webkitLogicalHeight.js +0 -12
  544. data/node_modules/cssstyle/lib/properties/webkitLogicalWidth.js +0 -12
  545. data/node_modules/cssstyle/lib/properties/webkitMarginAfter.js +0 -12
  546. data/node_modules/cssstyle/lib/properties/webkitMarginAfterCollapse.js +0 -12
  547. data/node_modules/cssstyle/lib/properties/webkitMarginBefore.js +0 -12
  548. data/node_modules/cssstyle/lib/properties/webkitMarginBeforeCollapse.js +0 -12
  549. data/node_modules/cssstyle/lib/properties/webkitMarginBottomCollapse.js +0 -12
  550. data/node_modules/cssstyle/lib/properties/webkitMarginCollapse.js +0 -12
  551. data/node_modules/cssstyle/lib/properties/webkitMarginEnd.js +0 -12
  552. data/node_modules/cssstyle/lib/properties/webkitMarginStart.js +0 -12
  553. data/node_modules/cssstyle/lib/properties/webkitMarginTopCollapse.js +0 -12
  554. data/node_modules/cssstyle/lib/properties/webkitMarquee.js +0 -12
  555. data/node_modules/cssstyle/lib/properties/webkitMarqueeDirection.js +0 -12
  556. data/node_modules/cssstyle/lib/properties/webkitMarqueeIncrement.js +0 -12
  557. data/node_modules/cssstyle/lib/properties/webkitMarqueeRepetition.js +0 -12
  558. data/node_modules/cssstyle/lib/properties/webkitMarqueeSpeed.js +0 -12
  559. data/node_modules/cssstyle/lib/properties/webkitMarqueeStyle.js +0 -12
  560. data/node_modules/cssstyle/lib/properties/webkitMask.js +0 -12
  561. data/node_modules/cssstyle/lib/properties/webkitMaskAttachment.js +0 -12
  562. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImage.js +0 -12
  563. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageOutset.js +0 -12
  564. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageRepeat.js +0 -12
  565. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageSlice.js +0 -12
  566. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageSource.js +0 -12
  567. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageWidth.js +0 -12
  568. data/node_modules/cssstyle/lib/properties/webkitMaskClip.js +0 -12
  569. data/node_modules/cssstyle/lib/properties/webkitMaskComposite.js +0 -12
  570. data/node_modules/cssstyle/lib/properties/webkitMaskImage.js +0 -12
  571. data/node_modules/cssstyle/lib/properties/webkitMaskOrigin.js +0 -12
  572. data/node_modules/cssstyle/lib/properties/webkitMaskPosition.js +0 -12
  573. data/node_modules/cssstyle/lib/properties/webkitMaskPositionX.js +0 -12
  574. data/node_modules/cssstyle/lib/properties/webkitMaskPositionY.js +0 -12
  575. data/node_modules/cssstyle/lib/properties/webkitMaskRepeat.js +0 -12
  576. data/node_modules/cssstyle/lib/properties/webkitMaskRepeatX.js +0 -12
  577. data/node_modules/cssstyle/lib/properties/webkitMaskRepeatY.js +0 -12
  578. data/node_modules/cssstyle/lib/properties/webkitMaskSize.js +0 -12
  579. data/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +0 -14
  580. data/node_modules/cssstyle/lib/properties/webkitMaxLogicalHeight.js +0 -12
  581. data/node_modules/cssstyle/lib/properties/webkitMaxLogicalWidth.js +0 -12
  582. data/node_modules/cssstyle/lib/properties/webkitMinLogicalHeight.js +0 -12
  583. data/node_modules/cssstyle/lib/properties/webkitMinLogicalWidth.js +0 -12
  584. data/node_modules/cssstyle/lib/properties/webkitNbspMode.js +0 -12
  585. data/node_modules/cssstyle/lib/properties/webkitOverflowScrolling.js +0 -12
  586. data/node_modules/cssstyle/lib/properties/webkitPaddingAfter.js +0 -12
  587. data/node_modules/cssstyle/lib/properties/webkitPaddingBefore.js +0 -12
  588. data/node_modules/cssstyle/lib/properties/webkitPaddingEnd.js +0 -12
  589. data/node_modules/cssstyle/lib/properties/webkitPaddingStart.js +0 -12
  590. data/node_modules/cssstyle/lib/properties/webkitPerspective.js +0 -12
  591. data/node_modules/cssstyle/lib/properties/webkitPerspectiveOrigin.js +0 -12
  592. data/node_modules/cssstyle/lib/properties/webkitPerspectiveOriginX.js +0 -12
  593. data/node_modules/cssstyle/lib/properties/webkitPerspectiveOriginY.js +0 -12
  594. data/node_modules/cssstyle/lib/properties/webkitPrintColorAdjust.js +0 -12
  595. data/node_modules/cssstyle/lib/properties/webkitRegionBreakAfter.js +0 -12
  596. data/node_modules/cssstyle/lib/properties/webkitRegionBreakBefore.js +0 -12
  597. data/node_modules/cssstyle/lib/properties/webkitRegionBreakInside.js +0 -12
  598. data/node_modules/cssstyle/lib/properties/webkitRegionOverflow.js +0 -12
  599. data/node_modules/cssstyle/lib/properties/webkitRtlOrdering.js +0 -12
  600. data/node_modules/cssstyle/lib/properties/webkitSvgShadow.js +0 -12
  601. data/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +0 -14
  602. data/node_modules/cssstyle/lib/properties/webkitTextCombine.js +0 -12
  603. data/node_modules/cssstyle/lib/properties/webkitTextDecorationsInEffect.js +0 -12
  604. data/node_modules/cssstyle/lib/properties/webkitTextEmphasis.js +0 -12
  605. data/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +0 -14
  606. data/node_modules/cssstyle/lib/properties/webkitTextEmphasisPosition.js +0 -12
  607. data/node_modules/cssstyle/lib/properties/webkitTextEmphasisStyle.js +0 -12
  608. data/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +0 -14
  609. data/node_modules/cssstyle/lib/properties/webkitTextOrientation.js +0 -12
  610. data/node_modules/cssstyle/lib/properties/webkitTextSecurity.js +0 -12
  611. data/node_modules/cssstyle/lib/properties/webkitTextSizeAdjust.js +0 -12
  612. data/node_modules/cssstyle/lib/properties/webkitTextStroke.js +0 -12
  613. data/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +0 -14
  614. data/node_modules/cssstyle/lib/properties/webkitTextStrokeWidth.js +0 -12
  615. data/node_modules/cssstyle/lib/properties/webkitTransform.js +0 -12
  616. data/node_modules/cssstyle/lib/properties/webkitTransformOrigin.js +0 -12
  617. data/node_modules/cssstyle/lib/properties/webkitTransformOriginX.js +0 -12
  618. data/node_modules/cssstyle/lib/properties/webkitTransformOriginY.js +0 -12
  619. data/node_modules/cssstyle/lib/properties/webkitTransformOriginZ.js +0 -12
  620. data/node_modules/cssstyle/lib/properties/webkitTransformStyle.js +0 -12
  621. data/node_modules/cssstyle/lib/properties/webkitTransition.js +0 -12
  622. data/node_modules/cssstyle/lib/properties/webkitTransitionDelay.js +0 -12
  623. data/node_modules/cssstyle/lib/properties/webkitTransitionDuration.js +0 -12
  624. data/node_modules/cssstyle/lib/properties/webkitTransitionProperty.js +0 -12
  625. data/node_modules/cssstyle/lib/properties/webkitTransitionTimingFunction.js +0 -12
  626. data/node_modules/cssstyle/lib/properties/webkitUserDrag.js +0 -12
  627. data/node_modules/cssstyle/lib/properties/webkitUserModify.js +0 -12
  628. data/node_modules/cssstyle/lib/properties/webkitUserSelect.js +0 -12
  629. data/node_modules/cssstyle/lib/properties/webkitWrap.js +0 -12
  630. data/node_modules/cssstyle/lib/properties/webkitWrapFlow.js +0 -12
  631. data/node_modules/cssstyle/lib/properties/webkitWrapMargin.js +0 -12
  632. data/node_modules/cssstyle/lib/properties/webkitWrapPadding.js +0 -12
  633. data/node_modules/cssstyle/lib/properties/webkitWrapShapeInside.js +0 -12
  634. data/node_modules/cssstyle/lib/properties/webkitWrapShapeOutside.js +0 -12
  635. data/node_modules/cssstyle/lib/properties/webkitWrapThrough.js +0 -12
  636. data/node_modules/cssstyle/lib/properties/webkitWritingMode.js +0 -12
  637. data/node_modules/cssstyle/lib/properties/whiteSpace.js +0 -12
  638. data/node_modules/cssstyle/lib/properties/widows.js +0 -12
  639. data/node_modules/cssstyle/lib/properties/width.js +0 -24
  640. data/node_modules/cssstyle/lib/properties/wordBreak.js +0 -12
  641. data/node_modules/cssstyle/lib/properties/wordSpacing.js +0 -12
  642. data/node_modules/cssstyle/lib/properties/wordWrap.js +0 -12
  643. data/node_modules/cssstyle/lib/properties/writingMode.js +0 -12
  644. data/node_modules/cssstyle/lib/properties/zIndex.js +0 -12
  645. data/node_modules/cssstyle/lib/properties/zoom.js +0 -12
  646. data/node_modules/cssstyle/package.json +0 -109
  647. data/node_modules/cssstyle/scripts/generate_properties.js +0 -302
  648. data/node_modules/cssstyle/scripts/run_tests.sh +0 -4
  649. data/node_modules/cssstyle/tests/tests.js +0 -405
  650. data/node_modules/dashdash/CHANGES.md +0 -364
  651. data/node_modules/dashdash/LICENSE.txt +0 -24
  652. data/node_modules/dashdash/README.md +0 -574
  653. data/node_modules/dashdash/etc/dashdash.bash_completion.in +0 -389
  654. data/node_modules/dashdash/lib/dashdash.js +0 -1055
  655. data/node_modules/dashdash/node_modules/assert-plus/AUTHORS +0 -6
  656. data/node_modules/dashdash/node_modules/assert-plus/CHANGES.md +0 -14
  657. data/node_modules/dashdash/node_modules/assert-plus/README.md +0 -162
  658. data/node_modules/dashdash/node_modules/assert-plus/assert.js +0 -211
  659. data/node_modules/dashdash/node_modules/assert-plus/package.json +0 -115
  660. data/node_modules/dashdash/package.json +0 -125
  661. data/node_modules/deep-eql/.npmignore +0 -11
  662. data/node_modules/deep-eql/History.md +0 -28
  663. data/node_modules/deep-eql/README.md +0 -52
  664. data/node_modules/deep-eql/index.js +0 -1
  665. data/node_modules/deep-eql/karma.conf.js +0 -20
  666. data/node_modules/deep-eql/lib/eql.js +0 -257
  667. data/node_modules/deep-eql/node_modules/type-detect/.npmignore +0 -11
  668. data/node_modules/deep-eql/node_modules/type-detect/History.md +0 -18
  669. data/node_modules/deep-eql/node_modules/type-detect/README.md +0 -193
  670. data/node_modules/deep-eql/node_modules/type-detect/index.js +0 -1
  671. data/node_modules/deep-eql/node_modules/type-detect/lib/type.js +0 -142
  672. data/node_modules/deep-eql/node_modules/type-detect/package.json +0 -91
  673. data/node_modules/deep-eql/package.json +0 -98
  674. data/node_modules/deep-is/.npmignore +0 -1
  675. data/node_modules/deep-is/.travis.yml +0 -6
  676. data/node_modules/deep-is/LICENSE +0 -22
  677. data/node_modules/deep-is/README.markdown +0 -70
  678. data/node_modules/deep-is/example/cmp.js +0 -11
  679. data/node_modules/deep-is/index.js +0 -102
  680. data/node_modules/deep-is/package.json +0 -120
  681. data/node_modules/deep-is/test/NaN.js +0 -16
  682. data/node_modules/deep-is/test/cmp.js +0 -23
  683. data/node_modules/deep-is/test/neg-vs-pos-0.js +0 -15
  684. data/node_modules/delayed-stream/.npmignore +0 -1
  685. data/node_modules/delayed-stream/License +0 -19
  686. data/node_modules/delayed-stream/Makefile +0 -7
  687. data/node_modules/delayed-stream/Readme.md +0 -141
  688. data/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  689. data/node_modules/delayed-stream/package.json +0 -97
  690. data/node_modules/ecc-jsbn/.npmignore +0 -15
  691. data/node_modules/ecc-jsbn/LICENSE +0 -21
  692. data/node_modules/ecc-jsbn/README.md +0 -8
  693. data/node_modules/ecc-jsbn/index.js +0 -57
  694. data/node_modules/ecc-jsbn/lib/LICENSE-jsbn +0 -40
  695. data/node_modules/ecc-jsbn/lib/ec.js +0 -561
  696. data/node_modules/ecc-jsbn/lib/sec.js +0 -170
  697. data/node_modules/ecc-jsbn/package.json +0 -90
  698. data/node_modules/ecc-jsbn/test.js +0 -14
  699. data/node_modules/escape-string-regexp/index.js +0 -11
  700. data/node_modules/escape-string-regexp/license +0 -21
  701. data/node_modules/escape-string-regexp/package.json +0 -109
  702. data/node_modules/escape-string-regexp/readme.md +0 -27
  703. data/node_modules/escodegen/LICENSE.BSD +0 -19
  704. data/node_modules/escodegen/LICENSE.source-map +0 -27
  705. data/node_modules/escodegen/README.md +0 -116
  706. data/node_modules/escodegen/bin/escodegen.js +0 -77
  707. data/node_modules/escodegen/bin/esgenerate.js +0 -64
  708. data/node_modules/escodegen/escodegen.js +0 -2607
  709. data/node_modules/escodegen/package.json +0 -122
  710. data/node_modules/esprima/ChangeLog +0 -174
  711. data/node_modules/esprima/LICENSE.BSD +0 -21
  712. data/node_modules/esprima/README.md +0 -27
  713. data/node_modules/esprima/bin/esparse.js +0 -126
  714. data/node_modules/esprima/bin/esvalidate.js +0 -199
  715. data/node_modules/esprima/esprima.js +0 -5740
  716. data/node_modules/esprima/package.json +0 -153
  717. data/node_modules/estraverse/.editorconfig +0 -10
  718. data/node_modules/estraverse/.jshintrc +0 -16
  719. data/node_modules/estraverse/LICENSE.BSD +0 -19
  720. data/node_modules/estraverse/README.md +0 -124
  721. data/node_modules/estraverse/estraverse.js +0 -845
  722. data/node_modules/estraverse/gulpfile.js +0 -70
  723. data/node_modules/estraverse/package.json +0 -95
  724. data/node_modules/esutils/LICENSE.BSD +0 -19
  725. data/node_modules/esutils/README.md +0 -169
  726. data/node_modules/esutils/lib/ast.js +0 -144
  727. data/node_modules/esutils/lib/code.js +0 -135
  728. data/node_modules/esutils/lib/keyword.js +0 -165
  729. data/node_modules/esutils/lib/utils.js +0 -33
  730. data/node_modules/esutils/package.json +0 -105
  731. data/node_modules/extend/.eslintrc +0 -192
  732. data/node_modules/extend/.jscs.json +0 -104
  733. data/node_modules/extend/.npmignore +0 -1
  734. data/node_modules/extend/.travis.yml +0 -44
  735. data/node_modules/extend/CHANGELOG.md +0 -69
  736. data/node_modules/extend/LICENSE +0 -23
  737. data/node_modules/extend/README.md +0 -62
  738. data/node_modules/extend/component.json +0 -32
  739. data/node_modules/extend/index.js +0 -86
  740. data/node_modules/extend/package.json +0 -106
  741. data/node_modules/extsprintf/.gitmodules +0 -6
  742. data/node_modules/extsprintf/LICENSE +0 -19
  743. data/node_modules/extsprintf/Makefile +0 -23
  744. data/node_modules/extsprintf/Makefile.deps +0 -39
  745. data/node_modules/extsprintf/Makefile.targ +0 -285
  746. data/node_modules/extsprintf/README.md +0 -39
  747. data/node_modules/extsprintf/examples/simple.js +0 -2
  748. data/node_modules/extsprintf/jsl.node.conf +0 -137
  749. data/node_modules/extsprintf/lib/extsprintf.js +0 -166
  750. data/node_modules/extsprintf/package.json +0 -74
  751. data/node_modules/fast-levenshtein/LICENSE.md +0 -25
  752. data/node_modules/fast-levenshtein/README.md +0 -104
  753. data/node_modules/fast-levenshtein/levenshtein.js +0 -102
  754. data/node_modules/fast-levenshtein/package.json +0 -108
  755. data/node_modules/forever-agent/LICENSE +0 -55
  756. data/node_modules/forever-agent/README.md +0 -4
  757. data/node_modules/forever-agent/index.js +0 -138
  758. data/node_modules/forever-agent/package.json +0 -88
  759. data/node_modules/form-data/License +0 -19
  760. data/node_modules/form-data/README.md +0 -217
  761. data/node_modules/form-data/lib/browser.js +0 -2
  762. data/node_modules/form-data/lib/form_data.js +0 -440
  763. data/node_modules/form-data/lib/populate.js +0 -10
  764. data/node_modules/form-data/package.json +0 -145
  765. data/node_modules/generate-function/.npmignore +0 -1
  766. data/node_modules/generate-function/.travis.yml +0 -3
  767. data/node_modules/generate-function/README.md +0 -72
  768. data/node_modules/generate-function/example.js +0 -27
  769. data/node_modules/generate-function/index.js +0 -61
  770. data/node_modules/generate-function/package.json +0 -87
  771. data/node_modules/generate-function/test.js +0 -33
  772. data/node_modules/generate-object-property/.npmignore +0 -1
  773. data/node_modules/generate-object-property/.travis.yml +0 -3
  774. data/node_modules/generate-object-property/LICENSE +0 -21
  775. data/node_modules/generate-object-property/README.md +0 -19
  776. data/node_modules/generate-object-property/index.js +0 -12
  777. data/node_modules/generate-object-property/package.json +0 -84
  778. data/node_modules/generate-object-property/test.js +0 -12
  779. data/node_modules/getpass/.npmignore +0 -8
  780. data/node_modules/getpass/.travis.yml +0 -9
  781. data/node_modules/getpass/LICENSE +0 -18
  782. data/node_modules/getpass/README.md +0 -32
  783. data/node_modules/getpass/lib/index.js +0 -123
  784. data/node_modules/getpass/node_modules/assert-plus/AUTHORS +0 -6
  785. data/node_modules/getpass/node_modules/assert-plus/CHANGES.md +0 -14
  786. data/node_modules/getpass/node_modules/assert-plus/README.md +0 -162
  787. data/node_modules/getpass/node_modules/assert-plus/assert.js +0 -211
  788. data/node_modules/getpass/node_modules/assert-plus/package.json +0 -115
  789. data/node_modules/getpass/package.json +0 -90
  790. data/node_modules/graceful-readlink/.npmignore +0 -3
  791. data/node_modules/graceful-readlink/.travis.yml +0 -5
  792. data/node_modules/graceful-readlink/LICENSE +0 -22
  793. data/node_modules/graceful-readlink/README.md +0 -17
  794. data/node_modules/graceful-readlink/index.js +0 -12
  795. data/node_modules/graceful-readlink/package.json +0 -83
  796. data/node_modules/har-validator/LICENSE +0 -13
  797. data/node_modules/har-validator/README.md +0 -309
  798. data/node_modules/har-validator/bin/har-validator +0 -56
  799. data/node_modules/har-validator/lib/async.js +0 -14
  800. data/node_modules/har-validator/lib/error.js +0 -10
  801. data/node_modules/har-validator/lib/index.js +0 -22
  802. data/node_modules/har-validator/lib/runner.js +0 -29
  803. data/node_modules/har-validator/lib/schemas/cache.json +0 -13
  804. data/node_modules/har-validator/lib/schemas/cacheEntry.json +0 -31
  805. data/node_modules/har-validator/lib/schemas/content.json +0 -27
  806. data/node_modules/har-validator/lib/schemas/cookie.json +0 -34
  807. data/node_modules/har-validator/lib/schemas/creator.json +0 -18
  808. data/node_modules/har-validator/lib/schemas/entry.json +0 -51
  809. data/node_modules/har-validator/lib/schemas/har.json +0 -11
  810. data/node_modules/har-validator/lib/schemas/index.js +0 -49
  811. data/node_modules/har-validator/lib/schemas/log.json +0 -34
  812. data/node_modules/har-validator/lib/schemas/page.json +0 -30
  813. data/node_modules/har-validator/lib/schemas/pageTimings.json +0 -16
  814. data/node_modules/har-validator/lib/schemas/postData.json +0 -41
  815. data/node_modules/har-validator/lib/schemas/record.json +0 -18
  816. data/node_modules/har-validator/lib/schemas/request.json +0 -55
  817. data/node_modules/har-validator/lib/schemas/response.json +0 -52
  818. data/node_modules/har-validator/lib/schemas/timings.json +0 -40
  819. data/node_modules/har-validator/package.json +0 -120
  820. data/node_modules/has-ansi/index.js +0 -4
  821. data/node_modules/has-ansi/license +0 -21
  822. data/node_modules/has-ansi/package.json +0 -118
  823. data/node_modules/has-ansi/readme.md +0 -36
  824. data/node_modules/hawk/.npmignore +0 -20
  825. data/node_modules/hawk/.travis.yml +0 -5
  826. data/node_modules/hawk/LICENSE +0 -28
  827. data/node_modules/hawk/README.md +0 -634
  828. data/node_modules/hawk/bower.json +0 -24
  829. data/node_modules/hawk/component.json +0 -19
  830. data/node_modules/hawk/dist/client.js +0 -343
  831. data/node_modules/hawk/example/usage.js +0 -78
  832. data/node_modules/hawk/images/hawk.png +0 -0
  833. data/node_modules/hawk/images/logo.png +0 -0
  834. data/node_modules/hawk/lib/browser.js +0 -637
  835. data/node_modules/hawk/lib/client.js +0 -369
  836. data/node_modules/hawk/lib/crypto.js +0 -126
  837. data/node_modules/hawk/lib/index.js +0 -15
  838. data/node_modules/hawk/lib/server.js +0 -548
  839. data/node_modules/hawk/lib/utils.js +0 -184
  840. data/node_modules/hawk/package.json +0 -101
  841. data/node_modules/hawk/test/browser.js +0 -1492
  842. data/node_modules/hawk/test/client.js +0 -440
  843. data/node_modules/hawk/test/crypto.js +0 -70
  844. data/node_modules/hawk/test/index.js +0 -378
  845. data/node_modules/hawk/test/readme.js +0 -95
  846. data/node_modules/hawk/test/server.js +0 -1329
  847. data/node_modules/hawk/test/uri.js +0 -838
  848. data/node_modules/hawk/test/utils.js +0 -149
  849. data/node_modules/hoek/.npmignore +0 -18
  850. data/node_modules/hoek/.travis.yml +0 -7
  851. data/node_modules/hoek/CONTRIBUTING.md +0 -1
  852. data/node_modules/hoek/LICENSE +0 -31
  853. data/node_modules/hoek/README.md +0 -584
  854. data/node_modules/hoek/images/hoek.png +0 -0
  855. data/node_modules/hoek/lib/escape.js +0 -132
  856. data/node_modules/hoek/lib/index.js +0 -993
  857. data/node_modules/hoek/package.json +0 -96
  858. data/node_modules/hoek/test/escaper.js +0 -88
  859. data/node_modules/hoek/test/index.js +0 -2513
  860. data/node_modules/hoek/test/modules/ignore.txt +0 -0
  861. data/node_modules/hoek/test/modules/test1.js +0 -1
  862. data/node_modules/hoek/test/modules/test2.js +0 -1
  863. data/node_modules/hoek/test/modules/test3.js +0 -1
  864. data/node_modules/html-encoding-sniffer/LICENSE.txt +0 -19
  865. data/node_modules/html-encoding-sniffer/README.md +0 -38
  866. data/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +0 -302
  867. data/node_modules/html-encoding-sniffer/package.json +0 -98
  868. data/node_modules/http-signature/.dir-locals.el +0 -6
  869. data/node_modules/http-signature/.npmignore +0 -7
  870. data/node_modules/http-signature/CHANGES.md +0 -46
  871. data/node_modules/http-signature/LICENSE +0 -18
  872. data/node_modules/http-signature/README.md +0 -79
  873. data/node_modules/http-signature/http_signing.md +0 -363
  874. data/node_modules/http-signature/lib/index.js +0 -29
  875. data/node_modules/http-signature/lib/parser.js +0 -318
  876. data/node_modules/http-signature/lib/signer.js +0 -399
  877. data/node_modules/http-signature/lib/utils.js +0 -112
  878. data/node_modules/http-signature/lib/verify.js +0 -88
  879. data/node_modules/http-signature/package.json +0 -116
  880. data/node_modules/iconv-lite/.npmignore +0 -6
  881. data/node_modules/iconv-lite/.travis.yml +0 -22
  882. data/node_modules/iconv-lite/Changelog.md +0 -108
  883. data/node_modules/iconv-lite/LICENSE +0 -21
  884. data/node_modules/iconv-lite/README.md +0 -159
  885. data/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -554
  886. data/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  887. data/node_modules/iconv-lite/encodings/index.js +0 -22
  888. data/node_modules/iconv-lite/encodings/internal.js +0 -187
  889. data/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  890. data/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  891. data/node_modules/iconv-lite/encodings/sbcs-data.js +0 -169
  892. data/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  893. data/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  894. data/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  895. data/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  896. data/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  897. data/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  898. data/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  899. data/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  900. data/node_modules/iconv-lite/encodings/utf16.js +0 -176
  901. data/node_modules/iconv-lite/encodings/utf7.js +0 -289
  902. data/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  903. data/node_modules/iconv-lite/lib/extend-node.js +0 -214
  904. data/node_modules/iconv-lite/lib/index.d.ts +0 -31
  905. data/node_modules/iconv-lite/lib/index.js +0 -141
  906. data/node_modules/iconv-lite/lib/streams.js +0 -120
  907. data/node_modules/iconv-lite/package.json +0 -158
  908. data/node_modules/is-my-json-valid/.npmignore +0 -2
  909. data/node_modules/is-my-json-valid/.travis.yml +0 -3
  910. data/node_modules/is-my-json-valid/LICENSE +0 -21
  911. data/node_modules/is-my-json-valid/README.md +0 -173
  912. data/node_modules/is-my-json-valid/example.js +0 -18
  913. data/node_modules/is-my-json-valid/formats.js +0 -14
  914. data/node_modules/is-my-json-valid/index.js +0 -594
  915. data/node_modules/is-my-json-valid/package.json +0 -116
  916. data/node_modules/is-my-json-valid/require.js +0 -12
  917. data/node_modules/is-my-json-valid/test/fixtures/cosmic.js +0 -84
  918. data/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +0 -82
  919. data/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +0 -88
  920. data/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +0 -112
  921. data/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +0 -68
  922. data/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +0 -107
  923. data/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +0 -49
  924. data/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +0 -32
  925. data/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +0 -113
  926. data/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +0 -72
  927. data/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +0 -143
  928. data/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +0 -46
  929. data/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +0 -28
  930. data/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +0 -28
  931. data/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +0 -28
  932. data/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +0 -42
  933. data/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +0 -28
  934. data/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +0 -28
  935. data/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +0 -28
  936. data/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +0 -42
  937. data/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +0 -96
  938. data/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +0 -96
  939. data/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +0 -18
  940. data/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +0 -18
  941. data/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +0 -68
  942. data/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +0 -23
  943. data/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +0 -110
  944. data/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +0 -92
  945. data/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +0 -128
  946. data/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +0 -74
  947. data/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +0 -39
  948. data/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +0 -330
  949. data/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +0 -79
  950. data/node_modules/is-my-json-valid/test/json-schema.js +0 -23
  951. data/node_modules/is-my-json-valid/test/misc.js +0 -471
  952. data/node_modules/is-property/.npmignore +0 -17
  953. data/node_modules/is-property/LICENSE +0 -22
  954. data/node_modules/is-property/README.md +0 -28
  955. data/node_modules/is-property/is-property.js +0 -5
  956. data/node_modules/is-property/package.json +0 -92
  957. data/node_modules/is-typedarray/LICENSE.md +0 -18
  958. data/node_modules/is-typedarray/README.md +0 -16
  959. data/node_modules/is-typedarray/index.js +0 -41
  960. data/node_modules/is-typedarray/package.json +0 -90
  961. data/node_modules/is-typedarray/test.js +0 -34
  962. data/node_modules/isstream/.jshintrc +0 -59
  963. data/node_modules/isstream/.npmignore +0 -1
  964. data/node_modules/isstream/.travis.yml +0 -12
  965. data/node_modules/isstream/LICENSE.md +0 -11
  966. data/node_modules/isstream/README.md +0 -66
  967. data/node_modules/isstream/isstream.js +0 -27
  968. data/node_modules/isstream/package.json +0 -93
  969. data/node_modules/isstream/test.js +0 -168
  970. data/node_modules/jodid25519/.npmignore +0 -11
  971. data/node_modules/jodid25519/.travis.yml +0 -7
  972. data/node_modules/jodid25519/AUTHORS.md +0 -3
  973. data/node_modules/jodid25519/LICENSE +0 -23
  974. data/node_modules/jodid25519/README.md +0 -51
  975. data/node_modules/jodid25519/almond.0 +0 -42
  976. data/node_modules/jodid25519/almond.1 +0 -13
  977. data/node_modules/jodid25519/index.js +0 -35
  978. data/node_modules/jodid25519/jsdoc.json +0 -19
  979. data/node_modules/jodid25519/lib/core.js +0 -481
  980. data/node_modules/jodid25519/lib/curve255.js +0 -221
  981. data/node_modules/jodid25519/lib/dh.js +0 -111
  982. data/node_modules/jodid25519/lib/eddsa.js +0 -573
  983. data/node_modules/jodid25519/lib/utils.js +0 -198
  984. data/node_modules/jodid25519/package.json +0 -104
  985. data/node_modules/jquery/AUTHORS.txt +0 -295
  986. data/node_modules/jquery/LICENSE.txt +0 -36
  987. data/node_modules/jquery/README.md +0 -65
  988. data/node_modules/jquery/bower.json +0 -14
  989. data/node_modules/jquery/dist/core.js +0 -482
  990. data/node_modules/jquery/dist/jquery.js +0 -10220
  991. data/node_modules/jquery/dist/jquery.min.js +0 -4
  992. data/node_modules/jquery/dist/jquery.min.map +0 -1
  993. data/node_modules/jquery/dist/jquery.slim.js +0 -8107
  994. data/node_modules/jquery/dist/jquery.slim.min.js +0 -4
  995. data/node_modules/jquery/dist/jquery.slim.min.map +0 -1
  996. data/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
  997. data/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2272
  998. data/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
  999. data/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
  1000. data/node_modules/jquery/package.json +0 -169
  1001. data/node_modules/jquery/src/.eslintrc.json +0 -18
  1002. data/node_modules/jquery/src/ajax.js +0 -855
  1003. data/node_modules/jquery/src/ajax/jsonp.js +0 -102
  1004. data/node_modules/jquery/src/ajax/load.js +0 -76
  1005. data/node_modules/jquery/src/ajax/parseXML.js +0 -30
  1006. data/node_modules/jquery/src/ajax/script.js +0 -77
  1007. data/node_modules/jquery/src/ajax/var/location.js +0 -5
  1008. data/node_modules/jquery/src/ajax/var/nonce.js +0 -7
  1009. data/node_modules/jquery/src/ajax/var/rquery.js +0 -5
  1010. data/node_modules/jquery/src/ajax/xhr.js +0 -169
  1011. data/node_modules/jquery/src/attributes.js +0 -13
  1012. data/node_modules/jquery/src/attributes/attr.js +0 -140
  1013. data/node_modules/jquery/src/attributes/classes.js +0 -174
  1014. data/node_modules/jquery/src/attributes/prop.js +0 -143
  1015. data/node_modules/jquery/src/attributes/support.js +0 -33
  1016. data/node_modules/jquery/src/attributes/val.js +0 -188
  1017. data/node_modules/jquery/src/callbacks.js +0 -234
  1018. data/node_modules/jquery/src/core.js +0 -482
  1019. data/node_modules/jquery/src/core/DOMEval.js +0 -16
  1020. data/node_modules/jquery/src/core/access.js +0 -70
  1021. data/node_modules/jquery/src/core/init.js +0 -127
  1022. data/node_modules/jquery/src/core/parseHTML.js +0 -65
  1023. data/node_modules/jquery/src/core/ready-no-deferred.js +0 -105
  1024. data/node_modules/jquery/src/core/ready.js +0 -95
  1025. data/node_modules/jquery/src/core/readyException.js +0 -13
  1026. data/node_modules/jquery/src/core/stripAndCollapse.js +0 -14
  1027. data/node_modules/jquery/src/core/support.js +0 -20
  1028. data/node_modules/jquery/src/core/var/rsingleTag.js +0 -6
  1029. data/node_modules/jquery/src/css.js +0 -426
  1030. data/node_modules/jquery/src/css/addGetHookIf.js +0 -26
  1031. data/node_modules/jquery/src/css/adjustCSS.js +0 -71
  1032. data/node_modules/jquery/src/css/curCSS.js +0 -59
  1033. data/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -15
  1034. data/node_modules/jquery/src/css/showHide.js +0 -105
  1035. data/node_modules/jquery/src/css/support.js +0 -89
  1036. data/node_modules/jquery/src/css/var/cssExpand.js +0 -5
  1037. data/node_modules/jquery/src/css/var/getStyles.js +0 -17
  1038. data/node_modules/jquery/src/css/var/isHiddenWithinTree.js +0 -34
  1039. data/node_modules/jquery/src/css/var/rmargin.js +0 -5
  1040. data/node_modules/jquery/src/css/var/rnumnonpx.js +0 -7
  1041. data/node_modules/jquery/src/css/var/swap.js +0 -26
  1042. data/node_modules/jquery/src/data.js +0 -179
  1043. data/node_modules/jquery/src/data/Data.js +0 -161
  1044. data/node_modules/jquery/src/data/var/acceptData.js +0 -19
  1045. data/node_modules/jquery/src/data/var/dataPriv.js +0 -7
  1046. data/node_modules/jquery/src/data/var/dataUser.js +0 -7
  1047. data/node_modules/jquery/src/deferred.js +0 -389
  1048. data/node_modules/jquery/src/deferred/exceptionHook.js +0 -21
  1049. data/node_modules/jquery/src/deprecated.js +0 -30
  1050. data/node_modules/jquery/src/dimensions.js +0 -56
  1051. data/node_modules/jquery/src/effects.js +0 -693
  1052. data/node_modules/jquery/src/effects/Tween.js +0 -123
  1053. data/node_modules/jquery/src/effects/animatedSelector.js +0 -15
  1054. data/node_modules/jquery/src/event.js +0 -745
  1055. data/node_modules/jquery/src/event/ajax.js +0 -22
  1056. data/node_modules/jquery/src/event/alias.js +0 -29
  1057. data/node_modules/jquery/src/event/focusin.js +0 -55
  1058. data/node_modules/jquery/src/event/support.js +0 -11
  1059. data/node_modules/jquery/src/event/trigger.js +0 -185
  1060. data/node_modules/jquery/src/exports/amd.js +0 -26
  1061. data/node_modules/jquery/src/exports/global.js +0 -34
  1062. data/node_modules/jquery/src/jquery.js +0 -41
  1063. data/node_modules/jquery/src/manipulation.js +0 -486
  1064. data/node_modules/jquery/src/manipulation/_evalUrl.js +0 -23
  1065. data/node_modules/jquery/src/manipulation/buildFragment.js +0 -104
  1066. data/node_modules/jquery/src/manipulation/getAll.js +0 -31
  1067. data/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -22
  1068. data/node_modules/jquery/src/manipulation/support.js +0 -35
  1069. data/node_modules/jquery/src/manipulation/var/rcheckableType.js +0 -5
  1070. data/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -5
  1071. data/node_modules/jquery/src/manipulation/var/rtagName.js +0 -5
  1072. data/node_modules/jquery/src/manipulation/wrapMap.js +0 -29
  1073. data/node_modules/jquery/src/offset.js +0 -232
  1074. data/node_modules/jquery/src/queue.js +0 -145
  1075. data/node_modules/jquery/src/queue/delay.js +0 -24
  1076. data/node_modules/jquery/src/selector-native.js +0 -237
  1077. data/node_modules/jquery/src/selector-sizzle.js +0 -19
  1078. data/node_modules/jquery/src/selector.js +0 -3
  1079. data/node_modules/jquery/src/serialize.js +0 -130
  1080. data/node_modules/jquery/src/traversing.js +0 -178
  1081. data/node_modules/jquery/src/traversing/findFilter.js +0 -106
  1082. data/node_modules/jquery/src/traversing/var/dir.js +0 -22
  1083. data/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -8
  1084. data/node_modules/jquery/src/traversing/var/siblings.js +0 -17
  1085. data/node_modules/jquery/src/var/ObjectFunctionString.js +0 -7
  1086. data/node_modules/jquery/src/var/arr.js +0 -5
  1087. data/node_modules/jquery/src/var/class2type.js +0 -6
  1088. data/node_modules/jquery/src/var/concat.js +0 -7
  1089. data/node_modules/jquery/src/var/document.js +0 -5
  1090. data/node_modules/jquery/src/var/documentElement.js +0 -7
  1091. data/node_modules/jquery/src/var/fnToString.js +0 -7
  1092. data/node_modules/jquery/src/var/getProto.js +0 -5
  1093. data/node_modules/jquery/src/var/hasOwn.js +0 -7
  1094. data/node_modules/jquery/src/var/indexOf.js +0 -7
  1095. data/node_modules/jquery/src/var/pnum.js +0 -5
  1096. data/node_modules/jquery/src/var/push.js +0 -7
  1097. data/node_modules/jquery/src/var/rcssNum.js +0 -9
  1098. data/node_modules/jquery/src/var/rnothtmlwhite.js +0 -8
  1099. data/node_modules/jquery/src/var/slice.js +0 -7
  1100. data/node_modules/jquery/src/var/support.js +0 -6
  1101. data/node_modules/jquery/src/var/toString.js +0 -7
  1102. data/node_modules/jquery/src/wrap.js +0 -77
  1103. data/node_modules/jsbn/.npmignore +0 -2
  1104. data/node_modules/jsbn/LICENSE +0 -40
  1105. data/node_modules/jsbn/README.md +0 -175
  1106. data/node_modules/jsbn/example.html +0 -12
  1107. data/node_modules/jsbn/example.js +0 -3
  1108. data/node_modules/jsbn/index.js +0 -1358
  1109. data/node_modules/jsbn/package.json +0 -87
  1110. data/node_modules/jsdom-global/.npmignore +0 -1
  1111. data/node_modules/jsdom-global/.travis.yml +0 -6
  1112. data/node_modules/jsdom-global/HISTORY.md +0 -85
  1113. data/node_modules/jsdom-global/README.md +0 -137
  1114. data/node_modules/jsdom-global/browser.js +0 -10
  1115. data/node_modules/jsdom-global/index.js +0 -46
  1116. data/node_modules/jsdom-global/keys.js +0 -187
  1117. data/node_modules/jsdom-global/package.json +0 -95
  1118. data/node_modules/jsdom-global/register.js +0 -1
  1119. data/node_modules/jsdom-global/test.js +0 -22
  1120. data/node_modules/jsdom/Changelog.md +0 -1254
  1121. data/node_modules/jsdom/LICENSE.txt +0 -22
  1122. data/node_modules/jsdom/README.md +0 -592
  1123. data/node_modules/jsdom/lib/jsdom.js +0 -456
  1124. data/node_modules/jsdom/lib/jsdom/browser/Window.js +0 -502
  1125. data/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +0 -1129
  1126. data/node_modules/jsdom/lib/jsdom/browser/documentAdapter.js +0 -73
  1127. data/node_modules/jsdom/lib/jsdom/browser/documentfeatures.js +0 -47
  1128. data/node_modules/jsdom/lib/jsdom/browser/domtohtml.js +0 -19
  1129. data/node_modules/jsdom/lib/jsdom/browser/htmltodom.js +0 -323
  1130. data/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +0 -13
  1131. data/node_modules/jsdom/lib/jsdom/browser/resource-loader.js +0 -275
  1132. data/node_modules/jsdom/lib/jsdom/level2/style.js +0 -69
  1133. data/node_modules/jsdom/lib/jsdom/level3/xpath.js +0 -1874
  1134. data/node_modules/jsdom/lib/jsdom/living/attributes.js +0 -468
  1135. data/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +0 -87
  1136. data/node_modules/jsdom/lib/jsdom/living/blob-symbols.js +0 -6
  1137. data/node_modules/jsdom/lib/jsdom/living/blob.js +0 -73
  1138. data/node_modules/jsdom/lib/jsdom/living/dom-token-list.js +0 -222
  1139. data/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +0 -61
  1140. data/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +0 -18
  1141. data/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +0 -11
  1142. data/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +0 -77
  1143. data/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +0 -303
  1144. data/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +0 -4
  1145. data/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +0 -11
  1146. data/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +0 -21
  1147. data/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +0 -22
  1148. data/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +0 -28
  1149. data/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +0 -4
  1150. data/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +0 -11
  1151. data/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +0 -11
  1152. data/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +0 -19
  1153. data/node_modules/jsdom/lib/jsdom/living/file-reader.js +0 -133
  1154. data/node_modules/jsdom/lib/jsdom/living/file-symbols.js +0 -4
  1155. data/node_modules/jsdom/lib/jsdom/living/file.js +0 -22
  1156. data/node_modules/jsdom/lib/jsdom/living/filelist-symbols.js +0 -3
  1157. data/node_modules/jsdom/lib/jsdom/living/filelist.js +0 -21
  1158. data/node_modules/jsdom/lib/jsdom/living/form-data-symbols.js +0 -3
  1159. data/node_modules/jsdom/lib/jsdom/living/generated/.gitkeep +0 -0
  1160. data/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +0 -34
  1161. data/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +0 -169
  1162. data/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +0 -189
  1163. data/node_modules/jsdom/lib/jsdom/living/generated/ChildNode.js +0 -92
  1164. data/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +0 -92
  1165. data/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +0 -122
  1166. data/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +0 -34
  1167. data/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +0 -143
  1168. data/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +0 -97
  1169. data/node_modules/jsdom/lib/jsdom/living/generated/Document.js +0 -712
  1170. data/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +0 -91
  1171. data/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +0 -110
  1172. data/node_modules/jsdom/lib/jsdom/living/generated/Element.js +0 -552
  1173. data/node_modules/jsdom/lib/jsdom/living/generated/ElementCSSInlineStyle.js +0 -88
  1174. data/node_modules/jsdom/lib/jsdom/living/generated/ElementContentEditable.js +0 -77
  1175. data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +0 -137
  1176. data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +0 -56
  1177. data/node_modules/jsdom/lib/jsdom/living/generated/Event.js +0 -251
  1178. data/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +0 -40
  1179. data/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +0 -32
  1180. data/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +0 -146
  1181. data/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +0 -130
  1182. data/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +0 -104
  1183. data/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +0 -34
  1184. data/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +0 -179
  1185. data/node_modules/jsdom/lib/jsdom/living/generated/GlobalEventHandlers.js +0 -770
  1186. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +0 -228
  1187. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAppletElement.js +0 -225
  1188. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +0 -167
  1189. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +0 -82
  1190. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +0 -95
  1191. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +0 -107
  1192. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +0 -164
  1193. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +0 -189
  1194. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +0 -181
  1195. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +0 -98
  1196. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +0 -95
  1197. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +0 -82
  1198. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +0 -98
  1199. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +0 -98
  1200. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +0 -95
  1201. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +0 -205
  1202. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +0 -159
  1203. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +0 -119
  1204. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +0 -121
  1205. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +0 -211
  1206. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +0 -203
  1207. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +0 -112
  1208. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +0 -150
  1209. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +0 -82
  1210. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +0 -95
  1211. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +0 -95
  1212. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHyperlinkElementUtils.js +0 -205
  1213. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +0 -278
  1214. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +0 -326
  1215. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +0 -583
  1216. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +0 -108
  1217. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +0 -103
  1218. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +0 -103
  1219. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +0 -206
  1220. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +0 -103
  1221. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +0 -505
  1222. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +0 -124
  1223. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +0 -134
  1224. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +0 -82
  1225. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +0 -108
  1226. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +0 -140
  1227. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +0 -309
  1228. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +0 -111
  1229. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +0 -178
  1230. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +0 -95
  1231. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +0 -95
  1232. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +0 -134
  1233. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +0 -95
  1234. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +0 -82
  1235. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +0 -95
  1236. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +0 -204
  1237. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +0 -260
  1238. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +0 -146
  1239. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +0 -82
  1240. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +0 -125
  1241. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +0 -95
  1242. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +0 -245
  1243. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +0 -161
  1244. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableDataCellElement.js +0 -95
  1245. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +0 -357
  1246. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableHeaderCellElement.js +0 -121
  1247. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +0 -202
  1248. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +0 -173
  1249. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +0 -90
  1250. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +0 -415
  1251. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +0 -95
  1252. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +0 -94
  1253. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +0 -193
  1254. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +0 -111
  1255. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +0 -82
  1256. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +0 -138
  1257. data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +0 -113
  1258. data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +0 -38
  1259. data/node_modules/jsdom/lib/jsdom/living/generated/History.js +0 -179
  1260. data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +0 -269
  1261. data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +0 -90
  1262. data/node_modules/jsdom/lib/jsdom/living/generated/LinkStyle.js +0 -85
  1263. data/node_modules/jsdom/lib/jsdom/living/generated/Location.js +0 -227
  1264. data/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +0 -164
  1265. data/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +0 -56
  1266. data/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +0 -234
  1267. data/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +0 -82
  1268. data/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +0 -96
  1269. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorConcurrentHardware.js +0 -85
  1270. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorCookies.js +0 -85
  1271. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorID.js +0 -149
  1272. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorLanguage.js +0 -93
  1273. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorOnLine.js +0 -85
  1274. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorPlugins.js +0 -88
  1275. data/node_modules/jsdom/lib/jsdom/living/generated/Node.js +0 -512
  1276. data/node_modules/jsdom/lib/jsdom/living/generated/NonDocumentTypeChildNode.js +0 -93
  1277. data/node_modules/jsdom/lib/jsdom/living/generated/NonElementParentNode.js +0 -92
  1278. data/node_modules/jsdom/lib/jsdom/living/generated/ParentNode.js +0 -139
  1279. data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +0 -105
  1280. data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +0 -32
  1281. data/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +0 -90
  1282. data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +0 -122
  1283. data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +0 -50
  1284. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +0 -42
  1285. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +0 -32
  1286. data/node_modules/jsdom/lib/jsdom/living/generated/Text.js +0 -107
  1287. data/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +0 -138
  1288. data/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +0 -189
  1289. data/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +0 -134
  1290. data/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +0 -42
  1291. data/node_modules/jsdom/lib/jsdom/living/generated/Window.js +0 -1
  1292. data/node_modules/jsdom/lib/jsdom/living/generated/WindowEventHandlers.js +0 -242
  1293. data/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +0 -82
  1294. data/node_modules/jsdom/lib/jsdom/living/generated/utils.js +0 -40
  1295. data/node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js +0 -53
  1296. data/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +0 -74
  1297. data/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +0 -43
  1298. data/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +0 -13
  1299. data/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set-parser.js +0 -5
  1300. data/node_modules/jsdom/lib/jsdom/living/helpers/proxied-window-event-handlers.js +0 -11
  1301. data/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +0 -68
  1302. data/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +0 -30
  1303. data/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +0 -78
  1304. data/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +0 -51
  1305. data/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +0 -62
  1306. data/node_modules/jsdom/lib/jsdom/living/html-collection.js +0 -109
  1307. data/node_modules/jsdom/lib/jsdom/living/index.js +0 -57
  1308. data/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +0 -139
  1309. data/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +0 -24
  1310. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +0 -8
  1311. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +0 -7
  1312. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +0 -37
  1313. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +0 -9
  1314. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +0 -7
  1315. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +0 -7
  1316. data/node_modules/jsdom/lib/jsdom/living/node-document-position.js +0 -10
  1317. data/node_modules/jsdom/lib/jsdom/living/node-filter.js +0 -47
  1318. data/node_modules/jsdom/lib/jsdom/living/node-iterator.js +0 -232
  1319. data/node_modules/jsdom/lib/jsdom/living/node-list.js +0 -85
  1320. data/node_modules/jsdom/lib/jsdom/living/node-type.js +0 -16
  1321. data/node_modules/jsdom/lib/jsdom/living/node.js +0 -189
  1322. data/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +0 -78
  1323. data/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +0 -15
  1324. data/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +0 -17
  1325. data/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +0 -176
  1326. data/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +0 -777
  1327. data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +0 -21
  1328. data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +0 -26
  1329. data/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +0 -491
  1330. data/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +0 -7
  1331. data/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +0 -7
  1332. data/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +0 -7
  1333. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +0 -25
  1334. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAppletElement-impl.js +0 -26
  1335. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +0 -18
  1336. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +0 -9
  1337. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +0 -9
  1338. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +0 -27
  1339. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +0 -30
  1340. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +0 -58
  1341. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +0 -134
  1342. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +0 -9
  1343. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +0 -9
  1344. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +0 -9
  1345. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +0 -9
  1346. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +0 -9
  1347. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +0 -9
  1348. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +0 -144
  1349. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +0 -18
  1350. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +0 -14
  1351. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +0 -9
  1352. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +0 -125
  1353. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +0 -181
  1354. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +0 -9
  1355. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +0 -9
  1356. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +0 -9
  1357. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +0 -9
  1358. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +0 -9
  1359. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +0 -275
  1360. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +0 -9
  1361. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +0 -93
  1362. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +0 -396
  1363. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +0 -9
  1364. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +0 -72
  1365. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +0 -14
  1366. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +0 -76
  1367. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +0 -13
  1368. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +0 -140
  1369. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +0 -9
  1370. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +0 -9
  1371. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +0 -9
  1372. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +0 -9
  1373. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +0 -9
  1374. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +0 -35
  1375. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +0 -9
  1376. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +0 -122
  1377. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +0 -9
  1378. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +0 -9
  1379. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +0 -9
  1380. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +0 -9
  1381. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +0 -9
  1382. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +0 -9
  1383. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +0 -139
  1384. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +0 -174
  1385. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +0 -18
  1386. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +0 -9
  1387. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +0 -33
  1388. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +0 -9
  1389. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +0 -56
  1390. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +0 -9
  1391. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableDataCellElement-impl.js +0 -9
  1392. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +0 -148
  1393. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableHeaderCellElement-impl.js +0 -9
  1394. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +0 -70
  1395. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +0 -54
  1396. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +0 -33
  1397. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +0 -184
  1398. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +0 -9
  1399. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +0 -18
  1400. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +0 -21
  1401. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +0 -9
  1402. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +0 -9
  1403. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +0 -26
  1404. data/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +0 -16
  1405. data/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +0 -475
  1406. data/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +0 -28
  1407. data/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +0 -9
  1408. data/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +0 -91
  1409. data/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +0 -22
  1410. data/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +0 -48
  1411. data/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +0 -9
  1412. data/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +0 -4
  1413. data/node_modules/jsdom/lib/jsdom/living/post-message.js +0 -36
  1414. data/node_modules/jsdom/lib/jsdom/living/register-elements.js +0 -306
  1415. data/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +0 -257
  1416. data/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +0 -145
  1417. data/node_modules/jsdom/lib/jsdom/living/window/History.idl +0 -12
  1418. data/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +0 -235
  1419. data/node_modules/jsdom/lib/jsdom/living/window/navigation.js +0 -103
  1420. data/node_modules/jsdom/lib/jsdom/living/xhr-sync-worker.js +0 -50
  1421. data/node_modules/jsdom/lib/jsdom/living/xhr-utils.js +0 -327
  1422. data/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +0 -182
  1423. data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-event-target.js +0 -23
  1424. data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-symbols.js +0 -4
  1425. data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-upload.js +0 -17
  1426. data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js +0 -1016
  1427. data/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +0 -156
  1428. data/node_modules/jsdom/lib/jsdom/utils.js +0 -242
  1429. data/node_modules/jsdom/lib/jsdom/virtual-console.js +0 -34
  1430. data/node_modules/jsdom/lib/jsdom/vm-shim.js +0 -106
  1431. data/node_modules/jsdom/lib/jsdom/web-idl/DOMException.js +0 -41
  1432. data/node_modules/jsdom/lib/jsdom/web-idl/dom-exception-table.json +0 -134
  1433. data/node_modules/jsdom/node_modules/request/CHANGELOG.md +0 -662
  1434. data/node_modules/jsdom/node_modules/request/LICENSE +0 -55
  1435. data/node_modules/jsdom/node_modules/request/README.md +0 -1098
  1436. data/node_modules/jsdom/node_modules/request/index.js +0 -156
  1437. data/node_modules/jsdom/node_modules/request/lib/auth.js +0 -168
  1438. data/node_modules/jsdom/node_modules/request/lib/cookies.js +0 -39
  1439. data/node_modules/jsdom/node_modules/request/lib/getProxyFromURI.js +0 -79
  1440. data/node_modules/jsdom/node_modules/request/lib/har.js +0 -215
  1441. data/node_modules/jsdom/node_modules/request/lib/helpers.js +0 -65
  1442. data/node_modules/jsdom/node_modules/request/lib/multipart.js +0 -112
  1443. data/node_modules/jsdom/node_modules/request/lib/oauth.js +0 -147
  1444. data/node_modules/jsdom/node_modules/request/lib/querystring.js +0 -51
  1445. data/node_modules/jsdom/node_modules/request/lib/redirect.js +0 -157
  1446. data/node_modules/jsdom/node_modules/request/lib/tunnel.js +0 -176
  1447. data/node_modules/jsdom/node_modules/request/package.json +0 -163
  1448. data/node_modules/jsdom/node_modules/request/request.js +0 -1475
  1449. data/node_modules/jsdom/package.json +0 -184
  1450. data/node_modules/json-schema/README.md +0 -5
  1451. data/node_modules/json-schema/draft-00/hyper-schema +0 -68
  1452. data/node_modules/json-schema/draft-00/json-ref +0 -26
  1453. data/node_modules/json-schema/draft-00/links +0 -33
  1454. data/node_modules/json-schema/draft-00/schema +0 -155
  1455. data/node_modules/json-schema/draft-01/hyper-schema +0 -68
  1456. data/node_modules/json-schema/draft-01/json-ref +0 -26
  1457. data/node_modules/json-schema/draft-01/links +0 -33
  1458. data/node_modules/json-schema/draft-01/schema +0 -155
  1459. data/node_modules/json-schema/draft-02/hyper-schema +0 -68
  1460. data/node_modules/json-schema/draft-02/json-ref +0 -26
  1461. data/node_modules/json-schema/draft-02/links +0 -35
  1462. data/node_modules/json-schema/draft-02/schema +0 -166
  1463. data/node_modules/json-schema/draft-03/examples/address +0 -20
  1464. data/node_modules/json-schema/draft-03/examples/calendar +0 -53
  1465. data/node_modules/json-schema/draft-03/examples/card +0 -105
  1466. data/node_modules/json-schema/draft-03/examples/geo +0 -8
  1467. data/node_modules/json-schema/draft-03/examples/interfaces +0 -23
  1468. data/node_modules/json-schema/draft-03/hyper-schema +0 -60
  1469. data/node_modules/json-schema/draft-03/json-ref +0 -26
  1470. data/node_modules/json-schema/draft-03/links +0 -35
  1471. data/node_modules/json-schema/draft-03/schema +0 -174
  1472. data/node_modules/json-schema/draft-04/hyper-schema +0 -60
  1473. data/node_modules/json-schema/draft-04/links +0 -41
  1474. data/node_modules/json-schema/draft-04/schema +0 -189
  1475. data/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
  1476. data/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
  1477. data/node_modules/json-schema/lib/links.js +0 -66
  1478. data/node_modules/json-schema/lib/validate.js +0 -273
  1479. data/node_modules/json-schema/package.json +0 -100
  1480. data/node_modules/json-schema/test/tests.js +0 -95
  1481. data/node_modules/json-stringify-safe/.npmignore +0 -1
  1482. data/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  1483. data/node_modules/json-stringify-safe/LICENSE +0 -15
  1484. data/node_modules/json-stringify-safe/Makefile +0 -35
  1485. data/node_modules/json-stringify-safe/README.md +0 -52
  1486. data/node_modules/json-stringify-safe/package.json +0 -102
  1487. data/node_modules/json-stringify-safe/stringify.js +0 -27
  1488. data/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  1489. data/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  1490. data/node_modules/jsonpointer/.travis.yml +0 -7
  1491. data/node_modules/jsonpointer/LICENSE.md +0 -21
  1492. data/node_modules/jsonpointer/README.md +0 -39
  1493. data/node_modules/jsonpointer/benchmark.js +0 -56
  1494. data/node_modules/jsonpointer/jsonpointer.js +0 -93
  1495. data/node_modules/jsonpointer/package.json +0 -109
  1496. data/node_modules/jsonpointer/test.js +0 -131
  1497. data/node_modules/jsprim/CHANGES.md +0 -39
  1498. data/node_modules/jsprim/LICENSE +0 -19
  1499. data/node_modules/jsprim/README.md +0 -237
  1500. data/node_modules/jsprim/lib/jsprim.js +0 -488
  1501. data/node_modules/jsprim/package.json +0 -85
  1502. data/node_modules/levn/LICENSE +0 -22
  1503. data/node_modules/levn/README.md +0 -196
  1504. data/node_modules/levn/lib/cast.js +0 -298
  1505. data/node_modules/levn/lib/coerce.js +0 -285
  1506. data/node_modules/levn/lib/index.js +0 -22
  1507. data/node_modules/levn/lib/parse-string.js +0 -113
  1508. data/node_modules/levn/lib/parse.js +0 -102
  1509. data/node_modules/levn/package.json +0 -108
  1510. data/node_modules/mime-db/HISTORY.md +0 -375
  1511. data/node_modules/mime-db/LICENSE +0 -22
  1512. data/node_modules/mime-db/README.md +0 -82
  1513. data/node_modules/mime-db/db.json +0 -6712
  1514. data/node_modules/mime-db/index.js +0 -11
  1515. data/node_modules/mime-db/package.json +0 -137
  1516. data/node_modules/mime-types/HISTORY.md +0 -210
  1517. data/node_modules/mime-types/LICENSE +0 -23
  1518. data/node_modules/mime-types/README.md +0 -103
  1519. data/node_modules/mime-types/index.js +0 -188
  1520. data/node_modules/mime-types/package.json +0 -127
  1521. data/node_modules/nwmatcher/LICENSE +0 -22
  1522. data/node_modules/nwmatcher/README.md +0 -107
  1523. data/node_modules/nwmatcher/package.json +0 -99
  1524. data/node_modules/nwmatcher/src/modules/nwmatcher-cache.js +0 -187
  1525. data/node_modules/nwmatcher/src/modules/nwmatcher-jquery.js +0 -126
  1526. data/node_modules/nwmatcher/src/modules/nwmatcher-pseudos.js +0 -273
  1527. data/node_modules/nwmatcher/src/modules/nwmatcher-shortcuts.js +0 -35
  1528. data/node_modules/nwmatcher/src/modules/nwmatcher-traversal.js +0 -90
  1529. data/node_modules/nwmatcher/src/modules/nwmatcher-webforms.js +0 -104
  1530. data/node_modules/nwmatcher/src/nwmatcher-base.js +0 -785
  1531. data/node_modules/nwmatcher/src/nwmatcher-noqsa.js +0 -962
  1532. data/node_modules/nwmatcher/src/nwmatcher.js +0 -1780
  1533. data/node_modules/oauth-sign/LICENSE +0 -55
  1534. data/node_modules/oauth-sign/README.md +0 -4
  1535. data/node_modules/oauth-sign/index.js +0 -136
  1536. data/node_modules/oauth-sign/package.json +0 -98
  1537. data/node_modules/optionator/CHANGELOG.md +0 -52
  1538. data/node_modules/optionator/LICENSE +0 -22
  1539. data/node_modules/optionator/README.md +0 -236
  1540. data/node_modules/optionator/lib/help.js +0 -247
  1541. data/node_modules/optionator/lib/index.js +0 -465
  1542. data/node_modules/optionator/lib/util.js +0 -54
  1543. data/node_modules/optionator/package.json +0 -109
  1544. data/node_modules/parse5/CHANGELOG.md +0 -69
  1545. data/node_modules/parse5/LICENSE +0 -19
  1546. data/node_modules/parse5/README.md +0 -247
  1547. data/node_modules/parse5/docs/build/index.md +0 -963
  1548. data/node_modules/parse5/index.js +0 -12
  1549. data/node_modules/parse5/lib/common/doctype.js +0 -134
  1550. data/node_modules/parse5/lib/common/foreign_content.js +0 -257
  1551. data/node_modules/parse5/lib/common/html.js +0 -268
  1552. data/node_modules/parse5/lib/common/unicode.js +0 -48
  1553. data/node_modules/parse5/lib/common/utils.js +0 -13
  1554. data/node_modules/parse5/lib/jsdom/jsdom_parser.js +0 -39
  1555. data/node_modules/parse5/lib/jsdom/parsing_unit.js +0 -53
  1556. data/node_modules/parse5/lib/serialization/serializer.js +0 -178
  1557. data/node_modules/parse5/lib/simple_api/simple_api_parser.js +0 -107
  1558. data/node_modules/parse5/lib/simple_api/tokenizer_proxy.js +0 -122
  1559. data/node_modules/parse5/lib/tokenization/location_info_mixin.js +0 -80
  1560. data/node_modules/parse5/lib/tokenization/named_entity_trie.js +0 -6
  1561. data/node_modules/parse5/lib/tokenization/preprocessor.js +0 -115
  1562. data/node_modules/parse5/lib/tokenization/tokenizer.js +0 -2317
  1563. data/node_modules/parse5/lib/tree_adapters/default.js +0 -200
  1564. data/node_modules/parse5/lib/tree_adapters/htmlparser2.js +0 -317
  1565. data/node_modules/parse5/lib/tree_construction/formatting_element_list.js +0 -167
  1566. data/node_modules/parse5/lib/tree_construction/location_info_mixin.js +0 -197
  1567. data/node_modules/parse5/lib/tree_construction/open_element_stack.js +0 -379
  1568. data/node_modules/parse5/lib/tree_construction/parser.js +0 -2827
  1569. data/node_modules/parse5/package.json +0 -125
  1570. data/node_modules/pinkie-promise/index.js +0 -3
  1571. data/node_modules/pinkie-promise/license +0 -21
  1572. data/node_modules/pinkie-promise/package.json +0 -102
  1573. data/node_modules/pinkie-promise/readme.md +0 -28
  1574. data/node_modules/pinkie/index.js +0 -292
  1575. data/node_modules/pinkie/license +0 -21
  1576. data/node_modules/pinkie/package.json +0 -100
  1577. data/node_modules/pinkie/readme.md +0 -83
  1578. data/node_modules/prelude-ls/CHANGELOG.md +0 -99
  1579. data/node_modules/prelude-ls/LICENSE +0 -22
  1580. data/node_modules/prelude-ls/README.md +0 -15
  1581. data/node_modules/prelude-ls/lib/Func.js +0 -65
  1582. data/node_modules/prelude-ls/lib/List.js +0 -686
  1583. data/node_modules/prelude-ls/lib/Num.js +0 -130
  1584. data/node_modules/prelude-ls/lib/Obj.js +0 -154
  1585. data/node_modules/prelude-ls/lib/Str.js +0 -92
  1586. data/node_modules/prelude-ls/lib/index.js +0 -178
  1587. data/node_modules/prelude-ls/package.json +0 -116
  1588. data/node_modules/punycode/LICENSE-MIT.txt +0 -20
  1589. data/node_modules/punycode/README.md +0 -176
  1590. data/node_modules/punycode/package.json +0 -127
  1591. data/node_modules/punycode/punycode.js +0 -533
  1592. data/node_modules/qs/.eslintignore +0 -1
  1593. data/node_modules/qs/.eslintrc +0 -19
  1594. data/node_modules/qs/CHANGELOG.md +0 -144
  1595. data/node_modules/qs/CONTRIBUTING.md +0 -1
  1596. data/node_modules/qs/LICENSE +0 -28
  1597. data/node_modules/qs/README.md +0 -398
  1598. data/node_modules/qs/dist/qs.js +0 -574
  1599. data/node_modules/qs/lib/formats.js +0 -18
  1600. data/node_modules/qs/lib/index.js +0 -11
  1601. data/node_modules/qs/lib/parse.js +0 -166
  1602. data/node_modules/qs/lib/stringify.js +0 -187
  1603. data/node_modules/qs/lib/utils.js +0 -180
  1604. data/node_modules/qs/package.json +0 -121
  1605. data/node_modules/qs/test/.eslintrc +0 -9
  1606. data/node_modules/qs/test/index.js +0 -7
  1607. data/node_modules/qs/test/parse.js +0 -459
  1608. data/node_modules/qs/test/stringify.js +0 -538
  1609. data/node_modules/qs/test/utils.js +0 -22
  1610. data/node_modules/sax/LICENSE +0 -41
  1611. data/node_modules/sax/LICENSE-W3C.html +0 -188
  1612. data/node_modules/sax/README.md +0 -225
  1613. data/node_modules/sax/lib/sax.js +0 -1576
  1614. data/node_modules/sax/package.json +0 -133
  1615. data/node_modules/sntp/.npmignore +0 -18
  1616. data/node_modules/sntp/.travis.yml +0 -5
  1617. data/node_modules/sntp/LICENSE +0 -28
  1618. data/node_modules/sntp/Makefile +0 -9
  1619. data/node_modules/sntp/README.md +0 -68
  1620. data/node_modules/sntp/examples/offset.js +0 -16
  1621. data/node_modules/sntp/examples/time.js +0 -25
  1622. data/node_modules/sntp/index.js +0 -1
  1623. data/node_modules/sntp/lib/index.js +0 -412
  1624. data/node_modules/sntp/package.json +0 -98
  1625. data/node_modules/sntp/test/index.js +0 -435
  1626. data/node_modules/source-map/.npmignore +0 -2
  1627. data/node_modules/source-map/.travis.yml +0 -4
  1628. data/node_modules/source-map/CHANGELOG.md +0 -201
  1629. data/node_modules/source-map/LICENSE +0 -28
  1630. data/node_modules/source-map/Makefile.dryice.js +0 -166
  1631. data/node_modules/source-map/README.md +0 -479
  1632. data/node_modules/source-map/build/assert-shim.js +0 -56
  1633. data/node_modules/source-map/build/mini-require.js +0 -152
  1634. data/node_modules/source-map/build/prefix-source-map.jsm +0 -20
  1635. data/node_modules/source-map/build/prefix-utils.jsm +0 -18
  1636. data/node_modules/source-map/build/suffix-browser.js +0 -8
  1637. data/node_modules/source-map/build/suffix-source-map.jsm +0 -6
  1638. data/node_modules/source-map/build/suffix-utils.jsm +0 -21
  1639. data/node_modules/source-map/build/test-prefix.js +0 -8
  1640. data/node_modules/source-map/build/test-suffix.js +0 -3
  1641. data/node_modules/source-map/lib/source-map.js +0 -8
  1642. data/node_modules/source-map/lib/source-map/array-set.js +0 -97
  1643. data/node_modules/source-map/lib/source-map/base64-vlq.js +0 -142
  1644. data/node_modules/source-map/lib/source-map/base64.js +0 -42
  1645. data/node_modules/source-map/lib/source-map/basic-source-map-consumer.js +0 -420
  1646. data/node_modules/source-map/lib/source-map/binary-search.js +0 -80
  1647. data/node_modules/source-map/lib/source-map/indexed-source-map-consumer.js +0 -303
  1648. data/node_modules/source-map/lib/source-map/mapping-list.js +0 -86
  1649. data/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -222
  1650. data/node_modules/source-map/lib/source-map/source-map-generator.js +0 -400
  1651. data/node_modules/source-map/lib/source-map/source-node.js +0 -414
  1652. data/node_modules/source-map/lib/source-map/util.js +0 -319
  1653. data/node_modules/source-map/package.json +0 -223
  1654. data/node_modules/source-map/test/run-tests.js +0 -62
  1655. data/node_modules/source-map/test/source-map/test-api.js +0 -26
  1656. data/node_modules/source-map/test/source-map/test-array-set.js +0 -104
  1657. data/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -23
  1658. data/node_modules/source-map/test/source-map/test-base64.js +0 -35
  1659. data/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
  1660. data/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -84
  1661. data/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -874
  1662. data/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -679
  1663. data/node_modules/source-map/test/source-map/test-source-node.js +0 -612
  1664. data/node_modules/source-map/test/source-map/test-util.js +0 -216
  1665. data/node_modules/source-map/test/source-map/util.js +0 -299
  1666. data/node_modules/sshpk/.npmignore +0 -9
  1667. data/node_modules/sshpk/.travis.yml +0 -11
  1668. data/node_modules/sshpk/LICENSE +0 -18
  1669. data/node_modules/sshpk/README.md +0 -666
  1670. data/node_modules/sshpk/bin/sshpk-conv +0 -201
  1671. data/node_modules/sshpk/bin/sshpk-sign +0 -191
  1672. data/node_modules/sshpk/bin/sshpk-verify +0 -166
  1673. data/node_modules/sshpk/lib/algs.js +0 -168
  1674. data/node_modules/sshpk/lib/certificate.js +0 -291
  1675. data/node_modules/sshpk/lib/dhe.js +0 -311
  1676. data/node_modules/sshpk/lib/ed-compat.js +0 -96
  1677. data/node_modules/sshpk/lib/errors.js +0 -84
  1678. data/node_modules/sshpk/lib/fingerprint.js +0 -161
  1679. data/node_modules/sshpk/lib/formats/auto.js +0 -73
  1680. data/node_modules/sshpk/lib/formats/openssh-cert.js +0 -289
  1681. data/node_modules/sshpk/lib/formats/pem.js +0 -186
  1682. data/node_modules/sshpk/lib/formats/pkcs1.js +0 -320
  1683. data/node_modules/sshpk/lib/formats/pkcs8.js +0 -505
  1684. data/node_modules/sshpk/lib/formats/rfc4253.js +0 -146
  1685. data/node_modules/sshpk/lib/formats/ssh-private.js +0 -261
  1686. data/node_modules/sshpk/lib/formats/ssh.js +0 -114
  1687. data/node_modules/sshpk/lib/formats/x509-pem.js +0 -77
  1688. data/node_modules/sshpk/lib/formats/x509.js +0 -484
  1689. data/node_modules/sshpk/lib/identity.js +0 -255
  1690. data/node_modules/sshpk/lib/index.js +0 -38
  1691. data/node_modules/sshpk/lib/key.js +0 -270
  1692. data/node_modules/sshpk/lib/private-key.js +0 -231
  1693. data/node_modules/sshpk/lib/signature.js +0 -245
  1694. data/node_modules/sshpk/lib/ssh-buffer.js +0 -148
  1695. data/node_modules/sshpk/lib/utils.js +0 -288
  1696. data/node_modules/sshpk/man/man1/sshpk-conv.1 +0 -135
  1697. data/node_modules/sshpk/man/man1/sshpk-sign.1 +0 -81
  1698. data/node_modules/sshpk/man/man1/sshpk-verify.1 +0 -68
  1699. data/node_modules/sshpk/node_modules/assert-plus/AUTHORS +0 -6
  1700. data/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +0 -14
  1701. data/node_modules/sshpk/node_modules/assert-plus/README.md +0 -162
  1702. data/node_modules/sshpk/node_modules/assert-plus/assert.js +0 -211
  1703. data/node_modules/sshpk/node_modules/assert-plus/package.json +0 -115
  1704. data/node_modules/sshpk/package.json +0 -135
  1705. data/node_modules/stringstream/.npmignore +0 -15
  1706. data/node_modules/stringstream/.travis.yml +0 -4
  1707. data/node_modules/stringstream/LICENSE.txt +0 -22
  1708. data/node_modules/stringstream/README.md +0 -38
  1709. data/node_modules/stringstream/example.js +0 -27
  1710. data/node_modules/stringstream/package.json +0 -85
  1711. data/node_modules/stringstream/stringstream.js +0 -102
  1712. data/node_modules/strip-ansi/index.js +0 -6
  1713. data/node_modules/strip-ansi/license +0 -21
  1714. data/node_modules/strip-ansi/package.json +0 -123
  1715. data/node_modules/strip-ansi/readme.md +0 -33
  1716. data/node_modules/supports-color/index.js +0 -50
  1717. data/node_modules/supports-color/license +0 -21
  1718. data/node_modules/supports-color/package.json +0 -113
  1719. data/node_modules/supports-color/readme.md +0 -36
  1720. data/node_modules/symbol-tree/.jscsrc +0 -55
  1721. data/node_modules/symbol-tree/.npmignore +0 -6
  1722. data/node_modules/symbol-tree/LICENSE +0 -21
  1723. data/node_modules/symbol-tree/README.md +0 -68
  1724. data/node_modules/symbol-tree/api.md +0 -441
  1725. data/node_modules/symbol-tree/lib/SymbolTree.js +0 -834
  1726. data/node_modules/symbol-tree/lib/SymbolTreeNode.js +0 -54
  1727. data/node_modules/symbol-tree/lib/TreeIterator.js +0 -69
  1728. data/node_modules/symbol-tree/lib/TreePosition.js +0 -10
  1729. data/node_modules/symbol-tree/package.json +0 -121
  1730. data/node_modules/symbol-tree/test/SymbolTree.js +0 -1189
  1731. data/node_modules/tough-cookie/LICENSE +0 -27
  1732. data/node_modules/tough-cookie/README.md +0 -506
  1733. data/node_modules/tough-cookie/lib/cookie.js +0 -1336
  1734. data/node_modules/tough-cookie/lib/memstore.js +0 -170
  1735. data/node_modules/tough-cookie/lib/pathMatch.js +0 -61
  1736. data/node_modules/tough-cookie/lib/permuteDomain.js +0 -56
  1737. data/node_modules/tough-cookie/lib/pubsuffix.js +0 -98
  1738. data/node_modules/tough-cookie/lib/store.js +0 -71
  1739. data/node_modules/tough-cookie/package.json +0 -136
  1740. data/node_modules/tr46/.npmignore +0 -4
  1741. data/node_modules/tr46/index.js +0 -193
  1742. data/node_modules/tr46/lib/.gitkeep +0 -0
  1743. data/node_modules/tr46/lib/mappingTable.json +0 -1
  1744. data/node_modules/tr46/package.json +0 -91
  1745. data/node_modules/tunnel-agent/LICENSE +0 -55
  1746. data/node_modules/tunnel-agent/README.md +0 -4
  1747. data/node_modules/tunnel-agent/index.js +0 -243
  1748. data/node_modules/tunnel-agent/package.json +0 -100
  1749. data/node_modules/tweetnacl/.npmignore +0 -4
  1750. data/node_modules/tweetnacl/CHANGELOG.md +0 -209
  1751. data/node_modules/tweetnacl/COPYING.txt +0 -9
  1752. data/node_modules/tweetnacl/ISSUE_TEMPLATE.md +0 -3
  1753. data/node_modules/tweetnacl/README.md +0 -477
  1754. data/node_modules/tweetnacl/nacl-fast.js +0 -2388
  1755. data/node_modules/tweetnacl/nacl-fast.min.js +0 -2
  1756. data/node_modules/tweetnacl/nacl.d.ts +0 -98
  1757. data/node_modules/tweetnacl/nacl.js +0 -1175
  1758. data/node_modules/tweetnacl/nacl.min.js +0 -1
  1759. data/node_modules/tweetnacl/package.json +0 -121
  1760. data/node_modules/type-check/LICENSE +0 -22
  1761. data/node_modules/type-check/README.md +0 -210
  1762. data/node_modules/type-check/lib/check.js +0 -126
  1763. data/node_modules/type-check/lib/index.js +0 -16
  1764. data/node_modules/type-check/lib/parse-type.js +0 -196
  1765. data/node_modules/type-check/package.json +0 -102
  1766. data/node_modules/type-detect/.npmignore +0 -11
  1767. data/node_modules/type-detect/History.md +0 -52
  1768. data/node_modules/type-detect/README.md +0 -226
  1769. data/node_modules/type-detect/ReleaseNotes.md +0 -46
  1770. data/node_modules/type-detect/index.js +0 -1
  1771. data/node_modules/type-detect/lib/type.js +0 -134
  1772. data/node_modules/type-detect/package.json +0 -93
  1773. data/node_modules/uuid/.npmignore +0 -8
  1774. data/node_modules/uuid/.travis.yml +0 -5
  1775. data/node_modules/uuid/AUTHORS +0 -5
  1776. data/node_modules/uuid/HISTORY.md +0 -28
  1777. data/node_modules/uuid/LICENSE.md +0 -21
  1778. data/node_modules/uuid/README.md +0 -132
  1779. data/node_modules/uuid/bin/uuid +0 -26
  1780. data/node_modules/uuid/index.js +0 -8
  1781. data/node_modules/uuid/lib/bytesToUuid.js +0 -23
  1782. data/node_modules/uuid/lib/rng-browser.js +0 -33
  1783. data/node_modules/uuid/lib/rng.js +0 -10
  1784. data/node_modules/uuid/package.json +0 -122
  1785. data/node_modules/uuid/test/mocha.opts +0 -3
  1786. data/node_modules/uuid/test/test.js +0 -96
  1787. data/node_modules/uuid/v1.js +0 -103
  1788. data/node_modules/uuid/v4.js +0 -29
  1789. data/node_modules/verror/.gitmodules +0 -0
  1790. data/node_modules/verror/.npmignore +0 -1
  1791. data/node_modules/verror/LICENSE +0 -19
  1792. data/node_modules/verror/Makefile +0 -35
  1793. data/node_modules/verror/Makefile.targ +0 -285
  1794. data/node_modules/verror/README.md +0 -120
  1795. data/node_modules/verror/examples/levels-verror.js +0 -36
  1796. data/node_modules/verror/examples/levels-werror.js +0 -34
  1797. data/node_modules/verror/examples/varargs.js +0 -6
  1798. data/node_modules/verror/examples/verror.js +0 -13
  1799. data/node_modules/verror/examples/werror.js +0 -14
  1800. data/node_modules/verror/jsl.node.conf +0 -139
  1801. data/node_modules/verror/lib/verror.js +0 -157
  1802. data/node_modules/verror/package.json +0 -78
  1803. data/node_modules/verror/tests/tst.inherit.js +0 -100
  1804. data/node_modules/verror/tests/tst.verror.js +0 -156
  1805. data/node_modules/verror/tests/tst.werror.js +0 -179
  1806. data/node_modules/webidl-conversions/LICENSE.md +0 -12
  1807. data/node_modules/webidl-conversions/README.md +0 -53
  1808. data/node_modules/webidl-conversions/lib/index.js +0 -189
  1809. data/node_modules/webidl-conversions/package.json +0 -96
  1810. data/node_modules/whatwg-encoding/LICENSE.txt +0 -19
  1811. data/node_modules/whatwg-encoding/lib/labels-to-names.json +0 -207
  1812. data/node_modules/whatwg-encoding/lib/supported-names.json +0 -37
  1813. data/node_modules/whatwg-encoding/lib/whatwg-encoding.js +0 -47
  1814. data/node_modules/whatwg-encoding/node_modules/iconv-lite/.npmignore +0 -6
  1815. data/node_modules/whatwg-encoding/node_modules/iconv-lite/.travis.yml +0 -20
  1816. data/node_modules/whatwg-encoding/node_modules/iconv-lite/Changelog.md +0 -93
  1817. data/node_modules/whatwg-encoding/node_modules/iconv-lite/LICENSE +0 -21
  1818. data/node_modules/whatwg-encoding/node_modules/iconv-lite/README.md +0 -157
  1819. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -554
  1820. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-data.js +0 -170
  1821. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/index.js +0 -22
  1822. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js +0 -187
  1823. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1824. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1825. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data.js +0 -169
  1826. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1827. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1828. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1829. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1830. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1831. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1832. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  1833. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1834. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js +0 -174
  1835. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js +0 -289
  1836. data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1837. data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/extend-node.js +0 -214
  1838. data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/index.js +0 -141
  1839. data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/streams.js +0 -120
  1840. data/node_modules/whatwg-encoding/node_modules/iconv-lite/package.json +0 -153
  1841. data/node_modules/whatwg-encoding/package.json +0 -101
  1842. data/node_modules/whatwg-url/.eslintignore +0 -3
  1843. data/node_modules/whatwg-url/LICENSE.txt +0 -21
  1844. data/node_modules/whatwg-url/README.md +0 -66
  1845. data/node_modules/whatwg-url/lib/URL-impl.js +0 -216
  1846. data/node_modules/whatwg-url/lib/URL.js +0 -209
  1847. data/node_modules/whatwg-url/lib/public-api.js +0 -11
  1848. data/node_modules/whatwg-url/lib/url-state-machine.js +0 -1173
  1849. data/node_modules/whatwg-url/lib/utils.js +0 -20
  1850. data/node_modules/whatwg-url/package.json +0 -103
  1851. data/node_modules/wordwrap/LICENSE +0 -18
  1852. data/node_modules/wordwrap/README.markdown +0 -70
  1853. data/node_modules/wordwrap/example/center.js +0 -10
  1854. data/node_modules/wordwrap/example/meat.js +0 -3
  1855. data/node_modules/wordwrap/index.js +0 -76
  1856. data/node_modules/wordwrap/package.json +0 -94
  1857. data/node_modules/wordwrap/test/break.js +0 -32
  1858. data/node_modules/wordwrap/test/idleness.txt +0 -63
  1859. data/node_modules/wordwrap/test/wrap.js +0 -33
  1860. data/node_modules/xml-name-validator/LICENSE.txt +0 -19
  1861. data/node_modules/xml-name-validator/README.md +0 -36
  1862. data/node_modules/xml-name-validator/lib/generated-parser.js +0 -504
  1863. data/node_modules/xml-name-validator/lib/grammar.pegjs +0 -35
  1864. data/node_modules/xml-name-validator/lib/xml-name-validator.js +0 -17
  1865. data/node_modules/xml-name-validator/package.json +0 -97
  1866. data/node_modules/xtend/.jshintrc +0 -30
  1867. data/node_modules/xtend/.npmignore +0 -1
  1868. data/node_modules/xtend/LICENCE +0 -19
  1869. data/node_modules/xtend/Makefile +0 -4
  1870. data/node_modules/xtend/README.md +0 -32
  1871. data/node_modules/xtend/immutable.js +0 -19
  1872. data/node_modules/xtend/mutable.js +0 -17
  1873. data/node_modules/xtend/package.json +0 -117
  1874. data/node_modules/xtend/test.js +0 -83
@@ -1,96 +0,0 @@
1
- {
2
- "_args": [
3
- [
4
- {
5
- "raw": "hoek@2.x.x",
6
- "scope": null,
7
- "escapedName": "hoek",
8
- "name": "hoek",
9
- "rawSpec": "2.x.x",
10
- "spec": ">=2.0.0 <3.0.0",
11
- "type": "range"
12
- },
13
- "/home/baldor/Ubuntu bkp/project/select_all/select_all-rails/node_modules/hawk"
14
- ]
15
- ],
16
- "_from": "hoek@>=2.0.0 <3.0.0",
17
- "_id": "hoek@2.16.3",
18
- "_inCache": true,
19
- "_location": "/hoek",
20
- "_nodeVersion": "4.1.0",
21
- "_npmUser": {
22
- "name": "nlf",
23
- "email": "quitlahok@gmail.com"
24
- },
25
- "_npmVersion": "3.3.3",
26
- "_phantomChildren": {},
27
- "_requested": {
28
- "raw": "hoek@2.x.x",
29
- "scope": null,
30
- "escapedName": "hoek",
31
- "name": "hoek",
32
- "rawSpec": "2.x.x",
33
- "spec": ">=2.0.0 <3.0.0",
34
- "type": "range"
35
- },
36
- "_requiredBy": [
37
- "/boom",
38
- "/hawk",
39
- "/sntp"
40
- ],
41
- "_resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz",
42
- "_shasum": "20bb7403d3cea398e91dc4710a8ff1b8274a25ed",
43
- "_shrinkwrap": null,
44
- "_spec": "hoek@2.x.x",
45
- "_where": "/home/baldor/Ubuntu bkp/project/select_all/select_all-rails/node_modules/hawk",
46
- "bugs": {
47
- "url": "https://github.com/hapijs/hoek/issues"
48
- },
49
- "dependencies": {},
50
- "description": "General purpose node utilities",
51
- "devDependencies": {
52
- "code": "1.x.x",
53
- "lab": "5.x.x"
54
- },
55
- "directories": {},
56
- "dist": {
57
- "shasum": "20bb7403d3cea398e91dc4710a8ff1b8274a25ed",
58
- "tarball": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz"
59
- },
60
- "engines": {
61
- "node": ">=0.10.40"
62
- },
63
- "gitHead": "20f36e85616264d4b73a64a374803175213a9121",
64
- "homepage": "https://github.com/hapijs/hoek#readme",
65
- "keywords": [
66
- "utilities"
67
- ],
68
- "license": "BSD-3-Clause",
69
- "main": "lib/index.js",
70
- "maintainers": [
71
- {
72
- "name": "hueniverse",
73
- "email": "eran@hueniverse.com"
74
- },
75
- {
76
- "name": "wyatt",
77
- "email": "wpreul@gmail.com"
78
- },
79
- {
80
- "name": "nlf",
81
- "email": "quitlahok@gmail.com"
82
- }
83
- ],
84
- "name": "hoek",
85
- "optionalDependencies": {},
86
- "readme": "ERROR: No README data found!",
87
- "repository": {
88
- "type": "git",
89
- "url": "git://github.com/hapijs/hoek.git"
90
- },
91
- "scripts": {
92
- "test": "lab -a code -t 100 -L",
93
- "test-cov-html": "lab -a code -t 100 -L -r html -o coverage.html"
94
- },
95
- "version": "2.16.3"
96
- }
@@ -1,88 +0,0 @@
1
- // Load modules
2
-
3
- var Code = require('code');
4
- var Hoek = require('../lib');
5
- var Lab = require('lab');
6
-
7
-
8
- // Declare internals
9
-
10
- var internals = {};
11
-
12
-
13
- // Test shortcuts
14
-
15
- var lab = exports.lab = Lab.script();
16
- var describe = lab.experiment;
17
- var it = lab.test;
18
- var expect = Code.expect;
19
-
20
-
21
- describe('escapeJavaScript()', function () {
22
-
23
- it('encodes / characters', function (done) {
24
-
25
- var encoded = Hoek.escapeJavaScript('<script>alert(1)</script>');
26
- expect(encoded).to.equal('\\x3cscript\\x3ealert\\x281\\x29\\x3c\\x2fscript\\x3e');
27
- done();
28
- });
29
-
30
- it('encodes \' characters', function (done) {
31
-
32
- var encoded = Hoek.escapeJavaScript('something(\'param\')');
33
- expect(encoded).to.equal('something\\x28\\x27param\\x27\\x29');
34
- done();
35
- });
36
-
37
- it('encodes large unicode characters with the correct padding', function (done) {
38
-
39
- var encoded = Hoek.escapeJavaScript(String.fromCharCode(500) + String.fromCharCode(1000));
40
- expect(encoded).to.equal('\\u0500\\u1000');
41
- done();
42
- });
43
-
44
- it('doesn\'t throw an exception when passed null', function (done) {
45
-
46
- var encoded = Hoek.escapeJavaScript(null);
47
- expect(encoded).to.equal('');
48
- done();
49
- });
50
- });
51
-
52
- describe('escapeHtml()', function () {
53
-
54
- it('encodes / characters', function (done) {
55
-
56
- var encoded = Hoek.escapeHtml('<script>alert(1)</script>');
57
- expect(encoded).to.equal('&lt;script&gt;alert&#x28;1&#x29;&lt;&#x2f;script&gt;');
58
- done();
59
- });
60
-
61
- it('encodes < and > as named characters', function (done) {
62
-
63
- var encoded = Hoek.escapeHtml('<script><>');
64
- expect(encoded).to.equal('&lt;script&gt;&lt;&gt;');
65
- done();
66
- });
67
-
68
- it('encodes large unicode characters', function (done) {
69
-
70
- var encoded = Hoek.escapeHtml(String.fromCharCode(500) + String.fromCharCode(1000));
71
- expect(encoded).to.equal('&#500;&#1000;');
72
- done();
73
- });
74
-
75
- it('doesn\'t throw an exception when passed null', function (done) {
76
-
77
- var encoded = Hoek.escapeHtml(null);
78
- expect(encoded).to.equal('');
79
- done();
80
- });
81
-
82
- it('encodes {} characters', function (done) {
83
-
84
- var encoded = Hoek.escapeHtml('{}');
85
- expect(encoded).to.equal('&#x7b;&#x7d;');
86
- done();
87
- });
88
- });
@@ -1,2513 +0,0 @@
1
- // Load modules
2
-
3
- var Fs = require('fs');
4
- var Path = require('path');
5
- var Code = require('code');
6
- var Hoek = require('../lib');
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
- var nestedObj = {
24
- v: [7, 8, 9],
25
- w: /^something$/igm,
26
- x: {
27
- a: [1, 2, 3],
28
- b: 123456,
29
- c: new Date(),
30
- d: /hi/igm,
31
- e: /hello/
32
- },
33
- y: 'y',
34
- z: new Date(1378775452757)
35
- };
36
-
37
- var dupsArray = [nestedObj, { z: 'z' }, nestedObj];
38
- var reducedDupsArray = [nestedObj, { z: 'z' }];
39
-
40
- describe('clone()', function () {
41
-
42
- it('clones a nested object', function (done) {
43
-
44
- var a = nestedObj;
45
- var b = Hoek.clone(a);
46
-
47
- expect(a).to.deep.equal(b);
48
- expect(a.z.getTime()).to.equal(b.z.getTime());
49
- done();
50
- });
51
-
52
- it('clones a null object', function (done) {
53
-
54
- var b = Hoek.clone(null);
55
-
56
- expect(b).to.equal(null);
57
- done();
58
- });
59
-
60
- it('should not convert undefined properties to null', function (done) {
61
-
62
- var obj = { something: undefined };
63
- var b = Hoek.clone(obj);
64
-
65
- expect(typeof b.something).to.equal('undefined');
66
- done();
67
- });
68
-
69
- it('should not throw on circular reference', function (done) {
70
-
71
- var a = {};
72
- a.x = a;
73
-
74
- var test = function () {
75
-
76
- var b = Hoek.clone(a);
77
- };
78
-
79
- expect(test).to.not.throw();
80
- done();
81
- });
82
-
83
- it('clones circular reference', function (done) {
84
-
85
- var x = {
86
- 'z': new Date()
87
- };
88
- x.y = x;
89
-
90
- var b = Hoek.clone(x);
91
- expect(Object.keys(b.y)).to.deep.equal(Object.keys(x));
92
- expect(b.z).to.not.equal(x.z);
93
- expect(b.y).to.not.equal(x.y);
94
- expect(b.y.z).to.not.equal(x.y.z);
95
- expect(b.y).to.equal(b);
96
- expect(b.y.y.y.y).to.equal(b);
97
- done();
98
- });
99
-
100
- it('clones an object with a null prototype', function (done) {
101
-
102
- var obj = Object.create(null);
103
- var b = Hoek.clone(obj);
104
-
105
- expect(b).to.deep.equal(obj);
106
- done();
107
- });
108
-
109
- it('clones deeply nested object', function (done) {
110
-
111
- var a = {
112
- x: {
113
- y: {
114
- a: [1, 2, 3],
115
- b: 123456,
116
- c: new Date(),
117
- d: /hi/igm,
118
- e: /hello/
119
- }
120
- }
121
- };
122
-
123
- var b = Hoek.clone(a);
124
-
125
- expect(a).to.deep.equal(b);
126
- expect(a.x.y.c.getTime()).to.equal(b.x.y.c.getTime());
127
- done();
128
- });
129
-
130
- it('clones arrays', function (done) {
131
-
132
- var a = [1, 2, 3];
133
-
134
- var b = Hoek.clone(a);
135
-
136
- expect(a).to.deep.equal(b);
137
- done();
138
- });
139
-
140
- it('performs actual copy for shallow keys (no pass by reference)', function (done) {
141
-
142
- var x = Hoek.clone(nestedObj);
143
- var y = Hoek.clone(nestedObj);
144
-
145
- // Date
146
- expect(x.z).to.not.equal(nestedObj.z);
147
- expect(x.z).to.not.equal(y.z);
148
-
149
- // Regex
150
- expect(x.w).to.not.equal(nestedObj.w);
151
- expect(x.w).to.not.equal(y.w);
152
-
153
- // Array
154
- expect(x.v).to.not.equal(nestedObj.v);
155
- expect(x.v).to.not.equal(y.v);
156
-
157
- // Immutable(s)
158
- x.y = 5;
159
- expect(x.y).to.not.equal(nestedObj.y);
160
- expect(x.y).to.not.equal(y.y);
161
-
162
- done();
163
- });
164
-
165
- it('performs actual copy for deep keys (no pass by reference)', function (done) {
166
-
167
- var x = Hoek.clone(nestedObj);
168
- var y = Hoek.clone(nestedObj);
169
-
170
- expect(x.x.c).to.not.equal(nestedObj.x.c);
171
- expect(x.x.c).to.not.equal(y.x.c);
172
-
173
- expect(x.x.c.getTime()).to.equal(nestedObj.x.c.getTime());
174
- expect(x.x.c.getTime()).to.equal(y.x.c.getTime());
175
- done();
176
- });
177
-
178
- it('copies functions with properties', function (done) {
179
-
180
- var a = {
181
- x: function () {
182
-
183
- return 1;
184
- },
185
- y: {}
186
- };
187
- a.x.z = 'string in function';
188
- a.x.v = function () {
189
-
190
- return 2;
191
- };
192
- a.y.u = a.x;
193
-
194
- var b = Hoek.clone(a);
195
- expect(b.x()).to.equal(1);
196
- expect(b.x.v()).to.equal(2);
197
- expect(b.y.u).to.equal(b.x);
198
- expect(b.x.z).to.equal('string in function');
199
- done();
200
- });
201
-
202
- it('should copy a buffer', function (done) {
203
-
204
- var tls = {
205
- key: new Buffer([1, 2, 3, 4, 5]),
206
- cert: new Buffer([1, 2, 3, 4, 5, 6, 10])
207
- };
208
-
209
- var copiedTls = Hoek.clone(tls);
210
- expect(Buffer.isBuffer(copiedTls.key)).to.equal(true);
211
- expect(JSON.stringify(copiedTls.key)).to.equal(JSON.stringify(tls.key));
212
- expect(Buffer.isBuffer(copiedTls.cert)).to.equal(true);
213
- expect(JSON.stringify(copiedTls.cert)).to.equal(JSON.stringify(tls.cert));
214
- done();
215
- });
216
-
217
- it('clones an object with a prototype', function (done) {
218
-
219
- var Obj = function () {
220
-
221
- this.a = 5;
222
- };
223
-
224
- Obj.prototype.b = function () {
225
-
226
- return 'c';
227
- };
228
-
229
- var a = new Obj();
230
- var b = Hoek.clone(a);
231
-
232
- expect(b.a).to.equal(5);
233
- expect(b.b()).to.equal('c');
234
- expect(a).to.deep.equal(b);
235
- done();
236
- });
237
-
238
- it('reuses cloned Date object', function (done) {
239
-
240
- var obj = {
241
- a: new Date()
242
- };
243
-
244
- obj.b = obj.a;
245
-
246
- var copy = Hoek.clone(obj);
247
- expect(copy.a).to.equal(copy.b);
248
- done();
249
- });
250
-
251
- it('shallow copies an object with a prototype and isImmutable flag', function (done) {
252
-
253
- var Obj = function () {
254
-
255
- this.value = 5;
256
- };
257
-
258
- Obj.prototype.b = function () {
259
-
260
- return 'c';
261
- };
262
-
263
- Obj.prototype.isImmutable = true;
264
-
265
- var obj = {
266
- a: new Obj()
267
- };
268
-
269
- var copy = Hoek.clone(obj);
270
-
271
- expect(obj.a.value).to.equal(5);
272
- expect(copy.a.value).to.equal(5);
273
- expect(copy.a.b()).to.equal('c');
274
- expect(obj.a).to.equal(copy.a);
275
- done();
276
- });
277
-
278
- it('clones an object with property getter without executing it', function (done) {
279
-
280
- var obj = {};
281
- var value = 1;
282
- var execCount = 0;
283
-
284
- Object.defineProperty(obj, 'test', {
285
- enumerable: true,
286
- configurable: true,
287
- get: function () {
288
-
289
- ++execCount;
290
- return value;
291
- }
292
- });
293
-
294
- var copy = Hoek.clone(obj);
295
- expect(execCount).to.equal(0);
296
- expect(copy.test).to.equal(1);
297
- expect(execCount).to.equal(1);
298
- done();
299
- });
300
-
301
- it('clones an object with property getter and setter', function (done) {
302
-
303
- var obj = {
304
- _test: 0
305
- };
306
-
307
- Object.defineProperty(obj, 'test', {
308
- enumerable: true,
309
- configurable: true,
310
- get: function () {
311
-
312
- return this._test;
313
- },
314
- set: function (value) {
315
-
316
- this._test = value - 1;
317
- }
318
- });
319
-
320
- var copy = Hoek.clone(obj);
321
- expect(copy.test).to.equal(0);
322
- copy.test = 5;
323
- expect(copy.test).to.equal(4);
324
- done();
325
- });
326
-
327
- it('clones an object with only property setter', function (done) {
328
-
329
- var obj = {
330
- _test: 0
331
- };
332
-
333
- Object.defineProperty(obj, 'test', {
334
- enumerable: true,
335
- configurable: true,
336
- set: function (value) {
337
-
338
- this._test = value - 1;
339
- }
340
- });
341
-
342
- var copy = Hoek.clone(obj);
343
- expect(copy._test).to.equal(0);
344
- copy.test = 5;
345
- expect(copy._test).to.equal(4);
346
- done();
347
- });
348
-
349
- it('clones an object with non-enumerable properties', function (done) {
350
-
351
- var obj = {
352
- _test: 0
353
- };
354
-
355
- Object.defineProperty(obj, 'test', {
356
- enumerable: false,
357
- configurable: true,
358
- set: function (value) {
359
-
360
- this._test = value - 1;
361
- }
362
- });
363
-
364
- var copy = Hoek.clone(obj);
365
- expect(copy._test).to.equal(0);
366
- copy.test = 5;
367
- expect(copy._test).to.equal(4);
368
- done();
369
- });
370
-
371
- it('clones an object where getOwnPropertyDescriptor returns undefined', function (done) {
372
-
373
- var oldGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
374
- var obj = { a: 'b' };
375
- Object.getOwnPropertyDescriptor = function () {
376
-
377
- return undefined;
378
- };
379
-
380
- var copy = Hoek.clone(obj);
381
- Object.getOwnPropertyDescriptor = oldGetOwnPropertyDescriptor;
382
- expect(copy).to.deep.equal(obj);
383
- done();
384
- });
385
- });
386
-
387
- describe('merge()', function () {
388
-
389
- it('deep copies source items', function (done) {
390
-
391
- var target = {
392
- b: 3,
393
- d: []
394
- };
395
-
396
- var source = {
397
- c: {
398
- d: 1
399
- },
400
- d: [{ e: 1 }]
401
- };
402
-
403
- Hoek.merge(target, source);
404
- expect(target.c).to.not.equal(source.c);
405
- expect(target.c).to.deep.equal(source.c);
406
- expect(target.d).to.not.equal(source.d);
407
- expect(target.d[0]).to.not.equal(source.d[0]);
408
- expect(target.d).to.deep.equal(source.d);
409
- done();
410
- });
411
-
412
- it('merges array over an object', function (done) {
413
-
414
- var a = {
415
- x: ['n', 'm']
416
- };
417
-
418
- var b = {
419
- x: {
420
- n: '1',
421
- m: '2'
422
- }
423
- };
424
-
425
- Hoek.merge(b, a);
426
- expect(a.x[0]).to.equal('n');
427
- expect(a.x.n).to.not.exist();
428
- done();
429
- });
430
-
431
- it('merges object over an array', function (done) {
432
-
433
- var a = {
434
- x: ['n', 'm']
435
- };
436
-
437
- var b = {
438
- x: {
439
- n: '1',
440
- m: '2'
441
- }
442
- };
443
-
444
- Hoek.merge(a, b);
445
- expect(a.x.n).to.equal('1');
446
- expect(a.x[0]).to.not.exist();
447
- done();
448
- });
449
-
450
- it('does not throw if source is null', function (done) {
451
-
452
- var a = {};
453
- var b = null;
454
- var c = null;
455
-
456
- expect(function () {
457
-
458
- c = Hoek.merge(a, b);
459
- }).to.not.throw();
460
-
461
- expect(c).to.equal(a);
462
- done();
463
- });
464
-
465
- it('does not throw if source is undefined', function (done) {
466
-
467
- var a = {};
468
- var b;
469
- var c = null;
470
-
471
- expect(function () {
472
-
473
- c = Hoek.merge(a, b);
474
- }).to.not.throw();
475
-
476
- expect(c).to.equal(a);
477
- done();
478
- });
479
-
480
- it('throws if source is not an object', function (done) {
481
-
482
- expect(function () {
483
-
484
- var a = {};
485
- var b = 0;
486
-
487
- Hoek.merge(a, b);
488
- }).to.throw('Invalid source value: must be null, undefined, or an object');
489
- done();
490
- });
491
-
492
- it('throws if target is not an object', function (done) {
493
-
494
- expect(function () {
495
-
496
- var a = 0;
497
- var b = {};
498
-
499
- Hoek.merge(a, b);
500
- }).to.throw('Invalid target value: must be an object');
501
- done();
502
- });
503
-
504
- it('throws if target is not an array and source is', function (done) {
505
-
506
- expect(function () {
507
-
508
- var a = {};
509
- var b = [1, 2];
510
-
511
- Hoek.merge(a, b);
512
- }).to.throw('Cannot merge array onto an object');
513
- done();
514
- });
515
-
516
- it('returns the same object when merging arrays', function (done) {
517
-
518
- var a = [];
519
- var b = [1, 2];
520
-
521
- expect(Hoek.merge(a, b)).to.equal(a);
522
- done();
523
- });
524
-
525
- it('combines an empty object with a non-empty object', function (done) {
526
-
527
- var a = {};
528
- var b = nestedObj;
529
-
530
- var c = Hoek.merge(a, b);
531
- expect(a).to.deep.equal(b);
532
- expect(c).to.deep.equal(b);
533
- done();
534
- });
535
-
536
- it('overrides values in target', function (done) {
537
-
538
- var a = { x: 1, y: 2, z: 3, v: 5, t: 'test', m: 'abc' };
539
- var b = { x: null, z: 4, v: 0, t: { u: 6 }, m: '123' };
540
-
541
- var c = Hoek.merge(a, b);
542
- expect(c.x).to.equal(null);
543
- expect(c.y).to.equal(2);
544
- expect(c.z).to.equal(4);
545
- expect(c.v).to.equal(0);
546
- expect(c.m).to.equal('123');
547
- expect(c.t).to.deep.equal({ u: 6 });
548
- done();
549
- });
550
-
551
- it('overrides values in target (flip)', function (done) {
552
-
553
- var a = { x: 1, y: 2, z: 3, v: 5, t: 'test', m: 'abc' };
554
- var b = { x: null, z: 4, v: 0, t: { u: 6 }, m: '123' };
555
-
556
- var d = Hoek.merge(b, a);
557
- expect(d.x).to.equal(1);
558
- expect(d.y).to.equal(2);
559
- expect(d.z).to.equal(3);
560
- expect(d.v).to.equal(5);
561
- expect(d.m).to.equal('abc');
562
- expect(d.t).to.deep.equal('test');
563
- done();
564
- });
565
-
566
- it('retains Date properties', function (done) {
567
-
568
- var a = { x: new Date(1378776452757) };
569
-
570
- var b = Hoek.merge({}, a);
571
- expect(a.x.getTime()).to.equal(b.x.getTime());
572
- done();
573
- });
574
-
575
- it('retains Date properties when merging keys', function (done) {
576
-
577
- var a = { x: new Date(1378776452757) };
578
-
579
- var b = Hoek.merge({ x: {} }, a);
580
- expect(a.x.getTime()).to.equal(b.x.getTime());
581
- done();
582
- });
583
-
584
- it('overrides Buffer', function (done) {
585
-
586
- var a = { x: new Buffer('abc') };
587
-
588
- var b = Hoek.merge({ x: {} }, a);
589
- expect(a.x.toString()).to.equal('abc');
590
- done();
591
- });
592
- });
593
-
594
- describe('applyToDefaults()', function () {
595
-
596
- var defaults = {
597
- a: 1,
598
- b: 2,
599
- c: {
600
- d: 3,
601
- e: [5, 6]
602
- },
603
- f: 6,
604
- g: 'test'
605
- };
606
-
607
- it('throws when target is null', function (done) {
608
-
609
- expect(function () {
610
-
611
- Hoek.applyToDefaults(null, {});
612
- }).to.throw('Invalid defaults value: must be an object');
613
- done();
614
- });
615
-
616
- it('returns null if options is false', function (done) {
617
-
618
- var result = Hoek.applyToDefaults(defaults, false);
619
- expect(result).to.equal(null);
620
- done();
621
- });
622
-
623
- it('returns null if options is null', function (done) {
624
-
625
- var result = Hoek.applyToDefaults(defaults, null);
626
- expect(result).to.equal(null);
627
- done();
628
- });
629
-
630
- it('returns null if options is undefined', function (done) {
631
-
632
- var result = Hoek.applyToDefaults(defaults, undefined);
633
- expect(result).to.equal(null);
634
- done();
635
- });
636
-
637
- it('returns a copy of defaults if options is true', function (done) {
638
-
639
- var result = Hoek.applyToDefaults(defaults, true);
640
- expect(result).to.deep.equal(defaults);
641
- done();
642
- });
643
-
644
- it('applies object to defaults', function (done) {
645
-
646
- var obj = {
647
- a: null,
648
- c: {
649
- e: [4]
650
- },
651
- f: 0,
652
- g: {
653
- h: 5
654
- }
655
- };
656
-
657
- var result = Hoek.applyToDefaults(defaults, obj);
658
- expect(result.c.e).to.deep.equal([4]);
659
- expect(result.a).to.equal(1);
660
- expect(result.b).to.equal(2);
661
- expect(result.f).to.equal(0);
662
- expect(result.g).to.deep.equal({ h: 5 });
663
- done();
664
- });
665
-
666
- it('applies object to defaults with null', function (done) {
667
-
668
- var obj = {
669
- a: null,
670
- c: {
671
- e: [4]
672
- },
673
- f: 0,
674
- g: {
675
- h: 5
676
- }
677
- };
678
-
679
- var result = Hoek.applyToDefaults(defaults, obj, true);
680
- expect(result.c.e).to.deep.equal([4]);
681
- expect(result.a).to.equal(null);
682
- expect(result.b).to.equal(2);
683
- expect(result.f).to.equal(0);
684
- expect(result.g).to.deep.equal({ h: 5 });
685
- done();
686
- });
687
- });
688
-
689
- describe('cloneWithShallow()', function () {
690
-
691
- it('deep clones except for listed keys', function (done) {
692
-
693
- var source = {
694
- a: {
695
- b: 5
696
- },
697
- c: {
698
- d: 6
699
- }
700
- };
701
-
702
- var copy = Hoek.cloneWithShallow(source, ['c']);
703
- expect(copy).to.deep.equal(source);
704
- expect(copy).to.not.equal(source);
705
- expect(copy.a).to.not.equal(source.a);
706
- expect(copy.b).to.equal(source.b);
707
- done();
708
- });
709
-
710
- it('returns immutable value', function (done) {
711
-
712
- expect(Hoek.cloneWithShallow(5)).to.equal(5);
713
- done();
714
- });
715
-
716
- it('returns null value', function (done) {
717
-
718
- expect(Hoek.cloneWithShallow(null)).to.equal(null);
719
- done();
720
- });
721
-
722
- it('returns undefined value', function (done) {
723
-
724
- expect(Hoek.cloneWithShallow(undefined)).to.equal(undefined);
725
- done();
726
- });
727
-
728
- it('deep clones except for listed keys (including missing keys)', function (done) {
729
-
730
- var source = {
731
- a: {
732
- b: 5
733
- },
734
- c: {
735
- d: 6
736
- }
737
- };
738
-
739
- var copy = Hoek.cloneWithShallow(source, ['c', 'v']);
740
- expect(copy).to.deep.equal(source);
741
- expect(copy).to.not.equal(source);
742
- expect(copy.a).to.not.equal(source.a);
743
- expect(copy.b).to.equal(source.b);
744
- done();
745
- });
746
- });
747
-
748
- describe('applyToDefaultsWithShallow()', function () {
749
-
750
- it('shallow copies the listed keys from options without merging', function (done) {
751
-
752
- var defaults = {
753
- a: {
754
- b: 5,
755
- e: 3
756
- },
757
- c: {
758
- d: 7,
759
- g: 1
760
- }
761
- };
762
-
763
- var options = {
764
- a: {
765
- b: 4
766
- },
767
- c: {
768
- d: 6,
769
- f: 7
770
- }
771
- };
772
-
773
- var merged = Hoek.applyToDefaultsWithShallow(defaults, options, ['a']);
774
- expect(merged).to.deep.equal({ a: { b: 4 }, c: { d: 6, g: 1, f: 7 } });
775
- expect(merged.a).to.equal(options.a);
776
- expect(merged.a).to.not.equal(defaults.a);
777
- expect(merged.c).to.not.equal(options.c);
778
- expect(merged.c).to.not.equal(defaults.c);
779
- done();
780
- });
781
-
782
- it('shallow copies the nested keys (override)', function (done) {
783
-
784
- var defaults = {
785
- a: {
786
- b: 5
787
- },
788
- c: {
789
- d: 7,
790
- g: 1
791
- }
792
- };
793
-
794
- var options = {
795
- a: {
796
- b: 4
797
- },
798
- c: {
799
- d: 6,
800
- g: {
801
- h: 8
802
- }
803
- }
804
- };
805
-
806
- var merged = Hoek.applyToDefaultsWithShallow(defaults, options, ['c.g']);
807
- expect(merged).to.deep.equal({ a: { b: 4 }, c: { d: 6, g: { h: 8 } } });
808
- expect(merged.c.g).to.equal(options.c.g);
809
- done();
810
- });
811
-
812
- it('shallow copies the nested keys (missing)', function (done) {
813
-
814
- var defaults = {
815
- a: {
816
- b: 5
817
- }
818
- };
819
-
820
- var options = {
821
- a: {
822
- b: 4
823
- },
824
- c: {
825
- g: {
826
- h: 8
827
- }
828
- }
829
- };
830
-
831
- var merged = Hoek.applyToDefaultsWithShallow(defaults, options, ['c.g']);
832
- expect(merged).to.deep.equal({ a: { b: 4 }, c: { g: { h: 8 } } });
833
- expect(merged.c.g).to.equal(options.c.g);
834
- done();
835
- });
836
-
837
- it('shallow copies the nested keys (override)', function (done) {
838
-
839
- var defaults = {
840
- a: {
841
- b: 5
842
- },
843
- c: {
844
- g: {
845
- d: 7
846
- }
847
- }
848
- };
849
-
850
- var options = {
851
- a: {
852
- b: 4
853
- },
854
- c: {
855
- g: {
856
- h: 8
857
- }
858
- }
859
- };
860
-
861
- var merged = Hoek.applyToDefaultsWithShallow(defaults, options, ['c.g']);
862
- expect(merged).to.deep.equal({ a: { b: 4 }, c: { g: { h: 8 } } });
863
- expect(merged.c.g).to.equal(options.c.g);
864
- done();
865
- });
866
-
867
- it('shallow copies the nested keys (deeper)', function (done) {
868
-
869
- var defaults = {
870
- a: {
871
- b: 5
872
- }
873
- };
874
-
875
- var options = {
876
- a: {
877
- b: 4
878
- },
879
- c: {
880
- g: {
881
- r: {
882
- h: 8
883
- }
884
- }
885
- }
886
- };
887
-
888
- var merged = Hoek.applyToDefaultsWithShallow(defaults, options, ['c.g.r']);
889
- expect(merged).to.deep.equal({ a: { b: 4 }, c: { g: { r: { h: 8 } } } });
890
- expect(merged.c.g.r).to.equal(options.c.g.r);
891
- done();
892
- });
893
-
894
- it('shallow copies the nested keys (not present)', function (done) {
895
-
896
- var defaults = {
897
- a: {
898
- b: 5
899
- }
900
- };
901
-
902
- var options = {
903
- a: {
904
- b: 4
905
- },
906
- c: {
907
- g: {
908
- r: {
909
- h: 8
910
- }
911
- }
912
- }
913
- };
914
-
915
- var merged = Hoek.applyToDefaultsWithShallow(defaults, options, ['x.y']);
916
- expect(merged).to.deep.equal({ a: { b: 4 }, c: { g: { r: { h: 8 } } } });
917
- done();
918
- });
919
-
920
- it('shallow copies the listed keys in the defaults', function (done) {
921
-
922
- var defaults = {
923
- a: {
924
- b: 1
925
- }
926
- };
927
-
928
- var merged = Hoek.applyToDefaultsWithShallow(defaults, {}, ['a']);
929
- expect(merged.a).to.equal(defaults.a);
930
- done();
931
- });
932
-
933
- it('shallow copies the listed keys in the defaults (true)', function (done) {
934
-
935
- var defaults = {
936
- a: {
937
- b: 1
938
- }
939
- };
940
-
941
- var merged = Hoek.applyToDefaultsWithShallow(defaults, true, ['a']);
942
- expect(merged.a).to.equal(defaults.a);
943
- done();
944
- });
945
-
946
- it('returns null on false', function (done) {
947
-
948
- var defaults = {
949
- a: {
950
- b: 1
951
- }
952
- };
953
-
954
- var merged = Hoek.applyToDefaultsWithShallow(defaults, false, ['a']);
955
- expect(merged).to.equal(null);
956
- done();
957
- });
958
-
959
- it('throws on missing defaults', function (done) {
960
-
961
- expect(function () {
962
-
963
- Hoek.applyToDefaultsWithShallow(null, {}, ['a']);
964
- }).to.throw('Invalid defaults value: must be an object');
965
- done();
966
- });
967
-
968
- it('throws on invalid defaults', function (done) {
969
-
970
- expect(function () {
971
-
972
- Hoek.applyToDefaultsWithShallow('abc', {}, ['a']);
973
- }).to.throw('Invalid defaults value: must be an object');
974
- done();
975
- });
976
-
977
- it('throws on invalid options', function (done) {
978
-
979
- expect(function () {
980
-
981
- Hoek.applyToDefaultsWithShallow({}, 'abc', ['a']);
982
- }).to.throw('Invalid options value: must be true, falsy or an object');
983
- done();
984
- });
985
-
986
- it('throws on missing keys', function (done) {
987
-
988
- expect(function () {
989
-
990
- Hoek.applyToDefaultsWithShallow({}, true);
991
- }).to.throw('Invalid keys');
992
- done();
993
- });
994
-
995
- it('throws on invalid keys', function (done) {
996
-
997
- expect(function () {
998
-
999
- Hoek.applyToDefaultsWithShallow({}, true, 'a');
1000
- }).to.throw('Invalid keys');
1001
- done();
1002
- });
1003
- });
1004
-
1005
- describe('deepEqual()', function () {
1006
-
1007
- it('compares simple values', function (done) {
1008
-
1009
- expect(Hoek.deepEqual('x', 'x')).to.be.true();
1010
- expect(Hoek.deepEqual('x', 'y')).to.be.false();
1011
- expect(Hoek.deepEqual('x1', 'x')).to.be.false();
1012
- expect(Hoek.deepEqual(-0, +0)).to.be.false();
1013
- expect(Hoek.deepEqual(-0, -0)).to.be.true();
1014
- expect(Hoek.deepEqual(+0, +0)).to.be.true();
1015
- expect(Hoek.deepEqual(+0, -0)).to.be.false();
1016
- expect(Hoek.deepEqual(1, 1)).to.be.true();
1017
- expect(Hoek.deepEqual(0, 0)).to.be.true();
1018
- expect(Hoek.deepEqual(-1, 1)).to.be.false();
1019
- expect(Hoek.deepEqual(NaN, 0)).to.be.false();
1020
- expect(Hoek.deepEqual(NaN, NaN)).to.be.true();
1021
- done();
1022
- });
1023
-
1024
- it('compares different types', function (done) {
1025
-
1026
- expect(Hoek.deepEqual([], 5)).to.be.false();
1027
- expect(Hoek.deepEqual(5, [])).to.be.false();
1028
- expect(Hoek.deepEqual({}, null)).to.be.false();
1029
- expect(Hoek.deepEqual(null, {})).to.be.false();
1030
- expect(Hoek.deepEqual('abc', {})).to.be.false();
1031
- expect(Hoek.deepEqual({}, 'abc')).to.be.false();
1032
- done();
1033
- });
1034
-
1035
- it('compares empty structures', function (done) {
1036
-
1037
- expect(Hoek.deepEqual([], [])).to.be.true();
1038
- expect(Hoek.deepEqual({}, {})).to.be.true();
1039
- expect(Hoek.deepEqual([], {})).to.be.false();
1040
- done();
1041
- });
1042
-
1043
- it('compares empty arguments object', function (done) {
1044
-
1045
- var compare = function () {
1046
-
1047
- expect(Hoek.deepEqual([], arguments)).to.be.false();
1048
- };
1049
-
1050
- compare();
1051
- done();
1052
- });
1053
-
1054
- it('compares empty arguments objects', function (done) {
1055
-
1056
- var compare = function () {
1057
-
1058
- var arg1 = arguments;
1059
-
1060
- var inner = function () {
1061
-
1062
- expect(Hoek.deepEqual(arg1, arguments)).to.be.false(); // callee is not the same
1063
- };
1064
-
1065
- inner();
1066
- };
1067
-
1068
- compare();
1069
- done();
1070
- });
1071
-
1072
- it('compares dates', function (done) {
1073
-
1074
- expect(Hoek.deepEqual(new Date(2015, 1, 1), new Date(2015, 1, 1))).to.be.true();
1075
- expect(Hoek.deepEqual(new Date(100), new Date(101))).to.be.false();
1076
- expect(Hoek.deepEqual(new Date(), {})).to.be.false();
1077
- done();
1078
- });
1079
-
1080
- it('compares regular expressions', function (done) {
1081
-
1082
- expect(Hoek.deepEqual(/\s/, new RegExp('\\\s'))).to.be.true();
1083
- expect(Hoek.deepEqual(/\s/g, /\s/g)).to.be.true();
1084
- expect(Hoek.deepEqual(/a/, {})).to.be.false();
1085
- expect(Hoek.deepEqual(/\s/g, /\s/i)).to.be.false();
1086
- expect(Hoek.deepEqual(/a/g, /b/g)).to.be.false();
1087
- done();
1088
- });
1089
-
1090
- it('compares arrays', function (done) {
1091
-
1092
- expect(Hoek.deepEqual([[1]], [[1]])).to.be.true();
1093
- expect(Hoek.deepEqual([1, 2, 3], [1, 2, 3])).to.be.true();
1094
- expect(Hoek.deepEqual([1, 2, 3], [1, 3, 2])).to.be.false();
1095
- expect(Hoek.deepEqual([1, 2, 3], [1, 2])).to.be.false();
1096
- expect(Hoek.deepEqual([1], [1])).to.be.true();
1097
- done();
1098
- });
1099
-
1100
- it('compares buffers', function (done) {
1101
-
1102
- expect(Hoek.deepEqual(new Buffer([1, 2, 3]), new Buffer([1, 2, 3]))).to.be.true();
1103
- expect(Hoek.deepEqual(new Buffer([1, 2, 3]), new Buffer([1, 3, 2]))).to.be.false();
1104
- expect(Hoek.deepEqual(new Buffer([1, 2, 3]), new Buffer([1, 2]))).to.be.false();
1105
- expect(Hoek.deepEqual(new Buffer([1, 2, 3]), {})).to.be.false();
1106
- expect(Hoek.deepEqual(new Buffer([1, 2, 3]), [1, 2, 3])).to.be.false();
1107
- done();
1108
- });
1109
-
1110
- it('compares objects', function (done) {
1111
-
1112
- expect(Hoek.deepEqual({ a: 1, b: 2, c: 3 }, { a: 1, b: 2, c: 3 })).to.be.true();
1113
- expect(Hoek.deepEqual({ foo: 'bar' }, { foo: 'baz' })).to.be.false();
1114
- expect(Hoek.deepEqual({ foo: { bar: 'foo' } }, { foo: { bar: 'baz' } })).to.be.false();
1115
- done();
1116
- });
1117
-
1118
- it('handles circular dependency', function (done) {
1119
-
1120
- var a = {};
1121
- a.x = a;
1122
-
1123
- var b = Hoek.clone(a);
1124
- expect(Hoek.deepEqual(a, b)).to.be.true();
1125
- done();
1126
- });
1127
-
1128
- it('compares an object with property getter without executing it', function (done) {
1129
-
1130
- var obj = {};
1131
- var value = 1;
1132
- var execCount = 0;
1133
-
1134
- Object.defineProperty(obj, 'test', {
1135
- enumerable: true,
1136
- configurable: true,
1137
- get: function () {
1138
-
1139
- ++execCount;
1140
- return value;
1141
- }
1142
- });
1143
-
1144
- var copy = Hoek.clone(obj);
1145
- expect(Hoek.deepEqual(obj, copy)).to.be.true();
1146
- expect(execCount).to.equal(0);
1147
- expect(copy.test).to.equal(1);
1148
- expect(execCount).to.equal(1);
1149
- done();
1150
- });
1151
-
1152
- it('compares objects with property getters', function (done) {
1153
-
1154
- var obj = {};
1155
- Object.defineProperty(obj, 'test', {
1156
- enumerable: true,
1157
- configurable: true,
1158
- get: function () {
1159
-
1160
- return 1;
1161
- }
1162
- });
1163
-
1164
- var ref = {};
1165
- Object.defineProperty(ref, 'test', {
1166
- enumerable: true,
1167
- configurable: true,
1168
- get: function () {
1169
-
1170
- return 2;
1171
- }
1172
- });
1173
-
1174
- expect(Hoek.deepEqual(obj, ref)).to.be.false();
1175
- done();
1176
- });
1177
-
1178
- it('compares object prototypes', function (done) {
1179
-
1180
- var Obj = function () {
1181
-
1182
- this.a = 5;
1183
- };
1184
-
1185
- Obj.prototype.b = function () {
1186
-
1187
- return this.a;
1188
- };
1189
-
1190
- var Ref = function () {
1191
-
1192
- this.a = 5;
1193
- };
1194
-
1195
- Ref.prototype.b = function () {
1196
-
1197
- return this.a;
1198
- };
1199
-
1200
- expect(Hoek.deepEqual(new Obj(), new Ref())).to.be.false();
1201
- expect(Hoek.deepEqual(new Obj(), new Obj())).to.be.true();
1202
- expect(Hoek.deepEqual(new Ref(), new Ref())).to.be.true();
1203
- done();
1204
- });
1205
-
1206
- it('compares plain objects', function (done) {
1207
-
1208
- var a = Object.create(null);
1209
- var b = Object.create(null);
1210
-
1211
- a.b = 'c';
1212
- b.b = 'c';
1213
-
1214
- expect(Hoek.deepEqual(a, b)).to.be.true();
1215
- expect(Hoek.deepEqual(a, { b: 'c' })).to.be.false();
1216
- done();
1217
- });
1218
-
1219
- it('compares an object with an empty object', function (done) {
1220
-
1221
- var a = { a: 1, b: 2 };
1222
-
1223
- expect(Hoek.deepEqual({}, a)).to.be.false();
1224
- expect(Hoek.deepEqual(a, {})).to.be.false();
1225
- done();
1226
- });
1227
-
1228
- it('compares an object ignoring the prototype', function (done) {
1229
-
1230
- var a = Object.create(null);
1231
- var b = {};
1232
-
1233
- expect(Hoek.deepEqual(a, b, { prototype: false })).to.be.true();
1234
- done();
1235
- });
1236
-
1237
- it('compares an object ignoring the prototype recursively', function (done) {
1238
-
1239
- var a = [Object.create(null)];
1240
- var b = [{}];
1241
-
1242
- expect(Hoek.deepEqual(a, b, { prototype: false })).to.be.true();
1243
- done();
1244
- });
1245
- });
1246
-
1247
- describe('unique()', function () {
1248
-
1249
- it('ensures uniqueness within array of objects based on subkey', function (done) {
1250
-
1251
- var a = Hoek.unique(dupsArray, 'x');
1252
- expect(a).to.deep.equal(reducedDupsArray);
1253
- done();
1254
- });
1255
-
1256
- it('removes duplicated without key', function (done) {
1257
-
1258
- expect(Hoek.unique([1, 2, 3, 4, 2, 1, 5])).to.deep.equal([1, 2, 3, 4, 5]);
1259
- done();
1260
- });
1261
- });
1262
-
1263
- describe('mapToObject()', function () {
1264
-
1265
- it('returns null on null array', function (done) {
1266
-
1267
- var a = Hoek.mapToObject(null);
1268
- expect(a).to.equal(null);
1269
- done();
1270
- });
1271
-
1272
- it('converts basic array to existential object', function (done) {
1273
-
1274
- var keys = [1, 2, 3, 4];
1275
- var a = Hoek.mapToObject(keys);
1276
- for (var i in keys) {
1277
- expect(a[keys[i]]).to.equal(true);
1278
- }
1279
- done();
1280
- });
1281
-
1282
- it('converts array of objects to existential object', function (done) {
1283
-
1284
- var keys = [{ x: 1 }, { x: 2 }, { x: 3 }, { y: 4 }];
1285
- var subkey = 'x';
1286
- var a = Hoek.mapToObject(keys, subkey);
1287
- expect(a).to.deep.equal({ 1: true, 2: true, 3: true });
1288
- done();
1289
- });
1290
- });
1291
-
1292
- describe('intersect()', function () {
1293
-
1294
- it('returns the common objects of two arrays', function (done) {
1295
-
1296
- var array1 = [1, 2, 3, 4, 4, 5, 5];
1297
- var array2 = [5, 4, 5, 6, 7];
1298
- var common = Hoek.intersect(array1, array2);
1299
- expect(common.length).to.equal(2);
1300
- done();
1301
- });
1302
-
1303
- it('returns just the first common object of two arrays', function (done) {
1304
-
1305
- var array1 = [1, 2, 3, 4, 4, 5, 5];
1306
- var array2 = [5, 4, 5, 6, 7];
1307
- var common = Hoek.intersect(array1, array2, true);
1308
- expect(common).to.equal(5);
1309
- done();
1310
- });
1311
-
1312
- it('returns null when no common and returning just the first common object of two arrays', function (done) {
1313
-
1314
- var array1 = [1, 2, 3, 4, 4, 5, 5];
1315
- var array2 = [6, 7];
1316
- var common = Hoek.intersect(array1, array2, true);
1317
- expect(common).to.equal(null);
1318
- done();
1319
- });
1320
-
1321
- it('returns an empty array if either input is null', function (done) {
1322
-
1323
- expect(Hoek.intersect([1], null).length).to.equal(0);
1324
- expect(Hoek.intersect(null, [1]).length).to.equal(0);
1325
- done();
1326
- });
1327
-
1328
- it('returns the common objects of object and array', function (done) {
1329
-
1330
- var array1 = [1, 2, 3, 4, 4, 5, 5];
1331
- var array2 = [5, 4, 5, 6, 7];
1332
- var common = Hoek.intersect(Hoek.mapToObject(array1), array2);
1333
- expect(common.length).to.equal(2);
1334
- done();
1335
- });
1336
- });
1337
-
1338
- describe('contain()', function () {
1339
-
1340
- it('tests strings', function (done) {
1341
-
1342
- expect(Hoek.contain('abc', 'ab')).to.be.true();
1343
- expect(Hoek.contain('abc', 'abc', { only: true })).to.be.true();
1344
- expect(Hoek.contain('aaa', 'a', { only: true })).to.be.true();
1345
- expect(Hoek.contain('abc', 'b', { once: true })).to.be.true();
1346
- expect(Hoek.contain('abc', ['a', 'c'])).to.be.true();
1347
- expect(Hoek.contain('abc', ['a', 'd'], { part: true })).to.be.true();
1348
-
1349
- expect(Hoek.contain('abc', 'ac')).to.be.false();
1350
- expect(Hoek.contain('abcd', 'abc', { only: true })).to.be.false();
1351
- expect(Hoek.contain('aab', 'a', { only: true })).to.be.false();
1352
- expect(Hoek.contain('abb', 'b', { once: true })).to.be.false();
1353
- expect(Hoek.contain('abc', ['a', 'd'])).to.be.false();
1354
- expect(Hoek.contain('abc', ['ab', 'bc'])).to.be.false(); // Overlapping values not supported
1355
- done();
1356
- });
1357
-
1358
- it('tests arrays', function (done) {
1359
-
1360
- expect(Hoek.contain([1, 2, 3], 1)).to.be.true();
1361
- expect(Hoek.contain([{ a: 1 }], { a: 1 }, { deep: true })).to.be.true();
1362
- expect(Hoek.contain([1, 2, 3], [1, 2])).to.be.true();
1363
- expect(Hoek.contain([{ a: 1 }], [{ a: 1 }], { deep: true })).to.be.true();
1364
- expect(Hoek.contain([1, 1, 2], [1, 2], { only: true })).to.be.true();
1365
- expect(Hoek.contain([1, 2], [1, 2], { once: true })).to.be.true();
1366
- expect(Hoek.contain([1, 2, 3], [1, 4], { part: true })).to.be.true();
1367
- expect(Hoek.contain([[1], [2]], [[1]], { deep: true })).to.be.true();
1368
-
1369
- expect(Hoek.contain([1, 2, 3], 4)).to.be.false();
1370
- expect(Hoek.contain([{ a: 1 }], { a: 2 }, { deep: true })).to.be.false();
1371
- expect(Hoek.contain([{ a: 1 }], { a: 1 })).to.be.false();
1372
- expect(Hoek.contain([1, 2, 3], [4, 5])).to.be.false();
1373
- expect(Hoek.contain([[3], [2]], [[1]])).to.be.false();
1374
- expect(Hoek.contain([[1], [2]], [[1]])).to.be.false();
1375
- expect(Hoek.contain([{ a: 1 }], [{ a: 2 }], { deep: true })).to.be.false();
1376
- expect(Hoek.contain([1, 3, 2], [1, 2], { only: true })).to.be.false();
1377
- expect(Hoek.contain([1, 2, 2], [1, 2], { once: true })).to.be.false();
1378
- expect(Hoek.contain([0, 2, 3], [1, 4], { part: true })).to.be.false();
1379
- done();
1380
- });
1381
-
1382
- it('tests objects', function (done) {
1383
-
1384
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, 'a')).to.be.true();
1385
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, ['a', 'c'])).to.be.true();
1386
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, ['a', 'b', 'c'], { only: true })).to.be.true();
1387
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 1 })).to.be.true();
1388
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 1, c: 3 })).to.be.true();
1389
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 1, d: 4 }, { part: true })).to.be.true();
1390
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 1, b: 2, c: 3 }, { only: true })).to.be.true();
1391
- expect(Hoek.contain({ a: [1], b: [2], c: [3] }, { a: [1], c: [3] }, { deep: true })).to.be.true();
1392
- expect(Hoek.contain({ a: [{ b: 1 }, { c: 2 }, { d: 3, e: 4 }] }, { a: [{ b: 1 }, { d: 3 }] }, { deep: true })).to.be.true();
1393
- expect(Hoek.contain({ a: [{ b: 1 }, { c: 2 }, { d: 3, e: 4 }] }, { a: [{ b: 1 }, { d: 3 }] }, { deep: true, part: true })).to.be.true();
1394
- expect(Hoek.contain({ a: [{ b: 1 }, { c: 2 }, { d: 3, e: 4 }] }, { a: [{ b: 1 }, { d: 3 }] }, { deep: true, part: false })).to.be.false();
1395
- expect(Hoek.contain({ a: [{ b: 1 }, { c: 2 }, { d: 3, e: 4 }] }, { a: [{ b: 1 }, { d: 3 }] }, { deep: true, only: true })).to.be.false();
1396
- expect(Hoek.contain({ a: [{ b: 1 }, { c: 2 }, { d: 3, e: 4 }] }, { a: [{ b: 1 }, { d: 3 }] }, { deep: true, only: false })).to.be.true();
1397
-
1398
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, 'd')).to.be.false();
1399
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, ['a', 'd'])).to.be.false();
1400
- expect(Hoek.contain({ a: 1, b: 2, c: 3, d: 4 }, ['a', 'b', 'c'], { only: true })).to.be.false();
1401
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 2 })).to.be.false();
1402
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 2, b: 2 }, { part: true })).to.be.false(); // part does not ignore bad value
1403
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 1, d: 3 })).to.be.false();
1404
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 1, d: 4 })).to.be.false();
1405
- expect(Hoek.contain({ a: 1, b: 2, c: 3 }, { a: 1, b: 2 }, { only: true })).to.be.false();
1406
- expect(Hoek.contain({ a: [1], b: [2], c: [3] }, { a: [1], c: [3] })).to.be.false();
1407
- expect(Hoek.contain({ a: { b: { c: 1, d: 2 } } }, { a: { b: { c: 1 } } })).to.be.false();
1408
- expect(Hoek.contain({ a: { b: { c: 1, d: 2 } } }, { a: { b: { c: 1 } } }, { deep: true })).to.be.true();
1409
- expect(Hoek.contain({ a: { b: { c: 1, d: 2 } } }, { a: { b: { c: 1 } } }, { deep: true, only: true })).to.be.false();
1410
- expect(Hoek.contain({ a: { b: { c: 1, d: 2 } } }, { a: { b: { c: 1 } } }, { deep: true, only: false })).to.be.true();
1411
- expect(Hoek.contain({ a: { b: { c: 1, d: 2 } } }, { a: { b: { c: 1 } } }, { deep: true, part: true })).to.be.true();
1412
- expect(Hoek.contain({ a: { b: { c: 1, d: 2 } } }, { a: { b: { c: 1 } } }, { deep: true, part: false })).to.be.false();
1413
-
1414
- // Getter check
1415
- var Foo = function (bar) {
1416
-
1417
- this.bar = bar;
1418
- };
1419
-
1420
- Object.defineProperty(Foo.prototype, 'baz', {
1421
- enumerable: true,
1422
- get: function () {
1423
-
1424
- return this.bar;
1425
- }
1426
- });
1427
-
1428
- expect(Hoek.contain({ a: new Foo('b') }, { a: new Foo('b') }, { deep: true })).to.be.true();
1429
- expect(Hoek.contain({ a: new Foo('b') }, { a: new Foo('b') }, { deep: true, part: true })).to.be.true();
1430
- expect(Hoek.contain({ a: new Foo('b') }, { a: { baz: 'b' } }, { deep: true })).to.be.true();
1431
- expect(Hoek.contain({ a: new Foo('b') }, { a: { baz: 'b' } }, { deep: true, only: true })).to.be.false();
1432
- expect(Hoek.contain({ a: new Foo('b') }, { a: { baz: 'b' } }, { deep: true, part: false })).to.be.false();
1433
- expect(Hoek.contain({ a: new Foo('b') }, { a: { baz: 'b' } }, { deep: true, part: true })).to.be.true();
1434
-
1435
- done();
1436
- });
1437
- });
1438
-
1439
- describe('flatten()', function () {
1440
-
1441
- it('returns a flat array', function (done) {
1442
-
1443
- var result = Hoek.flatten([1, 2, [3, 4, [5, 6], [7], 8], [9], [10, [11, 12]], 13]);
1444
- expect(result.length).to.equal(13);
1445
- expect(result).to.deep.equal([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]);
1446
- done();
1447
- });
1448
- });
1449
-
1450
- describe('reach()', function () {
1451
-
1452
- var obj = {
1453
- a: {
1454
- b: {
1455
- c: {
1456
- d: 1,
1457
- e: 2
1458
- },
1459
- f: 'hello'
1460
- },
1461
- g: {
1462
- h: 3
1463
- }
1464
- },
1465
- i: function () { },
1466
- j: null,
1467
- k: [4, 8, 9, 1]
1468
- };
1469
-
1470
- obj.i.x = 5;
1471
-
1472
- it('returns object itself', function (done) {
1473
-
1474
- expect(Hoek.reach(obj, null)).to.equal(obj);
1475
- expect(Hoek.reach(obj, false)).to.equal(obj);
1476
- expect(Hoek.reach(obj)).to.equal(obj);
1477
- done();
1478
- });
1479
-
1480
- it('returns first value of array', function (done) {
1481
-
1482
- expect(Hoek.reach(obj, 'k.0')).to.equal(4);
1483
- done();
1484
- });
1485
-
1486
- it('returns last value of array using negative index', function (done) {
1487
-
1488
- expect(Hoek.reach(obj, 'k.-2')).to.equal(9);
1489
- done();
1490
- });
1491
-
1492
- it('returns a valid member', function (done) {
1493
-
1494
- expect(Hoek.reach(obj, 'a.b.c.d')).to.equal(1);
1495
- done();
1496
- });
1497
-
1498
- it('returns a valid member with separator override', function (done) {
1499
-
1500
- expect(Hoek.reach(obj, 'a/b/c/d', '/')).to.equal(1);
1501
- done();
1502
- });
1503
-
1504
- it('returns undefined on null object', function (done) {
1505
-
1506
- expect(Hoek.reach(null, 'a.b.c.d')).to.equal(undefined);
1507
- done();
1508
- });
1509
-
1510
- it('returns undefined on missing object member', function (done) {
1511
-
1512
- expect(Hoek.reach(obj, 'a.b.c.d.x')).to.equal(undefined);
1513
- done();
1514
- });
1515
-
1516
- it('returns undefined on missing function member', function (done) {
1517
-
1518
- expect(Hoek.reach(obj, 'i.y', { functions: true })).to.equal(undefined);
1519
- done();
1520
- });
1521
-
1522
- it('throws on missing member in strict mode', function (done) {
1523
-
1524
- expect(function () {
1525
-
1526
- Hoek.reach(obj, 'a.b.c.o.x', { strict: true });
1527
- }).to.throw('Missing segment o in reach path a.b.c.o.x');
1528
-
1529
- done();
1530
- });
1531
-
1532
- it('returns undefined on invalid member', function (done) {
1533
-
1534
- expect(Hoek.reach(obj, 'a.b.c.d-.x')).to.equal(undefined);
1535
- done();
1536
- });
1537
-
1538
- it('returns function member', function (done) {
1539
-
1540
- expect(typeof Hoek.reach(obj, 'i')).to.equal('function');
1541
- done();
1542
- });
1543
-
1544
- it('returns function property', function (done) {
1545
-
1546
- expect(Hoek.reach(obj, 'i.x')).to.equal(5);
1547
- done();
1548
- });
1549
-
1550
- it('returns null', function (done) {
1551
-
1552
- expect(Hoek.reach(obj, 'j')).to.equal(null);
1553
- done();
1554
- });
1555
-
1556
- it('throws on function property when functions not allowed', function (done) {
1557
-
1558
- expect(function () {
1559
-
1560
- Hoek.reach(obj, 'i.x', { functions: false });
1561
- }).to.throw('Invalid segment x in reach path i.x');
1562
-
1563
- done();
1564
- });
1565
-
1566
- it('will return a default value if property is not found', function (done) {
1567
-
1568
- expect(Hoek.reach(obj, 'a.b.q', { default: 'defaultValue' })).to.equal('defaultValue');
1569
- done();
1570
- });
1571
-
1572
- it('will return a default value if path is not found', function (done) {
1573
-
1574
- expect(Hoek.reach(obj, 'q', { default: 'defaultValue' })).to.equal('defaultValue');
1575
- done();
1576
- });
1577
-
1578
- it('allows a falsey value to be used as the default value', function (done) {
1579
-
1580
- expect(Hoek.reach(obj, 'q', { default: '' })).to.equal('');
1581
- done();
1582
- });
1583
- });
1584
-
1585
- describe('reachTemplate()', function () {
1586
-
1587
- it('applies object to template', function (done) {
1588
-
1589
- var obj = {
1590
- a: {
1591
- b: {
1592
- c: {
1593
- d: 1
1594
- }
1595
- }
1596
- },
1597
- j: null,
1598
- k: [4, 8, 9, 1]
1599
- };
1600
-
1601
- var template = '{k.0}:{k.-2}:{a.b.c.d}:{x.y}:{j}';
1602
-
1603
- expect(Hoek.reachTemplate(obj, template)).to.equal('4:9:1::');
1604
- done();
1605
- });
1606
-
1607
- it('applies object to template (options)', function (done) {
1608
-
1609
- var obj = {
1610
- a: {
1611
- b: {
1612
- c: {
1613
- d: 1
1614
- }
1615
- }
1616
- },
1617
- j: null,
1618
- k: [4, 8, 9, 1]
1619
- };
1620
-
1621
- var template = '{k/0}:{k/-2}:{a/b/c/d}:{x/y}:{j}';
1622
-
1623
- expect(Hoek.reachTemplate(obj, template, '/')).to.equal('4:9:1::');
1624
- done();
1625
- });
1626
- });
1627
-
1628
- describe('callStack()', function () {
1629
-
1630
- it('returns the full call stack', function (done) {
1631
-
1632
- var stack = Hoek.callStack();
1633
- expect(stack[0][0]).to.contain('index.js');
1634
- expect(stack[0][2]).to.equal(26);
1635
- done();
1636
- });
1637
- });
1638
-
1639
- describe('displayStack ()', function () {
1640
-
1641
- it('returns the full call stack for display', function (done) {
1642
-
1643
- var stack = Hoek.displayStack();
1644
- expect(stack[0]).to.contain(Path.normalize('/test/index.js') + ':');
1645
- done();
1646
- });
1647
-
1648
- it('includes constructor functions correctly', function (done) {
1649
-
1650
- var Something = function (next) {
1651
-
1652
- next();
1653
- };
1654
-
1655
- var something = new Something(function () {
1656
-
1657
- var stack = Hoek.displayStack();
1658
- expect(stack[1]).to.contain('new Something');
1659
- done();
1660
- });
1661
- });
1662
- });
1663
-
1664
- describe('abort()', function () {
1665
-
1666
- it('exits process when not in test mode', function (done) {
1667
-
1668
- var env = process.env.NODE_ENV;
1669
- var write = process.stdout.write;
1670
- var exit = process.exit;
1671
-
1672
- process.env.NODE_ENV = 'nottatest';
1673
- process.stdout.write = function () { };
1674
- process.exit = function (state) {
1675
-
1676
- process.exit = exit;
1677
- process.env.NODE_ENV = env;
1678
- process.stdout.write = write;
1679
-
1680
- expect(state).to.equal(1);
1681
- done();
1682
- };
1683
-
1684
- Hoek.abort('Boom');
1685
- });
1686
-
1687
- it('throws when not in test mode and abortThrow is true', function (done) {
1688
-
1689
- var env = process.env.NODE_ENV;
1690
- process.env.NODE_ENV = 'nottatest';
1691
- Hoek.abortThrow = true;
1692
-
1693
- var fn = function () {
1694
-
1695
- Hoek.abort('my error message');
1696
- };
1697
-
1698
- expect(fn).to.throw('my error message');
1699
- Hoek.abortThrow = false;
1700
- process.env.NODE_ENV = env;
1701
-
1702
- done();
1703
- });
1704
-
1705
- it('respects hideStack argument', function (done) {
1706
-
1707
- var env = process.env.NODE_ENV;
1708
- var write = process.stdout.write;
1709
- var exit = process.exit;
1710
- var output = '';
1711
-
1712
- process.exit = function () { };
1713
- process.env.NODE_ENV = '';
1714
- process.stdout.write = function (message) {
1715
-
1716
- output = message;
1717
- };
1718
-
1719
- Hoek.abort('my error message', true);
1720
-
1721
- process.env.NODE_ENV = env;
1722
- process.stdout.write = write;
1723
- process.exit = exit;
1724
-
1725
- expect(output).to.equal('ABORT: my error message\n\t\n');
1726
-
1727
- done();
1728
- });
1729
-
1730
- it('throws in test mode', function (done) {
1731
-
1732
- var env = process.env.NODE_ENV;
1733
- process.env.NODE_ENV = 'test';
1734
-
1735
- expect(function () {
1736
-
1737
- Hoek.abort('my error message', true);
1738
- }).to.throw('my error message');
1739
-
1740
- process.env.NODE_ENV = env;
1741
- done();
1742
- });
1743
-
1744
- it('throws in test mode with default message', function (done) {
1745
-
1746
- var env = process.env.NODE_ENV;
1747
- process.env.NODE_ENV = 'test';
1748
-
1749
- expect(function () {
1750
-
1751
- Hoek.abort('', true);
1752
- }).to.throw('Unknown error');
1753
-
1754
- process.env.NODE_ENV = env;
1755
- done();
1756
- });
1757
-
1758
- it('defaults to showing stack', function (done) {
1759
-
1760
- var env = process.env.NODE_ENV;
1761
- var write = process.stdout.write;
1762
- var exit = process.exit;
1763
- var output = '';
1764
-
1765
- process.exit = function () { };
1766
- process.env.NODE_ENV = '';
1767
- process.stdout.write = function (message) {
1768
-
1769
- output = message;
1770
- };
1771
-
1772
- Hoek.abort('my error message');
1773
-
1774
- process.env.NODE_ENV = env;
1775
- process.stdout.write = write;
1776
- process.exit = exit;
1777
-
1778
- expect(output).to.contain('index.js');
1779
-
1780
- done();
1781
- });
1782
- });
1783
-
1784
- describe('assert()', function () {
1785
-
1786
- it('throws an Error when using assert in a test', function (done) {
1787
-
1788
- var fn = function () {
1789
-
1790
- Hoek.assert(false, 'my error message');
1791
- };
1792
-
1793
- expect(fn).to.throw('my error message');
1794
- done();
1795
- });
1796
-
1797
- it('throws an Error when using assert in a test with no message', function (done) {
1798
-
1799
- var fn = function () {
1800
-
1801
- Hoek.assert(false);
1802
- };
1803
-
1804
- expect(fn).to.throw('Unknown error');
1805
- done();
1806
- });
1807
-
1808
- it('throws an Error when using assert in a test with multipart message', function (done) {
1809
-
1810
- var fn = function () {
1811
-
1812
- Hoek.assert(false, 'This', 'is', 'my message');
1813
- };
1814
-
1815
- expect(fn).to.throw('This is my message');
1816
- done();
1817
- });
1818
-
1819
- it('throws an Error when using assert in a test with multipart message (empty)', function (done) {
1820
-
1821
- var fn = function () {
1822
-
1823
- Hoek.assert(false, 'This', 'is', '', 'my message');
1824
- };
1825
-
1826
- expect(fn).to.throw('This is my message');
1827
- done();
1828
- });
1829
-
1830
- it('throws an Error when using assert in a test with object message', function (done) {
1831
-
1832
- var fn = function () {
1833
-
1834
- Hoek.assert(false, 'This', 'is', { spinal: 'tap' });
1835
- };
1836
-
1837
- expect(fn).to.throw('This is {"spinal":"tap"}');
1838
- done();
1839
- });
1840
-
1841
- it('throws an Error when using assert in a test with multipart string and error messages', function (done) {
1842
-
1843
- var fn = function () {
1844
-
1845
- Hoek.assert(false, 'This', 'is', new Error('spinal'), new Error('tap'));
1846
- };
1847
-
1848
- expect(fn).to.throw('This is spinal tap');
1849
- done();
1850
- });
1851
-
1852
- it('throws an Error when using assert in a test with error object message', function (done) {
1853
-
1854
- var fn = function () {
1855
-
1856
- Hoek.assert(false, new Error('This is spinal tap'));
1857
- };
1858
-
1859
- expect(fn).to.throw('This is spinal tap');
1860
- done();
1861
- });
1862
-
1863
- it('throws the same Error that is passed to it if there is only one error passed', function (done) {
1864
-
1865
- var error = new Error('ruh roh');
1866
- var error2 = new Error('ruh roh');
1867
-
1868
- var fn = function () {
1869
-
1870
- Hoek.assert(false, error);
1871
- };
1872
-
1873
- try {
1874
- fn();
1875
- } catch (err) {
1876
- expect(error).to.equal(error); // should be the same reference
1877
- expect(error).to.not.equal(error2); // error with the same message should not match
1878
- }
1879
-
1880
- done();
1881
- });
1882
- });
1883
-
1884
- describe('Timer', function () {
1885
-
1886
- it('returns time elapsed', function (done) {
1887
-
1888
- var timer = new Hoek.Timer();
1889
- setTimeout(function () {
1890
-
1891
- expect(timer.elapsed()).to.be.above(9);
1892
- done();
1893
- }, 12);
1894
- });
1895
- });
1896
-
1897
- describe('Bench', function () {
1898
-
1899
- it('returns time elapsed', function (done) {
1900
-
1901
- var timer = new Hoek.Bench();
1902
- setTimeout(function () {
1903
-
1904
- expect(timer.elapsed()).to.be.above(9);
1905
- done();
1906
- }, 12);
1907
- });
1908
- });
1909
-
1910
- describe('escapeRegex()', function () {
1911
-
1912
- it('escapes all special regular expression characters', function (done) {
1913
-
1914
- var a = Hoek.escapeRegex('4^f$s.4*5+-_?%=#!:@|~\\/`"(>)[<]d{}s,');
1915
- expect(a).to.equal('4\\^f\\$s\\.4\\*5\\+\\-_\\?%\\=#\\!\\:@\\|~\\\\\\/`"\\(>\\)\\[<\\]d\\{\\}s\\,');
1916
- done();
1917
- });
1918
- });
1919
-
1920
- describe('Base64Url', function () {
1921
-
1922
- var base64str = 'AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0-P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn-AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq-wsbKztLW2t7i5uru8vb6_wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t_g4eLj5OXm5-jp6uvs7e7v8PHy8_T19vf4-fr7_P3-_w';
1923
- var str = unescape('%00%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F%20%21%22%23%24%25%26%27%28%29*+%2C-./0123456789%3A%3B%3C%3D%3E%3F@ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D%7E%7F%80%81%82%83%84%85%86%87%88%89%8A%8B%8C%8D%8E%8F%90%91%92%93%94%95%96%97%98%99%9A%9B%9C%9D%9E%9F%A0%A1%A2%A3%A4%A5%A6%A7%A8%A9%AA%AB%AC%AD%AE%AF%B0%B1%B2%B3%B4%B5%B6%B7%B8%B9%BA%BB%BC%BD%BE%BF%C0%C1%C2%C3%C4%C5%C6%C7%C8%C9%CA%CB%CC%CD%CE%CF%D0%D1%D2%D3%D4%D5%D6%D7%D8%D9%DA%DB%DC%DD%DE%DF%E0%E1%E2%E3%E4%E5%E6%E7%E8%E9%EA%EB%EC%ED%EE%EF%F0%F1%F2%F3%F4%F5%F6%F7%F8%F9%FA%FB%FC%FD%FE%FF');
1924
-
1925
- describe('base64urlEncode()', function () {
1926
-
1927
- it('should base64 URL-safe a string', function (done) {
1928
-
1929
- expect(Hoek.base64urlEncode(str)).to.equal(base64str);
1930
- done();
1931
- });
1932
-
1933
- it('encodes a buffer', function (done) {
1934
-
1935
- expect(Hoek.base64urlEncode(new Buffer(str, 'binary'))).to.equal(base64str);
1936
- done();
1937
- });
1938
-
1939
- it('should base64 URL-safe a hex string', function (done) {
1940
-
1941
- var buffer = new Buffer(str, 'binary');
1942
- expect(Hoek.base64urlEncode(buffer.toString('hex'), 'hex')).to.equal(base64str);
1943
- done();
1944
- });
1945
-
1946
- it('works on larger input strings', function (done) {
1947
-
1948
- var input = Fs.readFileSync(Path.join(__dirname, 'index.js')).toString();
1949
- var encoded = Hoek.base64urlEncode(input);
1950
-
1951
- expect(encoded).to.not.contain('+');
1952
- expect(encoded).to.not.contain('/');
1953
-
1954
- var decoded = Hoek.base64urlDecode(encoded);
1955
-
1956
- expect(decoded).to.equal(input);
1957
- done();
1958
- });
1959
- });
1960
-
1961
- describe('base64urlDecode()', function () {
1962
-
1963
- it('should un-base64 URL-safe a string', function (done) {
1964
-
1965
- expect(Hoek.base64urlDecode(base64str)).to.equal(str);
1966
- done();
1967
- });
1968
-
1969
- it('should un-base64 URL-safe a string into hex', function (done) {
1970
-
1971
- expect(Hoek.base64urlDecode(base64str, 'hex')).to.equal(new Buffer(str, 'binary').toString('hex'));
1972
- done();
1973
- });
1974
-
1975
- it('should un-base64 URL-safe a string and return a buffer', function (done) {
1976
-
1977
- var buf = Hoek.base64urlDecode(base64str, 'buffer');
1978
- expect(buf instanceof Buffer).to.equal(true);
1979
- expect(buf.toString('binary')).to.equal(str);
1980
- done();
1981
- });
1982
-
1983
- it('returns error on undefined input', function (done) {
1984
-
1985
- expect(Hoek.base64urlDecode().message).to.exist();
1986
- done();
1987
- });
1988
-
1989
- it('returns error on invalid input', function (done) {
1990
-
1991
- expect(Hoek.base64urlDecode('*').message).to.exist();
1992
- done();
1993
- });
1994
- });
1995
- });
1996
-
1997
- describe('escapeHeaderAttribute()', function () {
1998
-
1999
- it('should not alter ascii values', function (done) {
2000
-
2001
- var a = Hoek.escapeHeaderAttribute('My Value');
2002
- expect(a).to.equal('My Value');
2003
- done();
2004
- });
2005
-
2006
- it('escapes all special HTTP header attribute characters', function (done) {
2007
-
2008
- var a = Hoek.escapeHeaderAttribute('I said go!!!#"' + String.fromCharCode(92));
2009
- expect(a).to.equal('I said go!!!#\\"\\\\');
2010
- done();
2011
- });
2012
-
2013
- it('throws on large unicode characters', function (done) {
2014
-
2015
- var fn = function () {
2016
-
2017
- Hoek.escapeHeaderAttribute('this is a test' + String.fromCharCode(500) + String.fromCharCode(300));
2018
- };
2019
-
2020
- expect(fn).to.throw(Error);
2021
- done();
2022
- });
2023
-
2024
- it('throws on CRLF to prevent response splitting', function (done) {
2025
-
2026
- var fn = function () {
2027
-
2028
- Hoek.escapeHeaderAttribute('this is a test\r\n');
2029
- };
2030
-
2031
- expect(fn).to.throw(Error);
2032
- done();
2033
- });
2034
- });
2035
-
2036
- describe('escapeHtml()', function () {
2037
-
2038
- it('escapes all special HTML characters', function (done) {
2039
-
2040
- var a = Hoek.escapeHtml('&<>"\'`');
2041
- expect(a).to.equal('&amp;&lt;&gt;&quot;&#x27;&#x60;');
2042
- done();
2043
- });
2044
-
2045
- it('returns empty string on falsy input', function (done) {
2046
-
2047
- var a = Hoek.escapeHtml('');
2048
- expect(a).to.equal('');
2049
- done();
2050
- });
2051
-
2052
- it('returns unchanged string on no reserved input', function (done) {
2053
-
2054
- var a = Hoek.escapeHtml('abc');
2055
- expect(a).to.equal('abc');
2056
- done();
2057
- });
2058
- });
2059
-
2060
- describe('nextTick()', function () {
2061
-
2062
- it('calls the provided callback on nextTick', function (done) {
2063
-
2064
- var a = 0;
2065
-
2066
- var inc = function (step, next) {
2067
-
2068
- a += step;
2069
- next();
2070
- };
2071
-
2072
- var ticked = Hoek.nextTick(inc);
2073
-
2074
- ticked(5, function () {
2075
-
2076
- expect(a).to.equal(6);
2077
- done();
2078
- });
2079
-
2080
- expect(a).to.equal(0);
2081
- inc(1, function () {
2082
-
2083
- expect(a).to.equal(1);
2084
- });
2085
- });
2086
- });
2087
-
2088
- describe('once()', function () {
2089
-
2090
- it('allows function to only execute once', function (done) {
2091
-
2092
- var gen = 0;
2093
- var add = function (x) {
2094
-
2095
- gen += x;
2096
- };
2097
-
2098
- add(5);
2099
- expect(gen).to.equal(5);
2100
- add = Hoek.once(add);
2101
- add(5);
2102
- expect(gen).to.equal(10);
2103
- add(5);
2104
- expect(gen).to.equal(10);
2105
- done();
2106
- });
2107
-
2108
- it('double once wraps one time', function (done) {
2109
-
2110
- var method = function () { };
2111
- method = Hoek.once(method);
2112
- method.x = 1;
2113
- method = Hoek.once(method);
2114
- expect(method.x).to.equal(1);
2115
- done();
2116
- });
2117
- });
2118
-
2119
- describe('isAbsoltePath()', function () {
2120
-
2121
- it('identifies if path is absolute on Unix without node support', { parallel: false }, function (done) {
2122
-
2123
- var orig = Path.isAbsolute;
2124
- Path.isAbsolute = undefined;
2125
-
2126
- expect(Hoek.isAbsolutePath('')).to.equal(false);
2127
- expect(Hoek.isAbsolutePath('a')).to.equal(false);
2128
- expect(Hoek.isAbsolutePath('./a')).to.equal(false);
2129
- expect(Hoek.isAbsolutePath('/a')).to.equal(true);
2130
- expect(Hoek.isAbsolutePath('/')).to.equal(true);
2131
-
2132
- Path.isAbsolute = orig;
2133
-
2134
- done();
2135
- });
2136
-
2137
- it('identifies if path is absolute with fake node support', { parallel: false }, function (done) {
2138
-
2139
- var orig = Path.isAbsolute;
2140
- Path.isAbsolute = function (path) {
2141
-
2142
- return path[0] === '/';
2143
- };
2144
-
2145
- expect(Hoek.isAbsolutePath('', 'linux')).to.equal(false);
2146
- expect(Hoek.isAbsolutePath('a', 'linux')).to.equal(false);
2147
- expect(Hoek.isAbsolutePath('./a', 'linux')).to.equal(false);
2148
- expect(Hoek.isAbsolutePath('/a', 'linux')).to.equal(true);
2149
- expect(Hoek.isAbsolutePath('/', 'linux')).to.equal(true);
2150
-
2151
- Path.isAbsolute = orig;
2152
-
2153
- done();
2154
- });
2155
-
2156
- it('identifies if path is absolute on Windows without node support', { parallel: false }, function (done) {
2157
-
2158
- var orig = Path.isAbsolute;
2159
- Path.isAbsolute = undefined;
2160
-
2161
- expect(Hoek.isAbsolutePath('//server/file', 'win32')).to.equal(true);
2162
- expect(Hoek.isAbsolutePath('//server/file', 'win32')).to.equal(true);
2163
- expect(Hoek.isAbsolutePath('\\\\server\\file', 'win32')).to.equal(true);
2164
- expect(Hoek.isAbsolutePath('C:/Users/', 'win32')).to.equal(true);
2165
- expect(Hoek.isAbsolutePath('C:\\Users\\', 'win32')).to.equal(true);
2166
- expect(Hoek.isAbsolutePath('C:cwd/another', 'win32')).to.equal(false);
2167
- expect(Hoek.isAbsolutePath('C:cwd\\another', 'win32')).to.equal(false);
2168
- expect(Hoek.isAbsolutePath('directory/directory', 'win32')).to.equal(false);
2169
- expect(Hoek.isAbsolutePath('directory\\directory', 'win32')).to.equal(false);
2170
-
2171
- Path.isAbsolute = orig;
2172
-
2173
- done();
2174
- });
2175
- });
2176
-
2177
- describe('isInteger()', function () {
2178
-
2179
- it('validates integers', function (done) {
2180
-
2181
- expect(Hoek.isInteger(0)).to.equal(true);
2182
- expect(Hoek.isInteger(1)).to.equal(true);
2183
- expect(Hoek.isInteger(1394035612500)).to.equal(true);
2184
- expect(Hoek.isInteger('0')).to.equal(false);
2185
- expect(Hoek.isInteger(1.0)).to.equal(true);
2186
- expect(Hoek.isInteger(1.1)).to.equal(false);
2187
- done();
2188
- });
2189
- });
2190
-
2191
- describe('ignore()', function () {
2192
-
2193
- it('exists', function (done) {
2194
-
2195
- expect(Hoek.ignore).to.exist();
2196
- expect(typeof Hoek.ignore).to.equal('function');
2197
- done();
2198
- });
2199
- });
2200
-
2201
- describe('inherits()', function () {
2202
-
2203
- it('exists', function (done) {
2204
-
2205
- expect(Hoek.inherits).to.exist();
2206
- expect(typeof Hoek.inherits).to.equal('function');
2207
- done();
2208
- });
2209
- });
2210
-
2211
- describe('format()', function () {
2212
-
2213
- it('exists', function (done) {
2214
-
2215
- expect(Hoek.format).to.exist();
2216
- expect(typeof Hoek.format).to.equal('function');
2217
- done();
2218
- });
2219
-
2220
- it('is a reference to Util.format', function (done) {
2221
-
2222
- expect(Hoek.format('hello %s', 'world')).to.equal('hello world');
2223
- done();
2224
- });
2225
- });
2226
-
2227
- describe('transform()', function () {
2228
-
2229
- var source = {
2230
- address: {
2231
- one: '123 main street',
2232
- two: 'PO Box 1234'
2233
- },
2234
- zip: {
2235
- code: 3321232,
2236
- province: null
2237
- },
2238
- title: 'Warehouse',
2239
- state: 'CA'
2240
- };
2241
-
2242
- var sourcesArray = [{
2243
- address: {
2244
- one: '123 main street',
2245
- two: 'PO Box 1234'
2246
- },
2247
- zip: {
2248
- code: 3321232,
2249
- province: null
2250
- },
2251
- title: 'Warehouse',
2252
- state: 'CA'
2253
- }, {
2254
- address: {
2255
- one: '456 market street',
2256
- two: 'PO Box 5678'
2257
- },
2258
- zip: {
2259
- code: 9876,
2260
- province: null
2261
- },
2262
- title: 'Garage',
2263
- state: 'NY'
2264
- }];
2265
-
2266
- it('transforms an object based on the input object', function (done) {
2267
-
2268
- var result = Hoek.transform(source, {
2269
- 'person.address.lineOne': 'address.one',
2270
- 'person.address.lineTwo': 'address.two',
2271
- 'title': 'title',
2272
- 'person.address.region': 'state',
2273
- 'person.address.zip': 'zip.code',
2274
- 'person.address.location': 'zip.province'
2275
- });
2276
-
2277
- expect(result).to.deep.equal({
2278
- person: {
2279
- address: {
2280
- lineOne: '123 main street',
2281
- lineTwo: 'PO Box 1234',
2282
- region: 'CA',
2283
- zip: 3321232,
2284
- location: null
2285
- }
2286
- },
2287
- title: 'Warehouse'
2288
- });
2289
-
2290
- done();
2291
- });
2292
-
2293
- it('transforms an array of objects based on the input object', function (done) {
2294
-
2295
- var result = Hoek.transform(sourcesArray, {
2296
- 'person.address.lineOne': 'address.one',
2297
- 'person.address.lineTwo': 'address.two',
2298
- 'title': 'title',
2299
- 'person.address.region': 'state',
2300
- 'person.address.zip': 'zip.code',
2301
- 'person.address.location': 'zip.province'
2302
- });
2303
-
2304
- expect(result).to.deep.equal([
2305
- {
2306
- person: {
2307
- address: {
2308
- lineOne: '123 main street',
2309
- lineTwo: 'PO Box 1234',
2310
- region: 'CA',
2311
- zip: 3321232,
2312
- location: null
2313
- }
2314
- },
2315
- title: 'Warehouse'
2316
- },
2317
- {
2318
- person: {
2319
- address: {
2320
- lineOne: '456 market street',
2321
- lineTwo: 'PO Box 5678',
2322
- region: 'NY',
2323
- zip: 9876,
2324
- location: null
2325
- }
2326
- },
2327
- title: 'Garage'
2328
- }
2329
- ]);
2330
-
2331
- done();
2332
- });
2333
-
2334
- it('uses the reach options passed into it', function (done) {
2335
-
2336
- var schema = {
2337
- 'person.address.lineOne': 'address-one',
2338
- 'person.address.lineTwo': 'address-two',
2339
- 'title': 'title',
2340
- 'person.address.region': 'state',
2341
- 'person.prefix': 'person-title',
2342
- 'person.zip': 'zip-code'
2343
- };
2344
- var options = {
2345
- separator: '-',
2346
- default: 'unknown'
2347
- };
2348
- var result = Hoek.transform(source, schema, options);
2349
-
2350
- expect(result).to.deep.equal({
2351
- person: {
2352
- address: {
2353
- lineOne: '123 main street',
2354
- lineTwo: 'PO Box 1234',
2355
- region: 'CA'
2356
- },
2357
- prefix: 'unknown',
2358
- zip: 3321232
2359
- },
2360
- title: 'Warehouse'
2361
- });
2362
-
2363
- done();
2364
- });
2365
-
2366
- it('works to create shallow objects', function (done) {
2367
-
2368
- var result = Hoek.transform(source, {
2369
- lineOne: 'address.one',
2370
- lineTwo: 'address.two',
2371
- title: 'title',
2372
- region: 'state',
2373
- province: 'zip.province'
2374
- });
2375
-
2376
- expect(result).to.deep.equal({
2377
- lineOne: '123 main street',
2378
- lineTwo: 'PO Box 1234',
2379
- title: 'Warehouse',
2380
- region: 'CA',
2381
- province: null
2382
- });
2383
-
2384
- done();
2385
- });
2386
-
2387
- it('only allows strings in the map', function (done) {
2388
-
2389
- expect(function () {
2390
-
2391
- var result = Hoek.transform(source, {
2392
- lineOne: {}
2393
- });
2394
- }).to.throw('All mappings must be "." delineated strings');
2395
-
2396
- done();
2397
- });
2398
-
2399
- it('throws an error on invalid arguments', function (done) {
2400
-
2401
- expect(function () {
2402
-
2403
- var result = Hoek.transform(NaN, {});
2404
- }).to.throw('Invalid source object: must be null, undefined, an object, or an array');
2405
-
2406
- done();
2407
- });
2408
-
2409
- it('is safe to pass null', function (done) {
2410
-
2411
- var result = Hoek.transform(null, {});
2412
- expect(result).to.deep.equal({});
2413
-
2414
- done();
2415
- });
2416
-
2417
- it('is safe to pass undefined', function (done) {
2418
-
2419
- var result = Hoek.transform(undefined, {});
2420
- expect(result).to.deep.equal({});
2421
-
2422
- done();
2423
- });
2424
- });
2425
-
2426
- describe('uniqueFilename()', function () {
2427
-
2428
- it('generates a random file path', function (done) {
2429
-
2430
- var result = Hoek.uniqueFilename('./test/modules');
2431
-
2432
- expect(result).to.exist();
2433
- expect(result).to.be.a.string();
2434
- expect(result).to.contain('test/modules');
2435
- done();
2436
- });
2437
-
2438
- it('is random enough to use in fast loops', function (done) {
2439
-
2440
- var results = [];
2441
-
2442
- for (var i = 0; i < 10; ++i) {
2443
- results[i] = Hoek.uniqueFilename('./test/modules');
2444
- }
2445
-
2446
- var filter = results.filter(function (item, index, array) {
2447
-
2448
- return array.indexOf(item) === index;
2449
- });
2450
-
2451
- expect(filter.length).to.equal(10);
2452
- expect(results.length).to.equal(10);
2453
- done();
2454
-
2455
- });
2456
-
2457
- it('combines the random elements with a supplied character', function (done) {
2458
-
2459
- var result = Hoek.uniqueFilename('./test', 'txt');
2460
-
2461
- expect(result).to.contain('test/');
2462
- expect(result).to.contain('.txt');
2463
-
2464
- done();
2465
- });
2466
-
2467
- it('accepts extensions with a "." in it', function (done) {
2468
-
2469
- var result = Hoek.uniqueFilename('./test', '.mp3');
2470
-
2471
- expect(result).to.contain('test/');
2472
- expect(result).to.contain('.mp3');
2473
-
2474
- done();
2475
- });
2476
- });
2477
-
2478
- describe('stringify()', function (done) {
2479
-
2480
- it('converts object to string', function (done) {
2481
-
2482
- var obj = { a: 1 };
2483
- expect(Hoek.stringify(obj)).to.equal('{"a":1}');
2484
- done();
2485
- });
2486
-
2487
- it('returns error in result string', function (done) {
2488
-
2489
- var obj = { a: 1 };
2490
- obj.b = obj;
2491
- expect(Hoek.stringify(obj)).to.equal('[Cannot display object: Converting circular structure to JSON]');
2492
- done();
2493
- });
2494
- });
2495
-
2496
- describe('shallow()', function (done) {
2497
-
2498
- it('shallow copies an object', function (done) {
2499
-
2500
- var obj = {
2501
- a: 5,
2502
- b: {
2503
- c: 6
2504
- }
2505
- };
2506
-
2507
- var shallow = Hoek.shallow(obj);
2508
- expect(shallow).to.not.equal(obj);
2509
- expect(shallow).to.deep.equal(obj);
2510
- expect(shallow.b).to.equal(obj.b);
2511
- done();
2512
- });
2513
- });