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
@@ -11,34 +11,23 @@ This is now possible:
|
|
11
11
|
}
|
12
12
|
```
|
13
13
|
|
14
|
-
It will
|
14
|
+
It will replace single-line comments `//` and multi-line comments `/**/` with whitespace. This allows JSON error positions to remain as close as possible to the original source.
|
15
15
|
|
16
16
|
Also available as a [gulp](https://github.com/sindresorhus/gulp-strip-json-comments)/[grunt](https://github.com/sindresorhus/grunt-strip-json-comments)/[broccoli](https://github.com/sindresorhus/broccoli-strip-json-comments) plugin.
|
17
17
|
|
18
|
-
-
|
19
|
-
|
20
|
-
*There's also [`json-comments`](https://npmjs.org/package/json-comments), but it's only for Node.js, inefficient, bloated as it also minifies, and comes with a `require` hook, which is :(*
|
21
|
-
|
22
18
|
|
23
19
|
## Install
|
24
20
|
|
25
|
-
```sh
|
26
|
-
$ npm install --save strip-json-comments
|
27
|
-
```
|
28
|
-
|
29
|
-
```sh
|
30
|
-
$ bower install --save strip-json-comments
|
31
21
|
```
|
32
|
-
|
33
|
-
```sh
|
34
|
-
$ component install sindresorhus/strip-json-comments
|
22
|
+
$ npm install --save strip-json-comments
|
35
23
|
```
|
36
24
|
|
37
25
|
|
38
26
|
## Usage
|
39
27
|
|
40
28
|
```js
|
41
|
-
|
29
|
+
const json = '{/*rainbows*/"unicorn":"cake"}';
|
30
|
+
|
42
31
|
JSON.parse(stripJsonComments(json));
|
43
32
|
//=> {unicorn: 'cake'}
|
44
33
|
```
|
@@ -46,7 +35,7 @@ JSON.parse(stripJsonComments(json));
|
|
46
35
|
|
47
36
|
## API
|
48
37
|
|
49
|
-
### stripJsonComments(input)
|
38
|
+
### stripJsonComments(input, [options])
|
50
39
|
|
51
40
|
#### input
|
52
41
|
|
@@ -54,25 +43,20 @@ Type: `string`
|
|
54
43
|
|
55
44
|
Accepts a string with JSON and returns a string without comments.
|
56
45
|
|
46
|
+
#### options
|
57
47
|
|
58
|
-
|
48
|
+
##### whitespace
|
59
49
|
|
60
|
-
|
61
|
-
|
62
|
-
```
|
50
|
+
Type: `boolean`
|
51
|
+
Default: `true`
|
63
52
|
|
64
|
-
|
65
|
-
$ strip-json-comments --help
|
66
|
-
|
67
|
-
strip-json-comments input-file > output-file
|
68
|
-
# or
|
69
|
-
strip-json-comments < input-file > output-file
|
70
|
-
```
|
53
|
+
Replace comments with whitespace instead of stripping them entirely.
|
71
54
|
|
72
55
|
|
73
56
|
## Related
|
74
57
|
|
75
|
-
- [
|
58
|
+
- [strip-json-comments-cli](https://github.com/sindresorhus/strip-json-comments-cli) - CLI for this module
|
59
|
+
- [strip-css-comments](https://github.com/sindresorhus/strip-css-comments) - Strip comments from CSS
|
76
60
|
|
77
61
|
|
78
62
|
## License
|
@@ -1,27 +1,35 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "supports-color@^2.0.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "supports-color",
|
8
|
+
"name": "supports-color",
|
9
|
+
"rawSpec": "^2.0.0",
|
10
|
+
"spec": ">=2.0.0 <3.0.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/chalk"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "supports-color@>=2.0.0 <3.0.0",
|
9
17
|
"_id": "supports-color@2.0.0",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/supports-color",
|
13
20
|
"_nodeVersion": "0.12.5",
|
14
21
|
"_npmUser": {
|
15
|
-
"
|
16
|
-
"
|
22
|
+
"name": "sindresorhus",
|
23
|
+
"email": "sindresorhus@gmail.com"
|
17
24
|
},
|
18
25
|
"_npmVersion": "2.11.2",
|
19
26
|
"_phantomChildren": {},
|
20
27
|
"_requested": {
|
21
|
-
"name": "supports-color",
|
22
28
|
"raw": "supports-color@^2.0.0",
|
23
|
-
"rawSpec": "^2.0.0",
|
24
29
|
"scope": null,
|
30
|
+
"escapedName": "supports-color",
|
31
|
+
"name": "supports-color",
|
32
|
+
"rawSpec": "^2.0.0",
|
25
33
|
"spec": ">=2.0.0 <3.0.0",
|
26
34
|
"type": "range"
|
27
35
|
},
|
@@ -34,8 +42,8 @@
|
|
34
42
|
"_spec": "supports-color@^2.0.0",
|
35
43
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/chalk",
|
36
44
|
"author": {
|
37
|
-
"email": "sindresorhus@gmail.com",
|
38
45
|
"name": "Sindre Sorhus",
|
46
|
+
"email": "sindresorhus@gmail.com",
|
39
47
|
"url": "sindresorhus.com"
|
40
48
|
},
|
41
49
|
"bugs": {
|
@@ -61,24 +69,24 @@
|
|
61
69
|
"gitHead": "8400d98ade32b2adffd50902c06d9e725a5c6588",
|
62
70
|
"homepage": "https://github.com/chalk/supports-color",
|
63
71
|
"keywords": [
|
64
|
-
"256",
|
65
|
-
"ansi",
|
66
|
-
"capability",
|
67
|
-
"cli",
|
68
72
|
"color",
|
69
|
-
"colors",
|
70
73
|
"colour",
|
71
|
-
"
|
74
|
+
"colors",
|
75
|
+
"terminal",
|
72
76
|
"console",
|
73
|
-
"
|
77
|
+
"cli",
|
78
|
+
"ansi",
|
79
|
+
"styles",
|
80
|
+
"tty",
|
74
81
|
"rgb",
|
82
|
+
"256",
|
75
83
|
"shell",
|
76
|
-
"
|
84
|
+
"xterm",
|
85
|
+
"command-line",
|
77
86
|
"support",
|
78
87
|
"supports",
|
79
|
-
"
|
80
|
-
"
|
81
|
-
"xterm"
|
88
|
+
"capability",
|
89
|
+
"detect"
|
82
90
|
],
|
83
91
|
"license": "MIT",
|
84
92
|
"maintainers": [
|
@@ -1,28 +1,36 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "tar@~2.2.1",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "tar",
|
8
|
+
"name": "tar",
|
9
|
+
"rawSpec": "~2.2.1",
|
10
|
+
"spec": ">=2.2.1 <2.3.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp"
|
6
14
|
]
|
7
15
|
],
|
8
|
-
"_from": "tar@>=2.2.
|
16
|
+
"_from": "tar@>=2.2.1 <2.3.0",
|
9
17
|
"_id": "tar@2.2.1",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/tar",
|
13
20
|
"_nodeVersion": "2.2.2",
|
14
21
|
"_npmUser": {
|
15
|
-
"
|
16
|
-
"
|
22
|
+
"name": "zkat",
|
23
|
+
"email": "kat@sykosomatic.org"
|
17
24
|
},
|
18
25
|
"_npmVersion": "2.14.3",
|
19
26
|
"_phantomChildren": {},
|
20
27
|
"_requested": {
|
21
|
-
"
|
22
|
-
"raw": "tar@~2.2.0",
|
23
|
-
"rawSpec": "~2.2.0",
|
28
|
+
"raw": "tar@~2.2.1",
|
24
29
|
"scope": null,
|
25
|
-
"
|
30
|
+
"escapedName": "tar",
|
31
|
+
"name": "tar",
|
32
|
+
"rawSpec": "~2.2.1",
|
33
|
+
"spec": ">=2.2.1 <2.3.0",
|
26
34
|
"type": "range"
|
27
35
|
},
|
28
36
|
"_requiredBy": [
|
@@ -32,11 +40,11 @@
|
|
32
40
|
"_resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
|
33
41
|
"_shasum": "8e4d2a256c0e2185c6b18ad694aec968b83cb1d1",
|
34
42
|
"_shrinkwrap": null,
|
35
|
-
"_spec": "tar@~2.2.
|
43
|
+
"_spec": "tar@~2.2.1",
|
36
44
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp",
|
37
45
|
"author": {
|
38
|
-
"email": "i@izs.me",
|
39
46
|
"name": "Isaac Z. Schlueter",
|
47
|
+
"email": "i@izs.me",
|
40
48
|
"url": "http://blog.izs.me/"
|
41
49
|
},
|
42
50
|
"bugs": {
|
@@ -25,6 +25,7 @@ pack(require("fstream-npm")(folder), [options])
|
|
25
25
|
Options:
|
26
26
|
|
27
27
|
- `noProprietary` (defaults to `false`) Set this to `true` to prevent any proprietary attributes being added to the tarball. These attributes are allowed by the spec, but may trip up some poorly written tarball parsers.
|
28
|
+
- `fromBase` (defaults to `false`) Set this to `true` to make sure your tarballs root is the directory you pass in.
|
28
29
|
- `ignoreFiles` (defaults to `['.gitignore']`) These files can specify files to be excluded from the package using the syntax of `.gitignore`. This option is ignored if you parse a `fstream.DirReader` instead of a string for folder.
|
29
30
|
- `filter` (defaults to `entry => true`) A function that takes an entry and returns `true` if it should be included in the package and `false` if it should not. Entryies are of the form `{path, basename, dirname, type}` where (type is "Directory" or "File"). This function is ignored if you parse a `fstream.DirReader` instead of a string for folder.
|
30
31
|
|
@@ -63,6 +64,8 @@ Advanced Options (you probably don't need any of these):
|
|
63
64
|
- `dmode` - (defaults to `0777`) The mode to use when creating directories
|
64
65
|
- `fmode` - (defaults to `0666`) The mode to use when creating files
|
65
66
|
- `unsafe` - (defaults to `false`) (on non win32 OSes it overrides `gid` and `uid` with the current processes IDs)
|
67
|
+
- `strip` - (defaults to `1`) Number of path segments to strip from the root when extracting
|
68
|
+
- `keepFiles` - (defaults to `false`) Set this to `true` to prevent target directory to be removed. Extracted files overwrite existing files.
|
66
69
|
|
67
70
|
Example:
|
68
71
|
|
@@ -78,4 +81,4 @@ read(process.cwd() + '/package.tar.gz')
|
|
78
81
|
|
79
82
|
## License
|
80
83
|
|
81
|
-
BSD
|
84
|
+
BSD
|
@@ -55,7 +55,7 @@ function pack(folder, options) {
|
|
55
55
|
// However, npm *itself* excludes these from its own package,
|
56
56
|
// so that it can be more easily bootstrapped using old and
|
57
57
|
// non-compliant tar implementations.
|
58
|
-
var tarPack = tar.Pack({ noProprietary: options.noProprietary || false })
|
58
|
+
var tarPack = tar.Pack({ noProprietary: options.noProprietary || false, fromBase: options.fromBase || false })
|
59
59
|
var gzip = zlib.Gzip()
|
60
60
|
|
61
61
|
folder
|
@@ -92,6 +92,7 @@ function unpack(unpackTarget, options, cb) {
|
|
92
92
|
var dMode = options.dmode || 0x0777 //npm.modes.exec
|
93
93
|
var fMode = options.fmode || 0x0666 //npm.modes.file
|
94
94
|
var defaultName = options.defaultName || (options.defaultName === false ? false : 'index.js')
|
95
|
+
var strip = (options.strip !== undefined) ? options.strip : 1
|
95
96
|
|
96
97
|
// figure out who we're supposed to be, if we're not pretending
|
97
98
|
// to be a specific user.
|
@@ -108,23 +109,27 @@ function unpack(unpackTarget, options, cb) {
|
|
108
109
|
}
|
109
110
|
if (0 === --pending) next()
|
110
111
|
})
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
112
|
+
if (!options.keepFiles) {
|
113
|
+
rm(unpackTarget, function (er) {
|
114
|
+
if (er) {
|
115
|
+
tarball.emit('error', er)
|
116
|
+
return tarball.end()
|
117
|
+
}
|
118
|
+
if (0 === --pending) next()
|
119
|
+
})
|
120
|
+
} else {
|
121
|
+
next()
|
122
|
+
}
|
118
123
|
function next() {
|
119
124
|
// gzip {tarball} --decompress --stdout \
|
120
|
-
// | tar -mvxpf - --strip-components=
|
121
|
-
gunzTarPerm(tarball, unpackTarget, dMode, fMode, uid, gid, defaultName)
|
125
|
+
// | tar -mvxpf - --strip-components={strip} -C {unpackTarget}
|
126
|
+
gunzTarPerm(tarball, unpackTarget, dMode, fMode, uid, gid, defaultName, strip)
|
122
127
|
}
|
123
128
|
return tarball
|
124
129
|
}
|
125
130
|
|
126
131
|
|
127
|
-
function gunzTarPerm(tarball, target, dMode, fMode, uid, gid, defaultName) {
|
132
|
+
function gunzTarPerm(tarball, target, dMode, fMode, uid, gid, defaultName, strip) {
|
128
133
|
debug('modes %j', [dMode.toString(8), fMode.toString(8)])
|
129
134
|
|
130
135
|
function fixEntry(entry) {
|
@@ -145,7 +150,7 @@ function gunzTarPerm(tarball, target, dMode, fMode, uid, gid, defaultName) {
|
|
145
150
|
}
|
146
151
|
}
|
147
152
|
|
148
|
-
var extractOpts = { type: 'Directory', path: target, strip:
|
153
|
+
var extractOpts = { type: 'Directory', path: target, strip: strip }
|
149
154
|
|
150
155
|
if (!win32 && typeof uid === 'number' && typeof gid === 'number') {
|
151
156
|
extractOpts.uid = uid
|
@@ -0,0 +1,15 @@
|
|
1
|
+
The ISC License
|
2
|
+
|
3
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
4
|
+
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
15
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# once
|
2
|
+
|
3
|
+
Only call a function once.
|
4
|
+
|
5
|
+
## usage
|
6
|
+
|
7
|
+
```javascript
|
8
|
+
var once = require('once')
|
9
|
+
|
10
|
+
function load (file, cb) {
|
11
|
+
cb = once(cb)
|
12
|
+
loader.load('file')
|
13
|
+
loader.once('load', cb)
|
14
|
+
loader.once('error', cb)
|
15
|
+
}
|
16
|
+
```
|
17
|
+
|
18
|
+
Or add to the Function.prototype in a responsible way:
|
19
|
+
|
20
|
+
```javascript
|
21
|
+
// only has to be done once
|
22
|
+
require('once').proto()
|
23
|
+
|
24
|
+
function load (file, cb) {
|
25
|
+
cb = cb.once()
|
26
|
+
loader.load('file')
|
27
|
+
loader.once('load', cb)
|
28
|
+
loader.once('error', cb)
|
29
|
+
}
|
30
|
+
```
|
31
|
+
|
32
|
+
Ironically, the prototype feature makes this module twice as
|
33
|
+
complicated as necessary.
|
34
|
+
|
35
|
+
To check whether you function has been called, use `fn.called`. Once the
|
36
|
+
function is called for the first time the return value of the original
|
37
|
+
function is saved in `fn.value` and subsequent calls will continue to
|
38
|
+
return this value.
|
39
|
+
|
40
|
+
```javascript
|
41
|
+
var once = require('once')
|
42
|
+
|
43
|
+
function load (cb) {
|
44
|
+
cb = once(cb)
|
45
|
+
var stream = createStream()
|
46
|
+
stream.once('data', cb)
|
47
|
+
stream.once('end', function () {
|
48
|
+
if (!cb.called) cb(new Error('not found'))
|
49
|
+
})
|
50
|
+
}
|
51
|
+
```
|
@@ -0,0 +1,21 @@
|
|
1
|
+
var wrappy = require('wrappy')
|
2
|
+
module.exports = wrappy(once)
|
3
|
+
|
4
|
+
once.proto = once(function () {
|
5
|
+
Object.defineProperty(Function.prototype, 'once', {
|
6
|
+
value: function () {
|
7
|
+
return once(this)
|
8
|
+
},
|
9
|
+
configurable: true
|
10
|
+
})
|
11
|
+
})
|
12
|
+
|
13
|
+
function once (fn) {
|
14
|
+
var f = function () {
|
15
|
+
if (f.called) return f.value
|
16
|
+
f.called = true
|
17
|
+
return f.value = fn.apply(this, arguments)
|
18
|
+
}
|
19
|
+
f.called = false
|
20
|
+
return f
|
21
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
{
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
{
|
5
|
+
"raw": "once@~1.3.3",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "once",
|
8
|
+
"name": "once",
|
9
|
+
"rawSpec": "~1.3.3",
|
10
|
+
"spec": ">=1.3.3 <1.4.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
13
|
+
"/Users/eshanker/Code/fsevents/node_modules/tar-pack"
|
14
|
+
]
|
15
|
+
],
|
16
|
+
"_from": "once@>=1.3.3 <1.4.0",
|
17
|
+
"_id": "once@1.3.3",
|
18
|
+
"_inCache": true,
|
19
|
+
"_location": "/tar-pack/once",
|
20
|
+
"_nodeVersion": "4.0.0",
|
21
|
+
"_npmUser": {
|
22
|
+
"name": "isaacs",
|
23
|
+
"email": "i@izs.me"
|
24
|
+
},
|
25
|
+
"_npmVersion": "3.3.2",
|
26
|
+
"_phantomChildren": {},
|
27
|
+
"_requested": {
|
28
|
+
"raw": "once@~1.3.3",
|
29
|
+
"scope": null,
|
30
|
+
"escapedName": "once",
|
31
|
+
"name": "once",
|
32
|
+
"rawSpec": "~1.3.3",
|
33
|
+
"spec": ">=1.3.3 <1.4.0",
|
34
|
+
"type": "range"
|
35
|
+
},
|
36
|
+
"_requiredBy": [
|
37
|
+
"/tar-pack"
|
38
|
+
],
|
39
|
+
"_resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz",
|
40
|
+
"_shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
|
41
|
+
"_shrinkwrap": null,
|
42
|
+
"_spec": "once@~1.3.3",
|
43
|
+
"_where": "/Users/eshanker/Code/fsevents/node_modules/tar-pack",
|
44
|
+
"author": {
|
45
|
+
"name": "Isaac Z. Schlueter",
|
46
|
+
"email": "i@izs.me",
|
47
|
+
"url": "http://blog.izs.me/"
|
48
|
+
},
|
49
|
+
"bugs": {
|
50
|
+
"url": "https://github.com/isaacs/once/issues"
|
51
|
+
},
|
52
|
+
"dependencies": {
|
53
|
+
"wrappy": "1"
|
54
|
+
},
|
55
|
+
"description": "Run a function exactly one time",
|
56
|
+
"devDependencies": {
|
57
|
+
"tap": "^1.2.0"
|
58
|
+
},
|
59
|
+
"directories": {
|
60
|
+
"test": "test"
|
61
|
+
},
|
62
|
+
"dist": {
|
63
|
+
"shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
|
64
|
+
"tarball": "https://registry.npmjs.org/once/-/once-1.3.3.tgz"
|
65
|
+
},
|
66
|
+
"files": [
|
67
|
+
"once.js"
|
68
|
+
],
|
69
|
+
"gitHead": "2ad558657e17fafd24803217ba854762842e4178",
|
70
|
+
"homepage": "https://github.com/isaacs/once#readme",
|
71
|
+
"keywords": [
|
72
|
+
"once",
|
73
|
+
"function",
|
74
|
+
"one",
|
75
|
+
"single"
|
76
|
+
],
|
77
|
+
"license": "ISC",
|
78
|
+
"main": "once.js",
|
79
|
+
"maintainers": [
|
80
|
+
{
|
81
|
+
"name": "isaacs",
|
82
|
+
"email": "i@izs.me"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"name": "once",
|
86
|
+
"optionalDependencies": {},
|
87
|
+
"readme": "ERROR: No README data found!",
|
88
|
+
"repository": {
|
89
|
+
"type": "git",
|
90
|
+
"url": "git://github.com/isaacs/once.git"
|
91
|
+
},
|
92
|
+
"scripts": {
|
93
|
+
"test": "tap test/*.js"
|
94
|
+
},
|
95
|
+
"version": "1.3.3"
|
96
|
+
}
|
@@ -7,9 +7,6 @@ notifications:
|
|
7
7
|
email: false
|
8
8
|
matrix:
|
9
9
|
fast_finish: true
|
10
|
-
allow_failures:
|
11
|
-
- env: TASK=browser BROWSER_NAME=ipad BROWSER_VERSION="6.0..latest"
|
12
|
-
- env: TASK=browser BROWSER_NAME=iphone BROWSER_VERSION="6.0..latest"
|
13
10
|
include:
|
14
11
|
- node_js: '0.8'
|
15
12
|
env: TASK=test
|
@@ -29,6 +26,8 @@ matrix:
|
|
29
26
|
env: TASK=test
|
30
27
|
- node_js: 5
|
31
28
|
env: TASK=test
|
29
|
+
- node_js: 6
|
30
|
+
env: TASK=test
|
32
31
|
- node_js: 5
|
33
32
|
env: TASK=browser BROWSER_NAME=android BROWSER_VERSION="4.0..latest"
|
34
33
|
- node_js: 5
|
@@ -39,12 +38,10 @@ matrix:
|
|
39
38
|
env: TASK=browser BROWSER_NAME=chrome BROWSER_VERSION="-3..latest"
|
40
39
|
- node_js: 5
|
41
40
|
env: TASK=browser BROWSER_NAME=firefox BROWSER_VERSION="-3..latest"
|
42
|
-
- node_js: 5
|
43
|
-
env: TASK=browser BROWSER_NAME=ipad BROWSER_VERSION="6.0..latest"
|
44
|
-
- node_js: 5
|
45
|
-
env: TASK=browser BROWSER_NAME=iphone BROWSER_VERSION="6.0..latest"
|
46
41
|
- node_js: 5
|
47
42
|
env: TASK=browser BROWSER_NAME=safari BROWSER_VERSION="5..latest"
|
43
|
+
- node_js: 5
|
44
|
+
env: TASK=browser BROWSER_NAME=microsoftedge BROWSER_VERSION=latest
|
48
45
|
script: "npm run $TASK"
|
49
46
|
env:
|
50
47
|
global:
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# readable-stream
|
2
2
|
|
3
|
-
***Node-core
|
3
|
+
***Node-core v6.3.1 streams for userland*** [](https://travis-ci.org/nodejs/readable-stream)
|
4
4
|
|
5
5
|
|
6
6
|
[](https://nodei.co/npm/readable-stream/)
|
@@ -16,7 +16,7 @@ npm install --save readable-stream
|
|
16
16
|
***Node-core streams for userland***
|
17
17
|
|
18
18
|
This package is a mirror of the Streams2 and Streams3 implementations in
|
19
|
-
Node-core, including [documentation](doc/stream.
|
19
|
+
Node-core, including [documentation](doc/stream.md).
|
20
20
|
|
21
21
|
If you want to guarantee a stable streams base, regardless of what version of
|
22
22
|
Node you, or the users of your libraries are using, use **readable-stream** *only* and avoid the *"stream"* module in Node-core, for background see [this blogpost](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html).
|