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
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"env": {
|
3
|
-
"node": true
|
4
|
-
},
|
5
|
-
"rules": {
|
6
|
-
// 2-space indentation
|
7
|
-
"indent": [2, 2, {"SwitchCase": 1}],
|
8
|
-
// Disallow semi-colons, unless needed to disambiguate statement
|
9
|
-
"semi": [2, "never"],
|
10
|
-
// Require strings to use single quotes
|
11
|
-
"quotes": [2, "single"],
|
12
|
-
// Require curly braces for all control statements
|
13
|
-
"curly": 2,
|
14
|
-
// Disallow using variables and functions before they've been defined
|
15
|
-
"no-use-before-define": 2,
|
16
|
-
// Allow any case for variable naming
|
17
|
-
"camelcase": 0,
|
18
|
-
// Disallow unused variables, except as function arguments
|
19
|
-
"no-unused-vars": [2, {"args":"none"}],
|
20
|
-
// Allow leading underscores for method names
|
21
|
-
// REASON: we use underscores to denote private methods
|
22
|
-
"no-underscore-dangle": 0,
|
23
|
-
// Allow multi spaces around operators since they are
|
24
|
-
// used for alignment. This is not consistent in the
|
25
|
-
// code.
|
26
|
-
"no-multi-spaces": 0,
|
27
|
-
// Style rule is: most objects use { beforeColon: false, afterColon: true }, unless aligning which uses:
|
28
|
-
//
|
29
|
-
// {
|
30
|
-
// beforeColon : true,
|
31
|
-
// afterColon : true
|
32
|
-
// }
|
33
|
-
//
|
34
|
-
// eslint can't handle this, so the check is disabled.
|
35
|
-
"key-spacing": 0,
|
36
|
-
// Allow shadowing vars in outer scope (needs discussion)
|
37
|
-
"no-shadow": 0,
|
38
|
-
// Use if () { }
|
39
|
-
// ^ space
|
40
|
-
"keyword-spacing": [2, {"after": true}],
|
41
|
-
// Use if () { }
|
42
|
-
// ^ space
|
43
|
-
"space-before-blocks": [2, "always"]
|
44
|
-
}
|
45
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
|
2
|
-
language: node_js
|
3
|
-
|
4
|
-
node_js:
|
5
|
-
- node
|
6
|
-
- 4
|
7
|
-
- 0.12
|
8
|
-
- 0.10
|
9
|
-
|
10
|
-
after_script:
|
11
|
-
- npm run test-cov
|
12
|
-
- codecov
|
13
|
-
- cat ./coverage/lcov.info | coveralls
|
14
|
-
|
15
|
-
webhooks:
|
16
|
-
urls: https://webhooks.gitter.im/e/237280ed4796c19cc626
|
17
|
-
on_success: change # options: [always|never|change] default: always
|
18
|
-
on_failure: always # options: [always|never|change] default: always
|
19
|
-
on_start: false # default: false
|
20
|
-
|
21
|
-
sudo: false
|
@@ -1,81 +0,0 @@
|
|
1
|
-
|
2
|
-
# Contributing to Request
|
3
|
-
|
4
|
-
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
|
5
|
-
|
6
|
-
The following is a set of guidelines for contributing to Request and its packages, which are hosted in the [Request Organization](https://github.com/request) on GitHub.
|
7
|
-
These are just guidelines, not rules, use your best judgment and feel free to propose changes to this document in a pull request.
|
8
|
-
|
9
|
-
|
10
|
-
## Submitting an Issue
|
11
|
-
|
12
|
-
1. Provide a small self **sufficient** code example to **reproduce** the issue.
|
13
|
-
2. Run your test code using [request-debug](https://github.com/request/request-debug) and copy/paste the results inside the issue.
|
14
|
-
3. You should **always** use fenced code blocks when submitting code examples or any other formatted output:
|
15
|
-
<pre>
|
16
|
-
```js
|
17
|
-
put your javascript code here
|
18
|
-
```
|
19
|
-
|
20
|
-
```
|
21
|
-
put any other formatted output here,
|
22
|
-
like for example the one returned from using request-debug
|
23
|
-
```
|
24
|
-
</pre>
|
25
|
-
|
26
|
-
If the problem cannot be reliably reproduced, the issue will be marked as `Not enough info (see CONTRIBUTING.md)`.
|
27
|
-
|
28
|
-
If the problem is not related to request the issue will be marked as `Help (please use Stackoverflow)`.
|
29
|
-
|
30
|
-
|
31
|
-
## Submitting a Pull Request
|
32
|
-
|
33
|
-
1. In almost all of the cases your PR **needs tests**. Make sure you have any.
|
34
|
-
2. Run `npm test` locally. Fix any errors before pushing to GitHub.
|
35
|
-
3. After submitting the PR a build will be triggered on TravisCI. Wait for it to ends and make sure all jobs are passing.
|
36
|
-
|
37
|
-
|
38
|
-
-----------------------------------------
|
39
|
-
|
40
|
-
|
41
|
-
## Becoming a Contributor
|
42
|
-
|
43
|
-
Individuals making significant and valuable contributions are given
|
44
|
-
commit-access to the project to contribute as they see fit. This project is
|
45
|
-
more like an open wiki than a standard guarded open source project.
|
46
|
-
|
47
|
-
|
48
|
-
## Rules
|
49
|
-
|
50
|
-
There are a few basic ground-rules for contributors:
|
51
|
-
|
52
|
-
1. **No `--force` pushes** or modifying the Git history in any way.
|
53
|
-
1. **Non-master branches** ought to be used for ongoing work.
|
54
|
-
1. **Any** change should be added through Pull Request.
|
55
|
-
1. **External API changes and significant modifications** ought to be subject
|
56
|
-
to an **internal pull-request** to solicit feedback from other contributors.
|
57
|
-
1. Internal pull-requests to solicit feedback are *encouraged* for any other
|
58
|
-
non-trivial contribution but left to the discretion of the contributor.
|
59
|
-
1. For significant changes wait a full 24 hours before merging so that active
|
60
|
-
contributors who are distributed throughout the world have a chance to weigh
|
61
|
-
in.
|
62
|
-
1. Contributors should attempt to adhere to the prevailing code-style.
|
63
|
-
1. Run `npm test` locally before submitting your PR, to catch any easy to miss
|
64
|
-
style & testing issues. To diagnose test failures, there are two ways to
|
65
|
-
run a single test file:
|
66
|
-
- `node_modules/.bin/taper tests/test-file.js` - run using the default
|
67
|
-
[`taper`](https://github.com/nylen/taper) test reporter.
|
68
|
-
- `node tests/test-file.js` - view the raw
|
69
|
-
[tap](https://testanything.org/) output.
|
70
|
-
|
71
|
-
|
72
|
-
## Releases
|
73
|
-
|
74
|
-
Declaring formal releases remains the prerogative of the project maintainer.
|
75
|
-
|
76
|
-
|
77
|
-
## Changes to this arrangement
|
78
|
-
|
79
|
-
This is an experiment and feedback is welcome! This document may also be
|
80
|
-
subject to pull-requests or changes by contributors where you believe you have
|
81
|
-
something valuable to add or change.
|
@@ -1,41 +0,0 @@
|
|
1
|
-
#!/usr/bin/env node
|
2
|
-
'use strict';
|
3
|
-
var fs = require('fs');
|
4
|
-
var strip = require('./strip-json-comments');
|
5
|
-
var input = process.argv[2];
|
6
|
-
|
7
|
-
|
8
|
-
function getStdin(cb) {
|
9
|
-
var ret = '';
|
10
|
-
|
11
|
-
process.stdin.setEncoding('utf8');
|
12
|
-
|
13
|
-
process.stdin.on('data', function (data) {
|
14
|
-
ret += data;
|
15
|
-
});
|
16
|
-
|
17
|
-
process.stdin.on('end', function () {
|
18
|
-
cb(ret);
|
19
|
-
});
|
20
|
-
}
|
21
|
-
|
22
|
-
if (process.argv.indexOf('-h') !== -1 || process.argv.indexOf('--help') !== -1) {
|
23
|
-
console.log('strip-json-comments input-file > output-file');
|
24
|
-
console.log('or');
|
25
|
-
console.log('strip-json-comments < input-file > output-file');
|
26
|
-
return;
|
27
|
-
}
|
28
|
-
|
29
|
-
if (process.argv.indexOf('-v') !== -1 || process.argv.indexOf('--version') !== -1) {
|
30
|
-
console.log(require('./package').version);
|
31
|
-
return;
|
32
|
-
}
|
33
|
-
|
34
|
-
if (input) {
|
35
|
-
process.stdout.write(strip(fs.readFileSync(input, 'utf8')));
|
36
|
-
return;
|
37
|
-
}
|
38
|
-
|
39
|
-
getStdin(function (data) {
|
40
|
-
process.stdout.write(strip(data));
|
41
|
-
});
|
@@ -1,73 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
strip-json-comments
|
3
|
-
Strip comments from JSON. Lets you use comments in your JSON files!
|
4
|
-
https://github.com/sindresorhus/strip-json-comments
|
5
|
-
by Sindre Sorhus
|
6
|
-
MIT License
|
7
|
-
*/
|
8
|
-
(function () {
|
9
|
-
'use strict';
|
10
|
-
|
11
|
-
var singleComment = 1;
|
12
|
-
var multiComment = 2;
|
13
|
-
|
14
|
-
function stripJsonComments(str) {
|
15
|
-
var currentChar;
|
16
|
-
var nextChar;
|
17
|
-
var insideString = false;
|
18
|
-
var insideComment = false;
|
19
|
-
var ret = '';
|
20
|
-
|
21
|
-
for (var i = 0; i < str.length; i++) {
|
22
|
-
currentChar = str[i];
|
23
|
-
nextChar = str[i + 1];
|
24
|
-
|
25
|
-
if (!insideComment && currentChar === '"') {
|
26
|
-
var escaped = str[i - 1] === '\\' && str[i - 2] !== '\\';
|
27
|
-
if (!insideComment && !escaped && currentChar === '"') {
|
28
|
-
insideString = !insideString;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
if (insideString) {
|
33
|
-
ret += currentChar;
|
34
|
-
continue;
|
35
|
-
}
|
36
|
-
|
37
|
-
if (!insideComment && currentChar + nextChar === '//') {
|
38
|
-
insideComment = singleComment;
|
39
|
-
i++;
|
40
|
-
} else if (insideComment === singleComment && currentChar + nextChar === '\r\n') {
|
41
|
-
insideComment = false;
|
42
|
-
i++;
|
43
|
-
ret += currentChar;
|
44
|
-
ret += nextChar;
|
45
|
-
continue;
|
46
|
-
} else if (insideComment === singleComment && currentChar === '\n') {
|
47
|
-
insideComment = false;
|
48
|
-
} else if (!insideComment && currentChar + nextChar === '/*') {
|
49
|
-
insideComment = multiComment;
|
50
|
-
i++;
|
51
|
-
continue;
|
52
|
-
} else if (insideComment === multiComment && currentChar + nextChar === '*/') {
|
53
|
-
insideComment = false;
|
54
|
-
i++;
|
55
|
-
continue;
|
56
|
-
}
|
57
|
-
|
58
|
-
if (insideComment) {
|
59
|
-
continue;
|
60
|
-
}
|
61
|
-
|
62
|
-
ret += currentChar;
|
63
|
-
}
|
64
|
-
|
65
|
-
return ret;
|
66
|
-
}
|
67
|
-
|
68
|
-
if (typeof module !== 'undefined' && module.exports) {
|
69
|
-
module.exports = stripJsonComments;
|
70
|
-
} else {
|
71
|
-
window.stripJsonComments = stripJsonComments;
|
72
|
-
}
|
73
|
-
})();
|