embeditor-rails 2.0.0.beta → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1024) hide show
  1. checksums.yaml +7 -0
  2. data/lib/embeditor-rails/version.rb +1 -1
  3. metadata +51 -1056
  4. data/lib/node_modules/npm/AUTHORS +0 -158
  5. data/lib/node_modules/npm/CONTRIBUTING.md +0 -9
  6. data/lib/node_modules/npm/LICENSE +0 -235
  7. data/lib/node_modules/npm/Makefile +0 -216
  8. data/lib/node_modules/npm/README.md +0 -241
  9. data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp +0 -2
  10. data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +0 -1
  11. data/lib/node_modules/npm/bin/npm +0 -13
  12. data/lib/node_modules/npm/bin/npm-cli.js +0 -87
  13. data/lib/node_modules/npm/bin/npm.cmd +0 -6
  14. data/lib/node_modules/npm/bin/read-package-json.js +0 -22
  15. data/lib/node_modules/npm/cli.js +0 -2
  16. data/lib/node_modules/npm/configure +0 -33
  17. data/lib/node_modules/npm/doc/api/npm-bin.md +0 -13
  18. data/lib/node_modules/npm/doc/api/npm-bugs.md +0 -19
  19. data/lib/node_modules/npm/doc/api/npm-commands.md +0 -22
  20. data/lib/node_modules/npm/doc/api/npm-config.md +0 -45
  21. data/lib/node_modules/npm/doc/api/npm-deprecate.md +0 -34
  22. data/lib/node_modules/npm/doc/api/npm-docs.md +0 -19
  23. data/lib/node_modules/npm/doc/api/npm-edit.md +0 -24
  24. data/lib/node_modules/npm/doc/api/npm-explore.md +0 -18
  25. data/lib/node_modules/npm/doc/api/npm-help-search.md +0 -30
  26. data/lib/node_modules/npm/doc/api/npm-init.md +0 -29
  27. data/lib/node_modules/npm/doc/api/npm-install.md +0 -19
  28. data/lib/node_modules/npm/doc/api/npm-link.md +0 -33
  29. data/lib/node_modules/npm/doc/api/npm-load.md +0 -26
  30. data/lib/node_modules/npm/doc/api/npm-ls.md +0 -56
  31. data/lib/node_modules/npm/doc/api/npm-outdated.md +0 -13
  32. data/lib/node_modules/npm/doc/api/npm-owner.md +0 -31
  33. data/lib/node_modules/npm/doc/api/npm-pack.md +0 -19
  34. data/lib/node_modules/npm/doc/api/npm-prefix.md +0 -15
  35. data/lib/node_modules/npm/doc/api/npm-prune.md +0 -17
  36. data/lib/node_modules/npm/doc/api/npm-publish.md +0 -30
  37. data/lib/node_modules/npm/doc/api/npm-rebuild.md +0 -16
  38. data/lib/node_modules/npm/doc/api/npm-repo.md +0 -19
  39. data/lib/node_modules/npm/doc/api/npm-restart.md +0 -22
  40. data/lib/node_modules/npm/doc/api/npm-root.md +0 -15
  41. data/lib/node_modules/npm/doc/api/npm-run-script.md +0 -27
  42. data/lib/node_modules/npm/doc/api/npm-search.md +0 -35
  43. data/lib/node_modules/npm/doc/api/npm-shrinkwrap.md +0 -20
  44. data/lib/node_modules/npm/doc/api/npm-start.md +0 -13
  45. data/lib/node_modules/npm/doc/api/npm-stop.md +0 -13
  46. data/lib/node_modules/npm/doc/api/npm-submodule.md +0 -28
  47. data/lib/node_modules/npm/doc/api/npm-tag.md +0 -23
  48. data/lib/node_modules/npm/doc/api/npm-test.md +0 -16
  49. data/lib/node_modules/npm/doc/api/npm-uninstall.md +0 -16
  50. data/lib/node_modules/npm/doc/api/npm-unpublish.md +0 -20
  51. data/lib/node_modules/npm/doc/api/npm-update.md +0 -11
  52. data/lib/node_modules/npm/doc/api/npm-version.md +0 -18
  53. data/lib/node_modules/npm/doc/api/npm-view.md +0 -93
  54. data/lib/node_modules/npm/doc/api/npm-whoami.md +0 -15
  55. data/lib/node_modules/npm/doc/api/npm.md +0 -116
  56. data/lib/node_modules/npm/doc/cli/npm-adduser.md +0 -38
  57. data/lib/node_modules/npm/doc/cli/npm-bin.md +0 -19
  58. data/lib/node_modules/npm/doc/cli/npm-bugs.md +0 -42
  59. data/lib/node_modules/npm/doc/cli/npm-build.md +0 -22
  60. data/lib/node_modules/npm/doc/cli/npm-bundle.md +0 -14
  61. data/lib/node_modules/npm/doc/cli/npm-cache.md +0 -72
  62. data/lib/node_modules/npm/doc/cli/npm-completion.md +0 -29
  63. data/lib/node_modules/npm/doc/cli/npm-config.md +0 -71
  64. data/lib/node_modules/npm/doc/cli/npm-dedupe.md +0 -58
  65. data/lib/node_modules/npm/doc/cli/npm-deprecate.md +0 -26
  66. data/lib/node_modules/npm/doc/cli/npm-docs.md +0 -44
  67. data/lib/node_modules/npm/doc/cli/npm-edit.md +0 -37
  68. data/lib/node_modules/npm/doc/cli/npm-explore.md +0 -40
  69. data/lib/node_modules/npm/doc/cli/npm-help-search.md +0 -35
  70. data/lib/node_modules/npm/doc/cli/npm-help.md +0 -40
  71. data/lib/node_modules/npm/doc/cli/npm-init.md +0 -25
  72. data/lib/node_modules/npm/doc/cli/npm-install.md +0 -252
  73. data/lib/node_modules/npm/doc/cli/npm-link.md +0 -63
  74. data/lib/node_modules/npm/doc/cli/npm-ls.md +0 -80
  75. data/lib/node_modules/npm/doc/cli/npm-outdated.md +0 -58
  76. data/lib/node_modules/npm/doc/cli/npm-owner.md +0 -33
  77. data/lib/node_modules/npm/doc/cli/npm-pack.md +0 -27
  78. data/lib/node_modules/npm/doc/cli/npm-prefix.md +0 -19
  79. data/lib/node_modules/npm/doc/cli/npm-prune.md +0 -25
  80. data/lib/node_modules/npm/doc/cli/npm-publish.md +0 -30
  81. data/lib/node_modules/npm/doc/cli/npm-rebuild.md +0 -21
  82. data/lib/node_modules/npm/doc/cli/npm-repo.md +0 -28
  83. data/lib/node_modules/npm/doc/cli/npm-restart.md +0 -22
  84. data/lib/node_modules/npm/doc/cli/npm-rm.md +0 -23
  85. data/lib/node_modules/npm/doc/cli/npm-root.md +0 -19
  86. data/lib/node_modules/npm/doc/cli/npm-run-script.md +0 -21
  87. data/lib/node_modules/npm/doc/cli/npm-search.md +0 -36
  88. data/lib/node_modules/npm/doc/cli/npm-shrinkwrap.md +0 -185
  89. data/lib/node_modules/npm/doc/cli/npm-star.md +0 -22
  90. data/lib/node_modules/npm/doc/cli/npm-stars.md +0 -22
  91. data/lib/node_modules/npm/doc/cli/npm-start.md +0 -18
  92. data/lib/node_modules/npm/doc/cli/npm-stop.md +0 -18
  93. data/lib/node_modules/npm/doc/cli/npm-submodule.md +0 -28
  94. data/lib/node_modules/npm/doc/cli/npm-tag.md +0 -34
  95. data/lib/node_modules/npm/doc/cli/npm-test.md +0 -22
  96. data/lib/node_modules/npm/doc/cli/npm-uninstall.md +0 -21
  97. data/lib/node_modules/npm/doc/cli/npm-unpublish.md +0 -32
  98. data/lib/node_modules/npm/doc/cli/npm-update.md +0 -24
  99. data/lib/node_modules/npm/doc/cli/npm-version.md +0 -45
  100. data/lib/node_modules/npm/doc/cli/npm-view.md +0 -90
  101. data/lib/node_modules/npm/doc/cli/npm-whoami.md +0 -17
  102. data/lib/node_modules/npm/doc/cli/npm.md +0 -153
  103. data/lib/node_modules/npm/doc/files/npm-folders.md +0 -211
  104. data/lib/node_modules/npm/doc/files/npmrc.md +0 -59
  105. data/lib/node_modules/npm/doc/files/package.json.md +0 -576
  106. data/lib/node_modules/npm/doc/misc/npm-coding-style.md +0 -181
  107. data/lib/node_modules/npm/doc/misc/npm-config.md +0 -820
  108. data/lib/node_modules/npm/doc/misc/npm-developers.md +0 -207
  109. data/lib/node_modules/npm/doc/misc/npm-disputes.md +0 -99
  110. data/lib/node_modules/npm/doc/misc/npm-faq.md +0 -364
  111. data/lib/node_modules/npm/doc/misc/npm-index.md +0 -411
  112. data/lib/node_modules/npm/doc/misc/npm-registry.md +0 -69
  113. data/lib/node_modules/npm/doc/misc/npm-scripts.md +0 -245
  114. data/lib/node_modules/npm/doc/misc/removing-npm.md +0 -54
  115. data/lib/node_modules/npm/doc/misc/semver.md +0 -111
  116. data/lib/node_modules/npm/html/doc/README.html +0 -276
  117. data/lib/node_modules/npm/html/doc/api/npm-bin.html +0 -53
  118. data/lib/node_modules/npm/html/doc/api/npm-bugs.html +0 -59
  119. data/lib/node_modules/npm/html/doc/api/npm-commands.html +0 -62
  120. data/lib/node_modules/npm/html/doc/api/npm-config.html +0 -67
  121. data/lib/node_modules/npm/html/doc/api/npm-deprecate.html +0 -66
  122. data/lib/node_modules/npm/html/doc/api/npm-docs.html +0 -59
  123. data/lib/node_modules/npm/html/doc/api/npm-edit.html +0 -64
  124. data/lib/node_modules/npm/html/doc/api/npm-explore.html +0 -58
  125. data/lib/node_modules/npm/html/doc/api/npm-help-search.html +0 -66
  126. data/lib/node_modules/npm/html/doc/api/npm-init.html +0 -69
  127. data/lib/node_modules/npm/html/doc/api/npm-install.html +0 -59
  128. data/lib/node_modules/npm/html/doc/api/npm-link.html +0 -73
  129. data/lib/node_modules/npm/html/doc/api/npm-load.html +0 -66
  130. data/lib/node_modules/npm/html/doc/api/npm-ls.html +0 -93
  131. data/lib/node_modules/npm/html/doc/api/npm-outdated.html +0 -53
  132. data/lib/node_modules/npm/html/doc/api/npm-owner.html +0 -68
  133. data/lib/node_modules/npm/html/doc/api/npm-pack.html +0 -59
  134. data/lib/node_modules/npm/html/doc/api/npm-prefix.html +0 -55
  135. data/lib/node_modules/npm/html/doc/api/npm-prune.html +0 -57
  136. data/lib/node_modules/npm/html/doc/api/npm-publish.html +0 -66
  137. data/lib/node_modules/npm/html/doc/api/npm-rebuild.html +0 -56
  138. data/lib/node_modules/npm/html/doc/api/npm-repo.html +0 -59
  139. data/lib/node_modules/npm/html/doc/api/npm-restart.html +0 -61
  140. data/lib/node_modules/npm/html/doc/api/npm-root.html +0 -55
  141. data/lib/node_modules/npm/html/doc/api/npm-run-script.html +0 -63
  142. data/lib/node_modules/npm/html/doc/api/npm-search.html +0 -66
  143. data/lib/node_modules/npm/html/doc/api/npm-shrinkwrap.html +0 -60
  144. data/lib/node_modules/npm/html/doc/api/npm-start.html +0 -53
  145. data/lib/node_modules/npm/html/doc/api/npm-stop.html +0 -53
  146. data/lib/node_modules/npm/html/doc/api/npm-submodule.html +0 -67
  147. data/lib/node_modules/npm/html/doc/api/npm-tag.html +0 -63
  148. data/lib/node_modules/npm/html/doc/api/npm-test.html +0 -56
  149. data/lib/node_modules/npm/html/doc/api/npm-uninstall.html +0 -56
  150. data/lib/node_modules/npm/html/doc/api/npm-unpublish.html +0 -60
  151. data/lib/node_modules/npm/html/doc/api/npm-update.html +0 -52
  152. data/lib/node_modules/npm/html/doc/api/npm-version.html +0 -58
  153. data/lib/node_modules/npm/html/doc/api/npm-view.html +0 -133
  154. data/lib/node_modules/npm/html/doc/api/npm-whoami.html +0 -55
  155. data/lib/node_modules/npm/html/doc/api/npm.html +0 -126
  156. data/lib/node_modules/npm/html/doc/cli/npm-adduser.html +0 -73
  157. data/lib/node_modules/npm/html/doc/cli/npm-bin.html +0 -54
  158. data/lib/node_modules/npm/html/doc/cli/npm-bugs.html +0 -72
  159. data/lib/node_modules/npm/html/doc/cli/npm-build.html +0 -59
  160. data/lib/node_modules/npm/html/doc/cli/npm-bundle.html +0 -54
  161. data/lib/node_modules/npm/html/doc/cli/npm-cache.html +0 -100
  162. data/lib/node_modules/npm/html/doc/cli/npm-completion.html +0 -67
  163. data/lib/node_modules/npm/html/doc/cli/npm-config.html +0 -107
  164. data/lib/node_modules/npm/html/doc/cli/npm-dedupe.html +0 -96
  165. data/lib/node_modules/npm/html/doc/cli/npm-deprecate.html +0 -65
  166. data/lib/node_modules/npm/html/doc/cli/npm-docs.html +0 -75
  167. data/lib/node_modules/npm/html/doc/cli/npm-edit.html +0 -71
  168. data/lib/node_modules/npm/html/doc/cli/npm-explore.html +0 -74
  169. data/lib/node_modules/npm/html/doc/cli/npm-help-search.html +0 -72
  170. data/lib/node_modules/npm/html/doc/cli/npm-help.html +0 -70
  171. data/lib/node_modules/npm/html/doc/cli/npm-init.html +0 -63
  172. data/lib/node_modules/npm/html/doc/cli/npm-install.html +0 -183
  173. data/lib/node_modules/npm/html/doc/cli/npm-link.html +0 -96
  174. data/lib/node_modules/npm/html/doc/cli/npm-ls.html +0 -108
  175. data/lib/node_modules/npm/html/doc/cli/npm-outdated.html +0 -92
  176. data/lib/node_modules/npm/html/doc/cli/npm-owner.html +0 -68
  177. data/lib/node_modules/npm/html/doc/cli/npm-pack.html +0 -63
  178. data/lib/node_modules/npm/html/doc/cli/npm-prefix.html +0 -54
  179. data/lib/node_modules/npm/html/doc/cli/npm-prune.html +0 -63
  180. data/lib/node_modules/npm/html/doc/cli/npm-publish.html +0 -63
  181. data/lib/node_modules/npm/html/doc/cli/npm-rebuild.html +0 -60
  182. data/lib/node_modules/npm/html/doc/cli/npm-repo.html +0 -66
  183. data/lib/node_modules/npm/html/doc/cli/npm-restart.html +0 -58
  184. data/lib/node_modules/npm/html/doc/cli/npm-rm.html +0 -58
  185. data/lib/node_modules/npm/html/doc/cli/npm-root.html +0 -54
  186. data/lib/node_modules/npm/html/doc/cli/npm-run-script.html +0 -57
  187. data/lib/node_modules/npm/html/doc/cli/npm-search.html +0 -71
  188. data/lib/node_modules/npm/html/doc/cli/npm-shrinkwrap.html +0 -217
  189. data/lib/node_modules/npm/html/doc/cli/npm-star.html +0 -60
  190. data/lib/node_modules/npm/html/doc/cli/npm-stars.html +0 -59
  191. data/lib/node_modules/npm/html/doc/cli/npm-start.html +0 -54
  192. data/lib/node_modules/npm/html/doc/cli/npm-stop.html +0 -54
  193. data/lib/node_modules/npm/html/doc/cli/npm-submodule.html +0 -67
  194. data/lib/node_modules/npm/html/doc/cli/npm-tag.html +0 -68
  195. data/lib/node_modules/npm/html/doc/cli/npm-test.html +0 -58
  196. data/lib/node_modules/npm/html/doc/cli/npm-uninstall.html +0 -56
  197. data/lib/node_modules/npm/html/doc/cli/npm-unpublish.html +0 -68
  198. data/lib/node_modules/npm/html/doc/cli/npm-update.html +0 -60
  199. data/lib/node_modules/npm/html/doc/cli/npm-version.html +0 -83
  200. data/lib/node_modules/npm/html/doc/cli/npm-view.html +0 -125
  201. data/lib/node_modules/npm/html/doc/cli/npm-whoami.html +0 -54
  202. data/lib/node_modules/npm/html/doc/cli/npm.html +0 -165
  203. data/lib/node_modules/npm/html/doc/files/npm-folders.html +0 -239
  204. data/lib/node_modules/npm/html/doc/files/npm-global.html +0 -239
  205. data/lib/node_modules/npm/html/doc/files/npm-json.html +0 -580
  206. data/lib/node_modules/npm/html/doc/files/npmrc.html +0 -93
  207. data/lib/node_modules/npm/html/doc/files/package.json.html +0 -580
  208. data/lib/node_modules/npm/html/doc/index.html +0 -450
  209. data/lib/node_modules/npm/html/doc/misc/npm-coding-style.html +0 -216
  210. data/lib/node_modules/npm/html/doc/misc/npm-config.html +0 -744
  211. data/lib/node_modules/npm/html/doc/misc/npm-developers.html +0 -208
  212. data/lib/node_modules/npm/html/doc/misc/npm-disputes.html +0 -126
  213. data/lib/node_modules/npm/html/doc/misc/npm-faq.html +0 -382
  214. data/lib/node_modules/npm/html/doc/misc/npm-index.html +0 -450
  215. data/lib/node_modules/npm/html/doc/misc/npm-registry.html +0 -105
  216. data/lib/node_modules/npm/html/doc/misc/npm-scripts.html +0 -257
  217. data/lib/node_modules/npm/html/doc/misc/removing-npm.html +0 -92
  218. data/lib/node_modules/npm/html/doc/misc/semver.html +0 -128
  219. data/lib/node_modules/npm/html/docfoot-script.html +0 -31
  220. data/lib/node_modules/npm/html/docfoot.html +0 -2
  221. data/lib/node_modules/npm/html/dochead.html +0 -8
  222. data/lib/node_modules/npm/html/favicon.ico +0 -0
  223. data/lib/node_modules/npm/html/index.html +0 -95
  224. data/lib/node_modules/npm/html/static/style.css +0 -329
  225. data/lib/node_modules/npm/lib/adduser.js +0 -138
  226. data/lib/node_modules/npm/lib/bin.js +0 -18
  227. data/lib/node_modules/npm/lib/bugs.js +0 -61
  228. data/lib/node_modules/npm/lib/build.js +0 -228
  229. data/lib/node_modules/npm/lib/cache.js +0 -1318
  230. data/lib/node_modules/npm/lib/completion.js +0 -253
  231. data/lib/node_modules/npm/lib/config.js +0 -285
  232. data/lib/node_modules/npm/lib/dedupe.js +0 -357
  233. data/lib/node_modules/npm/lib/deprecate.js +0 -47
  234. data/lib/node_modules/npm/lib/docs.js +0 -62
  235. data/lib/node_modules/npm/lib/edit.js +0 -32
  236. data/lib/node_modules/npm/lib/explore.js +0 -36
  237. data/lib/node_modules/npm/lib/faq.js +0 -8
  238. data/lib/node_modules/npm/lib/get.js +0 -12
  239. data/lib/node_modules/npm/lib/help-search.js +0 -218
  240. data/lib/node_modules/npm/lib/help.js +0 -231
  241. data/lib/node_modules/npm/lib/init.js +0 -36
  242. data/lib/node_modules/npm/lib/install.js +0 -979
  243. data/lib/node_modules/npm/lib/link.js +0 -173
  244. data/lib/node_modules/npm/lib/ls.js +0 -357
  245. data/lib/node_modules/npm/lib/npm.js +0 -528
  246. data/lib/node_modules/npm/lib/outdated.js +0 -303
  247. data/lib/node_modules/npm/lib/owner.js +0 -205
  248. data/lib/node_modules/npm/lib/pack.js +0 -65
  249. data/lib/node_modules/npm/lib/prefix.js +0 -11
  250. data/lib/node_modules/npm/lib/prune.js +0 -53
  251. data/lib/node_modules/npm/lib/publish.js +0 -118
  252. data/lib/node_modules/npm/lib/rebuild.js +0 -75
  253. data/lib/node_modules/npm/lib/repo.js +0 -54
  254. data/lib/node_modules/npm/lib/restart.js +0 -1
  255. data/lib/node_modules/npm/lib/root.js +0 -11
  256. data/lib/node_modules/npm/lib/run-script.js +0 -102
  257. data/lib/node_modules/npm/lib/search.js +0 -265
  258. data/lib/node_modules/npm/lib/set.js +0 -13
  259. data/lib/node_modules/npm/lib/shrinkwrap.js +0 -86
  260. data/lib/node_modules/npm/lib/star.js +0 -33
  261. data/lib/node_modules/npm/lib/stars.js +0 -27
  262. data/lib/node_modules/npm/lib/start.js +0 -1
  263. data/lib/node_modules/npm/lib/stop.js +0 -1
  264. data/lib/node_modules/npm/lib/submodule.js +0 -119
  265. data/lib/node_modules/npm/lib/substack.js +0 -20
  266. data/lib/node_modules/npm/lib/tag.js +0 -18
  267. data/lib/node_modules/npm/lib/test.js +0 -14
  268. data/lib/node_modules/npm/lib/unbuild.js +0 -112
  269. data/lib/node_modules/npm/lib/uninstall.js +0 -127
  270. data/lib/node_modules/npm/lib/unpublish.js +0 -83
  271. data/lib/node_modules/npm/lib/update.js +0 -43
  272. data/lib/node_modules/npm/lib/utils/completion.sh +0 -54
  273. data/lib/node_modules/npm/lib/utils/completion/file-completion.js +0 -26
  274. data/lib/node_modules/npm/lib/utils/completion/installed-deep.js +0 -50
  275. data/lib/node_modules/npm/lib/utils/completion/installed-shallow.js +0 -79
  276. data/lib/node_modules/npm/lib/utils/error-handler.js +0 -343
  277. data/lib/node_modules/npm/lib/utils/fetch.js +0 -93
  278. data/lib/node_modules/npm/lib/utils/find-prefix.js +0 -57
  279. data/lib/node_modules/npm/lib/utils/gently-rm.js +0 -61
  280. data/lib/node_modules/npm/lib/utils/is-git-url.js +0 -13
  281. data/lib/node_modules/npm/lib/utils/lifecycle.js +0 -360
  282. data/lib/node_modules/npm/lib/utils/link.js +0 -39
  283. data/lib/node_modules/npm/lib/utils/tar.js +0 -323
  284. data/lib/node_modules/npm/lib/version.js +0 -120
  285. data/lib/node_modules/npm/lib/view.js +0 -246
  286. data/lib/node_modules/npm/lib/visnup.js +0 -42
  287. data/lib/node_modules/npm/lib/whoami.js +0 -13
  288. data/lib/node_modules/npm/lib/xmas.js +0 -56
  289. data/lib/node_modules/npm/make.bat +0 -3
  290. data/lib/node_modules/npm/man/man1/npm-README.1 +0 -328
  291. data/lib/node_modules/npm/man/man1/npm-adduser.1 +0 -63
  292. data/lib/node_modules/npm/man/man1/npm-bin.1 +0 -40
  293. data/lib/node_modules/npm/man/man1/npm-bugs.1 +0 -78
  294. data/lib/node_modules/npm/man/man1/npm-build.1 +0 -43
  295. data/lib/node_modules/npm/man/man1/npm-bundle.1 +0 -23
  296. data/lib/node_modules/npm/man/man1/npm-cache.1 +0 -104
  297. data/lib/node_modules/npm/man/man1/npm-completion.1 +0 -47
  298. data/lib/node_modules/npm/man/man1/npm-config.1 +0 -113
  299. data/lib/node_modules/npm/man/man1/npm-dedupe.1 +0 -96
  300. data/lib/node_modules/npm/man/man1/npm-deprecate.1 +0 -48
  301. data/lib/node_modules/npm/man/man1/npm-docs.1 +0 -78
  302. data/lib/node_modules/npm/man/man1/npm-edit.1 +0 -66
  303. data/lib/node_modules/npm/man/man1/npm-explore.1 +0 -76
  304. data/lib/node_modules/npm/man/man1/npm-help-search.1 +0 -59
  305. data/lib/node_modules/npm/man/man1/npm-help.1 +0 -77
  306. data/lib/node_modules/npm/man/man1/npm-init.1 +0 -43
  307. data/lib/node_modules/npm/man/man1/npm-install.1 +0 -434
  308. data/lib/node_modules/npm/man/man1/npm-link.1 +0 -119
  309. data/lib/node_modules/npm/man/man1/npm-ls.1 +0 -146
  310. data/lib/node_modules/npm/man/man1/npm-outdated.1 +0 -102
  311. data/lib/node_modules/npm/man/man1/npm-owner.1 +0 -58
  312. data/lib/node_modules/npm/man/man1/npm-pack.1 +0 -48
  313. data/lib/node_modules/npm/man/man1/npm-prefix.1 +0 -40
  314. data/lib/node_modules/npm/man/man1/npm-prune.1 +0 -42
  315. data/lib/node_modules/npm/man/man1/npm-publish.1 +0 -53
  316. data/lib/node_modules/npm/man/man1/npm-rebuild.1 +0 -37
  317. data/lib/node_modules/npm/man/man1/npm-repo.1 +0 -47
  318. data/lib/node_modules/npm/man/man1/npm-restart.1 +0 -42
  319. data/lib/node_modules/npm/man/man1/npm-rm.1 +0 -44
  320. data/lib/node_modules/npm/man/man1/npm-root.1 +0 -40
  321. data/lib/node_modules/npm/man/man1/npm-run-script.1 +0 -41
  322. data/lib/node_modules/npm/man/man1/npm-search.1 +0 -62
  323. data/lib/node_modules/npm/man/man1/npm-shrinkwrap.1 +0 -275
  324. data/lib/node_modules/npm/man/man1/npm-star.1 +0 -39
  325. data/lib/node_modules/npm/man/man1/npm-stars.1 +0 -40
  326. data/lib/node_modules/npm/man/man1/npm-start.1 +0 -37
  327. data/lib/node_modules/npm/man/man1/npm-stop.1 +0 -37
  328. data/lib/node_modules/npm/man/man1/npm-submodule.1 +0 -42
  329. data/lib/node_modules/npm/man/man1/npm-tag.1 +0 -74
  330. data/lib/node_modules/npm/man/man1/npm-test.1 +0 -42
  331. data/lib/node_modules/npm/man/man1/npm-uninstall.1 +0 -42
  332. data/lib/node_modules/npm/man/man1/npm-unpublish.1 +0 -53
  333. data/lib/node_modules/npm/man/man1/npm-update.1 +0 -45
  334. data/lib/node_modules/npm/man/man1/npm-version.1 +0 -75
  335. data/lib/node_modules/npm/man/man1/npm-view.1 +0 -186
  336. data/lib/node_modules/npm/man/man1/npm-whoami.1 +0 -34
  337. data/lib/node_modules/npm/man/man1/npm.1 +0 -230
  338. data/lib/node_modules/npm/man/man3/npm-bin.3 +0 -21
  339. data/lib/node_modules/npm/man/man3/npm-bugs.3 +0 -28
  340. data/lib/node_modules/npm/man/man3/npm-commands.3 +0 -35
  341. data/lib/node_modules/npm/man/man3/npm-config.3 +0 -69
  342. data/lib/node_modules/npm/man/man3/npm-deprecate.3 +0 -57
  343. data/lib/node_modules/npm/man/man3/npm-docs.3 +0 -28
  344. data/lib/node_modules/npm/man/man3/npm-edit.3 +0 -35
  345. data/lib/node_modules/npm/man/man3/npm-explore.3 +0 -28
  346. data/lib/node_modules/npm/man/man3/npm-help-search.3 +0 -51
  347. data/lib/node_modules/npm/man/man3/npm-init.3 +0 -39
  348. data/lib/node_modules/npm/man/man3/npm-install.3 +0 -29
  349. data/lib/node_modules/npm/man/man3/npm-link.3 +0 -53
  350. data/lib/node_modules/npm/man/man3/npm-load.3 +0 -44
  351. data/lib/node_modules/npm/man/man3/npm-ls.3 +0 -86
  352. data/lib/node_modules/npm/man/man3/npm-outdated.3 +0 -21
  353. data/lib/node_modules/npm/man/man3/npm-owner.3 +0 -52
  354. data/lib/node_modules/npm/man/man3/npm-pack.3 +0 -28
  355. data/lib/node_modules/npm/man/man3/npm-prefix.3 +0 -24
  356. data/lib/node_modules/npm/man/man3/npm-prune.3 +0 -27
  357. data/lib/node_modules/npm/man/man3/npm-publish.3 +0 -51
  358. data/lib/node_modules/npm/man/man3/npm-rebuild.3 +0 -22
  359. data/lib/node_modules/npm/man/man3/npm-repo.3 +0 -28
  360. data/lib/node_modules/npm/man/man3/npm-restart.3 +0 -37
  361. data/lib/node_modules/npm/man/man3/npm-root.3 +0 -24
  362. data/lib/node_modules/npm/man/man3/npm-run-script.3 +0 -48
  363. data/lib/node_modules/npm/man/man3/npm-search.3 +0 -64
  364. data/lib/node_modules/npm/man/man3/npm-shrinkwrap.3 +0 -30
  365. data/lib/node_modules/npm/man/man3/npm-start.3 +0 -21
  366. data/lib/node_modules/npm/man/man3/npm-stop.3 +0 -21
  367. data/lib/node_modules/npm/man/man3/npm-submodule.3 +0 -42
  368. data/lib/node_modules/npm/man/man3/npm-tag.3 +0 -31
  369. data/lib/node_modules/npm/man/man3/npm-test.3 +0 -25
  370. data/lib/node_modules/npm/man/man3/npm-uninstall.3 +0 -25
  371. data/lib/node_modules/npm/man/man3/npm-unpublish.3 +0 -30
  372. data/lib/node_modules/npm/man/man3/npm-update.3 +0 -18
  373. data/lib/node_modules/npm/man/man3/npm-version.3 +0 -27
  374. data/lib/node_modules/npm/man/man3/npm-view.3 +0 -176
  375. data/lib/node_modules/npm/man/man3/npm-whoami.3 +0 -24
  376. data/lib/node_modules/npm/man/man3/npm.3 +0 -162
  377. data/lib/node_modules/npm/man/man5/npm-folders.5 +0 -264
  378. data/lib/node_modules/npm/man/man5/npm-global.5 +0 -264
  379. data/lib/node_modules/npm/man/man5/npm-json.5 +0 -807
  380. data/lib/node_modules/npm/man/man5/npmrc.5 +0 -89
  381. data/lib/node_modules/npm/man/man5/package.json.5 +0 -807
  382. data/lib/node_modules/npm/man/man7/npm-coding-style.7 +0 -254
  383. data/lib/node_modules/npm/man/man7/npm-config.7 +0 -1445
  384. data/lib/node_modules/npm/man/man7/npm-developers.7 +0 -335
  385. data/lib/node_modules/npm/man/man7/npm-disputes.7 +0 -146
  386. data/lib/node_modules/npm/man/man7/npm-faq.7 +0 -479
  387. data/lib/node_modules/npm/man/man7/npm-index.7 +0 -307
  388. data/lib/node_modules/npm/man/man7/npm-registry.7 +0 -82
  389. data/lib/node_modules/npm/man/man7/npm-scripts.7 +0 -354
  390. data/lib/node_modules/npm/man/man7/removing-npm.7 +0 -107
  391. data/lib/node_modules/npm/man/man7/semver.7 +0 -172
  392. data/lib/node_modules/npm/node_modules/abbrev/LICENSE +0 -23
  393. data/lib/node_modules/npm/node_modules/abbrev/README.md +0 -23
  394. data/lib/node_modules/npm/node_modules/abbrev/lib/abbrev.js +0 -111
  395. data/lib/node_modules/npm/node_modules/abbrev/package.json +0 -25
  396. data/lib/node_modules/npm/node_modules/ansi/README.md +0 -91
  397. data/lib/node_modules/npm/node_modules/ansi/color-spaces.pl +0 -67
  398. data/lib/node_modules/npm/node_modules/ansi/examples/beep/index.js +0 -16
  399. data/lib/node_modules/npm/node_modules/ansi/examples/clear/index.js +0 -15
  400. data/lib/node_modules/npm/node_modules/ansi/examples/cursorPosition.js +0 -32
  401. data/lib/node_modules/npm/node_modules/ansi/examples/progress/index.js +0 -87
  402. data/lib/node_modules/npm/node_modules/ansi/examples/starwars.js +0 -46
  403. data/lib/node_modules/npm/node_modules/ansi/lib/ansi.js +0 -405
  404. data/lib/node_modules/npm/node_modules/ansi/lib/newlines.js +0 -71
  405. data/lib/node_modules/npm/node_modules/ansi/package.json +0 -50
  406. data/lib/node_modules/npm/node_modules/ansicolors/LICENSE +0 -23
  407. data/lib/node_modules/npm/node_modules/ansicolors/README.md +0 -62
  408. data/lib/node_modules/npm/node_modules/ansicolors/ansicolors.js +0 -65
  409. data/lib/node_modules/npm/node_modules/ansicolors/package.json +0 -34
  410. data/lib/node_modules/npm/node_modules/ansistyles/LICENSE +0 -23
  411. data/lib/node_modules/npm/node_modules/ansistyles/README.md +0 -71
  412. data/lib/node_modules/npm/node_modules/ansistyles/ansistyles.js +0 -38
  413. data/lib/node_modules/npm/node_modules/ansistyles/package.json +0 -38
  414. data/lib/node_modules/npm/node_modules/archy/README.markdown +0 -92
  415. data/lib/node_modules/npm/node_modules/archy/index.js +0 -35
  416. data/lib/node_modules/npm/node_modules/archy/package.json +0 -52
  417. data/lib/node_modules/npm/node_modules/block-stream/LICENCE +0 -25
  418. data/lib/node_modules/npm/node_modules/block-stream/README.md +0 -14
  419. data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream-pause.js +0 -70
  420. data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream.js +0 -68
  421. data/lib/node_modules/npm/node_modules/block-stream/bench/dropper-pause.js +0 -70
  422. data/lib/node_modules/npm/node_modules/block-stream/bench/dropper.js +0 -68
  423. data/lib/node_modules/npm/node_modules/block-stream/block-stream.js +0 -209
  424. data/lib/node_modules/npm/node_modules/block-stream/package.json +0 -35
  425. data/lib/node_modules/npm/node_modules/child-process-close/README.md +0 -45
  426. data/lib/node_modules/npm/node_modules/child-process-close/index.js +0 -48
  427. data/lib/node_modules/npm/node_modules/child-process-close/package.json +0 -37
  428. data/lib/node_modules/npm/node_modules/chmodr/LICENSE +0 -27
  429. data/lib/node_modules/npm/node_modules/chmodr/README.md +0 -3
  430. data/lib/node_modules/npm/node_modules/chmodr/chmodr.js +0 -54
  431. data/lib/node_modules/npm/node_modules/chmodr/package.json +0 -28
  432. data/lib/node_modules/npm/node_modules/chownr/LICENCE +0 -25
  433. data/lib/node_modules/npm/node_modules/chownr/README.md +0 -3
  434. data/lib/node_modules/npm/node_modules/chownr/chownr.js +0 -41
  435. data/lib/node_modules/npm/node_modules/chownr/package.json +0 -42
  436. data/lib/node_modules/npm/node_modules/cmd-shim/LICENSE +0 -27
  437. data/lib/node_modules/npm/node_modules/cmd-shim/README.md +0 -42
  438. data/lib/node_modules/npm/node_modules/cmd-shim/index.js +0 -180
  439. data/lib/node_modules/npm/node_modules/cmd-shim/package.json +0 -35
  440. data/lib/node_modules/npm/node_modules/columnify/Readme.md +0 -189
  441. data/lib/node_modules/npm/node_modules/columnify/index.js +0 -210
  442. data/lib/node_modules/npm/node_modules/columnify/package.json +0 -42
  443. data/lib/node_modules/npm/node_modules/columnify/utils.js +0 -76
  444. data/lib/node_modules/npm/node_modules/editor/LICENSE +0 -18
  445. data/lib/node_modules/npm/node_modules/editor/README.markdown +0 -54
  446. data/lib/node_modules/npm/node_modules/editor/example/beep.json +0 -5
  447. data/lib/node_modules/npm/node_modules/editor/example/edit.js +0 -4
  448. data/lib/node_modules/npm/node_modules/editor/index.js +0 -26
  449. data/lib/node_modules/npm/node_modules/editor/package.json +0 -43
  450. data/lib/node_modules/npm/node_modules/fstream-npm/LICENCE +0 -25
  451. data/lib/node_modules/npm/node_modules/fstream-npm/README.md +0 -18
  452. data/lib/node_modules/npm/node_modules/fstream-npm/example/bundle.js +0 -13
  453. data/lib/node_modules/npm/node_modules/fstream-npm/example/dir-tar.js +0 -19
  454. data/lib/node_modules/npm/node_modules/fstream-npm/example/dir.js +0 -25
  455. data/lib/node_modules/npm/node_modules/fstream-npm/example/example.js +0 -12
  456. data/lib/node_modules/npm/node_modules/fstream-npm/example/ig-tar.js +0 -19
  457. data/lib/node_modules/npm/node_modules/fstream-npm/example/tar.js +0 -25
  458. data/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js +0 -323
  459. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/LICENSE +0 -27
  460. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/README.md +0 -22
  461. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/example/basic.js +0 -13
  462. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js +0 -275
  463. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +0 -40
  464. data/lib/node_modules/npm/node_modules/fstream-npm/package.json +0 -27
  465. data/lib/node_modules/npm/node_modules/fstream/LICENSE +0 -27
  466. data/lib/node_modules/npm/node_modules/fstream/README.md +0 -76
  467. data/lib/node_modules/npm/node_modules/fstream/examples/filter-pipe.js +0 -131
  468. data/lib/node_modules/npm/node_modules/fstream/examples/pipe.js +0 -115
  469. data/lib/node_modules/npm/node_modules/fstream/examples/reader.js +0 -54
  470. data/lib/node_modules/npm/node_modules/fstream/examples/symlink-write.js +0 -24
  471. data/lib/node_modules/npm/node_modules/fstream/fstream.js +0 -31
  472. data/lib/node_modules/npm/node_modules/fstream/lib/abstract.js +0 -85
  473. data/lib/node_modules/npm/node_modules/fstream/lib/collect.js +0 -67
  474. data/lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js +0 -251
  475. data/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js +0 -171
  476. data/lib/node_modules/npm/node_modules/fstream/lib/file-reader.js +0 -147
  477. data/lib/node_modules/npm/node_modules/fstream/lib/file-writer.js +0 -100
  478. data/lib/node_modules/npm/node_modules/fstream/lib/get-type.js +0 -32
  479. data/lib/node_modules/npm/node_modules/fstream/lib/link-reader.js +0 -54
  480. data/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js +0 -95
  481. data/lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js +0 -93
  482. data/lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js +0 -109
  483. data/lib/node_modules/npm/node_modules/fstream/lib/reader.js +0 -260
  484. data/lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js +0 -38
  485. data/lib/node_modules/npm/node_modules/fstream/lib/writer.js +0 -389
  486. data/lib/node_modules/npm/node_modules/fstream/package.json +0 -43
  487. data/lib/node_modules/npm/node_modules/github-url-from-git/History.md +0 -10
  488. data/lib/node_modules/npm/node_modules/github-url-from-git/Makefile +0 -5
  489. data/lib/node_modules/npm/node_modules/github-url-from-git/Readme.md +0 -41
  490. data/lib/node_modules/npm/node_modules/github-url-from-git/index.js +0 -12
  491. data/lib/node_modules/npm/node_modules/github-url-from-git/package.json +0 -31
  492. data/lib/node_modules/npm/node_modules/github-url-from-git/test.js +0 -40
  493. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/LICENSE +0 -27
  494. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/README.md +0 -14
  495. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/index.js +0 -9
  496. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/package.json +0 -33
  497. data/lib/node_modules/npm/node_modules/glob/LICENSE +0 -27
  498. data/lib/node_modules/npm/node_modules/glob/README.md +0 -250
  499. data/lib/node_modules/npm/node_modules/glob/examples/g.js +0 -9
  500. data/lib/node_modules/npm/node_modules/glob/examples/usr-local.js +0 -9
  501. data/lib/node_modules/npm/node_modules/glob/glob.js +0 -680
  502. data/lib/node_modules/npm/node_modules/glob/package.json +0 -39
  503. data/lib/node_modules/npm/node_modules/graceful-fs/LICENSE +0 -27
  504. data/lib/node_modules/npm/node_modules/graceful-fs/README.md +0 -26
  505. data/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +0 -161
  506. data/lib/node_modules/npm/node_modules/graceful-fs/package.json +0 -48
  507. data/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js +0 -228
  508. data/lib/node_modules/npm/node_modules/inherits/LICENSE +0 -16
  509. data/lib/node_modules/npm/node_modules/inherits/README.md +0 -42
  510. data/lib/node_modules/npm/node_modules/inherits/inherits.js +0 -1
  511. data/lib/node_modules/npm/node_modules/inherits/inherits_browser.js +0 -23
  512. data/lib/node_modules/npm/node_modules/inherits/package.json +0 -32
  513. data/lib/node_modules/npm/node_modules/inherits/test.js +0 -25
  514. data/lib/node_modules/npm/node_modules/ini/LICENSE +0 -23
  515. data/lib/node_modules/npm/node_modules/ini/README.md +0 -79
  516. data/lib/node_modules/npm/node_modules/ini/ini.js +0 -166
  517. data/lib/node_modules/npm/node_modules/ini/package.json +0 -29
  518. data/lib/node_modules/npm/node_modules/init-package-json/README.md +0 -43
  519. data/lib/node_modules/npm/node_modules/init-package-json/default-input.js +0 -181
  520. data/lib/node_modules/npm/node_modules/init-package-json/example/example-basic.js +0 -8
  521. data/lib/node_modules/npm/node_modules/init-package-json/example/example-default.js +0 -7
  522. data/lib/node_modules/npm/node_modules/init-package-json/example/example-npm.js +0 -13
  523. data/lib/node_modules/npm/node_modules/init-package-json/example/init/basic-init.js +0 -1
  524. data/lib/node_modules/npm/node_modules/init-package-json/init-package-json.js +0 -129
  525. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/LICENSE +0 -15
  526. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/README.md +0 -133
  527. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/index.js +0 -11
  528. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/README.md +0 -8
  529. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init-input.js +0 -191
  530. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init.js +0 -37
  531. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/package.json +0 -10
  532. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/substack-input.js +0 -61
  533. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/package.json +0 -32
  534. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/promzard.js +0 -216
  535. data/lib/node_modules/npm/node_modules/init-package-json/package.json +0 -48
  536. data/lib/node_modules/npm/node_modules/lockfile/LICENSE +0 -27
  537. data/lib/node_modules/npm/node_modules/lockfile/README.md +0 -81
  538. data/lib/node_modules/npm/node_modules/lockfile/lockfile.js +0 -272
  539. data/lib/node_modules/npm/node_modules/lockfile/package.json +0 -45
  540. data/lib/node_modules/npm/node_modules/lru-cache/CONTRIBUTORS +0 -14
  541. data/lib/node_modules/npm/node_modules/lru-cache/LICENSE +0 -23
  542. data/lib/node_modules/npm/node_modules/lru-cache/README.md +0 -97
  543. data/lib/node_modules/npm/node_modules/lru-cache/lib/lru-cache.js +0 -252
  544. data/lib/node_modules/npm/node_modules/lru-cache/package.json +0 -33
  545. data/lib/node_modules/npm/node_modules/minimatch/LICENSE +0 -23
  546. data/lib/node_modules/npm/node_modules/minimatch/README.md +0 -218
  547. data/lib/node_modules/npm/node_modules/minimatch/minimatch.js +0 -1055
  548. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
  549. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
  550. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
  551. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
  552. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
  553. data/lib/node_modules/npm/node_modules/minimatch/package.json +0 -40
  554. data/lib/node_modules/npm/node_modules/mkdirp/LICENSE +0 -21
  555. data/lib/node_modules/npm/node_modules/mkdirp/README.markdown +0 -63
  556. data/lib/node_modules/npm/node_modules/mkdirp/examples/pow.js +0 -6
  557. data/lib/node_modules/npm/node_modules/mkdirp/index.js +0 -82
  558. data/lib/node_modules/npm/node_modules/mkdirp/package.json +0 -33
  559. data/lib/node_modules/npm/node_modules/node-gyp/LICENSE +0 -24
  560. data/lib/node_modules/npm/node_modules/node-gyp/README.md +0 -163
  561. data/lib/node_modules/npm/node_modules/node-gyp/addon.gypi +0 -59
  562. data/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +0 -133
  563. data/lib/node_modules/npm/node_modules/node-gyp/gyp/AUTHORS +0 -10
  564. data/lib/node_modules/npm/node_modules/node-gyp/gyp/DEPS +0 -24
  565. data/lib/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +0 -27
  566. data/lib/node_modules/npm/node_modules/node-gyp/gyp/OWNERS +0 -1
  567. data/lib/node_modules/npm/node_modules/node-gyp/gyp/PRESUBMIT.py +0 -115
  568. data/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +0 -148
  569. data/lib/node_modules/npm/node_modules/node-gyp/gyp/codereview.settings +0 -10
  570. data/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  571. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp +0 -7
  572. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -5
  573. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_dummy.c +0 -7
  574. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -18
  575. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyptest.py +0 -274
  576. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -340
  577. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -208
  578. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1051
  579. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1482
  580. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -58
  581. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -147
  582. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -267
  583. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -407
  584. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -537
  585. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -513
  586. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -72
  587. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -157
  588. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -103
  589. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -49
  590. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  591. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1069
  592. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -81
  593. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -308
  594. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -87
  595. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  596. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2172
  597. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3270
  598. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -37
  599. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2150
  600. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -44
  601. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1224
  602. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -23
  603. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -2809
  604. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -90
  605. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -264
  606. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -870
  607. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -160
  608. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -176
  609. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1324
  610. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -2888
  611. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -69
  612. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylintrc +0 -307
  613. data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples +0 -81
  614. data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples.bat +0 -5
  615. data/lib/node_modules/npm/node_modules/node-gyp/gyp/setup.py +0 -19
  616. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/README +0 -15
  617. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/README +0 -5
  618. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -27
  619. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -226
  620. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/README +0 -12
  621. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +0 -63
  622. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp.el +0 -252
  623. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +0 -7
  624. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +0 -1105
  625. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +0 -1107
  626. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/graphviz.py +0 -100
  627. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +0 -155
  628. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +0 -168
  629. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +0 -329
  630. data/lib/node_modules/npm/node_modules/node-gyp/lib/build.js +0 -275
  631. data/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js +0 -22
  632. data/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +0 -344
  633. data/lib/node_modules/npm/node_modules/node-gyp/lib/install.js +0 -362
  634. data/lib/node_modules/npm/node_modules/node-gyp/lib/list.js +0 -33
  635. data/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +0 -225
  636. data/lib/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +0 -16
  637. data/lib/node_modules/npm/node_modules/node-gyp/lib/remove.js +0 -56
  638. data/lib/node_modules/npm/node_modules/node-gyp/package.json +0 -55
  639. data/lib/node_modules/npm/node_modules/nopt/LICENSE +0 -23
  640. data/lib/node_modules/npm/node_modules/nopt/README.md +0 -210
  641. data/lib/node_modules/npm/node_modules/nopt/bin/nopt.js +0 -51
  642. data/lib/node_modules/npm/node_modules/nopt/examples/my-program.js +0 -30
  643. data/lib/node_modules/npm/node_modules/nopt/lib/nopt.js +0 -407
  644. data/lib/node_modules/npm/node_modules/nopt/package.json +0 -39
  645. data/lib/node_modules/npm/node_modules/npm-install-checks/LICENSE +0 -234
  646. data/lib/node_modules/npm/node_modules/npm-install-checks/README.md +0 -25
  647. data/lib/node_modules/npm/node_modules/npm-install-checks/index.js +0 -146
  648. data/lib/node_modules/npm/node_modules/npm-install-checks/package.json +0 -43
  649. data/lib/node_modules/npm/node_modules/npm-registry-client/LICENSE +0 -27
  650. data/lib/node_modules/npm/node_modules/npm-registry-client/README.md +0 -176
  651. data/lib/node_modules/npm/node_modules/npm-registry-client/index.js +0 -55
  652. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/adduser.js +0 -138
  653. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/bugs.js +0 -9
  654. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/deprecate.js +0 -28
  655. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js +0 -184
  656. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/publish.js +0 -156
  657. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js +0 -270
  658. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/star.js +0 -29
  659. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/stars.js +0 -9
  660. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/tag.js +0 -6
  661. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/unpublish.js +0 -104
  662. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/upload.js +0 -22
  663. data/lib/node_modules/npm/node_modules/npm-registry-client/package.json +0 -43
  664. data/lib/node_modules/npm/node_modules/npm-user-validate/LICENSE +0 -27
  665. data/lib/node_modules/npm/node_modules/npm-user-validate/README.md +0 -6
  666. data/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js +0 -49
  667. data/lib/node_modules/npm/node_modules/npm-user-validate/package.json +0 -37
  668. data/lib/node_modules/npm/node_modules/npmconf/LICENSE +0 -27
  669. data/lib/node_modules/npm/node_modules/npmconf/README.md +0 -33
  670. data/lib/node_modules/npm/node_modules/npmconf/config-defs.js +0 -353
  671. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/LICENCE +0 -22
  672. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/index.js +0 -282
  673. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/LICENSE +0 -23
  674. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/README.md +0 -3
  675. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json +0 -33
  676. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/proto-list.js +0 -81
  677. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/package.json +0 -32
  678. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/readme.markdown +0 -228
  679. data/lib/node_modules/npm/node_modules/npmconf/npmconf.js +0 -338
  680. data/lib/node_modules/npm/node_modules/npmconf/package.json +0 -50
  681. data/lib/node_modules/npm/node_modules/npmlog/LICENSE +0 -27
  682. data/lib/node_modules/npm/node_modules/npmlog/README.md +0 -153
  683. data/lib/node_modules/npm/node_modules/npmlog/example.js +0 -39
  684. data/lib/node_modules/npm/node_modules/npmlog/log.js +0 -154
  685. data/lib/node_modules/npm/node_modules/npmlog/package.json +0 -32
  686. data/lib/node_modules/npm/node_modules/once/LICENSE +0 -27
  687. data/lib/node_modules/npm/node_modules/once/README.md +0 -51
  688. data/lib/node_modules/npm/node_modules/once/once.js +0 -20
  689. data/lib/node_modules/npm/node_modules/once/package.json +0 -39
  690. data/lib/node_modules/npm/node_modules/opener/LICENSE.txt +0 -14
  691. data/lib/node_modules/npm/node_modules/opener/README.md +0 -44
  692. data/lib/node_modules/npm/node_modules/opener/opener.js +0 -55
  693. data/lib/node_modules/npm/node_modules/opener/package.json +0 -34
  694. data/lib/node_modules/npm/node_modules/osenv/LICENSE +0 -25
  695. data/lib/node_modules/npm/node_modules/osenv/README.md +0 -63
  696. data/lib/node_modules/npm/node_modules/osenv/osenv.js +0 -80
  697. data/lib/node_modules/npm/node_modules/osenv/package.json +0 -38
  698. data/lib/node_modules/npm/node_modules/path-is-inside/LICENSE.txt +0 -14
  699. data/lib/node_modules/npm/node_modules/path-is-inside/README.md +0 -35
  700. data/lib/node_modules/npm/node_modules/path-is-inside/lib/path-is-inside.js +0 -24
  701. data/lib/node_modules/npm/node_modules/path-is-inside/package.json +0 -39
  702. data/lib/node_modules/npm/node_modules/read-installed/LICENSE +0 -16
  703. data/lib/node_modules/npm/node_modules/read-installed/README.md +0 -25
  704. data/lib/node_modules/npm/node_modules/read-installed/package.json +0 -39
  705. data/lib/node_modules/npm/node_modules/read-installed/read-installed.js +0 -338
  706. data/lib/node_modules/npm/node_modules/read-package-json/LICENSE +0 -15
  707. data/lib/node_modules/npm/node_modules/read-package-json/README.md +0 -166
  708. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/AUTHORS +0 -4
  709. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/LICENSE +0 -30
  710. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/README.md +0 -101
  711. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/core_module_names.json +0 -29
  712. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/extract_description.js +0 -14
  713. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js +0 -392
  714. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js +0 -36
  715. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/safe_format.js +0 -9
  716. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/typos.json +0 -25
  717. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/warning_messages.json +0 -28
  718. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/package.json +0 -53
  719. data/lib/node_modules/npm/node_modules/read-package-json/package.json +0 -39
  720. data/lib/node_modules/npm/node_modules/read-package-json/read-json.js +0 -368
  721. data/lib/node_modules/npm/node_modules/read/LICENCE +0 -25
  722. data/lib/node_modules/npm/node_modules/read/README.md +0 -53
  723. data/lib/node_modules/npm/node_modules/read/example/example.js +0 -13
  724. data/lib/node_modules/npm/node_modules/read/lib/read.js +0 -113
  725. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/LICENSE +0 -27
  726. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/README.md +0 -68
  727. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/mute.js +0 -140
  728. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/package.json +0 -37
  729. data/lib/node_modules/npm/node_modules/read/package.json +0 -35
  730. data/lib/node_modules/npm/node_modules/read/rs.js +0 -4
  731. data/lib/node_modules/npm/node_modules/request/LICENSE +0 -55
  732. data/lib/node_modules/npm/node_modules/request/README.md +0 -364
  733. data/lib/node_modules/npm/node_modules/request/index.js +0 -157
  734. data/lib/node_modules/npm/node_modules/request/lib/copy.js +0 -8
  735. data/lib/node_modules/npm/node_modules/request/lib/debug.js +0 -7
  736. data/lib/node_modules/npm/node_modules/request/lib/getSafe.js +0 -34
  737. data/lib/node_modules/npm/node_modules/request/lib/optional.js +0 -5
  738. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/LICENSE +0 -55
  739. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/README.md +0 -4
  740. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/index.js +0 -202
  741. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/package.json +0 -28
  742. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/LICENSE +0 -55
  743. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/README.md +0 -4
  744. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/index.js +0 -119
  745. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/package.json +0 -28
  746. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/License +0 -19
  747. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/Readme.md +0 -163
  748. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/lib/form_data.js +0 -325
  749. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +0 -19
  750. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/README.md +0 -1414
  751. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/component.json +0 -11
  752. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +0 -955
  753. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/package.json +0 -43
  754. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/License +0 -19
  755. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Makefile +0 -7
  756. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md +0 -132
  757. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js +0 -185
  758. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License +0 -19
  759. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile +0 -7
  760. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +0 -154
  761. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +0 -99
  762. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json +0 -31
  763. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json +0 -32
  764. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/package.json +0 -46
  765. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/LICENSE +0 -24
  766. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/Makefile +0 -10
  767. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/README.md +0 -627
  768. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/example/usage.js +0 -78
  769. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
  770. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/logo.png +0 -0
  771. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/index.js +0 -1
  772. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/browser.js +0 -485
  773. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/client.js +0 -367
  774. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/crypto.js +0 -111
  775. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/index.js +0 -15
  776. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/server.js +0 -524
  777. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/utils.js +0 -183
  778. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +0 -24
  779. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/Makefile +0 -11
  780. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/README.md +0 -6
  781. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
  782. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/index.js +0 -1
  783. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +0 -207
  784. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/package.json +0 -47
  785. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +0 -24
  786. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +0 -11
  787. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +0 -6
  788. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +0 -1
  789. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +0 -68
  790. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +0 -48
  791. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +0 -33
  792. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +0 -10
  793. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +0 -436
  794. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
  795. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +0 -1
  796. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +0 -132
  797. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +0 -585
  798. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +0 -49
  799. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +0 -24
  800. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +0 -11
  801. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +0 -68
  802. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +0 -16
  803. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +0 -25
  804. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +0 -1
  805. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +0 -409
  806. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +0 -48
  807. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/package.json +0 -53
  808. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/LICENSE +0 -18
  809. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/README.md +0 -75
  810. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/http_signing.md +0 -296
  811. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/index.js +0 -25
  812. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/parser.js +0 -304
  813. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/signer.js +0 -179
  814. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/util.js +0 -249
  815. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/verify.js +0 -42
  816. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +0 -19
  817. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +0 -50
  818. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +0 -13
  819. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +0 -27
  820. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +0 -267
  821. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +0 -36
  822. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +0 -317
  823. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +0 -20
  824. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +0 -43
  825. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +0 -172
  826. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +0 -296
  827. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +0 -126
  828. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +0 -196
  829. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +0 -20
  830. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +0 -71
  831. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +0 -24
  832. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README +0 -82
  833. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +0 -298
  834. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +0 -245
  835. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +0 -1485
  836. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +0 -944
  837. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +0 -241
  838. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +0 -18
  839. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +0 -129
  840. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +0 -839
  841. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/float.json +0 -13
  842. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/int.json +0 -13
  843. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/psinfo.json +0 -104
  844. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/struct.json +0 -19
  845. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.fail.js +0 -39
  846. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.float.js +0 -14
  847. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.int.js +0 -14
  848. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.psinfo.js +0 -17
  849. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.struct.js +0 -18
  850. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.typedef.js +0 -15
  851. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/typedef.json +0 -14
  852. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.rfloat.js +0 -767
  853. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.wfloat.js +0 -753
  854. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.64.js +0 -638
  855. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.rint.js +0 -101
  856. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wbounds.js +0 -53
  857. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wint.js +0 -92
  858. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.64.js +0 -451
  859. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.roundtrip.js +0 -81
  860. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.ruint.js +0 -95
  861. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.wuint.js +0 -156
  862. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicr.js +0 -50
  863. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicw.js +0 -44
  864. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.char.js +0 -42
  865. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.endian.js +0 -45
  866. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.oldwrite.js +0 -28
  867. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.readSize.js +0 -128
  868. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.structw.js +0 -28
  869. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.writeStruct.js +0 -31
  870. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/package.json +0 -36
  871. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/LICENSE +0 -27
  872. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/README.md +0 -49
  873. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/package.json +0 -33
  874. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/stringify.js +0 -39
  875. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/test.js +0 -128
  876. data/lib/node_modules/npm/node_modules/request/node_modules/mime/LICENSE +0 -19
  877. data/lib/node_modules/npm/node_modules/request/node_modules/mime/README.md +0 -66
  878. data/lib/node_modules/npm/node_modules/request/node_modules/mime/mime.js +0 -114
  879. data/lib/node_modules/npm/node_modules/request/node_modules/mime/package.json +0 -36
  880. data/lib/node_modules/npm/node_modules/request/node_modules/mime/test.js +0 -84
  881. data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/mime.types +0 -1588
  882. data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/node.types +0 -77
  883. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/LICENSE.md +0 -2
  884. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/README.md +0 -207
  885. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/README.md +0 -53
  886. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +0 -174
  887. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +0 -34
  888. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
  889. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +0 -84
  890. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/component.json +0 -18
  891. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/package.json +0 -35
  892. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/uuid.js +0 -245
  893. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/LICENSE +0 -55
  894. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/README.md +0 -4
  895. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/index.js +0 -43
  896. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/package.json +0 -31
  897. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/test.js +0 -49
  898. data/lib/node_modules/npm/node_modules/request/node_modules/qs/Readme.md +0 -58
  899. data/lib/node_modules/npm/node_modules/request/node_modules/qs/index.js +0 -366
  900. data/lib/node_modules/npm/node_modules/request/node_modules/qs/package.json +0 -38
  901. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/LICENSE +0 -78
  902. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/README.md +0 -380
  903. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +0 -230
  904. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js +0 -947
  905. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/memstore.js +0 -102
  906. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +0 -69
  907. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-GPL.txt +0 -278
  908. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +0 -20
  909. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json +0 -73
  910. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.js +0 -508
  911. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.min.js +0 -2
  912. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/LICENSE.txt +0 -20
  913. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/README.md +0 -35
  914. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/README.md +0 -69
  915. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/parse.php +0 -35
  916. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/docdown.php +0 -38
  917. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Alias.php +0 -226
  918. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Entry.php +0 -442
  919. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Generator.php +0 -563
  920. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/package.json +0 -46
  921. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/public-suffix.txt +0 -5229
  922. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/test.js +0 -1340
  923. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/LICENSE +0 -55
  924. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/README.md +0 -4
  925. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js +0 -227
  926. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/package.json +0 -28
  927. data/lib/node_modules/npm/node_modules/request/package.json +0 -57
  928. data/lib/node_modules/npm/node_modules/request/request.js +0 -1260
  929. data/lib/node_modules/npm/node_modules/retry/License +0 -21
  930. data/lib/node_modules/npm/node_modules/retry/Makefile +0 -7
  931. data/lib/node_modules/npm/node_modules/retry/Readme.md +0 -167
  932. data/lib/node_modules/npm/node_modules/retry/equation.gif +0 -0
  933. data/lib/node_modules/npm/node_modules/retry/example/dns.js +0 -31
  934. data/lib/node_modules/npm/node_modules/retry/index.js +0 -1
  935. data/lib/node_modules/npm/node_modules/retry/lib/retry.js +0 -50
  936. data/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js +0 -109
  937. data/lib/node_modules/npm/node_modules/retry/package.json +0 -29
  938. data/lib/node_modules/npm/node_modules/rimraf/AUTHORS +0 -6
  939. data/lib/node_modules/npm/node_modules/rimraf/LICENSE +0 -23
  940. data/lib/node_modules/npm/node_modules/rimraf/README.md +0 -30
  941. data/lib/node_modules/npm/node_modules/rimraf/bin.js +0 -33
  942. data/lib/node_modules/npm/node_modules/rimraf/package.json +0 -56
  943. data/lib/node_modules/npm/node_modules/rimraf/rimraf.js +0 -178
  944. data/lib/node_modules/npm/node_modules/semver/LICENSE +0 -27
  945. data/lib/node_modules/npm/node_modules/semver/Makefile +0 -24
  946. data/lib/node_modules/npm/node_modules/semver/README.md +0 -142
  947. data/lib/node_modules/npm/node_modules/semver/bin/semver +0 -124
  948. data/lib/node_modules/npm/node_modules/semver/foot.js +0 -6
  949. data/lib/node_modules/npm/node_modules/semver/head.js +0 -2
  950. data/lib/node_modules/npm/node_modules/semver/package.json +0 -32
  951. data/lib/node_modules/npm/node_modules/semver/semver.browser.js +0 -1007
  952. data/lib/node_modules/npm/node_modules/semver/semver.browser.js.gz +0 -0
  953. data/lib/node_modules/npm/node_modules/semver/semver.js +0 -1011
  954. data/lib/node_modules/npm/node_modules/semver/semver.min.js +0 -1
  955. data/lib/node_modules/npm/node_modules/semver/semver.min.js.gz +0 -0
  956. data/lib/node_modules/npm/node_modules/sha/LICENSE +0 -46
  957. data/lib/node_modules/npm/node_modules/sha/README.md +0 -49
  958. data/lib/node_modules/npm/node_modules/sha/index.js +0 -120
  959. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/LICENSE +0 -27
  960. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/README.md +0 -768
  961. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/duplex.js +0 -1
  962. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/float.patch +0 -68
  963. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_duplex.js +0 -69
  964. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_passthrough.js +0 -41
  965. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_readable.js +0 -927
  966. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_transform.js +0 -205
  967. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_writable.js +0 -369
  968. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/package.json +0 -36
  969. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/passthrough.js +0 -1
  970. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/readable.js +0 -6
  971. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/transform.js +0 -1
  972. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/writable.js +0 -1
  973. data/lib/node_modules/npm/node_modules/sha/package.json +0 -32
  974. data/lib/node_modules/npm/node_modules/slide/LICENSE +0 -15
  975. data/lib/node_modules/npm/node_modules/slide/README.md +0 -143
  976. data/lib/node_modules/npm/node_modules/slide/index.js +0 -1
  977. data/lib/node_modules/npm/node_modules/slide/lib/async-map-ordered.js +0 -65
  978. data/lib/node_modules/npm/node_modules/slide/lib/async-map.js +0 -56
  979. data/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js +0 -16
  980. data/lib/node_modules/npm/node_modules/slide/lib/chain.js +0 -20
  981. data/lib/node_modules/npm/node_modules/slide/lib/slide.js +0 -3
  982. data/lib/node_modules/npm/node_modules/slide/package.json +0 -35
  983. data/lib/node_modules/npm/node_modules/tar/LICENCE +0 -25
  984. data/lib/node_modules/npm/node_modules/tar/README.md +0 -46
  985. data/lib/node_modules/npm/node_modules/tar/examples/extracter.js +0 -11
  986. data/lib/node_modules/npm/node_modules/tar/examples/reader.js +0 -36
  987. data/lib/node_modules/npm/node_modules/tar/lib/buffer-entry.js +0 -30
  988. data/lib/node_modules/npm/node_modules/tar/lib/entry-writer.js +0 -169
  989. data/lib/node_modules/npm/node_modules/tar/lib/entry.js +0 -213
  990. data/lib/node_modules/npm/node_modules/tar/lib/extended-header-writer.js +0 -191
  991. data/lib/node_modules/npm/node_modules/tar/lib/extended-header.js +0 -140
  992. data/lib/node_modules/npm/node_modules/tar/lib/extract.js +0 -78
  993. data/lib/node_modules/npm/node_modules/tar/lib/global-header-writer.js +0 -14
  994. data/lib/node_modules/npm/node_modules/tar/lib/header.js +0 -385
  995. data/lib/node_modules/npm/node_modules/tar/lib/pack.js +0 -231
  996. data/lib/node_modules/npm/node_modules/tar/lib/parse.js +0 -270
  997. data/lib/node_modules/npm/node_modules/tar/package.json +0 -40
  998. data/lib/node_modules/npm/node_modules/tar/tar.js +0 -173
  999. data/lib/node_modules/npm/node_modules/text-table/LICENSE +0 -18
  1000. data/lib/node_modules/npm/node_modules/text-table/example/align.js +0 -8
  1001. data/lib/node_modules/npm/node_modules/text-table/example/center.js +0 -8
  1002. data/lib/node_modules/npm/node_modules/text-table/example/dotalign.js +0 -9
  1003. data/lib/node_modules/npm/node_modules/text-table/example/doubledot.js +0 -11
  1004. data/lib/node_modules/npm/node_modules/text-table/example/table.js +0 -6
  1005. data/lib/node_modules/npm/node_modules/text-table/index.js +0 -86
  1006. data/lib/node_modules/npm/node_modules/text-table/package.json +0 -52
  1007. data/lib/node_modules/npm/node_modules/text-table/readme.markdown +0 -134
  1008. data/lib/node_modules/npm/node_modules/uid-number/LICENCE +0 -25
  1009. data/lib/node_modules/npm/node_modules/uid-number/README.md +0 -17
  1010. data/lib/node_modules/npm/node_modules/uid-number/get-uid-gid.js +0 -24
  1011. data/lib/node_modules/npm/node_modules/uid-number/package.json +0 -35
  1012. data/lib/node_modules/npm/node_modules/uid-number/uid-number.js +0 -54
  1013. data/lib/node_modules/npm/node_modules/which/LICENSE +0 -23
  1014. data/lib/node_modules/npm/node_modules/which/README.md +0 -5
  1015. data/lib/node_modules/npm/node_modules/which/bin/which +0 -14
  1016. data/lib/node_modules/npm/node_modules/which/package.json +0 -34
  1017. data/lib/node_modules/npm/node_modules/which/which.js +0 -104
  1018. data/lib/node_modules/npm/package.json +0 -155
  1019. data/lib/node_modules/npm/scripts/clean-old.sh +0 -165
  1020. data/lib/node_modules/npm/scripts/doc-build.sh +0 -84
  1021. data/lib/node_modules/npm/scripts/index-build.js +0 -62
  1022. data/lib/node_modules/npm/scripts/install.sh +0 -313
  1023. data/lib/node_modules/npm/scripts/release.sh +0 -36
  1024. data/lib/node_modules/npm/scripts/relocate.sh +0 -26
