fsevents 1.2.9 → 1.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (525) hide show
  1. package/.travis.yml +6 -4
  2. package/binding.gyp +1 -9
  3. package/fsevents.js +1 -3
  4. package/install.js +13 -7
  5. package/package.json +5 -17
  6. package/node_modules/abbrev/LICENSE +0 -46
  7. package/node_modules/abbrev/README.md +0 -23
  8. package/node_modules/abbrev/abbrev.js +0 -61
  9. package/node_modules/abbrev/package.json +0 -59
  10. package/node_modules/ansi-regex/index.js +0 -4
  11. package/node_modules/ansi-regex/license +0 -21
  12. package/node_modules/ansi-regex/package.json +0 -111
  13. package/node_modules/ansi-regex/readme.md +0 -39
  14. package/node_modules/aproba/LICENSE +0 -14
  15. package/node_modules/aproba/README.md +0 -94
  16. package/node_modules/aproba/index.js +0 -105
  17. package/node_modules/aproba/package.json +0 -65
  18. package/node_modules/are-we-there-yet/CHANGES.md +0 -37
  19. package/node_modules/are-we-there-yet/LICENSE +0 -5
  20. package/node_modules/are-we-there-yet/README.md +0 -195
  21. package/node_modules/are-we-there-yet/index.js +0 -4
  22. package/node_modules/are-we-there-yet/package.json +0 -66
  23. package/node_modules/are-we-there-yet/tracker-base.js +0 -11
  24. package/node_modules/are-we-there-yet/tracker-group.js +0 -107
  25. package/node_modules/are-we-there-yet/tracker-stream.js +0 -36
  26. package/node_modules/are-we-there-yet/tracker.js +0 -30
  27. package/node_modules/balanced-match/.npmignore +0 -5
  28. package/node_modules/balanced-match/LICENSE.md +0 -21
  29. package/node_modules/balanced-match/README.md +0 -91
  30. package/node_modules/balanced-match/index.js +0 -59
  31. package/node_modules/balanced-match/package.json +0 -80
  32. package/node_modules/brace-expansion/LICENSE +0 -21
  33. package/node_modules/brace-expansion/README.md +0 -129
  34. package/node_modules/brace-expansion/index.js +0 -201
  35. package/node_modules/brace-expansion/package.json +0 -78
  36. package/node_modules/chownr/LICENSE +0 -15
  37. package/node_modules/chownr/README.md +0 -3
  38. package/node_modules/chownr/chownr.js +0 -88
  39. package/node_modules/chownr/package.json +0 -62
  40. package/node_modules/code-point-at/index.js +0 -32
  41. package/node_modules/code-point-at/license +0 -21
  42. package/node_modules/code-point-at/package.json +0 -73
  43. package/node_modules/code-point-at/readme.md +0 -32
  44. package/node_modules/concat-map/.travis.yml +0 -4
  45. package/node_modules/concat-map/LICENSE +0 -18
  46. package/node_modules/concat-map/README.markdown +0 -62
  47. package/node_modules/concat-map/example/map.js +0 -6
  48. package/node_modules/concat-map/index.js +0 -13
  49. package/node_modules/concat-map/package.json +0 -91
  50. package/node_modules/concat-map/test/map.js +0 -39
  51. package/node_modules/console-control-strings/LICENSE +0 -13
  52. package/node_modules/console-control-strings/README.md +0 -145
  53. package/node_modules/console-control-strings/README.md~ +0 -140
  54. package/node_modules/console-control-strings/index.js +0 -125
  55. package/node_modules/console-control-strings/package.json +0 -64
  56. package/node_modules/core-util-is/LICENSE +0 -19
  57. package/node_modules/core-util-is/README.md +0 -3
  58. package/node_modules/core-util-is/float.patch +0 -604
  59. package/node_modules/core-util-is/lib/util.js +0 -107
  60. package/node_modules/core-util-is/package.json +0 -65
  61. package/node_modules/core-util-is/test.js +0 -68
  62. package/node_modules/debug/CHANGELOG.md +0 -395
  63. package/node_modules/debug/LICENSE +0 -19
  64. package/node_modules/debug/README.md +0 -455
  65. package/node_modules/debug/dist/debug.js +0 -912
  66. package/node_modules/debug/package.json +0 -105
  67. package/node_modules/debug/src/browser.js +0 -264
  68. package/node_modules/debug/src/common.js +0 -266
  69. package/node_modules/debug/src/index.js +0 -10
  70. package/node_modules/debug/src/node.js +0 -257
  71. package/node_modules/deep-extend/CHANGELOG.md +0 -46
  72. package/node_modules/deep-extend/LICENSE +0 -20
  73. package/node_modules/deep-extend/README.md +0 -91
  74. package/node_modules/deep-extend/index.js +0 -1
  75. package/node_modules/deep-extend/lib/deep-extend.js +0 -150
  76. package/node_modules/deep-extend/package.json +0 -95
  77. package/node_modules/delegates/.npmignore +0 -1
  78. package/node_modules/delegates/History.md +0 -22
  79. package/node_modules/delegates/License +0 -20
  80. package/node_modules/delegates/Makefile +0 -8
  81. package/node_modules/delegates/Readme.md +0 -94
  82. package/node_modules/delegates/index.js +0 -121
  83. package/node_modules/delegates/package.json +0 -51
  84. package/node_modules/delegates/test/index.js +0 -94
  85. package/node_modules/detect-libc/.npmignore +0 -7
  86. package/node_modules/detect-libc/LICENSE +0 -201
  87. package/node_modules/detect-libc/README.md +0 -78
  88. package/node_modules/detect-libc/bin/detect-libc.js +0 -18
  89. package/node_modules/detect-libc/lib/detect-libc.js +0 -92
  90. package/node_modules/detect-libc/package.json +0 -73
  91. package/node_modules/fs-minipass/LICENSE +0 -15
  92. package/node_modules/fs-minipass/README.md +0 -70
  93. package/node_modules/fs-minipass/index.js +0 -386
  94. package/node_modules/fs-minipass/package.json +0 -65
  95. package/node_modules/fs.realpath/LICENSE +0 -43
  96. package/node_modules/fs.realpath/README.md +0 -33
  97. package/node_modules/fs.realpath/index.js +0 -66
  98. package/node_modules/fs.realpath/old.js +0 -303
  99. package/node_modules/fs.realpath/package.json +0 -62
  100. package/node_modules/gauge/CHANGELOG.md +0 -160
  101. package/node_modules/gauge/LICENSE +0 -13
  102. package/node_modules/gauge/README.md +0 -399
  103. package/node_modules/gauge/base-theme.js +0 -14
  104. package/node_modules/gauge/error.js +0 -24
  105. package/node_modules/gauge/has-color.js +0 -12
  106. package/node_modules/gauge/index.js +0 -233
  107. package/node_modules/gauge/package.json +0 -94
  108. package/node_modules/gauge/plumbing.js +0 -48
  109. package/node_modules/gauge/process.js +0 -3
  110. package/node_modules/gauge/progress-bar.js +0 -35
  111. package/node_modules/gauge/render-template.js +0 -181
  112. package/node_modules/gauge/set-immediate.js +0 -7
  113. package/node_modules/gauge/set-interval.js +0 -3
  114. package/node_modules/gauge/spin.js +0 -5
  115. package/node_modules/gauge/template-item.js +0 -73
  116. package/node_modules/gauge/theme-set.js +0 -115
  117. package/node_modules/gauge/themes.js +0 -54
  118. package/node_modules/gauge/wide-truncate.js +0 -25
  119. package/node_modules/glob/LICENSE +0 -15
  120. package/node_modules/glob/README.md +0 -368
  121. package/node_modules/glob/changelog.md +0 -67
  122. package/node_modules/glob/common.js +0 -240
  123. package/node_modules/glob/glob.js +0 -790
  124. package/node_modules/glob/package.json +0 -79
  125. package/node_modules/glob/sync.js +0 -486
  126. package/node_modules/has-unicode/LICENSE +0 -14
  127. package/node_modules/has-unicode/README.md +0 -43
  128. package/node_modules/has-unicode/index.js +0 -16
  129. package/node_modules/has-unicode/package.json +0 -61
  130. package/node_modules/iconv-lite/Changelog.md +0 -162
  131. package/node_modules/iconv-lite/LICENSE +0 -21
  132. package/node_modules/iconv-lite/README.md +0 -156
  133. package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  134. package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  135. package/node_modules/iconv-lite/encodings/index.js +0 -22
  136. package/node_modules/iconv-lite/encodings/internal.js +0 -188
  137. package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  138. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  139. package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  140. package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  141. package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  142. package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  143. package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  144. package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  145. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  146. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  147. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  148. package/node_modules/iconv-lite/encodings/utf16.js +0 -177
  149. package/node_modules/iconv-lite/encodings/utf7.js +0 -290
  150. package/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  151. package/node_modules/iconv-lite/lib/extend-node.js +0 -217
  152. package/node_modules/iconv-lite/lib/index.d.ts +0 -24
  153. package/node_modules/iconv-lite/lib/index.js +0 -153
  154. package/node_modules/iconv-lite/lib/streams.js +0 -121
  155. package/node_modules/iconv-lite/package.json +0 -79
  156. package/node_modules/ignore-walk/LICENSE +0 -15
  157. package/node_modules/ignore-walk/README.md +0 -60
  158. package/node_modules/ignore-walk/index.js +0 -265
  159. package/node_modules/ignore-walk/package.json +0 -74
  160. package/node_modules/inflight/LICENSE +0 -15
  161. package/node_modules/inflight/README.md +0 -37
  162. package/node_modules/inflight/inflight.js +0 -54
  163. package/node_modules/inflight/package.json +0 -61
  164. package/node_modules/inherits/LICENSE +0 -16
  165. package/node_modules/inherits/README.md +0 -42
  166. package/node_modules/inherits/inherits.js +0 -7
  167. package/node_modules/inherits/inherits_browser.js +0 -23
  168. package/node_modules/inherits/package.json +0 -65
  169. package/node_modules/ini/LICENSE +0 -15
  170. package/node_modules/ini/README.md +0 -102
  171. package/node_modules/ini/ini.js +0 -194
  172. package/node_modules/ini/package.json +0 -66
  173. package/node_modules/is-fullwidth-code-point/index.js +0 -46
  174. package/node_modules/is-fullwidth-code-point/license +0 -21
  175. package/node_modules/is-fullwidth-code-point/package.json +0 -80
  176. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  177. package/node_modules/isarray/.npmignore +0 -1
  178. package/node_modules/isarray/.travis.yml +0 -4
  179. package/node_modules/isarray/Makefile +0 -6
  180. package/node_modules/isarray/README.md +0 -60
  181. package/node_modules/isarray/component.json +0 -19
  182. package/node_modules/isarray/index.js +0 -5
  183. package/node_modules/isarray/package.json +0 -76
  184. package/node_modules/isarray/test.js +0 -20
  185. package/node_modules/minimatch/LICENSE +0 -15
  186. package/node_modules/minimatch/README.md +0 -209
  187. package/node_modules/minimatch/minimatch.js +0 -923
  188. package/node_modules/minimatch/package.json +0 -67
  189. package/node_modules/minimist/.travis.yml +0 -4
  190. package/node_modules/minimist/LICENSE +0 -18
  191. package/node_modules/minimist/example/parse.js +0 -2
  192. package/node_modules/minimist/index.js +0 -187
  193. package/node_modules/minimist/package.json +0 -74
  194. package/node_modules/minimist/readme.markdown +0 -73
  195. package/node_modules/minimist/test/dash.js +0 -24
  196. package/node_modules/minimist/test/default_bool.js +0 -20
  197. package/node_modules/minimist/test/dotted.js +0 -16
  198. package/node_modules/minimist/test/long.js +0 -31
  199. package/node_modules/minimist/test/parse.js +0 -318
  200. package/node_modules/minimist/test/parse_modified.js +0 -9
  201. package/node_modules/minimist/test/short.js +0 -67
  202. package/node_modules/minimist/test/whitespace.js +0 -8
  203. package/node_modules/minipass/LICENSE +0 -15
  204. package/node_modules/minipass/README.md +0 -124
  205. package/node_modules/minipass/index.js +0 -375
  206. package/node_modules/minipass/package.json +0 -72
  207. package/node_modules/minizlib/LICENSE +0 -26
  208. package/node_modules/minizlib/README.md +0 -44
  209. package/node_modules/minizlib/constants.js +0 -46
  210. package/node_modules/minizlib/index.js +0 -335
  211. package/node_modules/minizlib/package.json +0 -74
  212. package/node_modules/mkdirp/.travis.yml +0 -8
  213. package/node_modules/mkdirp/LICENSE +0 -21
  214. package/node_modules/mkdirp/bin/cmd.js +0 -33
  215. package/node_modules/mkdirp/bin/usage.txt +0 -12
  216. package/node_modules/mkdirp/examples/pow.js +0 -6
  217. package/node_modules/mkdirp/index.js +0 -98
  218. package/node_modules/mkdirp/package.json +0 -66
  219. package/node_modules/mkdirp/readme.markdown +0 -100
  220. package/node_modules/mkdirp/test/chmod.js +0 -41
  221. package/node_modules/mkdirp/test/clobber.js +0 -38
  222. package/node_modules/mkdirp/test/mkdirp.js +0 -28
  223. package/node_modules/mkdirp/test/opts_fs.js +0 -29
  224. package/node_modules/mkdirp/test/opts_fs_sync.js +0 -27
  225. package/node_modules/mkdirp/test/perm.js +0 -32
  226. package/node_modules/mkdirp/test/perm_sync.js +0 -36
  227. package/node_modules/mkdirp/test/race.js +0 -37
  228. package/node_modules/mkdirp/test/rel.js +0 -32
  229. package/node_modules/mkdirp/test/return.js +0 -25
  230. package/node_modules/mkdirp/test/return_sync.js +0 -24
  231. package/node_modules/mkdirp/test/root.js +0 -19
  232. package/node_modules/mkdirp/test/sync.js +0 -32
  233. package/node_modules/mkdirp/test/umask.js +0 -28
  234. package/node_modules/mkdirp/test/umask_sync.js +0 -32
  235. package/node_modules/ms/index.js +0 -162
  236. package/node_modules/ms/license.md +0 -21
  237. package/node_modules/ms/package.json +0 -72
  238. package/node_modules/ms/readme.md +0 -60
  239. package/node_modules/needle/.npmignore +0 -6
  240. package/node_modules/needle/README.md +0 -593
  241. package/node_modules/needle/bin/needle +0 -40
  242. package/node_modules/needle/examples/deflated-stream.js +0 -22
  243. package/node_modules/needle/examples/digest-auth.js +0 -16
  244. package/node_modules/needle/examples/download-to-file.js +0 -18
  245. package/node_modules/needle/examples/multipart-stream.js +0 -25
  246. package/node_modules/needle/examples/parsed-stream.js +0 -23
  247. package/node_modules/needle/examples/parsed-stream2.js +0 -21
  248. package/node_modules/needle/examples/stream-events.js +0 -23
  249. package/node_modules/needle/examples/stream-to-file.js +0 -14
  250. package/node_modules/needle/examples/upload-image.js +0 -51
  251. package/node_modules/needle/lib/auth.js +0 -110
  252. package/node_modules/needle/lib/cookies.js +0 -79
  253. package/node_modules/needle/lib/decoder.js +0 -53
  254. package/node_modules/needle/lib/multipart.js +0 -98
  255. package/node_modules/needle/lib/needle.js +0 -795
  256. package/node_modules/needle/lib/parsers.js +0 -120
  257. package/node_modules/needle/lib/querystring.js +0 -49
  258. package/node_modules/needle/license.txt +0 -19
  259. package/node_modules/needle/package-lock.json +0 -395
  260. package/node_modules/needle/package.json +0 -105
  261. package/node_modules/needle/test/basic_auth_spec.js +0 -196
  262. package/node_modules/needle/test/compression_spec.js +0 -94
  263. package/node_modules/needle/test/cookies_spec.js +0 -305
  264. package/node_modules/needle/test/decoder_spec.js +0 -86
  265. package/node_modules/needle/test/errors_spec.js +0 -286
  266. package/node_modules/needle/test/headers_spec.js +0 -198
  267. package/node_modules/needle/test/helpers.js +0 -72
  268. package/node_modules/needle/test/keys/ssl.cert +0 -21
  269. package/node_modules/needle/test/keys/ssl.key +0 -27
  270. package/node_modules/needle/test/long_string_spec.js +0 -34
  271. package/node_modules/needle/test/output_spec.js +0 -254
  272. package/node_modules/needle/test/parsing_spec.js +0 -494
  273. package/node_modules/needle/test/post_data_spec.js +0 -1021
  274. package/node_modules/needle/test/proxy_spec.js +0 -202
  275. package/node_modules/needle/test/querystring_spec.js +0 -128
  276. package/node_modules/needle/test/redirect_spec.js +0 -392
  277. package/node_modules/needle/test/redirect_with_timeout.js +0 -45
  278. package/node_modules/needle/test/request_stream_spec.js +0 -202
  279. package/node_modules/needle/test/response_stream_spec.js +0 -139
  280. package/node_modules/needle/test/socket_pool_spec.js +0 -66
  281. package/node_modules/needle/test/url_spec.js +0 -155
  282. package/node_modules/needle/test/utils/formidable.js +0 -17
  283. package/node_modules/needle/test/utils/proxy.js +0 -62
  284. package/node_modules/needle/test/utils/test.js +0 -104
  285. package/node_modules/node-pre-gyp/CHANGELOG.md +0 -432
  286. package/node_modules/node-pre-gyp/LICENSE +0 -27
  287. package/node_modules/node-pre-gyp/README.md +0 -693
  288. package/node_modules/node-pre-gyp/appveyor.yml +0 -30
  289. package/node_modules/node-pre-gyp/bin/node-pre-gyp +0 -134
  290. package/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd +0 -2
  291. package/node_modules/node-pre-gyp/contributing.md +0 -10
  292. package/node_modules/node-pre-gyp/lib/build.js +0 -51
  293. package/node_modules/node-pre-gyp/lib/clean.js +0 -32
  294. package/node_modules/node-pre-gyp/lib/configure.js +0 -52
  295. package/node_modules/node-pre-gyp/lib/info.js +0 -40
  296. package/node_modules/node-pre-gyp/lib/install.js +0 -255
  297. package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +0 -203
  298. package/node_modules/node-pre-gyp/lib/package.js +0 -56
  299. package/node_modules/node-pre-gyp/lib/pre-binding.js +0 -30
  300. package/node_modules/node-pre-gyp/lib/publish.js +0 -79
  301. package/node_modules/node-pre-gyp/lib/rebuild.js +0 -21
  302. package/node_modules/node-pre-gyp/lib/reinstall.js +0 -20
  303. package/node_modules/node-pre-gyp/lib/reveal.js +0 -33
  304. package/node_modules/node-pre-gyp/lib/testbinary.js +0 -81
  305. package/node_modules/node-pre-gyp/lib/testpackage.js +0 -55
  306. package/node_modules/node-pre-gyp/lib/unpublish.js +0 -43
  307. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +0 -1830
  308. package/node_modules/node-pre-gyp/lib/util/compile.js +0 -87
  309. package/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js +0 -103
  310. package/node_modules/node-pre-gyp/lib/util/napi.js +0 -204
  311. package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html +0 -26
  312. package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json +0 -9
  313. package/node_modules/node-pre-gyp/lib/util/s3_setup.js +0 -27
  314. package/node_modules/node-pre-gyp/lib/util/versioning.js +0 -331
  315. package/node_modules/node-pre-gyp/package.json +0 -89
  316. package/node_modules/nopt/.npmignore +0 -1
  317. package/node_modules/nopt/.travis.yml +0 -8
  318. package/node_modules/nopt/CHANGELOG.md +0 -58
  319. package/node_modules/nopt/LICENSE +0 -15
  320. package/node_modules/nopt/README.md +0 -213
  321. package/node_modules/nopt/bin/nopt.js +0 -54
  322. package/node_modules/nopt/examples/my-program.js +0 -30
  323. package/node_modules/nopt/lib/nopt.js +0 -436
  324. package/node_modules/nopt/package.json +0 -61
  325. package/node_modules/nopt/test/basic.js +0 -303
  326. package/node_modules/npm-bundled/LICENSE +0 -15
  327. package/node_modules/npm-bundled/README.md +0 -48
  328. package/node_modules/npm-bundled/index.js +0 -241
  329. package/node_modules/npm-bundled/package.json +0 -63
  330. package/node_modules/npm-packlist/LICENSE +0 -15
  331. package/node_modules/npm-packlist/README.md +0 -68
  332. package/node_modules/npm-packlist/index.js +0 -250
  333. package/node_modules/npm-packlist/package.json +0 -69
  334. package/node_modules/npmlog/CHANGELOG.md +0 -49
  335. package/node_modules/npmlog/LICENSE +0 -15
  336. package/node_modules/npmlog/README.md +0 -216
  337. package/node_modules/npmlog/log.js +0 -309
  338. package/node_modules/npmlog/package.json +0 -64
  339. package/node_modules/number-is-nan/index.js +0 -4
  340. package/node_modules/number-is-nan/license +0 -21
  341. package/node_modules/number-is-nan/package.json +0 -70
  342. package/node_modules/number-is-nan/readme.md +0 -28
  343. package/node_modules/object-assign/index.js +0 -90
  344. package/node_modules/object-assign/license +0 -21
  345. package/node_modules/object-assign/package.json +0 -77
  346. package/node_modules/object-assign/readme.md +0 -61
  347. package/node_modules/once/LICENSE +0 -15
  348. package/node_modules/once/README.md +0 -79
  349. package/node_modules/once/once.js +0 -42
  350. package/node_modules/once/package.json +0 -70
  351. package/node_modules/os-homedir/index.js +0 -24
  352. package/node_modules/os-homedir/license +0 -21
  353. package/node_modules/os-homedir/package.json +0 -76
  354. package/node_modules/os-homedir/readme.md +0 -31
  355. package/node_modules/os-tmpdir/index.js +0 -25
  356. package/node_modules/os-tmpdir/license +0 -21
  357. package/node_modules/os-tmpdir/package.json +0 -76
  358. package/node_modules/os-tmpdir/readme.md +0 -32
  359. package/node_modules/osenv/LICENSE +0 -15
  360. package/node_modules/osenv/README.md +0 -63
  361. package/node_modules/osenv/osenv.js +0 -72
  362. package/node_modules/osenv/package.json +0 -76
  363. package/node_modules/path-is-absolute/index.js +0 -20
  364. package/node_modules/path-is-absolute/license +0 -21
  365. package/node_modules/path-is-absolute/package.json +0 -78
  366. package/node_modules/path-is-absolute/readme.md +0 -59
  367. package/node_modules/process-nextick-args/index.js +0 -44
  368. package/node_modules/process-nextick-args/license.md +0 -19
  369. package/node_modules/process-nextick-args/package.json +0 -53
  370. package/node_modules/process-nextick-args/readme.md +0 -18
  371. package/node_modules/rc/LICENSE.APACHE2 +0 -15
  372. package/node_modules/rc/LICENSE.BSD +0 -26
  373. package/node_modules/rc/LICENSE.MIT +0 -24
  374. package/node_modules/rc/README.md +0 -227
  375. package/node_modules/rc/browser.js +0 -7
  376. package/node_modules/rc/cli.js +0 -4
  377. package/node_modules/rc/index.js +0 -53
  378. package/node_modules/rc/lib/utils.js +0 -104
  379. package/node_modules/rc/node_modules/minimist/.travis.yml +0 -8
  380. package/node_modules/rc/node_modules/minimist/LICENSE +0 -18
  381. package/node_modules/rc/node_modules/minimist/example/parse.js +0 -2
  382. package/node_modules/rc/node_modules/minimist/index.js +0 -236
  383. package/node_modules/rc/node_modules/minimist/package.json +0 -76
  384. package/node_modules/rc/node_modules/minimist/readme.markdown +0 -91
  385. package/node_modules/rc/node_modules/minimist/test/all_bool.js +0 -32
  386. package/node_modules/rc/node_modules/minimist/test/bool.js +0 -166
  387. package/node_modules/rc/node_modules/minimist/test/dash.js +0 -31
  388. package/node_modules/rc/node_modules/minimist/test/default_bool.js +0 -35
  389. package/node_modules/rc/node_modules/minimist/test/dotted.js +0 -22
  390. package/node_modules/rc/node_modules/minimist/test/kv_short.js +0 -16
  391. package/node_modules/rc/node_modules/minimist/test/long.js +0 -31
  392. package/node_modules/rc/node_modules/minimist/test/num.js +0 -36
  393. package/node_modules/rc/node_modules/minimist/test/parse.js +0 -197
  394. package/node_modules/rc/node_modules/minimist/test/parse_modified.js +0 -9
  395. package/node_modules/rc/node_modules/minimist/test/short.js +0 -67
  396. package/node_modules/rc/node_modules/minimist/test/stop_early.js +0 -15
  397. package/node_modules/rc/node_modules/minimist/test/unknown.js +0 -102
  398. package/node_modules/rc/node_modules/minimist/test/whitespace.js +0 -8
  399. package/node_modules/rc/package.json +0 -67
  400. package/node_modules/rc/test/ini.js +0 -16
  401. package/node_modules/rc/test/nested-env-vars.js +0 -50
  402. package/node_modules/rc/test/test.js +0 -59
  403. package/node_modules/readable-stream/.travis.yml +0 -55
  404. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  405. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  406. package/node_modules/readable-stream/LICENSE +0 -47
  407. package/node_modules/readable-stream/README.md +0 -58
  408. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  409. package/node_modules/readable-stream/duplex-browser.js +0 -1
  410. package/node_modules/readable-stream/duplex.js +0 -1
  411. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
  412. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
  413. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
  414. package/node_modules/readable-stream/lib/_stream_transform.js +0 -214
  415. package/node_modules/readable-stream/lib/_stream_writable.js +0 -687
  416. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -79
  417. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -74
  418. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  419. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  420. package/node_modules/readable-stream/package.json +0 -84
  421. package/node_modules/readable-stream/passthrough.js +0 -1
  422. package/node_modules/readable-stream/readable-browser.js +0 -7
  423. package/node_modules/readable-stream/readable.js +0 -19
  424. package/node_modules/readable-stream/transform.js +0 -1
  425. package/node_modules/readable-stream/writable-browser.js +0 -1
  426. package/node_modules/readable-stream/writable.js +0 -8
  427. package/node_modules/rimraf/LICENSE +0 -15
  428. package/node_modules/rimraf/README.md +0 -101
  429. package/node_modules/rimraf/bin.js +0 -50
  430. package/node_modules/rimraf/package.json +0 -70
  431. package/node_modules/rimraf/rimraf.js +0 -364
  432. package/node_modules/safe-buffer/LICENSE +0 -21
  433. package/node_modules/safe-buffer/README.md +0 -584
  434. package/node_modules/safe-buffer/index.d.ts +0 -187
  435. package/node_modules/safe-buffer/index.js +0 -62
  436. package/node_modules/safe-buffer/package.json +0 -68
  437. package/node_modules/safer-buffer/LICENSE +0 -21
  438. package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  439. package/node_modules/safer-buffer/Readme.md +0 -156
  440. package/node_modules/safer-buffer/dangerous.js +0 -58
  441. package/node_modules/safer-buffer/package.json +0 -63
  442. package/node_modules/safer-buffer/safer.js +0 -77
  443. package/node_modules/safer-buffer/tests.js +0 -406
  444. package/node_modules/sax/LICENSE +0 -41
  445. package/node_modules/sax/README.md +0 -225
  446. package/node_modules/sax/lib/sax.js +0 -1565
  447. package/node_modules/sax/package.json +0 -64
  448. package/node_modules/semver/CHANGELOG.md +0 -39
  449. package/node_modules/semver/LICENSE +0 -15
  450. package/node_modules/semver/README.md +0 -411
  451. package/node_modules/semver/bin/semver +0 -160
  452. package/node_modules/semver/package.json +0 -63
  453. package/node_modules/semver/range.bnf +0 -16
  454. package/node_modules/semver/semver.js +0 -1483
  455. package/node_modules/set-blocking/CHANGELOG.md +0 -26
  456. package/node_modules/set-blocking/LICENSE.txt +0 -14
  457. package/node_modules/set-blocking/README.md +0 -31
  458. package/node_modules/set-blocking/index.js +0 -7
  459. package/node_modules/set-blocking/package.json +0 -73
  460. package/node_modules/signal-exit/CHANGELOG.md +0 -27
  461. package/node_modules/signal-exit/LICENSE.txt +0 -16
  462. package/node_modules/signal-exit/README.md +0 -40
  463. package/node_modules/signal-exit/index.js +0 -157
  464. package/node_modules/signal-exit/package.json +0 -69
  465. package/node_modules/signal-exit/signals.js +0 -53
  466. package/node_modules/string-width/index.js +0 -37
  467. package/node_modules/string-width/license +0 -21
  468. package/node_modules/string-width/package.json +0 -92
  469. package/node_modules/string-width/readme.md +0 -42
  470. package/node_modules/string_decoder/.travis.yml +0 -50
  471. package/node_modules/string_decoder/LICENSE +0 -48
  472. package/node_modules/string_decoder/README.md +0 -47
  473. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  474. package/node_modules/string_decoder/package.json +0 -62
  475. package/node_modules/strip-ansi/index.js +0 -6
  476. package/node_modules/strip-ansi/license +0 -21
  477. package/node_modules/strip-ansi/package.json +0 -105
  478. package/node_modules/strip-ansi/readme.md +0 -33
  479. package/node_modules/strip-json-comments/index.js +0 -70
  480. package/node_modules/strip-json-comments/license +0 -21
  481. package/node_modules/strip-json-comments/package.json +0 -77
  482. package/node_modules/strip-json-comments/readme.md +0 -64
  483. package/node_modules/tar/LICENSE +0 -15
  484. package/node_modules/tar/README.md +0 -954
  485. package/node_modules/tar/index.js +0 -18
  486. package/node_modules/tar/lib/buffer.js +0 -11
  487. package/node_modules/tar/lib/create.js +0 -105
  488. package/node_modules/tar/lib/extract.js +0 -112
  489. package/node_modules/tar/lib/header.js +0 -289
  490. package/node_modules/tar/lib/high-level-opt.js +0 -29
  491. package/node_modules/tar/lib/large-numbers.js +0 -92
  492. package/node_modules/tar/lib/list.js +0 -130
  493. package/node_modules/tar/lib/mkdir.js +0 -206
  494. package/node_modules/tar/lib/mode-fix.js +0 -14
  495. package/node_modules/tar/lib/pack.js +0 -404
  496. package/node_modules/tar/lib/parse.js +0 -423
  497. package/node_modules/tar/lib/pax.js +0 -146
  498. package/node_modules/tar/lib/read-entry.js +0 -94
  499. package/node_modules/tar/lib/replace.js +0 -220
  500. package/node_modules/tar/lib/types.js +0 -44
  501. package/node_modules/tar/lib/unpack.js +0 -621
  502. package/node_modules/tar/lib/update.js +0 -36
  503. package/node_modules/tar/lib/warn-mixin.js +0 -14
  504. package/node_modules/tar/lib/winchars.js +0 -23
  505. package/node_modules/tar/lib/write-entry.js +0 -422
  506. package/node_modules/tar/package.json +0 -81
  507. package/node_modules/util-deprecate/History.md +0 -16
  508. package/node_modules/util-deprecate/LICENSE +0 -24
  509. package/node_modules/util-deprecate/README.md +0 -53
  510. package/node_modules/util-deprecate/browser.js +0 -67
  511. package/node_modules/util-deprecate/node.js +0 -6
  512. package/node_modules/util-deprecate/package.json +0 -59
  513. package/node_modules/wide-align/LICENSE +0 -14
  514. package/node_modules/wide-align/README.md +0 -47
  515. package/node_modules/wide-align/align.js +0 -65
  516. package/node_modules/wide-align/package.json +0 -69
  517. package/node_modules/wrappy/LICENSE +0 -15
  518. package/node_modules/wrappy/README.md +0 -36
  519. package/node_modules/wrappy/package.json +0 -62
  520. package/node_modules/wrappy/wrappy.js +0 -33
  521. package/node_modules/yallist/LICENSE +0 -15
  522. package/node_modules/yallist/README.md +0 -204
  523. package/node_modules/yallist/iterator.js +0 -8
  524. package/node_modules/yallist/package.json +0 -66
  525. package/node_modules/yallist/yallist.js +0 -376
