fsevents 1.0.15 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fsevents might be problematic. Click here for more details.
- package/fsevents.js +3 -0
- package/install.js +7 -0
- package/lib/binding/Release/node-v48-darwin-x64/fse.node +0 -0
- package/node_modules/abbrev/abbrev.js +0 -1
- package/node_modules/abbrev/package.json +32 -21
- package/node_modules/ansi-regex/index.js +1 -1
- package/node_modules/ansi-regex/package.json +61 -42
- package/node_modules/ansi-regex/readme.md +10 -2
- package/node_modules/ansi-styles/package.json +27 -19
- package/node_modules/aproba/README.md +33 -3
- package/node_modules/aproba/index.js +71 -30
- package/node_modules/aproba/package.json +30 -22
- package/node_modules/are-we-there-yet/package.json +14 -6
- package/node_modules/asn1/package.json +16 -8
- package/node_modules/assert-plus/package.json +16 -8
- package/node_modules/{node-uuid/LICENSE.md → asynckit/LICENSE} +1 -1
- package/node_modules/asynckit/README.md +233 -0
- package/node_modules/asynckit/bench.js +76 -0
- package/node_modules/asynckit/index.js +6 -0
- package/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/asynckit/package.json +126 -0
- package/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/asynckit/serial.js +17 -0
- package/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/asynckit/stream.js +21 -0
- package/node_modules/aws-sign2/package.json +15 -7
- package/node_modules/aws4/README.md +9 -0
- package/node_modules/aws4/aws4.js +21 -7
- package/node_modules/aws4/package.json +62 -54
- package/node_modules/balanced-match/package.json +27 -19
- package/node_modules/bcrypt-pbkdf/README.md +39 -0
- package/node_modules/bcrypt-pbkdf/index.js +556 -0
- package/node_modules/bcrypt-pbkdf/package.json +84 -0
- package/node_modules/block-stream/package.json +15 -7
- package/node_modules/boom/package.json +14 -6
- package/node_modules/brace-expansion/index.js +10 -0
- package/node_modules/brace-expansion/package.json +35 -27
- package/node_modules/buffer-shims/package.json +16 -7
- package/node_modules/caseless/package.json +18 -10
- package/node_modules/chalk/package.json +30 -22
- package/node_modules/code-point-at/index.js +3 -4
- package/node_modules/code-point-at/package.json +40 -30
- package/node_modules/code-point-at/readme.md +2 -4
- package/node_modules/combined-stream/package.json +15 -7
- package/node_modules/commander/package.json +16 -8
- package/node_modules/concat-map/package.json +30 -22
- package/node_modules/console-control-strings/package.json +15 -7
- package/node_modules/core-util-is/package.json +22 -14
- package/node_modules/cryptiles/package.json +14 -6
- package/node_modules/dashdash/CHANGES.md +364 -0
- package/node_modules/dashdash/LICENSE.txt +24 -0
- package/node_modules/dashdash/etc/dashdash.bash_completion.in +4 -3
- package/node_modules/dashdash/node_modules/assert-plus/package.json +16 -8
- package/node_modules/dashdash/package.json +33 -24
- package/node_modules/debug/package.json +20 -12
- package/node_modules/deep-extend/package.json +23 -15
- package/node_modules/delayed-stream/package.json +15 -7
- package/node_modules/delegates/package.json +14 -6
- package/node_modules/ecc-jsbn/package.json +17 -9
- package/node_modules/escape-string-regexp/package.json +20 -12
- package/node_modules/extend/package.json +16 -8
- package/node_modules/extsprintf/package.json +14 -6
- package/node_modules/forever-agent/package.json +15 -7
- package/node_modules/form-data/README.md +7 -8
- package/node_modules/form-data/lib/browser.js +1 -1
- package/node_modules/form-data/lib/form_data.js +101 -72
- package/node_modules/form-data/lib/populate.js +6 -5
- package/node_modules/form-data/package.json +68 -52
- package/node_modules/fs.realpath/package.json +19 -11
- package/node_modules/fstream/package.json +15 -7
- package/node_modules/fstream-ignore/package.json +15 -7
- package/node_modules/gauge/CHANGELOG.md +24 -0
- package/node_modules/gauge/README.md +4 -0
- package/node_modules/gauge/index.js +16 -9
- package/node_modules/gauge/package.json +37 -29
- package/node_modules/generate-function/package.json +16 -8
- package/node_modules/generate-object-property/package.json +14 -6
- package/node_modules/getpass/node_modules/assert-plus/package.json +16 -8
- package/node_modules/getpass/package.json +16 -8
- package/node_modules/glob/README.md +3 -0
- package/node_modules/glob/common.js +6 -1
- package/node_modules/glob/glob.js +23 -14
- package/node_modules/glob/package.json +29 -21
- package/node_modules/glob/sync.js +29 -11
- package/node_modules/graceful-fs/README.md +1 -1
- package/node_modules/graceful-fs/graceful-fs.js +23 -14
- package/node_modules/graceful-fs/package.json +35 -27
- package/node_modules/graceful-fs/polyfills.js +99 -21
- package/node_modules/graceful-readlink/package.json +14 -6
- package/node_modules/har-validator/package.json +16 -8
- package/node_modules/has-ansi/package.json +29 -21
- package/node_modules/has-unicode/package.json +18 -10
- package/node_modules/hawk/package.json +18 -10
- package/node_modules/hoek/package.json +14 -6
- package/node_modules/http-signature/package.json +14 -6
- package/node_modules/inflight/inflight.js +22 -12
- package/node_modules/inflight/package.json +28 -20
- package/node_modules/inherits/inherits.js +7 -1
- package/node_modules/inherits/package.json +41 -21
- package/node_modules/ini/package.json +15 -7
- package/node_modules/is-fullwidth-code-point/package.json +27 -19
- package/node_modules/is-my-json-valid/index.js +10 -0
- package/node_modules/is-my-json-valid/package.json +36 -20
- package/node_modules/is-my-json-valid/test/misc.js +24 -0
- package/node_modules/is-property/package.json +19 -11
- package/node_modules/is-typedarray/package.json +16 -8
- package/node_modules/isarray/package.json +28 -20
- package/node_modules/isstream/package.json +19 -11
- package/node_modules/jodid25519/package.json +18 -10
- package/node_modules/jsbn/index.js +8 -9
- package/node_modules/jsbn/package.json +30 -18
- package/node_modules/json-schema/lib/links.js +17 -3
- package/node_modules/json-schema/lib/validate.js +18 -5
- package/node_modules/json-schema/package.json +32 -18
- package/node_modules/json-stringify-safe/package.json +18 -10
- package/node_modules/{async/LICENSE → jsonpointer/LICENSE.md} +3 -1
- package/node_modules/jsonpointer/README.md +17 -10
- package/node_modules/jsonpointer/jsonpointer.js +73 -56
- package/node_modules/jsonpointer/package.json +47 -26
- package/node_modules/jsprim/CHANGES.md +4 -0
- package/node_modules/jsprim/package.json +25 -17
- package/node_modules/mime-db/HISTORY.md +50 -0
- package/node_modules/mime-db/db.json +126 -2
- package/node_modules/mime-db/package.json +43 -30
- package/node_modules/mime-types/HISTORY.md +19 -0
- package/node_modules/mime-types/index.js +8 -8
- package/node_modules/mime-types/package.json +32 -19
- package/node_modules/minimatch/minimatch.js +19 -20
- package/node_modules/minimatch/package.json +25 -17
- package/node_modules/minimist/package.json +24 -16
- package/node_modules/mkdirp/package.json +21 -13
- package/node_modules/ms/package.json +14 -6
- package/node_modules/node-pre-gyp/CHANGELOG.md +20 -0
- package/node_modules/node-pre-gyp/README.md +574 -0
- package/node_modules/node-pre-gyp/appveyor.yml +19 -9
- package/node_modules/node-pre-gyp/lib/install.js +31 -7
- package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +3 -1
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +140 -0
- package/node_modules/node-pre-gyp/package.json +52 -48
- package/node_modules/nopt/package.json +19 -11
- package/node_modules/npmlog/CHANGELOG.md +9 -0
- package/node_modules/npmlog/README.md +7 -1
- package/node_modules/npmlog/log.js +12 -8
- package/node_modules/npmlog/package.json +30 -22
- package/node_modules/number-is-nan/package.json +39 -30
- package/node_modules/number-is-nan/readme.md +1 -3
- package/node_modules/oauth-sign/package.json +15 -7
- package/node_modules/object-assign/index.js +11 -4
- package/node_modules/object-assign/package.json +42 -30
- package/node_modules/object-assign/readme.md +8 -3
- package/node_modules/once/README.md +28 -0
- package/node_modules/once/once.js +21 -0
- package/node_modules/once/package.json +31 -20
- package/node_modules/path-is-absolute/index.js +5 -5
- package/node_modules/path-is-absolute/package.json +45 -31
- package/node_modules/path-is-absolute/readme.md +19 -11
- package/node_modules/pinkie/package.json +18 -10
- package/node_modules/pinkie-promise/package.json +18 -10
- package/node_modules/process-nextick-args/package.json +16 -8
- package/node_modules/punycode/LICENSE-MIT.txt +20 -0
- package/node_modules/punycode/README.md +176 -0
- package/node_modules/punycode/package.json +127 -0
- package/node_modules/punycode/punycode.js +533 -0
- package/node_modules/qs/.eslintrc +15 -15
- package/node_modules/qs/CHANGELOG.md +36 -0
- package/node_modules/qs/README.md +431 -0
- package/node_modules/qs/dist/qs.js +167 -67
- package/node_modules/qs/lib/formats.js +18 -0
- package/node_modules/qs/lib/index.js +6 -4
- package/node_modules/qs/lib/parse.js +31 -32
- package/node_modules/qs/lib/stringify.js +83 -20
- package/node_modules/qs/lib/utils.js +23 -7
- package/node_modules/qs/package.json +40 -30
- package/node_modules/qs/test/.eslintrc +10 -0
- package/node_modules/qs/test/index.js +2 -0
- package/node_modules/qs/test/parse.js +108 -47
- package/node_modules/qs/test/stringify.js +261 -28
- package/node_modules/qs/test/utils.js +13 -0
- package/node_modules/rc/node_modules/minimist/package.json +24 -16
- package/node_modules/rc/package.json +35 -23
- package/node_modules/readable-stream/.npmignore +1 -0
- package/node_modules/readable-stream/.travis.yml +2 -7
- package/node_modules/readable-stream/README.md +6 -2
- package/node_modules/readable-stream/lib/_stream_readable.js +158 -110
- package/node_modules/readable-stream/lib/_stream_transform.js +7 -5
- package/node_modules/readable-stream/lib/_stream_writable.js +35 -7
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
- package/node_modules/readable-stream/package.json +34 -26
- package/node_modules/request/CHANGELOG.md +49 -18
- package/node_modules/request/README.md +3 -2
- package/node_modules/request/index.js +2 -3
- package/node_modules/request/lib/auth.js +1 -1
- package/node_modules/request/lib/helpers.js +4 -13
- package/node_modules/request/lib/multipart.js +1 -1
- package/node_modules/request/lib/oauth.js +1 -1
- package/node_modules/request/lib/redirect.js +5 -1
- package/node_modules/request/package.json +50 -31
- package/node_modules/request/request.js +84 -43
- package/node_modules/rimraf/package.json +28 -20
- package/node_modules/rimraf/rimraf.js +2 -2
- package/node_modules/semver/README.md +4 -0
- package/node_modules/semver/package.json +27 -19
- package/node_modules/semver/semver.js +14 -5
- package/node_modules/set-blocking/package.json +21 -13
- package/node_modules/signal-exit/CHANGELOG.md +10 -0
- package/node_modules/signal-exit/LICENSE.txt +2 -0
- package/node_modules/signal-exit/index.js +9 -0
- package/node_modules/signal-exit/package.json +32 -24
- package/node_modules/signal-exit/signals.js +5 -4
- package/node_modules/sntp/package.json +16 -8
- package/node_modules/sshpk/README.md +214 -3
- package/node_modules/sshpk/bin/sshpk-conv +6 -0
- package/node_modules/sshpk/lib/certificate.js +291 -0
- package/node_modules/sshpk/lib/errors.js +14 -1
- package/node_modules/sshpk/lib/fingerprint.js +28 -7
- package/node_modules/sshpk/lib/formats/openssh-cert.js +289 -0
- package/node_modules/sshpk/lib/formats/pem.js +2 -2
- package/node_modules/sshpk/lib/formats/pkcs8.js +2 -7
- package/node_modules/sshpk/lib/formats/ssh-private.js +140 -17
- package/node_modules/sshpk/lib/formats/x509-pem.js +77 -0
- package/node_modules/sshpk/lib/formats/x509.js +484 -0
- package/node_modules/sshpk/lib/identity.js +277 -0
- package/node_modules/sshpk/lib/index.js +13 -1
- package/node_modules/sshpk/lib/key.js +1 -0
- package/node_modules/sshpk/lib/signature.js +14 -6
- package/node_modules/sshpk/lib/ssh-buffer.js +24 -0
- package/node_modules/sshpk/lib/utils.js +43 -1
- package/node_modules/sshpk/node_modules/assert-plus/package.json +16 -8
- package/node_modules/sshpk/package.json +32 -22
- package/node_modules/string-width/index.js +5 -0
- package/node_modules/string-width/package.json +49 -36
- package/node_modules/string-width/readme.md +4 -3
- package/node_modules/string_decoder/package.json +19 -11
- package/node_modules/stringstream/package.json +18 -10
- package/node_modules/strip-ansi/package.json +29 -21
- package/node_modules/strip-json-comments/index.js +70 -0
- package/node_modules/strip-json-comments/package.json +49 -43
- package/node_modules/strip-json-comments/readme.md +12 -28
- package/node_modules/supports-color/package.json +26 -18
- package/node_modules/tar/package.json +19 -11
- package/node_modules/tar-pack/README.md +4 -1
- package/node_modules/tar-pack/index.js +17 -12
- package/node_modules/tar-pack/node_modules/once/LICENSE +15 -0
- package/node_modules/tar-pack/node_modules/once/README.md +51 -0
- package/node_modules/tar-pack/node_modules/once/once.js +21 -0
- package/node_modules/tar-pack/node_modules/once/package.json +96 -0
- package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +8 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/.travis.yml +4 -7
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/LICENSE +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/README.md +2 -2
- package/node_modules/tar-pack/node_modules/readable-stream/doc/stream.md +2015 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/duplex.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_duplex.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_passthrough.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_readable.js +164 -107
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_transform.js +3 -3
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_writable.js +25 -15
- package/node_modules/tar-pack/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/package.json +50 -30
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/passthrough.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/readable.js +4 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/transform.js +0 -0
- package/node_modules/{bl → tar-pack}/node_modules/readable-stream/writable.js +0 -0
- package/node_modules/tar-pack/package.json +39 -22
- package/node_modules/tar-pack/test/index.js +43 -1
- package/node_modules/tough-cookie/README.md +17 -3
- package/node_modules/tough-cookie/lib/cookie.js +6 -12
- package/node_modules/tough-cookie/package.json +50 -35
- package/node_modules/tunnel-agent/package.json +15 -7
- package/node_modules/tweetnacl/AUTHORS.md +28 -0
- package/node_modules/tweetnacl/CHANGELOG.md +93 -0
- package/node_modules/tweetnacl/LICENSE +24 -0
- package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +20 -0
- package/node_modules/tweetnacl/README.md +57 -61
- package/node_modules/tweetnacl/nacl-fast.js +22 -52
- package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
- package/node_modules/tweetnacl/nacl.d.ts +98 -0
- package/node_modules/tweetnacl/nacl.js +21 -51
- package/node_modules/tweetnacl/nacl.min.js +1 -1
- package/node_modules/tweetnacl/package.json +47 -46
- package/node_modules/uid-number/package.json +15 -7
- package/node_modules/util-deprecate/package.json +21 -13
- package/node_modules/uuid/.npmignore +8 -0
- package/node_modules/uuid/.travis.yml +5 -0
- package/node_modules/uuid/AUTHORS +5 -0
- package/node_modules/uuid/HISTORY.md +28 -0
- package/node_modules/uuid/LICENSE.md +21 -0
- package/node_modules/uuid/README.md +132 -0
- package/node_modules/{node-uuid → uuid}/bin/uuid +0 -0
- package/node_modules/uuid/index.js +8 -0
- package/node_modules/uuid/lib/bytesToUuid.js +23 -0
- package/node_modules/uuid/lib/rng-browser.js +33 -0
- package/node_modules/uuid/lib/rng.js +10 -0
- package/node_modules/uuid/package.json +122 -0
- package/node_modules/uuid/test/mocha.opts +3 -0
- package/node_modules/uuid/test/test.js +96 -0
- package/node_modules/uuid/v1.js +103 -0
- package/node_modules/uuid/v4.js +29 -0
- package/node_modules/verror/package.json +14 -6
- package/node_modules/wide-align/package.json +19 -11
- package/node_modules/wrappy/package.json +17 -8
- package/node_modules/xtend/package.json +29 -21
- package/package.json +2 -2
- package/node_modules/async/CHANGELOG.md +0 -125
- package/node_modules/async/README.md +0 -1877
- package/node_modules/async/dist/async.js +0 -1265
- package/node_modules/async/dist/async.min.js +0 -2
- package/node_modules/async/lib/async.js +0 -1265
- package/node_modules/async/package.json +0 -149
- package/node_modules/bl/.jshintrc +0 -59
- package/node_modules/bl/.npmignore +0 -1
- package/node_modules/bl/.travis.yml +0 -13
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -200
- package/node_modules/bl/bl.js +0 -243
- package/node_modules/bl/node_modules/readable-stream/.npmignore +0 -5
- package/node_modules/bl/node_modules/readable-stream/.zuul.yml +0 -1
- package/node_modules/bl/node_modules/readable-stream/doc/stream.markdown +0 -1760
- package/node_modules/bl/package.json +0 -96
- package/node_modules/bl/test/test.js +0 -640
- package/node_modules/form-data/.dockerignore +0 -7
- package/node_modules/form-data/.editorconfig +0 -10
- package/node_modules/form-data/.eslintignore +0 -1
- package/node_modules/form-data/.eslintrc +0 -64
- package/node_modules/form-data/wercker.yml +0 -36
- package/node_modules/gauge/CHANGELOG.md~ +0 -123
- package/node_modules/gauge/README.md~ +0 -393
- package/node_modules/has-color/index.js +0 -32
- package/node_modules/has-color/package.json +0 -97
- package/node_modules/has-color/readme.md +0 -30
- package/node_modules/inherits/test.js +0 -25
- package/node_modules/jsonpointer/.travis.yml +0 -10
- package/node_modules/jsonpointer/test.js +0 -98
- package/node_modules/node-uuid/.npmignore +0 -4
- package/node_modules/node-uuid/README.md +0 -254
- package/node_modules/node-uuid/benchmark/README.md +0 -53
- package/node_modules/node-uuid/benchmark/bench.gnu +0 -174
- package/node_modules/node-uuid/benchmark/bench.sh +0 -34
- package/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
- package/node_modules/node-uuid/benchmark/benchmark.js +0 -84
- package/node_modules/node-uuid/bower.json +0 -23
- package/node_modules/node-uuid/component.json +0 -25
- package/node_modules/node-uuid/package.json +0 -105
- package/node_modules/node-uuid/test/compare_v1.js +0 -63
- package/node_modules/node-uuid/test/test.html +0 -17
- package/node_modules/node-uuid/test/test.js +0 -231
- package/node_modules/node-uuid/uuid.js +0 -272
- package/node_modules/npmlog/CHANGELOG.md~ +0 -31
- package/node_modules/qs/.jscs.json +0 -176
- package/node_modules/qs/CONTRIBUTING.md +0 -1
- package/node_modules/readable-stream/doc/stream.md +0 -1772
- package/node_modules/request/.eslintrc +0 -45
- package/node_modules/request/.npmignore +0 -6
- package/node_modules/request/.travis.yml +0 -21
- package/node_modules/request/CONTRIBUTING.md +0 -81
- package/node_modules/request/codecov.yml +0 -2
- package/node_modules/strip-json-comments/cli.js +0 -41
- package/node_modules/strip-json-comments/strip-json-comments.js +0 -73
@@ -1,45 +1,53 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "npmlog@^4.0.1",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "npmlog",
|
8
|
+
"name": "npmlog",
|
9
|
+
"rawSpec": "^4.0.1",
|
10
|
+
"spec": ">=4.0.1 <5.0.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp"
|
6
14
|
]
|
7
15
|
],
|
8
|
-
"_from": "npmlog@>=
|
9
|
-
"_id": "npmlog@
|
16
|
+
"_from": "npmlog@>=4.0.1 <5.0.0",
|
17
|
+
"_id": "npmlog@4.0.2",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/npmlog",
|
13
|
-
"_nodeVersion": "
|
20
|
+
"_nodeVersion": "7.2.0",
|
14
21
|
"_npmOperationalInternal": {
|
15
22
|
"host": "packages-12-west.internal.npmjs.com",
|
16
|
-
"tmp": "tmp/npmlog-
|
23
|
+
"tmp": "tmp/npmlog-4.0.2.tgz_1481572338217_0.2948465726803988"
|
17
24
|
},
|
18
25
|
"_npmUser": {
|
19
|
-
"
|
20
|
-
"
|
26
|
+
"name": "othiym23",
|
27
|
+
"email": "ogd@aoaioxxysz.net"
|
21
28
|
},
|
22
|
-
"_npmVersion": "
|
29
|
+
"_npmVersion": "4.0.5",
|
23
30
|
"_phantomChildren": {},
|
24
31
|
"_requested": {
|
25
|
-
"
|
26
|
-
"raw": "npmlog@~3.1.2",
|
27
|
-
"rawSpec": "~3.1.2",
|
32
|
+
"raw": "npmlog@^4.0.1",
|
28
33
|
"scope": null,
|
29
|
-
"
|
34
|
+
"escapedName": "npmlog",
|
35
|
+
"name": "npmlog",
|
36
|
+
"rawSpec": "^4.0.1",
|
37
|
+
"spec": ">=4.0.1 <5.0.0",
|
30
38
|
"type": "range"
|
31
39
|
},
|
32
40
|
"_requiredBy": [
|
33
41
|
"/node-pre-gyp"
|
34
42
|
],
|
35
|
-
"_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-
|
36
|
-
"_shasum": "
|
43
|
+
"_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.2.tgz",
|
44
|
+
"_shasum": "d03950e0e78ce1527ba26d2a7592e9348ac3e75f",
|
37
45
|
"_shrinkwrap": null,
|
38
|
-
"_spec": "npmlog
|
46
|
+
"_spec": "npmlog@^4.0.1",
|
39
47
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp",
|
40
48
|
"author": {
|
41
|
-
"email": "i@izs.me",
|
42
49
|
"name": "Isaac Z. Schlueter",
|
50
|
+
"email": "i@izs.me",
|
43
51
|
"url": "http://blog.izs.me/"
|
44
52
|
},
|
45
53
|
"bugs": {
|
@@ -48,7 +56,7 @@
|
|
48
56
|
"dependencies": {
|
49
57
|
"are-we-there-yet": "~1.1.2",
|
50
58
|
"console-control-strings": "~1.1.0",
|
51
|
-
"gauge": "~2.
|
59
|
+
"gauge": "~2.7.1",
|
52
60
|
"set-blocking": "~2.0.0"
|
53
61
|
},
|
54
62
|
"description": "logger for npm",
|
@@ -58,13 +66,13 @@
|
|
58
66
|
},
|
59
67
|
"directories": {},
|
60
68
|
"dist": {
|
61
|
-
"shasum": "
|
62
|
-
"tarball": "https://registry.npmjs.org/npmlog/-/npmlog-
|
69
|
+
"shasum": "d03950e0e78ce1527ba26d2a7592e9348ac3e75f",
|
70
|
+
"tarball": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.2.tgz"
|
63
71
|
},
|
64
72
|
"files": [
|
65
73
|
"log.js"
|
66
74
|
],
|
67
|
-
"gitHead": "
|
75
|
+
"gitHead": "a3b7aed07790b674aa1fecfc81a61481abeaf882",
|
68
76
|
"homepage": "https://github.com/npm/npmlog#readme",
|
69
77
|
"license": "ISC",
|
70
78
|
"main": "log.js",
|
@@ -96,5 +104,5 @@
|
|
96
104
|
"scripts": {
|
97
105
|
"test": "standard && tap test/*.js"
|
98
106
|
},
|
99
|
-
"version": "
|
107
|
+
"version": "4.0.2"
|
100
108
|
}
|
@@ -1,56 +1,67 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
5
|
-
|
4
|
+
{
|
5
|
+
"raw": "number-is-nan@^1.0.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "number-is-nan",
|
8
|
+
"name": "number-is-nan",
|
9
|
+
"rawSpec": "^1.0.0",
|
10
|
+
"spec": ">=1.0.0 <2.0.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
13
|
+
"/Users/eshanker/Code/fsevents/node_modules/is-fullwidth-code-point"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "number-is-nan@>=1.0.0 <2.0.0",
|
9
|
-
"_id": "number-is-nan@1.0.
|
17
|
+
"_id": "number-is-nan@1.0.1",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/number-is-nan",
|
13
|
-
"_nodeVersion": "
|
20
|
+
"_nodeVersion": "4.5.0",
|
21
|
+
"_npmOperationalInternal": {
|
22
|
+
"host": "packages-12-west.internal.npmjs.com",
|
23
|
+
"tmp": "tmp/number-is-nan-1.0.1.tgz_1475212313367_0.9480371843092144"
|
24
|
+
},
|
14
25
|
"_npmUser": {
|
15
|
-
"
|
16
|
-
"
|
26
|
+
"name": "sindresorhus",
|
27
|
+
"email": "sindresorhus@gmail.com"
|
17
28
|
},
|
18
|
-
"_npmVersion": "2.
|
29
|
+
"_npmVersion": "2.15.9",
|
19
30
|
"_phantomChildren": {},
|
20
31
|
"_requested": {
|
21
|
-
"name": "number-is-nan",
|
22
32
|
"raw": "number-is-nan@^1.0.0",
|
23
|
-
"rawSpec": "^1.0.0",
|
24
33
|
"scope": null,
|
34
|
+
"escapedName": "number-is-nan",
|
35
|
+
"name": "number-is-nan",
|
36
|
+
"rawSpec": "^1.0.0",
|
25
37
|
"spec": ">=1.0.0 <2.0.0",
|
26
38
|
"type": "range"
|
27
39
|
},
|
28
40
|
"_requiredBy": [
|
29
|
-
"/code-point-at",
|
30
41
|
"/is-fullwidth-code-point"
|
31
42
|
],
|
32
|
-
"_resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.
|
33
|
-
"_shasum": "
|
43
|
+
"_resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
|
44
|
+
"_shasum": "097b602b53422a522c1afb8790318336941a011d",
|
34
45
|
"_shrinkwrap": null,
|
35
46
|
"_spec": "number-is-nan@^1.0.0",
|
36
|
-
"_where": "/Users/eshanker/Code/fsevents/node_modules/code-point
|
47
|
+
"_where": "/Users/eshanker/Code/fsevents/node_modules/is-fullwidth-code-point",
|
37
48
|
"author": {
|
38
|
-
"email": "sindresorhus@gmail.com",
|
39
49
|
"name": "Sindre Sorhus",
|
50
|
+
"email": "sindresorhus@gmail.com",
|
40
51
|
"url": "sindresorhus.com"
|
41
52
|
},
|
42
53
|
"bugs": {
|
43
54
|
"url": "https://github.com/sindresorhus/number-is-nan/issues"
|
44
55
|
},
|
45
56
|
"dependencies": {},
|
46
|
-
"description": "
|
57
|
+
"description": "ES2015 Number.isNaN() ponyfill",
|
47
58
|
"devDependencies": {
|
48
|
-
"ava": "
|
59
|
+
"ava": "*"
|
49
60
|
},
|
50
61
|
"directories": {},
|
51
62
|
"dist": {
|
52
|
-
"shasum": "
|
53
|
-
"tarball": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.
|
63
|
+
"shasum": "097b602b53422a522c1afb8790318336941a011d",
|
64
|
+
"tarball": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz"
|
54
65
|
},
|
55
66
|
"engines": {
|
56
67
|
"node": ">=0.10.0"
|
@@ -58,20 +69,18 @@
|
|
58
69
|
"files": [
|
59
70
|
"index.js"
|
60
71
|
],
|
61
|
-
"gitHead": "
|
72
|
+
"gitHead": "ed9cdac3f428cc929b61bb230da42c87477af4b9",
|
62
73
|
"homepage": "https://github.com/sindresorhus/number-is-nan#readme",
|
63
74
|
"keywords": [
|
64
|
-
"ecmascript",
|
65
75
|
"es2015",
|
66
|
-
"
|
67
|
-
"
|
76
|
+
"ecmascript",
|
77
|
+
"ponyfill",
|
78
|
+
"polyfill",
|
79
|
+
"shim",
|
80
|
+
"number",
|
68
81
|
"is",
|
69
82
|
"nan",
|
70
|
-
"not"
|
71
|
-
"number",
|
72
|
-
"polyfill",
|
73
|
-
"ponyfill",
|
74
|
-
"shim"
|
83
|
+
"not"
|
75
84
|
],
|
76
85
|
"license": "MIT",
|
77
86
|
"maintainers": [
|
@@ -88,7 +97,7 @@
|
|
88
97
|
"url": "git+https://github.com/sindresorhus/number-is-nan.git"
|
89
98
|
},
|
90
99
|
"scripts": {
|
91
|
-
"test": "
|
100
|
+
"test": "ava"
|
92
101
|
},
|
93
|
-
"version": "1.0.
|
102
|
+
"version": "1.0.1"
|
94
103
|
}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# number-is-nan [](https://travis-ci.org/sindresorhus/number-is-nan)
|
2
2
|
|
3
|
-
>
|
4
|
-
|
5
|
-
> Ponyfill: A polyfill that doesn't overwrite the native method
|
3
|
+
> ES2015 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) [ponyfill](https://ponyfill.com)
|
6
4
|
|
7
5
|
|
8
6
|
## Install
|
@@ -1,14 +1,21 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "oauth-sign@~0.8.1",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "oauth-sign",
|
8
|
+
"name": "oauth-sign",
|
9
|
+
"rawSpec": "~0.8.1",
|
10
|
+
"spec": ">=0.8.1 <0.9.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/request"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "oauth-sign@>=0.8.1 <0.9.0",
|
9
17
|
"_id": "oauth-sign@0.8.2",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/oauth-sign",
|
13
20
|
"_nodeVersion": "5.9.0",
|
14
21
|
"_npmOperationalInternal": {
|
@@ -16,16 +23,17 @@
|
|
16
23
|
"tmp": "tmp/oauth-sign-0.8.2.tgz_1462396399020_0.8175400267355144"
|
17
24
|
},
|
18
25
|
"_npmUser": {
|
19
|
-
"
|
20
|
-
"
|
26
|
+
"name": "simov",
|
27
|
+
"email": "simeonvelichkov@gmail.com"
|
21
28
|
},
|
22
29
|
"_npmVersion": "2.15.3",
|
23
30
|
"_phantomChildren": {},
|
24
31
|
"_requested": {
|
25
|
-
"name": "oauth-sign",
|
26
32
|
"raw": "oauth-sign@~0.8.1",
|
27
|
-
"rawSpec": "~0.8.1",
|
28
33
|
"scope": null,
|
34
|
+
"escapedName": "oauth-sign",
|
35
|
+
"name": "oauth-sign",
|
36
|
+
"rawSpec": "~0.8.1",
|
29
37
|
"spec": ">=0.8.1 <0.9.0",
|
30
38
|
"type": "range"
|
31
39
|
},
|
@@ -38,8 +46,8 @@
|
|
38
46
|
"_spec": "oauth-sign@~0.8.1",
|
39
47
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/request",
|
40
48
|
"author": {
|
41
|
-
"email": "mikeal.rogers@gmail.com",
|
42
49
|
"name": "Mikeal Rogers",
|
50
|
+
"email": "mikeal.rogers@gmail.com",
|
43
51
|
"url": "http://www.futurealoof.com"
|
44
52
|
},
|
45
53
|
"bugs": {
|
@@ -1,5 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
object-assign
|
3
|
+
(c) Sindre Sorhus
|
4
|
+
@license MIT
|
5
|
+
*/
|
6
|
+
|
1
7
|
'use strict';
|
2
8
|
/* eslint-disable no-unused-vars */
|
9
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
3
10
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
4
11
|
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
5
12
|
|
@@ -20,7 +27,7 @@ function shouldUseNative() {
|
|
20
27
|
// Detect buggy property enumeration order in older V8 versions.
|
21
28
|
|
22
29
|
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
23
|
-
var test1 = new String('abc'); // eslint-disable-line
|
30
|
+
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
24
31
|
test1[5] = 'de';
|
25
32
|
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
26
33
|
return false;
|
@@ -49,7 +56,7 @@ function shouldUseNative() {
|
|
49
56
|
}
|
50
57
|
|
51
58
|
return true;
|
52
|
-
} catch (
|
59
|
+
} catch (err) {
|
53
60
|
// We don't expect any of the above to throw, but better to be safe.
|
54
61
|
return false;
|
55
62
|
}
|
@@ -69,8 +76,8 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
|
|
69
76
|
}
|
70
77
|
}
|
71
78
|
|
72
|
-
if (
|
73
|
-
symbols =
|
79
|
+
if (getOwnPropertySymbols) {
|
80
|
+
symbols = getOwnPropertySymbols(from);
|
74
81
|
for (var i = 0; i < symbols.length; i++) {
|
75
82
|
if (propIsEnumerable.call(from, symbols[i])) {
|
76
83
|
to[symbols[i]] = from[symbols[i]];
|
@@ -1,62 +1,70 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "object-assign@^4.1.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "object-assign",
|
8
|
+
"name": "object-assign",
|
9
|
+
"rawSpec": "^4.1.0",
|
10
|
+
"spec": ">=4.1.0 <5.0.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/gauge"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "object-assign@>=4.1.0 <5.0.0",
|
9
|
-
"_id": "object-assign@4.1.
|
17
|
+
"_id": "object-assign@4.1.1",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/object-assign",
|
13
|
-
"_nodeVersion": "4.
|
20
|
+
"_nodeVersion": "4.6.2",
|
14
21
|
"_npmOperationalInternal": {
|
15
|
-
"host": "packages-
|
16
|
-
"tmp": "tmp/object-assign-4.1.
|
22
|
+
"host": "packages-12-west.internal.npmjs.com",
|
23
|
+
"tmp": "tmp/object-assign-4.1.1.tgz_1484580915042_0.07107710791751742"
|
17
24
|
},
|
18
25
|
"_npmUser": {
|
19
|
-
"
|
20
|
-
"
|
26
|
+
"name": "sindresorhus",
|
27
|
+
"email": "sindresorhus@gmail.com"
|
21
28
|
},
|
22
|
-
"_npmVersion": "2.
|
29
|
+
"_npmVersion": "2.15.11",
|
23
30
|
"_phantomChildren": {},
|
24
31
|
"_requested": {
|
25
|
-
"name": "object-assign",
|
26
32
|
"raw": "object-assign@^4.1.0",
|
27
|
-
"rawSpec": "^4.1.0",
|
28
33
|
"scope": null,
|
34
|
+
"escapedName": "object-assign",
|
35
|
+
"name": "object-assign",
|
36
|
+
"rawSpec": "^4.1.0",
|
29
37
|
"spec": ">=4.1.0 <5.0.0",
|
30
38
|
"type": "range"
|
31
39
|
},
|
32
40
|
"_requiredBy": [
|
33
41
|
"/gauge"
|
34
42
|
],
|
35
|
-
"_resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.
|
36
|
-
"_shasum": "
|
43
|
+
"_resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
44
|
+
"_shasum": "2109adc7965887cfc05cbbd442cac8bfbb360863",
|
37
45
|
"_shrinkwrap": null,
|
38
46
|
"_spec": "object-assign@^4.1.0",
|
39
47
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/gauge",
|
40
48
|
"author": {
|
41
|
-
"email": "sindresorhus@gmail.com",
|
42
49
|
"name": "Sindre Sorhus",
|
50
|
+
"email": "sindresorhus@gmail.com",
|
43
51
|
"url": "sindresorhus.com"
|
44
52
|
},
|
45
53
|
"bugs": {
|
46
54
|
"url": "https://github.com/sindresorhus/object-assign/issues"
|
47
55
|
},
|
48
56
|
"dependencies": {},
|
49
|
-
"description": "ES2015 Object.assign() ponyfill",
|
57
|
+
"description": "ES2015 `Object.assign()` ponyfill",
|
50
58
|
"devDependencies": {
|
51
|
-
"
|
59
|
+
"ava": "^0.16.0",
|
60
|
+
"lodash": "^4.16.4",
|
52
61
|
"matcha": "^0.7.0",
|
53
|
-
"
|
54
|
-
"xo": "*"
|
62
|
+
"xo": "^0.16.0"
|
55
63
|
},
|
56
64
|
"directories": {},
|
57
65
|
"dist": {
|
58
|
-
"shasum": "
|
59
|
-
"tarball": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.
|
66
|
+
"shasum": "2109adc7965887cfc05cbbd442cac8bfbb360863",
|
67
|
+
"tarball": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
|
60
68
|
},
|
61
69
|
"engines": {
|
62
70
|
"node": ">=0.10.0"
|
@@ -64,24 +72,28 @@
|
|
64
72
|
"files": [
|
65
73
|
"index.js"
|
66
74
|
],
|
67
|
-
"gitHead": "
|
75
|
+
"gitHead": "a89774b252c91612203876984bbd6addbe3b5a0e",
|
68
76
|
"homepage": "https://github.com/sindresorhus/object-assign#readme",
|
69
77
|
"keywords": [
|
78
|
+
"object",
|
70
79
|
"assign",
|
71
|
-
"browser",
|
72
|
-
"ecmascript",
|
73
|
-
"es2015",
|
74
80
|
"extend",
|
81
|
+
"properties",
|
82
|
+
"es2015",
|
83
|
+
"ecmascript",
|
75
84
|
"harmony",
|
76
|
-
"object",
|
77
|
-
"polyfill",
|
78
85
|
"ponyfill",
|
79
86
|
"prollyfill",
|
80
|
-
"
|
81
|
-
"shim"
|
87
|
+
"polyfill",
|
88
|
+
"shim",
|
89
|
+
"browser"
|
82
90
|
],
|
83
91
|
"license": "MIT",
|
84
92
|
"maintainers": [
|
93
|
+
{
|
94
|
+
"name": "gaearon",
|
95
|
+
"email": "dan.abramov@gmail.com"
|
96
|
+
},
|
85
97
|
{
|
86
98
|
"name": "sindresorhus",
|
87
99
|
"email": "sindresorhus@gmail.com"
|
@@ -100,7 +112,7 @@
|
|
100
112
|
},
|
101
113
|
"scripts": {
|
102
114
|
"bench": "matcha bench.js",
|
103
|
-
"test": "xo &&
|
115
|
+
"test": "xo && ava"
|
104
116
|
},
|
105
|
-
"version": "4.1.
|
117
|
+
"version": "4.1.1"
|
106
118
|
}
|
@@ -1,8 +1,13 @@
|
|
1
1
|
# object-assign [](https://travis-ci.org/sindresorhus/object-assign)
|
2
2
|
|
3
|
-
> ES2015 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) ponyfill
|
3
|
+
> ES2015 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) [ponyfill](https://ponyfill.com)
|
4
4
|
|
5
|
-
|
5
|
+
|
6
|
+
## Use the built-in
|
7
|
+
|
8
|
+
Node.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari),
|
9
|
+
support `Object.assign()` :tada:. If you target only those environments, then by all
|
10
|
+
means, use `Object.assign()` instead of this package.
|
6
11
|
|
7
12
|
|
8
13
|
## Install
|
@@ -36,7 +41,7 @@ objectAssign({foo: 0}, null, {bar: 1}, undefined);
|
|
36
41
|
|
37
42
|
## API
|
38
43
|
|
39
|
-
### objectAssign(target,
|
44
|
+
### objectAssign(target, [source, ...])
|
40
45
|
|
41
46
|
Assigns enumerable own properties of `source` objects to the `target` object and returns the `target` object. Additional `source` objects will overwrite previous ones.
|
42
47
|
|
@@ -49,3 +49,31 @@ function load (cb) {
|
|
49
49
|
})
|
50
50
|
}
|
51
51
|
```
|
52
|
+
|
53
|
+
## `once.strict(func)`
|
54
|
+
|
55
|
+
Throw an error if the function is called twice.
|
56
|
+
|
57
|
+
Some functions are expected to be called only once. Using `once` for them would
|
58
|
+
potentially hide logical errors.
|
59
|
+
|
60
|
+
In the example below, the `greet` function has to call the callback only once:
|
61
|
+
|
62
|
+
```javascript
|
63
|
+
function greet (name, cb) {
|
64
|
+
// return is missing from the if statement
|
65
|
+
// when no name is passed, the callback is called twice
|
66
|
+
if (!name) cb('Hello anonymous')
|
67
|
+
cb('Hello ' + name)
|
68
|
+
}
|
69
|
+
|
70
|
+
function log (msg) {
|
71
|
+
console.log(msg)
|
72
|
+
}
|
73
|
+
|
74
|
+
// this will print 'Hello anonymous' but the logical error will be missed
|
75
|
+
greet(null, once(msg))
|
76
|
+
|
77
|
+
// once.strict will print 'Hello anonymous' and throw an error when the callback will be called the second time
|
78
|
+
greet(null, once.strict(msg))
|
79
|
+
```
|
@@ -1,5 +1,6 @@
|
|
1
1
|
var wrappy = require('wrappy')
|
2
2
|
module.exports = wrappy(once)
|
3
|
+
module.exports.strict = wrappy(onceStrict)
|
3
4
|
|
4
5
|
once.proto = once(function () {
|
5
6
|
Object.defineProperty(Function.prototype, 'once', {
|
@@ -8,6 +9,13 @@ once.proto = once(function () {
|
|
8
9
|
},
|
9
10
|
configurable: true
|
10
11
|
})
|
12
|
+
|
13
|
+
Object.defineProperty(Function.prototype, 'onceStrict', {
|
14
|
+
value: function () {
|
15
|
+
return onceStrict(this)
|
16
|
+
},
|
17
|
+
configurable: true
|
18
|
+
})
|
11
19
|
})
|
12
20
|
|
13
21
|
function once (fn) {
|
@@ -19,3 +27,16 @@ function once (fn) {
|
|
19
27
|
f.called = false
|
20
28
|
return f
|
21
29
|
}
|
30
|
+
|
31
|
+
function onceStrict (fn) {
|
32
|
+
var f = function () {
|
33
|
+
if (f.called)
|
34
|
+
throw new Error(f.onceError)
|
35
|
+
f.called = true
|
36
|
+
return f.value = fn.apply(this, arguments)
|
37
|
+
}
|
38
|
+
var name = fn.name || 'Function wrapped with `once`'
|
39
|
+
f.onceError = name + " shouldn't be called more than once"
|
40
|
+
f.called = false
|
41
|
+
return f
|
42
|
+
}
|
@@ -1,43 +1,54 @@
|
|
1
1
|
{
|
2
2
|
"_args": [
|
3
3
|
[
|
4
|
-
|
4
|
+
{
|
5
|
+
"raw": "once@^1.3.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "once",
|
8
|
+
"name": "once",
|
9
|
+
"rawSpec": "^1.3.0",
|
10
|
+
"spec": ">=1.3.0 <2.0.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
5
13
|
"/Users/eshanker/Code/fsevents/node_modules/glob"
|
6
14
|
]
|
7
15
|
],
|
8
16
|
"_from": "once@>=1.3.0 <2.0.0",
|
9
|
-
"_id": "once@1.
|
17
|
+
"_id": "once@1.4.0",
|
10
18
|
"_inCache": true,
|
11
|
-
"_installable": true,
|
12
19
|
"_location": "/once",
|
13
|
-
"_nodeVersion": "
|
20
|
+
"_nodeVersion": "6.5.0",
|
21
|
+
"_npmOperationalInternal": {
|
22
|
+
"host": "packages-12-west.internal.npmjs.com",
|
23
|
+
"tmp": "tmp/once-1.4.0.tgz_1473196269128_0.537820661207661"
|
24
|
+
},
|
14
25
|
"_npmUser": {
|
15
|
-
"
|
16
|
-
"
|
26
|
+
"name": "isaacs",
|
27
|
+
"email": "i@izs.me"
|
17
28
|
},
|
18
|
-
"_npmVersion": "3.
|
29
|
+
"_npmVersion": "3.10.7",
|
19
30
|
"_phantomChildren": {},
|
20
31
|
"_requested": {
|
21
|
-
"name": "once",
|
22
32
|
"raw": "once@^1.3.0",
|
23
|
-
"rawSpec": "^1.3.0",
|
24
33
|
"scope": null,
|
34
|
+
"escapedName": "once",
|
35
|
+
"name": "once",
|
36
|
+
"rawSpec": "^1.3.0",
|
25
37
|
"spec": ">=1.3.0 <2.0.0",
|
26
38
|
"type": "range"
|
27
39
|
},
|
28
40
|
"_requiredBy": [
|
29
41
|
"/glob",
|
30
|
-
"/inflight"
|
31
|
-
"/tar-pack"
|
42
|
+
"/inflight"
|
32
43
|
],
|
33
|
-
"_resolved": "https://registry.npmjs.org/once/-/once-1.
|
34
|
-
"_shasum": "
|
44
|
+
"_resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
45
|
+
"_shasum": "583b1aa775961d4b113ac17d9c50baef9dd76bd1",
|
35
46
|
"_shrinkwrap": null,
|
36
47
|
"_spec": "once@^1.3.0",
|
37
48
|
"_where": "/Users/eshanker/Code/fsevents/node_modules/glob",
|
38
49
|
"author": {
|
39
|
-
"email": "i@izs.me",
|
40
50
|
"name": "Isaac Z. Schlueter",
|
51
|
+
"email": "i@izs.me",
|
41
52
|
"url": "http://blog.izs.me/"
|
42
53
|
},
|
43
54
|
"bugs": {
|
@@ -48,23 +59,23 @@
|
|
48
59
|
},
|
49
60
|
"description": "Run a function exactly one time",
|
50
61
|
"devDependencies": {
|
51
|
-
"tap": "^
|
62
|
+
"tap": "^7.0.1"
|
52
63
|
},
|
53
64
|
"directories": {
|
54
65
|
"test": "test"
|
55
66
|
},
|
56
67
|
"dist": {
|
57
|
-
"shasum": "
|
58
|
-
"tarball": "https://registry.npmjs.org/once/-/once-1.
|
68
|
+
"shasum": "583b1aa775961d4b113ac17d9c50baef9dd76bd1",
|
69
|
+
"tarball": "https://registry.npmjs.org/once/-/once-1.4.0.tgz"
|
59
70
|
},
|
60
71
|
"files": [
|
61
72
|
"once.js"
|
62
73
|
],
|
63
|
-
"gitHead": "
|
74
|
+
"gitHead": "0e614d9f5a7e6f0305c625f6b581f6d80b33b8a6",
|
64
75
|
"homepage": "https://github.com/isaacs/once#readme",
|
65
76
|
"keywords": [
|
66
|
-
"function",
|
67
77
|
"once",
|
78
|
+
"function",
|
68
79
|
"one",
|
69
80
|
"single"
|
70
81
|
],
|
@@ -86,5 +97,5 @@
|
|
86
97
|
"scripts": {
|
87
98
|
"test": "tap test/*.js"
|
88
99
|
},
|
89
|
-
"version": "1.
|
100
|
+
"version": "1.4.0"
|
90
101
|
}
|