@@ -1 +0,0 @@
1
- (function(e){if(typeof module==="object"&&module.exports===e)e=module.exports=H;e.SEMVER_SPEC_VERSION="2.0.0";var r=e.re=[];var t=e.src=[];var n=0;var i=n++;t[i]="0|[1-9]\\d*";var s=n++;t[s]="[0-9]+";var o=n++;t[o]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var a=n++;t[a]="("+t[i]+")\\."+"("+t[i]+")\\."+"("+t[i]+")";var f=n++;t[f]="("+t[s]+")\\."+"("+t[s]+")\\."+"("+t[s]+")";var u=n++;t[u]="(?:"+t[i]+"|"+t[o]+")";var l=n++;t[l]="(?:"+t[s]+"|"+t[o]+")";var c=n++;t[c]="(?:-("+t[u]+"(?:\\."+t[u]+")*))";var p=n++;t[p]="(?:-?("+t[l]+"(?:\\."+t[l]+")*))";var h=n++;t[h]="[0-9A-Za-z-]+";var v=n++;t[v]="(?:\\+("+t[h]+"(?:\\."+t[h]+")*))";var m=n++;var g="v?"+t[a]+t[c]+"?"+t[v]+"?";t[m]="^"+g+"$";var w="[v=\\s]*"+t[f]+t[p]+"?"+t[v]+"?";var d=n++;t[d]="^"+w+"$";var y=n++;t[y]="((?:<|>)?=?)";var $=n++;t[$]=t[s]+"|x|X|\\*";var j=n++;t[j]=t[i]+"|x|X|\\*";var b=n++;t[b]="[v=\\s]*("+t[j]+")"+"(?:\\.("+t[j]+")"+"(?:\\.("+t[j]+")"+"(?:("+t[c]+")"+")?)?)?";var E=n++;t[E]="[v=\\s]*("+t[$]+")"+"(?:\\.("+t[$]+")"+"(?:\\.("+t[$]+")"+"(?:("+t[p]+")"+")?)?)?";var k=n++;t[k]="^"+t[y]+"\\s*"+t[b]+"$";var x=n++;t[x]="^"+t[y]+"\\s*"+t[E]+"$";var R=n++;t[R]="(?:~>?)";var S=n++;t[S]="(\\s*)"+t[R]+"\\s+";r[S]=new RegExp(t[S],"g");var V="$1~";var I=n++;t[I]="^"+t[R]+t[b]+"$";var A=n++;t[A]="^"+t[R]+t[E]+"$";var C=n++;t[C]="(?:\\^)";var T=n++;t[T]="(\\s*)"+t[C]+"\\s+";r[T]=new RegExp(t[T],"g");var M="$1^";var z=n++;t[z]="^"+t[C]+t[b]+"$";var P=n++;t[P]="^"+t[C]+t[E]+"$";var Z=n++;t[Z]="^"+t[y]+"\\s*("+w+")$|^$";var q=n++;t[q]="^"+t[y]+"\\s*("+g+")$|^$";var L=n++;t[L]="(\\s*)"+t[y]+"\\s*("+w+"|"+t[b]+")";r[L]=new RegExp(t[L],"g");var X="$1$2$3";var _=n++;t[_]="^\\s*("+t[b]+")"+"\\s+-\\s+"+"("+t[b]+")"+"\\s*$";var N=n++;t[N]="^\\s*("+t[E]+")"+"\\s+-\\s+"+"("+t[E]+")"+"\\s*$";var O=n++;t[O]="(<|>)?=?\\s*\\*";for(var B=0;B<n;B++){if(!r[B])r[B]=new RegExp(t[B])}e.parse=D;function D(e,t){var n=t?r[d]:r[m];return n.test(e)?new H(e,t):null}e.valid=F;function F(e,r){var t=D(e,r);return t?t.version:null}e.clean=G;function G(e,r){var t=D(e,r);return t?t.version:null}e.SemVer=H;function H(e,t){if(e instanceof H){if(e.loose===t)return e;else e=e.version}if(!(this instanceof H))return new H(e,t);this.loose=t;var n=e.trim().match(t?r[d]:r[m]);if(!n)throw new TypeError("Invalid Version: "+e);this.raw=e;this.major=+n[1];this.minor=+n[2];this.patch=+n[3];if(!n[4])this.prerelease=[];else this.prerelease=n[4].split(".").map(function(e){return/^[0-9]+$/.test(e)?+e:e});this.build=n[5]?n[5].split("."):[];this.format()}H.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length)this.version+="-"+this.prerelease.join(".");return this.version};H.prototype.inspect=function(){return'<SemVer "'+this+'">'};H.prototype.toString=function(){return this.version};H.prototype.compare=function(e){if(!(e instanceof H))e=new H(e,this.loose);return this.compareMain(e)||this.comparePre(e)};H.prototype.compareMain=function(e){if(!(e instanceof H))e=new H(e,this.loose);return Q(this.major,e.major)||Q(this.minor,e.minor)||Q(this.patch,e.patch)};H.prototype.comparePre=function(e){if(!(e instanceof H))e=new H(e,this.loose);if(this.prerelease.length&&!e.prerelease.length)return-1;else if(!this.prerelease.length&&e.prerelease.length)return 1;else if(!this.prerelease.lenth&&!e.prerelease.length)return 0;var r=0;do{var t=this.prerelease[r];var n=e.prerelease[r];if(t===undefined&&n===undefined)return 0;else if(n===undefined)return 1;else if(t===undefined)return-1;else if(t===n)continue;else return Q(t,n)}while(++r)};H.prototype.inc=function(e){switch(e){case"major":this.major++;this.minor=-1;case"minor":this.minor++;this.patch=-1;case"patch":this.patch++;this.prerelease=[];break;case"prerelease":if(this.prerelease.length===0)this.prerelease=[0];else{var r=this.prerelease.length;while(--r>=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1)this.prerelease.push(0)}break;default:throw new Error("invalid increment argument: "+e)}this.format();return this};e.inc=J;function J(e,r,t){try{return new H(e,t).inc(r).version}catch(n){return null}}e.compareIdentifiers=Q;var K=/^[0-9]+$/;function Q(e,r){var t=K.test(e);var n=K.test(r);if(t&&n){e=+e;r=+r}return t&&!n?-1:n&&!t?1:e<r?-1:e>r?1:0}e.rcompareIdentifiers=U;function U(e,r){return Q(r,e)}e.compare=W;function W(e,r,t){return new H(e,t).compare(r)}e.compareLoose=Y;function Y(e,r){return W(e,r,true)}e.rcompare=er;function er(e,r,t){return W(r,e,t)}e.sort=rr;function rr(r,t){return r.sort(function(r,n){return e.compare(r,n,t)})}e.rsort=tr;function tr(r,t){return r.sort(function(r,n){return e.rcompare(r,n,t)})}e.gt=nr;function nr(e,r,t){return W(e,r,t)>0}e.lt=ir;function ir(e,r,t){return W(e,r,t)<0}e.eq=sr;function sr(e,r,t){return W(e,r,t)===0}e.neq=or;function or(e,r,t){return W(e,r,t)!==0}e.gte=ar;function ar(e,r,t){return W(e,r,t)>=0}e.lte=fr;function fr(e,r,t){return W(e,r,t)<=0}e.cmp=ur;function ur(e,r,t,n){var i;switch(r){case"===":i=e===t;break;case"!==":i=e!==t;break;case"":case"=":case"==":i=sr(e,t,n);break;case"!=":i=or(e,t,n);break;case">":i=nr(e,t,n);break;case">=":i=ar(e,t,n);break;case"<":i=ir(e,t,n);break;case"<=":i=fr(e,t,n);break;default:throw new TypeError("Invalid operator: "+r)}return i}e.Comparator=lr;function lr(e,r){if(e instanceof lr){if(e.loose===r)return e;else e=e.value}if(!(this instanceof lr))return new lr(e,r);this.loose=r;this.parse(e);if(this.semver===cr)this.value="";else this.value=this.operator+this.semver.version}var cr={};lr.prototype.parse=function(e){var t=this.loose?r[Z]:r[q];var n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1];if(!n[2])this.semver=cr;else{this.semver=new H(n[2],this.loose);if(this.operator==="<"&&!this.semver.prerelease.length){this.semver.prerelease=["0"];this.semver.format()}}};lr.prototype.inspect=function(){return'<SemVer Comparator "'+this+'">'};lr.prototype.toString=function(){return this.value};lr.prototype.test=function(e){return this.semver===cr?true:ur(e,this.operator,this.semver,this.loose)};e.Range=pr;function pr(e,r){if(e instanceof pr&&e.loose===r)return e;if(!(this instanceof pr))return new pr(e,r);this.loose=r;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}pr.prototype.inspect=function(){return'<SemVer Range "'+this.range+'">'};pr.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};pr.prototype.toString=function(){return this.range};pr.prototype.parseRange=function(e){var t=this.loose;e=e.trim();var n=t?r[N]:r[_];e=e.replace(n,Er);e=e.replace(r[L],X);e=e.replace(r[S],V);e=e.replace(r[T],M);e=e.split(/\s+/).join(" ");var i=t?r[Z]:r[q];var s=e.split(" ").map(function(e){return vr(e,t)}).join(" ").split(/\s+/);if(this.loose){s=s.filter(function(e){return!!e.match(i)})}s=s.map(function(e){return new lr(e,t)});return s};e.toComparators=hr;function hr(e,r){return new pr(e,r).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function vr(e,r){e=dr(e,r);e=gr(e,r);e=$r(e,r);e=br(e,r);return e}function mr(e){return!e||e.toLowerCase()==="x"||e==="*"}function gr(e,r){return e.trim().split(/\s+/).map(function(e){return wr(e,r)}).join(" ")}function wr(e,t){var n=t?r[A]:r[I];return e.replace(n,function(e,r,t,n,i){var s;if(mr(r))s="";else if(mr(t))s=">="+r+".0.0-0 <"+(+r+1)+".0.0-0";else if(mr(n))s=">="+r+"."+t+".0-0 <"+r+"."+(+t+1)+".0-0";else if(i){if(i.charAt(0)!=="-")i="-"+i;s=">="+r+"."+t+"."+n+i+" <"+r+"."+(+t+1)+".0-0"}else s=">="+r+"."+t+"."+n+"-0"+" <"+r+"."+(+t+1)+".0-0";return s})}function dr(e,r){return e.trim().split(/\s+/).map(function(e){return yr(e,r)}).join(" ")}function yr(e,t){var n=t?r[P]:r[z];return e.replace(n,function(e,r,t,n,i){var s;if(mr(r))s="";else if(mr(t))s=">="+r+".0.0-0 <"+(+r+1)+".0.0-0";else if(mr(n)){if(r==="0")s=">="+r+"."+t+".0-0 <"+r+"."+(+t+1)+".0-0";else s=">="+r+"."+t+".0-0 <"+(+r+1)+".0.0-0"}else if(i){if(i.charAt(0)!=="-")i="-"+i;if(r==="0"){if(t==="0")s="="+r+"."+t+"."+n+i;else s=">="+r+"."+t+"."+n+i+" <"+r+"."+(+t+1)+".0-0"}else s=">="+r+"."+t+"."+n+i+" <"+(+r+1)+".0.0-0"}else{if(r==="0"){if(t==="0")s="="+r+"."+t+"."+n;else s=">="+r+"."+t+"."+n+"-0"+" <"+r+"."+(+t+1)+".0-0"}else s=">="+r+"."+t+"."+n+"-0"+" <"+(+r+1)+".0.0-0"}return s})}function $r(e,r){return e.split(/\s+/).map(function(e){return jr(e,r)}).join(" ")}function jr(e,t){e=e.trim();var n=t?r[x]:r[k];return e.replace(n,function(e,r,t,n,i,s){var o=mr(t);var a=o||mr(n);var f=a||mr(i);var u=f;if(r==="="&&u)r="";if(r&&u){if(o)t=0;if(a)n=0;if(f)i=0;if(r===">"){r=">=";if(o){}else if(a){t=+t+1;n=0;i=0}else if(f){n=+n+1;i=0}}e=r+t+"."+n+"."+i+"-0"}else if(o){e="*"}else if(a){e=">="+t+".0.0-0 <"+(+t+1)+".0.0-0"}else if(f){e=">="+t+"."+n+".0-0 <"+t+"."+(+n+1)+".0-0"}return e})}function br(e,t){return e.trim().replace(r[O],"")}function Er(e,r,t,n,i,s,o,a,f,u,l,c,p){if(mr(t))r="";else if(mr(n))r=">="+t+".0.0-0";else if(mr(i))r=">="+t+"."+n+".0-0";else r=">="+r;if(mr(f))a="";else if(mr(u))a="<"+(+f+1)+".0.0-0";else if(mr(l))a="<"+f+"."+(+u+1)+".0-0";else if(c)a="<="+f+"."+u+"."+l+"-"+c;else a="<="+a;return(r+" "+a).trim()}pr.prototype.test=function(e){if(!e)return false;for(var r=0;r<this.set.length;r++){if(kr(this.set[r],e))return true}return false};function kr(e,r){for(var t=0;t<e.length;t++){if(!e[t].test(r))return false}return true}e.satisfies=xr;function xr(e,r,t){try{r=new pr(r,t)}catch(n){return false}return r.test(e)}e.maxSatisfying=Rr;function Rr(e,r,t){return e.filter(function(e){return xr(e,r,t)}).sort(function(e,r){return er(e,r,t)})[0]||null}e.validRange=Sr;function Sr(e,r){try{return new pr(e,r).range||"*"}catch(t){return null}}e.ltr=Vr;function Vr(e,r,t){return Ar(e,r,"<",t)}e.gtr=Ir;function Ir(e,r,t){return Ar(e,r,">",t)}e.outside=Ar;function Ar(e,r,t,n){e=new H(e,n);r=new pr(r,n);var i,s,o,a,f;switch(t){case">":i=nr;s=fr;o=ir;a=">";f=">=";break;case"<":i=ir;s=ar;o=nr;a="<";f="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(xr(e,r,n)){return false}for(var u=0;u<r.set.length;++u){var l=r.set[u];var c=null;var p=null;l.forEach(function(e){c=c||e;p=p||e;if(i(e.semver,c.semver,n)){c=e}else if(o(e.semver,p.semver,n)){p=e}});if(c.operator===a||c.operator===f){return false}if((!p.operator||p.operator===a)&&s(e,p.semver)){return false}else if(p.operator===f&&o(e,p.semver)){return false}}return true}if(typeof define==="function"&&define.amd)define(e)})(typeof exports==="object"?exports:typeof define==="function"&&define.amd?{}:semver={});
@@ -1,46 +0,0 @@
1
- Copyright (c) 2013 Forbes Lindesay
2
-
3
- The BSD License
4
-
5
- Redistribution and use in source and binary forms, with or without
6
- modification, are permitted provided that the following conditions
7
- are met:
8
-
9
- 1. Redistributions of source code must retain the above copyright
10
- notice, this list of conditions and the following disclaimer.
11
-
12
- 2. Redistributions in binary form must reproduce the above copyright
13
- notice, this list of conditions and the following disclaimer in the
14
- documentation and/or other materials provided with the distribution.
15
-
16
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
20
- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24
- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
26
- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
-
28
- The MIT License (MIT)
29
-
30
- Permission is hereby granted, free of charge, to any person obtaining a copy
31
- of this software and associated documentation files (the "Software"), to deal
32
- in the Software without restriction, including without limitation the rights
33
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
34
- copies of the Software, and to permit persons to whom the Software is
35
- furnished to do so, subject to the following conditions:
36
-
37
- The above copyright notice and this permission notice shall be included in
38
- all copies or substantial portions of the Software.
39
-
40
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
41
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
42
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
43
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
44
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
45
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
46
- THE SOFTWARE.
@@ -1,49 +0,0 @@
1
- # sha
2
-
3
- Check and get file hashes (using any algorithm)
4
-
5
- [![Build Status](https://travis-ci.org/ForbesLindesay/sha.png?branch=master)](https://travis-ci.org/ForbesLindesay/sha)
6
- [![Dependency Status](https://gemnasium.com/ForbesLindesay/sha.png)](https://gemnasium.com/ForbesLindesay/sha)
7
- [![NPM version](https://badge.fury.io/js/sha.png)](http://badge.fury.io/js/sha)
8
-
9
- ## Installation
10
-
11
- $ npm install sha
12
-
13
- ## API
14
-
15
- ### check(fileName, expected, [options,] cb) / checkSync(filename, expected, [options])
16
-
17
- Asynchronously check that `fileName` has a "hash" of `expected`. The callback will be called with either `null` or an error (indicating that they did not match).
18
-
19
- Options:
20
-
21
- - algorithm: defaults to `sha1` and can be any of the algorithms supported by `crypto.createHash`
22
-
23
- ### get(fileName, [options,] cb) / getSync(filename, [options])
24
-
25
- Asynchronously get the "hash" of `fileName`. The callback will be called with an optional `error` object and the (lower cased) hex digest of the hash.
26
-
27
- Options:
28
-
29
- - algorithm: defaults to `sha1` and can be any of the algorithms supported by `crypto.createHash`
30
-
31
- ### stream(expected, [options])
32
-
33
- Check the hash of a stream without ever buffering it. This is a pass through stream so you can do things like:
34
-
35
- ```js
36
- fs.createReadStream('src')
37
- .pipe(sha.stream('expected'))
38
- .pipe(fs.createWriteStream('dest'))
39
- ```
40
-
41
- `dest` will be a complete copy of `src` and an error will be emitted if the hash did not match `'expected'`.
42
-
43
- Options:
44
-
45
- - algorithm: defaults to `sha1` and can be any of the algorithms supported by `crypto.createHash`
46
-
47
- ## License
48
-
49
- You may use this software under the BSD or MIT. Take your pick. If you want me to release it under another license, open a pull request.
@@ -1,120 +0,0 @@
1
- 'use strict'
2
-
3
- var Transform = require('stream').Transform || require('readable-stream').Transform
4
- var crypto = require('crypto')
5
- var fs
6
- try {
7
- fs = require('graceful-fs')
8
- } catch (ex) {
9
- fs = require('fs')
10
- }
11
- try {
12
- process.binding('crypto')
13
- } catch (e) {
14
- var er = new Error( 'crypto binding not found.\n'
15
- + 'Please build node with openssl.\n'
16
- + e.message )
17
- throw er
18
- }
19
-
20
- exports.check = check
21
- exports.checkSync = checkSync
22
- exports.get = get
23
- exports.getSync = getSync
24
- exports.stream = stream
25
-
26
- function check(file, expected, options, cb) {
27
- if (typeof options === 'function') {
28
- cb = options
29
- options = undefined
30
- }
31
- expected = expected.toLowerCase().trim()
32
- get(file, options, function (er, actual) {
33
- if (er) {
34
- if (er.message) er.message += ' while getting shasum for ' + file
35
- return cb(er)
36
- }
37
- if (actual === expected) return cb(null)
38
- cb(new Error(
39
- 'shasum check failed for ' + file + '\n'
40
- + 'Expected: ' + expected + '\n'
41
- + 'Actual: ' + actual))
42
- })
43
- }
44
- function checkSync(file, expected, options) {
45
- expected = expected.toLowerCase().trim()
46
- var actual
47
- try {
48
- actual = getSync(file, options)
49
- } catch (er) {
50
- if (er.message) er.message += ' while getting shasum for ' + file
51
- throw er
52
- }
53
- if (actual !== expected) {
54
- var ex = new Error(
55
- 'shasum check failed for ' + file + '\n'
56
- + 'Expected: ' + expected + '\n'
57
- + 'Actual: ' + actual)
58
- throw ex
59
- }
60
- }
61
-
62
-
63
- function get(file, options, cb) {
64
- if (typeof options === 'function') {
65
- cb = options
66
- options = undefined
67
- }
68
- options = options || {}
69
- var algorithm = options.algorithm || 'sha1'
70
- var hash = crypto.createHash(algorithm)
71
- var source = fs.createReadStream(file)
72
- var errState = null
73
- source
74
- .on('error', function (er) {
75
- if (errState) return
76
- return cb(errState = er)
77
- })
78
- .on('data', function (chunk) {
79
- if (errState) return
80
- hash.update(chunk)
81
- })
82
- .on('end', function () {
83
- if (errState) return
84
- var actual = hash.digest("hex").toLowerCase().trim()
85
- cb(null, actual)
86
- })
87
- }
88
-
89
- function getSync(file, options) {
90
- options = options || {}
91
- var algorithm = options.algorithm || 'sha1'
92
- var hash = crypto.createHash(algorithm)
93
- var source = fs.readFileSync(file)
94
- hash.update(source)
95
- return hash.digest("hex").toLowerCase().trim()
96
- }
97
-
98
- function stream(expected, options) {
99
- expected = expected.toLowerCase().trim()
100
- options = options || {}
101
- var algorithm = options.algorithm || 'sha1'
102
- var hash = crypto.createHash(algorithm)
103
-
104
- var stream = new Transform()
105
- stream._transform = function (chunk, encoding, callback) {
106
- hash.update(chunk)
107
- stream.push(chunk)
108
- callback()
109
- }
110
- stream._flush = function (cb) {
111
- var actual = hash.digest("hex").toLowerCase().trim()
112
- if (actual === expected) return cb(null)
113
- cb(new Error(
114
- 'shasum check failed for:\n'
115
- + ' Expected: ' + expected + '\n'
116
- + ' Actual: ' + actual))
117
- this.push(null)
118
- }
119
- return stream
120
- }
@@ -1,27 +0,0 @@
1
- Copyright (c) Isaac Z. Schlueter ("Author")
2
- All rights reserved.
3
-
4
- The BSD License
5
-
6
- Redistribution and use in source and binary forms, with or without
7
- modification, are permitted provided that the following conditions
8
- are met:
9
-
10
- 1. Redistributions of source code must retain the above copyright
11
- notice, this list of conditions and the following disclaimer.
12
-
13
- 2. Redistributions in binary form must reproduce the above copyright
14
- notice, this list of conditions and the following disclaimer in the
15
- documentation and/or other materials provided with the distribution.
16
-
17
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
21
- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
24
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25
- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
26
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
27
- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,768 +0,0 @@
1
- # readable-stream
2
-
3
- A new class of streams for Node.js
4
-
5
- This module provides the new Stream base classes introduced in Node
6
- v0.10, for use in Node v0.8. You can use it to have programs that
7
- have to work with node v0.8, while being forward-compatible for v0.10
8
- and beyond. When you drop support for v0.8, you can remove this
9
- module, and only use the native streams.
10
-
11
- This is almost exactly the same codebase as appears in Node v0.10.
12
- However:
13
-
14
- 1. The exported object is actually the Readable class. Decorating the
15
- native `stream` module would be global pollution.
16
- 2. In v0.10, you can safely use `base64` as an argument to
17
- `setEncoding` in Readable streams. However, in v0.8, the
18
- StringDecoder class has no `end()` method, which is problematic for
19
- Base64. So, don't use that, because it'll break and be weird.
20
-
21
- Other than that, the API is the same as `require('stream')` in v0.10,
22
- so the API docs are reproduced below.
23
-
24
- ----------
25
-
26
- Stability: 2 - Unstable
27
-
28
- A stream is an abstract interface implemented by various objects in
29
- Node. For example a request to an HTTP server is a stream, as is
30
- stdout. Streams are readable, writable, or both. All streams are
31
- instances of [EventEmitter][]
32
-
33
- You can load the Stream base classes by doing `require('stream')`.
34
- There are base classes provided for Readable streams, Writable
35
- streams, Duplex streams, and Transform streams.
36
-
37
- ## Compatibility
38
-
39
- In earlier versions of Node, the Readable stream interface was
40
- simpler, but also less powerful and less useful.
41
-
42
- * Rather than waiting for you to call the `read()` method, `'data'`
43
- events would start emitting immediately. If you needed to do some
44
- I/O to decide how to handle data, then you had to store the chunks
45
- in some kind of buffer so that they would not be lost.
46
- * The `pause()` method was advisory, rather than guaranteed. This
47
- meant that you still had to be prepared to receive `'data'` events
48
- even when the stream was in a paused state.
49
-
50
- In Node v0.10, the Readable class described below was added. For
51
- backwards compatibility with older Node programs, Readable streams
52
- switch into "old mode" when a `'data'` event handler is added, or when
53
- the `pause()` or `resume()` methods are called. The effect is that,
54
- even if you are not using the new `read()` method and `'readable'`
55
- event, you no longer have to worry about losing `'data'` chunks.
56
-
57
- Most programs will continue to function normally. However, this
58
- introduces an edge case in the following conditions:
59
-
60
- * No `'data'` event handler is added.
61
- * The `pause()` and `resume()` methods are never called.
62
-
63
- For example, consider the following code:
64
-
65
- ```javascript
66
- // WARNING! BROKEN!
67
- net.createServer(function(socket) {
68
-
69
- // we add an 'end' method, but never consume the data
70
- socket.on('end', function() {
71
- // It will never get here.
72
- socket.end('I got your message (but didnt read it)\n');
73
- });
74
-
75
- }).listen(1337);
76
- ```
77
-
78
- In versions of node prior to v0.10, the incoming message data would be
79
- simply discarded. However, in Node v0.10 and beyond, the socket will
80
- remain paused forever.
81
-
82
- The workaround in this situation is to call the `resume()` method to
83
- trigger "old mode" behavior:
84
-
85
- ```javascript
86
- // Workaround
87
- net.createServer(function(socket) {
88
-
89
- socket.on('end', function() {
90
- socket.end('I got your message (but didnt read it)\n');
91
- });
92
-
93
- // start the flow of data, discarding it.
94
- socket.resume();
95
-
96
- }).listen(1337);
97
- ```
98
-
99
- In addition to new Readable streams switching into old-mode, pre-v0.10
100
- style streams can be wrapped in a Readable class using the `wrap()`
101
- method.
102
-
103
- ## Class: stream.Readable
104
-
105
- <!--type=class-->
106
-
107
- A `Readable Stream` has the following methods, members, and events.
108
-
109
- Note that `stream.Readable` is an abstract class designed to be
110
- extended with an underlying implementation of the `_read(size)`
111
- method. (See below.)
112
-
113
- ### new stream.Readable([options])
114
-
115
- * `options` {Object}
116
- * `highWaterMark` {Number} The maximum number of bytes to store in
117
- the internal buffer before ceasing to read from the underlying
118
- resource. Default=16kb
119
- * `encoding` {String} If specified, then buffers will be decoded to
120
- strings using the specified encoding. Default=null
121
- * `objectMode` {Boolean} Whether this stream should behave
122
- as a stream of objects. Meaning that stream.read(n) returns
123
- a single value instead of a Buffer of size n
124
-
125
- In classes that extend the Readable class, make sure to call the
126
- constructor so that the buffering settings can be properly
127
- initialized.
128
-
129
- ### readable.\_read(size)
130
-
131
- * `size` {Number} Number of bytes to read asynchronously
132
-
133
- Note: **This function should NOT be called directly.** It should be
134
- implemented by child classes, and called by the internal Readable
135
- class methods only.
136
-
137
- All Readable stream implementations must provide a `_read` method
138
- to fetch data from the underlying resource.
139
-
140
- This method is prefixed with an underscore because it is internal to
141
- the class that defines it, and should not be called directly by user
142
- programs. However, you **are** expected to override this method in
143
- your own extension classes.
144
-
145
- When data is available, put it into the read queue by calling
146
- `readable.push(chunk)`. If `push` returns false, then you should stop
147
- reading. When `_read` is called again, you should start pushing more
148
- data.
149
-
150
- The `size` argument is advisory. Implementations where a "read" is a
151
- single call that returns data can use this to know how much data to
152
- fetch. Implementations where that is not relevant, such as TCP or
153
- TLS, may ignore this argument, and simply provide data whenever it
154
- becomes available. There is no need, for example to "wait" until
155
- `size` bytes are available before calling `stream.push(chunk)`.
156
-
157
- ### readable.push(chunk)
158
-
159
- * `chunk` {Buffer | null | String} Chunk of data to push into the read queue
160
- * return {Boolean} Whether or not more pushes should be performed
161
-
162
- Note: **This function should be called by Readable implementors, NOT
163
- by consumers of Readable subclasses.** The `_read()` function will not
164
- be called again until at least one `push(chunk)` call is made. If no
165
- data is available, then you MAY call `push('')` (an empty string) to
166
- allow a future `_read` call, without adding any data to the queue.
167
-
168
- The `Readable` class works by putting data into a read queue to be
169
- pulled out later by calling the `read()` method when the `'readable'`
170
- event fires.
171
-
172
- The `push()` method will explicitly insert some data into the read
173
- queue. If it is called with `null` then it will signal the end of the
174
- data.
175
-
176
- In some cases, you may be wrapping a lower-level source which has some
177
- sort of pause/resume mechanism, and a data callback. In those cases,
178
- you could wrap the low-level source object by doing something like
179
- this:
180
-
181
- ```javascript
182
- // source is an object with readStop() and readStart() methods,
183
- // and an `ondata` member that gets called when it has data, and
184
- // an `onend` member that gets called when the data is over.
185
-
186
- var stream = new Readable();
187
-
188
- source.ondata = function(chunk) {
189
- // if push() returns false, then we need to stop reading from source
190
- if (!stream.push(chunk))
191
- source.readStop();
192
- };
193
-
194
- source.onend = function() {
195
- stream.push(null);
196
- };
197
-
198
- // _read will be called when the stream wants to pull more data in
199
- // the advisory size argument is ignored in this case.
200
- stream._read = function(n) {
201
- source.readStart();
202
- };
203
- ```
204
-
205
- ### readable.unshift(chunk)
206
-
207
- * `chunk` {Buffer | null | String} Chunk of data to unshift onto the read queue
208
- * return {Boolean} Whether or not more pushes should be performed
209
-
210
- This is the corollary of `readable.push(chunk)`. Rather than putting
211
- the data at the *end* of the read queue, it puts it at the *front* of
212
- the read queue.
213
-
214
- This is useful in certain use-cases where a stream is being consumed
215
- by a parser, which needs to "un-consume" some data that it has
216
- optimistically pulled out of the source.
217
-
218
- ```javascript
219
- // A parser for a simple data protocol.
220
- // The "header" is a JSON object, followed by 2 \n characters, and
221
- // then a message body.
222
- //
223
- // Note: This can be done more simply as a Transform stream. See below.
224
-
225
- function SimpleProtocol(source, options) {
226
- if (!(this instanceof SimpleProtocol))
227
- return new SimpleProtocol(options);
228
-
229
- Readable.call(this, options);
230
- this._inBody = false;
231
- this._sawFirstCr = false;
232
-
233
- // source is a readable stream, such as a socket or file
234
- this._source = source;
235
-
236
- var self = this;
237
- source.on('end', function() {
238
- self.push(null);
239
- });
240
-
241
- // give it a kick whenever the source is readable
242
- // read(0) will not consume any bytes
243
- source.on('readable', function() {
244
- self.read(0);
245
- });
246
-
247
- this._rawHeader = [];
248
- this.header = null;
249
- }
250
-
251
- SimpleProtocol.prototype = Object.create(
252
- Readable.prototype, { constructor: { value: SimpleProtocol }});
253
-
254
- SimpleProtocol.prototype._read = function(n) {
255
- if (!this._inBody) {
256
- var chunk = this._source.read();
257
-
258
- // if the source doesn't have data, we don't have data yet.
259
- if (chunk === null)
260
- return this.push('');
261
-
262
- // check if the chunk has a \n\n
263
- var split = -1;
264
- for (var i = 0; i < chunk.length; i++) {
265
- if (chunk[i] === 10) { // '\n'
266
- if (this._sawFirstCr) {
267
- split = i;
268
- break;
269
- } else {
270
- this._sawFirstCr = true;
271
- }
272
- } else {
273
- this._sawFirstCr = false;
274
- }
275
- }
276
-
277
- if (split === -1) {
278
- // still waiting for the \n\n
279
- // stash the chunk, and try again.
280
- this._rawHeader.push(chunk);
281
- this.push('');
282
- } else {
283
- this._inBody = true;
284
- var h = chunk.slice(0, split);
285
- this._rawHeader.push(h);
286
- var header = Buffer.concat(this._rawHeader).toString();
287
- try {
288
- this.header = JSON.parse(header);
289
- } catch (er) {
290
- this.emit('error', new Error('invalid simple protocol data'));
291
- return;
292
- }
293
- // now, because we got some extra data, unshift the rest
294
- // back into the read queue so that our consumer will see it.
295
- var b = chunk.slice(split);
296
- this.unshift(b);
297
-
298
- // and let them know that we are done parsing the header.
299
- this.emit('header', this.header);
300
- }
301
- } else {
302
- // from there on, just provide the data to our consumer.
303
- // careful not to push(null), since that would indicate EOF.
304
- var chunk = this._source.read();
305
- if (chunk) this.push(chunk);
306
- }
307
- };
308
-
309
- // Usage:
310
- var parser = new SimpleProtocol(source);
311
- // Now parser is a readable stream that will emit 'header'
312
- // with the parsed header data.
313
- ```
314
-
315
- ### readable.wrap(stream)
316
-
317
- * `stream` {Stream} An "old style" readable stream
318
-
319
- If you are using an older Node library that emits `'data'` events and
320
- has a `pause()` method that is advisory only, then you can use the
321
- `wrap()` method to create a Readable stream that uses the old stream
322
- as its data source.
323
-
324
- For example:
325
-
326
- ```javascript
327
- var OldReader = require('./old-api-module.js').OldReader;
328
- var oreader = new OldReader;
329
- var Readable = require('stream').Readable;
330
- var myReader = new Readable().wrap(oreader);
331
-
332
- myReader.on('readable', function() {
333
- myReader.read(); // etc.
334
- });
335
- ```
336
-
337
- ### Event: 'readable'
338
-
339
- When there is data ready to be consumed, this event will fire.
340
-
341
- When this event emits, call the `read()` method to consume the data.
342
-
343
- ### Event: 'end'
344
-
345
- Emitted when the stream has received an EOF (FIN in TCP terminology).
346
- Indicates that no more `'data'` events will happen. If the stream is
347
- also writable, it may be possible to continue writing.
348
-
349
- ### Event: 'data'
350
-
351
- The `'data'` event emits either a `Buffer` (by default) or a string if
352
- `setEncoding()` was used.
353
-
354
- Note that adding a `'data'` event listener will switch the Readable
355
- stream into "old mode", where data is emitted as soon as it is
356
- available, rather than waiting for you to call `read()` to consume it.
357
-
358
- ### Event: 'error'
359
-
360
- Emitted if there was an error receiving data.
361
-
362
- ### Event: 'close'
363
-
364
- Emitted when the underlying resource (for example, the backing file
365
- descriptor) has been closed. Not all streams will emit this.
366
-
367
- ### readable.setEncoding(encoding)
368
-
369
- Makes the `'data'` event emit a string instead of a `Buffer`. `encoding`
370
- can be `'utf8'`, `'utf16le'` (`'ucs2'`), `'ascii'`, or `'hex'`.
371
-
372
- The encoding can also be set by specifying an `encoding` field to the
373
- constructor.
374
-
375
- ### readable.read([size])
376
-
377
- * `size` {Number | null} Optional number of bytes to read.
378
- * Return: {Buffer | String | null}
379
-
380
- Note: **This function SHOULD be called by Readable stream users.**
381
-
382
- Call this method to consume data once the `'readable'` event is
383
- emitted.
384
-
385
- The `size` argument will set a minimum number of bytes that you are
386
- interested in. If not set, then the entire content of the internal
387
- buffer is returned.
388
-
389
- If there is no data to consume, or if there are fewer bytes in the
390
- internal buffer than the `size` argument, then `null` is returned, and
391
- a future `'readable'` event will be emitted when more is available.
392
-
393
- Calling `stream.read(0)` will always return `null`, and will trigger a
394
- refresh of the internal buffer, but otherwise be a no-op.
395
-
396
- ### readable.pipe(destination, [options])
397
-
398
- * `destination` {Writable Stream}
399
- * `options` {Object} Optional
400
- * `end` {Boolean} Default=true
401
-
402
- Connects this readable stream to `destination` WriteStream. Incoming
403
- data on this stream gets written to `destination`. Properly manages
404
- back-pressure so that a slow destination will not be overwhelmed by a
405
- fast readable stream.
406
-
407
- This function returns the `destination` stream.
408
-
409
- For example, emulating the Unix `cat` command:
410
-
411
- process.stdin.pipe(process.stdout);
412
-
413
- By default `end()` is called on the destination when the source stream
414
- emits `end`, so that `destination` is no longer writable. Pass `{ end:
415
- false }` as `options` to keep the destination stream open.
416
-
417
- This keeps `writer` open so that "Goodbye" can be written at the
418
- end.
419
-
420
- reader.pipe(writer, { end: false });
421
- reader.on("end", function() {
422
- writer.end("Goodbye\n");
423
- });
424
-
425
- Note that `process.stderr` and `process.stdout` are never closed until
426
- the process exits, regardless of the specified options.
427
-
428
- ### readable.unpipe([destination])
429
-
430
- * `destination` {Writable Stream} Optional
431
-
432
- Undo a previously established `pipe()`. If no destination is
433
- provided, then all previously established pipes are removed.
434
-
435
- ### readable.pause()
436
-
437
- Switches the readable stream into "old mode", where data is emitted
438
- using a `'data'` event rather than being buffered for consumption via
439
- the `read()` method.
440
-
441
- Ceases the flow of data. No `'data'` events are emitted while the
442
- stream is in a paused state.
443
-
444
- ### readable.resume()
445
-
446
- Switches the readable stream into "old mode", where data is emitted
447
- using a `'data'` event rather than being buffered for consumption via
448
- the `read()` method.
449
-
450
- Resumes the incoming `'data'` events after a `pause()`.
451
-
452
-
453
- ## Class: stream.Writable
454
-
455
- <!--type=class-->
456
-
457
- A `Writable` Stream has the following methods, members, and events.
458
-
459
- Note that `stream.Writable` is an abstract class designed to be
460
- extended with an underlying implementation of the
461
- `_write(chunk, encoding, cb)` method. (See below.)
462
-
463
- ### new stream.Writable([options])
464
-
465
- * `options` {Object}
466
- * `highWaterMark` {Number} Buffer level when `write()` starts
467
- returning false. Default=16kb
468
- * `decodeStrings` {Boolean} Whether or not to decode strings into
469
- Buffers before passing them to `_write()`. Default=true
470
-
471
- In classes that extend the Writable class, make sure to call the
472
- constructor so that the buffering settings can be properly
473
- initialized.
474
-
475
- ### writable.\_write(chunk, encoding, callback)
476
-
477
- * `chunk` {Buffer | String} The chunk to be written. Will always
478
- be a buffer unless the `decodeStrings` option was set to `false`.
479
- * `encoding` {String} If the chunk is a string, then this is the
480
- encoding type. Ignore chunk is a buffer. Note that chunk will
481
- **always** be a buffer unless the `decodeStrings` option is
482
- explicitly set to `false`.
483
- * `callback` {Function} Call this function (optionally with an error
484
- argument) when you are done processing the supplied chunk.
485
-
486
- All Writable stream implementations must provide a `_write` method to
487
- send data to the underlying resource.
488
-
489
- Note: **This function MUST NOT be called directly.** It should be
490
- implemented by child classes, and called by the internal Writable
491
- class methods only.
492
-
493
- Call the callback using the standard `callback(error)` pattern to
494
- signal that the write completed successfully or with an error.
495
-
496
- If the `decodeStrings` flag is set in the constructor options, then
497
- `chunk` may be a string rather than a Buffer, and `encoding` will
498
- indicate the sort of string that it is. This is to support
499
- implementations that have an optimized handling for certain string
500
- data encodings. If you do not explicitly set the `decodeStrings`
501
- option to `false`, then you can safely ignore the `encoding` argument,
502
- and assume that `chunk` will always be a Buffer.
503
-
504
- This method is prefixed with an underscore because it is internal to
505
- the class that defines it, and should not be called directly by user
506
- programs. However, you **are** expected to override this method in
507
- your own extension classes.
508
-
509
-
510
- ### writable.write(chunk, [encoding], [callback])
511
-
512
- * `chunk` {Buffer | String} Data to be written
513
- * `encoding` {String} Optional. If `chunk` is a string, then encoding
514
- defaults to `'utf8'`
515
- * `callback` {Function} Optional. Called when this chunk is
516
- successfully written.
517
- * Returns {Boolean}
518
-
519
- Writes `chunk` to the stream. Returns `true` if the data has been
520
- flushed to the underlying resource. Returns `false` to indicate that
521
- the buffer is full, and the data will be sent out in the future. The
522
- `'drain'` event will indicate when the buffer is empty again.
523
-
524
- The specifics of when `write()` will return false, is determined by
525
- the `highWaterMark` option provided to the constructor.
526
-
527
- ### writable.end([chunk], [encoding], [callback])
528
-
529
- * `chunk` {Buffer | String} Optional final data to be written
530
- * `encoding` {String} Optional. If `chunk` is a string, then encoding
531
- defaults to `'utf8'`
532
- * `callback` {Function} Optional. Called when the final chunk is
533
- successfully written.
534
-
535
- Call this method to signal the end of the data being written to the
536
- stream.
537
-
538
- ### Event: 'drain'
539
-
540
- Emitted when the stream's write queue empties and it's safe to write
541
- without buffering again. Listen for it when `stream.write()` returns
542
- `false`.
543
-
544
- ### Event: 'close'
545
-
546
- Emitted when the underlying resource (for example, the backing file
547
- descriptor) has been closed. Not all streams will emit this.
548
-
549
- ### Event: 'finish'
550
-
551
- When `end()` is called and there are no more chunks to write, this
552
- event is emitted.
553
-
554
- ### Event: 'pipe'
555
-
556
- * `source` {Readable Stream}
557
-
558
- Emitted when the stream is passed to a readable stream's pipe method.
559
-
560
- ### Event 'unpipe'
561
-
562
- * `source` {Readable Stream}
563
-
564
- Emitted when a previously established `pipe()` is removed using the
565
- source Readable stream's `unpipe()` method.
566
-
567
- ## Class: stream.Duplex
568
-
569
- <!--type=class-->
570
-
571
- A "duplex" stream is one that is both Readable and Writable, such as a
572
- TCP socket connection.
573
-
574
- Note that `stream.Duplex` is an abstract class designed to be
575
- extended with an underlying implementation of the `_read(size)`
576
- and `_write(chunk, encoding, callback)` methods as you would with a Readable or
577
- Writable stream class.
578
-
579
- Since JavaScript doesn't have multiple prototypal inheritance, this
580
- class prototypally inherits from Readable, and then parasitically from
581
- Writable. It is thus up to the user to implement both the lowlevel
582
- `_read(n)` method as well as the lowlevel `_write(chunk, encoding, cb)` method
583
- on extension duplex classes.
584
-
585
- ### new stream.Duplex(options)
586
-
587
- * `options` {Object} Passed to both Writable and Readable
588
- constructors. Also has the following fields:
589
- * `allowHalfOpen` {Boolean} Default=true. If set to `false`, then
590
- the stream will automatically end the readable side when the
591
- writable side ends and vice versa.
592
-
593
- In classes that extend the Duplex class, make sure to call the
594
- constructor so that the buffering settings can be properly
595
- initialized.
596
-
597
- ## Class: stream.Transform
598
-
599
- A "transform" stream is a duplex stream where the output is causally
600
- connected in some way to the input, such as a zlib stream or a crypto
601
- stream.
602
-
603
- There is no requirement that the output be the same size as the input,
604
- the same number of chunks, or arrive at the same time. For example, a
605
- Hash stream will only ever have a single chunk of output which is
606
- provided when the input is ended. A zlib stream will either produce
607
- much smaller or much larger than its input.
608
-
609
- Rather than implement the `_read()` and `_write()` methods, Transform
610
- classes must implement the `_transform()` method, and may optionally
611
- also implement the `_flush()` method. (See below.)
612
-
613
- ### new stream.Transform([options])
614
-
615
- * `options` {Object} Passed to both Writable and Readable
616
- constructors.
617
-
618
- In classes that extend the Transform class, make sure to call the
619
- constructor so that the buffering settings can be properly
620
- initialized.
621
-
622
- ### transform.\_transform(chunk, encoding, callback)
623
-
624
- * `chunk` {Buffer | String} The chunk to be transformed. Will always
625
- be a buffer unless the `decodeStrings` option was set to `false`.
626
- * `encoding` {String} If the chunk is a string, then this is the
627
- encoding type. (Ignore if `decodeStrings` chunk is a buffer.)
628
- * `callback` {Function} Call this function (optionally with an error
629
- argument) when you are done processing the supplied chunk.
630
-
631
- Note: **This function MUST NOT be called directly.** It should be
632
- implemented by child classes, and called by the internal Transform
633
- class methods only.
634
-
635
- All Transform stream implementations must provide a `_transform`
636
- method to accept input and produce output.
637
-
638
- `_transform` should do whatever has to be done in this specific
639
- Transform class, to handle the bytes being written, and pass them off
640
- to the readable portion of the interface. Do asynchronous I/O,
641
- process things, and so on.
642
-
643
- Call `transform.push(outputChunk)` 0 or more times to generate output
644
- from this input chunk, depending on how much data you want to output
645
- as a result of this chunk.
646
-
647
- Call the callback function only when the current chunk is completely
648
- consumed. Note that there may or may not be output as a result of any
649
- particular input chunk.
650
-
651
- This method is prefixed with an underscore because it is internal to
652
- the class that defines it, and should not be called directly by user
653
- programs. However, you **are** expected to override this method in
654
- your own extension classes.
655
-
656
- ### transform.\_flush(callback)
657
-
658
- * `callback` {Function} Call this function (optionally with an error
659
- argument) when you are done flushing any remaining data.
660
-
661
- Note: **This function MUST NOT be called directly.** It MAY be implemented
662
- by child classes, and if so, will be called by the internal Transform
663
- class methods only.
664
-
665
- In some cases, your transform operation may need to emit a bit more
666
- data at the end of the stream. For example, a `Zlib` compression
667
- stream will store up some internal state so that it can optimally
668
- compress the output. At the end, however, it needs to do the best it
669
- can with what is left, so that the data will be complete.
670
-
671
- In those cases, you can implement a `_flush` method, which will be
672
- called at the very end, after all the written data is consumed, but
673
- before emitting `end` to signal the end of the readable side. Just
674
- like with `_transform`, call `transform.push(chunk)` zero or more
675
- times, as appropriate, and call `callback` when the flush operation is
676
- complete.
677
-
678
- This method is prefixed with an underscore because it is internal to
679
- the class that defines it, and should not be called directly by user
680
- programs. However, you **are** expected to override this method in
681
- your own extension classes.
682
-
683
- ### Example: `SimpleProtocol` parser
684
-
685
- The example above of a simple protocol parser can be implemented much
686
- more simply by using the higher level `Transform` stream class.
687
-
688
- In this example, rather than providing the input as an argument, it
689
- would be piped into the parser, which is a more idiomatic Node stream
690
- approach.
691
-
692
- ```javascript
693
- function SimpleProtocol(options) {
694
- if (!(this instanceof SimpleProtocol))
695
- return new SimpleProtocol(options);
696
-
697
- Transform.call(this, options);
698
- this._inBody = false;
699
- this._sawFirstCr = false;
700
- this._rawHeader = [];
701
- this.header = null;
702
- }
703
-
704
- SimpleProtocol.prototype = Object.create(
705
- Transform.prototype, { constructor: { value: SimpleProtocol }});
706
-
707
- SimpleProtocol.prototype._transform = function(chunk, encoding, done) {
708
- if (!this._inBody) {
709
- // check if the chunk has a \n\n
710
- var split = -1;
711
- for (var i = 0; i < chunk.length; i++) {
712
- if (chunk[i] === 10) { // '\n'
713
- if (this._sawFirstCr) {
714
- split = i;
715
- break;
716
- } else {
717
- this._sawFirstCr = true;
718
- }
719
- } else {
720
- this._sawFirstCr = false;
721
- }
722
- }
723
-
724
- if (split === -1) {
725
- // still waiting for the \n\n
726
- // stash the chunk, and try again.
727
- this._rawHeader.push(chunk);
728
- } else {
729
- this._inBody = true;
730
- var h = chunk.slice(0, split);
731
- this._rawHeader.push(h);
732
- var header = Buffer.concat(this._rawHeader).toString();
733
- try {
734
- this.header = JSON.parse(header);
735
- } catch (er) {
736
- this.emit('error', new Error('invalid simple protocol data'));
737
- return;
738
- }
739
- // and let them know that we are done parsing the header.
740
- this.emit('header', this.header);
741
-
742
- // now, because we got some extra data, emit this first.
743
- this.push(b);
744
- }
745
- } else {
746
- // from there on, just provide the data to our consumer as-is.
747
- this.push(b);
748
- }
749
- done();
750
- };
751
-
752
- var parser = new SimpleProtocol();
753
- source.pipe(parser)
754
-
755
- // Now parser is a readable stream that will emit 'header'
756
- // with the parsed header data.
757
- ```
758
-
759
-
760
- ## Class: stream.PassThrough
761
-
762
- This is a trivial implementation of a `Transform` stream that simply
763
- passes the input bytes across to the output. Its purpose is mainly
764
- for examples and testing, but there are occasionally use cases where
765
- it can come in handy.
766
-
767
-
768
- [EventEmitter]: events.html#events_class_events_eventemitter