@@ -1,8 +0,0 @@
1
-
2
- test:
3
- @./node_modules/.bin/mocha \
4
- --require should \
5
- --reporter spec \
6
- --bail
7
-
8
- .PHONY: test
@@ -1,94 +0,0 @@
1
-
2
- # delegates
3
-
4
- Node method and accessor delegation utilty.
5
-
6
- ## Installation
7
-
8
- ```
9
- $ npm install delegates
10
- ```
11
-
12
- ## Example
13
-
14
- ```js
15
- var delegate = require('delegates');
16
-
17
- ...
18
-
19
- delegate(proto, 'request')
20
- .method('acceptsLanguages')
21
- .method('acceptsEncodings')
22
- .method('acceptsCharsets')
23
- .method('accepts')
24
- .method('is')
25
- .access('querystring')
26
- .access('idempotent')
27
- .access('socket')
28
- .access('length')
29
- .access('query')
30
- .access('search')
31
- .access('status')
32
- .access('method')
33
- .access('path')
34
- .access('body')
35
- .access('host')
36
- .access('url')
37
- .getter('subdomains')
38
- .getter('protocol')
39
- .getter('header')
40
- .getter('stale')
41
- .getter('fresh')
42
- .getter('secure')
43
- .getter('ips')
44
- .getter('ip')
45
- ```
46
-
47
- # API
48
-
49
- ## Delegate(proto, prop)
50
-
51
- Creates a delegator instance used to configure using the `prop` on the given
52
- `proto` object. (which is usually a prototype)
53
-
54
- ## Delegate#method(name)
55
-
56
- Allows the given method `name` to be accessed on the host.
57
-
58
- ## Delegate#getter(name)
59
-
60
- Creates a "getter" for the property with the given `name` on the delegated
61
- object.
62
-
63
- ## Delegate#setter(name)
64
-
65
- Creates a "setter" for the property with the given `name` on the delegated
66
- object.
67
-
68
- ## Delegate#access(name)
69
-
70
- Creates an "accessor" (ie: both getter *and* setter) for the property with the
71
- given `name` on the delegated object.
72
-
73
- ## Delegate#fluent(name)
74
-
75
- A unique type of "accessor" that works for a "fluent" API. When called as a
76
- getter, the method returns the expected value. However, if the method is called
77
- with a value, it will return itself so it can be chained. For example:
78
-
79
- ```js
80
- delegate(proto, 'request')
81
- .fluent('query')
82
-
83
- // getter
84
- var q = request.query();
85
-
86
- // setter (chainable)
87
- request
88
- .query({ a: 1 })
89
- .query({ b: 2 });
90
- ```
91
-
92
- # License
93
-
94
- MIT
@@ -1,121 +0,0 @@
1
-
2
- /**
3
- * Expose `Delegator`.
4
- */
5
-
6
- module.exports = Delegator;
7
-
8
- /**
9
- * Initialize a delegator.
10
- *
11
- * @param {Object} proto
12
- * @param {String} target
13
- * @api public
14
- */
15
-
16
- function Delegator(proto, target) {
17
- if (!(this instanceof Delegator)) return new Delegator(proto, target);
18
- this.proto = proto;
19
- this.target = target;
20
- this.methods = [];
21
- this.getters = [];
22
- this.setters = [];
23
- this.fluents = [];
24
- }
25
-
26
- /**
27
- * Delegate method `name`.
28
- *
29
- * @param {String} name
30
- * @return {Delegator} self
31
- * @api public
32
- */
33
-
34
- Delegator.prototype.method = function(name){
35
- var proto = this.proto;
36
- var target = this.target;
37
- this.methods.push(name);
38
-
39
- proto[name] = function(){
40
- return this[target][name].apply(this[target], arguments);
41
- };
42
-
43
- return this;
44
- };
45
-
46
- /**
47
- * Delegator accessor `name`.
48
- *
49
- * @param {String} name
50
- * @return {Delegator} self
51
- * @api public
52
- */
53
-
54
- Delegator.prototype.access = function(name){
55
- return this.getter(name).setter(name);
56
- };
57
-
58
- /**
59
- * Delegator getter `name`.
60
- *
61
- * @param {String} name
62
- * @return {Delegator} self
63
- * @api public
64
- */
65
-
66
- Delegator.prototype.getter = function(name){
67
- var proto = this.proto;
68
- var target = this.target;
69
- this.getters.push(name);
70
-
71
- proto.__defineGetter__(name, function(){
72
- return this[target][name];
73
- });
74
-
75
- return this;
76
- };
77
-
78
- /**
79
- * Delegator setter `name`.
80
- *
81
- * @param {String} name
82
- * @return {Delegator} self
83
- * @api public
84
- */
85
-
86
- Delegator.prototype.setter = function(name){
87
- var proto = this.proto;
88
- var target = this.target;
89
- this.setters.push(name);
90
-
91
- proto.__defineSetter__(name, function(val){
92
- return this[target][name] = val;
93
- });
94
-
95
- return this;
96
- };
97
-
98
- /**
99
- * Delegator fluent accessor
100
- *
101
- * @param {String} name
102
- * @return {Delegator} self
103
- * @api public
104
- */
105
-
106
- Delegator.prototype.fluent = function (name) {
107
- var proto = this.proto;
108
- var target = this.target;
109
- this.fluents.push(name);
110
-
111
- proto[name] = function(val){
112
- if ('undefined' != typeof val) {
113
- this[target][name] = val;
114
- return this;
115
- } else {
116
- return this[target][name];
117
- }
118
- };
119
-
120
- return this;
121
- };
@@ -1,51 +0,0 @@
1
- {
2
- "_args": [
3
- [
4
- "delegates@1.0.0",
5
- "/Users/pipobscure/fsevents"
6
- ]
7
- ],
8
- "_from": "delegates@1.0.0",
9
- "_id": "delegates@1.0.0",
10
- "_inBundle": false,
11
- "_integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
12
- "_location": "/delegates",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "delegates@1.0.0",
18
- "name": "delegates",
19
- "escapedName": "delegates",
20
- "rawSpec": "1.0.0",
21
- "saveSpec": null,
22
- "fetchSpec": "1.0.0"
23
- },
24
- "_requiredBy": [
25
- "/are-we-there-yet"
26
- ],
27
- "_resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
28
- "_spec": "1.0.0",
29
- "_where": "/Users/pipobscure/fsevents",
30
- "bugs": {
31
- "url": "https://github.com/visionmedia/node-delegates/issues"
32
- },
33
- "dependencies": {},
34
- "description": "delegate methods and accessors to another property",
35
- "devDependencies": {
36
- "mocha": "*",
37
- "should": "*"
38
- },
39
- "homepage": "https://github.com/visionmedia/node-delegates#readme",
40
- "keywords": [
41
- "delegate",
42
- "delegation"
43
- ],
44
- "license": "MIT",
45
- "name": "delegates",
46
- "repository": {
47
- "type": "git",
48
- "url": "git+https://github.com/visionmedia/node-delegates.git"
49
- },
50
- "version": "1.0.0"
51
- }
@@ -1,94 +0,0 @@
1
-
2
- var assert = require('assert');
3
- var delegate = require('..');
4
-
5
- describe('.method(name)', function(){
6
- it('should delegate methods', function(){
7
- var obj = {};
8
-
9
- obj.request = {
10
- foo: function(bar){
11
- assert(this == obj.request);
12
- return bar;
13
- }
14
- };
15
-
16
- delegate(obj, 'request').method('foo');
17
-
18
- obj.foo('something').should.equal('something');
19
- })
20
- })
21
-
22
- describe('.getter(name)', function(){
23
- it('should delegate getters', function(){
24
- var obj = {};
25
-
26
- obj.request = {
27
- get type() {
28
- return 'text/html';
29
- }
30
- }
31
-
32
- delegate(obj, 'request').getter('type');
33
-
34
- obj.type.should.equal('text/html');
35
- })
36
- })
37
-
38
- describe('.setter(name)', function(){
39
- it('should delegate setters', function(){
40
- var obj = {};
41
-
42
- obj.request = {
43
- get type() {
44
- return this._type.toUpperCase();
45
- },
46
-
47
- set type(val) {
48
- this._type = val;
49
- }
50
- }
51
-
52
- delegate(obj, 'request').setter('type');
53
-
54
- obj.type = 'hey';
55
- obj.request.type.should.equal('HEY');
56
- })
57
- })
58
-
59
- describe('.access(name)', function(){
60
- it('should delegate getters and setters', function(){
61
- var obj = {};
62
-
63
- obj.request = {
64
- get type() {
65
- return this._type.toUpperCase();
66
- },
67
-
68
- set type(val) {
69
- this._type = val;
70
- }
71
- }
72
-
73
- delegate(obj, 'request').access('type');
74
-
75
- obj.type = 'hey';
76
- obj.type.should.equal('HEY');
77
- })
78
- })
79
-
80
- describe('.fluent(name)', function () {
81
- it('should delegate in a fluent fashion', function () {
82
- var obj = {
83
- settings: {
84
- env: 'development'
85
- }
86
- };
87
-
88
- delegate(obj, 'settings').fluent('env');
89
-
90
- obj.env().should.equal('development');
91
- obj.env('production').should.equal(obj);
92
- obj.settings.env.should.equal('production');
93
- })
94
- })
@@ -1,7 +0,0 @@
1
- .nyc_output
2
- .travis.yml
3
- coverage
4
- test.js
5
- node_modules
6
- /.circleci
7
- /tests/integration
@@ -1,201 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "{}"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright {yyyy} {name of copyright owner}
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
@@ -1,78 +0,0 @@
1
- # detect-libc
2
-
3
- Node.js module to detect the C standard library (libc) implementation
4
- family and version in use on a given Linux system.
5
-
6
- Provides a value suitable for use with the `LIBC` option of
7
- [prebuild](https://www.npmjs.com/package/prebuild),
8
- [prebuild-ci](https://www.npmjs.com/package/prebuild-ci) and
9
- [prebuild-install](https://www.npmjs.com/package/prebuild-install),
10
- therefore allowing build and provision of pre-compiled binaries
11
- for musl-based Linux e.g. Alpine as well as glibc-based.
12
-
13
- Currently supports libc detection of `glibc` and `musl`.
14
-
15
- ## Install
16
-
17
- ```sh
18
- npm install detect-libc
19
- ```
20
-
21
- ## Usage
22
-
23
- ### API
24
-
25
- ```js
26
- const { GLIBC, MUSL, family, version, isNonGlibcLinux } = require('detect-libc');
27
- ```
28
-
29
- * `GLIBC` is a String containing the value "glibc" for comparison with `family`.
30
- * `MUSL` is a String containing the value "musl" for comparison with `family`.
31
- * `family` is a String representing the system libc family.
32
- * `version` is a String representing the system libc version number.
33
- * `isNonGlibcLinux` is a Boolean representing whether the system is a non-glibc Linux, e.g. Alpine.
34
-
35
- ### detect-libc command line tool
36
-
37
- When run on a Linux system with a non-glibc libc,
38
- the child command will be run with the `LIBC` environment variable
39
- set to the relevant value.
40
-
41
- On all other platforms will run the child command as-is.
42
-
43
- The command line feature requires `spawnSync` provided by Node v0.12+.
44
-
45
- ```sh
46
- detect-libc child-command
47
- ```
48
-
49
- ## Integrating with prebuild
50
-
51
- ```json
52
- "scripts": {
53
- "install": "detect-libc prebuild-install || node-gyp rebuild",
54
- "test": "mocha && detect-libc prebuild-ci"
55
- },
56
- "dependencies": {
57
- "detect-libc": "^1.0.2",
58
- "prebuild-install": "^2.2.0"
59
- },
60
- "devDependencies": {
61
- "prebuild": "^6.2.1",
62
- "prebuild-ci": "^2.2.3"
63
- }
64
- ```
65
-
66
- ## Licence
67
-
68
- Copyright 2017 Lovell Fuller
69
-
70
- Licensed under the Apache License, Version 2.0 (the "License");
71
- you may not use this file except in compliance with the License.
72
- You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
73
-
74
- Unless required by applicable law or agreed to in writing, software
75
- distributed under the License is distributed on an "AS IS" BASIS,
76
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
77
- See the License for the specific language governing permissions and
78
- limitations under the License.
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- 'use strict';
4
-
5
- var spawnSync = require('child_process').spawnSync;
6
- var libc = require('../');
7
-
8
- var spawnOptions = {
9
- env: process.env,
10
- shell: true,
11
- stdio: 'inherit'
12
- };
13
-
14
- if (libc.isNonGlibcLinux) {
15
- spawnOptions.env.LIBC = process.env.LIBC || libc.family;
16
- }
17
-
18
- process.exit(spawnSync(process.argv[2], process.argv.slice(3), spawnOptions).status);