Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dedupe!

  • Loading branch information...
commit 89846808380b9425bb21a6507ede9d3db81ea082 1 parent d14a15a
@isaacs isaacs authored
Showing with 119 additions and 10,694 deletions.
  1. 0  node_modules/{npmconf/node_modules/nopt/node_modules → }/abbrev/README.md
  2. 0  node_modules/{npmconf/node_modules/nopt/node_modules → }/abbrev/lib/abbrev.js
  3. +1 −1  node_modules/{npmconf/node_modules/nopt/node_modules → }/abbrev/package.json
  4. 0  node_modules/{npm/node_modules → }/ansi/.npmignore
  5. 0  node_modules/{npm/node_modules → }/ansi/README.md
  6. 0  node_modules/{npm/node_modules → }/ansi/examples/beep/index.js
  7. 0  node_modules/{npm/node_modules → }/ansi/examples/clear/index.js
  8. 0  node_modules/{npm/node_modules → }/ansi/examples/cursorPosition.js
  9. 0  node_modules/{npm/node_modules → }/ansi/examples/imgcat/index.js
  10. 0  node_modules/{npm/node_modules → }/ansi/examples/imgcat/yoshi.png
  11. 0  node_modules/{npm/node_modules → }/ansi/examples/progress/index.js
  12. 0  node_modules/{npm/node_modules → }/ansi/examples/starwars.js
  13. 0  node_modules/{npm/node_modules → }/ansi/lib/ansi.js
  14. 0  node_modules/{npm/node_modules → }/ansi/lib/newlines.js
  15. +1 −1  node_modules/{npm-registry-client/node_modules/npmlog/node_modules → }/ansi/package.json
  16. 0  node_modules/{npm/node_modules → }/chownr/LICENCE
  17. 0  node_modules/{npm/node_modules → }/chownr/README.md
  18. 0  node_modules/{npm/node_modules → }/chownr/chownr.js
  19. +1 −1  node_modules/{npm-registry-client/node_modules → }/chownr/package.json
  20. 0  node_modules/{npm-registry-client/node_modules → }/chownr/test/basic.js
  21. 0  node_modules/{npm-registry-client/node_modules → }/chownr/test/sync.js
  22. +0 −1  node_modules/glob/node_modules/graceful-fs/.npmignore
  23. +0 −23 node_modules/glob/node_modules/graceful-fs/LICENSE
  24. +0 −5 node_modules/glob/node_modules/graceful-fs/README.md
  25. +0 −281 node_modules/glob/node_modules/graceful-fs/graceful-fs.js
  26. +0 −41 node_modules/glob/node_modules/graceful-fs/test/open.js
  27. +0 −51 node_modules/glob/node_modules/inherits/README.md
  28. +0 −29 node_modules/glob/node_modules/inherits/inherits.js
  29. 0  node_modules/{npm/node_modules → }/graceful-fs/.npmignore
  30. 0  node_modules/{templar/node_modules/lru-cache → graceful-fs}/LICENSE
  31. 0  node_modules/{npm/node_modules → }/graceful-fs/README.md
  32. 0  node_modules/{npm/node_modules → }/graceful-fs/graceful-fs.js
  33. +1 −1  node_modules/{glob/node_modules → }/graceful-fs/package.json
  34. 0  node_modules/{npm/node_modules → }/graceful-fs/test/open.js
  35. 0  node_modules/{npmconf/node_modules → }/inherits/README.md
  36. 0  node_modules/{npmconf/node_modules → }/inherits/inherits.js
  37. +1 −1  node_modules/{glob/node_modules → }/inherits/package.json
  38. 0  node_modules/{st/node_modules/lru-cache → ini}/LICENSE
  39. 0  node_modules/{npmconf/node_modules/config-chain/node_modules → }/ini/README.md
  40. 0  node_modules/{npmconf/node_modules/config-chain/node_modules → }/ini/ini.js
  41. +1 −1  node_modules/{npmconf/node_modules/config-chain/node_modules → }/ini/package.json
  42. 0  node_modules/{npmconf/node_modules/config-chain/node_modules → }/ini/test/bar.js
  43. 0  node_modules/{npmconf/node_modules/config-chain/node_modules → }/ini/test/fixtures/foo.ini
  44. 0  node_modules/{npmconf/node_modules/config-chain/node_modules → }/ini/test/foo.js
  45. 0  node_modules/{stylus/node_modules → }/mkdirp/.npmignore
  46. 0  node_modules/{stylus/node_modules → }/mkdirp/.travis.yml
  47. 0  node_modules/{stylus/node_modules → }/mkdirp/LICENSE
  48. 0  node_modules/{stylus/node_modules → }/mkdirp/README.markdown
  49. 0  node_modules/{stylus/node_modules → }/mkdirp/examples/pow.js
  50. +8 −20 node_modules/{npm/node_modules → }/mkdirp/index.js
  51. +3 −3 node_modules/{stylus/node_modules → }/mkdirp/package.json
  52. 0  node_modules/{stylus/node_modules → }/mkdirp/test/chmod.js
  53. 0  node_modules/{stylus/node_modules → }/mkdirp/test/clobber.js
  54. 0  node_modules/{stylus/node_modules → }/mkdirp/test/mkdirp.js
  55. 0  node_modules/{stylus/node_modules → }/mkdirp/test/perm.js
  56. 0  node_modules/{stylus/node_modules → }/mkdirp/test/perm_sync.js
  57. 0  node_modules/{stylus/node_modules → }/mkdirp/test/race.js
  58. 0  node_modules/{stylus/node_modules → }/mkdirp/test/rel.js
  59. 0  node_modules/{stylus/node_modules → }/mkdirp/test/return.js
  60. 0  node_modules/{stylus/node_modules → }/mkdirp/test/return_sync.js
  61. 0  node_modules/{stylus/node_modules → }/mkdirp/test/root.js
  62. 0  node_modules/{stylus/node_modules → }/mkdirp/test/sync.js
  63. 0  node_modules/{stylus/node_modules → }/mkdirp/test/umask.js
  64. 0  node_modules/{stylus/node_modules → }/mkdirp/test/umask_sync.js
  65. +0 −23 node_modules/nopt/node_modules/abbrev/README.md
  66. +0 −106 node_modules/nopt/node_modules/abbrev/lib/abbrev.js
  67. +0 −20 node_modules/nopt/node_modules/abbrev/package.json
  68. +0 −25 node_modules/npm-registry-client/node_modules/chownr/LICENCE
  69. +0 −3  node_modules/npm-registry-client/node_modules/chownr/README.md
  70. +0 −41 node_modules/npm-registry-client/node_modules/chownr/chownr.js
  71. +0 −1  node_modules/npm-registry-client/node_modules/graceful-fs/.npmignore
  72. +0 −23 node_modules/npm-registry-client/node_modules/graceful-fs/LICENSE
  73. +0 −5 node_modules/npm-registry-client/node_modules/graceful-fs/README.md
  74. +0 −281 node_modules/npm-registry-client/node_modules/graceful-fs/graceful-fs.js
  75. +0 −37 node_modules/npm-registry-client/node_modules/graceful-fs/package.json
  76. +0 −41 node_modules/npm-registry-client/node_modules/graceful-fs/test/open.js
  77. +0 −2  node_modules/npm-registry-client/node_modules/mkdirp/.gitignore.orig
  78. +0 −5 node_modules/npm-registry-client/node_modules/mkdirp/.gitignore.rej
  79. +0 −2  node_modules/npm-registry-client/node_modules/mkdirp/.npmignore
  80. +0 −4 node_modules/npm-registry-client/node_modules/mkdirp/.travis.yml
  81. +0 −21 node_modules/npm-registry-client/node_modules/mkdirp/LICENSE
  82. +0 −61 node_modules/npm-registry-client/node_modules/mkdirp/README.markdown
  83. +0 −6 node_modules/npm-registry-client/node_modules/mkdirp/examples/pow.js
  84. +0 −6 node_modules/npm-registry-client/node_modules/mkdirp/examples/pow.js.orig
  85. +0 −19 node_modules/npm-registry-client/node_modules/mkdirp/examples/pow.js.rej
  86. +0 −94 node_modules/npm-registry-client/node_modules/mkdirp/index.js
  87. +0 −32 node_modules/npm-registry-client/node_modules/mkdirp/package.json
  88. +0 −38 node_modules/npm-registry-client/node_modules/mkdirp/test/chmod.js
  89. +0 −37 node_modules/npm-registry-client/node_modules/mkdirp/test/clobber.js
  90. +0 −28 node_modules/npm-registry-client/node_modules/mkdirp/test/mkdirp.js
  91. +0 −32 node_modules/npm-registry-client/node_modules/mkdirp/test/perm.js
  92. +0 −39 node_modules/npm-registry-client/node_modules/mkdirp/test/perm_sync.js
  93. +0 −41 node_modules/npm-registry-client/node_modules/mkdirp/test/race.js
  94. +0 −32 node_modules/npm-registry-client/node_modules/mkdirp/test/rel.js
  95. +0 −25 node_modules/npm-registry-client/node_modules/mkdirp/test/return.js
  96. +0 −24 node_modules/npm-registry-client/node_modules/mkdirp/test/return_sync.js
  97. +0 −18 node_modules/npm-registry-client/node_modules/mkdirp/test/root.js
  98. +0 −32 node_modules/npm-registry-client/node_modules/mkdirp/test/sync.js
  99. +0 −28 node_modules/npm-registry-client/node_modules/mkdirp/test/umask.js
  100. +0 −32 node_modules/npm-registry-client/node_modules/mkdirp/test/umask_sync.js
  101. +0 −25 node_modules/npm-registry-client/node_modules/npmlog/LICENSE
  102. +0 −153 node_modules/npm-registry-client/node_modules/npmlog/README.md
  103. +0 −39 node_modules/npm-registry-client/node_modules/npmlog/example.js
  104. +0 −154 node_modules/npm-registry-client/node_modules/npmlog/log.js
  105. +0 −1  node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/.npmignore
  106. +0 −99 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/README.md
  107. +0 −16 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/examples/beep/index.js
  108. +0 −15 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/examples/clear/index.js
  109. +0 −24 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/examples/cursorPosition.js
  110. +0 −50 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/examples/imgcat/index.js
  111. BIN  node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/examples/imgcat/yoshi.png
  112. +0 −87 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/examples/progress/index.js
  113. +0 −39 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/examples/starwars.js
  114. +0 −368 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/lib/ansi.js
  115. +0 −71 node_modules/npm-registry-client/node_modules/npmlog/node_modules/ansi/lib/newlines.js
  116. +0 −461 node_modules/npm-registry-client/node_modules/npmlog/test/basic.js
  117. +0 −1  node_modules/npm-registry-client/node_modules/retry/.npmignore
  118. +0 −21 node_modules/npm-registry-client/node_modules/retry/License
  119. +0 −7 node_modules/npm-registry-client/node_modules/retry/Makefile
  120. +0 −167 node_modules/npm-registry-client/node_modules/retry/Readme.md
  121. BIN  node_modules/npm-registry-client/node_modules/retry/equation.gif
  122. +0 −31 node_modules/npm-registry-client/node_modules/retry/example/dns.js
  123. +0 −1  node_modules/npm-registry-client/node_modules/retry/index.js
  124. +0 −50 node_modules/npm-registry-client/node_modules/retry/lib/retry.js
  125. +0 −109 node_modules/npm-registry-client/node_modules/retry/lib/retry_operation.js
  126. +0 −10 node_modules/npm-registry-client/node_modules/retry/test/common.js
  127. +0 −80 node_modules/npm-registry-client/node_modules/retry/test/integration/test-retry-operation.js
  128. +0 −69 node_modules/npm-registry-client/node_modules/retry/test/integration/test-timeouts.js
  129. +0 −5 node_modules/npm-registry-client/node_modules/retry/test/runner.js
  130. +0 −6 node_modules/npm-registry-client/node_modules/rimraf/AUTHORS
  131. +0 −23 node_modules/npm-registry-client/node_modules/rimraf/LICENSE
  132. +0 −21 node_modules/npm-registry-client/node_modules/rimraf/README.md
  133. +0 −161 node_modules/npm-registry-client/node_modules/rimraf/rimraf.js
  134. +0 −23 node_modules/npm-registry-client/node_modules/semver/LICENSE
  135. +0 −119 node_modules/npm-registry-client/node_modules/semver/README.md
  136. +0 −71 node_modules/npm-registry-client/node_modules/semver/bin/semver
  137. +0 −305 node_modules/npm-registry-client/node_modules/semver/semver.js
  138. +0 −1  node_modules/npm-registry-client/node_modules/slide/index.js
  139. +0 −65 node_modules/npm-registry-client/node_modules/slide/lib/async-map-ordered.js
  140. +0 −56 node_modules/npm-registry-client/node_modules/slide/lib/async-map.js
  141. +0 −16 node_modules/npm-registry-client/node_modules/slide/lib/bind-actor.js
  142. +0 −20 node_modules/npm-registry-client/node_modules/slide/lib/chain.js
  143. +0 −3  node_modules/npm-registry-client/node_modules/slide/lib/slide.js
  144. +1 −1  node_modules/npm/html/api/bin.html
  145. +1 −1  node_modules/npm/html/api/bugs.html
  146. +1 −1  node_modules/npm/html/api/commands.html
  147. +1 −1  node_modules/npm/html/api/config.html
  148. +1 −1  node_modules/npm/html/api/deprecate.html
  149. +1 −1  node_modules/npm/html/api/docs.html
  150. +1 −1  node_modules/npm/html/api/edit.html
  151. +1 −1  node_modules/npm/html/api/explore.html
  152. +1 −1  node_modules/npm/html/api/help-search.html
  153. +1 −1  node_modules/npm/html/api/init.html
  154. +1 −1  node_modules/npm/html/api/install.html
  155. +1 −1  node_modules/npm/html/api/link.html
  156. +1 −1  node_modules/npm/html/api/load.html
  157. +1 −1  node_modules/npm/html/api/ls.html
  158. +2 −2 node_modules/npm/html/api/npm.html
  159. +1 −1  node_modules/npm/html/api/outdated.html
  160. +1 −1  node_modules/npm/html/api/owner.html
  161. +1 −1  node_modules/npm/html/api/pack.html
  162. +1 −1  node_modules/npm/html/api/prefix.html
  163. +1 −1  node_modules/npm/html/api/prune.html
  164. +1 −1  node_modules/npm/html/api/publish.html
  165. +1 −1  node_modules/npm/html/api/rebuild.html
  166. +1 −1  node_modules/npm/html/api/restart.html
  167. +1 −1  node_modules/npm/html/api/root.html
  168. +1 −1  node_modules/npm/html/api/run-script.html
  169. +1 −1  node_modules/npm/html/api/search.html
  170. +1 −1  node_modules/npm/html/api/shrinkwrap.html
  171. +1 −1  node_modules/npm/html/api/start.html
  172. +1 −1  node_modules/npm/html/api/stop.html
  173. +1 −1  node_modules/npm/html/api/submodule.html
  174. +1 −1  node_modules/npm/html/api/tag.html
  175. +1 −1  node_modules/npm/html/api/test.html
  176. +1 −1  node_modules/npm/html/api/uninstall.html
  177. +1 −1  node_modules/npm/html/api/unpublish.html
  178. +1 −1  node_modules/npm/html/api/update.html
  179. +1 −1  node_modules/npm/html/api/version.html
  180. +1 −1  node_modules/npm/html/api/view.html
  181. +1 −1  node_modules/npm/html/api/whoami.html
  182. +1 −1  node_modules/npm/html/doc/README.html
  183. +1 −1  node_modules/npm/html/doc/adduser.html
  184. +1 −1  node_modules/npm/html/doc/bin.html
  185. +1 −1  node_modules/npm/html/doc/bugs.html
  186. +1 −1  node_modules/npm/html/doc/build.html
  187. +1 −1  node_modules/npm/html/doc/bundle.html
  188. +1 −1  node_modules/npm/html/doc/cache.html
  189. +1 −1  node_modules/npm/html/doc/changelog.html
  190. +1 −1  node_modules/npm/html/doc/coding-style.html
  191. +1 −1  node_modules/npm/html/doc/completion.html
  192. +1 −1  node_modules/npm/html/doc/config.html
  193. +1 −1  node_modules/npm/html/doc/deprecate.html
  194. +1 −1  node_modules/npm/html/doc/developers.html
  195. +1 −1  node_modules/npm/html/doc/disputes.html
  196. +1 −1  node_modules/npm/html/doc/docs.html
  197. +1 −1  node_modules/npm/html/doc/edit.html
  198. +1 −1  node_modules/npm/html/doc/explore.html
  199. +1 −1  node_modules/npm/html/doc/faq.html
  200. +1 −1  node_modules/npm/html/doc/folders.html
  201. +1 −1  node_modules/npm/html/doc/help-search.html
  202. +1 −1  node_modules/npm/html/doc/help.html
  203. +1 −1  node_modules/npm/html/doc/index.html
  204. +1 −1  node_modules/npm/html/doc/init.html
  205. +1 −1  node_modules/npm/html/doc/install.html
  206. +1 −1  node_modules/npm/html/doc/json.html
  207. +1 −1  node_modules/npm/html/doc/link.html
  208. +2 −2 node_modules/npm/html/doc/list.html
  209. +2 −2 node_modules/npm/html/doc/npm.html
  210. +1 −1  node_modules/npm/html/doc/outdated.html
  211. +1 −1  node_modules/npm/html/doc/owner.html
  212. +1 −1  node_modules/npm/html/doc/pack.html
  213. +1 −1  node_modules/npm/html/doc/prefix.html
  214. +1 −1  node_modules/npm/html/doc/prune.html
  215. +1 −1  node_modules/npm/html/doc/publish.html
  216. +1 −1  node_modules/npm/html/doc/rebuild.html
  217. +1 −1  node_modules/npm/html/doc/registry.html
  218. +1 −1  node_modules/npm/html/doc/removing-npm.html
  219. +1 −1  node_modules/npm/html/doc/restart.html
  220. +1 −1  node_modules/npm/html/doc/root.html
  221. +1 −1  node_modules/npm/html/doc/run-script.html
  222. +1 −1  node_modules/npm/html/doc/scripts.html
  223. +1 −1  node_modules/npm/html/doc/search.html
  224. +1 −1  node_modules/npm/html/doc/semver.html
  225. +1 −1  node_modules/npm/html/doc/shrinkwrap.html
  226. +1 −1  node_modules/npm/html/doc/star.html
  227. +1 −1  node_modules/npm/html/doc/start.html
  228. +1 −1  node_modules/npm/html/doc/stop.html
  229. +1 −1  node_modules/npm/html/doc/submodule.html
  230. +1 −1  node_modules/npm/html/doc/tag.html
  231. +1 −1  node_modules/npm/html/doc/test.html
  232. +1 −1  node_modules/npm/html/doc/uninstall.html
  233. +1 −1  node_modules/npm/html/doc/unpublish.html
  234. +1 −1  node_modules/npm/html/doc/update.html
  235. +1 −1  node_modules/npm/html/doc/version.html
  236. +1 −1  node_modules/npm/html/doc/view.html
  237. +1 −1  node_modules/npm/html/doc/whoami.html
  238. +2 −1  node_modules/npm/lib/view.js
  239. +1 −1  node_modules/npm/man/man1/list.1
  240. +1 −1  node_modules/npm/man/man1/npm.1
  241. +1 −1  node_modules/npm/man/man3/npm.3
  242. +0 −23 node_modules/npm/node_modules/abbrev/LICENSE
  243. +0 −23 node_modules/npm/node_modules/abbrev/README.md
  244. +0 −106 node_modules/npm/node_modules/abbrev/lib/abbrev.js
  245. +0 −11 node_modules/npm/node_modules/abbrev/package.json
  246. +0 −56 node_modules/npm/node_modules/ansi/package.json
  247. +0 −42 node_modules/npm/node_modules/chownr/package.json
  248. +0 −241 node_modules/npm/node_modules/couch-login/README.md
  249. +0 −304 node_modules/npm/node_modules/couch-login/couch-login.js
  250. +0 −27 node_modules/npm/node_modules/couch-login/package.json
  251. +0 −286 node_modules/npm/node_modules/couch-login/test/basic.js
  252. +0 −254 node_modules/npm/node_modules/couch-login/test/registry.js
  253. +0 −2  node_modules/npm/node_modules/glob/.npmignore
  254. +0 −4 node_modules/npm/node_modules/glob/.travis.yml
  255. +0 −27 node_modules/npm/node_modules/glob/LICENSE
  256. +0 −233 node_modules/npm/node_modules/glob/README.md
  257. +0 −9 node_modules/npm/node_modules/glob/examples/g.js
  258. +0 −9 node_modules/npm/node_modules/glob/examples/usr-local.js
  259. +0 −602 node_modules/npm/node_modules/glob/glob.js
  260. +0 −35 node_modules/npm/node_modules/glob/package.json
  261. +0 −61 node_modules/npm/node_modules/glob/test/00-setup.js
  262. +0 −118 node_modules/npm/node_modules/glob/test/bash-comparison.js
  263. +0 −55 node_modules/npm/node_modules/glob/test/cwd-test.js
  264. +0 −106 node_modules/npm/node_modules/glob/test/pause-resume.js
  265. +0 −39 node_modules/npm/node_modules/glob/test/root-nomount.js
  266. +0 −43 node_modules/npm/node_modules/glob/test/root.js
  267. +0 −11 node_modules/npm/node_modules/glob/test/zz-cleanup.js
  268. +0 −23 node_modules/npm/node_modules/graceful-fs/LICENSE
  269. +0 −37 node_modules/npm/node_modules/graceful-fs/package.json
  270. +0 −14 node_modules/npm/node_modules/inherits/LICENSE
  271. +0 −51 node_modules/npm/node_modules/inherits/README.md
  272. +0 −40 node_modules/npm/node_modules/inherits/inherits-old.js
  273. +0 −29 node_modules/npm/node_modules/inherits/inherits.js
  274. +0 −44 node_modules/npm/node_modules/inherits/package.json
  275. +0 −23 node_modules/npm/node_modules/ini/LICENSE
  276. +0 −71 node_modules/npm/node_modules/ini/README.md
  277. +0 −120 node_modules/npm/node_modules/ini/ini.js
  278. +0 −28 node_modules/npm/node_modules/ini/package.json
  279. +0 −23 node_modules/npm/node_modules/ini/test/bar.js
  280. +0 −29 node_modules/npm/node_modules/ini/test/fixtures/foo.ini
  281. +0 −59 node_modules/npm/node_modules/ini/test/foo.js
  282. +0 −1  node_modules/npm/node_modules/lru-cache/.npmignore
  283. +0 −7 node_modules/npm/node_modules/lru-cache/AUTHORS
  284. +0 −23 node_modules/npm/node_modules/lru-cache/LICENSE
  285. +0 −46 node_modules/npm/node_modules/lru-cache/README.md
  286. +0 −193 node_modules/npm/node_modules/lru-cache/lib/lru-cache.js
  287. +0 −56 node_modules/npm/node_modules/lru-cache/package.json
  288. +0 −248 node_modules/npm/node_modules/lru-cache/test/basic.js
  289. +0 −4 node_modules/npm/node_modules/minimatch/.travis.yml
  290. +0 −23 node_modules/npm/node_modules/minimatch/LICENSE
  291. +0 −218 node_modules/npm/node_modules/minimatch/README.md
  292. +0 −1,052 node_modules/npm/node_modules/minimatch/minimatch.js
  293. +0 −34 node_modules/npm/node_modules/minimatch/package.json
  294. +0 −273 node_modules/npm/node_modules/minimatch/test/basic.js
  295. +0 −33 node_modules/npm/node_modules/minimatch/test/brace-expand.js
  296. +0 −14 node_modules/npm/node_modules/minimatch/test/caching.js
  297. +0 −274 node_modules/npm/node_modules/minimatch/test/defaults.js
  298. +0 −2  node_modules/npm/node_modules/mkdirp/.gitignore.orig
  299. +0 −5 node_modules/npm/node_modules/mkdirp/.gitignore.rej
  300. +0 −2  node_modules/npm/node_modules/mkdirp/.npmignore
