fsevents 1.0.9 → 1.0.10

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.

@@ -1,151 +0,0 @@
1
- module.exports = {
2
- aliceblue: [240, 248, 255],
3
- antiquewhite: [250, 235, 215],
4
- aqua: [0, 255, 255],
5
- aquamarine: [127, 255, 212],
6
- azure: [240, 255, 255],
7
- beige: [245, 245, 220],
8
- bisque: [255, 228, 196],
9
- black: [0, 0, 0],
10
- blanchedalmond: [255, 235, 205],
11
- blue: [0, 0, 255],
12
- blueviolet: [138, 43, 226],
13
- brown: [165, 42, 42],
14
- burlywood: [222, 184, 135],
15
- cadetblue: [95, 158, 160],
16
- chartreuse: [127, 255, 0],
17
- chocolate: [210, 105, 30],
18
- coral: [255, 127, 80],
19
- cornflowerblue: [100, 149, 237],
20
- cornsilk: [255, 248, 220],
21
- crimson: [220, 20, 60],
22
- cyan: [0, 255, 255],
23
- darkblue: [0, 0, 139],
24
- darkcyan: [0, 139, 139],
25
- darkgoldenrod: [184, 134, 11],
26
- darkgray: [169, 169, 169],
27
- darkgreen: [0, 100, 0],
28
- darkgrey: [169, 169, 169],
29
- darkkhaki: [189, 183, 107],
30
- darkmagenta: [139, 0, 139],
31
- darkolivegreen: [85, 107, 47],
32
- darkorange: [255, 140, 0],
33
- darkorchid: [153, 50, 204],
34
- darkred: [139, 0, 0],
35
- darksalmon: [233, 150, 122],
36
- darkseagreen: [143, 188, 143],
37
- darkslateblue: [72, 61, 139],
38
- darkslategray: [47, 79, 79],
39
- darkslategrey: [47, 79, 79],
40
- darkturquoise: [0, 206, 209],
41
- darkviolet: [148, 0, 211],
42
- deeppink: [255, 20, 147],
43
- deepskyblue: [0, 191, 255],
44
- dimgray: [105, 105, 105],
45
- dimgrey: [105, 105, 105],
46
- dodgerblue: [30, 144, 255],
47
- firebrick: [178, 34, 34],
48
- floralwhite: [255, 250, 240],
49
- forestgreen: [34, 139, 34],
50
- fuchsia: [255, 0, 255],
51
- gainsboro: [220, 220, 220],
52
- ghostwhite: [248, 248, 255],
53
- gold: [255, 215, 0],
54
- goldenrod: [218, 165, 32],
55
- gray: [128, 128, 128],
56
- green: [0, 128, 0],
57
- greenyellow: [173, 255, 47],
58
- grey: [128, 128, 128],
59
- honeydew: [240, 255, 240],
60
- hotpink: [255, 105, 180],
61
- indianred: [205, 92, 92],
62
- indigo: [75, 0, 130],
63
- ivory: [255, 255, 240],
64
- khaki: [240, 230, 140],
65
- lavender: [230, 230, 250],
66
- lavenderblush: [255, 240, 245],
67
- lawngreen: [124, 252, 0],
68
- lemonchiffon: [255, 250, 205],
69
- lightblue: [173, 216, 230],
70
- lightcoral: [240, 128, 128],
71
- lightcyan: [224, 255, 255],
72
- lightgoldenrodyellow: [250, 250, 210],
73
- lightgray: [211, 211, 211],
74
- lightgreen: [144, 238, 144],
75
- lightgrey: [211, 211, 211],
76
- lightpink: [255, 182, 193],
77
- lightsalmon: [255, 160, 122],
78
- lightseagreen: [32, 178, 170],
79
- lightskyblue: [135, 206, 250],
80
- lightslategray: [119, 136, 153],
81
- lightslategrey: [119, 136, 153],
82
- lightsteelblue: [176, 196, 222],
83
- lightyellow: [255, 255, 224],
84
- lime: [0, 255, 0],
85
- limegreen: [50, 205, 50],
86
- linen: [250, 240, 230],
87
- magenta: [255, 0, 255],
88
- maroon: [128, 0, 0],
89
- mediumaquamarine: [102, 205, 170],
90
- mediumblue: [0, 0, 205],
91
- mediumorchid: [186, 85, 211],
92
- mediumpurple: [147, 112, 219],
93
- mediumseagreen: [60, 179, 113],
94
- mediumslateblue: [123, 104, 238],
95
- mediumspringgreen: [0, 250, 154],
96
- mediumturquoise: [72, 209, 204],
97
- mediumvioletred: [199, 21, 133],
98
- midnightblue: [25, 25, 112],
99
- mintcream: [245, 255, 250],
100
- mistyrose: [255, 228, 225],
101
- moccasin: [255, 228, 181],
102
- navajowhite: [255, 222, 173],
103
- navy: [0, 0, 128],
104
- oldlace: [253, 245, 230],
105
- olive: [128, 128, 0],
106
- olivedrab: [107, 142, 35],
107
- orange: [255, 165, 0],
108
- orangered: [255, 69, 0],
109
- orchid: [218, 112, 214],
110
- palegoldenrod: [238, 232, 170],
111
- palegreen: [152, 251, 152],
112
- paleturquoise: [175, 238, 238],
113
- palevioletred: [219, 112, 147],
114
- papayawhip: [255, 239, 213],
115
- peachpuff: [255, 218, 185],
116
- peru: [205, 133, 63],
117
- pink: [255, 192, 203],
118
- plum: [221, 160, 221],
119
- powderblue: [176, 224, 230],
120
- purple: [128, 0, 128],
121
- rebeccapurple: [102, 51, 153],
122
- red: [255, 0, 0],
123
- rosybrown: [188, 143, 143],
124
- royalblue: [65, 105, 225],
125
- saddlebrown: [139, 69, 19],
126
- salmon: [250, 128, 114],
127
- sandybrown: [244, 164, 96],
128
- seagreen: [46, 139, 87],
129
- seashell: [255, 245, 238],
130
- sienna: [160, 82, 45],
131
- silver: [192, 192, 192],
132
- skyblue: [135, 206, 235],
133
- slateblue: [106, 90, 205],
134
- slategray: [112, 128, 144],
135
- slategrey: [112, 128, 144],
136
- snow: [255, 250, 250],
137
- springgreen: [0, 255, 127],
138
- steelblue: [70, 130, 180],
139
- tan: [210, 180, 140],
140
- teal: [0, 128, 128],
141
- thistle: [216, 191, 216],
142
- tomato: [255, 99, 71],
143
- turquoise: [64, 224, 208],
144
- violet: [238, 130, 238],
145
- wheat: [245, 222, 179],
146
- white: [255, 255, 255],
147
- whitesmoke: [245, 245, 245],
148
- yellow: [255, 255, 0],
149
- yellowgreen: [154, 205, 50]
150
- };
151
-
@@ -1,75 +0,0 @@
1
- var conversions = require('./conversions');
2
- var route = require('./route');
3
-
4
- var convert = {};
5
-
6
- var models = Object.keys(conversions);
7
-
8
- function wrapRaw(fn) {
9
- var wrappedFn = function (args) {
10
- if (args === undefined || args === null) {
11
- return args;
12
- }
13
-
14
- if (arguments.length > 1) {
15
- args = Array.prototype.slice.call(arguments);
16
- }
17
-
18
- return fn(args);
19
- };
20
-
21
- // preserve .conversion property if there is one
22
- if ('conversion' in fn) {
23
- wrappedFn.conversion = fn.conversion;
24
- }
25
-
26
- return wrappedFn;
27
- }
28
-
29
- function wrapRounded(fn) {
30
- var wrappedFn = function (args) {
31
- if (args === undefined || args === null) {
32
- return args;
33
- }
34
-
35
- if (arguments.length > 1) {
36
- args = Array.prototype.slice.call(arguments);
37
- }
38
-
39
- var result = fn(args);
40
-
41
- // we're assuming the result is an array here.
42
- // see notice in conversions.js; don't use box types
43
- // in conversion functions.
44
- if (typeof result === 'object') {
45
- for (var len = result.length, i = 0; i < len; i++) {
46
- result[i] = Math.round(result[i]);
47
- }
48
- }
49
-
50
- return result;
51
- };
52
-
53
- // preserve .conversion property if there is one
54
- if ('conversion' in fn) {
55
- wrappedFn.conversion = fn.conversion;
56
- }
57
-
58
- return wrappedFn;
59
- }
60
-
61
- models.forEach(function (fromModel) {
62
- convert[fromModel] = {};
63
-
64
- var routes = route(fromModel);
65
- var routeModels = Object.keys(routes);
66
-
67
- routeModels.forEach(function (toModel) {
68
- var fn = routes[toModel];
69
-
70
- convert[fromModel][toModel] = wrapRounded(fn);
71
- convert[fromModel][toModel].raw = wrapRaw(fn);
72
- });
73
- });
74
-
75
- module.exports = convert;
@@ -1,92 +0,0 @@
1
- {
2
- "_from": "color-convert@^1.0.0",
3
- "_id": "color-convert@1.0.0",
4
- "_location": "/color-convert",
5
- "_nodeVersion": "4.1.1",
6
- "_npmUser": {
7
- "email": "i.am.qix@gmail.com",
8
- "name": "qix"
9
- },
10
- "_npmVersion": "3.3.6",
11
- "_phantomChildren": {},
12
- "_requiredBy": [
13
- "/ansi-styles"
14
- ],
15
- "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.0.0.tgz",
16
- "_shasum": "3c26fcd885d272d45beacf6e41baba75c89a8579",
17
- "_shrinkwrap": null,
18
- "author": {
19
- "email": "fayearthur@gmail.com",
20
- "name": "Heather Arthur"
21
- },
22
- "bugs": {
23
- "url": "https://github.com/qix-/color-convert/issues"
24
- },
25
- "dependencies": {},
26
- "description": "Plain color conversion functions",
27
- "devDependencies": {
28
- "chalk": "^1.1.1",
29
- "xo": "^0.11.2"
30
- },
31
- "directories": {},
32
- "dist": {
33
- "shasum": "3c26fcd885d272d45beacf6e41baba75c89a8579",
34
- "tarball": "http://registry.npmjs.org/color-convert/-/color-convert-1.0.0.tgz"
35
- },
36
- "files": [
37
- "conversions.js",
38
- "css-keywords.js",
39
- "index.js",
40
- "route.js"
41
- ],
42
- "gitHead": "31cd56dc3d34ae332cc83d90bd4f925baf5bd982",
43
- "homepage": "https://github.com/qix-/color-convert#readme",
44
- "keywords": [
45
- "ansi",
46
- "ansi16",
47
- "cmyk",
48
- "color",
49
- "colour",
50
- "conversion",
51
- "convert",
52
- "converter",
53
- "hsl",
54
- "hsv",
55
- "hwb",
56
- "rgb"
57
- ],
58
- "license": "MIT",
59
- "maintainers": [
60
- {
61
- "name": "harth",
62
- "email": "fayearthur@gmail.com"
63
- },
64
- {
65
- "name": "moox",
66
- "email": "m@moox.io"
67
- },
68
- {
69
- "name": "qix",
70
- "email": "i.am.qix@gmail.com"
71
- }
72
- ],
73
- "name": "color-convert",
74
- "optionalDependencies": {},
75
- "readme": "ERROR: No README data found!",
76
- "repository": {
77
- "type": "git",
78
- "url": "git+https://github.com/qix-/color-convert.git"
79
- },
80
- "scripts": {
81
- "pretest": "xo",
82
- "test": "node test/basic.js"
83
- },
84
- "version": "1.0.0",
85
- "xo": {
86
- "rules": {
87
- "default-case": 0,
88
- "no-inline-comments": 0,
89
- "operator-linebreak": 0
90
- }
91
- }
92
- }
@@ -1,98 +0,0 @@
1
- var conversions = require('./conversions');
2
-
3
- /*
4
- this function routes a model to all other models.
5
-
6
- all functions that are routed have a property `.conversion` attached
7
- to the returned synthetic function. This property is an array
8
- of strings, each with the steps in between the 'from' and 'to'
9
- color models (inclusive).
10
-
11
- conversions that are not possible simply are not included.
12
- */
13
-
14
- // https://jsperf.com/object-keys-vs-for-in-with-closure/3
15
- var models = Object.keys(conversions);
16
-
17
- function buildGraph() {
18
- var graph = {};
19
-
20
- for (var len = models.length, i = 0; i < len; i++) {
21
- graph[models[i]] = {
22
- // http://jsperf.com/1-vs-infinity
23
- // micro-opt, but this is simple.
24
- distance: -1,
25
- parent: null
26
- };
27
- }
28
-
29
- return graph;
30
- }
31
-
32
- // https://en.wikipedia.org/wiki/Breadth-first_search
33
- function deriveBFS(fromModel) {
34
- var graph = buildGraph();
35
- var queue = [fromModel]; // unshift -> queue -> pop
36
-
37
- graph[fromModel].distance = 0;
38
-
39
- while (queue.length) {
40
- var current = queue.pop();
41
- var adjacents = Object.keys(conversions[current]);
42
-
43
- for (var len = adjacents.length, i = 0; i < len; i++) {
44
- var adjacent = adjacents[i];
45
- var node = graph[adjacent];
46
-
47
- if (node.distance === -1) {
48
- node.distance = graph[current].distance + 1;
49
- node.parent = current;
50
- queue.unshift(adjacent);
51
- }
52
- }
53
- }
54
-
55
- return graph;
56
- }
57
-
58
- function link(from, to) {
59
- return function (args) {
60
- return to(from(args));
61
- };
62
- }
63
-
64
- function wrapConversion(toModel, graph) {
65
- var path = [graph[toModel].parent, toModel];
66
- var fn = conversions[graph[toModel].parent][toModel];
67
-
68
- var cur = graph[toModel].parent;
69
- while (graph[cur].parent) {
70
- path.unshift(graph[cur].parent);
71
- fn = link(conversions[graph[cur].parent][cur], fn);
72
- cur = graph[cur].parent;
73
- }
74
-
75
- fn.conversion = path;
76
- return fn;
77
- }
78
-
79
- module.exports = function (fromModel) {
80
- var graph = deriveBFS(fromModel);
81
- var conversion = {};
82
-
83
- var models = Object.keys(graph);
84
- for (var len = models.length, i = 0; i < len; i++) {
85
- var toModel = models[i];
86
- var node = graph[toModel];
87
-
88
- if (node.parent === null) {
89
- // no possible conversion, or this node is the source model.
90
- continue;
91
- }
92
-
93
- conversion[toModel] = wrapConversion(toModel, graph);
94
- }
95
-
96
- return conversion;
97
- };
98
-