fsevents 1.0.12 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fsevents might be problematic. Click here for more details.

Files changed (514) hide show
  1. package/.npmignore +1 -3
  2. package/.travis.yml +6 -5
  3. package/build/.target.mk +49 -0
  4. package/build/Makefile +352 -0
  5. package/build/action_after_build.target.mk +32 -0
  6. package/build/binding.Makefile +6 -0
  7. package/build/fse.target.mk +169 -0
  8. package/build/gyp-mac-tool +612 -0
  9. package/lib/binding/Release/node-v11-darwin-x64/fse.node +0 -0
  10. package/lib/binding/Release/node-v46-darwin-x64/fse.node +0 -0
  11. package/lib/binding/Release/node-v47-darwin-x64/fse.node +0 -0
  12. package/node_modules/abbrev/package.json +82 -0
  13. package/node_modules/{lodash.repeat/LICENSE → ansi-regex/license} +5 -7
  14. package/node_modules/ansi-regex/package.json +20 -2
  15. package/node_modules/{lodash.padstart/LICENSE → ansi-styles/license} +5 -7
  16. package/node_modules/ansi-styles/package.json +21 -4
  17. package/node_modules/aproba/LICENSE +14 -0
  18. package/node_modules/aproba/README.md +59 -0
  19. package/node_modules/aproba/index.js +62 -0
  20. package/node_modules/aproba/package.json +88 -0
  21. package/node_modules/are-we-there-yet/package.json +21 -4
  22. package/node_modules/asn1/package.json +19 -1
  23. package/node_modules/assert-plus/package.json +21 -4
  24. package/node_modules/async/CHANGELOG.md +125 -0
  25. package/node_modules/async/LICENSE +19 -0
  26. package/node_modules/async/package.json +20 -2
  27. package/node_modules/aws-sign2/package.json +20 -2
  28. package/node_modules/aws4/aws4.js +1 -1
  29. package/node_modules/aws4/lru.js +96 -0
  30. package/node_modules/aws4/package.json +31 -16
  31. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion → balanced-match}/.npmignore +2 -0
  32. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/README.md +5 -3
  33. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/index.js +9 -1
  34. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/package.json +35 -13
  35. package/node_modules/bl/README.md +3 -3
  36. package/node_modules/bl/bl.js +54 -38
  37. package/node_modules/bl/node_modules/readable-stream/.npmignore +5 -0
  38. package/node_modules/bl/node_modules/readable-stream/.travis.yml +52 -0
  39. package/node_modules/bl/node_modules/readable-stream/LICENSE +18 -0
  40. package/node_modules/bl/node_modules/readable-stream/README.md +36 -0
  41. package/node_modules/bl/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  42. package/node_modules/bl/node_modules/readable-stream/duplex.js +1 -0
  43. package/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
  44. package/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
  45. package/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +880 -0
  46. package/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +180 -0
  47. package/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +516 -0
  48. package/node_modules/bl/node_modules/readable-stream/package.json +105 -0
  49. package/node_modules/bl/node_modules/readable-stream/passthrough.js +1 -0
  50. package/node_modules/bl/node_modules/readable-stream/readable.js +12 -0
  51. package/node_modules/bl/node_modules/readable-stream/transform.js +1 -0
  52. package/node_modules/bl/node_modules/readable-stream/writable.js +1 -0
  53. package/node_modules/bl/package.json +39 -15
  54. package/node_modules/bl/test/test.js +71 -2
  55. package/node_modules/block-stream/package.json +37 -12
  56. package/node_modules/boom/package.json +20 -2
  57. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/package.json +34 -16
  58. package/node_modules/buffer-shims/index.js +108 -0
  59. package/node_modules/buffer-shims/license.md +19 -0
  60. package/node_modules/buffer-shims/package.json +77 -0
  61. package/node_modules/buffer-shims/readme.md +21 -0
  62. package/node_modules/caseless/package.json +20 -2
  63. package/node_modules/{lodash.pad/LICENSE → chalk/license} +5 -7
  64. package/node_modules/chalk/package.json +21 -4
  65. package/node_modules/code-point-at/index.js +33 -0
  66. package/node_modules/{lodash.padend/LICENSE → code-point-at/license} +5 -7
  67. package/node_modules/code-point-at/package.json +96 -0
  68. package/node_modules/code-point-at/readme.md +34 -0
  69. package/node_modules/combined-stream/package.json +20 -2
  70. package/node_modules/commander/History.md +261 -0
  71. package/node_modules/commander/LICENSE +22 -0
  72. package/node_modules/commander/package.json +20 -2
  73. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/package.json +21 -3
  74. package/node_modules/console-control-strings/LICENSE +13 -0
  75. package/node_modules/console-control-strings/README.md +145 -0
  76. package/node_modules/console-control-strings/README.md~ +140 -0
  77. package/node_modules/console-control-strings/index.js +125 -0
  78. package/node_modules/console-control-strings/package.json +88 -0
  79. package/node_modules/core-util-is/package.json +21 -2
  80. package/node_modules/cryptiles/package.json +20 -2
  81. package/node_modules/dashdash/lib/dashdash.js +34 -1
  82. package/node_modules/dashdash/node_modules/assert-plus/package.json +21 -4
  83. package/node_modules/dashdash/package.json +29 -12
  84. package/node_modules/debug/package.json +20 -2
  85. package/node_modules/deep-extend/CHANGELOG.md +21 -0
  86. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → deep-extend}/LICENSE +3 -1
  87. package/node_modules/deep-extend/package.json +21 -4
  88. package/node_modules/delayed-stream/package.json +20 -2
  89. package/node_modules/delegates/package.json +21 -4
  90. package/node_modules/ecc-jsbn/package.json +20 -2
  91. package/node_modules/escape-string-regexp/license +21 -0
  92. package/node_modules/escape-string-regexp/package.json +21 -4
  93. package/node_modules/extend/package.json +20 -2
  94. package/node_modules/extsprintf/package.json +20 -3
  95. package/node_modules/forever-agent/package.json +20 -2
  96. package/node_modules/form-data/package.json +21 -4
  97. package/node_modules/fs.realpath/LICENSE +43 -0
  98. package/node_modules/fs.realpath/README.md +33 -0
  99. package/node_modules/fs.realpath/index.js +66 -0
  100. package/node_modules/fs.realpath/old.js +303 -0
  101. package/node_modules/fs.realpath/package.json +86 -0
  102. package/node_modules/fstream/.travis.yml +4 -4
  103. package/node_modules/fstream/lib/collect.js +2 -0
  104. package/node_modules/fstream/package.json +37 -15
  105. package/node_modules/fstream-ignore/package.json +45 -17
  106. package/node_modules/gauge/CHANGELOG.md +131 -0
  107. package/node_modules/gauge/CHANGELOG.md~ +123 -0
  108. package/node_modules/gauge/README.md +317 -88
  109. package/node_modules/gauge/README.md~ +393 -0
  110. package/node_modules/gauge/base-theme.js +14 -0
  111. package/node_modules/gauge/error.js +24 -0
  112. package/node_modules/gauge/has-color.js +12 -0
  113. package/node_modules/gauge/index.js +226 -0
  114. package/node_modules/gauge/package.json +67 -21
  115. package/node_modules/gauge/plumbing.js +47 -0
  116. package/node_modules/gauge/process.js +3 -0
  117. package/node_modules/gauge/progress-bar.js +29 -219
  118. package/node_modules/gauge/render-template.js +181 -0
  119. package/node_modules/gauge/set-immediate.js +7 -0
  120. package/node_modules/gauge/set-interval.js +3 -0
  121. package/node_modules/gauge/spin.js +5 -0
  122. package/node_modules/gauge/template-item.js +73 -0
  123. package/node_modules/gauge/theme-set.js +115 -0
  124. package/node_modules/gauge/themes.js +54 -0
  125. package/node_modules/gauge/wide-truncate.js +25 -0
  126. package/node_modules/generate-function/package.json +20 -2
  127. package/node_modules/generate-object-property/package.json +20 -2
  128. package/node_modules/getpass/.npmignore +8 -0
  129. package/node_modules/getpass/.travis.yml +9 -0
  130. package/node_modules/getpass/LICENSE +18 -0
  131. package/node_modules/getpass/README.md +32 -0
  132. package/node_modules/getpass/lib/index.js +123 -0
  133. package/node_modules/getpass/node_modules/assert-plus/AUTHORS +6 -0
  134. package/node_modules/getpass/node_modules/assert-plus/CHANGES.md +14 -0
  135. package/node_modules/getpass/node_modules/assert-plus/README.md +162 -0
  136. package/node_modules/getpass/node_modules/assert-plus/assert.js +211 -0
  137. package/node_modules/getpass/node_modules/assert-plus/package.json +107 -0
  138. package/node_modules/getpass/package.json +82 -0
  139. package/node_modules/glob/changelog.md +67 -0
  140. package/node_modules/{rimraf/node_modules/glob → glob}/glob.js +2 -1
  141. package/node_modules/glob/package.json +103 -0
  142. package/node_modules/{rimraf/node_modules/glob → glob}/sync.js +2 -1
  143. package/node_modules/graceful-fs/LICENSE +15 -0
  144. package/node_modules/graceful-fs/README.md +82 -2
  145. package/node_modules/graceful-fs/package.json +30 -12
  146. package/node_modules/graceful-readlink/package.json +20 -2
  147. package/node_modules/har-validator/LICENSE +13 -0
  148. package/node_modules/har-validator/package.json +20 -2
  149. package/node_modules/has-ansi/license +21 -0
  150. package/node_modules/has-ansi/package.json +20 -2
  151. package/node_modules/has-color/index.js +32 -0
  152. package/node_modules/has-color/package.json +97 -0
  153. package/node_modules/has-color/readme.md +30 -0
  154. package/node_modules/has-unicode/index.js +3 -8
  155. package/node_modules/has-unicode/package.json +36 -12
  156. package/node_modules/hawk/package.json +20 -2
  157. package/node_modules/hoek/package.json +20 -2
  158. package/node_modules/http-signature/package.json +20 -2
  159. package/node_modules/inflight/package.json +97 -0
  160. package/node_modules/inherits/package.json +16 -9
  161. package/node_modules/ini/package.json +21 -4
  162. package/node_modules/is-fullwidth-code-point/index.js +46 -0
  163. package/node_modules/is-fullwidth-code-point/license +21 -0
  164. package/node_modules/is-fullwidth-code-point/package.json +100 -0
  165. package/node_modules/is-fullwidth-code-point/readme.md +39 -0
  166. package/node_modules/is-my-json-valid/package.json +21 -4
  167. package/node_modules/is-property/package.json +20 -2
  168. package/node_modules/is-typedarray/package.json +20 -2
  169. package/node_modules/isarray/package.json +21 -2
  170. package/node_modules/isstream/package.json +20 -2
  171. package/node_modules/jodid25519/package.json +19 -1
  172. package/node_modules/jsbn/package.json +19 -1
  173. package/node_modules/json-schema/package.json +20 -2
  174. package/node_modules/json-stringify-safe/package.json +20 -2
  175. package/node_modules/jsonpointer/package.json +19 -1
  176. package/node_modules/jsprim/CHANGES.md +5 -0
  177. package/node_modules/jsprim/README.md +13 -4
  178. package/node_modules/jsprim/lib/jsprim.js +12 -2
  179. package/node_modules/jsprim/package.json +33 -11
  180. package/node_modules/mime-db/HISTORY.md +21 -0
  181. package/node_modules/mime-db/db.json +53 -1
  182. package/node_modules/mime-db/package.json +36 -19
  183. package/node_modules/mime-types/HISTORY.md +6 -0
  184. package/node_modules/mime-types/package.json +33 -16
  185. package/node_modules/{fstream-ignore/node_modules/minimatch → minimatch}/README.md +2 -9
  186. package/node_modules/{fstream-ignore/node_modules/minimatch → minimatch}/minimatch.js +15 -3
  187. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch → minimatch}/package.json +37 -14
  188. package/node_modules/mkdirp/package.json +10 -8
  189. package/node_modules/ms/History.md +66 -0
  190. package/node_modules/ms/package.json +19 -1
  191. package/node_modules/node-pre-gyp/CHANGELOG.md +21 -0
  192. package/node_modules/node-pre-gyp/appveyor.yml +2 -2
  193. package/node_modules/node-pre-gyp/lib/install.js +12 -2
  194. package/node_modules/node-pre-gyp/lib/testbinary.js +9 -9
  195. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +84 -0
  196. package/node_modules/node-pre-gyp/package.json +21 -31
  197. package/node_modules/node-uuid/package.json +20 -2
  198. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/package.json +21 -3
  199. package/node_modules/npmlog/CHANGELOG.md +36 -0
  200. package/node_modules/npmlog/CHANGELOG.md~ +31 -0
  201. package/node_modules/npmlog/README.md +16 -1
  202. package/node_modules/npmlog/log.js +97 -50
  203. package/node_modules/npmlog/package.json +43 -17
  204. package/node_modules/number-is-nan/index.js +4 -0
  205. package/node_modules/number-is-nan/license +21 -0
  206. package/node_modules/number-is-nan/package.json +94 -0
  207. package/node_modules/number-is-nan/readme.md +30 -0
  208. package/node_modules/oauth-sign/package.json +36 -12
  209. package/node_modules/object-assign/index.js +83 -0
  210. package/node_modules/object-assign/license +21 -0
  211. package/node_modules/object-assign/package.json +106 -0
  212. package/node_modules/object-assign/readme.md +56 -0
  213. package/node_modules/once/package.json +22 -2
  214. package/node_modules/path-is-absolute/license +21 -0
  215. package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/package.json +22 -4
  216. package/node_modules/pinkie/license +21 -0
  217. package/node_modules/pinkie/package.json +21 -4
  218. package/node_modules/pinkie-promise/index.js +1 -1
  219. package/node_modules/pinkie-promise/license +21 -0
  220. package/node_modules/pinkie-promise/package.json +32 -10
  221. package/node_modules/process-nextick-args/index.js +31 -8
  222. package/node_modules/process-nextick-args/package.json +33 -10
  223. package/node_modules/qs/.eslintrc +5 -3
  224. package/node_modules/qs/.jscs.json +176 -0
  225. package/node_modules/qs/CHANGELOG.md +10 -0
  226. package/node_modules/qs/dist/qs.js +75 -63
  227. package/node_modules/qs/lib/parse.js +32 -29
  228. package/node_modules/qs/lib/stringify.js +37 -30
  229. package/node_modules/qs/lib/utils.js +6 -4
  230. package/node_modules/qs/package.json +41 -18
  231. package/node_modules/qs/test/parse.js +30 -0
  232. package/node_modules/qs/test/stringify.js +70 -0
  233. package/node_modules/rc/node_modules/minimist/package.json +20 -2
  234. package/node_modules/rc/package.json +21 -4
  235. package/node_modules/readable-stream/.npmignore +4 -1
  236. package/node_modules/readable-stream/.travis.yml +2 -0
  237. package/node_modules/readable-stream/README.md +2 -2
  238. package/node_modules/readable-stream/doc/stream.md +1772 -0
  239. package/node_modules/readable-stream/lib/_stream_readable.js +33 -20
  240. package/node_modules/readable-stream/lib/_stream_transform.js +3 -3
  241. package/node_modules/readable-stream/lib/_stream_writable.js +25 -15
  242. package/node_modules/readable-stream/package.json +44 -15
  243. package/node_modules/readable-stream/readable.js +4 -0
  244. package/node_modules/request/.eslintrc +1 -1
  245. package/node_modules/request/.travis.yml +9 -3
  246. package/node_modules/request/CHANGELOG.md +46 -8
  247. package/node_modules/request/CONTRIBUTING.md +41 -4
  248. package/node_modules/request/README.md +9 -6
  249. package/node_modules/request/codecov.yml +2 -0
  250. package/node_modules/request/index.js +6 -5
  251. package/node_modules/request/lib/helpers.js +3 -3
  252. package/node_modules/request/package.json +52 -30
  253. package/node_modules/request/request.js +58 -43
  254. package/node_modules/rimraf/package.json +33 -16
  255. package/node_modules/rimraf/rimraf.js +10 -2
  256. package/node_modules/semver/README.md +27 -8
  257. package/node_modules/semver/package.json +38 -12
  258. package/node_modules/semver/range.bnf +1 -1
  259. package/node_modules/semver/semver.js +7 -1
  260. package/node_modules/set-blocking/CHANGELOG.md +26 -0
  261. package/node_modules/set-blocking/LICENSE.txt +14 -0
  262. package/node_modules/set-blocking/README.md +31 -0
  263. package/node_modules/set-blocking/index.js +7 -0
  264. package/node_modules/set-blocking/package.json +98 -0
  265. package/node_modules/signal-exit/CHANGELOG.md +17 -0
  266. package/node_modules/signal-exit/LICENSE.txt +14 -0
  267. package/node_modules/signal-exit/README.md +40 -0
  268. package/node_modules/signal-exit/index.js +148 -0
  269. package/node_modules/signal-exit/package.json +98 -0
  270. package/node_modules/signal-exit/signals.js +52 -0
  271. package/node_modules/sntp/package.json +20 -2
  272. package/node_modules/sshpk/.travis.yml +3 -3
  273. package/node_modules/sshpk/README.md +26 -7
  274. package/node_modules/sshpk/bin/sshpk-conv +14 -2
  275. package/node_modules/sshpk/bin/sshpk-sign +16 -1
  276. package/node_modules/sshpk/lib/errors.js +14 -1
  277. package/node_modules/sshpk/lib/formats/auto.js +8 -8
  278. package/node_modules/sshpk/lib/formats/pem.js +39 -5
  279. package/node_modules/sshpk/lib/formats/pkcs1.js +4 -4
  280. package/node_modules/sshpk/lib/formats/pkcs8.js +4 -4
  281. package/node_modules/sshpk/lib/formats/rfc4253.js +2 -2
  282. package/node_modules/sshpk/lib/formats/ssh-private.js +3 -3
  283. package/node_modules/sshpk/lib/formats/ssh.js +2 -2
  284. package/node_modules/sshpk/lib/index.js +2 -1
  285. package/node_modules/sshpk/lib/key.js +20 -17
  286. package/node_modules/sshpk/lib/private-key.js +19 -12
  287. package/node_modules/sshpk/lib/utils.js +40 -1
  288. package/node_modules/sshpk/node_modules/assert-plus/AUTHORS +6 -0
  289. package/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +14 -0
  290. package/node_modules/sshpk/node_modules/assert-plus/README.md +162 -0
  291. package/node_modules/sshpk/node_modules/assert-plus/assert.js +211 -0
  292. package/node_modules/sshpk/node_modules/assert-plus/package.json +107 -0
  293. package/node_modules/sshpk/package.json +48 -30
  294. package/node_modules/string-width/index.js +32 -0
  295. package/node_modules/string-width/license +21 -0
  296. package/node_modules/string-width/package.json +111 -0
  297. package/node_modules/string-width/readme.md +41 -0
  298. package/node_modules/string_decoder/package.json +21 -2
  299. package/node_modules/stringstream/package.json +20 -2
  300. package/node_modules/strip-ansi/license +21 -0
  301. package/node_modules/strip-ansi/package.json +24 -5
  302. package/node_modules/strip-json-comments/license +21 -0
  303. package/node_modules/strip-json-comments/package.json +20 -2
  304. package/node_modules/supports-color/license +21 -0
  305. package/node_modules/supports-color/package.json +20 -2
  306. package/node_modules/tar/package.json +20 -2
  307. package/node_modules/tar-pack/package.json +34 -17
  308. package/node_modules/tough-cookie/LICENSE +27 -0
  309. package/node_modules/tough-cookie/package.json +21 -4
  310. package/node_modules/tunnel-agent/package.json +35 -10
  311. package/node_modules/tweetnacl/CHANGELOG.md +0 -53
  312. package/node_modules/tweetnacl/README.md +42 -24
  313. package/node_modules/tweetnacl/nacl-fast.js +52 -22
  314. package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
  315. package/node_modules/tweetnacl/nacl.js +51 -21
  316. package/node_modules/tweetnacl/nacl.min.js +1 -1
  317. package/node_modules/tweetnacl/package.json +56 -30
  318. package/node_modules/uid-number/package.json +21 -4
  319. package/node_modules/util-deprecate/package.json +21 -2
  320. package/node_modules/verror/package.json +20 -3
  321. package/node_modules/wide-align/.npmignore +5 -0
  322. package/node_modules/wide-align/LICENSE +14 -0
  323. package/node_modules/wide-align/README.md +47 -0
  324. package/node_modules/wide-align/align.js +65 -0
  325. package/node_modules/wide-align/package.json +85 -0
  326. package/node_modules/wide-align/test/align.js +37 -0
  327. package/node_modules/wrappy/package.json +44 -14
  328. package/node_modules/xtend/package.json +20 -2
  329. package/package.json +2 -2
  330. package/node_modules/ansi/.jshintrc +0 -4
  331. package/node_modules/ansi/History.md +0 -23
  332. package/node_modules/ansi/LICENSE +0 -24
  333. package/node_modules/ansi/README.md +0 -98
  334. package/node_modules/ansi/examples/beep/index.js +0 -16
  335. package/node_modules/ansi/examples/clear/index.js +0 -15
  336. package/node_modules/ansi/examples/cursorPosition.js +0 -32
  337. package/node_modules/ansi/examples/progress/index.js +0 -87
  338. package/node_modules/ansi/lib/ansi.js +0 -405
  339. package/node_modules/ansi/lib/newlines.js +0 -71
  340. package/node_modules/ansi/package.json +0 -69
  341. package/node_modules/aws4/node_modules/lru-cache/README.md +0 -142
  342. package/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +0 -469
  343. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/README.md +0 -60
  344. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/map.js +0 -9
  345. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/package.json +0 -60
  346. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/pseudomap.js +0 -113
  347. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/test/basic.js +0 -86
  348. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.npmignore +0 -4
  349. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.travis.yml +0 -7
  350. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/CONTRIBUTING.md +0 -4
  351. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/README.md +0 -204
  352. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/package.json +0 -60
  353. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/test/basic.js +0 -188
  354. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/yallist.js +0 -360
  355. package/node_modules/aws4/node_modules/lru-cache/package.json +0 -78
  356. package/node_modules/block-stream/bench/block-stream-pause.js +0 -70
  357. package/node_modules/block-stream/bench/block-stream.js +0 -68
  358. package/node_modules/block-stream/bench/dropper-pause.js +0 -70
  359. package/node_modules/block-stream/bench/dropper.js +0 -68
  360. package/node_modules/block-stream/test/basic.js +0 -27
  361. package/node_modules/block-stream/test/nopad-thorough.js +0 -68
  362. package/node_modules/block-stream/test/nopad.js +0 -57
  363. package/node_modules/block-stream/test/pause-resume.js +0 -73
  364. package/node_modules/block-stream/test/thorough.js +0 -68
  365. package/node_modules/block-stream/test/two-stream.js +0 -59
  366. package/node_modules/fstream-ignore/.npmignore +0 -1
  367. package/node_modules/fstream-ignore/example/basic.js +0 -13
  368. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/.npmignore +0 -3
  369. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
  370. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
  371. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -3
  372. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
  373. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +0 -89
  374. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
  375. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +0 -80
  376. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
  377. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +0 -91
  378. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -86
  379. package/node_modules/fstream-ignore/node_modules/minimatch/package.json +0 -67
  380. package/node_modules/fstream-ignore/test/.ignore +0 -2
  381. package/node_modules/fstream-ignore/test/.npmignore +0 -1
  382. package/node_modules/fstream-ignore/test/00-setup.js +0 -71
  383. package/node_modules/fstream-ignore/test/basic.js +0 -28
  384. package/node_modules/fstream-ignore/test/common.js +0 -40
  385. package/node_modules/fstream-ignore/test/ignore-most.js +0 -41
  386. package/node_modules/fstream-ignore/test/nested-ignores.js +0 -51
  387. package/node_modules/fstream-ignore/test/read-file-order.js +0 -81
  388. package/node_modules/fstream-ignore/test/unignore-child.js +0 -38
  389. package/node_modules/fstream-ignore/test/zz-cleanup.js +0 -10
  390. package/node_modules/gauge/.npmignore +0 -32
  391. package/node_modules/gauge/example.png +0 -0
  392. package/node_modules/gauge/test/progress-bar.js +0 -176
  393. package/node_modules/has-unicode/.npmignore +0 -32
  394. package/node_modules/has-unicode/test/index.js +0 -26
  395. package/node_modules/lodash.pad/README.md +0 -18
  396. package/node_modules/lodash.pad/index.js +0 -296
  397. package/node_modules/lodash.pad/package.json +0 -91
  398. package/node_modules/lodash.padend/README.md +0 -18
  399. package/node_modules/lodash.padend/index.js +0 -285
  400. package/node_modules/lodash.padend/package.json +0 -91
  401. package/node_modules/lodash.padstart/README.md +0 -18
  402. package/node_modules/lodash.padstart/index.js +0 -285
  403. package/node_modules/lodash.padstart/package.json +0 -91
  404. package/node_modules/lodash.repeat/README.md +0 -18
  405. package/node_modules/lodash.repeat/index.js +0 -215
  406. package/node_modules/lodash.repeat/package.json +0 -92
  407. package/node_modules/lodash.tostring/LICENSE +0 -23
  408. package/node_modules/lodash.tostring/README.md +0 -18
  409. package/node_modules/lodash.tostring/index.js +0 -164
  410. package/node_modules/lodash.tostring/package.json +0 -91
  411. package/node_modules/node-pre-gyp/README.md +0 -570
  412. package/node_modules/node-pre-gyp/node_modules/nopt/.npmignore +0 -1
  413. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.npmignore +0 -4
  414. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.travis.yml +0 -5
  415. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +0 -3
  416. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/package.json +0 -56
  417. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/test.js +0 -47
  418. package/node_modules/npmlog/.nyc_output/64996.json +0 -1
  419. package/node_modules/npmlog/.nyc_output/64998.json +0 -1
  420. package/node_modules/npmlog/.nyc_output/65000.json +0 -1
  421. package/node_modules/npmlog/.travis.yml +0 -14
  422. package/node_modules/npmlog/example.js +0 -39
  423. package/node_modules/npmlog/test/basic.js +0 -235
  424. package/node_modules/npmlog/test/progress.js +0 -131
  425. package/node_modules/oauth-sign/test.js +0 -89
  426. package/node_modules/qs/.npmignore +0 -18
  427. package/node_modules/qs/.travis.yml +0 -69
  428. package/node_modules/qs/README.md +0 -335
  429. package/node_modules/qs/bower.json +0 -22
  430. package/node_modules/qs/component.json +0 -15
  431. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +0 -17
  432. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +0 -36
  433. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +0 -59
  434. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +0 -51
  435. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +0 -33
  436. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +0 -68
  437. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +0 -97
  438. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +0 -16
  439. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +0 -42
  440. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +0 -1
  441. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
  442. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +0 -59
  443. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +0 -25
  444. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +0 -216
  445. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +0 -912
  446. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -122
  447. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
  448. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -191
  449. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
  450. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -3
  451. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +0 -21
  452. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
  453. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
  454. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +0 -50
  455. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
  456. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +0 -4
  457. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +0 -62
  458. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +0 -6
  459. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +0 -13
  460. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +0 -39
  461. package/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +0 -51
  462. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +0 -36
  463. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +0 -59
  464. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +0 -51
  465. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +0 -33
  466. package/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +0 -21
  467. package/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +0 -71
  468. package/node_modules/rimraf/node_modules/glob/package.json +0 -85
  469. package/node_modules/semver/.npmignore +0 -4
  470. package/node_modules/semver/.travis.yml +0 -5
  471. package/node_modules/semver/test/big-numbers.js +0 -31
  472. package/node_modules/semver/test/clean.js +0 -29
  473. package/node_modules/semver/test/gtr.js +0 -173
  474. package/node_modules/semver/test/index.js +0 -698
  475. package/node_modules/semver/test/ltr.js +0 -181
  476. package/node_modules/semver/test/major-minor-patch.js +0 -72
  477. package/node_modules/tunnel-agent/.jshintrc +0 -5
  478. package/node_modules/tweetnacl/COPYING.txt +0 -9
  479. package/node_modules/wrappy/test/basic.js +0 -51
  480. package/test/fsevents.js +0 -27
  481. package/test/function.js +0 -93
  482. /package/node_modules/{aws4/node_modules/lru-cache/node_modules/pseudomap → abbrev}/LICENSE +0 -0
  483. /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → abbrev}/README.md +0 -0
  484. /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → abbrev}/abbrev.js +0 -0
  485. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/LICENSE.md +0 -0
  486. /package/node_modules/{readable-stream → bl/node_modules/readable-stream}/.zuul.yml +0 -0
  487. /package/node_modules/{readable-stream → bl/node_modules/readable-stream}/doc/stream.markdown +0 -0
  488. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/README.md +0 -0
  489. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/index.js +0 -0
  490. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/.travis.yml +0 -0
  491. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/LICENSE +0 -0
  492. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/README.markdown +0 -0
  493. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/example/map.js +0 -0
  494. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/index.js +0 -0
  495. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/test/map.js +0 -0
  496. /package/node_modules/{aws4/node_modules/lru-cache/node_modules/yallist → glob}/LICENSE +0 -0
  497. /package/node_modules/{rimraf/node_modules/glob → glob}/README.md +0 -0
  498. /package/node_modules/{rimraf/node_modules/glob → glob}/common.js +0 -0
  499. /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/LICENSE +0 -0
  500. /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/README.md +0 -0
  501. /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/inflight.js +0 -0
  502. /package/node_modules/{node-pre-gyp/node_modules/nopt → ini}/LICENSE +0 -0
  503. /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → minimatch}/LICENSE +0 -0
  504. /package/node_modules/{ansi → nopt}/.npmignore +0 -0
  505. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/.travis.yml +0 -0
  506. /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → nopt}/LICENSE +0 -0
  507. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/README.md +0 -0
  508. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/bin/nopt.js +0 -0
  509. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/examples/my-program.js +0 -0
  510. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/lib/nopt.js +0 -0
  511. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/test/basic.js +0 -0
  512. /package/node_modules/{rimraf/node_modules/glob/node_modules/once/node_modules/wrappy → once}/LICENSE +0 -0
  513. /package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/index.js +0 -0
  514. /package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/readme.md +0 -0