Sorry, we could not display the entire diff because too many files (566) changed.
View
0  ...odules/nopt/node_modules/abbrev/README.md → node_modules/abbrev/README.md
File renamed without changes
View
0  ...es/nopt/node_modules/abbrev/lib/abbrev.js → node_modules/abbrev/lib/abbrev.js
File renamed without changes
View
2  ...les/nopt/node_modules/abbrev/package.json → node_modules/abbrev/package.json
@@ -16,5 +16,5 @@
},
"readme": "# abbrev-js\n\nJust like [ruby's Abbrev](http://apidock.com/ruby/Abbrev).\n\nUsage:\n\n var abbrev = require(\"abbrev\");\n abbrev(\"foo\", \"fool\", \"folding\", \"flop\");\n \n // returns:\n { fl: 'flop'\n , flo: 'flop'\n , flop: 'flop'\n , fol: 'folding'\n , fold: 'folding'\n , foldi: 'folding'\n , foldin: 'folding'\n , folding: 'folding'\n , foo: 'foo'\n , fool: 'fool'\n }\n\nThis is handy for command-line scripts, or other cases where you want to be able to accept shorthands.\n",
"_id": "abbrev@1.0.3",
- "_from": "abbrev@1"
+ "_from": "abbrev@1.0.3"
}
View
0  ..._modules/npm/node_modules/ansi/.npmignore → node_modules/ansi/.npmignore
File renamed without changes
View
0  node_modules/npm/node_modules/ansi/README.md → node_modules/ansi/README.md
File renamed without changes
View
0  .../node_modules/ansi/examples/beep/index.js → node_modules/ansi/examples/beep/index.js
File renamed without changes
View
0  ...node_modules/ansi/examples/clear/index.js → node_modules/ansi/examples/clear/index.js
File renamed without changes
View
0  ...e_modules/ansi/examples/cursorPosition.js → node_modules/ansi/examples/cursorPosition.js
File renamed without changes
View
0  ...ode_modules/ansi/examples/imgcat/index.js → node_modules/ansi/examples/imgcat/index.js
File renamed without changes
View
0  ...de_modules/ansi/examples/imgcat/yoshi.png → node_modules/ansi/examples/imgcat/yoshi.png
File renamed without changes
View
0  ...e_modules/ansi/examples/progress/index.js → node_modules/ansi/examples/progress/index.js
File renamed without changes
View
0  ...pm/node_modules/ansi/examples/starwars.js → node_modules/ansi/examples/starwars.js
File renamed without changes
View
0  ...modules/npm/node_modules/ansi/lib/ansi.js → node_modules/ansi/lib/ansi.js
File renamed without changes
View
0  ...les/npm/node_modules/ansi/lib/newlines.js → node_modules/ansi/lib/newlines.js
File renamed without changes
View
2  ...les/npmlog/node_modules/ansi/package.json → node_modules/ansi/package.json
@@ -40,5 +40,5 @@
},
"readme": "ansi.js\n=========\n### Advanced ANSI formatting tool for Node.js\n\n![](http://f.cl.ly/items/0D3w3d1W443f2z3X361G/Screen%20Shot%202012-01-26%20at%202.18.31%20AM.png)\n\n`ansi.js` is a module for Node.js that provides an easy-to-use API for\nwriting ANSI escape codes to `Stream` instances. ANSI escape codes are used to do\nfancy things in a terminal window, like render text in colors, delete characters,\nlines, the entire window, or hide and show the cursor, and lots more!\n\nThe code for the example in the screenshot above can be found in the\n`examples/imgcat` directory.\n\n#### Features:\n\n * 256 color support for the terminal!\n * Make a beep sound from your terminal!\n * Works with *any* writable `Stream` instance.\n * Allows you to move the cursor anywhere on the terminal window.\n * Allows you to delete existing contents from the terminal window.\n * Allows you to hide and show the cursor.\n * Converts CSS color codes and RGB values into ANSI escape codes.\n * Low-level; you are in control of when escape codes are used, it's not abstracted.\n\n\nInstallation\n------------\n\nInstall with `npm`:\n\n``` bash\n$ npm install ansi\n```\n\n\nExample\n-------\n\n``` js\nvar ansi = require('ansi')\n , cursor = ansi(process.stdout)\n\n// You can chain your calls forever:\ncursor\n .red() // Set font color to red\n .bg.grey() // Set background color to grey\n .write('Hello World!') // Write 'Hello World!' to stdout\n .bg.reset() // Reset the bgcolor before writing the trailing \\n,\n // to avoid Terminal glitches\n .write('\\n') // And a final \\n to wrap things up\n\n// Rendering modes are persistent:\ncursor.hex('#660000').bold().underline()\n\n// You can use the regular logging functions, text will be green\nconsole.log('This is blood red, bold text')\n\n// To reset just the foreground color:\ncursor.fg.reset()\n\nconsole.log('This will still be bold')\n\n// Clean up after yourself!\ncursor.reset()\n```\n\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2012 Nathan Rajlich <nathan@tootallnate.net>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n----------\n\nAdditionally:\n\n * The `yoshi.png` file inside `examples/imgcat` is copyright to Nintendo, Inc.\n",
"_id": "ansi@0.1.2",
- "_from": "ansi@~0.1.2"
+ "_from": "ansi@0.1.2"
}
View
0  node_modules/npm/node_modules/chownr/LICENCE → node_modules/chownr/LICENCE
File renamed without changes
View
0  ...modules/npm/node_modules/chownr/README.md → node_modules/chownr/README.md
File renamed without changes
View
0  ...modules/npm/node_modules/chownr/chownr.js → node_modules/chownr/chownr.js
File renamed without changes
View
2  ...y-client/node_modules/chownr/package.json → node_modules/chownr/package.json
@@ -23,5 +23,5 @@
"license": "BSD",
"readme": "Like `chown -R`.\n\nTakes the same arguments as `fs.chown()`\n",
"_id": "chownr@0.0.1",
- "_from": "chownr@0"
+ "_from": "chownr@0.0.1"
}
View
0  ...-client/node_modules/chownr/test/basic.js → node_modules/chownr/test/basic.js
File renamed without changes
View
0  ...y-client/node_modules/chownr/test/sync.js → node_modules/chownr/test/sync.js
File renamed without changes
View
1  node_modules/glob/node_modules/graceful-fs/.npmignore
@@ -1 +0,0 @@
-node_modules/
View
23 node_modules/glob/node_modules/graceful-fs/LICENSE
@@ -1,23 +0,0 @@
-Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
-All rights reserved.
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
View
5 node_modules/glob/node_modules/graceful-fs/README.md
@@ -1,5 +0,0 @@
-Just like node's `fs` module, but it does an incremental back-off when
-EMFILE is encountered.
-
-Useful in asynchronous situations where one needs to try to open lots
-and lots of files.
View
281 node_modules/glob/node_modules/graceful-fs/graceful-fs.js
@@ -1,281 +0,0 @@
-// this keeps a queue of opened file descriptors, and will make
-// fs operations wait until some have closed before trying to open more.
-
-var fs = require("fs")
-
-// there is such a thing as TOO graceful.
-if (fs.open === gracefulOpen) return
-
-var queue = []
- , constants = require("constants")
-
-exports = module.exports = fs
-fs._curOpen = 0
-
-fs.MIN_MAX_OPEN = 64
-fs.MAX_OPEN = 1024
-
-var originalOpen = fs.open
- , originalOpenSync = fs.openSync
- , originalClose = fs.close
- , originalCloseSync = fs.closeSync
-
-
-// prevent EMFILE errors
-function OpenReq (path, flags, mode, cb) {
- this.path = path
- this.flags = flags
- this.mode = mode
- this.cb = cb
-}
-
-function noop () {}
-
-fs.open = gracefulOpen
-
-function gracefulOpen (path, flags, mode, cb) {
- if (typeof mode === "function") cb = mode, mode = null
- if (typeof cb !== "function") cb = noop
-
- if (fs._curOpen >= fs.MAX_OPEN) {
- queue.push(new OpenReq(path, flags, mode, cb))
- setTimeout(flush)
- return
- }
- open(path, flags, mode, function (er, fd) {
- if (er && er.code === "EMFILE" && fs._curOpen > fs.MIN_MAX_OPEN) {
- // that was too many. reduce max, get back in queue.
- // this should only happen once in a great while, and only
- // if the ulimit -n is set lower than 1024.
- fs.MAX_OPEN = fs._curOpen - 1
- return fs.open(path, flags, mode, cb)
- }
- cb(er, fd)
- })
-}
-
-function open (path, flags, mode, cb) {
- cb = cb || noop
- fs._curOpen ++
- originalOpen.call(fs, path, flags, mode, function (er, fd) {
- if (er) onclose()
- cb(er, fd)
- })
-}
-
-fs.openSync = function (path, flags, mode) {
- var ret
- try {
- ret = originalOpenSync.call(fs, path, flags, mode)
- fs._curOpen ++
- } finally {}
- return ret
-}
-
-function onclose () {
- fs._curOpen --
- flush()
-}
-
-function flush () {
- while (fs._curOpen < fs.MAX_OPEN) {
- var req = queue.shift()
- if (!req) return
- open(req.path, req.flags || "r", req.mode || 0777, req.cb)
- }
-}
-
-fs.close = function (fd, cb) {
- cb = cb || noop
- originalClose.call(fs, fd, function (er) {
- onclose()
- cb(er)
- })
-}
-
-fs.closeSync = function (fd) {
- onclose()
- return originalCloseSync.call(fs, fd)
-}
-
-
-// (re-)implement some things that are known busted or missing.
-
-var constants = require("constants")
-
-// lchmod, broken prior to 0.6.2
-// back-port the fix here.
-if (constants.hasOwnProperty('O_SYMLINK') &&
- process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
- fs.lchmod = function (path, mode, callback) {
- callback = callback || noop
- fs.open( path
- , constants.O_WRONLY | constants.O_SYMLINK
- , mode
- , function (err, fd) {
- if (err) {
- callback(err)
- return
- }
- // prefer to return the chmod error, if one occurs,
- // but still try to close, and report closing errors if they occur.
- fs.fchmod(fd, mode, function (err) {
- fs.close(fd, function(err2) {
- callback(err || err2)
- })
- })
- })
- }
-
- fs.lchmodSync = function (path, mode) {
- var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)
-
- // prefer to return the chmod error, if one occurs,
- // but still try to close, and report closing errors if they occur.
- var err, err2
- try {
- var ret = fs.fchmodSync(fd, mode)
- } catch (er) {
- err = er
- }
- try {
- fs.closeSync(fd)
- } catch (er) {
- err2 = er
- }
- if (err || err2) throw (err || err2)
- return ret
- }
-}
-
-
-// lutimes implementation, or no-op
-if (!fs.lutimes) {
- if (constants.hasOwnProperty("O_SYMLINK")) {
- fs.lutimes = function (path, at, mt, cb) {
- fs.open(path, constants.O_SYMLINK, function (er, fd) {
- cb = cb || noop
- if (er) return cb(er)
- fs.futimes(fd, at, mt, function (er) {
- fs.close(fd, function (er2) {
- return cb(er || er2)
- })
- })
- })
- }
-
- fs.lutimesSync = function (path, at, mt) {
- var fd = fs.openSync(path, constants.O_SYMLINK)
- , err
- , err2
- , ret
-
- try {
- var ret = fs.futimesSync(fd, at, mt)
- } catch (er) {
- err = er
- }
- try {
- fs.closeSync(fd)
- } catch (er) {
- err2 = er
- }
- if (err || err2) throw (err || err2)
- return ret
- }
-
- } else if (fs.utimensat && constants.hasOwnProperty("AT_SYMLINK_NOFOLLOW")) {
- // maybe utimensat will be bound soonish?
- fs.lutimes = function (path, at, mt, cb) {
- fs.utimensat(path, at, mt, constants.AT_SYMLINK_NOFOLLOW, cb)
- }
-
- fs.lutimesSync = function (path, at, mt) {
- return fs.utimensatSync(path, at, mt, constants.AT_SYMLINK_NOFOLLOW)
- }
-
- } else {
- fs.lutimes = function (_a, _b, _c, cb) { process.nextTick(cb) }
- fs.lutimesSync = function () {}
- }
-}
-
-
-// https://github.com/isaacs/node-graceful-fs/issues/4
-// Chown should not fail on einval or eperm if non-root.
-
-fs.chown = chownFix(fs.chown)
-fs.fchown = chownFix(fs.fchown)
-fs.lchown = chownFix(fs.lchown)
-
-fs.chownSync = chownFixSync(fs.chownSync)
-fs.fchownSync = chownFixSync(fs.fchownSync)
-fs.lchownSync = chownFixSync(fs.lchownSync)
-
-function chownFix (orig) {
- if (!orig) return orig
- return function (target, uid, gid, cb) {
- return orig.call(fs, target, uid, gid, function (er, res) {
- if (chownErOk(er)) er = null
- cb(er, res)
- })
- }
-}
-
-function chownFixSync (orig) {
- if (!orig) return orig
- return function (target, uid, gid) {
- try {
- return orig.call(fs, target, uid, gid)
- } catch (er) {
- if (!chownErOk(er)) throw er
- }
- }
-}
-
-function chownErOk (er) {
- // if there's no getuid, or if getuid() is something other than 0,
- // and the error is EINVAL or EPERM, then just ignore it.
- // This specific case is a silent failure in cp, install, tar,
- // and most other unix tools that manage permissions.
- // When running as root, or if other types of errors are encountered,
- // then it's strict.
- if (!er || (!process.getuid || process.getuid() !== 0)
- && (er.code === "EINVAL" || er.code === "EPERM")) return true
-}
-
-
-// if lchmod/lchown do not exist, then make them no-ops
-if (!fs.lchmod) {
- fs.lchmod = function (path, mode, cb) {
- process.nextTick(cb)
- }
- fs.lchmodSync = function () {}
-}
-if (!fs.lchown) {
- fs.lchown = function (path, uid, gid, cb) {
- process.nextTick(cb)
- }
- fs.lchownSync = function () {}
-}
-
-
-
-
-// on Windows, A/V software can lock the directory, causing this
-// to fail with an EACCES or EPERM if the directory contains newly
-// created files. Try again on failure, for up to 1 second.
-if (process.platform === "win32") {
- var rename_ = fs.rename
- fs.rename = function rename (from, to, cb) {
- var start = Date.now()
- rename_(from, to, function CB (er) {
- if (er
- && (er.code === "EACCES" || er.code === "EPERM")
- && Date.now() - start < 1000) {
- return rename_(from, to, CB)
- }
- cb(er)
- })
- }
-}
View
41 node_modules/glob/node_modules/graceful-fs/test/open.js
@@ -1,41 +0,0 @@
-var test = require('tap').test
-var fs = require('../graceful-fs.js')
-
-test('open an existing file works', function (t) {
- var start = fs._curOpen
- var fd = fs.openSync(__filename, 'r')
- t.equal(fs._curOpen, start + 1)
- fs.closeSync(fd)
- t.equal(fs._curOpen, start)
- fs.open(__filename, 'r', function (er, fd) {
- if (er) throw er
- t.equal(fs._curOpen, start + 1)
- fs.close(fd, function (er) {
- if (er) throw er
- t.equal(fs._curOpen, start)
- t.end()
- })
- })
-})
-
-test('open a non-existing file throws', function (t) {
- var start = fs._curOpen
- var er
- try {
- var fd = fs.openSync('this file does not exist', 'r')
- } catch (x) {
- er = x
- }
- t.ok(er, 'should throw')
- t.notOk(fd, 'should not get an fd')
- t.equal(er.code, 'ENOENT')
- t.equal(fs._curOpen, start)
-
- fs.open('neither does this file', 'r', function (er, fd) {
- t.ok(er, 'should throw')
- t.notOk(fd, 'should not get an fd')
- t.equal(er.code, 'ENOENT')
- t.equal(fs._curOpen, start)
- t.end()
- })
-})
View
51 node_modules/glob/node_modules/inherits/README.md
@@ -1,51 +0,0 @@
-A dead simple way to do inheritance in JS.
-
- var inherits = require("inherits")
-
- function Animal () {
- this.alive = true
- }
- Animal.prototype.say = function (what) {
- console.log(what)
- }
-
- inherits(Dog, Animal)
- function Dog () {
- Dog.super.apply(this)
- }
- Dog.prototype.sniff = function () {
- this.say("sniff sniff")
- }
- Dog.prototype.bark = function () {
- this.say("woof woof")
- }
-
- inherits(Chihuahua, Dog)
- function Chihuahua () {
- Chihuahua.super.apply(this)
- }
- Chihuahua.prototype.bark = function () {
- this.say("yip yip")
- }
-
- // also works
- function Cat () {
- Cat.super.apply(this)
- }
- Cat.prototype.hiss = function () {
- this.say("CHSKKSS!!")
- }
- inherits(Cat, Animal, {
- meow: function () { this.say("miao miao") }
- })
- Cat.prototype.purr = function () {
- this.say("purr purr")
- }
-
-
- var c = new Chihuahua
- assert(c instanceof Chihuahua)
- assert(c instanceof Dog)
- assert(c instanceof Animal)
-
-The actual function is laughably small. 10-lines small.
View
29 node_modules/glob/node_modules/inherits/inherits.js
@@ -1,29 +0,0 @@
-module.exports = inherits
-
-function inherits (c, p, proto) {
- proto = proto || {}
- var e = {}
- ;[c.prototype, proto].forEach(function (s) {
- Object.getOwnPropertyNames(s).forEach(function (k) {
- e[k] = Object.getOwnPropertyDescriptor(s, k)
- })
- })
- c.prototype = Object.create(p.prototype, e)
- c.super = p
-}
-
-//function Child () {
-// Child.super.call(this)
-// console.error([this
-// ,this.constructor
-// ,this.constructor === Child
-// ,this.constructor.super === Parent
-// ,Object.getPrototypeOf(this) === Child.prototype
-// ,Object.getPrototypeOf(Object.getPrototypeOf(this))
-// === Parent.prototype
-// ,this instanceof Child
-// ,this instanceof Parent])
-//}
-//function Parent () {}
-//inherits(Child, Parent)
-//new Child
View
0  ...s/npm/node_modules/graceful-fs/.npmignore → node_modules/graceful-fs/.npmignore
File renamed without changes
View
0  ...es/templar/node_modules/lru-cache/LICENSE → node_modules/graceful-fs/LICENSE
File renamed without changes
View
0  ...es/npm/node_modules/graceful-fs/README.md → node_modules/graceful-fs/README.md
File renamed without changes
View
0  ...m/node_modules/graceful-fs/graceful-fs.js → node_modules/graceful-fs/graceful-fs.js
File renamed without changes
View
2  ...lob/node_modules/graceful-fs/package.json → node_modules/graceful-fs/package.json
@@ -33,5 +33,5 @@
"license": "BSD",
"readme": "Just like node's `fs` module, but it does an incremental back-off when\nEMFILE is encountered.\n\nUseful in asynchronous situations where one needs to try to open lots\nand lots of files.\n",
"_id": "graceful-fs@1.1.10",
- "_from": "graceful-fs@~1.1.2"
+ "_from": "graceful-fs@1.1.10"
}
View
0  ...npm/node_modules/graceful-fs/test/open.js → node_modules/graceful-fs/test/open.js
File renamed without changes
View
0  ...s/npmconf/node_modules/inherits/README.md → node_modules/inherits/README.md
File renamed without changes
View
0  ...npmconf/node_modules/inherits/inherits.js → node_modules/inherits/inherits.js
File renamed without changes
View
2  ...s/glob/node_modules/inherits/package.json → node_modules/inherits/package.json
@@ -21,5 +21,5 @@
},
"readme": "A dead simple way to do inheritance in JS.\n\n var inherits = require(\"inherits\")\n\n function Animal () {\n this.alive = true\n }\n Animal.prototype.say = function (what) {\n console.log(what)\n }\n\n inherits(Dog, Animal)\n function Dog () {\n Dog.super.apply(this)\n }\n Dog.prototype.sniff = function () {\n this.say(\"sniff sniff\")\n }\n Dog.prototype.bark = function () {\n this.say(\"woof woof\")\n }\n\n inherits(Chihuahua, Dog)\n function Chihuahua () {\n Chihuahua.super.apply(this)\n }\n Chihuahua.prototype.bark = function () {\n this.say(\"yip yip\")\n }\n\n // also works\n function Cat () {\n Cat.super.apply(this)\n }\n Cat.prototype.hiss = function () {\n this.say(\"CHSKKSS!!\")\n }\n inherits(Cat, Animal, {\n meow: function () { this.say(\"miao miao\") }\n })\n Cat.prototype.purr = function () {\n this.say(\"purr purr\")\n }\n\n\n var c = new Chihuahua\n assert(c instanceof Chihuahua)\n assert(c instanceof Dog)\n assert(c instanceof Animal)\n\nThe actual function is laughably small. 10-lines small.\n",
"_id": "inherits@1.0.0",
- "_from": "inherits@1"
+ "_from": "inherits@1.0.0"
}
View
0  ...modules/st/node_modules/lru-cache/LICENSE → node_modules/ini/LICENSE
File renamed without changes
View
0  ...s/config-chain/node_modules/ini/README.md → node_modules/ini/README.md
File renamed without changes
View
0  ...ules/config-chain/node_modules/ini/ini.js → node_modules/ini/ini.js
File renamed without changes
View
2  ...onfig-chain/node_modules/ini/package.json → node_modules/ini/package.json
@@ -24,5 +24,5 @@
},
"readme": "An ini format parser and serializer for node.\n\nSections are treated as nested objects. Items before the first heading\nare saved on the object directly.\n\n## Usage\n\nConsider an ini-file `config.ini` that looks like this:\n\n ; this comment is being ignored\n scope = global\n\n [database]\n user = dbuser\n password = dbpassword\n database = use_this_database\n\n [paths.default]\n datadir = /var/lib/data\n\nYou can read, manipulate and write the ini-file like so:\n\n var fs = require('fs')\n , ini = require('ini')\n\n var config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'))\n\n config.scope = 'local'\n config.database.database = 'use_another_database'\n config.paths.default.tmpdir = '/tmp'\n delete config.paths.default.datadir\n\n fs.writeFileSync('./config_modified.ini', ini.stringify(config, 'section'))\n\nThis will result in a file called `config_modified.ini` being written to the filesystem with the following content:\n\n [section]\n scope = local\n [section.database]\n user = dbuser\n password = dbpassword\n database = use_another_database\n [section.paths.default]\n tmpdir = /tmp\n\n## API\n\n### decode(inistring)\nDecode the ini-style formatted `inistring` into a nested object.\n\n### parse(inistring)\nAlias for `decode(inistring)`\n\n### encode(object, [section])\nEncode the object `object` into an ini-style formatted string. If the optional parameter `section` is given, then all top-level properties of the object are put into this section and the `section`-string is prepended to all sub-sections, see the usage example above.\n\n### stringify(object, [section])\nAlias for `encode(object, [section])`\n\n### safe(val)\nEscapes the string `val` such that it is safe to be used as a key or value in an ini-file. Basically escapes quotes. For example\n\n ini.safe('\"unsafe string\"')\n\nwould result in\n\n \"\\\"unsafe string\\\"\"\n\n### unsafe(val)\nUnescapes the string `val`\n\n",
"_id": "ini@1.0.4",
- "_from": "ini@~1.0.2"
+ "_from": "ini@1.0.4"
}
View
0  ...config-chain/node_modules/ini/test/bar.js → node_modules/ini/test/bar.js
File renamed without changes
View
0  ...in/node_modules/ini/test/fixtures/foo.ini → node_modules/ini/test/fixtures/foo.ini
File renamed without changes
View
0  ...config-chain/node_modules/ini/test/foo.js → node_modules/ini/test/foo.js
File renamed without changes
View
0  ...les/stylus/node_modules/mkdirp/.npmignore → node_modules/mkdirp/.npmignore
File renamed without changes
View
0  ...es/stylus/node_modules/mkdirp/.travis.yml → node_modules/mkdirp/.travis.yml
File renamed without changes
View
0  ...odules/stylus/node_modules/mkdirp/LICENSE → node_modules/mkdirp/LICENSE
File renamed without changes
View
0  ...tylus/node_modules/mkdirp/README.markdown → node_modules/mkdirp/README.markdown
File renamed without changes
View
0  ...tylus/node_modules/mkdirp/examples/pow.js → node_modules/mkdirp/examples/pow.js
File renamed without changes
View
28 ..._modules/npm/node_modules/mkdirp/index.js → node_modules/mkdirp/index.js
@@ -27,18 +27,10 @@ function mkdirP (p, mode, f, made) {
});
break;
- case 'EISDIR':
- case 'EPERM':
- // Operation not permitted or already is a dir.
- // This is the error you get when trying to mkdir('c:/')
- // on windows, or mkdir('/') on unix. Make sure it's a
- // dir by falling through to the EEXIST case.
- case 'EROFS':
- // a read-only file system.
- // However, the dir could already exist, in which case
- // the EROFS error will be obscuring a EEXIST!
- // Fallthrough to that case.
- case 'EEXIST':
+ // In the case of any other error, just see if there's a dir
+ // there already. If so, then hooray! If not, then something
+ // is borked.
+ default:
fs.stat(p, function (er2, stat) {
// if the stat fails, then that's super weird.
// let the original error be the failure reason.
@@ -46,10 +38,6 @@ function mkdirP (p, mode, f, made) {
else cb(null, made);
});
break;
-
- default:
- cb(er, made);
- break;
}
});
}
@@ -74,7 +62,10 @@ mkdirP.sync = function sync (p, mode, made) {
sync(p, mode, made);
break;
- case 'EEXIST' :
+ // In the case of any other error, just see if there's a dir
+ // there already. If so, then hooray! If not, then something
+ // is borked.
+ default:
var stat;
try {
stat = fs.statSync(p);
@@ -84,9 +75,6 @@ mkdirP.sync = function sync (p, mode, made) {
}
if (!stat.isDirectory()) throw err0;
break;
- default :
- throw err0
- break;
}
}
View
6 ...s/stylus/node_modules/mkdirp/package.json → node_modules/mkdirp/package.json
@@ -1,7 +1,7 @@
{
"name": "mkdirp",
"description": "Recursively mkdir, like `mkdir -p`",
- "version": "0.3.3",
+ "version": "0.3.4",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
@@ -27,6 +27,6 @@
"node": "*"
},
"readme": "mkdirp\n======\n\nLike `mkdir -p`, but in node.js!\n\n[![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp)\n\nexample\n=======\n\npow.js\n------\n var mkdirp = require('mkdirp');\n \n mkdirp('/tmp/foo/bar/baz', function (err) {\n if (err) console.error(err)\n else console.log('pow!')\n });\n\nOutput\n pow!\n\nAnd now /tmp/foo/bar/baz exists, huzzah!\n\nmethods\n=======\n\nvar mkdirp = require('mkdirp');\n\nmkdirp(dir, mode, cb)\n---------------------\n\nCreate a new directory and any necessary subdirectories at `dir` with octal\npermission string `mode`.\n\nIf `mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\n`cb(err, made)` fires with the error or the first directory `made`\nthat had to be created, if any.\n\nmkdirp.sync(dir, mode)\n----------------------\n\nSynchronously create a new directory and any necessary subdirectories at `dir`\nwith octal permission string `mode`.\n\nIf `mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\nReturns the first directory that had to be created, if any.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n npm install mkdirp\n\nlicense\n=======\n\nMIT/X11\n",
- "_id": "mkdirp@0.3.3",
- "_from": "mkdirp@0.3.x"
+ "_id": "mkdirp@0.3.4",
+ "_from": "mkdirp@0.3.4"
}
View
0  .../stylus/node_modules/mkdirp/test/chmod.js → node_modules/mkdirp/test/chmod.js
File renamed without changes
View
0  ...tylus/node_modules/mkdirp/test/clobber.js → node_modules/mkdirp/test/clobber.js
File renamed without changes
View
0  ...stylus/node_modules/mkdirp/test/mkdirp.js → node_modules/mkdirp/test/mkdirp.js
File renamed without changes
View
0  ...s/stylus/node_modules/mkdirp/test/perm.js → node_modules/mkdirp/test/perm.js
File renamed without changes
View
0  ...lus/node_modules/mkdirp/test/perm_sync.js → node_modules/mkdirp/test/perm_sync.js
File renamed without changes
View
0  ...s/stylus/node_modules/mkdirp/test/race.js → node_modules/mkdirp/test/race.js
File renamed without changes
View
0  ...es/stylus/node_modules/mkdirp/test/rel.js → node_modules/mkdirp/test/rel.js
File renamed without changes
View
0  ...stylus/node_modules/mkdirp/test/return.js → node_modules/mkdirp/test/return.js
File renamed without changes
View
0  ...s/node_modules/mkdirp/test/return_sync.js → node_modules/mkdirp/test/return_sync.js
File renamed without changes
View
0  ...s/stylus/node_modules/mkdirp/test/root.js → node_modules/mkdirp/test/root.js
File renamed without changes
View
0  ...s/stylus/node_modules/mkdirp/test/sync.js → node_modules/mkdirp/test/sync.js
File renamed without changes
View
0  .../stylus/node_modules/mkdirp/test/umask.js → node_modules/mkdirp/test/umask.js
File renamed without changes
View
0  ...us/node_modules/mkdirp/test/umask_sync.js → node_modules/mkdirp/test/umask_sync.js
File renamed without changes
View
23 node_modules/nopt/node_modules/abbrev/README.md
@@ -1,23 +0,0 @@
-# abbrev-js
-
-Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev).
-
-Usage:
-
- var abbrev = require("abbrev");
- abbrev("foo", "fool", "folding", "flop");
-
- // returns:
- { fl: 'flop'
- , flo: 'flop'
- , flop: 'flop'
- , fol: 'folding'
- , fold: 'folding'
- , foldi: 'folding'
- , foldin: 'folding'
- , folding: 'folding'
- , foo: 'foo'
- , fool: 'fool'
- }
-
-This is handy for command-line scripts, or other cases where you want to be able to accept shorthands.
View
106 node_modules/nopt/node_modules/abbrev/lib/abbrev.js
@@ -1,106 +0,0 @@
-
-module.exports = exports = abbrev.abbrev = abbrev
-
-abbrev.monkeyPatch = monkeyPatch
-
-function monkeyPatch () {
- Array.prototype.abbrev = function () { return abbrev(this) }
- Object.prototype.abbrev = function () { return abbrev(Object.keys(this)) }
-}
-
-function abbrev (list) {
- if (arguments.length !== 1 || !Array.isArray(list)) {
- list = Array.prototype.slice.call(arguments, 0)
- }
- for (var i = 0, l = list.length, args = [] ; i < l ; i ++) {
- args[i] = typeof list[i] === "string" ? list[i] : String(list[i])
- }
-
- // sort them lexicographically, so that they're next to their nearest kin
- args = args.sort(lexSort)
-
- // walk through each, seeing how much it has in common with the next and previous
- var abbrevs = {}
- , prev = ""
- for (var i = 0, l = args.length ; i < l ; i ++) {
- var current = args[i]
- , next = args[i + 1] || ""
- , nextMatches = true
- , prevMatches = true
- if (current === next) continue
- for (var j = 0, cl = current.length ; j < cl ; j ++) {
- var curChar = current.charAt(j)
- nextMatches = nextMatches && curChar === next.charAt(j)
- prevMatches = prevMatches && curChar === prev.charAt(j)
- if (nextMatches || prevMatches) continue
- else {
- j ++
- break
- }
- }
- prev = current
- if (j === cl) {
- abbrevs[current] = current
- continue
- }
- for (var a = current.substr(0, j) ; j <= cl ; j ++) {
- abbrevs[a] = current
- a += current.charAt(j)
- }
- }
- return abbrevs
-}
-
-function lexSort (a, b) {
- return a === b ? 0 : a > b ? 1 : -1
-}
-
-
-// tests
-if (module === require.main) {
-
-var assert = require("assert")
- , sys
-sys = require("util")
-
-console.log("running tests")
-function test (list, expect) {
- var actual = abbrev(list)
- assert.deepEqual(actual, expect,
- "abbrev("+sys.inspect(list)+") === " + sys.inspect(expect) + "\n"+
- "actual: "+sys.inspect(actual))
- actual = abbrev.apply(exports, list)
- assert.deepEqual(abbrev.apply(exports, list), expect,
- "abbrev("+list.map(JSON.stringify).join(",")+") === " + sys.inspect(expect) + "\n"+
- "actual: "+sys.inspect(actual))
-}
-
-test([ "ruby", "ruby", "rules", "rules", "rules" ],
-{ rub: 'ruby'
-, ruby: 'ruby'
-, rul: 'rules'
-, rule: 'rules'
-, rules: 'rules'
-})
-test(["fool", "foom", "pool", "pope"],
-{ fool: 'fool'
-, foom: 'foom'
-, poo: 'pool'
-, pool: 'pool'
-, pop: 'pope'
-, pope: 'pope'
-})
-test(["a", "ab", "abc", "abcd", "abcde", "acde"],
-{ a: 'a'
-, ab: 'ab'
-, abc: 'abc'
-, abcd: 'abcd'
-, abcde: 'abcde'
-, ac: 'acde'
-, acd: 'acde'
-, acde: 'acde'
-})
-
-console.log("pass")
-
-}
View
20 node_modules/nopt/node_modules/abbrev/package.json
@@ -1,20 +0,0 @@
-{
- "name": "abbrev",
- "version": "1.0.3",
- "description": "Like ruby's abbrev module, but in js",
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "i@izs.me"
- },
- "main": "./lib/abbrev.js",
- "scripts": {
- "test": "node lib/abbrev.js"
- },
- "repository": {
- "type": "git",
- "url": "http://github.com/isaacs/abbrev-js"
- },
- "readme": "# abbrev-js\n\nJust like [ruby's Abbrev](http://apidock.com/ruby/Abbrev).\n\nUsage:\n\n var abbrev = require(\"abbrev\");\n abbrev(\"foo\", \"fool\", \"folding\", \"flop\");\n \n // returns:\n { fl: 'flop'\n , flo: 'flop'\n , flop: 'flop'\n , fol: 'folding'\n , fold: 'folding'\n , foldi: 'folding'\n , foldin: 'folding'\n , folding: 'folding'\n , foo: 'foo'\n , fool: 'fool'\n }\n\nThis is handy for command-line scripts, or other cases where you want to be able to accept shorthands.\n",
- "_id": "abbrev@1.0.3",
- "_from": "abbrev@1"
-}
View
25 node_modules/npm-registry-client/node_modules/chownr/LICENCE
@@ -1,25 +0,0 @@
-Copyright (c) Isaac Z. Schlueter
-All rights reserved.
-
-The BSD License
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
-``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
View
3  node_modules/npm-registry-client/node_modules/chownr/README.md
@@ -1,3 +0,0 @@
-Like `chown -R`.
-
-Takes the same arguments as `fs.chown()`
View
41 node_modules/npm-registry-client/node_modules/chownr/chownr.js
@@ -1,41 +0,0 @@
-module.exports = chownr
-chownr.sync = chownrSync
-
-var fs = require("fs")
-, path = require("path")
-
-function chownr (p, uid, gid, cb) {
- fs.readdir(p, function (er, children) {
- // any error other than ENOTDIR means it's not readable, or
- // doesn't exist. give up.
- if (er && er.code !== "ENOTDIR") return cb(er)
- if (er || !children.length) return fs.chown(p, uid, gid, cb)
-
- var len = children.length
- , errState = null
- children.forEach(function (child) {
- chownr(path.resolve(p, child), uid, gid, then)
- })
- function then (er) {
- if (errState) return
- if (er) return cb(errState = er)
- if (-- len === 0) return fs.chown(p, uid, gid, cb)
- }
- })
-}
-
-function chownrSync (p, uid, gid) {
- var children
- try {
- children = fs.readdirSync(p)
- } catch (er) {
- if (er && er.code === "ENOTDIR") return fs.chownSync(p, uid, gid)
- throw er
- }
- if (!children.length) return fs.chownSync(p, uid, gid)
-
- children.forEach(function (child) {
- chownrSync(path.resolve(p, child), uid, gid)
- })
- return fs.chownSync(p, uid, gid)
-}
View
1  node_modules/npm-registry-client/node_modules/graceful-fs/.npmignore
@@ -1 +0,0 @@
-node_modules/
View
23 node_modules/npm-registry-client/node_modules/graceful-fs/LICENSE
@@ -1,23 +0,0 @@
-Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
-All rights reserved.
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
View
5 node_modules/npm-registry-client/node_modules/graceful-fs/README.md
@@ -1,5 +0,0 @@
-Just like node's `fs` module, but it does an incremental back-off when
-EMFILE is encountered.
-
-Useful in asynchronous situations where one needs to try to open lots
-and lots of files.
View
281 node_modules/npm-registry-client/node_modules/graceful-fs/graceful-fs.js
@@ -1,281 +0,0 @@
-// this keeps a queue of opened file descriptors, and will make
-// fs operations wait until some have closed before trying to open more.
-
-var fs = require("fs")
-
-// there is such a thing as TOO graceful.
-if (fs.open === gracefulOpen) return
-
-var queue = []
- , constants = require("constants")
-
-exports = module.exports = fs
-fs._curOpen = 0
-
-fs.MIN_MAX_OPEN = 64
-fs.MAX_OPEN = 1024
-
-var originalOpen = fs.open
- , originalOpenSync = fs.openSync
- , originalClose = fs.close
- , originalCloseSync = fs.closeSync
-
-
-// prevent EMFILE errors
-function OpenReq (path, flags, mode, cb) {
- this.path = path
- this.flags = flags
- this.mode = mode
- this.cb = cb
-}
-
-function noop () {}
-
-fs.open = gracefulOpen
-
-function gracefulOpen (path, flags, mode, cb) {
- if (typeof mode === "function") cb = mode, mode = null
- if (typeof cb !== "function") cb = noop
-
- if (fs._curOpen >= fs.MAX_OPEN) {
- queue.push(new OpenReq(path, flags, mode, cb))
- setTimeout(flush)
- return
- }
- open(path, flags, mode, function (er, fd) {
- if (er && er.code === "EMFILE" && fs._curOpen > fs.MIN_MAX_OPEN) {
- // that was too many. reduce max, get back in queue.
- // this should only happen once in a great while, and only
- // if the ulimit -n is set lower than 1024.
- fs.MAX_OPEN = fs._curOpen - 1
- return fs.open(path, flags, mode, cb)
- }
- cb(er, fd)
- })
-}
-
-function open (path, flags, mode, cb) {
- cb = cb || noop
- fs._curOpen ++
- originalOpen.call(fs, path, flags, mode, function (er, fd) {
- if (er) onclose()
- cb(er, fd)
- })
-}
-
-fs.openSync = function (path, flags, mode) {
- var ret
- try {
- ret = originalOpenSync.call(fs, path, flags, mode)
- fs._curOpen ++
- } finally {}
- return ret
-}
-
-function onclose () {
- fs._curOpen --
- flush()
-}
-
-function flush () {
- while (fs._curOpen < fs.MAX_OPEN) {
- var req = queue.shift()
- if (!req) return
- open(req.path, req.flags || "r", req.mode || 0777, req.cb)
- }
-}
-
-fs.close = function (fd, cb) {
- cb = cb || noop
- originalClose.call(fs, fd, function (er) {
- onclose()
- cb(er)
- })
-}
-
-fs.closeSync = function (fd) {
- onclose()
- return originalCloseSync.call(fs, fd)
-}
-
-
-// (re-)implement some things that are known busted or missing.
-
-var constants = require("constants")
-
-// lchmod, broken prior to 0.6.2
-// back-port the fix here.
-if (constants.hasOwnProperty('O_SYMLINK') &&
- process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
- fs.lchmod = function (path, mode, callback) {
- callback = callback || noop
- fs.open( path
- , constants.O_WRONLY | constants.O_SYMLINK
- , mode
- , function (err, fd) {
- if (err) {
- callback(err)
- return
- }
- // prefer to return the chmod error, if one occurs,
- // but still try to close, and report closing errors if they occur.
- fs.fchmod(fd, mode, function (err) {
- fs.close(fd, function(err2) {
- callback(err || err2)
- })
- })
- })
- }
-
- fs.lchmodSync = function (path, mode) {
- var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)
-
- // prefer to return the chmod error, if one occurs,
- // but still try to close, and report closing errors if they occur.
- var err, err2
- try {
- var ret = fs.fchmodSync(fd, mode)
- } catch (er) {
- err = er
- }
- try {
- fs.closeSync(fd)
- } catch (er) {
- err2 = er
- }
- if (err || err2) throw (err || err2)
- return ret
- }
-}
-
-
-// lutimes implementation, or no-op
-if (!fs.lutimes) {
- if (constants.hasOwnProperty("O_SYMLINK")) {
- fs.lutimes = function (path, at, mt, cb) {
- fs.open(path, constants.O_SYMLINK, function (er, fd) {
- cb = cb || noop
- if (er) return cb(er)
- fs.futimes(fd, at, mt, function (er) {
- fs.close(fd, function (er2) {
- return cb(er || er2)
- })
- })
- })
- }
-
- fs.lutimesSync = function (path, at, mt) {
- var fd = fs.openSync(path, constants.O_SYMLINK)
- , err
- , err2
- , ret
-
- try {
- var ret = fs.futimesSync(fd, at, mt)
- } catch (er) {
- err = er
- }
- try {
- fs.closeSync(fd)
- } catch (er) {
- err2 = er
- }
- if (err || err2) throw (err || err2)
- return ret
- }
-
- } else if (fs.utimensat && constants.hasOwnProperty("AT_SYMLINK_NOFOLLOW")) {
- // maybe utimensat will be bound soonish?
- fs.lutimes = function (path, at, mt, cb) {
- fs.utimensat(path, at, mt, constants.AT_SYMLINK_NOFOLLOW, cb)
- }
-
- fs.lutimesSync = function (path, at, mt) {
- return fs.utimensatSync(path, at, mt, constants.AT_SYMLINK_NOFOLLOW)
- }
-
- } else {
- fs.lutimes = function (_a, _b, _c, cb) { process.nextTick(cb) }
- fs.lutimesSync = function () {}
- }
-}
-
-
-// https://github.com/isaacs/node-graceful-fs/issues/4
-// Chown should not fail on einval or eperm if non-root.
-
-fs.chown = chownFix(fs.chown)
-fs.fchown = chownFix(fs.fchown)
-fs.lchown = chownFix(fs.lchown)
-
-fs.chownSync = chownFixSync(fs.chownSync)
-fs.fchownSync = chownFixSync(fs.fchownSync)
-fs.lchownSync = chownFixSync(fs.lchownSync)
-
-function chownFix (orig) {
- if (!orig) return orig
- return function (target, uid, gid, cb) {
- return orig.call(fs, target, uid, gid, function (er, res) {
- if (chownErOk(er)) er = null
- cb(er, res)
- })
- }
-}
-
-function chownFixSync (orig) {
- if (!orig) return orig
- return function (target, uid, gid) {
- try {
- return orig.call(fs, target, uid, gid)
- } catch (er) {
- if (!chownErOk(er)) throw er
- }
- }
-}
-
-function chownErOk (er) {
- // if there's no getuid, or if getuid() is something other than 0,
- // and the error is EINVAL or EPERM, then just ignore it.
- // This specific case is a silent failure in cp, install, tar,
- // and most other unix tools that manage permissions.
- // When running as root, or if other types of errors are encountered,
- // then it's strict.
- if (!er || (!process.getuid || process.getuid() !== 0)
- && (er.code === "EINVAL" || er.code === "EPERM")) return true
-}
-
-
-// if lchmod/lchown do not exist, then make them no-ops
-if (!fs.lchmod) {
- fs.lchmod = function (path, mode, cb) {
- process.nextTick(cb)
- }
- fs.lchmodSync = function () {}
-}
-if (!fs.lchown) {
- fs.lchown = function (path, uid, gid, cb) {
- process.nextTick(cb)
- }
- fs.lchownSync = function () {}
-}
-
-
-
-
-// on Windows, A/V software can lock the directory, causing this
-// to fail with an EACCES or EPERM if the directory contains newly
-// created files. Try again on failure, for up to 1 second.
-if (process.platform === "win32") {
- var rename_ = fs.rename
- fs.rename = function rename (from, to, cb) {
- var start = Date.now()
- rename_(from, to, function CB (er) {
- if (er
- && (er.code === "EACCES" || er.code === "EPERM")
- && Date.now() - start < 1000) {
- return rename_(from, to, CB)
- }
- cb(er)
- })
- }
-}
View
37 node_modules/npm-registry-client/node_modules/graceful-fs/package.json
@@ -1,37 +0,0 @@
-{
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "i@izs.me",
- "url": "http://blog.izs.me"
- },
- "name": "graceful-fs",
- "description": "fs monkey-patching to avoid EMFILE and other problems",
- "version": "1.1.10",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/node-graceful-fs.git"
- },
- "main": "graceful-fs.js",
- "engines": {
- "node": ">=0.4.0"
- },
- "devDependencies": {},
- "directories": {
- "test": "test"
- },
- "dependencies": {},
- "scripts": {
- "test": "tap test/*.js"
- },
- "keywords": [
- "fs",
- "EMFILE",
- "error",
- "handling",
- "monkeypatch"
- ],
- "license": "BSD",
- "readme": "Just like node's `fs` module, but it does an incremental back-off when\nEMFILE is encountered.\n\nUseful in asynchronous situations where one needs to try to open lots\nand lots of files.\n",
- "_id": "graceful-fs@1.1.10",
- "_from": "graceful-fs@~1.1.8"
-}
View
41 node_modules/npm-registry-client/node_modules/graceful-fs/test/open.js
@@ -1,41 +0,0 @@
-var test = require('tap').test
-var fs = require('../graceful-fs.js')
-
-test('open an existing file works', function (t) {
- var start = fs._curOpen
- var fd = fs.openSync(__filename, 'r')
- t.equal(fs._curOpen, start + 1)
- fs.closeSync(fd)
- t.equal(fs._curOpen, start)
- fs.open(__filename, 'r', function (er, fd) {
- if (er) throw er
- t.equal(fs._curOpen, start + 1)
- fs.close(fd, function (er) {
- if (er) throw er
- t.equal(fs._curOpen, start)
- t.end()
- })
- })
-})
-
-test('open a non-existing file throws', function (t) {
- var start = fs._curOpen
- var er
- try {
- var fd = fs.openSync('this file does not exist', 'r')
- } catch (x) {
- er = x
- }
- t.ok(er, 'should throw')
- t.notOk(fd, 'should not get an fd')
- t.equal(er.code, 'ENOENT')
- t.equal(fs._curOpen, start)
-
- fs.open('neither does this file', 'r', function (er, fd) {
- t.ok(er, 'should throw')
- t.notOk(fd, 'should not get an fd')
- t.equal(er.code, 'ENOENT')
- t.equal(fs._curOpen, start)
- t.end()
- })
-})
View
2  node_modules/npm-registry-client/node_modules/mkdirp/.gitignore.orig
@@ -1,2 +0,0 @@
-node_modules/
-npm-debug.log
View
5 node_modules/npm-registry-client/node_modules/mkdirp/.gitignore.rej
@@ -1,5 +0,0 @@
---- /dev/null
-+++ .gitignore
-@@ -0,0 +1,2 @@
-+node_modules/
-+npm-debug.log
View
2  node_modules/npm-registry-client/node_modules/mkdirp/.npmignore
@@ -1,2 +0,0 @@
-node_modules/
-npm-debug.log
View
4 node_modules/npm-registry-client/node_modules/mkdirp/.travis.yml
@@ -1,4 +0,0 @@
-language: node_js
-node_js:
- - 0.4
- - 0.6
View
21 node_modules/npm-registry-client/node_modules/mkdirp/LICENSE
@@ -1,21 +0,0 @@
-Copyright 2010 James Halliday (mail@substack.net)
-
-This project is free software released under the MIT/X11 license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
View
61 node_modules/npm-registry-client/node_modules/mkdirp/README.markdown
@@ -1,61 +0,0 @@
-mkdirp
-======
-
-Like `mkdir -p`, but in node.js!
-
-[![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp)
-
-example
-=======
-
-pow.js
-------
- var mkdirp = require('mkdirp');
-
- mkdirp('/tmp/foo/bar/baz', function (err) {
- if (err) console.error(err)
- else console.log('pow!')
- });
-
-Output
- pow!
-
-And now /tmp/foo/bar/baz exists, huzzah!
-
-methods
-=======
-
-var mkdirp = require('mkdirp');
-
-mkdirp(dir, mode, cb)
----------------------
-
-Create a new directory and any necessary subdirectories at `dir` with octal
-permission string `mode`.
-
-If `mode` isn't specified, it defaults to `0777 & (~process.umask())`.
-
-`cb(err, made)` fires with the error or the first directory `made`
-that had to be created, if any.
-
-mkdirp.sync(dir, mode)
-----------------------
-
-Synchronously create a new directory and any necessary subdirectories at `dir`
-with octal permission string `mode`.
-
-If `mode` isn't specified, it defaults to `0777 & (~process.umask())`.
-
-Returns the first directory that had to be created, if any.
-
-install
-=======
-
-With [npm](http://npmjs.org) do:
-
- npm install mkdirp
-
-license
-=======
-
-MIT/X11
View
6 node_modules/npm-registry-client/node_modules/mkdirp/examples/pow.js
@@ -1,6 +0,0 @@
-var mkdirp = require('mkdirp');
-
-mkdirp('/tmp/foo/bar/baz', function (err) {
- if (err) console.error(err)
- else console.log('pow!')
-});
View
6 node_modules/npm-registry-client/node_modules/mkdirp/examples/pow.js.orig
@@ -1,6 +0,0 @@
-var mkdirp = require('mkdirp');
-
-mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
- if (err) console.error(err)
- else console.log('pow!')
-});
View
19 node_modules/npm-registry-client/node_modules/mkdirp/examples/pow.js.rej
@@ -1,19 +0,0 @@
---- examples/pow.js
-+++ examples/pow.js
-@@ -1,6 +1,15 @@
--var mkdirp = require('mkdirp').mkdirp;
-+var mkdirp = require('../').mkdirp,
-+ mkdirpSync = require('../').mkdirpSync;
-
- mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
- if (err) console.error(err)
- else console.log('pow!')
- });
-+
-+try {
-+ mkdirpSync('/tmp/bar/foo/baz', 0755);
-+ console.log('double pow!');
-+}
-+catch (ex) {
-+ console.log(ex);
-+}
View
94 node_modules/npm-registry-client/node_modules/mkdirp/index.js
@@ -1,94 +0,0 @@
-var path = require('path');
-var fs = require('fs');
-
-module.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP;
-
-function mkdirP (p, mode, f, made) {
- if (typeof mode === 'function' || mode === undefined) {
- f = mode;
- mode = 0777 & (~process.umask());
- }
- if (!made) made = null;
-
- var cb = f || function () {};
- if (typeof mode === 'string') mode = parseInt(mode, 8);
- p = path.resolve(p);
-
- fs.mkdir(p, mode, function (er) {
- if (!er) {
- made = made || p;
- return cb(null, made);
- }
- switch (er.code) {
- case 'ENOENT':
- mkdirP(path.dirname(p), mode, function (er, made) {
- if (er) cb(er, made);
- else mkdirP(p, mode, cb, made);
- });
- break;
-
- case 'EISDIR':
- case 'EPERM':
- // Operation not permitted or already is a dir.
- // This is the error you get when trying to mkdir('c:/')
- // on windows, or mkdir('/') on unix. Make sure it's a
- // dir by falling through to the EEXIST case.
- case 'EROFS':
- // a read-only file system.
- // However, the dir could already exist, in which case
- // the EROFS error will be obscuring a EEXIST!
- // Fallthrough to that case.
- case 'EEXIST':
- fs.stat(p, function (er2, stat) {
- // if the stat fails, then that's super weird.
- // let the original error be the failure reason.
- if (er2 || !stat.isDirectory()) cb(er, made)
- else cb(null, made);
- });
- break;
-
- default:
- cb(er, made);
- break;
- }
- });
-}
-
-mkdirP.sync = function sync (p, mode, made) {
- if (mode === undefined) {
- mode = 0777 & (~process.umask());
- }
- if (!made) made = null;
-
- if (typeof mode === 'string') mode = parseInt(mode, 8);
- p = path.resolve(p);
-
- try {
- fs.mkdirSync(p, mode);
- made = made || p;
- }
- catch (err0) {
- switch (err0.code) {
- case 'ENOENT' :
- made = sync(path.dirname(p), mode, made);
- sync(p, mode, made);
- break;
-
- case 'EEXIST' :
- var stat;
- try {
- stat = fs.statSync(p);
- }
- catch (err1) {
- throw err0;
- }
- if (!stat.isDirectory()) throw err0;
- break;
- default :
- throw err0
- break;
- }
- }
-
- return made;
-};
View
32 node_modules/npm-registry-client/node_modules/mkdirp/package.json
@@ -1,32 +0,0 @@
-{
- "name": "mkdirp",
- "description": "Recursively mkdir, like `mkdir -p`",
- "version": "0.3.3",
- "author": {
- "name": "James Halliday",
- "email": "mail@substack.net",
- "url": "http://substack.net"
- },
- "main": "./index",
- "keywords": [
- "mkdir",
- "directory"
- ],
- "repository": {
- "type": "git",
- "url": "http://github.com/substack/node-mkdirp.git"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "devDependencies": {
- "tap": "~0.2.4"
- },
- "license": "MIT/X11",
- "engines": {
- "node": "*"
- },
- "readme": "mkdirp\n======\n\nLike `mkdir -p`, but in node.js!\n\n[![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp)\n\nexample\n=======\n\npow.js\n------\n var mkdirp = require('mkdirp');\n \n mkdirp('/tmp/foo/bar/baz', function (err) {\n if (err) console.error(err)\n else console.log('pow!')\n });\n\nOutput\n pow!\n\nAnd now /tmp/foo/bar/baz exists, huzzah!\n\nmethods\n=======\n\nvar mkdirp = require('mkdirp');\n\nmkdirp(dir, mode, cb)\n---------------------\n\nCreate a new directory and any necessary subdirectories at `dir` with octal\npermission string `mode`.\n\nIf `mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\n`cb(err, made)` fires with the error or the first directory `made`\nthat had to be created, if any.\n\nmkdirp.sync(dir, mode)\n----------------------\n\nSynchronously create a new directory and any necessary subdirectories at `dir`\nwith octal permission string `mode`.\n\nIf `mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\nReturns the first directory that had to be created, if any.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n npm install mkdirp\n\nlicense\n=======\n\nMIT/X11\n",
- "_id": "mkdirp@0.3.3",
- "_from": "mkdirp@~0.3.3"
-}
View
38 node_modules/npm-registry-client/node_modules/mkdirp/test/chmod.js
@@ -1,38 +0,0 @@
-var mkdirp = require('../').mkdirp;
-var path = require('path');
-var fs = require('fs');
-var test = require('tap').test;
-
-var ps = [ '', 'tmp' ];
-
-for (var i = 0; i < 25; i++) {
- var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
- ps.push(dir);
-}
-
-var file = ps.join('/');
-
-test('chmod-pre', function (t) {
- var mode = 0744
- mkdirp(file, mode, function (er) {
- t.ifError(er, 'should not error');
- fs.stat(file, function (er, stat) {
- t.ifError(er, 'should exist');
- t.ok(stat && stat.isDirectory(), 'should be directory');
- t.equal(stat && stat.mode & 0777, mode, 'should be 0744');
- t.end();
- });
- });
-});
-
-test('chmod', function (t) {
- var mode = 0755
- mkdirp(file, mode, function (er) {
- t.ifError(er, 'should not error');
- fs.stat(file, function (er, stat) {
- t.ifError(er, 'should exist');
- t.ok(stat && stat.isDirectory(), 'should be directory');
- t.end();
- });
- });
-});
View
37 node_modules/npm-registry-client/node_modules/mkdirp/test/clobber.js
@@ -1,37 +0,0 @@
-var mkdirp = require('../').mkdirp;
-var path = require('path');
-var fs = require('fs');
-var test = require('tap').test;
-
-var ps = [ '', 'tmp' ];
-
-for (var i = 0; i < 25; i++) {
- var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
- ps.push(dir);
-}
-
-var file = ps.join('/');
-
-// a file in the way
-var itw = ps.slice(0, 3).join('/');
-
-
-test('clobber-pre', function (t) {
- console.error("about to write to "+itw)
- fs.writeFileSync(itw, 'I AM IN THE WAY, THE TRUTH, AND THE LIGHT.');
-
- fs.stat(itw, function (er, stat) {
- t.ifError(er)
- t.ok(stat && stat.isFile(), 'should be file')
- t.end()
- })
-})
-
-test('clobber', function (t) {
- t.plan(2);
- mkdirp(file, 0755, function (err) {
- t.ok(err);
- t.equal(err.code, 'ENOTDIR');
- t.end();
- });
-});
View
28 node_modules/npm-registry-client/node_modules/mkdirp/test/mkdirp.js
@@ -1,28 +0,0 @@
-var mkdirp = require('../');
-var path = require('path');
-var fs = require('fs');
-var test = require('tap').test;