colors 1.3.1 → 1.3.2
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.
- package/lib/.colors.js.swp +0 -0
- package/lib/colors.js +1 -1
- package/package.json +8 -7
Binary file
|
package/lib/colors.js
CHANGED
@@ -105,7 +105,7 @@ function applyStyle() {
|
|
105
105
|
var args = Array.prototype.slice.call(arguments);
|
106
106
|
|
107
107
|
var str = args.map(function(arg) {
|
108
|
-
if (arg
|
108
|
+
if (arg != undefined && arg.constructor === String) {
|
109
109
|
return arg;
|
110
110
|
} else {
|
111
111
|
return util.inspect(arg);
|
package/package.json
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "colors",
|
3
3
|
"description": "get colors in your node.js console",
|
4
|
-
"version": "1.3.
|
4
|
+
"version": "1.3.2",
|
5
5
|
"author": "Marak Squires",
|
6
6
|
"contributors": [
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
{
|
8
|
+
"name": "DABH",
|
9
|
+
"url": "https://github.com/DABH"
|
10
|
+
}
|
11
|
+
],
|
11
12
|
"homepage": "https://github.com/Marak/colors.js",
|
12
13
|
"bugs": "https://github.com/Marak/colors.js/issues",
|
13
14
|
"keywords": [
|
@@ -38,7 +39,7 @@
|
|
38
39
|
"safe.d.ts"
|
39
40
|
],
|
40
41
|
"devDependencies": {
|
41
|
-
"eslint": "^
|
42
|
-
"eslint
|
42
|
+
"eslint-config-google": "^0.9.1",
|
43
|
+
"eslint": "^5.4.0"
|
43
44
|
}
|
44
45
|
}
|