fsevents 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fsevents might be problematic. Click here for more details.
- package/.travis.yml +7 -9
- package/build/.target.mk +6 -2
- package/build/Makefile +6 -6
- package/build/Release/.deps/Release/.node.d +1 -0
- package/build/Release/.deps/Release/fse.node.d +1 -0
- package/build/Release/.deps/Release/obj.target/action_after_build.stamp.d +1 -0
- package/build/Release/.deps/Release/obj.target/fse/fsevents.o.d +65 -0
- package/build/Release/.deps/Users/eshanker/Code/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node.d +1 -0
- package/build/Release/.node +0 -0
- package/build/Release/fse.node +0 -0
- package/build/Release/obj.target/action_after_build.stamp +0 -0
- package/build/Release/obj.target/fse/fsevents.o +0 -0
- package/build/action_after_build.target.mk +4 -4
- package/build/fse.target.mk +22 -12
- package/build/gyp-mac-tool +1 -2
- package/build/stage/v1.1.2/fse-v1.1.2-node-v48-darwin-x64.tar.gz +0 -0
- package/lib/binding/Release/node-v48-darwin-x64/fse.node +0 -0
- package/lib/binding/Release/node-v57-darwin-x64/fse.node +0 -0
- package/node_modules/abbrev/package.json +15 -51
- package/node_modules/ajv/.tonic_example.js +20 -0
- package/node_modules/{is-my-json-valid → ajv}/LICENSE +6 -5
- package/node_modules/ajv/README.md +1213 -0
- package/node_modules/ajv/dist/ajv.bundle.js +8023 -0
- package/node_modules/ajv/dist/ajv.min.js +6 -0
- package/node_modules/ajv/dist/ajv.min.js.map +1 -0
- package/node_modules/ajv/dist/nodent.min.js +8 -0
- package/node_modules/ajv/dist/regenerator.min.js +32 -0
- package/node_modules/ajv/lib/ajv.d.ts +284 -0
- package/node_modules/ajv/lib/ajv.js +420 -0
- package/node_modules/ajv/lib/async.js +218 -0
- package/node_modules/ajv/lib/cache.js +26 -0
- package/node_modules/ajv/lib/compile/_rules.js +28 -0
- package/node_modules/ajv/lib/compile/equal.js +45 -0
- package/node_modules/ajv/lib/compile/formats.js +164 -0
- package/node_modules/ajv/lib/compile/index.js +390 -0
- package/node_modules/ajv/lib/compile/resolve.js +267 -0
- package/node_modules/ajv/lib/compile/rules.js +40 -0
- package/node_modules/ajv/lib/compile/schema_obj.js +9 -0
- package/node_modules/ajv/lib/compile/ucs2length.js +20 -0
- package/node_modules/ajv/lib/compile/util.js +257 -0
- package/node_modules/ajv/lib/compile/validation_error.js +14 -0
- package/node_modules/ajv/lib/dot/_limit.jst +49 -0
- package/node_modules/ajv/lib/dot/_limitItems.jst +10 -0
- package/node_modules/ajv/lib/dot/_limitLength.jst +10 -0
- package/node_modules/ajv/lib/dot/_limitProperties.jst +10 -0
- package/node_modules/ajv/lib/dot/allOf.jst +34 -0
- package/node_modules/ajv/lib/dot/anyOf.jst +48 -0
- package/node_modules/ajv/lib/dot/coerce.def +61 -0
- package/node_modules/ajv/lib/dot/custom.jst +184 -0
- package/node_modules/ajv/lib/dot/defaults.def +32 -0
- package/node_modules/ajv/lib/dot/definitions.def +182 -0
- package/node_modules/ajv/lib/dot/dependencies.jst +69 -0
- package/node_modules/ajv/lib/dot/enum.jst +30 -0
- package/node_modules/ajv/lib/dot/errors.def +185 -0
- package/node_modules/ajv/lib/dot/format.jst +100 -0
- package/node_modules/ajv/lib/dot/items.jst +101 -0
- package/node_modules/ajv/lib/dot/missing.def +34 -0
- package/node_modules/ajv/lib/dot/multipleOf.jst +20 -0
- package/node_modules/ajv/lib/dot/not.jst +43 -0
- package/node_modules/ajv/lib/dot/oneOf.jst +44 -0
- package/node_modules/ajv/lib/dot/pattern.jst +14 -0
- package/node_modules/ajv/lib/dot/properties.jst +319 -0
- package/node_modules/ajv/lib/dot/ref.jst +86 -0
- package/node_modules/ajv/lib/dot/required.jst +96 -0
- package/node_modules/ajv/lib/dot/uniqueItems.jst +38 -0
- package/node_modules/ajv/lib/dot/v5/_formatLimit.jst +116 -0
- package/node_modules/ajv/lib/dot/v5/constant.jst +10 -0
- package/node_modules/ajv/lib/dot/v5/patternRequired.jst +28 -0
- package/node_modules/ajv/lib/dot/v5/switch.jst +73 -0
- package/node_modules/ajv/lib/dot/validate.jst +210 -0
- package/node_modules/ajv/lib/dotjs/README.md +3 -0
- package/node_modules/ajv/lib/dotjs/_formatLimit.js +176 -0
- package/node_modules/ajv/lib/dotjs/_limit.js +124 -0
- package/node_modules/ajv/lib/dotjs/_limitItems.js +76 -0
- package/node_modules/ajv/lib/dotjs/_limitLength.js +81 -0
- package/node_modules/ajv/lib/dotjs/_limitProperties.js +76 -0
- package/node_modules/ajv/lib/dotjs/allOf.js +43 -0
- package/node_modules/ajv/lib/dotjs/anyOf.js +65 -0
- package/node_modules/ajv/lib/dotjs/constant.js +52 -0
- package/node_modules/ajv/lib/dotjs/custom.js +220 -0
- package/node_modules/ajv/lib/dotjs/dependencies.js +147 -0
- package/node_modules/ajv/lib/dotjs/enum.js +65 -0
- package/node_modules/ajv/lib/dotjs/format.js +138 -0
- package/node_modules/ajv/lib/dotjs/items.js +144 -0
- package/node_modules/ajv/lib/dotjs/multipleOf.js +76 -0
- package/node_modules/ajv/lib/dotjs/not.js +83 -0
- package/node_modules/ajv/lib/dotjs/oneOf.js +76 -0
- package/node_modules/ajv/lib/dotjs/pattern.js +74 -0
- package/node_modules/ajv/lib/dotjs/patternRequired.js +51 -0
- package/node_modules/ajv/lib/dotjs/properties.js +445 -0
- package/node_modules/ajv/lib/dotjs/ref.js +119 -0
- package/node_modules/ajv/lib/dotjs/required.js +249 -0
- package/node_modules/ajv/lib/dotjs/switch.js +128 -0
- package/node_modules/ajv/lib/dotjs/uniqueItems.js +71 -0
- package/node_modules/ajv/lib/dotjs/validate.js +375 -0
- package/node_modules/ajv/lib/keyword.js +129 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-04.json +150 -0
- package/node_modules/ajv/lib/refs/json-schema-v5.json +328 -0
- package/node_modules/ajv/lib/v5.js +52 -0
- package/node_modules/ajv/package.json +132 -0
- package/node_modules/ajv/scripts/.eslintrc.yml +3 -0
- package/node_modules/ajv/scripts/bundle.js +54 -0
- package/node_modules/ajv/scripts/compile-dots.js +73 -0
- package/node_modules/ajv/scripts/info +10 -0
- package/node_modules/ajv/scripts/prepare-tests +9 -0
- package/node_modules/ajv/scripts/travis-gh-pages +23 -0
- package/node_modules/ansi-regex/package.json +26 -49
- package/node_modules/aproba/package.json +15 -48
- package/node_modules/are-we-there-yet/CHANGES.md +12 -0
- package/node_modules/are-we-there-yet/CHANGES.md~ +27 -0
- package/node_modules/are-we-there-yet/README.md +4 -3
- package/node_modules/are-we-there-yet/package.json +28 -54
- package/node_modules/asn1/package.json +16 -48
- package/node_modules/assert-plus/package.json +15 -47
- package/node_modules/asynckit/package.json +15 -49
- package/node_modules/aws-sign2/package.json +15 -45
- package/node_modules/aws4/package.json +15 -50
- package/node_modules/balanced-match/package.json +15 -49
- package/node_modules/bcrypt-pbkdf/package.json +16 -62
- package/node_modules/block-stream/package.json +15 -49
- package/node_modules/boom/package.json +15 -54
- package/node_modules/brace-expansion/README.md +1 -0
- package/node_modules/brace-expansion/index.js +1 -1
- package/node_modules/brace-expansion/package.json +20 -56
- package/node_modules/buffer-shims/package.json +15 -51
- package/node_modules/caseless/index.js +1 -0
- package/node_modules/caseless/package.json +19 -58
- package/node_modules/caseless/test.js +27 -0
- package/node_modules/co/History.md +172 -0
- package/node_modules/{commander → co}/LICENSE +1 -1
- package/node_modules/co/Readme.md +212 -0
- package/node_modules/co/index.js +237 -0
- package/node_modules/co/package.json +67 -0
- package/node_modules/code-point-at/package.json +15 -50
- package/node_modules/combined-stream/package.json +15 -58
- package/node_modules/concat-map/package.json +13 -41
- package/node_modules/console-control-strings/package.json +15 -50
- package/node_modules/core-util-is/package.json +15 -47
- package/node_modules/cryptiles/package.json +15 -49
- package/node_modules/dashdash/node_modules/assert-plus/package.json +15 -47
- package/node_modules/dashdash/package.json +15 -72
- package/node_modules/debug/.coveralls.yml +1 -0
- package/node_modules/debug/.eslintrc +11 -0
- package/node_modules/debug/.npmignore +3 -0
- package/node_modules/debug/.travis.yml +14 -0
- package/node_modules/debug/CHANGELOG.md +357 -0
- package/node_modules/debug/LICENSE +19 -0
- package/node_modules/debug/Makefile +28 -14
- package/node_modules/debug/README.md +312 -0
- package/node_modules/debug/component.json +4 -4
- package/node_modules/debug/karma.conf.js +70 -0
- package/node_modules/debug/node.js +1 -209
- package/node_modules/debug/package.json +41 -58
- package/node_modules/debug/{browser.js → src/browser.js} +29 -12
- package/node_modules/debug/{debug.js → src/debug.js} +42 -37
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +246 -0
- package/node_modules/deep-extend/README.md +1 -1
- package/node_modules/deep-extend/lib/deep-extend.js +2 -2
- package/node_modules/deep-extend/package.json +22 -48
- package/node_modules/delayed-stream/package.json +15 -49
- package/node_modules/delegates/package.json +15 -50
- package/node_modules/ecc-jsbn/package.json +21 -45
- package/node_modules/extend/.eslintrc +10 -185
- package/node_modules/extend/.jscs.json +75 -4
- package/node_modules/extend/.travis.yml +154 -19
- package/node_modules/extend/CHANGELOG.md +8 -0
- package/node_modules/extend/README.md +20 -1
- package/node_modules/extend/index.js +8 -8
- package/node_modules/extend/package.json +26 -56
- package/node_modules/extsprintf/package.json +12 -43
- package/node_modules/forever-agent/package.json +16 -53
- package/node_modules/form-data/README.md +4 -4
- package/node_modules/form-data/lib/form_data.js +4 -0
- package/node_modules/form-data/package.json +18 -64
- package/node_modules/fs.realpath/package.json +15 -49
- package/node_modules/fstream/lib/reader.js +4 -4
- package/node_modules/fstream/lib/writer.js +2 -2
- package/node_modules/fstream/package.json +19 -67
- package/node_modules/fstream-ignore/package.json +15 -57
- package/node_modules/gauge/CHANGELOG.md +5 -0
- package/node_modules/gauge/package.json +18 -52
- package/node_modules/gauge/plumbing.js +1 -0
- package/node_modules/getpass/node_modules/assert-plus/package.json +15 -47
- package/node_modules/getpass/package.json +19 -58
- package/node_modules/glob/glob.js +0 -2
- package/node_modules/glob/package.json +19 -53
- package/node_modules/graceful-fs/package.json +15 -49
- package/node_modules/har-schema/LICENSE +13 -0
- package/node_modules/har-schema/README.md +49 -0
- package/node_modules/har-schema/lib/afterRequest.json +29 -0
- package/node_modules/har-schema/lib/beforeRequest.json +29 -0
- package/node_modules/har-schema/lib/browser.json +19 -0
- package/node_modules/har-schema/lib/cache.json +20 -0
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/content.json +1 -0
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/cookie.json +1 -0
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/creator.json +1 -0
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/entry.json +5 -4
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/har.json +2 -1
- package/node_modules/har-schema/lib/header.json +19 -0
- package/node_modules/har-schema/lib/index.js +22 -0
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/log.json +5 -4
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/page.json +2 -1
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/pageTimings.json +1 -0
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/postData.json +1 -0
- package/node_modules/{har-validator/lib/schemas/record.json → har-schema/lib/query.json} +1 -0
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/request.json +5 -4
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/response.json +4 -3
- package/node_modules/{har-validator/lib/schemas → har-schema/lib}/timings.json +1 -0
- package/node_modules/har-schema/package.json +87 -0
- package/node_modules/har-validator/README.md +31 -265
- package/node_modules/har-validator/lib/browser/async.js +96 -0
- package/node_modules/har-validator/lib/browser/error.js +15 -0
- package/node_modules/har-validator/lib/browser/promise.js +93 -0
- package/node_modules/har-validator/lib/node4/async.js +136 -0
- package/node_modules/har-validator/lib/node4/error.js +22 -0
- package/node_modules/har-validator/lib/node4/promise.js +132 -0
- package/node_modules/har-validator/lib/node6/async.js +133 -0
- package/node_modules/har-validator/lib/node6/error.js +22 -0
- package/node_modules/har-validator/lib/node6/promise.js +130 -0
- package/node_modules/har-validator/lib/node7/async.js +133 -0
- package/node_modules/har-validator/lib/node7/error.js +22 -0
- package/node_modules/har-validator/lib/node7/promise.js +130 -0
- package/node_modules/har-validator/package.json +54 -72
- package/node_modules/har-validator/src/async.js +96 -0
- package/node_modules/har-validator/src/error.js +15 -0
- package/node_modules/har-validator/src/promise.js +93 -0
- package/node_modules/has-unicode/package.json +15 -50
- package/node_modules/hawk/package.json +15 -45
- package/node_modules/hoek/package.json +15 -55
- package/node_modules/http-signature/package.json +15 -53
- package/node_modules/inflight/package.json +15 -61
- package/node_modules/inherits/package.json +15 -58
- package/node_modules/ini/package.json +15 -45
- package/node_modules/is-fullwidth-code-point/package.json +16 -46
- package/node_modules/is-typedarray/package.json +15 -45
- package/node_modules/isarray/package.json +15 -46
- package/node_modules/isstream/package.json +15 -46
- package/node_modules/jodid25519/package.json +16 -44
- package/node_modules/jsbn/package.json +16 -53
- package/node_modules/json-schema/package.json +13 -41
- package/node_modules/{generate-function → json-stable-stringify}/.npmignore +0 -0
- package/node_modules/{generate-object-property → json-stable-stringify}/.travis.yml +1 -0
- package/node_modules/{ms → json-stable-stringify}/LICENSE +1 -3
- package/node_modules/json-stable-stringify/example/key_cmp.js +7 -0
- package/node_modules/json-stable-stringify/example/nested.js +3 -0
- package/node_modules/json-stable-stringify/example/str.js +3 -0
- package/node_modules/json-stable-stringify/example/value_cmp.js +7 -0
- package/node_modules/json-stable-stringify/index.js +84 -0
- package/node_modules/json-stable-stringify/package.json +75 -0
- package/node_modules/json-stable-stringify/readme.markdown +130 -0
- package/node_modules/json-stable-stringify/test/cmp.js +11 -0
- package/node_modules/json-stable-stringify/test/nested.js +35 -0
- package/node_modules/json-stable-stringify/test/replacer.js +74 -0
- package/node_modules/json-stable-stringify/test/space.js +59 -0
- package/node_modules/json-stable-stringify/test/str.js +32 -0
- package/node_modules/json-stable-stringify/test/to-json.js +20 -0
- package/node_modules/json-stringify-safe/package.json +15 -50
- package/node_modules/jsonify/README.markdown +34 -0
- package/node_modules/jsonify/index.js +2 -0
- package/node_modules/jsonify/lib/parse.js +273 -0
- package/node_modules/jsonify/lib/stringify.js +154 -0
- package/node_modules/jsonify/package.json +60 -0
- package/node_modules/jsonify/test/parse.js +16 -0
- package/node_modules/jsonify/test/stringify.js +15 -0
- package/node_modules/jsprim/CHANGES.md +4 -0
- package/node_modules/jsprim/README.md +55 -0
- package/node_modules/jsprim/lib/jsprim.js +248 -1
- package/node_modules/jsprim/node_modules/assert-plus/AUTHORS +6 -0
- package/node_modules/jsprim/node_modules/assert-plus/CHANGES.md +14 -0
- package/node_modules/jsprim/node_modules/assert-plus/README.md +162 -0
- package/node_modules/jsprim/node_modules/assert-plus/assert.js +211 -0
- package/node_modules/jsprim/node_modules/assert-plus/package.json +83 -0
- package/node_modules/jsprim/package.json +22 -57
- package/node_modules/mime-db/HISTORY.md +21 -0
- package/node_modules/mime-db/db.json +54 -0
- package/node_modules/mime-db/package.json +24 -63
- package/node_modules/mime-types/HISTORY.md +7 -0
- package/node_modules/mime-types/README.md +10 -5
- package/node_modules/mime-types/index.js +1 -1
- package/node_modules/mime-types/package.json +23 -66
- package/node_modules/minimatch/package.json +24 -58
- package/node_modules/minimist/package.json +12 -41
- package/node_modules/mkdirp/package.json +15 -47
- package/node_modules/ms/index.js +50 -23
- package/node_modules/{graceful-readlink/LICENSE → ms/license.md} +1 -2
- package/node_modules/ms/package.json +49 -61
- package/node_modules/ms/readme.md +51 -0
- package/node_modules/node-pre-gyp/CHANGELOG.md +15 -0
- package/node_modules/node-pre-gyp/README.md +12 -1
- package/node_modules/node-pre-gyp/appveyor.yml +1 -6
- package/node_modules/node-pre-gyp/cloudformation/travis.template +73 -0
- package/node_modules/node-pre-gyp/contributing.md +10 -0
- package/node_modules/node-pre-gyp/lib/install.js +5 -47
- package/node_modules/node-pre-gyp/lib/testbinary.js +8 -2
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +72 -0
- package/node_modules/node-pre-gyp/package.json +30 -76
- package/node_modules/node-pre-gyp/template-name.diff +12 -0
- package/node_modules/nopt/.travis.yml +3 -4
- package/node_modules/nopt/CHANGELOG.md +58 -0
- package/node_modules/nopt/README.md +28 -26
- package/node_modules/nopt/lib/nopt.js +50 -29
- package/node_modules/nopt/package.json +22 -59
- package/node_modules/nopt/test/basic.js +36 -6
- package/node_modules/npmlog/CHANGELOG.md +5 -1
- package/node_modules/npmlog/log.js +2 -0
- package/node_modules/npmlog/package.json +21 -67
- package/node_modules/number-is-nan/package.json +15 -50
- package/node_modules/oauth-sign/package.json +15 -56
- package/node_modules/object-assign/package.json +15 -58
- package/node_modules/once/package.json +15 -49
- package/node_modules/os-homedir/index.js +24 -0
- package/node_modules/{ansi-styles → os-homedir}/license +0 -0
- package/node_modules/os-homedir/package.json +74 -0
- package/node_modules/os-homedir/readme.md +31 -0
- package/node_modules/os-tmpdir/index.js +25 -0
- package/node_modules/{chalk → os-tmpdir}/license +0 -0
- package/node_modules/os-tmpdir/package.json +74 -0
- package/node_modules/os-tmpdir/readme.md +32 -0
- package/node_modules/osenv/.npmignore +13 -0
- package/node_modules/osenv/.travis.yml +9 -0
- package/node_modules/{tar-pack/node_modules/once → osenv}/LICENSE +0 -0
- package/node_modules/osenv/README.md +63 -0
- package/node_modules/osenv/osenv.js +72 -0
- package/node_modules/osenv/package.json +68 -0
- package/node_modules/osenv/test/unix.js +71 -0
- package/node_modules/osenv/test/windows.js +74 -0
- package/node_modules/osenv/x.tap +39 -0
- package/node_modules/path-is-absolute/package.json +15 -50
- package/node_modules/performance-now/.npmignore +1 -0
- package/node_modules/performance-now/.tm_properties +7 -0
- package/node_modules/{generate-function → performance-now}/.travis.yml +1 -0
- package/node_modules/performance-now/Makefile +25 -0
- package/node_modules/performance-now/README.md +30 -0
- package/node_modules/performance-now/lib/performance-now.js +32 -0
- package/node_modules/performance-now/license.txt +7 -0
- package/node_modules/performance-now/package.json +58 -0
- package/node_modules/performance-now/src/performance-now.coffee +15 -0
- package/node_modules/performance-now/test/mocha.opts +3 -0
- package/node_modules/performance-now/test/performance-now.coffee +38 -0
- package/node_modules/process-nextick-args/package.json +15 -51
- package/node_modules/punycode/package.json +14 -49
- package/node_modules/qs/.eslintrc +4 -5
- package/node_modules/qs/.jscs.json +176 -0
- package/node_modules/qs/CHANGELOG.md +19 -0
- package/node_modules/qs/README.md +10 -1
- package/node_modules/qs/dist/qs.js +24 -14
- package/node_modules/qs/lib/index.js +0 -0
- package/node_modules/qs/lib/parse.js +6 -5
- package/node_modules/qs/lib/stringify.js +15 -8
- package/node_modules/qs/lib/utils.js +3 -1
- package/node_modules/qs/package.json +19 -61
- package/node_modules/qs/test/.eslintrc +2 -1
- package/node_modules/qs/test/parse.js +37 -2
- package/node_modules/qs/test/stringify.js +29 -0
- package/node_modules/qs/test/utils.js +0 -0
- package/node_modules/rc/lib/utils.js +2 -1
- package/node_modules/rc/node_modules/minimist/package.json +15 -46
- package/node_modules/rc/package.json +18 -53
- package/node_modules/rc/test/nested-env-vars.js +31 -21
- package/node_modules/readable-stream/.travis.yml +2 -2
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +29 -0
- package/node_modules/readable-stream/README.md +20 -3
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -1
- package/node_modules/readable-stream/lib/_stream_readable.js +7 -13
- package/node_modules/readable-stream/lib/_stream_writable.js +18 -28
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +25 -67
- package/node_modules/readable-stream/passthrough.js +1 -1
- package/node_modules/{tar-pack/node_modules/readable-stream/readable.js → readable-stream/readable-browser.js} +1 -10
- package/node_modules/readable-stream/readable.js +17 -14
- package/node_modules/readable-stream/transform.js +1 -1
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -1
- package/node_modules/request/CHANGELOG.md +23 -11
- package/node_modules/request/README.md +36 -19
- package/node_modules/request/lib/helpers.js +2 -1
- package/node_modules/request/lib/multipart.js +2 -1
- package/node_modules/request/lib/oauth.js +2 -1
- package/node_modules/request/package.json +30 -74
- package/node_modules/request/request.js +106 -16
- package/node_modules/rimraf/bin.js +13 -3
- package/node_modules/rimraf/package.json +19 -55
- package/node_modules/rimraf/rimraf.js +22 -2
- package/node_modules/safe-buffer/.travis.yml +7 -0
- package/node_modules/{is-property → safe-buffer}/LICENSE +1 -2
- package/node_modules/safe-buffer/README.md +581 -0
- package/node_modules/safe-buffer/browser.js +1 -0
- package/node_modules/safe-buffer/index.js +58 -0
- package/node_modules/safe-buffer/package.json +64 -0
- package/node_modules/safe-buffer/test.js +99 -0
- package/node_modules/semver/package.json +15 -54
- package/node_modules/set-blocking/package.json +15 -50
- package/node_modules/signal-exit/package.json +15 -54
- package/node_modules/sntp/package.json +16 -45
- package/node_modules/sshpk/README.md +38 -6
- package/node_modules/sshpk/lib/certificate.js +88 -2
- package/node_modules/sshpk/lib/dhe.js +101 -2
- package/node_modules/sshpk/lib/formats/openssh-cert.js +34 -1
- package/node_modules/sshpk/lib/formats/x509.js +247 -5
- package/node_modules/sshpk/lib/identity.js +1 -1
- package/node_modules/sshpk/lib/index.js +1 -0
- package/node_modules/sshpk/lib/key.js +6 -2
- package/node_modules/sshpk/lib/private-key.js +25 -1
- package/node_modules/sshpk/lib/signature.js +76 -8
- package/node_modules/sshpk/node_modules/assert-plus/package.json +15 -47
- package/node_modules/sshpk/package.json +21 -53
- package/node_modules/string-width/package.json +15 -50
- package/node_modules/string_decoder/LICENSE +48 -20
- package/node_modules/string_decoder/README.md +25 -4
- package/node_modules/string_decoder/lib/string_decoder.js +272 -0
- package/node_modules/string_decoder/package.json +24 -55
- package/node_modules/stringstream/package.json +15 -48
- package/node_modules/strip-ansi/package.json +27 -50
- package/node_modules/strip-json-comments/package.json +15 -50
- package/node_modules/tar/package.json +15 -58
- package/node_modules/tar-pack/package.json +28 -79
- package/node_modules/tough-cookie/package.json +15 -57
- package/node_modules/tunnel-agent/index.js +5 -4
- package/node_modules/tunnel-agent/package.json +22 -66
- package/node_modules/tweetnacl/package.json +16 -50
- package/node_modules/uid-number/package.json +16 -46
- package/node_modules/util-deprecate/package.json +15 -48
- package/node_modules/uuid/package.json +15 -58
- package/node_modules/verror/package.json +12 -41
- package/node_modules/wide-align/package.json +25 -51
- package/node_modules/wrappy/package.json +15 -54
- package/package.json +4 -3
- package/node_modules/ansi-styles/index.js +0 -65
- package/node_modules/ansi-styles/package.json +0 -114
- package/node_modules/ansi-styles/readme.md +0 -86
- package/node_modules/are-we-there-yet/.npmignore +0 -5
- package/node_modules/are-we-there-yet/test/lib/test-event.js +0 -29
- package/node_modules/are-we-there-yet/test/tracker.js +0 -57
- package/node_modules/are-we-there-yet/test/trackergroup.js +0 -96
- package/node_modules/are-we-there-yet/test/trackerstream.js +0 -51
- package/node_modules/chalk/index.js +0 -116
- package/node_modules/chalk/package.json +0 -140
- package/node_modules/chalk/readme.md +0 -213
- package/node_modules/commander/History.md +0 -261
- package/node_modules/commander/Readme.md +0 -351
- package/node_modules/commander/index.js +0 -1110
- package/node_modules/commander/package.json +0 -104
- package/node_modules/debug/.jshintrc +0 -3
- package/node_modules/debug/History.md +0 -195
- package/node_modules/debug/Readme.md +0 -188
- package/node_modules/debug/bower.json +0 -28
- package/node_modules/escape-string-regexp/index.js +0 -11
- package/node_modules/escape-string-regexp/license +0 -21
- package/node_modules/escape-string-regexp/package.json +0 -109
- package/node_modules/escape-string-regexp/readme.md +0 -27
- package/node_modules/generate-function/README.md +0 -72
- package/node_modules/generate-function/example.js +0 -27
- package/node_modules/generate-function/index.js +0 -61
- package/node_modules/generate-function/package.json +0 -87
- package/node_modules/generate-function/test.js +0 -33
- package/node_modules/generate-object-property/.npmignore +0 -1
- package/node_modules/generate-object-property/LICENSE +0 -21
- package/node_modules/generate-object-property/README.md +0 -19
- package/node_modules/generate-object-property/index.js +0 -12
- package/node_modules/generate-object-property/package.json +0 -84
- package/node_modules/generate-object-property/test.js +0 -12
- package/node_modules/graceful-readlink/.npmignore +0 -3
- package/node_modules/graceful-readlink/.travis.yml +0 -5
- package/node_modules/graceful-readlink/README.md +0 -17
- package/node_modules/graceful-readlink/index.js +0 -12
- package/node_modules/graceful-readlink/package.json +0 -83
- package/node_modules/har-validator/bin/har-validator +0 -56
- package/node_modules/har-validator/lib/async.js +0 -14
- package/node_modules/har-validator/lib/error.js +0 -10
- package/node_modules/har-validator/lib/index.js +0 -22
- package/node_modules/har-validator/lib/runner.js +0 -29
- package/node_modules/har-validator/lib/schemas/cache.json +0 -13
- package/node_modules/har-validator/lib/schemas/cacheEntry.json +0 -31
- package/node_modules/har-validator/lib/schemas/index.js +0 -49
- package/node_modules/has-ansi/index.js +0 -4
- package/node_modules/has-ansi/license +0 -21
- package/node_modules/has-ansi/package.json +0 -118
- package/node_modules/has-ansi/readme.md +0 -36
- package/node_modules/is-my-json-valid/.npmignore +0 -2
- package/node_modules/is-my-json-valid/.travis.yml +0 -3
- package/node_modules/is-my-json-valid/README.md +0 -173
- package/node_modules/is-my-json-valid/example.js +0 -18
- package/node_modules/is-my-json-valid/formats.js +0 -14
- package/node_modules/is-my-json-valid/index.js +0 -594
- package/node_modules/is-my-json-valid/package.json +0 -116
- package/node_modules/is-my-json-valid/require.js +0 -12
- package/node_modules/is-my-json-valid/test/fixtures/cosmic.js +0 -84
- package/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +0 -82
- package/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +0 -88
- package/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +0 -112
- package/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +0 -68
- package/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +0 -107
- package/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +0 -49
- package/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +0 -32
- package/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +0 -113
- package/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +0 -72
- package/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +0 -143
- package/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +0 -46
- package/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +0 -42
- package/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +0 -42
- package/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +0 -96
- package/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +0 -96
- package/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +0 -18
- package/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +0 -18
- package/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +0 -68
- package/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +0 -23
- package/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +0 -110
- package/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +0 -92
- package/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +0 -128
- package/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +0 -74
- package/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +0 -39
- package/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +0 -330
- package/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +0 -79
- package/node_modules/is-my-json-valid/test/json-schema.js +0 -23
- package/node_modules/is-my-json-valid/test/misc.js +0 -471
- package/node_modules/is-property/.npmignore +0 -17
- package/node_modules/is-property/README.md +0 -28
- package/node_modules/is-property/is-property.js +0 -5
- package/node_modules/is-property/package.json +0 -92
- package/node_modules/jsonpointer/LICENSE.md +0 -21
- package/node_modules/jsonpointer/README.md +0 -39
- package/node_modules/jsonpointer/jsonpointer.js +0 -93
- package/node_modules/jsonpointer/package.json +0 -112
- package/node_modules/ms/.npmignore +0 -5
- package/node_modules/ms/History.md +0 -66
- package/node_modules/ms/README.md +0 -35
- package/node_modules/pinkie/index.js +0 -292
- package/node_modules/pinkie/license +0 -21
- package/node_modules/pinkie/package.json +0 -100
- package/node_modules/pinkie/readme.md +0 -83
- package/node_modules/pinkie-promise/index.js +0 -3
- package/node_modules/pinkie-promise/license +0 -21
- package/node_modules/pinkie-promise/package.json +0 -102
- package/node_modules/pinkie-promise/readme.md +0 -28
- package/node_modules/string_decoder/index.js +0 -221
- package/node_modules/supports-color/index.js +0 -50
- package/node_modules/supports-color/license +0 -21
- package/node_modules/supports-color/package.json +0 -113
- package/node_modules/supports-color/readme.md +0 -36
- package/node_modules/tar-pack/node_modules/once/README.md +0 -51
- package/node_modules/tar-pack/node_modules/once/once.js +0 -21
- package/node_modules/tar-pack/node_modules/once/package.json +0 -96
- package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +0 -8
- package/node_modules/tar-pack/node_modules/readable-stream/.travis.yml +0 -49
- package/node_modules/tar-pack/node_modules/readable-stream/LICENSE +0 -18
- package/node_modules/tar-pack/node_modules/readable-stream/README.md +0 -36
- package/node_modules/tar-pack/node_modules/readable-stream/doc/stream.md +0 -2015
- package/node_modules/tar-pack/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/node_modules/tar-pack/node_modules/readable-stream/duplex.js +0 -1
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_readable.js +0 -937
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_transform.js +0 -180
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_writable.js +0 -526
- package/node_modules/tar-pack/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -64
- package/node_modules/tar-pack/node_modules/readable-stream/package.json +0 -125
- package/node_modules/tar-pack/node_modules/readable-stream/passthrough.js +0 -1
- package/node_modules/tar-pack/node_modules/readable-stream/transform.js +0 -1
- package/node_modules/tar-pack/node_modules/readable-stream/writable.js +0 -1
- package/node_modules/wide-align/.npmignore +0 -5
- package/node_modules/wide-align/test/align.js +0 -37
- package/node_modules/xtend/.jshintrc +0 -30
- package/node_modules/xtend/.npmignore +0 -1
- package/node_modules/xtend/LICENCE +0 -19
- package/node_modules/xtend/Makefile +0 -4
- package/node_modules/xtend/README.md +0 -32
- package/node_modules/xtend/immutable.js +0 -19
- package/node_modules/xtend/mutable.js +0 -17
- package/node_modules/xtend/package.json +0 -117
- package/node_modules/xtend/test.js +0 -83
@@ -1,100 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_args": [
|
3
|
-
[
|
4
|
-
{
|
5
|
-
"raw": "pinkie@^2.0.0",
|
6
|
-
"scope": null,
|
7
|
-
"escapedName": "pinkie",
|
8
|
-
"name": "pinkie",
|
9
|
-
"rawSpec": "^2.0.0",
|
10
|
-
"spec": ">=2.0.0 <3.0.0",
|
11
|
-
"type": "range"
|
12
|
-
},
|
13
|
-
"/Users/eshanker/Code/fsevents/node_modules/pinkie-promise"
|
14
|
-
]
|
15
|
-
],
|
16
|
-
"_from": "pinkie@>=2.0.0 <3.0.0",
|
17
|
-
"_id": "pinkie@2.0.4",
|
18
|
-
"_inCache": true,
|
19
|
-
"_location": "/pinkie",
|
20
|
-
"_nodeVersion": "4.2.4",
|
21
|
-
"_npmUser": {
|
22
|
-
"name": "floatdrop",
|
23
|
-
"email": "floatdrop@gmail.com"
|
24
|
-
},
|
25
|
-
"_npmVersion": "2.14.12",
|
26
|
-
"_phantomChildren": {},
|
27
|
-
"_requested": {
|
28
|
-
"raw": "pinkie@^2.0.0",
|
29
|
-
"scope": null,
|
30
|
-
"escapedName": "pinkie",
|
31
|
-
"name": "pinkie",
|
32
|
-
"rawSpec": "^2.0.0",
|
33
|
-
"spec": ">=2.0.0 <3.0.0",
|
34
|
-
"type": "range"
|
35
|
-
},
|
36
|
-
"_requiredBy": [
|
37
|
-
"/pinkie-promise"
|
38
|
-
],
|
39
|
-
"_resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
|
40
|
-
"_shasum": "72556b80cfa0d48a974e80e77248e80ed4f7f870",
|
41
|
-
"_shrinkwrap": null,
|
42
|
-
"_spec": "pinkie@^2.0.0",
|
43
|
-
"_where": "/Users/eshanker/Code/fsevents/node_modules/pinkie-promise",
|
44
|
-
"author": {
|
45
|
-
"name": "Vsevolod Strukchinsky",
|
46
|
-
"email": "floatdrop@gmail.com",
|
47
|
-
"url": "github.com/floatdrop"
|
48
|
-
},
|
49
|
-
"bugs": {
|
50
|
-
"url": "https://github.com/floatdrop/pinkie/issues"
|
51
|
-
},
|
52
|
-
"dependencies": {},
|
53
|
-
"description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",
|
54
|
-
"devDependencies": {
|
55
|
-
"core-assert": "^0.1.1",
|
56
|
-
"coveralls": "^2.11.4",
|
57
|
-
"mocha": "*",
|
58
|
-
"nyc": "^3.2.2",
|
59
|
-
"promises-aplus-tests": "*",
|
60
|
-
"xo": "^0.10.1"
|
61
|
-
},
|
62
|
-
"directories": {},
|
63
|
-
"dist": {
|
64
|
-
"shasum": "72556b80cfa0d48a974e80e77248e80ed4f7f870",
|
65
|
-
"tarball": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz"
|
66
|
-
},
|
67
|
-
"engines": {
|
68
|
-
"node": ">=0.10.0"
|
69
|
-
},
|
70
|
-
"files": [
|
71
|
-
"index.js"
|
72
|
-
],
|
73
|
-
"gitHead": "8d4a92447a5c62bff9f89756caeb4c9c8770579b",
|
74
|
-
"homepage": "https://github.com/floatdrop/pinkie",
|
75
|
-
"keywords": [
|
76
|
-
"promise",
|
77
|
-
"promises",
|
78
|
-
"es2015",
|
79
|
-
"es6"
|
80
|
-
],
|
81
|
-
"license": "MIT",
|
82
|
-
"maintainers": [
|
83
|
-
{
|
84
|
-
"name": "floatdrop",
|
85
|
-
"email": "floatdrop@gmail.com"
|
86
|
-
}
|
87
|
-
],
|
88
|
-
"name": "pinkie",
|
89
|
-
"optionalDependencies": {},
|
90
|
-
"readme": "ERROR: No README data found!",
|
91
|
-
"repository": {
|
92
|
-
"type": "git",
|
93
|
-
"url": "git+https://github.com/floatdrop/pinkie.git"
|
94
|
-
},
|
95
|
-
"scripts": {
|
96
|
-
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
97
|
-
"test": "xo && nyc mocha"
|
98
|
-
},
|
99
|
-
"version": "2.0.4"
|
100
|
-
}
|
@@ -1,83 +0,0 @@
|
|
1
|
-
<h1 align="center">
|
2
|
-
<br>
|
3
|
-
<img width="256" src="media/logo.png" alt="pinkie">
|
4
|
-
<br>
|
5
|
-
<br>
|
6
|
-
</h1>
|
7
|
-
|
8
|
-
> Itty bitty little widdle twinkie pinkie [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation
|
9
|
-
|
10
|
-
[![Build Status](https://travis-ci.org/floatdrop/pinkie.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie) [![Coverage Status](https://coveralls.io/repos/floatdrop/pinkie/badge.svg?branch=master&service=github)](https://coveralls.io/github/floatdrop/pinkie?branch=master)
|
11
|
-
|
12
|
-
There are [tons of Promise implementations](https://github.com/promises-aplus/promises-spec/blob/master/implementations.md#standalone) out there, but all of them focus on browser compatibility and are often bloated with functionality.
|
13
|
-
|
14
|
-
This module is an exact Promise specification polyfill (like [native-promise-only](https://github.com/getify/native-promise-only)), but in Node.js land (it should be browserify-able though).
|
15
|
-
|
16
|
-
|
17
|
-
## Install
|
18
|
-
|
19
|
-
```
|
20
|
-
$ npm install --save pinkie
|
21
|
-
```
|
22
|
-
|
23
|
-
|
24
|
-
## Usage
|
25
|
-
|
26
|
-
```js
|
27
|
-
var fs = require('fs');
|
28
|
-
var Promise = require('pinkie');
|
29
|
-
|
30
|
-
new Promise(function (resolve, reject) {
|
31
|
-
fs.readFile('foo.json', 'utf8', function (err, data) {
|
32
|
-
if (err) {
|
33
|
-
reject(err);
|
34
|
-
return;
|
35
|
-
}
|
36
|
-
|
37
|
-
resolve(data);
|
38
|
-
});
|
39
|
-
});
|
40
|
-
//=> Promise
|
41
|
-
```
|
42
|
-
|
43
|
-
|
44
|
-
### API
|
45
|
-
|
46
|
-
`pinkie` exports bare [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation and polyfills [Node.js rejection events](https://nodejs.org/api/process.html#process_event_unhandledrejection). In case you forgot:
|
47
|
-
|
48
|
-
#### new Promise(executor)
|
49
|
-
|
50
|
-
Returns new instance of `Promise`.
|
51
|
-
|
52
|
-
##### executor
|
53
|
-
|
54
|
-
*Required*
|
55
|
-
Type: `function`
|
56
|
-
|
57
|
-
Function with two arguments `resolve` and `reject`. The first argument fulfills the promise, the second argument rejects it.
|
58
|
-
|
59
|
-
#### pinkie.all(promises)
|
60
|
-
|
61
|
-
Returns a promise that resolves when all of the promises in the `promises` Array argument have resolved.
|
62
|
-
|
63
|
-
#### pinkie.race(promises)
|
64
|
-
|
65
|
-
Returns a promise that resolves or rejects as soon as one of the promises in the `promises` Array resolves or rejects, with the value or reason from that promise.
|
66
|
-
|
67
|
-
#### pinkie.reject(reason)
|
68
|
-
|
69
|
-
Returns a Promise object that is rejected with the given `reason`.
|
70
|
-
|
71
|
-
#### pinkie.resolve(value)
|
72
|
-
|
73
|
-
Returns a Promise object that is resolved with the given `value`. If the `value` is a thenable (i.e. has a then method), the returned promise will "follow" that thenable, adopting its eventual state; otherwise the returned promise will be fulfilled with the `value`.
|
74
|
-
|
75
|
-
|
76
|
-
## Related
|
77
|
-
|
78
|
-
- [pinkie-promise](https://github.com/floatdrop/pinkie-promise) - Returns the native Promise or this module
|
79
|
-
|
80
|
-
|
81
|
-
## License
|
82
|
-
|
83
|
-
MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) Vsevolod Strukchinsky <floatdrop@gmail.com> (github.com/floatdrop)
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
@@ -1,102 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_args": [
|
3
|
-
[
|
4
|
-
{
|
5
|
-
"raw": "pinkie-promise@^2.0.0",
|
6
|
-
"scope": null,
|
7
|
-
"escapedName": "pinkie-promise",
|
8
|
-
"name": "pinkie-promise",
|
9
|
-
"rawSpec": "^2.0.0",
|
10
|
-
"spec": ">=2.0.0 <3.0.0",
|
11
|
-
"type": "range"
|
12
|
-
},
|
13
|
-
"/Users/eshanker/Code/fsevents/node_modules/har-validator"
|
14
|
-
]
|
15
|
-
],
|
16
|
-
"_from": "pinkie-promise@>=2.0.0 <3.0.0",
|
17
|
-
"_id": "pinkie-promise@2.0.1",
|
18
|
-
"_inCache": true,
|
19
|
-
"_location": "/pinkie-promise",
|
20
|
-
"_nodeVersion": "4.4.1",
|
21
|
-
"_npmOperationalInternal": {
|
22
|
-
"host": "packages-16-east.internal.npmjs.com",
|
23
|
-
"tmp": "tmp/pinkie-promise-2.0.1.tgz_1460309839126_0.3422858319245279"
|
24
|
-
},
|
25
|
-
"_npmUser": {
|
26
|
-
"name": "floatdrop",
|
27
|
-
"email": "floatdrop@gmail.com"
|
28
|
-
},
|
29
|
-
"_npmVersion": "2.14.20",
|
30
|
-
"_phantomChildren": {},
|
31
|
-
"_requested": {
|
32
|
-
"raw": "pinkie-promise@^2.0.0",
|
33
|
-
"scope": null,
|
34
|
-
"escapedName": "pinkie-promise",
|
35
|
-
"name": "pinkie-promise",
|
36
|
-
"rawSpec": "^2.0.0",
|
37
|
-
"spec": ">=2.0.0 <3.0.0",
|
38
|
-
"type": "range"
|
39
|
-
},
|
40
|
-
"_requiredBy": [
|
41
|
-
"/har-validator"
|
42
|
-
],
|
43
|
-
"_resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
|
44
|
-
"_shasum": "2135d6dfa7a358c069ac9b178776288228450ffa",
|
45
|
-
"_shrinkwrap": null,
|
46
|
-
"_spec": "pinkie-promise@^2.0.0",
|
47
|
-
"_where": "/Users/eshanker/Code/fsevents/node_modules/har-validator",
|
48
|
-
"author": {
|
49
|
-
"name": "Vsevolod Strukchinsky",
|
50
|
-
"email": "floatdrop@gmail.com",
|
51
|
-
"url": "github.com/floatdrop"
|
52
|
-
},
|
53
|
-
"bugs": {
|
54
|
-
"url": "https://github.com/floatdrop/pinkie-promise/issues"
|
55
|
-
},
|
56
|
-
"dependencies": {
|
57
|
-
"pinkie": "^2.0.0"
|
58
|
-
},
|
59
|
-
"description": "ES2015 Promise ponyfill",
|
60
|
-
"devDependencies": {
|
61
|
-
"mocha": "*"
|
62
|
-
},
|
63
|
-
"directories": {},
|
64
|
-
"dist": {
|
65
|
-
"shasum": "2135d6dfa7a358c069ac9b178776288228450ffa",
|
66
|
-
"tarball": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz"
|
67
|
-
},
|
68
|
-
"engines": {
|
69
|
-
"node": ">=0.10.0"
|
70
|
-
},
|
71
|
-
"files": [
|
72
|
-
"index.js"
|
73
|
-
],
|
74
|
-
"gitHead": "4a936c09c34ad591a25db93f1216d242de0d6184",
|
75
|
-
"homepage": "https://github.com/floatdrop/pinkie-promise",
|
76
|
-
"keywords": [
|
77
|
-
"promise",
|
78
|
-
"promises",
|
79
|
-
"es2015",
|
80
|
-
"es6",
|
81
|
-
"polyfill",
|
82
|
-
"ponyfill"
|
83
|
-
],
|
84
|
-
"license": "MIT",
|
85
|
-
"maintainers": [
|
86
|
-
{
|
87
|
-
"name": "floatdrop",
|
88
|
-
"email": "floatdrop@gmail.com"
|
89
|
-
}
|
90
|
-
],
|
91
|
-
"name": "pinkie-promise",
|
92
|
-
"optionalDependencies": {},
|
93
|
-
"readme": "ERROR: No README data found!",
|
94
|
-
"repository": {
|
95
|
-
"type": "git",
|
96
|
-
"url": "git+https://github.com/floatdrop/pinkie-promise.git"
|
97
|
-
},
|
98
|
-
"scripts": {
|
99
|
-
"test": "mocha"
|
100
|
-
},
|
101
|
-
"version": "2.0.1"
|
102
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# pinkie-promise [![Build Status](https://travis-ci.org/floatdrop/pinkie-promise.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie-promise)
|
2
|
-
|
3
|
-
> [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) ponyfill
|
4
|
-
|
5
|
-
Module exports global Promise object (if available) or [`pinkie`](http://github.com/floatdrop/pinkie) Promise polyfill.
|
6
|
-
|
7
|
-
## Install
|
8
|
-
|
9
|
-
```
|
10
|
-
$ npm install --save pinkie-promise
|
11
|
-
```
|
12
|
-
|
13
|
-
## Usage
|
14
|
-
|
15
|
-
```js
|
16
|
-
var Promise = require('pinkie-promise');
|
17
|
-
|
18
|
-
new Promise(function (resolve) { resolve('unicorns'); });
|
19
|
-
//=> Promise { 'unicorns' }
|
20
|
-
```
|
21
|
-
|
22
|
-
## Related
|
23
|
-
|
24
|
-
- [pify](https://github.com/sindresorhus/pify) - Promisify a callback-style function
|
25
|
-
|
26
|
-
## License
|
27
|
-
|
28
|
-
MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
|
@@ -1,221 +0,0 @@
|
|
1
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
2
|
-
//
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
4
|
-
// copy of this software and associated documentation files (the
|
5
|
-
// "Software"), to deal in the Software without restriction, including
|
6
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
8
|
-
// persons to whom the Software is furnished to do so, subject to the
|
9
|
-
// following conditions:
|
10
|
-
//
|
11
|
-
// The above copyright notice and this permission notice shall be included
|
12
|
-
// in all copies or substantial portions of the Software.
|
13
|
-
//
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
15
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
17
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
18
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
19
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
20
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
-
|
22
|
-
var Buffer = require('buffer').Buffer;
|
23
|
-
|
24
|
-
var isBufferEncoding = Buffer.isEncoding
|
25
|
-
|| function(encoding) {
|
26
|
-
switch (encoding && encoding.toLowerCase()) {
|
27
|
-
case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': case 'raw': return true;
|
28
|
-
default: return false;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
|
33
|
-
function assertEncoding(encoding) {
|
34
|
-
if (encoding && !isBufferEncoding(encoding)) {
|
35
|
-
throw new Error('Unknown encoding: ' + encoding);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
// StringDecoder provides an interface for efficiently splitting a series of
|
40
|
-
// buffers into a series of JS strings without breaking apart multi-byte
|
41
|
-
// characters. CESU-8 is handled as part of the UTF-8 encoding.
|
42
|
-
//
|
43
|
-
// @TODO Handling all encodings inside a single object makes it very difficult
|
44
|
-
// to reason about this code, so it should be split up in the future.
|
45
|
-
// @TODO There should be a utf8-strict encoding that rejects invalid UTF-8 code
|
46
|
-
// points as used by CESU-8.
|
47
|
-
var StringDecoder = exports.StringDecoder = function(encoding) {
|
48
|
-
this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, '');
|
49
|
-
assertEncoding(encoding);
|
50
|
-
switch (this.encoding) {
|
51
|
-
case 'utf8':
|
52
|
-
// CESU-8 represents each of Surrogate Pair by 3-bytes
|
53
|
-
this.surrogateSize = 3;
|
54
|
-
break;
|
55
|
-
case 'ucs2':
|
56
|
-
case 'utf16le':
|
57
|
-
// UTF-16 represents each of Surrogate Pair by 2-bytes
|
58
|
-
this.surrogateSize = 2;
|
59
|
-
this.detectIncompleteChar = utf16DetectIncompleteChar;
|
60
|
-
break;
|
61
|
-
case 'base64':
|
62
|
-
// Base-64 stores 3 bytes in 4 chars, and pads the remainder.
|
63
|
-
this.surrogateSize = 3;
|
64
|
-
this.detectIncompleteChar = base64DetectIncompleteChar;
|
65
|
-
break;
|
66
|
-
default:
|
67
|
-
this.write = passThroughWrite;
|
68
|
-
return;
|
69
|
-
}
|
70
|
-
|
71
|
-
// Enough space to store all bytes of a single character. UTF-8 needs 4
|
72
|
-
// bytes, but CESU-8 may require up to 6 (3 bytes per surrogate).
|
73
|
-
this.charBuffer = new Buffer(6);
|
74
|
-
// Number of bytes received for the current incomplete multi-byte character.
|
75
|
-
this.charReceived = 0;
|
76
|
-
// Number of bytes expected for the current incomplete multi-byte character.
|
77
|
-
this.charLength = 0;
|
78
|
-
};
|
79
|
-
|
80
|
-
|
81
|
-
// write decodes the given buffer and returns it as JS string that is
|
82
|
-
// guaranteed to not contain any partial multi-byte characters. Any partial
|
83
|
-
// character found at the end of the buffer is buffered up, and will be
|
84
|
-
// returned when calling write again with the remaining bytes.
|
85
|
-
//
|
86
|
-
// Note: Converting a Buffer containing an orphan surrogate to a String
|
87
|
-
// currently works, but converting a String to a Buffer (via `new Buffer`, or
|
88
|
-
// Buffer#write) will replace incomplete surrogates with the unicode
|
89
|
-
// replacement character. See https://codereview.chromium.org/121173009/ .
|
90
|
-
StringDecoder.prototype.write = function(buffer) {
|
91
|
-
var charStr = '';
|
92
|
-
// if our last write ended with an incomplete multibyte character
|
93
|
-
while (this.charLength) {
|
94
|
-
// determine how many remaining bytes this buffer has to offer for this char
|
95
|
-
var available = (buffer.length >= this.charLength - this.charReceived) ?
|
96
|
-
this.charLength - this.charReceived :
|
97
|
-
buffer.length;
|
98
|
-
|
99
|
-
// add the new bytes to the char buffer
|
100
|
-
buffer.copy(this.charBuffer, this.charReceived, 0, available);
|
101
|
-
this.charReceived += available;
|
102
|
-
|
103
|
-
if (this.charReceived < this.charLength) {
|
104
|
-
// still not enough chars in this buffer? wait for more ...
|
105
|
-
return '';
|
106
|
-
}
|
107
|
-
|
108
|
-
// remove bytes belonging to the current character from the buffer
|
109
|
-
buffer = buffer.slice(available, buffer.length);
|
110
|
-
|
111
|
-
// get the character that was split
|
112
|
-
charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding);
|
113
|
-
|
114
|
-
// CESU-8: lead surrogate (D800-DBFF) is also the incomplete character
|
115
|
-
var charCode = charStr.charCodeAt(charStr.length - 1);
|
116
|
-
if (charCode >= 0xD800 && charCode <= 0xDBFF) {
|
117
|
-
this.charLength += this.surrogateSize;
|
118
|
-
charStr = '';
|
119
|
-
continue;
|
120
|
-
}
|
121
|
-
this.charReceived = this.charLength = 0;
|
122
|
-
|
123
|
-
// if there are no more bytes in this buffer, just emit our char
|
124
|
-
if (buffer.length === 0) {
|
125
|
-
return charStr;
|
126
|
-
}
|
127
|
-
break;
|
128
|
-
}
|
129
|
-
|
130
|
-
// determine and set charLength / charReceived
|
131
|
-
this.detectIncompleteChar(buffer);
|
132
|
-
|
133
|
-
var end = buffer.length;
|
134
|
-
if (this.charLength) {
|
135
|
-
// buffer the incomplete character bytes we got
|
136
|
-
buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end);
|
137
|
-
end -= this.charReceived;
|
138
|
-
}
|
139
|
-
|
140
|
-
charStr += buffer.toString(this.encoding, 0, end);
|
141
|
-
|
142
|
-
var end = charStr.length - 1;
|
143
|
-
var charCode = charStr.charCodeAt(end);
|
144
|
-
// CESU-8: lead surrogate (D800-DBFF) is also the incomplete character
|
145
|
-
if (charCode >= 0xD800 && charCode <= 0xDBFF) {
|
146
|
-
var size = this.surrogateSize;
|
147
|
-
this.charLength += size;
|
148
|
-
this.charReceived += size;
|
149
|
-
this.charBuffer.copy(this.charBuffer, size, 0, size);
|
150
|
-
buffer.copy(this.charBuffer, 0, 0, size);
|
151
|
-
return charStr.substring(0, end);
|
152
|
-
}
|
153
|
-
|
154
|
-
// or just emit the charStr
|
155
|
-
return charStr;
|
156
|
-
};
|
157
|
-
|
158
|
-
// detectIncompleteChar determines if there is an incomplete UTF-8 character at
|
159
|
-
// the end of the given buffer. If so, it sets this.charLength to the byte
|
160
|
-
// length that character, and sets this.charReceived to the number of bytes
|
161
|
-
// that are available for this character.
|
162
|
-
StringDecoder.prototype.detectIncompleteChar = function(buffer) {
|
163
|
-
// determine how many bytes we have to check at the end of this buffer
|
164
|
-
var i = (buffer.length >= 3) ? 3 : buffer.length;
|
165
|
-
|
166
|
-
// Figure out if one of the last i bytes of our buffer announces an
|
167
|
-
// incomplete char.
|
168
|
-
for (; i > 0; i--) {
|
169
|
-
var c = buffer[buffer.length - i];
|
170
|
-
|
171
|
-
// See http://en.wikipedia.org/wiki/UTF-8#Description
|
172
|
-
|
173
|
-
// 110XXXXX
|
174
|
-
if (i == 1 && c >> 5 == 0x06) {
|
175
|
-
this.charLength = 2;
|
176
|
-
break;
|
177
|
-
}
|
178
|
-
|
179
|
-
// 1110XXXX
|
180
|
-
if (i <= 2 && c >> 4 == 0x0E) {
|
181
|
-
this.charLength = 3;
|
182
|
-
break;
|
183
|
-
}
|
184
|
-
|
185
|
-
// 11110XXX
|
186
|
-
if (i <= 3 && c >> 3 == 0x1E) {
|
187
|
-
this.charLength = 4;
|
188
|
-
break;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
this.charReceived = i;
|
192
|
-
};
|
193
|
-
|
194
|
-
StringDecoder.prototype.end = function(buffer) {
|
195
|
-
var res = '';
|
196
|
-
if (buffer && buffer.length)
|
197
|
-
res = this.write(buffer);
|
198
|
-
|
199
|
-
if (this.charReceived) {
|
200
|
-
var cr = this.charReceived;
|
201
|
-
var buf = this.charBuffer;
|
202
|
-
var enc = this.encoding;
|
203
|
-
res += buf.slice(0, cr).toString(enc);
|
204
|
-
}
|
205
|
-
|
206
|
-
return res;
|
207
|
-
};
|
208
|
-
|
209
|
-
function passThroughWrite(buffer) {
|
210
|
-
return buffer.toString(this.encoding);
|
211
|
-
}
|
212
|
-
|
213
|
-
function utf16DetectIncompleteChar(buffer) {
|
214
|
-
this.charReceived = buffer.length % 2;
|
215
|
-
this.charLength = this.charReceived ? 2 : 0;
|
216
|
-
}
|
217
|
-
|
218
|
-
function base64DetectIncompleteChar(buffer) {
|
219
|
-
this.charReceived = buffer.length % 3;
|
220
|
-
this.charLength = this.charReceived ? 3 : 0;
|
221
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
var argv = process.argv;
|
3
|
-
|
4
|
-
var terminator = argv.indexOf('--');
|
5
|
-
var hasFlag = function (flag) {
|
6
|
-
flag = '--' + flag;
|
7
|
-
var pos = argv.indexOf(flag);
|
8
|
-
return pos !== -1 && (terminator !== -1 ? pos < terminator : true);
|
9
|
-
};
|
10
|
-
|
11
|
-
module.exports = (function () {
|
12
|
-
if ('FORCE_COLOR' in process.env) {
|
13
|
-
return true;
|
14
|
-
}
|
15
|
-
|
16
|
-
if (hasFlag('no-color') ||
|
17
|
-
hasFlag('no-colors') ||
|
18
|
-
hasFlag('color=false')) {
|
19
|
-
return false;
|
20
|
-
}
|
21
|
-
|
22
|
-
if (hasFlag('color') ||
|
23
|
-
hasFlag('colors') ||
|
24
|
-
hasFlag('color=true') ||
|
25
|
-
hasFlag('color=always')) {
|
26
|
-
return true;
|
27
|
-
}
|
28
|
-
|
29
|
-
if (process.stdout && !process.stdout.isTTY) {
|
30
|
-
return false;
|
31
|
-
}
|
32
|
-
|
33
|
-
if (process.platform === 'win32') {
|
34
|
-
return true;
|
35
|
-
}
|
36
|
-
|
37
|
-
if ('COLORTERM' in process.env) {
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
|
41
|
-
if (process.env.TERM === 'dumb') {
|
42
|
-
return false;
|
43
|
-
}
|
44
|
-
|
45
|
-
if (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) {
|
46
|
-
return true;
|
47
|
-
}
|
48
|
-
|
49
|
-
return false;
|
50
|
-
})();
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|