fsevents 1.0.15 → 1.1.1
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.
Potentially problematic release.
This version of fsevents might be problematic. Click here for more details.
- package/fsevents.js +3 -0
- package/install.js +7 -0
- package/lib/binding/Release/node-v48-darwin-x64/fse.node +0 -0
- package/node_modules/abbrev/abbrev.js +0 -1
- package/node_modules/abbrev/package.json +32 -21
- package/node_modules/ansi-regex/index.js +1 -1
- package/node_modules/ansi-regex/package.json +61 -42
- package/node_modules/ansi-regex/readme.md +10 -2
- package/node_modules/ansi-styles/package.json +27 -19
- package/node_modules/aproba/README.md +33 -3
- package/node_modules/aproba/index.js +71 -30
- package/node_modules/aproba/package.json +30 -22
- package/node_modules/are-we-there-yet/package.json +14 -6
- package/node_modules/asn1/package.json +16 -8
- package/node_modules/assert-plus/package.json +16 -8
- package/node_modules/{node-uuid/LICENSE.md → asynckit/LICENSE} +1 -1
- package/node_modules/asynckit/README.md +233 -0
- package/node_modules/asynckit/bench.js +76 -0
- package/node_modules/asynckit/index.js +6 -0
- package/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/asynckit/package.json +126 -0
- package/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/asynckit/serial.js +17 -0
- package/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/asynckit/stream.js +21 -0
- package/node_modules/aws-sign2/package.json +15 -7
- package/node_modules/aws4/README.md +9 -0
- package/node_modules/aws4/aws4.js +21 -7
- package/node_modules/aws4/package.json +62 -54
- package/node_modules/balanced-match/package.json +27 -19
- package/node_modules/bcrypt-pbkdf/README.md +39 -0
- package/node_modules/bcrypt-pbkdf/index.js +556 -0
- package/node_modules/bcrypt-pbkdf/package.json +84 -0
- package/node_modules/block-stream/package.json +15 -7
- package/node_modules/boom/package.json +14 -6
- package/node_modules/brace-expansion/index.js +10 -0
- package/node_modules/brace-expansion/package.json +35 -27
- package/node_modules/buffer-shims/package.json +16 -7
- package/node_modules/caseless/package.json +18 -10
- package/node_modules/chalk/package.json +30 -22
- package/node_modules/code-point-at/index.js +3 -4
- package/node_modules/code-point-at/package.json +40 -30
- package/node_modules/code-point-at/readme.md +2 -4
- package/node_modules/combined-stream/package.json +15 -7
- package/node_modules/commander/package.json +16 -8
- package/node_modules/concat-map/package.json +30 -22
- package/node_modules/console-control-strings/package.json +15 -7
- package/node_modules/core-util-is/package.json +22 -14
- package/node_modules/cryptiles/package.json +14 -6
- package/node_modules/dashdash/CHANGES.md +364 -0
- package/node_modules/dashdash/LICENSE.txt +24 -0
- package/node_modules/dashdash/etc/dashdash.bash_completion.in +4 -3
- package/node_modules/dashdash/node_modules/assert-plus/package.json +16 -8
- package/node_modules/dashdash/package.json +33 -24
- package/node_modules/debug/package.json +20 -12
- package/node_modules/deep-extend/package.json +23 -15
- package/node_modules/delayed-stream/package.json +15 -7
- package/node_modules/delegates/package.json +14 -6
- package/node_modules/ecc-jsbn/package.json +17 -9
- package/node_modules/escape-string-regexp/package.json +20 -12
- package/node_modules/extend/package.json +16 -8
- package/node_modules/extsprintf/package.json +14 -6
- package/node_modules/forever-agent/package.json +15 -7
- package/node_modules/form-data/README.md +7 -8
- package/node_modules/form-data/lib/browser.js +1 -1
- package/node_modules/form-data/lib/form_data.js +101 -72
- package/node_modules/form-data/lib/populate.js +6 -5
- package/node_modules/form-data/package.json +68 -52
- package/node_modules/fs.realpath/package.json +19 -11
- package/node_modules/fstream/package.json +15 -7
- package/node_modules/fstream-ignore/package.json +15 -7
- package/node_modules/gauge/CHANGELOG.md +24 -0
- package/node_modules/gauge/README.md +4 -0
- package/node_modules/gauge/index.js +16 -9
- package/node_modules/gauge/package.json +37 -29
- package/node_modules/generate-function/package.json +16 -8
- package/node_modules/generate-object-property/package.json +14 -6
- package/node_modules/getpass/node_modules/assert-plus/package.json +16 -8
- package/node_modules/getpass/package.json +16 -8
- package/node_modules/glob/README.md +3 -0
- package/node_modules/glob/common.js +6 -1
- package/node_modules/glob/glob.js +23 -14
- package/node_modules/glob/package.json +29 -21
- package/node_modules/glob/sync.js +29 -11
- package/node_modules/graceful-fs/README.md +1 -1
- package/node_modules/graceful-fs/graceful-fs.js +23 -14
- package/node_modules/graceful-fs/package.json +35 -27
- package/node_modules/graceful-fs/polyfills.js +99 -21
- package/node_modules/graceful-readlink/package.json +14 -6
- package/node_modules/har-validator/package.json +16 -8
- package/node_modules/has-ansi/package.json +29 -21
- package/node_modules/has-unicode/package.json +18 -10
- package/node_modules/hawk/package.json +18 -10
- package/node_modules/hoek/package.json +14 -6
- package/node_modules/http-signature/package.json +14 -6
- package/node_modules/inflight/inflight.js +22 -12
- package/node_modules/inflight/package.json +28 -20
- package/node_modules/inherits/inherits.js +7 -1
- package/node_modules/inherits/package.json +41 -21
- package/node_modules/ini/package.json +15 -7
- package/node_modules/is-fullwidth-code-point/package.json +27 -19
- package/node_modules/is-my-json-valid/index.js +10 -0
- package/node_modules/is-my-json-valid/package.json +36 -20
- package/node_modules/is-my-json-valid/test/misc.js +24 -0
- package/node_modules/is-property/package.json +19 -11
- package/node_modules/is-typedarray/package.json +16 -8
- package/node_modules/isarray/package.json +28 -20
- package/node_modules/isstream/package.json +19 -11
- package/node_modules/jodid25519/package.json +18 -10
- package/node_modules/jsbn/index.js +8 -9
- package/node_modules/jsbn/package.json +30 -18
- package/node_modules/json-schema/lib/links.js +17 -3
- package/node_modules/json-schema/lib/validate.js +18 -5
- package/node_modules/json-schema/package.json +32 -18
- package/node_modules/json-stringify-safe/package.json +18 -10
- package/node_modules/{async/LICENSE → jsonpointer/LICENSE.md} +3 -1
- package/node_modules/jsonpointer/README.md +17 -10
- package/node_modules/jsonpointer/jsonpointer.js +73 -56
- package/node_modules/jsonpointer/package.json +47 -26
- package/node_modules/jsprim/CHANGES.md +4 -0
- package/node_modules/jsprim/package.json +25 -17
- package/node_modules/mime-db/HISTORY.md +50 -0
- package/node_modules/mime-db/db.json +126 -2
- package/node_modules/mime-db/package.json +43 -30
- package/node_modules/mime-types/HISTORY.md +19 -0
- package/node_modules/mime-types/index.js +8 -8
- package/node_modules/mime-types/package.json +32 -19
- package/node_modules/minimatch/minimatch.js +19 -20
- package/node_modules/minimatch/package.json +25 -17
- package/node_modules/minimist/package.json +24 -16
- package/node_modules/mkdirp/package.json +21 -13
- package/node_modules/ms/package.json +14 -6
- package/node_modules/node-pre-gyp/CHANGELOG.md +20 -0
- package/node_modules/node-pre-gyp/README.md +574 -0
- package/node_modules/node-pre-gyp/appveyor.yml +19 -9
- package/node_modules/node-pre-gyp/lib/install.js +31 -7
- package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +3 -1
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +140 -0
- package/node_modules/node-pre-gyp/package.json +52 -48
- package/node_modules/nopt/package.json +19 -11
- package/node_modules/npmlog/CHANGELOG.md +9 -0
- package/node_modules/npmlog/README.md +7 -1
- package/node_modules/npmlog/log.js +12 -8
- package/node_modules/npmlog/package.json +30 -22
- package/node_modules/number-is-nan/package.json +39 -30
- package/node_modules/number-is-nan/readme.md +1 -3
- package/node_modules/oauth-sign/package.json +15 -7
- package/node_modules/object-assign/index.js +11 -4
- package/node_modules/object-assign/package.json +42 -30
- package/node_modules/object-assign/readme.md +8 -3
- package/node_modules/once/README.md +28 -0
- package/node_modules/once/once.js +21 -0
- package/node_modules/once/package.json +31 -20
- package/node_modules/path-is-absolute/index.js +5 -5
- package/node_modules/path-is-absolute/package.json +45 -31
- package/node_modules/path-is-absolute/readme.md +19 -11
- package/node_modules/pinkie/package.json +18 -10
- package/node_modules/pinkie-promise/package.json +18 -10
- package/node_modules/process-nextick-args/package.json +16 -8
- package/node_modules/punycode/LICENSE-MIT.txt +20 -0
- package/node_modules/punycode/README.md +176 -0
- package/node_modules/punycode/package.json +127 -0
- package/node_modules/punycode/punycode.js +533 -0
- package/node_modules/qs/.eslintrc +15 -15
- package/node_modules/qs/CHANGELOG.md +36 -0
- package/node_modules/qs/README.md +431 -0
- package/node_modules/qs/dist/qs.js +167 -67
- package/node_modules/qs/lib/formats.js +18 -0
- package/node_modules/qs/lib/index.js +6 -4
- package/node_modules/qs/lib/parse.js +31 -32
- package/node_modules/qs/lib/stringify.js +83 -20
- package/node_modules/qs/lib/utils.js +23 -7
- package/node_modules/qs/package.json +40 -30
- package/node_modules/qs/test/.eslintrc +10 -0
- package/node_modules/qs/test/index.js +2 -0
- package/node_modules/qs/test/parse.js +108 -47
- package/node_modules/qs/test/stringify.js +261 -28
- package/node_modules/qs/test/utils.js +13 -0
- package/node_modules/rc/node_modules/minimist/package.json +24 -16
- package/node_modules/rc/package.json +35 -23
- package/node_modules/readable-stream/.npmignore +1 -0
- package/node_modules/readable-stream/.travis.yml +2 -7
- package/node_modules/readable-stream/README.md +6 -2
- package/node_modules/readable-stream/lib/_stream_readable.js +158 -110
- package/node_modules/readable-stream/lib/_stream_transform.js +7 -5
- package/node_modules/readable-stream/lib/_stream_writable.js +35 -7
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
- package/node_modules/readable-stream/package.json +34 -26
- package/node_modules/request/CHANGELOG.md +49 -18
- package/node_modules/request/README.md +3 -2
- package/node_modules/request/index.js +2 -3
- package/node_modules/request/lib/auth.js +1 -1
- package/node_modules/request/lib/helpers.js +4 -13
- package/node_modules/request/lib/multipart.js +1 -1
- package/node_modules/request/lib/oauth.js +1 -1
- package/node_modules/request/lib/redirect.js +5 -1
- package/node_modules/request/package.json +50 -31
- package/node_modules/request/request.js +84 -43
- package/node_modules/rimraf/package.json +28 -20
- package/node_modules/rimraf/rimraf.js +2 -2
- package/node_modules/semver/README.md +4 -0
- package/node_modules/semver/package.json +27 -19
- package/node_modules/semver/semver.js +14 -5
- package/node_modules/set-blocking/package.json +21 -13
- package/node_modules/signal-exit/CHANGELOG.md +10 -0
- package/node_modules/signal-exit/LICENSE.txt +2 -0
- package/node_modules/signal-exit/index.js +9 -0
- package/node_modules/signal-exit/package.json +32 -24
- package/node_modules/signal-exit/signals.js +5 -4
- package/node_modules/sntp/package.json +16 -8
- package/node_modules/sshpk/README.md +214 -3
- package/node_modules/sshpk/bin/sshpk-conv +6 -0
- package/node_modules/sshpk/lib/certificate.js +291 -0
- package/node_modules/sshpk/lib/errors.js +14 -1
- package/node_modules/sshpk/lib/fingerprint.js +28 -7
- package/node_modules/sshpk/lib/formats/openssh-cert.js +289 -0
- package/node_modules/sshpk/lib/formats/pem.js +2 -2
- package/node_modules/sshpk/lib/formats/pkcs8.js +2 -7
- package/node_modules/sshpk/lib/formats/ssh-private.js +140 -17
- package/node_modules/sshpk/lib/formats/x509-pem.js +77 -0
- package/node_modules/sshpk/lib/formats/x509.js +484 -0
- package/node_modules/sshpk/lib/identity.js +277 -0
- package/node_modules/sshpk/lib/index.js +13 -1
- package/node_modules/sshpk/lib/key.js +1 -0
- package/node_modules/sshpk/lib/signature.js +14 -6
- package/node_modules/sshpk/lib/ssh-buffer.js +24 -0
- package/node_modules/sshpk/lib/utils.js +43 -1
- package/node_modules/sshpk/node_modules/assert-plus/package.json +16 -8
- package/node_modules/sshpk/package.json +32 -22
- package/node_modules/string-width/index.js +5 -0
- package/node_modules/string-width/package.json +49 -36
- package/node_modules/string-width/readme.md +4 -3
- package/node_modules/string_decoder/package.json +19 -11
- package/node_modules/stringstream/package.json +18 -10
- package/node_modules/strip-ansi/package.json +29 -21
- package/node_modules/strip-json-comments/index.js +70 -0
- package/node_modules/strip-json-comments/package.json +49 -43
- package/node_modules/strip-json-comments/readme.md +12 -28
- package/node_modules/supports-color/package.json +26 -18
- package/node_modules/tar/package.json +19 -11
- package/node_modules/tar-pack/README.md +4 -1
- package/node_modules/tar-pack/index.js +17 -12
- package/node_modules/tar-pack/node_modules/once/LICENSE +15 -0
- package/node_modules/tar-pack/node_modules/once/README.md +51 -0
- package/node_modules/tar-pack/node_modules/once/once.js +21 -0
- package/node_modules/tar-pack/node_modules/once/package.json +96 -0
- package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +8 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/.travis.yml +4 -7
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/LICENSE +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/README.md +2 -2
- package/node_modules/tar-pack/node_modules/readable-stream/doc/stream.md +2015 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/duplex.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_duplex.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_passthrough.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_readable.js +164 -107
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_transform.js +3 -3
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_writable.js +25 -15
- package/node_modules/tar-pack/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/package.json +50 -30
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/passthrough.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/readable.js +4 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/transform.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/writable.js +0 -0
- package/node_modules/tar-pack/package.json +39 -22
- package/node_modules/tar-pack/test/index.js +43 -1
- package/node_modules/tough-cookie/README.md +17 -3
- package/node_modules/tough-cookie/lib/cookie.js +6 -12
- package/node_modules/tough-cookie/package.json +50 -35
- package/node_modules/tunnel-agent/package.json +15 -7
- package/node_modules/tweetnacl/AUTHORS.md +28 -0
- package/node_modules/tweetnacl/CHANGELOG.md +93 -0
- package/node_modules/tweetnacl/LICENSE +24 -0
- package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +20 -0
- package/node_modules/tweetnacl/README.md +57 -61
- package/node_modules/tweetnacl/nacl-fast.js +22 -52
- package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
- package/node_modules/tweetnacl/nacl.d.ts +98 -0
- package/node_modules/tweetnacl/nacl.js +21 -51
- package/node_modules/tweetnacl/nacl.min.js +1 -1
- package/node_modules/tweetnacl/package.json +47 -46
- package/node_modules/uid-number/package.json +15 -7
- package/node_modules/util-deprecate/package.json +21 -13
- package/node_modules/uuid/.npmignore +8 -0
- package/node_modules/uuid/.travis.yml +5 -0
- package/node_modules/uuid/AUTHORS +5 -0
- package/node_modules/uuid/HISTORY.md +28 -0
- package/node_modules/uuid/LICENSE.md +21 -0
- package/node_modules/uuid/README.md +132 -0
- package/node_modules/{node-uuid → uuid}/bin/uuid +0 -0
- package/node_modules/uuid/index.js +8 -0
- package/node_modules/uuid/lib/bytesToUuid.js +23 -0
- package/node_modules/uuid/lib/rng-browser.js +33 -0
- package/node_modules/uuid/lib/rng.js +10 -0
- package/node_modules/uuid/package.json +122 -0
- package/node_modules/uuid/test/mocha.opts +3 -0
- package/node_modules/uuid/test/test.js +96 -0
- package/node_modules/uuid/v1.js +103 -0
- package/node_modules/uuid/v4.js +29 -0
- package/node_modules/verror/package.json +14 -6
- package/node_modules/wide-align/package.json +19 -11
- package/node_modules/wrappy/package.json +17 -8
- package/node_modules/xtend/package.json +29 -21
- package/package.json +2 -2
- package/node_modules/async/CHANGELOG.md +0 -125
- package/node_modules/async/README.md +0 -1877
- package/node_modules/async/dist/async.js +0 -1265
- package/node_modules/async/dist/async.min.js +0 -2
- package/node_modules/async/lib/async.js +0 -1265
- package/node_modules/async/package.json +0 -149
- package/node_modules/bl/.jshintrc +0 -59
- package/node_modules/bl/.npmignore +0 -1
- package/node_modules/bl/.travis.yml +0 -13
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -200
- package/node_modules/bl/bl.js +0 -243
- package/node_modules/bl/node_modules/readable-stream/.npmignore +0 -5
- package/node_modules/bl/node_modules/readable-stream/.zuul.yml +0 -1
- package/node_modules/bl/node_modules/readable-stream/doc/stream.markdown +0 -1760
- package/node_modules/bl/package.json +0 -96
- package/node_modules/bl/test/test.js +0 -640
- package/node_modules/form-data/.dockerignore +0 -7
- package/node_modules/form-data/.editorconfig +0 -10
- package/node_modules/form-data/.eslintignore +0 -1
- package/node_modules/form-data/.eslintrc +0 -64
- package/node_modules/form-data/wercker.yml +0 -36
- package/node_modules/gauge/CHANGELOG.md~ +0 -123
- package/node_modules/gauge/README.md~ +0 -393
- package/node_modules/has-color/index.js +0 -32
- package/node_modules/has-color/package.json +0 -97
- package/node_modules/has-color/readme.md +0 -30
- package/node_modules/inherits/test.js +0 -25
- package/node_modules/jsonpointer/.travis.yml +0 -10
- package/node_modules/jsonpointer/test.js +0 -98
- package/node_modules/node-uuid/.npmignore +0 -4
- package/node_modules/node-uuid/README.md +0 -254
- package/node_modules/node-uuid/benchmark/README.md +0 -53
- package/node_modules/node-uuid/benchmark/bench.gnu +0 -174
- package/node_modules/node-uuid/benchmark/bench.sh +0 -34
- package/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
- package/node_modules/node-uuid/benchmark/benchmark.js +0 -84
- package/node_modules/node-uuid/bower.json +0 -23
- package/node_modules/node-uuid/component.json +0 -25
- package/node_modules/node-uuid/package.json +0 -105
- package/node_modules/node-uuid/test/compare_v1.js +0 -63
- package/node_modules/node-uuid/test/test.html +0 -17
- package/node_modules/node-uuid/test/test.js +0 -231
- package/node_modules/node-uuid/uuid.js +0 -272
- package/node_modules/npmlog/CHANGELOG.md~ +0 -31
- package/node_modules/qs/.jscs.json +0 -176
- package/node_modules/qs/CONTRIBUTING.md +0 -1
- package/node_modules/readable-stream/doc/stream.md +0 -1772
- package/node_modules/request/.eslintrc +0 -45
- package/node_modules/request/.npmignore +0 -6
- package/node_modules/request/.travis.yml +0 -21
- package/node_modules/request/CONTRIBUTING.md +0 -81
- package/node_modules/request/codecov.yml +0 -2
- package/node_modules/strip-json-comments/cli.js +0 -41
- package/node_modules/strip-json-comments/strip-json-comments.js +0 -73
@@ -6,7 +6,6 @@ var http = require('http')
|
|
6
6
|
, util = require('util')
|
7
7
|
, stream = require('stream')
|
8
8
|
, zlib = require('zlib')
|
9
|
-
, bl = require('bl')
|
10
9
|
, hawk = require('hawk')
|
11
10
|
, aws2 = require('aws-sign2')
|
12
11
|
, aws4 = require('aws4')
|
@@ -736,6 +735,11 @@ Request.prototype.start = function () {
|
|
736
735
|
|
737
736
|
debug('make request', self.uri.href)
|
738
737
|
|
738
|
+
// node v6.8.0 now supports a `timeout` value in `http.request()`, but we
|
739
|
+
// should delete it for now since we handle timeouts manually for better
|
740
|
+
// consistency with node versions before v6.8.0
|
741
|
+
delete reqOptions.timeout
|
742
|
+
|
739
743
|
try {
|
740
744
|
self.req = self.httpModule.request(reqOptions)
|
741
745
|
} catch (err) {
|
@@ -747,32 +751,30 @@ Request.prototype.start = function () {
|
|
747
751
|
self.startTime = new Date().getTime()
|
748
752
|
}
|
749
753
|
|
754
|
+
var timeout
|
750
755
|
if (self.timeout && !self.timeoutTimer) {
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
var connectTimeout = self.req.socket && self.req.socket.readable === false
|
758
|
-
self.abort()
|
759
|
-
var e = new Error('ETIMEDOUT')
|
760
|
-
e.code = 'ETIMEDOUT'
|
761
|
-
e.connect = connectTimeout
|
762
|
-
self.emit('error', e)
|
763
|
-
}, timeout)
|
756
|
+
if (self.timeout < 0) {
|
757
|
+
timeout = 0
|
758
|
+
} else if (typeof self.timeout === 'number' && isFinite(self.timeout)) {
|
759
|
+
timeout = self.timeout
|
760
|
+
}
|
761
|
+
}
|
764
762
|
|
765
|
-
|
766
|
-
|
763
|
+
self.req.on('response', self.onRequestResponse.bind(self))
|
764
|
+
self.req.on('error', self.onRequestError.bind(self))
|
765
|
+
self.req.on('drain', function() {
|
766
|
+
self.emit('drain')
|
767
|
+
})
|
768
|
+
self.req.on('socket', function(socket) {
|
769
|
+
var setReqTimeout = function() {
|
767
770
|
// This timeout sets the amount of time to wait *between* bytes sent
|
768
|
-
// from the server
|
769
|
-
// elapsed from the start of the request.
|
771
|
+
// from the server once connected.
|
770
772
|
//
|
771
773
|
// In particular, it's useful for erroring if the server fails to send
|
772
774
|
// data halfway through streaming a response.
|
773
775
|
self.req.setTimeout(timeout, function () {
|
774
776
|
if (self.req) {
|
775
|
-
self.
|
777
|
+
self.abort()
|
776
778
|
var e = new Error('ESOCKETTIMEDOUT')
|
777
779
|
e.code = 'ESOCKETTIMEDOUT'
|
778
780
|
e.connect = false
|
@@ -780,14 +782,44 @@ Request.prototype.start = function () {
|
|
780
782
|
}
|
781
783
|
})
|
782
784
|
}
|
783
|
-
|
785
|
+
// `._connecting` was the old property which was made public in node v6.1.0
|
786
|
+
var isConnecting = socket._connecting || socket.connecting
|
787
|
+
if (timeout !== undefined) {
|
788
|
+
// Only start the connection timer if we're actually connecting a new
|
789
|
+
// socket, otherwise if we're already connected (because this is a
|
790
|
+
// keep-alive connection) do not bother. This is important since we won't
|
791
|
+
// get a 'connect' event for an already connected socket.
|
792
|
+
if (isConnecting) {
|
793
|
+
var onReqSockConnect = function() {
|
794
|
+
socket.removeListener('connect', onReqSockConnect)
|
795
|
+
clearTimeout(self.timeoutTimer)
|
796
|
+
self.timeoutTimer = null
|
797
|
+
setReqTimeout()
|
798
|
+
}
|
784
799
|
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
800
|
+
socket.on('connect', onReqSockConnect)
|
801
|
+
|
802
|
+
self.req.on('error', function(err) {
|
803
|
+
socket.removeListener('connect', onReqSockConnect)
|
804
|
+
})
|
805
|
+
|
806
|
+
// Set a timeout in memory - this block will throw if the server takes more
|
807
|
+
// than `timeout` to write the HTTP status and headers (corresponding to
|
808
|
+
// the on('response') event on the client). NB: this measures wall-clock
|
809
|
+
// time, not the time between bytes sent by the server.
|
810
|
+
self.timeoutTimer = setTimeout(function () {
|
811
|
+
socket.removeListener('connect', onReqSockConnect)
|
812
|
+
self.abort()
|
813
|
+
var e = new Error('ETIMEDOUT')
|
814
|
+
e.code = 'ETIMEDOUT'
|
815
|
+
e.connect = true
|
816
|
+
self.emit('error', e)
|
817
|
+
}, timeout)
|
818
|
+
} else {
|
819
|
+
// We're already connected
|
820
|
+
setReqTimeout()
|
821
|
+
}
|
822
|
+
}
|
791
823
|
self.emit('socket', socket)
|
792
824
|
})
|
793
825
|
|
@@ -893,7 +925,7 @@ Request.prototype.onRequestResponse = function (response) {
|
|
893
925
|
}
|
894
926
|
})
|
895
927
|
|
896
|
-
response.
|
928
|
+
response.once('end', function () {
|
897
929
|
self._ended = true
|
898
930
|
})
|
899
931
|
|
@@ -958,10 +990,14 @@ Request.prototype.onRequestResponse = function (response) {
|
|
958
990
|
})
|
959
991
|
|
960
992
|
responseContent.on('data', function (chunk) {
|
993
|
+
if (self.timing && !self.responseStarted) {
|
994
|
+
self.responseStartTime = (new Date()).getTime()
|
995
|
+
response.responseStartTime = self.responseStartTime
|
996
|
+
}
|
961
997
|
self._destdata = true
|
962
998
|
self.emit('data', chunk)
|
963
999
|
})
|
964
|
-
responseContent.
|
1000
|
+
responseContent.once('end', function (chunk) {
|
965
1001
|
self.emit('end', chunk)
|
966
1002
|
})
|
967
1003
|
responseContent.on('error', function (error) {
|
@@ -989,14 +1025,16 @@ Request.prototype.onRequestResponse = function (response) {
|
|
989
1025
|
Request.prototype.readResponseBody = function (response) {
|
990
1026
|
var self = this
|
991
1027
|
debug('reading response\'s body')
|
992
|
-
var
|
1028
|
+
var buffers = []
|
1029
|
+
, bufferLength = 0
|
993
1030
|
, strings = []
|
994
1031
|
|
995
1032
|
self.on('data', function (chunk) {
|
996
|
-
if (Buffer.isBuffer(chunk)) {
|
997
|
-
buffer.append(chunk)
|
998
|
-
} else {
|
1033
|
+
if (!Buffer.isBuffer(chunk)) {
|
999
1034
|
strings.push(chunk)
|
1035
|
+
} else if (chunk.length) {
|
1036
|
+
bufferLength += chunk.length
|
1037
|
+
buffers.push(chunk)
|
1000
1038
|
}
|
1001
1039
|
})
|
1002
1040
|
self.on('end', function () {
|
@@ -1005,22 +1043,21 @@ Request.prototype.readResponseBody = function (response) {
|
|
1005
1043
|
debug('aborted', self.uri.href)
|
1006
1044
|
// `buffer` is defined in the parent scope and used in a closure it exists for the life of the request.
|
1007
1045
|
// This can lead to leaky behavior if the user retains a reference to the request object.
|
1008
|
-
|
1046
|
+
buffers = []
|
1047
|
+
bufferLength = 0
|
1009
1048
|
return
|
1010
1049
|
}
|
1011
1050
|
|
1012
|
-
if (
|
1013
|
-
debug('has body', self.uri.href,
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
response.body = buffer.slice()
|
1018
|
-
} else {
|
1019
|
-
response.body = buffer.toString(self.encoding)
|
1051
|
+
if (bufferLength) {
|
1052
|
+
debug('has body', self.uri.href, bufferLength)
|
1053
|
+
response.body = Buffer.concat(buffers, bufferLength)
|
1054
|
+
if (self.encoding !== null) {
|
1055
|
+
response.body = response.body.toString(self.encoding)
|
1020
1056
|
}
|
1021
1057
|
// `buffer` is defined in the parent scope and used in a closure it exists for the life of the Request.
|
1022
1058
|
// This can lead to leaky behavior if the user retains a reference to the request object.
|
1023
|
-
|
1059
|
+
buffers = []
|
1060
|
+
bufferLength = 0
|
1024
1061
|
} else if (strings.length) {
|
1025
1062
|
// The UTF8 BOM [0xEF,0xBB,0xBF] is converted to [0xFE,0xFF] in the JS UTC16/UCS2 representation.
|
1026
1063
|
// Strip this value out when the encoding is set to 'utf8', as upstream consumers won't expect it and it breaks JSON.parse().
|
@@ -1255,10 +1292,14 @@ Request.prototype.aws = function (opts, now) {
|
|
1255
1292
|
}
|
1256
1293
|
var signRes = aws4.sign(options, {
|
1257
1294
|
accessKeyId: opts.key,
|
1258
|
-
secretAccessKey: opts.secret
|
1295
|
+
secretAccessKey: opts.secret,
|
1296
|
+
sessionToken: opts.session
|
1259
1297
|
})
|
1260
1298
|
self.setHeader('authorization', signRes.headers.Authorization)
|
1261
1299
|
self.setHeader('x-amz-date', signRes.headers['X-Amz-Date'])
|
1300
|
+
if (signRes.headers['X-Amz-Security-Token']) {
|
1301
|
+
self.setHeader('x-amz-security-token', signRes.headers['X-Amz-Security-Token'])
|
1302
|
+
}
|
1262
1303
|
}
|
1263
1304
|
else {
|
1264
1305
|
// default: use aws-sign2
|
@@ -1,32 +1,40 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "rimraf@~2.5.4",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "rimraf",
|
8
|
+
"name": "rimraf",
|
9
|
+
"rawSpec": "~2.5.4",
|
10
|
+
"spec": ">=2.5.4 <2.6.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp"
|
6
14
|
]
|
7
15
|
],
|
8
|
-
"_from": "rimraf@>=2.5.
|
9
|
-
"_id": "rimraf@2.5.
|
16
|
+
"_from": "rimraf@>=2.5.4 <2.6.0",
|
17
|
+
"_id": "rimraf@2.5.4",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/rimraf",
|
13
20
|
"_nodeVersion": "4.4.4",
|
14
21
|
"_npmOperationalInternal": {
|
15
22
|
"host": "packages-16-east.internal.npmjs.com",
|
16
|
-
"tmp": "tmp/rimraf-2.5.
|
23
|
+
"tmp": "tmp/rimraf-2.5.4.tgz_1469206941888_0.8645927573088557"
|
17
24
|
},
|
18
25
|
"_npmUser": {
|
19
|
-
"
|
20
|
-
"
|
26
|
+
"name": "isaacs",
|
27
|
+
"email": "i@izs.me"
|
21
28
|
},
|
22
|
-
"_npmVersion": "3.10.
|
29
|
+
"_npmVersion": "3.10.6",
|
23
30
|
"_phantomChildren": {},
|
24
31
|
"_requested": {
|
25
|
-
"
|
26
|
-
"raw": "rimraf@~2.5.0",
|
27
|
-
"rawSpec": "~2.5.0",
|
32
|
+
"raw": "rimraf@~2.5.4",
|
28
33
|
"scope": null,
|
29
|
-
"
|
34
|
+
"escapedName": "rimraf",
|
35
|
+
"name": "rimraf",
|
36
|
+
"rawSpec": "~2.5.4",
|
37
|
+
"spec": ">=2.5.4 <2.6.0",
|
30
38
|
"type": "range"
|
31
39
|
},
|
32
40
|
"_requiredBy": [
|
@@ -34,14 +42,14 @@
|
|
34
42
|
"/node-pre-gyp",
|
35
43
|
"/tar-pack"
|
36
44
|
],
|
37
|
-
"_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.5.
|
38
|
-
"_shasum": "
|
45
|
+
"_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.5.4.tgz",
|
46
|
+
"_shasum": "96800093cbf1a0c86bd95b4625467535c29dfa04",
|
39
47
|
"_shrinkwrap": null,
|
40
|
-
"_spec": "rimraf@~2.5.
|
48
|
+
"_spec": "rimraf@~2.5.4",
|
41
49
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp",
|
42
50
|
"author": {
|
43
|
-
"email": "i@izs.me",
|
44
51
|
"name": "Isaac Z. Schlueter",
|
52
|
+
"email": "i@izs.me",
|
45
53
|
"url": "http://blog.izs.me/"
|
46
54
|
},
|
47
55
|
"bin": {
|
@@ -60,8 +68,8 @@
|
|
60
68
|
},
|
61
69
|
"directories": {},
|
62
70
|
"dist": {
|
63
|
-
"shasum": "
|
64
|
-
"tarball": "https://registry.npmjs.org/rimraf/-/rimraf-2.5.
|
71
|
+
"shasum": "96800093cbf1a0c86bd95b4625467535c29dfa04",
|
72
|
+
"tarball": "https://registry.npmjs.org/rimraf/-/rimraf-2.5.4.tgz"
|
65
73
|
},
|
66
74
|
"files": [
|
67
75
|
"LICENSE",
|
@@ -69,7 +77,7 @@
|
|
69
77
|
"bin.js",
|
70
78
|
"rimraf.js"
|
71
79
|
],
|
72
|
-
"gitHead": "
|
80
|
+
"gitHead": "2af08bbbd0a03549b278414309dc5d8097699443",
|
73
81
|
"homepage": "https://github.com/isaacs/rimraf#readme",
|
74
82
|
"license": "ISC",
|
75
83
|
"main": "rimraf.js",
|
@@ -89,5 +97,5 @@
|
|
89
97
|
"scripts": {
|
90
98
|
"test": "tap test/*.js"
|
91
99
|
},
|
92
|
-
"version": "2.5.
|
100
|
+
"version": "2.5.4"
|
93
101
|
}
|
@@ -48,9 +48,9 @@ function rimraf (p, options, cb) {
|
|
48
48
|
|
49
49
|
assert(p, 'rimraf: missing path')
|
50
50
|
assert.equal(typeof p, 'string', 'rimraf: path should be a string')
|
51
|
-
assert(options, 'rimraf: missing options')
|
52
|
-
assert.equal(typeof options, 'object', 'rimraf: options should be object')
|
53
51
|
assert.equal(typeof cb, 'function', 'rimraf: callback function required')
|
52
|
+
assert(options, 'rimraf: invalid options argument provided')
|
53
|
+
assert.equal(typeof options, 'object', 'rimraf: options should be object')
|
54
54
|
|
55
55
|
defaults(options)
|
56
56
|
|
@@ -4,6 +4,8 @@ semver(1) -- The semantic versioner for npm
|
|
4
4
|
## Usage
|
5
5
|
|
6
6
|
$ npm install semver
|
7
|
+
$ node
|
8
|
+
var semver = require('semver')
|
7
9
|
|
8
10
|
semver.valid('1.2.3') // '1.2.3'
|
9
11
|
semver.valid('a.b.c') // null
|
@@ -325,6 +327,8 @@ strings that they parse.
|
|
325
327
|
range.
|
326
328
|
* `maxSatisfying(versions, range)`: Return the highest version in the list
|
327
329
|
that satisfies the range, or `null` if none of them do.
|
330
|
+
* `minSatisfying(versions, range)`: Return the lowest version in the list
|
331
|
+
that satisfies the range, or `null` if none of them do.
|
328
332
|
* `gtr(version, range)`: Return `true` if version is greater than all the
|
329
333
|
versions possible in the range.
|
330
334
|
* `ltr(version, range)`: Return `true` if version is less than all the
|
@@ -1,41 +1,49 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "semver@~5.3.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "semver",
|
8
|
+
"name": "semver",
|
9
|
+
"rawSpec": "~5.3.0",
|
10
|
+
"spec": ">=5.3.0 <5.4.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp"
|
6
14
|
]
|
7
15
|
],
|
8
|
-
"_from": "semver@>=5.
|
9
|
-
"_id": "semver@5.
|
16
|
+
"_from": "semver@>=5.3.0 <5.4.0",
|
17
|
+
"_id": "semver@5.3.0",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/semver",
|
13
20
|
"_nodeVersion": "4.4.4",
|
14
21
|
"_npmOperationalInternal": {
|
15
22
|
"host": "packages-12-west.internal.npmjs.com",
|
16
|
-
"tmp": "tmp/semver-5.
|
23
|
+
"tmp": "tmp/semver-5.3.0.tgz_1468515166602_0.9155273644719273"
|
17
24
|
},
|
18
25
|
"_npmUser": {
|
19
|
-
"
|
20
|
-
"
|
26
|
+
"name": "isaacs",
|
27
|
+
"email": "i@izs.me"
|
21
28
|
},
|
22
|
-
"_npmVersion": "3.10.
|
29
|
+
"_npmVersion": "3.10.6",
|
23
30
|
"_phantomChildren": {},
|
24
31
|
"_requested": {
|
25
|
-
"
|
26
|
-
"raw": "semver@~5.2.0",
|
27
|
-
"rawSpec": "~5.2.0",
|
32
|
+
"raw": "semver@~5.3.0",
|
28
33
|
"scope": null,
|
29
|
-
"
|
34
|
+
"escapedName": "semver",
|
35
|
+
"name": "semver",
|
36
|
+
"rawSpec": "~5.3.0",
|
37
|
+
"spec": ">=5.3.0 <5.4.0",
|
30
38
|
"type": "range"
|
31
39
|
},
|
32
40
|
"_requiredBy": [
|
33
41
|
"/node-pre-gyp"
|
34
42
|
],
|
35
|
-
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.
|
36
|
-
"_shasum": "
|
43
|
+
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
|
44
|
+
"_shasum": "9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f",
|
37
45
|
"_shrinkwrap": null,
|
38
|
-
"_spec": "semver@~5.
|
46
|
+
"_spec": "semver@~5.3.0",
|
39
47
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp",
|
40
48
|
"bin": {
|
41
49
|
"semver": "./bin/semver"
|
@@ -50,15 +58,15 @@
|
|
50
58
|
},
|
51
59
|
"directories": {},
|
52
60
|
"dist": {
|
53
|
-
"shasum": "
|
54
|
-
"tarball": "https://registry.npmjs.org/semver/-/semver-5.
|
61
|
+
"shasum": "9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f",
|
62
|
+
"tarball": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz"
|
55
63
|
},
|
56
64
|
"files": [
|
57
65
|
"bin",
|
58
66
|
"range.bnf",
|
59
67
|
"semver.js"
|
60
68
|
],
|
61
|
-
"gitHead": "
|
69
|
+
"gitHead": "d21444a0658224b152ce54965d02dbe0856afb84",
|
62
70
|
"homepage": "https://github.com/npm/node-semver#readme",
|
63
71
|
"license": "ISC",
|
64
72
|
"main": "semver.js",
|
@@ -82,5 +90,5 @@
|
|
82
90
|
"scripts": {
|
83
91
|
"test": "tap test/*.js"
|
84
92
|
},
|
85
|
-
"version": "5.
|
93
|
+
"version": "5.3.0"
|
86
94
|
}
|
@@ -314,9 +314,9 @@ function SemVer(version, loose) {
|
|
314
314
|
else
|
315
315
|
this.prerelease = m[4].split('.').map(function(id) {
|
316
316
|
if (/^[0-9]+$/.test(id)) {
|
317
|
-
var num = +id
|
317
|
+
var num = +id;
|
318
318
|
if (num >= 0 && num < MAX_SAFE_INTEGER)
|
319
|
-
return num
|
319
|
+
return num;
|
320
320
|
}
|
321
321
|
return id;
|
322
322
|
});
|
@@ -966,11 +966,11 @@ function replaceXRange(comp, loose) {
|
|
966
966
|
} else if (gtlt === '<=') {
|
967
967
|
// <=0.7.x is actually <0.8.0, since any 0.7.x should
|
968
968
|
// pass. Similarly, <=7.x is actually <8.0.0, etc.
|
969
|
-
gtlt = '<'
|
969
|
+
gtlt = '<';
|
970
970
|
if (xm)
|
971
|
-
M = +M + 1
|
971
|
+
M = +M + 1;
|
972
972
|
else
|
973
|
-
m = +m + 1
|
973
|
+
m = +m + 1;
|
974
974
|
}
|
975
975
|
|
976
976
|
ret = gtlt + M + '.' + m + '.' + p;
|
@@ -1094,6 +1094,15 @@ function maxSatisfying(versions, range, loose) {
|
|
1094
1094
|
})[0] || null;
|
1095
1095
|
}
|
1096
1096
|
|
1097
|
+
exports.minSatisfying = minSatisfying;
|
1098
|
+
function minSatisfying(versions, range, loose) {
|
1099
|
+
return versions.filter(function(version) {
|
1100
|
+
return satisfies(version, range, loose);
|
1101
|
+
}).sort(function(a, b) {
|
1102
|
+
return compare(a, b, loose);
|
1103
|
+
})[0] || null;
|
1104
|
+
}
|
1105
|
+
|
1097
1106
|
exports.validRange = validRange;
|
1098
1107
|
function validRange(range, loose) {
|
1099
1108
|
try {
|
@@ -1,14 +1,21 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "set-blocking@~2.0.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "set-blocking",
|
8
|
+
"name": "set-blocking",
|
9
|
+
"rawSpec": "~2.0.0",
|
10
|
+
"spec": ">=2.0.0 <2.1.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/npmlog"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "set-blocking@>=2.0.0 <2.1.0",
|
9
17
|
"_id": "set-blocking@2.0.0",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/set-blocking",
|
13
20
|
"_nodeVersion": "0.12.7",
|
14
21
|
"_npmOperationalInternal": {
|
@@ -16,16 +23,17 @@
|
|
16
23
|
"tmp": "tmp/set-blocking-2.0.0.tgz_1463525966987_0.5456729622092098"
|
17
24
|
},
|
18
25
|
"_npmUser": {
|
19
|
-
"
|
20
|
-
"
|
26
|
+
"name": "bcoe",
|
27
|
+
"email": "ben@npmjs.com"
|
21
28
|
},
|
22
29
|
"_npmVersion": "2.11.3",
|
23
30
|
"_phantomChildren": {},
|
24
31
|
"_requested": {
|
25
|
-
"name": "set-blocking",
|
26
32
|
"raw": "set-blocking@~2.0.0",
|
27
|
-
"rawSpec": "~2.0.0",
|
28
33
|
"scope": null,
|
34
|
+
"escapedName": "set-blocking",
|
35
|
+
"name": "set-blocking",
|
36
|
+
"rawSpec": "~2.0.0",
|
29
37
|
"spec": ">=2.0.0 <2.1.0",
|
30
38
|
"type": "range"
|
31
39
|
},
|
@@ -38,8 +46,8 @@
|
|
38
46
|
"_spec": "set-blocking@~2.0.0",
|
39
47
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/npmlog",
|
40
48
|
"author": {
|
41
|
-
"
|
42
|
-
"
|
49
|
+
"name": "Ben Coe",
|
50
|
+
"email": "ben@npmjs.com"
|
43
51
|
},
|
44
52
|
"bugs": {
|
45
53
|
"url": "https://github.com/yargs/set-blocking/issues"
|
@@ -60,18 +68,18 @@
|
|
60
68
|
"tarball": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz"
|
61
69
|
},
|
62
70
|
"files": [
|
63
|
-
"
|
64
|
-
"
|
71
|
+
"index.js",
|
72
|
+
"LICENSE.txt"
|
65
73
|
],
|
66
74
|
"gitHead": "7eec10577b5fff264de477ba3b9d07f404946eff",
|
67
75
|
"homepage": "https://github.com/yargs/set-blocking#readme",
|
68
76
|
"keywords": [
|
69
|
-
"blocking",
|
70
77
|
"flush",
|
78
|
+
"terminal",
|
79
|
+
"blocking",
|
71
80
|
"shim",
|
72
|
-
"stderr",
|
73
81
|
"stdio",
|
74
|
-
"
|
82
|
+
"stderr"
|
75
83
|
],
|
76
84
|
"license": "ISC",
|
77
85
|
"main": "index.js",
|
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4
4
|
|
5
|
+
<a name="3.0.1"></a>
|
6
|
+
## [3.0.1](https://github.com/tapjs/signal-exit/compare/v3.0.0...v3.0.1) (2016-09-08)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* do not listen on SIGBUS, SIGFPE, SIGSEGV and SIGILL ([#40](https://github.com/tapjs/signal-exit/issues/40)) ([5b105fb](https://github.com/tapjs/signal-exit/commit/5b105fb))
|
12
|
+
|
13
|
+
|
14
|
+
|
5
15
|
<a name="3.0.0"></a>
|
6
16
|
# [3.0.0](https://github.com/tapjs/signal-exit/compare/v2.1.2...v3.0.0) (2016-06-13)
|
7
17
|
|
@@ -19,6 +19,15 @@ if (process.__signal_exit_emitter__) {
|
|
19
19
|
emitter.emitted = {}
|
20
20
|
}
|
21
21
|
|
22
|
+
// Because this emitter is a global, we have to check to see if a
|
23
|
+
// previous version of this library failed to enable infinite listeners.
|
24
|
+
// I know what you're about to say. But literally everything about
|
25
|
+
// signal-exit is a compromise with evil. Get used to it.
|
26
|
+
if (!emitter.infinite) {
|
27
|
+
emitter.setMaxListeners(Infinity)
|
28
|
+
emitter.infinite = true
|
29
|
+
}
|
30
|
+
|
22
31
|
module.exports = function (cb, opts) {
|
23
32
|
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
|
24
33
|
|