@@ -1,91 +0,0 @@
1
- {
2
- "_from": "lodash.tostring@^4.0.0",
3
- "_id": "lodash.tostring@4.1.2",
4
- "_location": "/lodash.tostring",
5
- "_nodeVersion": "5.5.0",
6
- "_npmOperationalInternal": {
7
- "host": "packages-13-west.internal.npmjs.com",
8
- "tmp": "tmp/lodash.tostring-4.1.2.tgz_1456896853027_0.8195764778647572"
9
- },
10
- "_npmUser": {
11
- "email": "john.david.dalton@gmail.com",
12
- "name": "jdalton"
13
- },
14
- "_npmVersion": "2.14.17",
15
- "_phantomChildren": {},
16
- "_requiredBy": [
17
- "/lodash.pad",
18
- "/lodash.padend",
19
- "/lodash.padstart",
20
- "/lodash.repeat"
21
- ],
22
- "_resolved": "https://registry.npmjs.org/lodash.tostring/-/lodash.tostring-4.1.2.tgz",
23
- "_shasum": "7d326a5cf64da4298f2fd35b688d848267535288",
24
- "_shrinkwrap": null,
25
- "author": {
26
- "email": "john.david.dalton@gmail.com",
27
- "name": "John-David Dalton",
28
- "url": "http://allyoucanleet.com/"
29
- },
30
- "bugs": {
31
- "url": "https://github.com/lodash/lodash/issues"
32
- },
33
- "contributors": [
34
- {
35
- "name": "John-David Dalton",
36
- "email": "john.david.dalton@gmail.com",
37
- "url": "http://allyoucanleet.com/"
38
- },
39
- {
40
- "name": "Blaine Bublitz",
41
- "email": "blaine.bublitz@gmail.com",
42
- "url": "https://github.com/phated"
43
- },
44
- {
45
- "name": "Mathias Bynens",
46
- "email": "mathias@qiwi.be",
47
- "url": "https://mathiasbynens.be/"
48
- }
49
- ],
50
- "dependencies": {},
51
- "description": "The lodash method `_.toString` exported as a module.",
52
- "devDependencies": {},
53
- "directories": {},
54
- "dist": {
55
- "shasum": "7d326a5cf64da4298f2fd35b688d848267535288",
56
- "tarball": "http://registry.npmjs.org/lodash.tostring/-/lodash.tostring-4.1.2.tgz"
57
- },
58
- "homepage": "https://lodash.com/",
59
- "icon": "https://lodash.com/icon.svg",
60
- "keywords": [
61
- "lodash-modularized",
62
- "tostring"
63
- ],
64
- "license": "MIT",
65
- "maintainers": [
66
- {
67
- "name": "jdalton",
68
- "email": "john.david.dalton@gmail.com"
69
- },
70
- {
71
- "name": "mathias",
72
- "email": "mathias@qiwi.be"
73
- },
74
- {
75
- "name": "phated",
76
- "email": "blaine.bublitz@gmail.com"
77
- }
78
- ],
79
- "name": "lodash.tostring",
80
- "optionalDependencies": {},
81
- "readme": "# lodash.tostring v4.1.2\n\nThe [lodash](https://lodash.com/) method `_.toString` exported as a [Node.js](https://nodejs.org/) module.\n\n## Installation\n\nUsing npm:\n```bash\n$ {sudo -H} npm i -g npm\n$ npm i --save lodash.tostring\n```\n\nIn Node.js:\n```js\nvar toString = require('lodash.tostring');\n```\n\nSee the [documentation](https://lodash.com/docs#toString) or [package source](https://github.com/lodash/lodash/blob/4.1.2-npm-packages/lodash.tostring) for more details.\n",
82
- "readmeFilename": "README.md",
83
- "repository": {
84
- "type": "git",
85
- "url": "git+https://github.com/lodash/lodash.git"
86
- },
87
- "scripts": {
88
- "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\""
89
- },
90
- "version": "4.1.2"
91
- }
@@ -1,570 +0,0 @@
1
- # node-pre-gyp
2
-
3
- #### node-pre-gyp makes it easy to publish and install Node.js C++ addons from binaries
4
-
5
- [![NPM](https://nodei.co/npm/node-pre-gyp.png?downloads=true&downloadRank=true)](https://nodei.co/npm/node-pre-gyp/)
6
-
7
- [![Build Status](https://api.travis-ci.org/mapbox/node-pre-gyp.svg)](https://travis-ci.org/mapbox/node-pre-gyp)
8
- [![Build status](https://ci.appveyor.com/api/projects/status/3nxewb425y83c0gv)](https://ci.appveyor.com/project/Mapbox/node-pre-gyp)
9
- [![Dependencies](https://david-dm.org/mapbox/node-pre-gyp.svg)](https://david-dm.org/mapbox/node-pre-gyp)
10
-
11
- `node-pre-gyp` stands between [npm](https://github.com/npm/npm) and [node-gyp](https://github.com/Tootallnate/node-gyp) and offers a cross-platform method of binary deployment.
12
-
13
- ### Features
14
-
15
- - A command line tool called `node-pre-gyp` that can install your package's c++ module from a binary.
16
- - A variety of developer targeted commands for packaging, testing, and publishing binaries.
17
- - A Javascript module that can dynamically require your installed binary: `require('node-pre-gyp').find`
18
-
19
- For a hello world example of a module packaged with `node-pre-gyp` see <https://github.com/springmeyer/node-addon-example> and [the wiki ](https://github.com/mapbox/node-pre-gyp/wiki/Modules-using-node-pre-gyp) for real world examples.
20
-
21
- ## Credits
22
-
23
- - The module is modeled after [node-gyp](https://github.com/Tootallnate/node-gyp) by [@Tootallnate](https://github.com/Tootallnate)
24
- - Motivation for initial development came from [@ErisDS](https://github.com/ErisDS) and the [Ghost Project](https://github.com/TryGhost/Ghost).
25
- - Development is sponsored by [Mapbox](https://www.mapbox.com/)
26
-
27
- ## FAQ
28
-
29
- See the [Frequently Ask Questions](https://github.com/mapbox/node-pre-gyp/wiki/FAQ).
30
-
31
- ## Depends
32
-
33
- - Node.js 0.12.x -> 0.8.x
34
-
35
- ## Install
36
-
37
- `node-pre-gyp` is designed to be installed as a local dependency of your Node.js C++ addon and accessed like:
38
-
39
- ./node_modules/.bin/node-pre-gyp --help
40
-
41
- But you can also install it globally:
42
-
43
- npm install node-pre-gyp -g
44
-
45
- ## Usage
46
-
47
- ### Commands
48
-
49
- View all possible commands:
50
-
51
- node-pre-gyp --help
52
-
53
- - clean - Remove the entire folder containing the compiled .node module
54
- - install - Install pre-built binary for module
55
- - reinstall - Run "clean" and "install" at once
56
- - build - Compile the module by dispatching to node-gyp or nw-gyp
57
- - rebuild - Run "clean" and "build" at once
58
- - package - Pack binary into tarball
59
- - testpackage - Test that the staged package is valid
60
- - publish - Publish pre-built binary
61
- - unpublish - Unpublish pre-built binary
62
- - info - Fetch info on published binaries
63
-
64
- You can also chain commands:
65
-
66
- node-pre-gyp clean build unpublish publish info
67
-
68
- ### Options
69
-
70
- Options include:
71
-
72
- - `-C/--directory`: run the command in this directory
73
- - `--build-from-source`: build from source instead of using pre-built binary
74
- - `--runtime=node-webkit`: customize the runtime: `node`, `electron` and `node-webkit` are the valid options
75
- - `--fallback-to-build`: fallback to building from source if pre-built binary is not available
76
- - `--target=0.10.25`: Pass the target node or node-webkit version to compile against
77
- - `--target_arch=ia32`: Pass the target arch and override the host `arch`. Valid values are 'ia32','x64', or `arm`.
78
- - `--target_platform=win32`: Pass the target platform and override the host `platform`. Valid values are `linux`, `darwin`, `win32`, `sunos`, `freebsd`, `openbsd`, and `aix`.
79
-
80
- Both `--build-from-source` and `--fallback-to-build` can be passed alone or they can provide values. You can pass `--fallback-to-build=false` to override the option as declared in package.json. In addition to being able to pass `--build-from-source` you can also pass `--build-from-source=myapp` where `myapp` is the name of your module.
81
-
82
- For example: `npm install --build-from-source=myapp`. This is useful if:
83
-
84
- - `myapp` is referenced in the package.json of a larger app and therefore `myapp` is being installed as a dependent with `npm install`.
85
- - The larger app also depends on other modules installed with `node-pre-gyp`
86
- - You only want to trigger a source compile for `myapp` and the other modules.
87
-
88
- ### Configuring
89
-
90
- This is a guide to configuring your module to use node-pre-gyp.
91
-
92
- #### 1) Add new entries to your `package.json`
93
-
94
- - Add `node-pre-gyp` to `bundledDependencies`
95
- - Add `aws-sdk` as a `devDependency`
96
- - Add a custom `install` script
97
- - Declare a `binary` object
98
-
99
- This looks like:
100
-
101
- ```js
102
- "dependencies" : {
103
- "node-pre-gyp": "0.5.x"
104
- },
105
- "bundledDependencies":["node-pre-gyp"],
106
- "devDependencies": {
107
- "aws-sdk": "~2.0.0-rc.15"
108
- }
109
- "scripts": {
110
- "install": "node-pre-gyp install --fallback-to-build",
111
- },
112
- "binary": {
113
- "module_name": "your_module",
114
- "module_path": "./lib/binding/",
115
- "host": "https://your_module.s3-us-west-1.amazonaws.com"
116
- }
117
- ```
118
-
119
- For a full example see [node-addon-examples's package.json](https://github.com/springmeyer/node-addon-example/blob/2ff60a8ded7f042864ad21db00c3a5a06cf47075/package.json#L11-L22).
120
-
121
- ##### The `binary` object has three required properties
122
-
123
- ###### module_name
124
-
125
- The name of your native node module. This value must:
126
-
127
- - Match the name passed to [the NODE_MODULE macro](http://nodejs.org/api/addons.html#addons_hello_world)
128
- - Must be a valid C variable name (e.g. it cannot contain `-`)
129
- - Should not include the `.node` extension.
130
-
131
- ###### module_path
132
-
133
- The location your native module is placed after a build. This should be an empty directory without other Javascript files. This entire directory will be packaged in the binary tarball. When installing from a remote package this directory will be overwritten with the contents of the tarball.
134
-
135
- Note: This property supports variables based on [Versioning](#versioning).
136
-
137
- ###### host
138
-
139
- A url to the remote location where you've published tarball binaries (must be `https` not `http`).
140
-
141
- It is highly recommended that you use Amazon S3. The reasons are:
142
-
143
- - Various node-pre-gyp commands like `publish` and `info` only work with an S3 host.
144
- - S3 is a very solid hosting platform for distributing large files, even [Github recommends using it instead of github](https://help.github.com/articles/distributing-large-binaries).
145
- - We provide detail documentation for using [S3 hosting](#s3-hosting) with node-pre-gyp.
146
-
147
- Why then not require S3? Because while some applications using node-pre-gyp need to distribute binaries as large as 20-30 MB, others might have very small binaries and might wish to store them in a github repo. This is not recommended, but if an author really wants to host in a non-s3 location then it should be possible.
148
-
149
- ##### The `binary` object has two optional properties
150
-
151
- ###### remote_path
152
-
153
- It **is recommended** that you customize this property. This is an extra path to use for publishing and finding remote tarballs. The default value for `remote_path` is `""` meaning that if you do not provide it then all packages will be published at the base of the `host`. It is recommended to provide a value like `./{name}/v{version}` to help organize remote packages in the case that you choose to publish multiple node addons to the same `host`.
154
-
155
- Note: This property supports variables based on [Versioning](#versioning).
156
-
157
- ###### package_name
158
-
159
- It is **not recommended** to override this property unless you are also overriding the `remote_path`. This is the versioned name of the remote tarball containing the binary `.node` module and any supporting files you've placed inside the `module_path` directory. Unless you specify `package_name` in your `package.json` then it defaults to `{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz` which allows your binary to work across node versions, platforms, and architectures. If you are using `remote_path` that is also versioned by `./{module_name}/v{version}` then you could remove these variables from the `package_name` and just use: `{node_abi}-{platform}-{arch}.tar.gz`. Then your remote tarball will be looked up at, for example, `https://example.com/your-module/v0.1.0/node-v11-linux-x64.tar.gz`.
160
-
161
- Avoiding the version of your module in the `package_name` and instead only embedding in a directory name can be useful when you want to make a quick tag of your module that does not change any C++ code. In this case you can just copy binaries to the new version behind the scenes like:
162
-
163
- ```sh
164
- aws s3 sync --acl public-read s3://mapbox-node-binary/sqlite3/v3.0.3/ s3://mapbox-node-binary/sqlite3/v3.0.4/
165
- ```
166
-
167
- Note: This property supports variables based on [Versioning](#versioning).
168
-
169
- #### 2) Add a new target to binding.gyp
170
-
171
- `node-pre-gyp` calls out to `node-gyp` to compile the module and passes variables along like [module_name](#module_name) and [module_path](#module_path).
172
-
173
- A new target must be added to `binding.gyp` that moves the compiled `.node` module from `./build/Release/module_name.node` into the directory specified by `module_path`.
174
-
175
- Add a target like this at the end of your `targets` list:
176
-
177
- ```js
178
- {
179
- "target_name": "action_after_build",
180
- "type": "none",
181
- "dependencies": [ "<(module_name)" ],
182
- "copies": [
183
- {
184
- "files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
185
- "destination": "<(module_path)"
186
- }
187
- ]
188
- }
189
- ```
190
-
191
- For a full example see [node-addon-example's binding.gyp](https://github.com/springmeyer/node-addon-example/blob/2ff60a8ded7f042864ad21db00c3a5a06cf47075/binding.gyp).
192
-
193
- #### 3) Dynamically require your `.node`
194
-
195
- Inside the main js file that requires your addon module you are likely currently doing:
196
-
197
- ```js
198
- var binding = require('../build/Release/binding.node');
199
- ```
200
-
201
- or:
202
-
203
- ```js
204
- var bindings = require('./bindings')
205
- ```
206
-
207
- Change those lines to:
208
-
209
- ```js
210
- var binary = require('node-pre-gyp');
211
- var path = require('path');
212
- var binding_path = binary.find(path.resolve(path.join(__dirname,'./package.json')));
213
- var binding = require(binding_path);
214
- ```
215
-
216
- For a full example see [node-addon-example's index.js](https://github.com/springmeyer/node-addon-example/blob/2ff60a8ded7f042864ad21db00c3a5a06cf47075/index.js#L1-L4)
217
-
218
- #### 4) Build and package your app
219
-
220
- Now build your module from source:
221
-
222
- npm install --build-from-source
223
-
224
- The `--build-from-source` tells `node-pre-gyp` to not look for a remote package and instead dispatch to node-gyp to build.
225
-
226
- Now `node-pre-gyp` should now also be installed as a local dependency so the command line tool it offers can be found at `./node_modules/.bin/node-pre-gyp`.
227
-
228
- #### 5) Test
229
-
230
- Now `npm test` should work just as it did before.
231
-
232
- #### 6) Publish the tarball
233
-
234
- Then package your app:
235
-
236
- ./node_modules/.bin/node-pre-gyp package
237
-
238
- Once packaged, now you can publish:
239
-
240
- ./node_modules/.bin/node-pre-gyp publish
241
-
242
- Currently the `publish` command pushes your binary to S3. This requires:
243
-
244
- - You have installed `aws-sdk` with `npm install aws-sdk`
245
- - You have created a bucket already.
246
- - The `host` points to an S3 http or https endpoint.
247
- - You have configured node-pre-gyp to read your S3 credentials (see [S3 hosting](#s3-hosting) for details).
248
-
249
- You can also host your binaries elsewhere. To do this requires:
250
-
251
- - You manually publish the binary created by the `package` command to an `https` endpoint
252
- - Ensure that the `host` value points to your custom `https` endpoint.
253
-
254
- #### 7) Automate builds
255
-
256
- Now you need to publish builds for all the platforms and node versions you wish to support. This is best automated.
257
-
258
- - See [Appveyor Automation](#appveyor-automation) for how to auto-publish builds on Windows.
259
- - See [Travis Automation](#travis-automation) for how to auto-publish builds on OS X and Linux.
260
-
261
- #### 8) You're done!
262
-
263
- Now publish your module to the npm registry. Users will now be able to install your module from a binary.
264
-
265
- What will happen is this:
266
-
267
- 1. `npm install <your package>` will pull from the npm registry
268
- 2. npm will run the `install` script which will call out to `node-pre-gyp`
269
- 3. `node-pre-gyp` will fetch the binary `.node` module and unpack in the right place
270
- 4. Assuming that all worked, you are done
271
-
272
- If a a binary was not available for a given platform and `--fallback-to-build` was used then `node-gyp rebuild` will be called to try to source compile the module.
273
-
274
- ## S3 Hosting
275
-
276
- You can host wherever you choose but S3 is cheap, `node-pre-gyp publish` expects it, and S3 can be integrated well with [travis.ci](http://travis-ci.org) to automate builds for OS X and Ubuntu. Here is an approach to do this:
277
-
278
- First, get setup locally and test the workflow:
279
-
280
- #### 1) Create an S3 bucket
281
-
282
- And have your **key** and **secret key** ready for writing to the bucket.
283
-
284
- It is recommended to create a IAM user with a policy that only gives permissions to the specific bucket you plan to publish to. This can be done in the [IAM console](https://console.aws.amazon.com/iam/) by: 1) adding a new user, 2) choosing `Attach User Policy`, 3) Using the `Policy Generator`, 4) selecting `Amazon S3` for the service, 5) adding the actions: `DeleteObject`, `GetObject`, `GetObjectAcl`, `ListBucket`, `PutObject`, `PutObjectAcl`, 6) adding an ARN of `arn:aws:s3:::bucket/*` (replacing `bucket` with your bucket name), and finally 7) clicking `Add Statement` and saving the policy. It should generate a policy like:
285
-
286
- ```js
287
- {
288
- "Version": "2012-10-17",
289
- "Statement": [
290
- {
291
- "Sid": "Stmt1394587197000",
292
- "Effect": "Allow",
293
- "Action": [
294
- "s3:DeleteObject",
295
- "s3:GetObject",
296
- "s3:GetObjectAcl",
297
- "s3:ListBucket",
298
- "s3:PutObject",
299
- "s3:PutObjectAcl"
300
- ],
301
- "Resource": [
302
- "arn:aws:s3:::node-pre-gyp-tests/*"
303
- ]
304
- }
305
- ]
306
- }
307
- ```
308
-
309
- #### 2) Install node-pre-gyp
310
-
311
- Either install it globally:
312
-
313
- npm install node-pre-gyp -g
314
-
315
- Or put the local version on your PATH
316
-
317
- export PATH=`pwd`/node_modules/.bin/:$PATH
318
-
319
- #### 3) Configure AWS credentials
320
-
321
- There are several ways to do this.
322
-
323
- You can use any of the methods described at http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html.
324
-
325
- Or you can create a `~/.node_pre_gyprc`
326
-
327
- Or pass options in any way supported by [RC](https://github.com/dominictarr/rc#standards)
328
-
329
- A `~/.node_pre_gyprc` looks like:
330
-
331
- ```js
332
- {
333
- "accessKeyId": "xxx",
334
- "secretAccessKey": "xxx"
335
- }
336
- ```
337
-
338
- Another way is to use your environment:
339
-
340
- export node_pre_gyp_accessKeyId=xxx
341
- export node_pre_gyp_secretAccessKey=xxx
342
-
343
- You may also need to specify the `region` if it is not explicit in the `host` value you use. The `bucket` can also be specified but it is optional because `node-pre-gyp` will detect it from the `host` value.
344
-
345
- #### 4) Package and publish your build
346
-
347
- Install the `aws-sdk`:
348
-
349
- npm install aws-sdk
350
-
351
- Then publish:
352
-
353
- node-pre-gyp package publish
354
-
355
- Note: if you hit an error like `Hostname/IP doesn't match certificate's altnames` it may mean that you need to provide the `region` option in your config.
356
-
357
- ## Appveyor Automation
358
-
359
- [Appveyor](http://www.appveyor.com/) can build binaries and publish the results per commit and supports:
360
-
361
- - Windows Visual Studio 2013 and related compilers
362
- - Both 64 bit (x64) and 32 bit (x86) build configurations
363
- - Multiple Node.js versions
364
-
365
- For an example of doing this see [node-sqlite3's appveyor.yml](https://github.com/mapbox/node-sqlite3/blob/master/appveyor.yml).
366
-
367
- Below is a guide to getting set up:
368
-
369
- #### 1) Create a free Appveyor account
370
-
371
- Go to https://ci.appveyor.com/signup/free and sign in with your github account.
372
-
373
- #### 2) Create a new project
374
-
375
- Go to https://ci.appveyor.com/projects/new and select the github repo for your module
376
-
377
- #### 3) Add appveyor.yml and push it
378
-
379
- Once you have committed an `appveyor.yml` ([appveyor.yml reference](http://www.appveyor.com/docs/appveyor-yml)) to your github repo and pushed it appveyor should automatically start building your project.
380
-
381
- #### 4) Create secure variables
382
-
383
- Encrypt your S3 AWS keys by going to <https://ci.appveyor.com/tools/encrypt> and hitting the `encrypt` button.
384
-
385
- Then paste the result into your `appveyor.yml`
386
-
387
- ```yml
388
- environment:
389
- node_pre_gyp_accessKeyId:
390
- secure: Dn9HKdLNYvDgPdQOzRq/DqZ/MPhjknRHB1o+/lVU8MA=
391
- node_pre_gyp_secretAccessKey:
392
- secure: W1rwNoSnOku1r+28gnoufO8UA8iWADmL1LiiwH9IOkIVhDTNGdGPJqAlLjNqwLnL
393
- ```
394
-
395
- NOTE: keys are per account but not per repo (this is difference than travis where keys are per repo but not related to the account used to encrypt them).
396
-
397
- #### 5) Hook up publishing
398
-
399
- Just put `node-pre-gyp package publish` in your `appveyor.yml` after `npm install`.
400
-
401
- #### 6) Publish when you want
402
-
403
- You might wish to publish binaries only on a specific commit. To do this you could borrow from the [travis.ci idea of commit keywords](http://about.travis-ci.org/docs/user/how-to-skip-a-build/) and add special handling for commit messages with `[publish binary]`:
404
-
405
- SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
406
- if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish
407
-
408
- If your commit message contains special characters (e.g. `&`) this method might fail. An alternative is to use PowerShell, which gives you additional possibilities, like ignoring case by using `ToLower()`:
409
-
410
- ps: if($env:APPVEYOR_REPO_COMMIT_MESSAGE.ToLower().Contains('[publish binary]')) { node-pre-gyp --msvs_version=2013 publish }
411
-
412
- Remember this publishing is not the same as `npm publish`. We're just talking about the binary module here and not your entire npm package. To automate the publishing of your entire package to npm on travis see http://about.travis-ci.org/docs/user/deployment/npm/
413
-
414
-
415
- ## Travis Automation
416
-
417
- [Travis](https://travis-ci.org/) can push to S3 after a successful build and supports both:
418
-
419
- - Ubuntu Precise and OS X (64 bit)
420
- - Multiple Node.js versions
421
-
422
- For an example of doing this see [node-add-example's .travis.yml](https://github.com/springmeyer/node-addon-example/blob/2ff60a8ded7f042864ad21db00c3a5a06cf47075/.travis.yml).
423
-
424
- Note: if you need 32 bit binaries, this can be done from a 64 bit travis machine. See [the node-sqlite3 scripts for an example of doing this](https://github.com/mapbox/node-sqlite3/blob/bae122aa6a2b8a45f6b717fab24e207740e32b5d/scripts/build_against_node.sh#L54-L74).
425
-
426
- Below is a guide to getting set up:
427
-
428
- #### 1) Install the travis gem
429
-
430
- gem install travis
431
-
432
- #### 2) Create secure variables
433
-
434
- Make sure you run this command from within the directory of your module.
435
-
436
- Use `travis-encrypt` like:
437
-
438
- travis encrypt node_pre_gyp_accessKeyId=${node_pre_gyp_accessKeyId}
439
- travis encrypt node_pre_gyp_secretAccessKey=${node_pre_gyp_secretAccessKey}
440
-
441
- Then put those values in your `.travis.yml` like:
442
-
443
- ```yaml
444
- env:
445
- global:
446
- - secure: F+sEL/v56CzHqmCSSES4pEyC9NeQlkoR0Gs/ZuZxX1ytrj8SKtp3MKqBj7zhIclSdXBz4Ev966Da5ctmcTd410p0b240MV6BVOkLUtkjZJyErMBOkeb8n8yVfSoeMx8RiIhBmIvEn+rlQq+bSFis61/JkE9rxsjkGRZi14hHr4M=
447
- - secure: o2nkUQIiABD139XS6L8pxq3XO5gch27hvm/gOdV+dzNKc/s2KomVPWcOyXNxtJGhtecAkABzaW8KHDDi5QL1kNEFx6BxFVMLO8rjFPsMVaBG9Ks6JiDQkkmrGNcnVdxI/6EKTLHTH5WLsz8+J7caDBzvKbEfTux5EamEhxIWgrI=
448
- ```
449
-
450
- More details on travis encryption at http://about.travis-ci.org/docs/user/encryption-keys/.
451
-
452
- #### 3) Hook up publishing
453
-
454
- Just put `node-pre-gyp package publish` in your `.travis.yml` after `npm install`.
455
-
456
- ##### OS X publishing
457
-
458
- If you want binaries for OS X in addition to linux you can enable [multi-os for travis](http://docs.travis-ci.com/user/multi-os/#Setting-.travis.yml)
459
-
460
- Use a configuration like:
461
-
462
- ```yml
463
-
464
- language: cpp
465
-
466
- os:
467
- - linux
468
- - osx
469
-
470
- env:
471
- matrix:
472
- - NODE_VERSION="0.10"
473
- - NODE_VERSION="0.11.14"
474
-
475
- before_install:
476
- - rm -rf ~/.nvm/ && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm
477
- - source ~/.nvm/nvm.sh
478
- - nvm install $NODE_VERSION
479
- - nvm use $NODE_VERSION
480
- ```
481
-
482
- See [Travis OS X Gochas](#travis-os-x-gochas) for why we replace `language: node_js` and `node_js:` sections with `language: cpp` and a custom matrix.
483
-
484
- Also create platform specific sections for any deps that need install. For example if you need libpng:
485
-
486
- ```yml
487
- - if [ $(uname -s) == 'Linux' ]; then apt-get install libpng-dev; fi;
488
- - if [ $(uname -s) == 'Darwin' ]; then brew install libpng; fi;
489
- ```
490
-
491
- For detailed multi-OS examples see [node-mapnik](https://github.com/mapnik/node-mapnik/blob/master/.travis.yml) and [node-sqlite3](https://github.com/mapbox/node-sqlite3/blob/master/.travis.yml).
492
-
493
- ##### Travis OS X Gochas
494
-
495
- First, unlike the Travis linux machines the OS X machines do not put `node-pre-gyp` on PATH by default. So to you will need to:
496
-
497
- ```sh
498
- export PATH=$(pwd)/node_modules/.bin:${PATH}
499
- ```
500
-
501
- Second, the OS X machines doe not support using a matrix for installing node.js different versions. So you need to bootstrap the installation of node.js in a cross platform way.
502
-
503
- By doing:
504
-
505
- ```yml
506
- env:
507
- matrix:
508
- - NODE_VERSION="0.10"
509
- - NODE_VERSION="0.11.14"
510
-
511
- before_install:
512
- - rm -rf ~/.nvm/ && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm
513
- - source ~/.nvm/nvm.sh
514
- - nvm install $NODE_VERSION
515
- - nvm use $NODE_VERSION
516
- ```
517
-
518
- You can easily recreate the previous behavior of this matrix:
519
-
520
- ```yml
521
- node_js:
522
- - "0.10"
523
- - "0.11.14"
524
- ```
525
-
526
- #### 4) Publish when you want
527
-
528
- You might wish to publish binaries only on a specific commit. To do this you could borrow from the [travis.ci idea of commit keywords](http://about.travis-ci.org/docs/user/how-to-skip-a-build/) and add special handling for commit messages with `[publish binary]`:
529
-
530
- COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
531
- if [[ ${COMMIT_MESSAGE} =~ "[publish binary]" ]]; then node-pre-gyp publish; fi;
532
-
533
- Then you can trigger new binaries to be built like:
534
-
535
- git commit -a -m "[publish binary]"
536
-
537
- Or, if you don't have any changes to make simply run:
538
-
539
- git commit --allow-empty -m "[publish binary]"
540
-
541
- Remember this publishing is not the same as `npm publish`. We're just talking about the binary module here and not your entire npm package. To automate the publishing of your entire package to npm on travis see http://about.travis-ci.org/docs/user/deployment/npm/
542
-
543
- # Versioning
544
-
545
- The `binary` properties of `module_path`, `remote_path`, and `package_name` support variable substitution. The strings are evaluated by `node-pre-gyp` depending on your system and any custom build flags you passed.
546
-
547
- - `node_abi`: The node C++ `ABI` number. This value is available in Javascript as `process.versions.modules` as of [`>= v0.10.4 >= v0.11.7`](https://github.com/joyent/node/commit/ccabd4a6fa8a6eb79d29bc3bbe9fe2b6531c2d8e) and in C++ as the `NODE_MODULE_VERSION` define much earlier. For versions of Node before this was available we fallback to the V8 major and minor version.
548
- - `platform` matches node's `process.platform` like `linux`, `darwin`, and `win32` unless the user passed the `--target_platform` option to override.
549
- - `arch` matches node's `process.arch` like `x64` or `ia32` unless the user passes the `--target_arch` option to override.
550
- - `configuration` - Either 'Release' or 'Debug' depending on if `--debug` is passed during the build.
551
- - `module_name` - the `binary.module_name` attribute from `package.json`.
552
- - `version` - the semver `version` value for your module from `package.json` (NOTE: ignores the `semver.build` property).
553
- - `major`, `minor`, `patch`, and `prelease` match the individual semver values for your module's `version`
554
- - `build` - the sevmer `build` value. For example it would be `this.that` if your package.json `version` was `v1.0.0+this.that`
555
- - `prerelease` - the semver `prerelease` value. For example it would be `alpha.beta` if your package.json `version` was `v1.0.0-alpha.beta`
556
-
557
-
558
- The options are visible in the code at <https://github.com/mapbox/node-pre-gyp/blob/612b7bca2604508d881e1187614870ba19a7f0c5/lib/util/versioning.js#L114-L127>
559
-
560
- # Download binary files from a mirror
561
-
562
- S3 is broken in China for the well known reason.
563
-
564
- Using the `npm` config argument: `--{module_name}_binary_host_mirror` can download binary files through a mirror.
565
-
566
- e.g.: Install [v8-profiler](https://www.npmjs.com/package/v8-profiler) from `npm`.
567
-
568
- ```bash
569
- $ npm install v8-profiler --profiler_binary_host_mirror=https://npm.taobao.org/mirrors/node-inspector/
570
- ```
@@ -1 +0,0 @@
1
- node_modules
@@ -1,4 +0,0 @@
1
- .nyc_output
2
- nyc_output
3
- node_modules
4
- coverage
@@ -1,5 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - '0.10'
4
- - '0.12'
5
- - 'iojs'
@@ -1,3 +0,0 @@
1
- To get started, <a
2
- href="http://www.clahub.com/agreements/isaacs/abbrev-js">sign the
3
- Contributor License Agreement</a>.