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,26 +1,34 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "concat-map@0.0.1",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "concat-map",
|
8
|
+
"name": "concat-map",
|
9
|
+
"rawSpec": "0.0.1",
|
10
|
+
"spec": "0.0.1",
|
11
|
+
"type": "version"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/brace-expansion"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "concat-map@0.0.1",
|
9
17
|
"_id": "concat-map@0.0.1",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/concat-map",
|
13
20
|
"_npmUser": {
|
14
|
-
"
|
15
|
-
"
|
21
|
+
"name": "substack",
|
22
|
+
"email": "mail@substack.net"
|
16
23
|
},
|
17
24
|
"_npmVersion": "1.3.21",
|
18
25
|
"_phantomChildren": {},
|
19
26
|
"_requested": {
|
20
|
-
"name": "concat-map",
|
21
27
|
"raw": "concat-map@0.0.1",
|
22
|
-
"rawSpec": "0.0.1",
|
23
28
|
"scope": null,
|
29
|
+
"escapedName": "concat-map",
|
30
|
+
"name": "concat-map",
|
31
|
+
"rawSpec": "0.0.1",
|
24
32
|
"spec": "0.0.1",
|
25
33
|
"type": "version"
|
26
34
|
},
|
@@ -33,8 +41,8 @@
|
|
33
41
|
"_spec": "concat-map@0.0.1",
|
34
42
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/brace-expansion",
|
35
43
|
"author": {
|
36
|
-
"email": "mail@substack.net",
|
37
44
|
"name": "James Halliday",
|
45
|
+
"email": "mail@substack.net",
|
38
46
|
"url": "http://substack.net"
|
39
47
|
},
|
40
48
|
"bugs": {
|
@@ -57,9 +65,9 @@
|
|
57
65
|
"keywords": [
|
58
66
|
"concat",
|
59
67
|
"concatMap",
|
68
|
+
"map",
|
60
69
|
"functional",
|
61
|
-
"higher-order"
|
62
|
-
"map"
|
70
|
+
"higher-order"
|
63
71
|
],
|
64
72
|
"license": "MIT",
|
65
73
|
"main": "index.js",
|
@@ -80,30 +88,30 @@
|
|
80
88
|
"test": "tape test/*.js"
|
81
89
|
},
|
82
90
|
"testling": {
|
91
|
+
"files": "test/*.js",
|
83
92
|
"browsers": {
|
84
|
-
"chrome": [
|
85
|
-
10,
|
86
|
-
22
|
87
|
-
],
|
88
|
-
"ff": [
|
89
|
-
10,
|
90
|
-
15,
|
91
|
-
3.5
|
92
|
-
],
|
93
93
|
"ie": [
|
94
94
|
6,
|
95
95
|
7,
|
96
96
|
8,
|
97
97
|
9
|
98
98
|
],
|
99
|
-
"
|
100
|
-
|
99
|
+
"ff": [
|
100
|
+
3.5,
|
101
|
+
10,
|
102
|
+
15
|
103
|
+
],
|
104
|
+
"chrome": [
|
105
|
+
10,
|
106
|
+
22
|
101
107
|
],
|
102
108
|
"safari": [
|
103
109
|
5.1
|
110
|
+
],
|
111
|
+
"opera": [
|
112
|
+
12
|
104
113
|
]
|
105
|
-
}
|
106
|
-
"files": "test/*.js"
|
114
|
+
}
|
107
115
|
},
|
108
116
|
"version": "0.0.1"
|
109
117
|
}
|
@@ -1,14 +1,21 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "console-control-strings@~1.1.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "console-control-strings",
|
8
|
+
"name": "console-control-strings",
|
9
|
+
"rawSpec": "~1.1.0",
|
10
|
+
"spec": ">=1.1.0 <1.2.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/npmlog"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "console-control-strings@>=1.1.0 <1.2.0",
|
9
17
|
"_id": "console-control-strings@1.1.0",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/console-control-strings",
|
13
20
|
"_nodeVersion": "4.4.0",
|
14
21
|
"_npmOperationalInternal": {
|
@@ -16,16 +23,17 @@
|
|
16
23
|
"tmp": "tmp/console-control-strings-1.1.0.tgz_1466033396831_0.9470485949423164"
|
17
24
|
},
|
18
25
|
"_npmUser": {
|
19
|
-
"
|
20
|
-
"
|
26
|
+
"name": "iarna",
|
27
|
+
"email": "me@re-becca.org"
|
21
28
|
},
|
22
29
|
"_npmVersion": "3.9.2",
|
23
30
|
"_phantomChildren": {},
|
24
31
|
"_requested": {
|
25
|
-
"name": "console-control-strings",
|
26
32
|
"raw": "console-control-strings@~1.1.0",
|
27
|
-
"rawSpec": "~1.1.0",
|
28
33
|
"scope": null,
|
34
|
+
"escapedName": "console-control-strings",
|
35
|
+
"name": "console-control-strings",
|
36
|
+
"rawSpec": "~1.1.0",
|
29
37
|
"spec": ">=1.1.0 <1.2.0",
|
30
38
|
"type": "range"
|
31
39
|
},
|
@@ -39,8 +47,8 @@
|
|
39
47
|
"_spec": "console-control-strings@~1.1.0",
|
40
48
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/npmlog",
|
41
49
|
"author": {
|
42
|
-
"email": "me@re-becca.org",
|
43
50
|
"name": "Rebecca Turner",
|
51
|
+
"email": "me@re-becca.org",
|
44
52
|
"url": "http://re-becca.org/"
|
45
53
|
},
|
46
54
|
"bugs": {
|
@@ -1,33 +1,41 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "core-util-is@~1.0.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "core-util-is",
|
8
|
+
"name": "core-util-is",
|
9
|
+
"rawSpec": "~1.0.0",
|
10
|
+
"spec": ">=1.0.0 <1.1.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/readable-stream"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "core-util-is@>=1.0.0 <1.1.0",
|
9
17
|
"_id": "core-util-is@1.0.2",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/core-util-is",
|
13
20
|
"_nodeVersion": "4.0.0",
|
14
21
|
"_npmUser": {
|
15
|
-
"
|
16
|
-
"
|
22
|
+
"name": "isaacs",
|
23
|
+
"email": "i@izs.me"
|
17
24
|
},
|
18
25
|
"_npmVersion": "3.3.2",
|
19
26
|
"_phantomChildren": {},
|
20
27
|
"_requested": {
|
21
|
-
"name": "core-util-is",
|
22
28
|
"raw": "core-util-is@~1.0.0",
|
23
|
-
"rawSpec": "~1.0.0",
|
24
29
|
"scope": null,
|
30
|
+
"escapedName": "core-util-is",
|
31
|
+
"name": "core-util-is",
|
32
|
+
"rawSpec": "~1.0.0",
|
25
33
|
"spec": ">=1.0.0 <1.1.0",
|
26
34
|
"type": "range"
|
27
35
|
},
|
28
36
|
"_requiredBy": [
|
29
|
-
"/
|
30
|
-
"/readable-stream"
|
37
|
+
"/readable-stream",
|
38
|
+
"/tar-pack/readable-stream"
|
31
39
|
],
|
32
40
|
"_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
33
41
|
"_shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7",
|
@@ -35,8 +43,8 @@
|
|
35
43
|
"_spec": "core-util-is@~1.0.0",
|
36
44
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/readable-stream",
|
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": {
|
@@ -55,15 +63,15 @@
|
|
55
63
|
"gitHead": "a177da234df5638b363ddc15fa324619a38577c8",
|
56
64
|
"homepage": "https://github.com/isaacs/core-util-is#readme",
|
57
65
|
"keywords": [
|
58
|
-
"
|
66
|
+
"util",
|
59
67
|
"isBuffer",
|
68
|
+
"isArray",
|
60
69
|
"isNumber",
|
61
|
-
"isRegExp",
|
62
70
|
"isString",
|
63
|
-
"
|
71
|
+
"isRegExp",
|
64
72
|
"isThis",
|
65
|
-
"
|
66
|
-
"
|
73
|
+
"isThat",
|
74
|
+
"polyfill"
|
67
75
|
],
|
68
76
|
"license": "MIT",
|
69
77
|
"main": "lib/util.js",
|
@@ -1,27 +1,35 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "cryptiles@2.x.x",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "cryptiles",
|
8
|
+
"name": "cryptiles",
|
9
|
+
"rawSpec": "2.x.x",
|
10
|
+
"spec": ">=2.0.0 <3.0.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/hawk"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "cryptiles@>=2.0.0 <3.0.0",
|
9
17
|
"_id": "cryptiles@2.0.5",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/cryptiles",
|
13
20
|
"_nodeVersion": "4.0.0",
|
14
21
|
"_npmUser": {
|
15
|
-
"
|
16
|
-
"
|
22
|
+
"name": "hueniverse",
|
23
|
+
"email": "eran@hammer.io"
|
17
24
|
},
|
18
25
|
"_npmVersion": "2.14.2",
|
19
26
|
"_phantomChildren": {},
|
20
27
|
"_requested": {
|
21
|
-
"name": "cryptiles",
|
22
28
|
"raw": "cryptiles@2.x.x",
|
23
|
-
"rawSpec": "2.x.x",
|
24
29
|
"scope": null,
|
30
|
+
"escapedName": "cryptiles",
|
31
|
+
"name": "cryptiles",
|
32
|
+
"rawSpec": "2.x.x",
|
25
33
|
"spec": ">=2.0.0 <3.0.0",
|
26
34
|
"type": "range"
|
27
35
|
},
|
@@ -0,0 +1,364 @@
|
|
1
|
+
# node-dashdash changelog
|
2
|
+
|
3
|
+
## not yet released
|
4
|
+
|
5
|
+
(nothing yet)
|
6
|
+
|
7
|
+
## 1.14.1
|
8
|
+
|
9
|
+
- [issue #30] Change the output used by dashdash's Bash completion support to
|
10
|
+
indicate "there are no completions for this argument" to cope with different
|
11
|
+
sorting rules on different Bash/platforms. For example:
|
12
|
+
|
13
|
+
$ triton -v -p test2 package get <TAB> # before
|
14
|
+
##-no -tritonpackage- completions-##
|
15
|
+
|
16
|
+
$ triton -v -p test2 package get <TAB> # after
|
17
|
+
##-no-completion- -results-##
|
18
|
+
|
19
|
+
## 1.14.0
|
20
|
+
|
21
|
+
- New `synopsisFromOpt(<option spec>)` function. This will be used by
|
22
|
+
[node-cmdln](https://github.com/trentm/node-cmdln) to put together a synopsis
|
23
|
+
of options for a command. Some examples:
|
24
|
+
|
25
|
+
> synopsisFromOpt({names: ['help', 'h'], type: 'bool'});
|
26
|
+
'[ --help | -h ]'
|
27
|
+
> synopsisFromOpt({name: 'file', type: 'string', helpArg: 'FILE'});
|
28
|
+
'[ --file=FILE ]'
|
29
|
+
|
30
|
+
|
31
|
+
## 1.13.1
|
32
|
+
|
33
|
+
- [issue #20] `bashCompletionSpecFromOptions` breaks on an options array with
|
34
|
+
an empty-string group.
|
35
|
+
|
36
|
+
|
37
|
+
## 1.13.0
|
38
|
+
|
39
|
+
- Update assert-plus dep to 1.x to get recent fixes (particularly for
|
40
|
+
`assert.optional*`).
|
41
|
+
|
42
|
+
- Drop testing (and official support in packages.json#engines) for node 0.8.x.
|
43
|
+
Add testing against node 5.x and 4.x with `make testall`.
|
44
|
+
|
45
|
+
- [pull #16] Change the `positiveInteger` type to NOT accept zero (0).
|
46
|
+
For those who might need the old behaviour, see
|
47
|
+
"examples/custom-option-intGteZero.js". (By Dave Pacheco.)
|
48
|
+
|
49
|
+
|
50
|
+
## 1.12.2
|
51
|
+
|
52
|
+
- Bash completion: Add `argtypes` to specify the types of positional args.
|
53
|
+
E.g. this would allow you to have an `ssh` command with `argtypes = ['host',
|
54
|
+
'cmd']` for bash completion. You then have to provide Bash functions to
|
55
|
+
handle completing those types via the `specExtra` arg. See
|
56
|
+
"[examples/ddcompletion.js](examples/ddcompletion.js)" for an example.
|
57
|
+
|
58
|
+
- Bash completion: Tweak so that options or only offered as completions when
|
59
|
+
there is a leading '-'. E.g. `mytool <TAB>` does NOT offer options, `mytool
|
60
|
+
-<TAB>` *does*. Without this, a tool with options would never be able to
|
61
|
+
fallback to Bash's "default" completion. For example `ls <TAB>` wouldn't
|
62
|
+
result in filename completion. Now it will.
|
63
|
+
|
64
|
+
- Bash completion: A workaround for not being able to explicitly have *no*
|
65
|
+
completion results. Because dashdash's completion uses `complete -o default`,
|
66
|
+
we fallback to Bash's "default" completion (typically for filename
|
67
|
+
completion). Before this change, an attempt to explicitly say "there are
|
68
|
+
no completions that match" would unintentionally trigger filename completion.
|
69
|
+
Instead as a workaround we return:
|
70
|
+
|
71
|
+
$ ddcompletion --none <TAB> # the 'none' argtype
|
72
|
+
##-no completions-##
|
73
|
+
|
74
|
+
$ ddcompletion # a custom 'fruit' argtype
|
75
|
+
apple banana orange
|
76
|
+
$ ddcompletion z
|
77
|
+
##-no -fruit- completions-##
|
78
|
+
|
79
|
+
This is a bit of a hack, but IMO a better experience than the surprise
|
80
|
+
of matching a local filename beginning with 'z', which isn't, in this
|
81
|
+
case, a "fruit".
|
82
|
+
|
83
|
+
## 1.12.1
|
84
|
+
|
85
|
+
- Bash completion: Document `<option spec>.completionType`. Add `includeHidden`
|
86
|
+
option to `bashCompletionSpecFromOptions()`. Add support for dealing with
|
87
|
+
hidden subcmds.
|
88
|
+
|
89
|
+
|
90
|
+
## 1.12.0
|
91
|
+
|
92
|
+
- Support for generating Bash completion files. See the "Bash completion"
|
93
|
+
section of the README.md and "examples/ddcompletion.js" for an example.
|
94
|
+
|
95
|
+
|
96
|
+
## 1.11.0
|
97
|
+
|
98
|
+
- Add the `arrayFlatten` boolean option to `dashdash.addOptionType` used for
|
99
|
+
custom option types. This allows one to create an `arrayOf...` option type
|
100
|
+
where each usage of the option can return multiple results. For example:
|
101
|
+
|
102
|
+
node mytool.js --foo a,b --foo c
|
103
|
+
|
104
|
+
We could define an option type for `--foo` such that
|
105
|
+
`opts.foo = ['a', 'b', 'c']`. See
|
106
|
+
"[examples/custom-option-arrayOfCommaSepString.js](examples/custom-option-arrayOfCommaSepString.js)"
|
107
|
+
for an example.
|
108
|
+
|
109
|
+
|
110
|
+
## 1.10.1
|
111
|
+
|
112
|
+
- Trim the published package to the minimal bits. Before: 24K tarball, 144K unpacked.
|
113
|
+
After: 12K tarball, 48K unpacked. `npm` won't let me drop the README.md. :)
|
114
|
+
|
115
|
+
|
116
|
+
## 1.10.0
|
117
|
+
|
118
|
+
- [issue #9] Support `includeDefault` in help config (similar to `includeEnv`) to have a
|
119
|
+
note of an option's default value, if any, in help output.
|
120
|
+
- [issue #11] Fix option group breakage introduced in v1.9.0.
|
121
|
+
|
122
|
+
|
123
|
+
## 1.9.0
|
124
|
+
|
125
|
+
- [issue #10] Custom option types added with `addOptionType` can specify a
|
126
|
+
"default" value. See "examples/custom-option-fruit.js".
|
127
|
+
|
128
|
+
|
129
|
+
## 1.8.0
|
130
|
+
|
131
|
+
- Support `hidden: true` in an option spec to have help output exclude this
|
132
|
+
option.
|
133
|
+
|
134
|
+
|
135
|
+
## 1.7.3
|
136
|
+
|
137
|
+
- [issue #8] Fix parsing of a short option group when one of the
|
138
|
+
option takes an argument. For example, consider `tail` with
|
139
|
+
a `-f` boolean option and a `-n` option that takes a number
|
140
|
+
argument. This should parse:
|
141
|
+
|
142
|
+
tail -fn5
|
143
|
+
|
144
|
+
Before this change, that would not parse correctly.
|
145
|
+
It is suspected that this was introduced in version 1.4.0
|
146
|
+
(with commit 656fa8bc71c372ebddad0a7026bd71611e2ec99a).
|
147
|
+
|
148
|
+
|
149
|
+
## 1.7.2
|
150
|
+
|
151
|
+
- Known issues: #8
|
152
|
+
|
153
|
+
- Exclude 'tools/' dir in packages published to npm.
|
154
|
+
|
155
|
+
|
156
|
+
## 1.7.1
|
157
|
+
|
158
|
+
- Known issues: #8
|
159
|
+
|
160
|
+
- Support an option group *empty string* value:
|
161
|
+
|
162
|
+
...
|
163
|
+
{ group: '' },
|
164
|
+
...
|
165
|
+
|
166
|
+
to render as a blank line in option help. This can help separate loosely
|
167
|
+
related sets of options without resorting to a title for option groups.
|
168
|
+
|
169
|
+
|
170
|
+
## 1.7.0
|
171
|
+
|
172
|
+
- Known issues: #8
|
173
|
+
|
174
|
+
- [pull #7] Support for `<parser>.help({helpWrap: false, ...})` option to be able
|
175
|
+
to fully control the formatting for option help (by Patrick Mooney) `helpWrap:
|
176
|
+
false` can also be set on individual options in the option objects, e.g.:
|
177
|
+
|
178
|
+
var options = [
|
179
|
+
{
|
180
|
+
names: ['foo'],
|
181
|
+
type: 'string',
|
182
|
+
helpWrap: false,
|
183
|
+
help: 'long help with\n newlines' +
|
184
|
+
'\n spaces\n and such\nwill render correctly'
|
185
|
+
},
|
186
|
+
...
|
187
|
+
];
|
188
|
+
|
189
|
+
|
190
|
+
## 1.6.0
|
191
|
+
|
192
|
+
- Known issues: #8
|
193
|
+
|
194
|
+
- [pull #6] Support headings between groups of options (by Joshua M. Clulow)
|
195
|
+
so that this code:
|
196
|
+
|
197
|
+
var options = [
|
198
|
+
{ group: 'Armament Options' },
|
199
|
+
{ names: [ 'weapon', 'w' ], type: 'string' },
|
200
|
+
{ group: 'General Options' },
|
201
|
+
{ names: [ 'help', 'h' ], type: 'bool' }
|
202
|
+
];
|
203
|
+
...
|
204
|
+
|
205
|
+
will give you this help output:
|
206
|
+
|
207
|
+
...
|
208
|
+
Armament Options:
|
209
|
+
-w, --weapon
|
210
|
+
|
211
|
+
General Options:
|
212
|
+
-h, --help
|
213
|
+
...
|
214
|
+
|
215
|
+
|
216
|
+
## 1.5.0
|
217
|
+
|
218
|
+
- Known issues: #8
|
219
|
+
|
220
|
+
- Add support for adding custom option types. "examples/custom-option-duration.js"
|
221
|
+
shows an example adding a "duration" option type.
|
222
|
+
|
223
|
+
$ node custom-option-duration.js -t 1h
|
224
|
+
duration: 3600000 ms
|
225
|
+
$ node custom-option-duration.js -t 1s
|
226
|
+
duration: 1000 ms
|
227
|
+
$ node custom-option-duration.js -t 5d
|
228
|
+
duration: 432000000 ms
|
229
|
+
$ node custom-option-duration.js -t bogus
|
230
|
+
custom-option-duration.js: error: arg for "-t" is not a valid duration: "bogus"
|
231
|
+
|
232
|
+
A custom option type is added via:
|
233
|
+
|
234
|
+
var dashdash = require('dashdash');
|
235
|
+
dashdash.addOptionType({
|
236
|
+
name: '...',
|
237
|
+
takesArg: true,
|
238
|
+
helpArg: '...',
|
239
|
+
parseArg: function (option, optstr, arg) {
|
240
|
+
...
|
241
|
+
}
|
242
|
+
});
|
243
|
+
|
244
|
+
- [issue #4] Add `date` and `arrayOfDate` option types. They accept these date
|
245
|
+
formats: epoch second times (e.g. 1396031701) and ISO 8601 format:
|
246
|
+
`YYYY-MM-DD[THH:MM:SS[.sss][Z]]` (e.g. "2014-03-28",
|
247
|
+
"2014-03-28T18:35:01.489Z"). See "examples/date.js" for an example usage.
|
248
|
+
|
249
|
+
$ node examples/date.js -s 2014-01-01 -e $(date +%s)
|
250
|
+
start at 2014-01-01T00:00:00.000Z
|
251
|
+
end at 2014-03-29T04:26:18.000Z
|
252
|
+
|
253
|
+
|
254
|
+
## 1.4.0
|
255
|
+
|
256
|
+
- Known issues: #8
|
257
|
+
|
258
|
+
- [pull #2, pull #3] Add a `allowUnknown: true` option on `createParser` to
|
259
|
+
allow unknown options to be passed through as `opts._args` instead of parsing
|
260
|
+
throwing an exception (by https://github.com/isaacs).
|
261
|
+
|
262
|
+
See 'allowUnknown' in the README for a subtle caveat.
|
263
|
+
|
264
|
+
|
265
|
+
## 1.3.2
|
266
|
+
|
267
|
+
- Fix a subtlety where a *bool* option using both `env` and `default` didn't
|
268
|
+
work exactly correctly. If `default: false` then all was fine (by luck).
|
269
|
+
However, if you had an option like this:
|
270
|
+
|
271
|
+
options: [ {
|
272
|
+
names: ['verbose', 'v'],
|
273
|
+
env: 'FOO_VERBOSE',
|
274
|
+
'default': true, // <--- this
|
275
|
+
type: 'bool'
|
276
|
+
} ],
|
277
|
+
|
278
|
+
wanted `FOO_VERBOSE=0` to make the option false, then you need the fix
|
279
|
+
in this version of dashdash.
|
280
|
+
|
281
|
+
|
282
|
+
## 1.3.1
|
283
|
+
|
284
|
+
- [issue #1] Fix an envvar not winning over an option 'default'. Previously
|
285
|
+
an option with both `default` and `env` would never take a value from the
|
286
|
+
environment variable. E.g. `FOO_FILE` would never work here:
|
287
|
+
|
288
|
+
options: [ {
|
289
|
+
names: ['file', 'f'],
|
290
|
+
env: 'FOO_FILE',
|
291
|
+
'default': 'default.file',
|
292
|
+
type: 'string'
|
293
|
+
} ],
|
294
|
+
|
295
|
+
|
296
|
+
## 1.3.0
|
297
|
+
|
298
|
+
- [Backward incompatible change for boolean envvars] Change the
|
299
|
+
interpretation of environment variables for boolean options to consider '0'
|
300
|
+
to be false. Previous to this *any* value to the envvar was considered
|
301
|
+
true -- which was quite misleading. Example:
|
302
|
+
|
303
|
+
$ FOO_VERBOSE=0 node examples/foo.js
|
304
|
+
# opts: { verbose: [ false ],
|
305
|
+
_order: [ { key: 'verbose', value: false, from: 'env' } ],
|
306
|
+
_args: [] }
|
307
|
+
# args: []
|
308
|
+
|
309
|
+
|
310
|
+
## 1.2.1
|
311
|
+
|
312
|
+
- Fix for `parse.help({includeEnv: true, ...})` handling to ensure that an
|
313
|
+
option with an `env` **but no `help`** still has the "Environment: ..."
|
314
|
+
output. E.g.:
|
315
|
+
|
316
|
+
{ names: ['foo'], type: 'string', env: 'FOO' }
|
317
|
+
|
318
|
+
...
|
319
|
+
|
320
|
+
--foo=ARG Environment: FOO=ARG
|
321
|
+
|
322
|
+
|
323
|
+
## 1.2.0
|
324
|
+
|
325
|
+
- Transform the option key on the `opts` object returned from
|
326
|
+
`<parser>.parse()` for convenience. Currently this is just
|
327
|
+
`s/-/_/g`, e.g. '--dry-run' -> `opts.dry_run`. This allow one to use hyphen
|
328
|
+
in option names (common) but not have to do silly things like
|
329
|
+
`opt["dry-run"]` to access the parsed results.
|
330
|
+
|
331
|
+
|
332
|
+
## 1.1.0
|
333
|
+
|
334
|
+
- Environment variable integration. Envvars can be associated with an option,
|
335
|
+
then option processing will fallback to using that envvar if defined and
|
336
|
+
if the option isn't specified in argv. See the "Environment variable
|
337
|
+
integration" section in the README.
|
338
|
+
|
339
|
+
- Change the `<parser>.parse()` signature to take a single object with keys
|
340
|
+
for arguments. The old signature is still supported.
|
341
|
+
|
342
|
+
- `dashdash.createParser(CONFIG)` alternative to `new dashdash.Parser(CONFIG)`
|
343
|
+
a la many node-land APIs.
|
344
|
+
|
345
|
+
|
346
|
+
## 1.0.2
|
347
|
+
|
348
|
+
- Add "positiveInteger" and "arrayOfPositiveInteger" option types that only
|
349
|
+
accept positive integers.
|
350
|
+
|
351
|
+
- Add "integer" and "arrayOfInteger" option types that accepts only integers.
|
352
|
+
Note that, for better or worse, these do NOT accept: "0x42" (hex), "1e2"
|
353
|
+
(with exponent) or "1.", "3.0" (floats).
|
354
|
+
|
355
|
+
|
356
|
+
## 1.0.1
|
357
|
+
|
358
|
+
- Fix not modifying the given option spec objects (which breaks creating
|
359
|
+
a Parser with them more than once).
|
360
|
+
|
361
|
+
|
362
|
+
## 1.0.0
|
363
|
+
|
364
|
+
First release.
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# This is the MIT license
|
2
|
+
|
3
|
+
Copyright (c) 2013 Trent Mick. All rights reserved.
|
4
|
+
Copyright (c) 2013 Joyent Inc. All rights reserved.
|
5
|
+
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
7
|
+
copy of this software and associated documentation files (the
|
8
|
+
"Software"), to deal in the Software without restriction, including
|
9
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
10
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
11
|
+
permit persons to whom the Software is furnished to do so, subject to
|
12
|
+
the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included
|
15
|
+
in all copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
18
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
19
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
20
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
21
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
22
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
23
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
24
|
+
|
@@ -264,7 +264,7 @@ function _{{name}}_completer {
|
|
264
264
|
# We want *no* completions, i.e. some way to get the active
|
265
265
|
# 'complete -o default' to not do filename completion.
|
266
266
|
trace " completing 'none' (hack to imply no completions)"
|
267
|
-
echo "##-no
|
267
|
+
echo "##-no-completion- -results-##"
|
268
268
|
elif [[ $argtype == "file" ]]; then
|
269
269
|
# 'complete -o default' gives the best filename completion, at least
|
270
270
|
# on Mac.
|
@@ -278,8 +278,9 @@ function _{{name}}_completer {
|
|
278
278
|
completions=$(complete_$argtype "$word")
|
279
279
|
if [[ -z "$completions" ]]; then
|
280
280
|
trace " no custom '$argtype' completions"
|
281
|
-
# These are in
|
282
|
-
|
281
|
+
# These are in ascii and "dictionary" order so they sort
|
282
|
+
# correctly.
|
283
|
+
echo "##-no-completion- -results-##"
|
283
284
|
else
|
284
285
|
echo $completions
|
285
286
|
fi
|