UrgentcareCLI 0.1.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/UrgentCare/CLI.rb +1 -2
- data/lib/UrgentCare/Scraper.rb +65 -0
- data/lib/UrgentCare/version.rb +2 -2
- data/lib/UrgentCare.rb +1 -0
- metadata +3 -313
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/.travis.yml +0 -5
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -12
- data/Gemfile.lock +0 -84
- data/LICENSE.txt +0 -21
- data/Notes +0 -41
- data/README.md +0 -41
- data/Rakefile +0 -8
- data/UrgentCare.gemspec +0 -39
- data/background.jpg +0 -0
- data/data.txt +0 -4
- data/lib/Urgentcare/Scraper.rb +0 -78
- data/node_modules/.bin/rimraf +0 -1
- data/node_modules/.package-lock.json +0 -250
- data/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- data/node_modules/balanced-match/LICENSE.md +0 -21
- data/node_modules/balanced-match/README.md +0 -97
- data/node_modules/balanced-match/index.js +0 -62
- data/node_modules/balanced-match/package.json +0 -48
- data/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/concat-map/.travis.yml +0 -4
- data/node_modules/concat-map/LICENSE +0 -18
- data/node_modules/concat-map/README.markdown +0 -62
- data/node_modules/concat-map/example/map.js +0 -6
- data/node_modules/concat-map/index.js +0 -13
- data/node_modules/concat-map/package.json +0 -43
- data/node_modules/concat-map/test/map.js +0 -39
- data/node_modules/core-util-is/LICENSE +0 -19
- data/node_modules/core-util-is/README.md +0 -3
- data/node_modules/core-util-is/float.patch +0 -604
- data/node_modules/core-util-is/lib/util.js +0 -107
- data/node_modules/core-util-is/package.json +0 -32
- data/node_modules/core-util-is/test.js +0 -68
- data/node_modules/fs.realpath/LICENSE +0 -43
- data/node_modules/fs.realpath/README.md +0 -33
- data/node_modules/fs.realpath/index.js +0 -66
- data/node_modules/fs.realpath/old.js +0 -303
- data/node_modules/fs.realpath/package.json +0 -26
- data/node_modules/glob/LICENSE +0 -21
- data/node_modules/glob/README.md +0 -375
- data/node_modules/glob/changelog.md +0 -67
- data/node_modules/glob/common.js +0 -234
- data/node_modules/glob/glob.js +0 -788
- data/node_modules/glob/package.json +0 -51
- data/node_modules/glob/sync.js +0 -484
- data/node_modules/immediate/LICENSE.txt +0 -20
- data/node_modules/immediate/README.md +0 -93
- data/node_modules/immediate/dist/immediate.js +0 -75
- data/node_modules/immediate/dist/immediate.min.js +0 -1
- data/node_modules/immediate/lib/browser.js +0 -69
- data/node_modules/immediate/lib/index.js +0 -73
- data/node_modules/immediate/package.json +0 -42
- data/node_modules/inflight/LICENSE +0 -15
- data/node_modules/inflight/README.md +0 -37
- data/node_modules/inflight/inflight.js +0 -54
- data/node_modules/inflight/package.json +0 -29
- data/node_modules/inherits/LICENSE +0 -16
- data/node_modules/inherits/README.md +0 -42
- data/node_modules/inherits/inherits.js +0 -9
- data/node_modules/inherits/inherits_browser.js +0 -27
- data/node_modules/inherits/package.json +0 -29
- data/node_modules/isarray/.npmignore +0 -1
- data/node_modules/isarray/.travis.yml +0 -4
- data/node_modules/isarray/Makefile +0 -6
- data/node_modules/isarray/README.md +0 -60
- data/node_modules/isarray/component.json +0 -19
- data/node_modules/isarray/index.js +0 -5
- data/node_modules/isarray/package.json +0 -45
- data/node_modules/isarray/test.js +0 -20
- data/node_modules/jszip/.codeclimate.yml +0 -16
- data/node_modules/jszip/.editorconfig +0 -8
- data/node_modules/jszip/.jshintignore +0 -1
- data/node_modules/jszip/.jshintrc +0 -21
- data/node_modules/jszip/.travis.yml +0 -17
- data/node_modules/jszip/CHANGES.md +0 -163
- data/node_modules/jszip/LICENSE.markdown +0 -651
- data/node_modules/jszip/README.markdown +0 -35
- data/node_modules/jszip/dist/jszip.js +0 -30
- data/node_modules/jszip/dist/jszip.min.js +0 -13
- data/node_modules/jszip/index.d.ts +0 -270
- data/node_modules/jszip/lib/base64.js +0 -106
- data/node_modules/jszip/lib/compressedObject.js +0 -74
- data/node_modules/jszip/lib/compressions.js +0 -14
- data/node_modules/jszip/lib/crc32.js +0 -77
- data/node_modules/jszip/lib/defaults.js +0 -11
- data/node_modules/jszip/lib/external.js +0 -19
- data/node_modules/jszip/lib/flate.js +0 -85
- data/node_modules/jszip/lib/generate/ZipFileWorker.js +0 -540
- data/node_modules/jszip/lib/generate/index.js +0 -57
- data/node_modules/jszip/lib/index.js +0 -52
- data/node_modules/jszip/lib/license_header.js +0 -11
- data/node_modules/jszip/lib/load.js +0 -81
- data/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +0 -74
- data/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +0 -42
- data/node_modules/jszip/lib/nodejsUtils.js +0 -57
- data/node_modules/jszip/lib/object.js +0 -389
- data/node_modules/jszip/lib/readable-stream-browser.js +0 -9
- data/node_modules/jszip/lib/reader/ArrayReader.js +0 -57
- data/node_modules/jszip/lib/reader/DataReader.js +0 -116
- data/node_modules/jszip/lib/reader/NodeBufferReader.js +0 -19
- data/node_modules/jszip/lib/reader/StringReader.js +0 -38
- data/node_modules/jszip/lib/reader/Uint8ArrayReader.js +0 -22
- data/node_modules/jszip/lib/reader/readerFor.js +0 -28
- data/node_modules/jszip/lib/signature.js +0 -7
- data/node_modules/jszip/lib/stream/ConvertWorker.js +0 -26
- data/node_modules/jszip/lib/stream/Crc32Probe.js +0 -24
- data/node_modules/jszip/lib/stream/DataLengthProbe.js +0 -29
- data/node_modules/jszip/lib/stream/DataWorker.js +0 -116
- data/node_modules/jszip/lib/stream/GenericWorker.js +0 -263
- data/node_modules/jszip/lib/stream/StreamHelper.js +0 -212
- data/node_modules/jszip/lib/support.js +0 -38
- data/node_modules/jszip/lib/utf8.js +0 -275
- data/node_modules/jszip/lib/utils.js +0 -476
- data/node_modules/jszip/lib/zipEntries.js +0 -262
- data/node_modules/jszip/lib/zipEntry.js +0 -294
- data/node_modules/jszip/lib/zipObject.js +0 -133
- data/node_modules/jszip/package.json +0 -63
- data/node_modules/jszip/vendor/FileSaver.js +0 -247
- data/node_modules/lie/README.md +0 -62
- data/node_modules/lie/dist/lie.js +0 -350
- data/node_modules/lie/dist/lie.min.js +0 -1
- data/node_modules/lie/dist/lie.polyfill.js +0 -358
- data/node_modules/lie/dist/lie.polyfill.min.js +0 -1
- data/node_modules/lie/lib/browser.js +0 -273
- data/node_modules/lie/lib/index.js +0 -298
- data/node_modules/lie/license.md +0 -7
- data/node_modules/lie/lie.d.ts +0 -244
- data/node_modules/lie/package.json +0 -69
- data/node_modules/lie/polyfill.js +0 -4
- data/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/minimatch/README.md +0 -209
- data/node_modules/minimatch/minimatch.js +0 -923
- data/node_modules/minimatch/package.json +0 -30
- data/node_modules/once/LICENSE +0 -15
- data/node_modules/once/README.md +0 -79
- data/node_modules/once/once.js +0 -42
- data/node_modules/once/package.json +0 -33
- data/node_modules/pako/CHANGELOG.md +0 -164
- data/node_modules/pako/LICENSE +0 -21
- data/node_modules/pako/README.md +0 -191
- data/node_modules/pako/dist/pako.js +0 -6818
- data/node_modules/pako/dist/pako.min.js +0 -1
- data/node_modules/pako/dist/pako_deflate.js +0 -3997
- data/node_modules/pako/dist/pako_deflate.min.js +0 -1
- data/node_modules/pako/dist/pako_inflate.js +0 -3300
- data/node_modules/pako/dist/pako_inflate.min.js +0 -1
- data/node_modules/pako/index.js +0 -14
- data/node_modules/pako/lib/deflate.js +0 -400
- data/node_modules/pako/lib/inflate.js +0 -423
- data/node_modules/pako/lib/utils/common.js +0 -105
- data/node_modules/pako/lib/utils/strings.js +0 -187
- data/node_modules/pako/lib/zlib/README +0 -59
- data/node_modules/pako/lib/zlib/adler32.js +0 -51
- data/node_modules/pako/lib/zlib/constants.js +0 -68
- data/node_modules/pako/lib/zlib/crc32.js +0 -59
- data/node_modules/pako/lib/zlib/deflate.js +0 -1874
- data/node_modules/pako/lib/zlib/gzheader.js +0 -58
- data/node_modules/pako/lib/zlib/inffast.js +0 -345
- data/node_modules/pako/lib/zlib/inflate.js +0 -1556
- data/node_modules/pako/lib/zlib/inftrees.js +0 -343
- data/node_modules/pako/lib/zlib/messages.js +0 -32
- data/node_modules/pako/lib/zlib/trees.js +0 -1222
- data/node_modules/pako/lib/zlib/zstream.js +0 -47
- data/node_modules/pako/package.json +0 -44
- data/node_modules/path-is-absolute/index.js +0 -20
- data/node_modules/path-is-absolute/license +0 -21
- data/node_modules/path-is-absolute/package.json +0 -43
- data/node_modules/path-is-absolute/readme.md +0 -59
- data/node_modules/process-nextick-args/index.js +0 -45
- data/node_modules/process-nextick-args/license.md +0 -19
- data/node_modules/process-nextick-args/package.json +0 -25
- data/node_modules/process-nextick-args/readme.md +0 -18
- data/node_modules/readable-stream/.travis.yml +0 -34
- data/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- data/node_modules/readable-stream/GOVERNANCE.md +0 -136
- data/node_modules/readable-stream/LICENSE +0 -47
- data/node_modules/readable-stream/README.md +0 -58
- data/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- data/node_modules/readable-stream/duplex-browser.js +0 -1
- data/node_modules/readable-stream/duplex.js +0 -1
- data/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- data/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- data/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- data/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- data/node_modules/readable-stream/lib/_stream_writable.js +0 -687
- data/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -79
- data/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -74
- data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- data/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- data/node_modules/readable-stream/package.json +0 -52
- data/node_modules/readable-stream/passthrough.js +0 -1
- data/node_modules/readable-stream/readable-browser.js +0 -7
- data/node_modules/readable-stream/readable.js +0 -19
- data/node_modules/readable-stream/transform.js +0 -1
- data/node_modules/readable-stream/writable-browser.js +0 -1
- data/node_modules/readable-stream/writable.js +0 -8
- data/node_modules/rimraf/LICENSE +0 -15
- data/node_modules/rimraf/README.md +0 -101
- data/node_modules/rimraf/bin.js +0 -50
- data/node_modules/rimraf/package.json +0 -29
- data/node_modules/rimraf/rimraf.js +0 -372
- data/node_modules/safe-buffer/LICENSE +0 -21
- data/node_modules/safe-buffer/README.md +0 -584
- data/node_modules/safe-buffer/index.d.ts +0 -187
- data/node_modules/safe-buffer/index.js +0 -62
- data/node_modules/safe-buffer/package.json +0 -37
- data/node_modules/selenium-webdriver/CHANGES.md +0 -1114
- data/node_modules/selenium-webdriver/LICENSE +0 -202
- data/node_modules/selenium-webdriver/NOTICE +0 -2
- data/node_modules/selenium-webdriver/README.md +0 -229
- data/node_modules/selenium-webdriver/chrome.js +0 -295
- data/node_modules/selenium-webdriver/chromium.js +0 -829
- data/node_modules/selenium-webdriver/devtools/CDPConnection.js +0 -35
- data/node_modules/selenium-webdriver/edge.js +0 -224
- data/node_modules/selenium-webdriver/example/chrome_android.js +0 -45
- data/node_modules/selenium-webdriver/example/chrome_mobile_emulation.js +0 -46
- data/node_modules/selenium-webdriver/example/firefox_channels.js +0 -84
- data/node_modules/selenium-webdriver/example/google_search.js +0 -50
- data/node_modules/selenium-webdriver/example/google_search_test.js +0 -70
- data/node_modules/selenium-webdriver/example/headless.js +0 -63
- data/node_modules/selenium-webdriver/example/logging.js +0 -64
- data/node_modules/selenium-webdriver/firefox.js +0 -789
- data/node_modules/selenium-webdriver/http/index.js +0 -324
- data/node_modules/selenium-webdriver/http/util.js +0 -172
- data/node_modules/selenium-webdriver/ie.js +0 -503
- data/node_modules/selenium-webdriver/index.js +0 -825
- data/node_modules/selenium-webdriver/io/exec.js +0 -162
- data/node_modules/selenium-webdriver/io/index.js +0 -348
- data/node_modules/selenium-webdriver/io/zip.js +0 -223
- data/node_modules/selenium-webdriver/lib/atoms/find-elements.js +0 -123
- data/node_modules/selenium-webdriver/lib/atoms/get-attribute.js +0 -101
- data/node_modules/selenium-webdriver/lib/atoms/is-displayed.js +0 -101
- data/node_modules/selenium-webdriver/lib/atoms/mutation-listener.js +0 -55
- data/node_modules/selenium-webdriver/lib/by.js +0 -415
- data/node_modules/selenium-webdriver/lib/capabilities.js +0 -553
- data/node_modules/selenium-webdriver/lib/command.js +0 -206
- data/node_modules/selenium-webdriver/lib/error.js +0 -605
- data/node_modules/selenium-webdriver/lib/http.js +0 -704
- data/node_modules/selenium-webdriver/lib/input.js +0 -946
- data/node_modules/selenium-webdriver/lib/logging.js +0 -661
- data/node_modules/selenium-webdriver/lib/promise.js +0 -285
- data/node_modules/selenium-webdriver/lib/proxy.js +0 -212
- data/node_modules/selenium-webdriver/lib/session.js +0 -77
- data/node_modules/selenium-webdriver/lib/symbols.js +0 -37
- data/node_modules/selenium-webdriver/lib/until.js +0 -429
- data/node_modules/selenium-webdriver/lib/webdriver.js +0 -2919
- data/node_modules/selenium-webdriver/net/index.js +0 -107
- data/node_modules/selenium-webdriver/net/portprober.js +0 -75
- data/node_modules/selenium-webdriver/opera.js +0 -406
- data/node_modules/selenium-webdriver/package.json +0 -54
- data/node_modules/selenium-webdriver/proxy.js +0 -32
- data/node_modules/selenium-webdriver/remote/index.js +0 -624
- data/node_modules/selenium-webdriver/safari.js +0 -168
- data/node_modules/selenium-webdriver/testing/index.js +0 -504
- data/node_modules/set-immediate-shim/index.js +0 -7
- data/node_modules/set-immediate-shim/package.json +0 -34
- data/node_modules/set-immediate-shim/readme.md +0 -31
- data/node_modules/string_decoder/.travis.yml +0 -50
- data/node_modules/string_decoder/LICENSE +0 -48
- data/node_modules/string_decoder/README.md +0 -47
- data/node_modules/string_decoder/lib/string_decoder.js +0 -296
- data/node_modules/string_decoder/package.json +0 -31
- data/node_modules/tmp/CHANGELOG.md +0 -288
- data/node_modules/tmp/LICENSE +0 -21
- data/node_modules/tmp/README.md +0 -365
- data/node_modules/tmp/lib/tmp.js +0 -780
- data/node_modules/tmp/node_modules/.bin/rimraf +0 -1
- data/node_modules/tmp/node_modules/rimraf/CHANGELOG.md +0 -65
- data/node_modules/tmp/node_modules/rimraf/LICENSE +0 -15
- data/node_modules/tmp/node_modules/rimraf/README.md +0 -101
- data/node_modules/tmp/node_modules/rimraf/bin.js +0 -68
- data/node_modules/tmp/node_modules/rimraf/package.json +0 -32
- data/node_modules/tmp/node_modules/rimraf/rimraf.js +0 -360
- data/node_modules/tmp/package.json +0 -58
- data/node_modules/util-deprecate/History.md +0 -16
- data/node_modules/util-deprecate/LICENSE +0 -24
- data/node_modules/util-deprecate/README.md +0 -53
- data/node_modules/util-deprecate/browser.js +0 -67
- data/node_modules/util-deprecate/node.js +0 -6
- data/node_modules/util-deprecate/package.json +0 -27
- data/node_modules/wrappy/LICENSE +0 -15
- data/node_modules/wrappy/README.md +0 -36
- data/node_modules/wrappy/package.json +0 -29
- data/node_modules/wrappy/wrappy.js +0 -33
- data/node_modules/ws/LICENSE +0 -21
- data/node_modules/ws/README.md +0 -496
- data/node_modules/ws/browser.js +0 -8
- data/node_modules/ws/index.js +0 -10
- data/node_modules/ws/lib/buffer-util.js +0 -129
- data/node_modules/ws/lib/constants.js +0 -10
- data/node_modules/ws/lib/event-target.js +0 -184
- data/node_modules/ws/lib/extension.js +0 -223
- data/node_modules/ws/lib/limiter.js +0 -55
- data/node_modules/ws/lib/permessage-deflate.js +0 -517
- data/node_modules/ws/lib/receiver.js +0 -507
- data/node_modules/ws/lib/sender.js +0 -405
- data/node_modules/ws/lib/stream.js +0 -165
- data/node_modules/ws/lib/validation.js +0 -104
- data/node_modules/ws/lib/websocket-server.js +0 -418
- data/node_modules/ws/lib/websocket.js +0 -942
- data/node_modules/ws/package.json +0 -56
- data/package-lock.json +0 -458
- data/package.json +0 -5
- data/selenium.log +0 -1
- data/spec.md +0 -6
- data/test.data +0 -2110
@@ -1,47 +0,0 @@
|
|
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;
|
@@ -1,44 +0,0 @@
|
|
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
|
-
}
|
@@ -1,20 +0,0 @@
|
|
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;
|
@@ -1,21 +0,0 @@
|
|
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.
|
@@ -1,43 +0,0 @@
|
|
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
|
-
}
|
@@ -1,59 +0,0 @@
|
|
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)
|
@@ -1,45 +0,0 @@
|
|
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
|
-
|
@@ -1,19 +0,0 @@
|
|
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.**
|
@@ -1,25 +0,0 @@
|
|
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
|
-
}
|
@@ -1,18 +0,0 @@
|
|
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
|
-
```
|
@@ -1,34 +0,0 @@
|
|
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=
|
@@ -1,38 +0,0 @@
|
|
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
|
@@ -1,136 +0,0 @@
|
|
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.
|