fsevents 1.0.5 → 1.0.6
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/Readme.md +12 -13
- package/node_modules/ansi/package.json +1 -2
- package/node_modules/are-we-there-yet/package.json +1 -2
- package/node_modules/asn1/.travis.yml +4 -0
- package/node_modules/asn1/lib/ber/reader.js +27 -33
- package/node_modules/asn1/lib/ber/writer.js +10 -11
- package/node_modules/asn1/package.json +21 -19
- package/node_modules/asn1/tst/ber/reader.test.js +36 -0
- package/node_modules/asn1/tst/ber/writer.test.js +74 -0
- package/node_modules/assert-plus/package.json +1 -0
- package/node_modules/{ctype → bl/node_modules/readable-stream/node_modules/core-util-is}/LICENSE +1 -6
- package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +11 -11
- package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/package.json +17 -12
- package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/test.js +68 -0
- package/node_modules/boom/package.json +1 -1
- package/node_modules/commander/package.json +1 -1
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/lib/util.js +11 -11
- package/node_modules/core-util-is/package.json +17 -12
- package/node_modules/core-util-is/test.js +68 -0
- package/node_modules/dashdash/README.md +508 -0
- package/node_modules/dashdash/lib/dashdash.js +813 -0
- package/node_modules/dashdash/package.json +87 -0
- package/node_modules/deep-extend/LICENSE +1 -1
- package/node_modules/deep-extend/README.md +89 -52
- package/node_modules/deep-extend/index.js +1 -90
- package/node_modules/deep-extend/lib/deep-extend.js +144 -0
- package/node_modules/deep-extend/package.json +47 -16
- package/node_modules/deep-extend/test/index.spec.js +168 -5
- package/node_modules/delegates/package.json +1 -2
- package/node_modules/ecc-jsbn/.npmignore +15 -0
- package/node_modules/ecc-jsbn/LICENSE +21 -0
- package/node_modules/ecc-jsbn/README.md +8 -0
- package/node_modules/ecc-jsbn/index.js +57 -0
- package/node_modules/ecc-jsbn/lib/LICENSE-jsbn +40 -0
- package/node_modules/ecc-jsbn/lib/ec.js +561 -0
- package/node_modules/ecc-jsbn/lib/sec.js +170 -0
- package/node_modules/ecc-jsbn/package.json +63 -0
- package/node_modules/ecc-jsbn/test.js +14 -0
- package/node_modules/extsprintf/.gitmodules +6 -0
- package/node_modules/{path-is-absolute/license → extsprintf/LICENSE} +2 -4
- package/node_modules/extsprintf/Makefile +23 -0
- package/node_modules/extsprintf/Makefile.deps +39 -0
- package/node_modules/extsprintf/Makefile.targ +285 -0
- package/node_modules/extsprintf/README.md +39 -0
- package/node_modules/extsprintf/examples/simple.js +2 -0
- package/node_modules/{ctype/tools/jsl.conf → extsprintf/jsl.node.conf} +71 -63
- package/node_modules/extsprintf/lib/extsprintf.js +166 -0
- package/node_modules/extsprintf/package.json +48 -0
- package/node_modules/fstream/package.json +1 -2
- package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/package.json +4 -22
- package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/package.json +3 -21
- package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/package.json +4 -23
- package/node_modules/fstream-ignore/node_modules/minimatch/package.json +4 -24
- package/node_modules/fstream-ignore/package.json +1 -2
- package/node_modules/gauge/package.json +1 -2
- package/node_modules/har-validator/package.json +15 -15
- package/node_modules/has-unicode/package.json +1 -2
- package/node_modules/hawk/dist/client.js +340 -0
- package/node_modules/hawk/lib/browser.js +14 -20
- package/node_modules/hawk/package.json +10 -10
- package/node_modules/hawk/test/browser.js +134 -101
- package/node_modules/hawk/test/index.js +61 -61
- package/node_modules/hawk/test/server.js +72 -84
- package/node_modules/hawk/test/uri.js +52 -63
- package/node_modules/http-signature/CHANGES.md +39 -0
- package/node_modules/http-signature/http_signing.md +16 -17
- package/node_modules/http-signature/lib/index.js +6 -4
- package/node_modules/http-signature/lib/parser.js +43 -29
- package/node_modules/http-signature/lib/signer.js +290 -74
- package/node_modules/http-signature/lib/utils.js +112 -0
- package/node_modules/http-signature/lib/verify.js +47 -15
- package/node_modules/http-signature/package.json +20 -14
- package/node_modules/is-my-json-valid/index.js +16 -14
- package/node_modules/is-my-json-valid/package.json +16 -12
- package/node_modules/is-typedarray/LICENSE.md +18 -0
- package/node_modules/is-typedarray/README.md +16 -0
- package/node_modules/is-typedarray/index.js +41 -0
- package/node_modules/is-typedarray/package.json +63 -0
- package/node_modules/is-typedarray/test.js +34 -0
- package/node_modules/jodid25519/.npmignore +11 -0
- package/node_modules/jodid25519/.travis.yml +7 -0
- package/node_modules/jodid25519/AUTHORS.md +3 -0
- package/node_modules/jodid25519/LICENSE +23 -0
- package/node_modules/jodid25519/README.md +51 -0
- package/node_modules/jodid25519/almond.0 +42 -0
- package/node_modules/jodid25519/almond.1 +13 -0
- package/node_modules/jodid25519/index.js +35 -0
- package/node_modules/jodid25519/jsdoc.json +19 -0
- package/node_modules/jodid25519/lib/core.js +481 -0
- package/node_modules/jodid25519/lib/curve255.js +221 -0
- package/node_modules/jodid25519/lib/dh.js +111 -0
- package/node_modules/jodid25519/lib/eddsa.js +573 -0
- package/node_modules/jodid25519/lib/utils.js +198 -0
- package/node_modules/jodid25519/package.json +77 -0
- package/node_modules/jsbn/.npmignore +2 -0
- package/node_modules/jsbn/LICENSE +40 -0
- package/node_modules/jsbn/README.md +175 -0
- package/node_modules/jsbn/example.html +12 -0
- package/node_modules/jsbn/example.js +3 -0
- package/node_modules/jsbn/index.js +1358 -0
- package/node_modules/jsbn/package.json +60 -0
- package/node_modules/json-schema/README.md +5 -0
- package/node_modules/json-schema/draft-00/hyper-schema +68 -0
- package/node_modules/json-schema/draft-00/json-ref +26 -0
- package/node_modules/json-schema/draft-00/links +33 -0
- package/node_modules/json-schema/draft-00/schema +155 -0
- package/node_modules/json-schema/draft-01/hyper-schema +68 -0
- package/node_modules/json-schema/draft-01/json-ref +26 -0
- package/node_modules/json-schema/draft-01/links +33 -0
- package/node_modules/json-schema/draft-01/schema +155 -0
- package/node_modules/json-schema/draft-02/hyper-schema +68 -0
- package/node_modules/json-schema/draft-02/json-ref +26 -0
- package/node_modules/json-schema/draft-02/links +35 -0
- package/node_modules/json-schema/draft-02/schema +166 -0
- package/node_modules/json-schema/draft-03/examples/address +20 -0
- package/node_modules/json-schema/draft-03/examples/calendar +53 -0
- package/node_modules/json-schema/draft-03/examples/card +105 -0
- package/node_modules/json-schema/draft-03/examples/geo +8 -0
- package/node_modules/json-schema/draft-03/examples/interfaces +23 -0
- package/node_modules/json-schema/draft-03/hyper-schema +60 -0
- package/node_modules/json-schema/draft-03/json-ref +26 -0
- package/node_modules/json-schema/draft-03/links +35 -0
- package/node_modules/json-schema/draft-03/schema +174 -0
- package/node_modules/json-schema/draft-04/hyper-schema +60 -0
- package/node_modules/json-schema/draft-04/links +41 -0
- package/node_modules/json-schema/draft-04/schema +189 -0
- package/node_modules/json-schema/draft-zyp-json-schema-03.xml +1120 -0
- package/node_modules/json-schema/draft-zyp-json-schema-04.xml +1072 -0
- package/node_modules/json-schema/lib/links.js +52 -0
- package/node_modules/json-schema/lib/validate.js +260 -0
- package/node_modules/json-schema/package.json +67 -0
- package/node_modules/json-schema/test/tests.js +95 -0
- package/node_modules/jsprim/CHANGES.md +30 -0
- package/node_modules/jsprim/LICENSE +19 -0
- package/node_modules/jsprim/README.md +228 -0
- package/node_modules/jsprim/lib/jsprim.js +478 -0
- package/node_modules/jsprim/package.json +54 -0
- package/node_modules/lodash._basetostring/package.json +1 -2
- package/node_modules/lodash._createpadding/package.json +1 -2
- package/node_modules/lodash.pad/package.json +1 -2
- package/node_modules/lodash.padleft/package.json +1 -2
- package/node_modules/lodash.padright/package.json +1 -2
- package/node_modules/lodash.repeat/package.json +1 -2
- package/node_modules/node-pre-gyp/CHANGELOG.md +8 -0
- package/node_modules/node-pre-gyp/README.md +570 -0
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +4 -0
- package/node_modules/node-pre-gyp/node_modules/nopt/lib/nopt.js +2 -1
- package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/package.json +30 -37
- package/node_modules/node-pre-gyp/node_modules/nopt/package.json +37 -57
- package/node_modules/node-pre-gyp/node_modules/nopt/test/basic.js +22 -0
- package/node_modules/node-pre-gyp/package.json +17 -17
- package/node_modules/node-uuid/.npmignore +2 -0
- package/node_modules/node-uuid/README.md +12 -1
- package/node_modules/node-uuid/bower.json +1 -1
- package/node_modules/node-uuid/component.json +11 -4
- package/node_modules/node-uuid/package.json +25 -12
- package/node_modules/node-uuid/test/test.js +3 -0
- package/node_modules/node-uuid/uuid.js +70 -45
- package/node_modules/npmlog/.travis.yml +14 -0
- package/node_modules/npmlog/log.js +3 -0
- package/node_modules/npmlog/package.json +23 -20
- package/node_modules/npmlog/test/basic.js +8 -1
- package/node_modules/once/package.json +2 -3
- package/node_modules/pinkie/index.js +23 -7
- package/node_modules/pinkie/package.json +22 -15
- package/node_modules/pinkie/readme.md +17 -9
- package/node_modules/pinkie-promise/package.json +16 -14
- package/node_modules/pinkie-promise/readme.md +5 -3
- package/node_modules/rc/README.md +1 -1
- package/node_modules/rc/index.js +1 -1
- package/node_modules/rc/node_modules/minimist/package.json +1 -1
- package/node_modules/rc/package.json +12 -12
- package/node_modules/request/.eslintrc +1 -1
- package/node_modules/request/.travis.yml +4 -4
- package/node_modules/request/CHANGELOG.md +25 -0
- package/node_modules/request/README.md +12 -13
- package/node_modules/request/lib/har.js +84 -75
- package/node_modules/request/lib/redirect.js +2 -3
- package/node_modules/request/lib/tunnel.js +13 -18
- package/node_modules/request/package.json +17 -16
- package/node_modules/request/request.js +16 -59
- package/node_modules/rimraf/README.md +7 -2
- package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/package.json +5 -25
- package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/package.json +5 -25
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +16 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +42 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +1 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +58 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +25 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +3 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +122 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +2 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +3 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +80 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +38 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +79 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +56 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +4 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +90 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +81 -0
- package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/package.json +3 -21
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +58 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +70 -0
- package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/package.json +4 -22
- package/node_modules/rimraf/node_modules/glob/package.json +2 -20
- package/node_modules/rimraf/package.json +10 -10
- package/node_modules/semver/README.md +25 -1
- package/node_modules/semver/package.json +10 -10
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/semver.js +0 -12
- package/node_modules/sshpk/.npmignore +8 -0
- package/node_modules/sshpk/.travis.yml +11 -0
- package/node_modules/sshpk/LICENSE +18 -0
- package/node_modules/sshpk/README.md +436 -0
- package/node_modules/sshpk/bin/sshpk-conv +183 -0
- package/node_modules/sshpk/lib/algs.js +168 -0
- package/node_modules/sshpk/lib/dhe.js +312 -0
- package/node_modules/sshpk/lib/ed-compat.js +94 -0
- package/node_modules/sshpk/lib/errors.js +58 -0
- package/node_modules/sshpk/lib/fingerprint.js +140 -0
- package/node_modules/sshpk/lib/formats/auto.js +73 -0
- package/node_modules/sshpk/lib/formats/pem.js +152 -0
- package/node_modules/sshpk/lib/formats/pkcs1.js +320 -0
- package/node_modules/sshpk/lib/formats/pkcs8.js +510 -0
- package/node_modules/sshpk/lib/formats/rfc4253.js +145 -0
- package/node_modules/sshpk/lib/formats/ssh-private.js +138 -0
- package/node_modules/sshpk/lib/formats/ssh.js +114 -0
- package/node_modules/sshpk/lib/index.js +25 -0
- package/node_modules/sshpk/lib/key.js +260 -0
- package/node_modules/sshpk/lib/private-key.js +224 -0
- package/node_modules/sshpk/lib/signature.js +237 -0
- package/node_modules/sshpk/lib/ssh-buffer.js +123 -0
- package/node_modules/sshpk/lib/utils.js +207 -0
- package/node_modules/sshpk/node_modules/assert-plus/AUTHORS +6 -0
- package/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +8 -0
- package/node_modules/sshpk/node_modules/assert-plus/README.md +155 -0
- package/node_modules/sshpk/node_modules/assert-plus/assert.js +206 -0
- package/node_modules/sshpk/node_modules/assert-plus/package.json +88 -0
- package/node_modules/sshpk/package.json +92 -0
- package/node_modules/strip-json-comments/cli.js +2 -2
- package/node_modules/strip-json-comments/package.json +13 -12
- package/node_modules/strip-json-comments/readme.md +11 -5
- package/node_modules/strip-json-comments/strip-json-comments.js +16 -7
- package/node_modules/tar/package.json +1 -2
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +11 -11
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/package.json +17 -12
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/test.js +68 -0
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/package.json +1 -1
- package/node_modules/tar-pack/node_modules/rimraf/package.json +1 -2
- package/node_modules/tar-pack/package.json +1 -2
- package/node_modules/tough-cookie/lib/cookie.js +1 -1
- package/node_modules/tough-cookie/package.json +7 -7
- package/node_modules/tweetnacl/.npmignore +4 -0
- package/node_modules/tweetnacl/CHANGELOG.md +128 -0
- package/node_modules/tweetnacl/README.md +463 -0
- package/node_modules/tweetnacl/nacl-fast.js +2418 -0
- package/node_modules/tweetnacl/nacl-fast.min.js +2 -0
- package/node_modules/tweetnacl/nacl.js +1205 -0
- package/node_modules/tweetnacl/nacl.min.js +1 -0
- package/node_modules/tweetnacl/package.json +101 -0
- package/node_modules/uid-number/package.json +2 -3
- package/node_modules/verror/.gitmodules +0 -0
- package/node_modules/verror/LICENSE +19 -0
- package/node_modules/verror/Makefile +35 -0
- package/node_modules/verror/Makefile.targ +285 -0
- package/node_modules/verror/README.md +120 -0
- package/node_modules/verror/examples/levels-verror.js +36 -0
- package/node_modules/verror/examples/levels-werror.js +34 -0
- package/node_modules/verror/examples/varargs.js +6 -0
- package/node_modules/verror/examples/verror.js +13 -0
- package/node_modules/verror/examples/werror.js +14 -0
- package/node_modules/verror/jsl.node.conf +139 -0
- package/node_modules/verror/lib/verror.js +157 -0
- package/node_modules/verror/package.json +51 -0
- package/node_modules/verror/tests/tst.inherit.js +100 -0
- package/node_modules/verror/tests/tst.verror.js +156 -0
- package/node_modules/verror/tests/tst.werror.js +179 -0
- package/package.json +3 -3
- package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/util.js +0 -106
- package/node_modules/core-util-is/util.js +0 -106
- package/node_modules/ctype/.npmignore +0 -1
- package/node_modules/ctype/CHANGELOG +0 -78
- package/node_modules/ctype/README +0 -82
- package/node_modules/ctype/README.old +0 -298
- package/node_modules/ctype/ctf.js +0 -245
- package/node_modules/ctype/ctio.js +0 -1485
- package/node_modules/ctype/ctype.js +0 -944
- package/node_modules/ctype/man/man3ctype/ctio.3ctype +0 -241
- package/node_modules/ctype/package.json +0 -51
- package/node_modules/ctype/tools/jsstyle +0 -839
- package/node_modules/http-signature/lib/util.js +0 -306
- package/node_modules/inflight/node_modules/once/package.json +0 -86
- package/node_modules/inflight/node_modules/once/test/once.js +0 -23
- package/node_modules/rimraf/node_modules/glob/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/minimatch/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/once/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/once/README.md +0 -51
- package/node_modules/rimraf/node_modules/once/once.js +0 -21
- package/node_modules/rimraf/node_modules/once/package.json +0 -84
- package/node_modules/rimraf/node_modules/once/test/once.js +0 -23
- package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/util.js +0 -106
- package/node_modules/wrappy/LICENSE +0 -15
- /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/.npmignore +0 -0
- /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/README.md +0 -0
- /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/example.js +0 -0
- /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/index.js +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/.npmignore +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/.travis.yml +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/LICENSE.md +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/Makefile +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/README.md +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/example.js +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/index.js +0 -0
- /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/test/balanced.js +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/.travis.yml +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/LICENSE +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/README.markdown +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/example/map.js +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/index.js +0 -0
- /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/test/map.js +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/.npmignore +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/.travis.yml +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/CONTRIBUTING.md +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/LICENSE +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/README.md +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/abbrev.js +0 -0
- /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/test.js +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/.eslintrc +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/LICENSE +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/README.md +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/inflight.js +0 -0
- /package/node_modules/{fstream-ignore/node_modules/minimatch → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/LICENSE +0 -0
- /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/README.md +0 -0
- /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/test/basic.js +0 -0
- /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/wrappy.js +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/test.js +0 -0
- /package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/README.md +0 -0
- /package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/minimatch.js +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob}/node_modules/once/README.md +0 -0
- /package/node_modules/{inflight/node_modules/once → rimraf/node_modules/glob/node_modules/once/node_modules/wrappy}/LICENSE +0 -0
- /package/node_modules/{inflight → rimraf/node_modules/glob}/node_modules/once/once.js +0 -0
- /package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/index.js +0 -0
- /package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/readme.md +0 -0
- /package/node_modules/{deep-extend → verror}/.npmignore +0 -0
package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
var test = require('tap').test
|
2
|
+
var wrappy = require('../wrappy.js')
|
3
|
+
|
4
|
+
test('basic', function (t) {
|
5
|
+
function onceifier (cb) {
|
6
|
+
var called = false
|
7
|
+
return function () {
|
8
|
+
if (called) return
|
9
|
+
called = true
|
10
|
+
return cb.apply(this, arguments)
|
11
|
+
}
|
12
|
+
}
|
13
|
+
onceifier.iAmOnce = {}
|
14
|
+
var once = wrappy(onceifier)
|
15
|
+
t.equal(once.iAmOnce, onceifier.iAmOnce)
|
16
|
+
|
17
|
+
var called = 0
|
18
|
+
function boo () {
|
19
|
+
t.equal(called, 0)
|
20
|
+
called++
|
21
|
+
}
|
22
|
+
// has some rando property
|
23
|
+
boo.iAmBoo = true
|
24
|
+
|
25
|
+
var onlyPrintOnce = once(boo)
|
26
|
+
|
27
|
+
onlyPrintOnce() // prints 'boo'
|
28
|
+
onlyPrintOnce() // does nothing
|
29
|
+
t.equal(called, 1)
|
30
|
+
|
31
|
+
// random property is retained!
|
32
|
+
t.equal(onlyPrintOnce.iAmBoo, true)
|
33
|
+
|
34
|
+
var logs = []
|
35
|
+
var logwrap = wrappy(function (msg, cb) {
|
36
|
+
logs.push(msg + ' wrapping cb')
|
37
|
+
return function () {
|
38
|
+
logs.push(msg + ' before cb')
|
39
|
+
var ret = cb.apply(this, arguments)
|
40
|
+
logs.push(msg + ' after cb')
|
41
|
+
}
|
42
|
+
})
|
43
|
+
|
44
|
+
var c = logwrap('foo', function () {
|
45
|
+
t.same(logs, [ 'foo wrapping cb', 'foo before cb' ])
|
46
|
+
})
|
47
|
+
c()
|
48
|
+
t.same(logs, [ 'foo wrapping cb', 'foo before cb', 'foo after cb' ])
|
49
|
+
|
50
|
+
t.end()
|
51
|
+
})
|
@@ -0,0 +1,33 @@
|
|
1
|
+
// Returns a wrapper function that returns a wrapped callback
|
2
|
+
// The wrapper function should do some stuff, and return a
|
3
|
+
// presumably different callback function.
|
4
|
+
// This makes sure that own properties are retained, so that
|
5
|
+
// decorations and such are not lost along the way.
|
6
|
+
module.exports = wrappy
|
7
|
+
function wrappy (fn, cb) {
|
8
|
+
if (fn && cb) return wrappy(fn)(cb)
|
9
|
+
|
10
|
+
if (typeof fn !== 'function')
|
11
|
+
throw new TypeError('need wrapper function')
|
12
|
+
|
13
|
+
Object.keys(fn).forEach(function (k) {
|
14
|
+
wrapper[k] = fn[k]
|
15
|
+
})
|
16
|
+
|
17
|
+
return wrapper
|
18
|
+
|
19
|
+
function wrapper() {
|
20
|
+
var args = new Array(arguments.length)
|
21
|
+
for (var i = 0; i < args.length; i++) {
|
22
|
+
args[i] = arguments[i]
|
23
|
+
}
|
24
|
+
var ret = fn.apply(this, args)
|
25
|
+
var cb = args[args.length-1]
|
26
|
+
if (typeof ret === 'function' && ret !== cb) {
|
27
|
+
Object.keys(cb).forEach(function (k) {
|
28
|
+
ret[k] = cb[k]
|
29
|
+
})
|
30
|
+
}
|
31
|
+
return ret
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
{
|
2
|
+
"_from": "once@^1.3.0",
|
3
|
+
"_id": "once@1.3.3",
|
4
|
+
"_location": "/rimraf/glob/once",
|
5
|
+
"_nodeVersion": "4.0.0",
|
6
|
+
"_npmUser": {
|
7
|
+
"email": "i@izs.me",
|
8
|
+
"name": "isaacs"
|
9
|
+
},
|
10
|
+
"_npmVersion": "3.3.2",
|
11
|
+
"_phantomChildren": {},
|
12
|
+
"_requiredBy": [
|
13
|
+
"/rimraf/glob",
|
14
|
+
"/rimraf/glob/inflight"
|
15
|
+
],
|
16
|
+
"_resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz",
|
17
|
+
"_shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
|
18
|
+
"author": {
|
19
|
+
"email": "i@izs.me",
|
20
|
+
"name": "Isaac Z. Schlueter",
|
21
|
+
"url": "http://blog.izs.me/"
|
22
|
+
},
|
23
|
+
"bugs": {
|
24
|
+
"url": "https://github.com/isaacs/once/issues"
|
25
|
+
},
|
26
|
+
"dependencies": {
|
27
|
+
"wrappy": "1"
|
28
|
+
},
|
29
|
+
"description": "Run a function exactly one time",
|
30
|
+
"devDependencies": {
|
31
|
+
"tap": "^1.2.0"
|
32
|
+
},
|
33
|
+
"directories": {
|
34
|
+
"test": "test"
|
35
|
+
},
|
36
|
+
"dist": {
|
37
|
+
"shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
|
38
|
+
"tarball": "http://registry.npmjs.org/once/-/once-1.3.3.tgz"
|
39
|
+
},
|
40
|
+
"files": [
|
41
|
+
"once.js"
|
42
|
+
],
|
43
|
+
"gitHead": "2ad558657e17fafd24803217ba854762842e4178",
|
44
|
+
"homepage": "https://github.com/isaacs/once#readme",
|
45
|
+
"keywords": [
|
46
|
+
"function",
|
47
|
+
"once",
|
48
|
+
"one",
|
49
|
+
"single"
|
50
|
+
],
|
51
|
+
"license": "ISC",
|
52
|
+
"main": "once.js",
|
53
|
+
"maintainers": [
|
54
|
+
{
|
55
|
+
"name": "isaacs",
|
56
|
+
"email": "i@izs.me"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"name": "once",
|
60
|
+
"optionalDependencies": {},
|
61
|
+
"readme": "ERROR: No README data found!",
|
62
|
+
"repository": {
|
63
|
+
"type": "git",
|
64
|
+
"url": "git://github.com/isaacs/once.git"
|
65
|
+
},
|
66
|
+
"scripts": {
|
67
|
+
"test": "tap test/*.js"
|
68
|
+
},
|
69
|
+
"version": "1.3.3"
|
70
|
+
}
|
@@ -1,15 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"path-is-absolute@^1.0.0",
|
5
|
-
"/Users/eshanker/Code/fsevents/node_modules/rimraf/node_modules/glob"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "path-is-absolute@>=1.0.0 <2.0.0",
|
2
|
+
"_from": "path-is-absolute@^1.0.0",
|
9
3
|
"_id": "path-is-absolute@1.0.0",
|
10
|
-
"
|
11
|
-
"_installable": true,
|
12
|
-
"_location": "/path-is-absolute",
|
4
|
+
"_location": "/rimraf/glob/path-is-absolute",
|
13
5
|
"_nodeVersion": "0.12.0",
|
14
6
|
"_npmUser": {
|
15
7
|
"email": "sindresorhus@gmail.com",
|
@@ -17,22 +9,11 @@
|
|
17
9
|
},
|
18
10
|
"_npmVersion": "2.5.1",
|
19
11
|
"_phantomChildren": {},
|
20
|
-
"_requested": {
|
21
|
-
"name": "path-is-absolute",
|
22
|
-
"raw": "path-is-absolute@^1.0.0",
|
23
|
-
"rawSpec": "^1.0.0",
|
24
|
-
"scope": null,
|
25
|
-
"spec": ">=1.0.0 <2.0.0",
|
26
|
-
"type": "range"
|
27
|
-
},
|
28
12
|
"_requiredBy": [
|
29
13
|
"/rimraf/glob"
|
30
14
|
],
|
31
15
|
"_resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz",
|
32
16
|
"_shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912",
|
33
|
-
"_shrinkwrap": null,
|
34
|
-
"_spec": "path-is-absolute@^1.0.0",
|
35
|
-
"_where": "/Users/eshanker/Code/fsevents/node_modules/rimraf/node_modules/glob",
|
36
17
|
"author": {
|
37
18
|
"email": "sindresorhus@gmail.com",
|
38
19
|
"name": "Sindre Sorhus",
|
@@ -85,9 +66,10 @@
|
|
85
66
|
],
|
86
67
|
"name": "path-is-absolute",
|
87
68
|
"optionalDependencies": {},
|
69
|
+
"readme": "ERROR: No README data found!",
|
88
70
|
"repository": {
|
89
71
|
"type": "git",
|
90
|
-
"url": "https://github.com/sindresorhus/path-is-absolute"
|
72
|
+
"url": "git+https://github.com/sindresorhus/path-is-absolute.git"
|
91
73
|
},
|
92
74
|
"scripts": {
|
93
75
|
"test": "node test.js"
|
@@ -1,14 +1,6 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"glob@^5.0.14",
|
5
|
-
"/Users/eshanker/Code/fsevents/node_modules/rimraf"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "glob@>=5.0.14 <6.0.0",
|
2
|
+
"_from": "glob@^5.0.14",
|
9
3
|
"_id": "glob@5.0.15",
|
10
|
-
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
4
|
"_location": "/rimraf/glob",
|
13
5
|
"_nodeVersion": "4.0.0",
|
14
6
|
"_npmUser": {
|
@@ -17,22 +9,11 @@
|
|
17
9
|
},
|
18
10
|
"_npmVersion": "3.3.2",
|
19
11
|
"_phantomChildren": {},
|
20
|
-
"_requested": {
|
21
|
-
"name": "glob",
|
22
|
-
"raw": "glob@^5.0.14",
|
23
|
-
"rawSpec": "^5.0.14",
|
24
|
-
"scope": null,
|
25
|
-
"spec": ">=5.0.14 <6.0.0",
|
26
|
-
"type": "range"
|
27
|
-
},
|
28
12
|
"_requiredBy": [
|
29
13
|
"/rimraf"
|
30
14
|
],
|
31
15
|
"_resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
|
32
16
|
"_shasum": "1bc936b9e02f4a603fcc222ecf7633d30b8b93b1",
|
33
|
-
"_shrinkwrap": null,
|
34
|
-
"_spec": "glob@^5.0.14",
|
35
|
-
"_where": "/Users/eshanker/Code/fsevents/node_modules/rimraf",
|
36
17
|
"author": {
|
37
18
|
"email": "i@izs.me",
|
38
19
|
"name": "Isaac Z. Schlueter",
|
@@ -80,6 +61,7 @@
|
|
80
61
|
],
|
81
62
|
"name": "glob",
|
82
63
|
"optionalDependencies": {},
|
64
|
+
"readme": "ERROR: No README data found!",
|
83
65
|
"repository": {
|
84
66
|
"type": "git",
|
85
67
|
"url": "git://github.com/isaacs/node-glob.git"
|
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"_from": "rimraf@~2.4.0",
|
3
|
-
"_id": "rimraf@2.4.
|
3
|
+
"_id": "rimraf@2.4.4",
|
4
4
|
"_location": "/rimraf",
|
5
|
-
"_nodeVersion": "
|
5
|
+
"_nodeVersion": "4.0.0",
|
6
6
|
"_npmUser": {
|
7
|
-
"email": "
|
7
|
+
"email": "i@izs.me",
|
8
8
|
"name": "isaacs"
|
9
9
|
},
|
10
|
-
"_npmVersion": "3.
|
10
|
+
"_npmVersion": "3.3.2",
|
11
11
|
"_phantomChildren": {},
|
12
12
|
"_requiredBy": [
|
13
13
|
"/fstream",
|
14
14
|
"/node-pre-gyp"
|
15
15
|
],
|
16
|
-
"_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.
|
17
|
-
"_shasum": "
|
16
|
+
"_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.4.tgz",
|
17
|
+
"_shasum": "b528ce2ebe0e6d89fb03b265de11d61da0dbcf82",
|
18
18
|
"author": {
|
19
19
|
"email": "i@izs.me",
|
20
20
|
"name": "Isaac Z. Schlueter",
|
@@ -36,8 +36,8 @@
|
|
36
36
|
},
|
37
37
|
"directories": {},
|
38
38
|
"dist": {
|
39
|
-
"shasum": "
|
40
|
-
"tarball": "http://registry.npmjs.org/rimraf/-/rimraf-2.4.
|
39
|
+
"shasum": "b528ce2ebe0e6d89fb03b265de11d61da0dbcf82",
|
40
|
+
"tarball": "http://registry.npmjs.org/rimraf/-/rimraf-2.4.4.tgz"
|
41
41
|
},
|
42
42
|
"files": [
|
43
43
|
"LICENSE",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"bin.js",
|
46
46
|
"rimraf.js"
|
47
47
|
],
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "62ae8a4037e7190691eeab35265aed1c768d23e3",
|
49
49
|
"homepage": "https://github.com/isaacs/rimraf#readme",
|
50
50
|
"license": "ISC",
|
51
51
|
"main": "rimraf.js",
|
@@ -65,5 +65,5 @@
|
|
65
65
|
"scripts": {
|
66
66
|
"test": "tap test/*.js"
|
67
67
|
},
|
68
|
-
"version": "2.4.
|
68
|
+
"version": "2.4.4"
|
69
69
|
}
|
@@ -107,7 +107,7 @@ The method `.inc` takes an additional `identifier` string argument that
|
|
107
107
|
will append the value of the string as a prerelease identifier:
|
108
108
|
|
109
109
|
```javascript
|
110
|
-
> semver.inc('1.2.3', '
|
110
|
+
> semver.inc('1.2.3', 'prerelease', 'beta')
|
111
111
|
'1.2.4-beta.0'
|
112
112
|
```
|
113
113
|
|
@@ -228,6 +228,30 @@ zero.
|
|
228
228
|
* `^1.x` := `>=1.0.0 <2.0.0`
|
229
229
|
* `^0.x` := `>=0.0.0 <1.0.0`
|
230
230
|
|
231
|
+
### Range Grammar
|
232
|
+
|
233
|
+
Putting all this together, here is a Backus-Naur grammar for ranges,
|
234
|
+
for the benefit of parser authors:
|
235
|
+
|
236
|
+
```bnf
|
237
|
+
range-set ::= range ( logical-or range ) *
|
238
|
+
logical-or ::= ( ' ' ) * '||' ( ' ' ) *
|
239
|
+
range ::= hyphen | simple ( ' ' simple ) * | ''
|
240
|
+
hyphen ::= partial ' - ' partial
|
241
|
+
simple ::= primitive | partial | tilde | caret
|
242
|
+
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' | ) partial
|
243
|
+
partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
|
244
|
+
xr ::= 'x' | 'X' | '*' | nr
|
245
|
+
nr ::= '0' | ['1'-'9']['0'-'9']+
|
246
|
+
tilde ::= '~' partial
|
247
|
+
caret ::= '^' partial
|
248
|
+
qualifier ::= ( '-' pre )? ( '+' build )?
|
249
|
+
pre ::= parts
|
250
|
+
build ::= parts
|
251
|
+
parts ::= part ( '.' part ) *
|
252
|
+
part ::= nr | [-0-9A-Za-z]+
|
253
|
+
```
|
254
|
+
|
231
255
|
## Functions
|
232
256
|
|
233
257
|
All methods and classes take a final `loose` boolean argument that, if
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
|
-
"_from": "semver@~5.0
|
3
|
-
"_id": "semver@5.0
|
2
|
+
"_from": "semver@~5.1.0",
|
3
|
+
"_id": "semver@5.1.0",
|
4
4
|
"_location": "/semver",
|
5
5
|
"_nodeVersion": "4.0.0",
|
6
6
|
"_npmUser": {
|
7
|
-
"email": "
|
7
|
+
"email": "i@izs.me",
|
8
8
|
"name": "isaacs"
|
9
9
|
},
|
10
10
|
"_npmVersion": "3.3.2",
|
@@ -12,8 +12,8 @@
|
|
12
12
|
"_requiredBy": [
|
13
13
|
"/node-pre-gyp"
|
14
14
|
],
|
15
|
-
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.0.
|
16
|
-
"_shasum": "
|
15
|
+
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.1.0.tgz",
|
16
|
+
"_shasum": "85f2cf8550465c4df000cf7d86f6b054106ab9e5",
|
17
17
|
"bin": {
|
18
18
|
"semver": "./bin/semver"
|
19
19
|
},
|
@@ -23,14 +23,14 @@
|
|
23
23
|
"dependencies": {},
|
24
24
|
"description": "The semantic version parser used by npm.",
|
25
25
|
"devDependencies": {
|
26
|
-
"tap": "^
|
26
|
+
"tap": "^2.0.0"
|
27
27
|
},
|
28
28
|
"directories": {},
|
29
29
|
"dist": {
|
30
|
-
"shasum": "
|
31
|
-
"tarball": "http://registry.npmjs.org/semver/-/semver-5.0.
|
30
|
+
"shasum": "85f2cf8550465c4df000cf7d86f6b054106ab9e5",
|
31
|
+
"tarball": "http://registry.npmjs.org/semver/-/semver-5.1.0.tgz"
|
32
32
|
},
|
33
|
-
"gitHead": "
|
33
|
+
"gitHead": "8e33a30e62e40e4983d1c5f55e794331b861aadc",
|
34
34
|
"homepage": "https://github.com/npm/node-semver#readme",
|
35
35
|
"license": "ISC",
|
36
36
|
"main": "semver.js",
|
@@ -54,5 +54,5 @@
|
|
54
54
|
"scripts": {
|
55
55
|
"test": "tap test/*.js"
|
56
56
|
},
|
57
|
-
"version": "5.0
|
57
|
+
"version": "5.1.0"
|
58
58
|
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
range-set ::= range ( logical-or range ) *
|
2
|
+
logical-or ::= ( ' ' ) * '||' ( ' ' ) *
|
3
|
+
range ::= hyphen | simple ( ' ' simple ) * | ''
|
4
|
+
hyphen ::= partial ' - ' partial
|
5
|
+
simple ::= primitive | partial | tilde | caret
|
6
|
+
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' | ) partial
|
7
|
+
partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
|
8
|
+
xr ::= 'x' | 'X' | '*' | nr
|
9
|
+
nr ::= '0' | ['1'-'9']['0'-'9']+
|
10
|
+
tilde ::= '~' partial
|
11
|
+
caret ::= '^' partial
|
12
|
+
qualifier ::= ( '-' pre )? ( '+' build )?
|
13
|
+
pre ::= parts
|
14
|
+
build ::= parts
|
15
|
+
parts ::= part ( '.' part ) *
|
16
|
+
part ::= nr | [-0-9A-Za-z]+
|
@@ -332,10 +332,6 @@ SemVer.prototype.format = function() {
|
|
332
332
|
return this.version;
|
333
333
|
};
|
334
334
|
|
335
|
-
SemVer.prototype.inspect = function() {
|
336
|
-
return '<SemVer "' + this + '">';
|
337
|
-
};
|
338
|
-
|
339
335
|
SemVer.prototype.toString = function() {
|
340
336
|
return this.version;
|
341
337
|
};
|
@@ -692,10 +688,6 @@ Comparator.prototype.parse = function(comp) {
|
|
692
688
|
this.semver = new SemVer(m[2], this.loose);
|
693
689
|
};
|
694
690
|
|
695
|
-
Comparator.prototype.inspect = function() {
|
696
|
-
return '<SemVer Comparator "' + this + '">';
|
697
|
-
};
|
698
|
-
|
699
691
|
Comparator.prototype.toString = function() {
|
700
692
|
return this.value;
|
701
693
|
};
|
@@ -739,10 +731,6 @@ function Range(range, loose) {
|
|
739
731
|
this.format();
|
740
732
|
}
|
741
733
|
|
742
|
-
Range.prototype.inspect = function() {
|
743
|
-
return '<SemVer Range "' + this.range + '">';
|
744
|
-
};
|
745
|
-
|
746
734
|
Range.prototype.format = function() {
|
747
735
|
this.range = this.set.map(function(comps) {
|
748
736
|
return comps.join(' ').trim();
|
@@ -0,0 +1,18 @@
|
|
1
|
+
Copyright Joyent, Inc. All rights reserved.
|
2
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
3
|
+
of this software and associated documentation files (the "Software"), to
|
4
|
+
deal in the Software without restriction, including without limitation the
|
5
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
6
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
7
|
+
furnished to do so, subject to the following conditions:
|
8
|
+
|
9
|
+
The above copyright notice and this permission notice shall be included in
|
10
|
+
all copies or substantial portions of the Software.
|
11
|
+
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
17
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
18
|
+
IN THE SOFTWARE.
|