UrgentcareCLI 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (308) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +60 -25
  4. data/Notes +1 -1
  5. data/README.md +5 -5
  6. data/Rakefile +2 -0
  7. data/UrgentCare.gemspec +3 -3
  8. data/background.jpg +0 -0
  9. data/lib/UrgentCare.rb +3 -0
  10. data/lib/UrgentCare/CLI.rb +6 -2
  11. data/lib/UrgentCare/version.rb +1 -1
  12. data/lib/Urgentcare/Scraper.rb +65 -23
  13. data/node_modules/.bin/rimraf +1 -0
  14. data/node_modules/.package-lock.json +250 -0
  15. data/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  16. data/node_modules/balanced-match/LICENSE.md +21 -0
  17. data/node_modules/balanced-match/README.md +97 -0
  18. data/node_modules/balanced-match/index.js +62 -0
  19. data/node_modules/balanced-match/package.json +48 -0
  20. data/node_modules/brace-expansion/LICENSE +21 -0
  21. data/node_modules/brace-expansion/README.md +129 -0
  22. data/node_modules/brace-expansion/index.js +201 -0
  23. data/node_modules/brace-expansion/package.json +47 -0
  24. data/node_modules/concat-map/.travis.yml +4 -0
  25. data/node_modules/concat-map/LICENSE +18 -0
  26. data/node_modules/concat-map/README.markdown +62 -0
  27. data/node_modules/concat-map/example/map.js +6 -0
  28. data/node_modules/concat-map/index.js +13 -0
  29. data/node_modules/concat-map/package.json +43 -0
  30. data/node_modules/concat-map/test/map.js +39 -0
  31. data/node_modules/core-util-is/LICENSE +19 -0
  32. data/node_modules/core-util-is/README.md +3 -0
  33. data/node_modules/core-util-is/float.patch +604 -0
  34. data/node_modules/core-util-is/lib/util.js +107 -0
  35. data/node_modules/core-util-is/package.json +32 -0
  36. data/node_modules/core-util-is/test.js +68 -0
  37. data/node_modules/fs.realpath/LICENSE +43 -0
  38. data/node_modules/fs.realpath/README.md +33 -0
  39. data/node_modules/fs.realpath/index.js +66 -0
  40. data/node_modules/fs.realpath/old.js +303 -0
  41. data/node_modules/fs.realpath/package.json +26 -0
  42. data/node_modules/glob/LICENSE +21 -0
  43. data/node_modules/glob/README.md +375 -0
  44. data/node_modules/glob/changelog.md +67 -0
  45. data/node_modules/glob/common.js +234 -0
  46. data/node_modules/glob/glob.js +788 -0
  47. data/node_modules/glob/package.json +51 -0
  48. data/node_modules/glob/sync.js +484 -0
  49. data/node_modules/immediate/LICENSE.txt +20 -0
  50. data/node_modules/immediate/README.md +93 -0
  51. data/node_modules/immediate/dist/immediate.js +75 -0
  52. data/node_modules/immediate/dist/immediate.min.js +1 -0
  53. data/node_modules/immediate/lib/browser.js +69 -0
  54. data/node_modules/immediate/lib/index.js +73 -0
  55. data/node_modules/immediate/package.json +42 -0
  56. data/node_modules/inflight/LICENSE +15 -0
  57. data/node_modules/inflight/README.md +37 -0
  58. data/node_modules/inflight/inflight.js +54 -0
  59. data/node_modules/inflight/package.json +29 -0
  60. data/node_modules/inherits/LICENSE +16 -0
  61. data/node_modules/inherits/README.md +42 -0
  62. data/node_modules/inherits/inherits.js +9 -0
  63. data/node_modules/inherits/inherits_browser.js +27 -0
  64. data/node_modules/inherits/package.json +29 -0
  65. data/node_modules/isarray/.npmignore +1 -0
  66. data/node_modules/isarray/.travis.yml +4 -0
  67. data/node_modules/isarray/Makefile +6 -0
  68. data/node_modules/isarray/README.md +60 -0
  69. data/node_modules/isarray/component.json +19 -0
  70. data/node_modules/isarray/index.js +5 -0
  71. data/node_modules/isarray/package.json +45 -0
  72. data/node_modules/isarray/test.js +20 -0
  73. data/node_modules/jszip/.codeclimate.yml +16 -0
  74. data/node_modules/jszip/.editorconfig +8 -0
  75. data/node_modules/jszip/.jshintignore +1 -0
  76. data/node_modules/jszip/.jshintrc +21 -0
  77. data/node_modules/jszip/.travis.yml +17 -0
  78. data/node_modules/jszip/CHANGES.md +163 -0
  79. data/node_modules/jszip/LICENSE.markdown +651 -0
  80. data/node_modules/jszip/README.markdown +35 -0
  81. data/node_modules/jszip/dist/jszip.js +30 -0
  82. data/node_modules/jszip/dist/jszip.min.js +13 -0
  83. data/node_modules/jszip/index.d.ts +270 -0
  84. data/node_modules/jszip/lib/base64.js +106 -0
  85. data/node_modules/jszip/lib/compressedObject.js +74 -0
  86. data/node_modules/jszip/lib/compressions.js +14 -0
  87. data/node_modules/jszip/lib/crc32.js +77 -0
  88. data/node_modules/jszip/lib/defaults.js +11 -0
  89. data/node_modules/jszip/lib/external.js +19 -0
  90. data/node_modules/jszip/lib/flate.js +85 -0
  91. data/node_modules/jszip/lib/generate/ZipFileWorker.js +540 -0
  92. data/node_modules/jszip/lib/generate/index.js +57 -0
  93. data/node_modules/jszip/lib/index.js +52 -0
  94. data/node_modules/jszip/lib/license_header.js +11 -0
  95. data/node_modules/jszip/lib/load.js +81 -0
  96. data/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
  97. data/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
  98. data/node_modules/jszip/lib/nodejsUtils.js +57 -0
  99. data/node_modules/jszip/lib/object.js +389 -0
  100. data/node_modules/jszip/lib/readable-stream-browser.js +9 -0
  101. data/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
  102. data/node_modules/jszip/lib/reader/DataReader.js +116 -0
  103. data/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
  104. data/node_modules/jszip/lib/reader/StringReader.js +38 -0
  105. data/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
  106. data/node_modules/jszip/lib/reader/readerFor.js +28 -0
  107. data/node_modules/jszip/lib/signature.js +7 -0
  108. data/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
  109. data/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
  110. data/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
  111. data/node_modules/jszip/lib/stream/DataWorker.js +116 -0
  112. data/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
  113. data/node_modules/jszip/lib/stream/StreamHelper.js +212 -0
  114. data/node_modules/jszip/lib/support.js +38 -0
  115. data/node_modules/jszip/lib/utf8.js +275 -0
  116. data/node_modules/jszip/lib/utils.js +476 -0
  117. data/node_modules/jszip/lib/zipEntries.js +262 -0
  118. data/node_modules/jszip/lib/zipEntry.js +294 -0
  119. data/node_modules/jszip/lib/zipObject.js +133 -0
  120. data/node_modules/jszip/package.json +63 -0
  121. data/node_modules/jszip/vendor/FileSaver.js +247 -0
  122. data/node_modules/lie/README.md +62 -0
  123. data/node_modules/lie/dist/lie.js +350 -0
  124. data/node_modules/lie/dist/lie.min.js +1 -0
  125. data/node_modules/lie/dist/lie.polyfill.js +358 -0
  126. data/node_modules/lie/dist/lie.polyfill.min.js +1 -0
  127. data/node_modules/lie/lib/browser.js +273 -0
  128. data/node_modules/lie/lib/index.js +298 -0
  129. data/node_modules/lie/license.md +7 -0
  130. data/node_modules/lie/lie.d.ts +244 -0
  131. data/node_modules/lie/package.json +69 -0
  132. data/node_modules/lie/polyfill.js +4 -0
  133. data/node_modules/minimatch/LICENSE +15 -0
  134. data/node_modules/minimatch/README.md +209 -0
  135. data/node_modules/minimatch/minimatch.js +923 -0
  136. data/node_modules/minimatch/package.json +30 -0
  137. data/node_modules/once/LICENSE +15 -0
  138. data/node_modules/once/README.md +79 -0
  139. data/node_modules/once/once.js +42 -0
  140. data/node_modules/once/package.json +33 -0
  141. data/node_modules/pako/CHANGELOG.md +164 -0
  142. data/node_modules/pako/LICENSE +21 -0
  143. data/node_modules/pako/README.md +191 -0
  144. data/node_modules/pako/dist/pako.js +6818 -0
  145. data/node_modules/pako/dist/pako.min.js +1 -0
  146. data/node_modules/pako/dist/pako_deflate.js +3997 -0
  147. data/node_modules/pako/dist/pako_deflate.min.js +1 -0
  148. data/node_modules/pako/dist/pako_inflate.js +3300 -0
  149. data/node_modules/pako/dist/pako_inflate.min.js +1 -0
  150. data/node_modules/pako/index.js +14 -0
  151. data/node_modules/pako/lib/deflate.js +400 -0
  152. data/node_modules/pako/lib/inflate.js +423 -0
  153. data/node_modules/pako/lib/utils/common.js +105 -0
  154. data/node_modules/pako/lib/utils/strings.js +187 -0
  155. data/node_modules/pako/lib/zlib/README +59 -0
  156. data/node_modules/pako/lib/zlib/adler32.js +51 -0
  157. data/node_modules/pako/lib/zlib/constants.js +68 -0
  158. data/node_modules/pako/lib/zlib/crc32.js +59 -0
  159. data/node_modules/pako/lib/zlib/deflate.js +1874 -0
  160. data/node_modules/pako/lib/zlib/gzheader.js +58 -0
  161. data/node_modules/pako/lib/zlib/inffast.js +345 -0
  162. data/node_modules/pako/lib/zlib/inflate.js +1556 -0
  163. data/node_modules/pako/lib/zlib/inftrees.js +343 -0
  164. data/node_modules/pako/lib/zlib/messages.js +32 -0
  165. data/node_modules/pako/lib/zlib/trees.js +1222 -0
  166. data/node_modules/pako/lib/zlib/zstream.js +47 -0
  167. data/node_modules/pako/package.json +44 -0
  168. data/node_modules/path-is-absolute/index.js +20 -0
  169. data/node_modules/path-is-absolute/license +21 -0
  170. data/node_modules/path-is-absolute/package.json +43 -0
  171. data/node_modules/path-is-absolute/readme.md +59 -0
  172. data/node_modules/process-nextick-args/index.js +45 -0
  173. data/node_modules/process-nextick-args/license.md +19 -0
  174. data/node_modules/process-nextick-args/package.json +25 -0
  175. data/node_modules/process-nextick-args/readme.md +18 -0
  176. data/node_modules/readable-stream/.travis.yml +34 -0
  177. data/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  178. data/node_modules/readable-stream/GOVERNANCE.md +136 -0
  179. data/node_modules/readable-stream/LICENSE +47 -0
  180. data/node_modules/readable-stream/README.md +58 -0
  181. data/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  182. data/node_modules/readable-stream/duplex-browser.js +1 -0
  183. data/node_modules/readable-stream/duplex.js +1 -0
  184. data/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  185. data/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  186. data/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  187. data/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  188. data/node_modules/readable-stream/lib/_stream_writable.js +687 -0
  189. data/node_modules/readable-stream/lib/internal/streams/BufferList.js +79 -0
  190. data/node_modules/readable-stream/lib/internal/streams/destroy.js +74 -0
  191. data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  192. data/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  193. data/node_modules/readable-stream/package.json +52 -0
  194. data/node_modules/readable-stream/passthrough.js +1 -0
  195. data/node_modules/readable-stream/readable-browser.js +7 -0
  196. data/node_modules/readable-stream/readable.js +19 -0
  197. data/node_modules/readable-stream/transform.js +1 -0
  198. data/node_modules/readable-stream/writable-browser.js +1 -0
  199. data/node_modules/readable-stream/writable.js +8 -0
  200. data/node_modules/rimraf/LICENSE +15 -0
  201. data/node_modules/rimraf/README.md +101 -0
  202. data/node_modules/rimraf/bin.js +50 -0
  203. data/node_modules/rimraf/package.json +29 -0
  204. data/node_modules/rimraf/rimraf.js +372 -0
  205. data/node_modules/safe-buffer/LICENSE +21 -0
  206. data/node_modules/safe-buffer/README.md +584 -0
  207. data/node_modules/safe-buffer/index.d.ts +187 -0
  208. data/node_modules/safe-buffer/index.js +62 -0
  209. data/node_modules/safe-buffer/package.json +37 -0
  210. data/node_modules/selenium-webdriver/CHANGES.md +1114 -0
  211. data/node_modules/selenium-webdriver/LICENSE +202 -0
  212. data/node_modules/selenium-webdriver/NOTICE +2 -0
  213. data/node_modules/selenium-webdriver/README.md +229 -0
  214. data/node_modules/selenium-webdriver/chrome.js +295 -0
  215. data/node_modules/selenium-webdriver/chromium.js +829 -0
  216. data/node_modules/selenium-webdriver/devtools/CDPConnection.js +35 -0
  217. data/node_modules/selenium-webdriver/edge.js +224 -0
  218. data/node_modules/selenium-webdriver/example/chrome_android.js +45 -0
  219. data/node_modules/selenium-webdriver/example/chrome_mobile_emulation.js +46 -0
  220. data/node_modules/selenium-webdriver/example/firefox_channels.js +84 -0
  221. data/node_modules/selenium-webdriver/example/google_search.js +50 -0
  222. data/node_modules/selenium-webdriver/example/google_search_test.js +70 -0
  223. data/node_modules/selenium-webdriver/example/headless.js +63 -0
  224. data/node_modules/selenium-webdriver/example/logging.js +64 -0
  225. data/node_modules/selenium-webdriver/firefox.js +789 -0
  226. data/node_modules/selenium-webdriver/http/index.js +324 -0
  227. data/node_modules/selenium-webdriver/http/util.js +172 -0
  228. data/node_modules/selenium-webdriver/ie.js +503 -0
  229. data/node_modules/selenium-webdriver/index.js +825 -0
  230. data/node_modules/selenium-webdriver/io/exec.js +162 -0
  231. data/node_modules/selenium-webdriver/io/index.js +348 -0
  232. data/node_modules/selenium-webdriver/io/zip.js +223 -0
  233. data/node_modules/selenium-webdriver/lib/atoms/find-elements.js +123 -0
  234. data/node_modules/selenium-webdriver/lib/atoms/get-attribute.js +101 -0
  235. data/node_modules/selenium-webdriver/lib/atoms/is-displayed.js +101 -0
  236. data/node_modules/selenium-webdriver/lib/atoms/mutation-listener.js +55 -0
  237. data/node_modules/selenium-webdriver/lib/by.js +415 -0
  238. data/node_modules/selenium-webdriver/lib/capabilities.js +553 -0
  239. data/node_modules/selenium-webdriver/lib/command.js +206 -0
  240. data/node_modules/selenium-webdriver/lib/error.js +605 -0
  241. data/node_modules/selenium-webdriver/lib/http.js +704 -0
  242. data/node_modules/selenium-webdriver/lib/input.js +946 -0
  243. data/node_modules/selenium-webdriver/lib/logging.js +661 -0
  244. data/node_modules/selenium-webdriver/lib/promise.js +285 -0
  245. data/node_modules/selenium-webdriver/lib/proxy.js +212 -0
  246. data/node_modules/selenium-webdriver/lib/session.js +77 -0
  247. data/node_modules/selenium-webdriver/lib/symbols.js +37 -0
  248. data/node_modules/selenium-webdriver/lib/until.js +429 -0
  249. data/node_modules/selenium-webdriver/lib/webdriver.js +2919 -0
  250. data/node_modules/selenium-webdriver/net/index.js +107 -0
  251. data/node_modules/selenium-webdriver/net/portprober.js +75 -0
  252. data/node_modules/selenium-webdriver/opera.js +406 -0
  253. data/node_modules/selenium-webdriver/package.json +54 -0
  254. data/node_modules/selenium-webdriver/proxy.js +32 -0
  255. data/node_modules/selenium-webdriver/remote/index.js +624 -0
  256. data/node_modules/selenium-webdriver/safari.js +168 -0
  257. data/node_modules/selenium-webdriver/testing/index.js +504 -0
  258. data/node_modules/set-immediate-shim/index.js +7 -0
  259. data/node_modules/set-immediate-shim/package.json +34 -0
  260. data/node_modules/set-immediate-shim/readme.md +31 -0
  261. data/node_modules/string_decoder/.travis.yml +50 -0
  262. data/node_modules/string_decoder/LICENSE +48 -0
  263. data/node_modules/string_decoder/README.md +47 -0
  264. data/node_modules/string_decoder/lib/string_decoder.js +296 -0
  265. data/node_modules/string_decoder/package.json +31 -0
  266. data/node_modules/tmp/CHANGELOG.md +288 -0
  267. data/node_modules/tmp/LICENSE +21 -0
  268. data/node_modules/tmp/README.md +365 -0
  269. data/node_modules/tmp/lib/tmp.js +780 -0
  270. data/node_modules/tmp/node_modules/.bin/rimraf +1 -0
  271. data/node_modules/tmp/node_modules/rimraf/CHANGELOG.md +65 -0
  272. data/node_modules/tmp/node_modules/rimraf/LICENSE +15 -0
  273. data/node_modules/tmp/node_modules/rimraf/README.md +101 -0
  274. data/node_modules/tmp/node_modules/rimraf/bin.js +68 -0
  275. data/node_modules/tmp/node_modules/rimraf/package.json +32 -0
  276. data/node_modules/tmp/node_modules/rimraf/rimraf.js +360 -0
  277. data/node_modules/tmp/package.json +58 -0
  278. data/node_modules/util-deprecate/History.md +16 -0
  279. data/node_modules/util-deprecate/LICENSE +24 -0
  280. data/node_modules/util-deprecate/README.md +53 -0
  281. data/node_modules/util-deprecate/browser.js +67 -0
  282. data/node_modules/util-deprecate/node.js +6 -0
  283. data/node_modules/util-deprecate/package.json +27 -0
  284. data/node_modules/wrappy/LICENSE +15 -0
  285. data/node_modules/wrappy/README.md +36 -0
  286. data/node_modules/wrappy/package.json +29 -0
  287. data/node_modules/wrappy/wrappy.js +33 -0
  288. data/node_modules/ws/LICENSE +21 -0
  289. data/node_modules/ws/README.md +496 -0
  290. data/node_modules/ws/browser.js +8 -0
  291. data/node_modules/ws/index.js +10 -0
  292. data/node_modules/ws/lib/buffer-util.js +129 -0
  293. data/node_modules/ws/lib/constants.js +10 -0
  294. data/node_modules/ws/lib/event-target.js +184 -0
  295. data/node_modules/ws/lib/extension.js +223 -0
  296. data/node_modules/ws/lib/limiter.js +55 -0
  297. data/node_modules/ws/lib/permessage-deflate.js +517 -0
  298. data/node_modules/ws/lib/receiver.js +507 -0
  299. data/node_modules/ws/lib/sender.js +405 -0
  300. data/node_modules/ws/lib/stream.js +165 -0
  301. data/node_modules/ws/lib/validation.js +104 -0
  302. data/node_modules/ws/lib/websocket-server.js +418 -0
  303. data/node_modules/ws/lib/websocket.js +942 -0
  304. data/node_modules/ws/package.json +56 -0
  305. data/package-lock.json +458 -0
  306. data/package.json +5 -0
  307. data/selenium.log +1 -0
  308. metadata +314 -19
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ // (C) 1995-2013 Jean-loup Gailly and Mark Adler
4
+ // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
5
+ //
6
+ // This software is provided 'as-is', without any express or implied
7
+ // warranty. In no event will the authors be held liable for any damages
8
+ // arising from the use of this software.
9
+ //
10
+ // Permission is granted to anyone to use this software for any purpose,
11
+ // including commercial applications, and to alter it and redistribute it
12
+ // freely, subject to the following restrictions:
13
+ //
14
+ // 1. The origin of this software must not be misrepresented; you must not
15
+ // claim that you wrote the original software. If you use this software
16
+ // in a product, an acknowledgment in the product documentation would be
17
+ // appreciated but is not required.
18
+ // 2. Altered source versions must be plainly marked as such, and must not be
19
+ // misrepresented as being the original software.
20
+ // 3. This notice may not be removed or altered from any source distribution.
21
+
22
+ function ZStream() {
23
+ /* next input byte */
24
+ this.input = null; // JS specific, because we have no pointers
25
+ this.next_in = 0;
26
+ /* number of bytes available at input */
27
+ this.avail_in = 0;
28
+ /* total number of input bytes read so far */
29
+ this.total_in = 0;
30
+ /* next output byte should be put there */
31
+ this.output = null; // JS specific, because we have no pointers
32
+ this.next_out = 0;
33
+ /* remaining free space at output */
34
+ this.avail_out = 0;
35
+ /* total number of bytes output so far */
36
+ this.total_out = 0;
37
+ /* last error message, NULL if no error */
38
+ this.msg = ''/*Z_NULL*/;
39
+ /* not visible by applications */
40
+ this.state = null;
41
+ /* best guess about the data type: binary or text */
42
+ this.data_type = 2/*Z_UNKNOWN*/;
43
+ /* adler32 value of the uncompressed data */
44
+ this.adler = 0;
45
+ }
46
+
47
+ module.exports = ZStream;
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "pako",
3
+ "description": "zlib port to javascript - fast, modularized, with browser support",
4
+ "version": "1.0.11",
5
+ "keywords": [
6
+ "zlib",
7
+ "deflate",
8
+ "inflate",
9
+ "gzip"
10
+ ],
11
+ "homepage": "https://github.com/nodeca/pako",
12
+ "contributors": [
13
+ "Andrei Tuputcyn (https://github.com/andr83)",
14
+ "Vitaly Puzrin (https://github.com/puzrin)",
15
+ "Friedel Ziegelmayer (https://github.com/dignifiedquire)",
16
+ "Kirill Efimov (https://github.com/Kirill89)",
17
+ "Jean-loup Gailly",
18
+ "Mark Adler"
19
+ ],
20
+ "files": [
21
+ "index.js",
22
+ "dist/",
23
+ "lib/"
24
+ ],
25
+ "license": "(MIT AND Zlib)",
26
+ "repository": "nodeca/pako",
27
+ "scripts": {
28
+ "test": "make test"
29
+ },
30
+ "devDependencies": {
31
+ "ansi": "^0.3.1",
32
+ "benchmark": "^2.1.4",
33
+ "browserify": "^16.2.3",
34
+ "buffer-from": "^1.1.1",
35
+ "eslint": "^5.9.0",
36
+ "istanbul": "^0.4.5",
37
+ "mocha": "^5.2.0",
38
+ "multiparty": "^4.1.3",
39
+ "ndoc": "^5.0.1",
40
+ "uglify-js": "=3.4.8",
41
+ "zlibjs": "^0.3.1"
42
+ },
43
+ "dependencies": {}
44
+ }
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ function posix(path) {
4
+ return path.charAt(0) === '/';
5
+ }
6
+
7
+ function win32(path) {
8
+ // https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56
9
+ var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
10
+ var result = splitDeviceRe.exec(path);
11
+ var device = result[1] || '';
12
+ var isUnc = Boolean(device && device.charAt(1) !== ':');
13
+
14
+ // UNC paths are always absolute
15
+ return Boolean(result[2] || isUnc);
16
+ }
17
+
18
+ module.exports = process.platform === 'win32' ? win32 : posix;
19
+ module.exports.posix = posix;
20
+ module.exports.win32 = win32;
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "path-is-absolute",
3
+ "version": "1.0.1",
4
+ "description": "Node.js 0.12 path.isAbsolute() ponyfill",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/path-is-absolute",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "engines": {
13
+ "node": ">=0.10.0"
14
+ },
15
+ "scripts": {
16
+ "test": "xo && node test.js"
17
+ },
18
+ "files": [
19
+ "index.js"
20
+ ],
21
+ "keywords": [
22
+ "path",
23
+ "paths",
24
+ "file",
25
+ "dir",
26
+ "absolute",
27
+ "isabsolute",
28
+ "is-absolute",
29
+ "built-in",
30
+ "util",
31
+ "utils",
32
+ "core",
33
+ "ponyfill",
34
+ "polyfill",
35
+ "shim",
36
+ "is",
37
+ "detect",
38
+ "check"
39
+ ],
40
+ "devDependencies": {
41
+ "xo": "^0.16.0"
42
+ }
43
+ }
@@ -0,0 +1,59 @@
1
+ # path-is-absolute [![Build Status](https://travis-ci.org/sindresorhus/path-is-absolute.svg?branch=master)](https://travis-ci.org/sindresorhus/path-is-absolute)
2
+
3
+ > Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) [ponyfill](https://ponyfill.com)
4
+
5
+
6
+ ## Install
7
+
8
+ ```
9
+ $ npm install --save path-is-absolute
10
+ ```
11
+
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ const pathIsAbsolute = require('path-is-absolute');
17
+
18
+ // Running on Linux
19
+ pathIsAbsolute('/home/foo');
20
+ //=> true
21
+ pathIsAbsolute('C:/Users/foo');
22
+ //=> false
23
+
24
+ // Running on Windows
25
+ pathIsAbsolute('C:/Users/foo');
26
+ //=> true
27
+ pathIsAbsolute('/home/foo');
28
+ //=> false
29
+
30
+ // Running on any OS
31
+ pathIsAbsolute.posix('/home/foo');
32
+ //=> true
33
+ pathIsAbsolute.posix('C:/Users/foo');
34
+ //=> false
35
+ pathIsAbsolute.win32('C:/Users/foo');
36
+ //=> true
37
+ pathIsAbsolute.win32('/home/foo');
38
+ //=> false
39
+ ```
40
+
41
+
42
+ ## API
43
+
44
+ See the [`path.isAbsolute()` docs](http://nodejs.org/api/path.html#path_path_isabsolute_path).
45
+
46
+ ### pathIsAbsolute(path)
47
+
48
+ ### pathIsAbsolute.posix(path)
49
+
50
+ POSIX specific version.
51
+
52
+ ### pathIsAbsolute.win32(path)
53
+
54
+ Windows specific version.
55
+
56
+
57
+ ## License
58
+
59
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ if (typeof process === 'undefined' ||
4
+ !process.version ||
5
+ process.version.indexOf('v0.') === 0 ||
6
+ process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {
7
+ module.exports = { nextTick: nextTick };
8
+ } else {
9
+ module.exports = process
10
+ }
11
+
12
+ function nextTick(fn, arg1, arg2, arg3) {
13
+ if (typeof fn !== 'function') {
14
+ throw new TypeError('"callback" argument must be a function');
15
+ }
16
+ var len = arguments.length;
17
+ var args, i;
18
+ switch (len) {
19
+ case 0:
20
+ case 1:
21
+ return process.nextTick(fn);
22
+ case 2:
23
+ return process.nextTick(function afterTickOne() {
24
+ fn.call(null, arg1);
25
+ });
26
+ case 3:
27
+ return process.nextTick(function afterTickTwo() {
28
+ fn.call(null, arg1, arg2);
29
+ });
30
+ case 4:
31
+ return process.nextTick(function afterTickThree() {
32
+ fn.call(null, arg1, arg2, arg3);
33
+ });
34
+ default:
35
+ args = new Array(len - 1);
36
+ i = 0;
37
+ while (i < args.length) {
38
+ args[i++] = arguments[i];
39
+ }
40
+ return process.nextTick(function afterTick() {
41
+ fn.apply(null, args);
42
+ });
43
+ }
44
+ }
45
+
@@ -0,0 +1,19 @@
1
+ # Copyright (c) 2015 Calvin Metcalf
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ **THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.**
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "process-nextick-args",
3
+ "version": "2.0.1",
4
+ "description": "process.nextTick but always with args",
5
+ "main": "index.js",
6
+ "files": [
7
+ "index.js"
8
+ ],
9
+ "scripts": {
10
+ "test": "node test.js"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/calvinmetcalf/process-nextick-args.git"
15
+ },
16
+ "author": "",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/calvinmetcalf/process-nextick-args/issues"
20
+ },
21
+ "homepage": "https://github.com/calvinmetcalf/process-nextick-args",
22
+ "devDependencies": {
23
+ "tap": "~0.2.6"
24
+ }
25
+ }
@@ -0,0 +1,18 @@
1
+ process-nextick-args
2
+ =====
3
+
4
+ [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args)
5
+
6
+ ```bash
7
+ npm install --save process-nextick-args
8
+ ```
9
+
10
+ Always be able to pass arguments to process.nextTick, no matter the platform
11
+
12
+ ```js
13
+ var pna = require('process-nextick-args');
14
+
15
+ pna.nextTick(function (a, b, c) {
16
+ console.log(a, b, c);
17
+ }, 'step', 3, 'profit');
18
+ ```
@@ -0,0 +1,34 @@
1
+ sudo: false
2
+ language: node_js
3
+ before_install:
4
+ - (test $NPM_LEGACY && npm install -g npm@2 && npm install -g npm@3) || true
5
+ notifications:
6
+ email: false
7
+ matrix:
8
+ fast_finish: true
9
+ include:
10
+ - node_js: '0.8'
11
+ env: NPM_LEGACY=true
12
+ - node_js: '0.10'
13
+ env: NPM_LEGACY=true
14
+ - node_js: '0.11'
15
+ env: NPM_LEGACY=true
16
+ - node_js: '0.12'
17
+ env: NPM_LEGACY=true
18
+ - node_js: 1
19
+ env: NPM_LEGACY=true
20
+ - node_js: 2
21
+ env: NPM_LEGACY=true
22
+ - node_js: 3
23
+ env: NPM_LEGACY=true
24
+ - node_js: 4
25
+ - node_js: 5
26
+ - node_js: 6
27
+ - node_js: 7
28
+ - node_js: 8
29
+ - node_js: 9
30
+ script: "npm run test"
31
+ env:
32
+ global:
33
+ - secure: rE2Vvo7vnjabYNULNyLFxOyt98BoJexDqsiOnfiD6kLYYsiQGfr/sbZkPMOFm9qfQG7pjqx+zZWZjGSswhTt+626C0t/njXqug7Yps4c3dFblzGfreQHp7wNX5TFsvrxd6dAowVasMp61sJcRnB2w8cUzoe3RAYUDHyiHktwqMc=
34
+ - secure: g9YINaKAdMatsJ28G9jCGbSaguXCyxSTy+pBO6Ch0Cf57ZLOTka3HqDj8p3nV28LUIHZ3ut5WO43CeYKwt4AUtLpBS3a0dndHdY6D83uY6b2qh5hXlrcbeQTq2cvw2y95F7hm4D1kwrgZ7ViqaKggRcEupAL69YbJnxeUDKWEdI=
@@ -0,0 +1,38 @@
1
+ # Developer's Certificate of Origin 1.1
2
+
3
+ By making a contribution to this project, I certify that:
4
+
5
+ * (a) The contribution was created in whole or in part by me and I
6
+ have the right to submit it under the open source license
7
+ indicated in the file; or
8
+
9
+ * (b) The contribution is based upon previous work that, to the best
10
+ of my knowledge, is covered under an appropriate open source
11
+ license and I have the right under that license to submit that
12
+ work with modifications, whether created in whole or in part
13
+ by me, under the same open source license (unless I am
14
+ permitted to submit under a different license), as indicated
15
+ in the file; or
16
+
17
+ * (c) The contribution was provided directly to me by some other
18
+ person who certified (a), (b) or (c) and I have not modified
19
+ it.
20
+
21
+ * (d) I understand and agree that this project and the contribution
22
+ are public and that a record of the contribution (including all
23
+ personal information I submit with it, including my sign-off) is
24
+ maintained indefinitely and may be redistributed consistent with
25
+ this project or the open source license(s) involved.
26
+
27
+ ## Moderation Policy
28
+
29
+ The [Node.js Moderation Policy] applies to this WG.
30
+
31
+ ## Code of Conduct
32
+
33
+ The [Node.js Code of Conduct][] applies to this WG.
34
+
35
+ [Node.js Code of Conduct]:
36
+ https://github.com/nodejs/node/blob/master/CODE_OF_CONDUCT.md
37
+ [Node.js Moderation Policy]:
38
+ https://github.com/nodejs/TSC/blob/master/Moderation-Policy.md
@@ -0,0 +1,136 @@
1
+ ### Streams Working Group
2
+
3
+ The Node.js Streams is jointly governed by a Working Group
4
+ (WG)
5
+ that is responsible for high-level guidance of the project.
6
+
7
+ The WG has final authority over this project including:
8
+
9
+ * Technical direction
10
+ * Project governance and process (including this policy)
11
+ * Contribution policy
12
+ * GitHub repository hosting
13
+ * Conduct guidelines
14
+ * Maintaining the list of additional Collaborators
15
+
16
+ For the current list of WG members, see the project
17
+ [README.md](./README.md#current-project-team-members).
18
+
19
+ ### Collaborators
20
+
21
+ The readable-stream GitHub repository is
22
+ maintained by the WG and additional Collaborators who are added by the
23
+ WG on an ongoing basis.
24
+
25
+ Individuals making significant and valuable contributions are made
26
+ Collaborators and given commit-access to the project. These
27
+ individuals are identified by the WG and their addition as
28
+ Collaborators is discussed during the WG meeting.
29
+
30
+ _Note:_ If you make a significant contribution and are not considered
31
+ for commit-access log an issue or contact a WG member directly and it
32
+ will be brought up in the next WG meeting.
33
+
34
+ Modifications of the contents of the readable-stream repository are
35
+ made on
36
+ a collaborative basis. Anybody with a GitHub account may propose a
37
+ modification via pull request and it will be considered by the project
38
+ Collaborators. All pull requests must be reviewed and accepted by a
39
+ Collaborator with sufficient expertise who is able to take full
40
+ responsibility for the change. In the case of pull requests proposed
41
+ by an existing Collaborator, an additional Collaborator is required
42
+ for sign-off. Consensus should be sought if additional Collaborators
43
+ participate and there is disagreement around a particular
44
+ modification. See _Consensus Seeking Process_ below for further detail
45
+ on the consensus model used for governance.
46
+
47
+ Collaborators may opt to elevate significant or controversial
48
+ modifications, or modifications that have not found consensus to the
49
+ WG for discussion by assigning the ***WG-agenda*** tag to a pull
50
+ request or issue. The WG should serve as the final arbiter where
51
+ required.
52
+
53
+ For the current list of Collaborators, see the project
54
+ [README.md](./README.md#members).
55
+
56
+ ### WG Membership
57
+
58
+ WG seats are not time-limited. There is no fixed size of the WG.
59
+ However, the expected target is between 6 and 12, to ensure adequate
60
+ coverage of important areas of expertise, balanced with the ability to
61
+ make decisions efficiently.
62
+
63
+ There is no specific set of requirements or qualifications for WG
64
+ membership beyond these rules.
65
+
66
+ The WG may add additional members to the WG by unanimous consensus.
67
+
68
+ A WG member may be removed from the WG by voluntary resignation, or by
69
+ unanimous consensus of all other WG members.
70
+
71
+ Changes to WG membership should be posted in the agenda, and may be
72
+ suggested as any other agenda item (see "WG Meetings" below).
73
+
74
+ If an addition or removal is proposed during a meeting, and the full
75
+ WG is not in attendance to participate, then the addition or removal
76
+ is added to the agenda for the subsequent meeting. This is to ensure
77
+ that all members are given the opportunity to participate in all
78
+ membership decisions. If a WG member is unable to attend a meeting
79
+ where a planned membership decision is being made, then their consent
80
+ is assumed.
81
+
82
+ No more than 1/3 of the WG members may be affiliated with the same
83
+ employer. If removal or resignation of a WG member, or a change of
84
+ employment by a WG member, creates a situation where more than 1/3 of
85
+ the WG membership shares an employer, then the situation must be
86
+ immediately remedied by the resignation or removal of one or more WG
87
+ members affiliated with the over-represented employer(s).
88
+
89
+ ### WG Meetings
90
+
91
+ The WG meets occasionally on a Google Hangout On Air. A designated moderator
92
+ approved by the WG runs the meeting. Each meeting should be
93
+ published to YouTube.
94
+
95
+ Items are added to the WG agenda that are considered contentious or
96
+ are modifications of governance, contribution policy, WG membership,
97
+ or release process.
98
+
99
+ The intention of the agenda is not to approve or review all patches;
100
+ that should happen continuously on GitHub and be handled by the larger
101
+ group of Collaborators.
102
+
103
+ Any community member or contributor can ask that something be added to
104
+ the next meeting's agenda by logging a GitHub Issue. Any Collaborator,
105
+ WG member or the moderator can add the item to the agenda by adding
106
+ the ***WG-agenda*** tag to the issue.
107
+
108
+ Prior to each WG meeting the moderator will share the Agenda with
109
+ members of the WG. WG members can add any items they like to the
110
+ agenda at the beginning of each meeting. The moderator and the WG
111
+ cannot veto or remove items.
112
+
113
+ The WG may invite persons or representatives from certain projects to
114
+ participate in a non-voting capacity.
115
+
116
+ The moderator is responsible for summarizing the discussion of each
117
+ agenda item and sends it as a pull request after the meeting.
118
+
119
+ ### Consensus Seeking Process
120
+
121
+ The WG follows a
122
+ [Consensus
123
+ Seeking](http://en.wikipedia.org/wiki/Consensus-seeking_decision-making)
124
+ decision-making model.
125
+
126
+ When an agenda item has appeared to reach a consensus the moderator
127
+ will ask "Does anyone object?" as a final call for dissent from the
128
+ consensus.
129
+
130
+ If an agenda item cannot reach a consensus a WG member can call for
131
+ either a closing vote or a vote to table the issue to the next
132
+ meeting. The call for a vote must be seconded by a majority of the WG
133
+ or else the discussion will continue. Simple majority wins.
134
+
135
+ Note that changes to WG membership require a majority consensus. See
136
+ "WG Membership" above.