fsevents 1.0.8 → 1.0.9
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/node_modules/ansi-styles/index.js +72 -6
- package/node_modules/ansi-styles/package.json +19 -12
- package/node_modules/ansi-styles/readme.md +36 -8
- package/node_modules/are-we-there-yet/CHANGES.md +19 -0
- package/node_modules/are-we-there-yet/README.md +12 -2
- package/node_modules/are-we-there-yet/index.js +4 -132
- package/node_modules/are-we-there-yet/package.json +18 -13
- package/node_modules/are-we-there-yet/test/lib/test-event.js +29 -0
- package/node_modules/are-we-there-yet/test/tracker.js +44 -43
- package/node_modules/are-we-there-yet/test/trackergroup.js +73 -64
- package/node_modules/are-we-there-yet/test/trackerstream.js +26 -40
- package/node_modules/are-we-there-yet/tracker-base.js +11 -0
- package/node_modules/are-we-there-yet/tracker-group.js +107 -0
- package/node_modules/are-we-there-yet/tracker-stream.js +35 -0
- package/node_modules/are-we-there-yet/tracker.js +30 -0
- package/node_modules/asn1/package.json +1 -2
- package/node_modules/assert-plus/package.json +1 -3
- package/node_modules/async/package.json +1 -1
- package/node_modules/aws4/.npmignore +2 -1
- package/node_modules/aws4/README.md +4 -0
- package/node_modules/aws4/aws4.js +8 -3
- package/node_modules/aws4/node_modules/lru-cache/.npmignore +3 -0
- package/node_modules/aws4/node_modules/lru-cache/.travis.yml +3 -4
- package/node_modules/aws4/node_modules/lru-cache/README.md +29 -24
- package/node_modules/aws4/node_modules/lru-cache/benchmarks/insertion-time.js +32 -0
- package/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +333 -199
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/LICENSE +15 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/README.md +60 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/map.js +9 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/package.json +59 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/pseudomap.js +113 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/test/basic.js +86 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.npmignore +4 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.travis.yml +7 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/CONTRIBUTING.md +4 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/LICENSE +15 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/README.md +204 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/package.json +59 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/test/basic.js +188 -0
- package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/yallist.js +360 -0
- package/node_modules/aws4/node_modules/lru-cache/package.json +16 -12
- package/node_modules/aws4/node_modules/lru-cache/test/basic.js +270 -146
- package/node_modules/aws4/node_modules/lru-cache/test/foreach.js +39 -25
- package/node_modules/aws4/node_modules/lru-cache/test/inspect.js +54 -0
- package/node_modules/aws4/node_modules/lru-cache/test/no-symbol.js +3 -0
- package/node_modules/aws4/node_modules/lru-cache/test/serialize.js +115 -104
- package/node_modules/aws4/package.json +17 -14
- package/node_modules/bl/bl.js +9 -3
- package/node_modules/bl/package.json +12 -12
- package/node_modules/bl/test/test.js +14 -0
- package/node_modules/color-convert/README.md +62 -0
- package/node_modules/color-convert/conversions.js +594 -0
- package/node_modules/color-convert/css-keywords.js +151 -0
- package/node_modules/color-convert/index.js +75 -0
- package/node_modules/color-convert/package.json +92 -0
- package/node_modules/color-convert/route.js +98 -0
- package/node_modules/dashdash/lib/dashdash.js +1 -1
- package/node_modules/dashdash/node_modules/assert-plus/AUTHORS +6 -0
- package/node_modules/dashdash/node_modules/assert-plus/CHANGES.md +14 -0
- package/node_modules/dashdash/node_modules/assert-plus/README.md +162 -0
- package/node_modules/dashdash/node_modules/assert-plus/assert.js +211 -0
- package/node_modules/dashdash/node_modules/assert-plus/package.json +89 -0
- package/node_modules/dashdash/package.json +19 -12
- package/node_modules/ecc-jsbn/package.json +1 -2
- package/node_modules/escape-string-regexp/package.json +15 -11
- package/node_modules/extsprintf/package.json +2 -3
- package/node_modules/form-data/.dockerignore +7 -0
- package/node_modules/form-data/.editorconfig +10 -0
- package/node_modules/form-data/.eslintignore +1 -0
- package/node_modules/form-data/.eslintrc +64 -0
- package/node_modules/form-data/{Readme.md → README.md} +9 -1
- package/node_modules/form-data/lib/browser.js +2 -1
- package/node_modules/form-data/lib/form_data.js +172 -135
- package/node_modules/form-data/lib/populate.js +9 -0
- package/node_modules/form-data/package.json +35 -16
- package/node_modules/form-data/wercker.yml +36 -0
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/index.js +1 -1
- package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +14 -10
- package/node_modules/gauge/README.md +1 -1
- package/node_modules/gauge/package.json +18 -14
- package/node_modules/gauge/progress-bar.js +2 -2
- package/node_modules/http-signature/package.json +1 -2
- package/node_modules/is-my-json-valid/README.md +2 -2
- package/node_modules/is-my-json-valid/index.js +15 -6
- package/node_modules/is-my-json-valid/package.json +11 -7
- package/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +36 -0
- package/node_modules/is-my-json-valid/test/misc.js +18 -0
- package/node_modules/is-typedarray/package.json +1 -2
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +6 -0
- package/node_modules/isarray/index.js +3 -1
- package/node_modules/isarray/package.json +28 -10
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/jodid25519/package.json +1 -2
- package/node_modules/jsbn/package.json +1 -2
- package/node_modules/json-schema/package.json +1 -1
- package/node_modules/jsprim/package.json +1 -2
- package/node_modules/lodash.pad/LICENSE +17 -16
- package/node_modules/lodash.pad/README.md +2 -2
- package/node_modules/lodash.pad/index.js +3 -94
- package/node_modules/lodash.pad/package.json +12 -12
- package/node_modules/lodash.padend/LICENSE +23 -0
- package/node_modules/lodash.padend/README.md +18 -0
- package/node_modules/lodash.padend/index.js +285 -0
- package/node_modules/lodash.padend/package.json +91 -0
- package/node_modules/lodash.padstart/LICENSE +23 -0
- package/node_modules/lodash.padstart/README.md +18 -0
- package/node_modules/lodash.padstart/index.js +285 -0
- package/node_modules/lodash.padstart/package.json +91 -0
- package/node_modules/lodash.repeat/LICENSE +17 -16
- package/node_modules/lodash.repeat/README.md +2 -2
- package/node_modules/lodash.repeat/index.js +3 -94
- package/node_modules/lodash.repeat/package.json +14 -13
- package/node_modules/lodash.tostring/LICENSE +23 -0
- package/node_modules/lodash.tostring/README.md +18 -0
- package/node_modules/lodash.tostring/index.js +164 -0
- package/node_modules/lodash.tostring/package.json +91 -0
- package/node_modules/mime-db/HISTORY.md +14 -0
- package/node_modules/mime-db/db.json +26 -3
- package/node_modules/mime-db/package.json +23 -18
- package/node_modules/mime-types/HISTORY.md +8 -0
- package/node_modules/mime-types/README.md +1 -1
- package/node_modules/mime-types/package.json +21 -16
- package/node_modules/node-pre-gyp/CHANGELOG.md +11 -0
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +44 -4
- package/node_modules/node-pre-gyp/package.json +16 -16
- package/node_modules/npmlog/.nyc_output/64996.json +1 -0
- package/node_modules/npmlog/.nyc_output/64998.json +1 -0
- package/node_modules/npmlog/.nyc_output/65000.json +1 -0
- package/node_modules/npmlog/log.js +3 -2
- package/node_modules/npmlog/package.json +15 -11
- package/node_modules/npmlog/test/progress.js +25 -8
- package/node_modules/once/package.json +1 -1
- package/node_modules/qs/package.json +1 -2
- package/node_modules/readable-stream/.travis.yml +18 -16
- package/node_modules/readable-stream/README.md +1 -1
- package/node_modules/readable-stream/doc/stream.markdown +435 -405
- package/node_modules/readable-stream/lib/_stream_duplex.js +13 -20
- package/node_modules/readable-stream/lib/_stream_passthrough.js +3 -4
- package/node_modules/readable-stream/lib/_stream_readable.js +110 -205
- package/node_modules/readable-stream/lib/_stream_transform.js +21 -38
- package/node_modules/readable-stream/lib/_stream_writable.js +108 -121
- package/node_modules/readable-stream/package.json +19 -15
- package/node_modules/request/package.json +1 -2
- package/node_modules/rimraf/node_modules/glob/README.md +6 -0
- package/node_modules/rimraf/node_modules/glob/common.js +12 -3
- package/node_modules/rimraf/node_modules/glob/glob.js +20 -3
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +1 -1
- package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +14 -10
- package/node_modules/rimraf/node_modules/glob/package.json +15 -11
- package/node_modules/rimraf/node_modules/glob/sync.js +8 -1
- package/node_modules/rimraf/package.json +14 -10
- package/node_modules/semver/package.json +1 -2
- package/node_modules/sshpk/lib/formats/rfc4253.js +2 -1
- package/node_modules/sshpk/package.json +13 -10
- package/node_modules/strip-ansi/package.json +21 -16
- package/node_modules/strip-ansi/readme.md +5 -5
- package/node_modules/tough-cookie/lib/cookie.js +2 -2
- package/node_modules/tough-cookie/package.json +13 -9
- package/node_modules/tweetnacl/CHANGELOG.md +53 -0
- package/node_modules/tweetnacl/COPYING.txt +9 -0
- package/node_modules/tweetnacl/README.md +14 -40
- package/node_modules/tweetnacl/nacl-fast.js +21 -51
- package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
- package/node_modules/tweetnacl/nacl.js +21 -51
- package/node_modules/tweetnacl/nacl.min.js +1 -1
- package/node_modules/tweetnacl/package.json +28 -38
- package/node_modules/verror/package.json +2 -3
- package/package.json +2 -2
- package/node_modules/aws4/example.js +0 -372
- package/node_modules/aws4/node_modules/lru-cache/test/memory-leak.js +0 -51
- package/node_modules/isarray/build/build.js +0 -209
- package/node_modules/lodash._basetostring/LICENSE +0 -22
- package/node_modules/lodash._basetostring/README.md +0 -20
- package/node_modules/lodash._basetostring/index.js +0 -22
- package/node_modules/lodash._basetostring/package.json +0 -99
- package/node_modules/lodash._createpadding/LICENSE +0 -22
- package/node_modules/lodash._createpadding/README.md +0 -20
- package/node_modules/lodash._createpadding/index.js +0 -37
- package/node_modules/lodash._createpadding/package.json +0 -101
- package/node_modules/lodash._root/LICENSE +0 -22
- package/node_modules/lodash._root/README.md +0 -18
- package/node_modules/lodash._root/index.js +0 -53
- package/node_modules/lodash._root/package.json +0 -77
- package/node_modules/lodash.padleft/LICENSE.txt +0 -22
- package/node_modules/lodash.padleft/README.md +0 -20
- package/node_modules/lodash.padleft/index.js +0 -50
- package/node_modules/lodash.padleft/package.json +0 -107
- package/node_modules/lodash.padright/LICENSE.txt +0 -22
- package/node_modules/lodash.padright/README.md +0 -20
- package/node_modules/lodash.padright/index.js +0 -50
- package/node_modules/lodash.padright/package.json +0 -107
package/node_modules/bl/bl.js
CHANGED
@@ -57,8 +57,14 @@ BufferList.prototype.append = function (buf) {
|
|
57
57
|
if (typeof buf == 'number')
|
58
58
|
buf = buf.toString()
|
59
59
|
|
60
|
-
|
61
|
-
|
60
|
+
if (buf instanceof BufferList) {
|
61
|
+
this._bufs.push.apply(this._bufs, buf._bufs)
|
62
|
+
this.length += buf.length
|
63
|
+
} else {
|
64
|
+
this._bufs.push(isBuffer ? buf : new Buffer(buf))
|
65
|
+
this.length += buf.length
|
66
|
+
}
|
67
|
+
|
62
68
|
return this
|
63
69
|
}
|
64
70
|
|
@@ -162,7 +168,7 @@ BufferList.prototype.toString = function (encoding, start, end) {
|
|
162
168
|
|
163
169
|
BufferList.prototype.consume = function (bytes) {
|
164
170
|
while (this._bufs.length) {
|
165
|
-
if (bytes
|
171
|
+
if (bytes >= this._bufs[0].length) {
|
166
172
|
bytes -= this._bufs[0].length
|
167
173
|
this.length -= this._bufs[0].length
|
168
174
|
this._bufs.shift()
|
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"_from": "bl@~1.0.0",
|
3
|
-
"_id": "bl@1.0.
|
3
|
+
"_id": "bl@1.0.3",
|
4
4
|
"_location": "/bl",
|
5
|
-
"_nodeVersion": "5.
|
5
|
+
"_nodeVersion": "5.6.0",
|
6
6
|
"_npmOperationalInternal": {
|
7
|
-
"host": "packages-
|
8
|
-
"tmp": "tmp/bl-1.0.
|
7
|
+
"host": "packages-5-east.internal.npmjs.com",
|
8
|
+
"tmp": "tmp/bl-1.0.3.tgz_1455187279627_0.9823597683571279"
|
9
9
|
},
|
10
10
|
"_npmUser": {
|
11
11
|
"email": "rod@vagg.org",
|
@@ -16,8 +16,8 @@
|
|
16
16
|
"_requiredBy": [
|
17
17
|
"/request"
|
18
18
|
],
|
19
|
-
"_resolved": "https://registry.npmjs.org/bl/-/bl-1.0.
|
20
|
-
"_shasum": "
|
19
|
+
"_resolved": "https://registry.npmjs.org/bl/-/bl-1.0.3.tgz",
|
20
|
+
"_shasum": "fc5421a28fd4226036c3b3891a66a25bc64d226e",
|
21
21
|
"_shrinkwrap": null,
|
22
22
|
"authors": [
|
23
23
|
"Jarett Cruger <jcrugzz@gmail.com> (https://github.com/jcrugzz)",
|
@@ -32,16 +32,16 @@
|
|
32
32
|
},
|
33
33
|
"description": "Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!",
|
34
34
|
"devDependencies": {
|
35
|
-
"faucet": "
|
35
|
+
"faucet": "0.0.1",
|
36
36
|
"hash_file": "~0.1.1",
|
37
|
-
"tape": "~
|
37
|
+
"tape": "~4.4.0"
|
38
38
|
},
|
39
39
|
"directories": {},
|
40
40
|
"dist": {
|
41
|
-
"shasum": "
|
42
|
-
"tarball": "http://registry.npmjs.org/bl/-/bl-1.0.
|
41
|
+
"shasum": "fc5421a28fd4226036c3b3891a66a25bc64d226e",
|
42
|
+
"tarball": "http://registry.npmjs.org/bl/-/bl-1.0.3.tgz"
|
43
43
|
},
|
44
|
-
"gitHead": "
|
44
|
+
"gitHead": "906e0dd6e811c9989a2c1d46fcca22c8da9f8f5b",
|
45
45
|
"homepage": "https://github.com/rvagg/bl",
|
46
46
|
"keywords": [
|
47
47
|
"awesomesauce",
|
@@ -67,5 +67,5 @@
|
|
67
67
|
"scripts": {
|
68
68
|
"test": "node test/test.js | faucet"
|
69
69
|
},
|
70
|
-
"version": "1.0.
|
70
|
+
"version": "1.0.3"
|
71
71
|
}
|
@@ -128,6 +128,20 @@ tape('consuming from multiple buffers', function (t) {
|
|
128
128
|
t.end()
|
129
129
|
})
|
130
130
|
|
131
|
+
tape('complete consumption', function (t) {
|
132
|
+
var bl = new BufferList()
|
133
|
+
|
134
|
+
bl.append(new Buffer('a'))
|
135
|
+
bl.append(new Buffer('b'))
|
136
|
+
|
137
|
+
bl.consume(2)
|
138
|
+
|
139
|
+
t.equal(bl.length, 0)
|
140
|
+
t.equal(bl._bufs.length, 0)
|
141
|
+
|
142
|
+
t.end()
|
143
|
+
})
|
144
|
+
|
131
145
|
tape('test readUInt8 / readInt8', function (t) {
|
132
146
|
var buf1 = new Buffer(1)
|
133
147
|
, buf2 = new Buffer(3)
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# color-convert
|
2
|
+
|
3
|
+
[](https://travis-ci.org/MoOx/color-convert)
|
4
|
+
|
5
|
+
Color-convert is a color conversion library for JavaScript and node.
|
6
|
+
It converts all ways between `rgb`, `hsl`, `hsv`, `hwb`, `cmyk`, `ansi`, `ansi16`, `hex` strings, and CSS `keyword`s:
|
7
|
+
|
8
|
+
```js
|
9
|
+
var convert = require('color-convert');
|
10
|
+
|
11
|
+
convert.rgb.hsl(140, 200, 100); // [96, 48, 59]
|
12
|
+
convert.keyword.rgb('blue'); // [0, 0, 255]
|
13
|
+
```
|
14
|
+
|
15
|
+
# Install
|
16
|
+
|
17
|
+
```console
|
18
|
+
$ npm install color-convert
|
19
|
+
```
|
20
|
+
|
21
|
+
# API
|
22
|
+
|
23
|
+
Simply get the property of the _from_ and _to_ conversion that you're looking for.
|
24
|
+
|
25
|
+
All functions have a rounded and unrounded variant. By default, return values are rounded. To get the unrounded (raw) results, simply tack on `.raw` to the function.
|
26
|
+
|
27
|
+
```js
|
28
|
+
var convert = require('color-convert');
|
29
|
+
|
30
|
+
// Hex to LAB
|
31
|
+
convert.hex.lab('DEADBF'); // [ 76, 21, -2 ]
|
32
|
+
convert.hex.lab.raw('DEADBF'); // [ 75.56213190997677, 20.653827952644754, -2.290532499330533 ]
|
33
|
+
|
34
|
+
// RGB to CMYK
|
35
|
+
convert.rgb.cmyk(167, 255, 4); // [ 35, 0, 98, 0 ]
|
36
|
+
convert.rgb.cmyk.raw(167, 255, 4); // [ 34.509803921568626, 0, 98.43137254901961, 0 ]
|
37
|
+
```
|
38
|
+
|
39
|
+
### Arrays
|
40
|
+
All functions that accept multiple arguments also support passing an array.
|
41
|
+
|
42
|
+
Not that this does **not** apply to functions that convert from a color that only requires one value (e.g. `keyword`, `ansi256`, `hex`, etc.)
|
43
|
+
|
44
|
+
```js
|
45
|
+
var convert = require('color-convert');
|
46
|
+
|
47
|
+
convert.rgb.hex(123, 45, 67); // '7B2D43'
|
48
|
+
convert.rgb.hex([123, 45, 67]); // '7B2D43'
|
49
|
+
```
|
50
|
+
|
51
|
+
## Routing
|
52
|
+
|
53
|
+
Conversions that don't have an _explicitly_ defined conversion (in [conversions.js](conversions.js)), but can be converted by means of sub-conversions (e.g. XYZ -> **RGB** -> CMYK), are automatically routed together. This allows just about any color model supported by `color-convert` to be converted to any other model, so long as a sub-conversion path exists. This is also true for conversions requiring more than one step in between (e.g. LCH -> **LAB** -> **XYZ** -> **RGB** -> Hex).
|
54
|
+
|
55
|
+
Keep in mind that extensive conversions _may_ result in a loss of precision, and exist only to be complete. For a list of "direct" (single-step) conversions, see [conversions.js](conversions.js).
|
56
|
+
|
57
|
+
# Contribute
|
58
|
+
|
59
|
+
If there is a new model you would like to support, or want to add a direct conversion between two existing models, please send us a pull request.
|
60
|
+
|
61
|
+
# License
|
62
|
+
Copyright © 2011-2016, Heather Arthur and Josh Junon. Licensed under the [MIT License](LICENSE).
|