grunt-legacy-log-utils
Advanced tools
Comparing version
13
index.js
@@ -5,3 +5,3 @@ /* | ||
* | ||
* Copyright (c) 2014 "Cowboy" Ben Alman | ||
* Copyright (c) 2016 "Cowboy" Ben Alman | ||
* Licensed under the MIT license. | ||
@@ -13,12 +13,5 @@ * https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT | ||
// Requiring this here modifies the String prototype! | ||
require('colors'); | ||
// The upcoming lodash 2.5+ should remove the need for underscore.string. | ||
var chalk = require('chalk'); | ||
var _ = require('lodash'); | ||
_.str = require('underscore.string'); | ||
_.mixin(_.str.exports()); | ||
// TODO: ADD CHALK | ||
// Static methods. | ||
// Pretty-format a word list. | ||
@@ -31,3 +24,3 @@ exports.wordlist = function(arr, options) { | ||
return arr.map(function(item) { | ||
return options.color ? String(item)[options.color] : item; | ||
return options.color ? chalk[options.color](item) : item; | ||
}).join(options.separator); | ||
@@ -34,0 +27,0 @@ }; |
{ | ||
"name": "grunt-legacy-log-utils", | ||
"description": "Static methods for the Grunt 0.4.x logger.", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"author": "\"Cowboy\" Ben Alman (http://benalman.com/)", | ||
@@ -14,9 +14,7 @@ "homepage": "http://gruntjs.com/", | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://github.com/gruntjs/grunt-legacy-log-utils/blob/master/LICENSE-MIT" | ||
} | ||
"license": "MIT", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js" | ||
], | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -26,3 +24,3 @@ "test": "grunt test" | ||
"engines": { | ||
"node": ">= 0.8.0" | ||
"node": ">= 0.10.0" | ||
}, | ||
@@ -34,8 +32,8 @@ "keywords": [ | ||
"dependencies": { | ||
"lodash": "~2.4.1", | ||
"underscore.string": "~2.3.3", | ||
"colors": "~0.6.2" | ||
"chalk": "~1.1.1", | ||
"lodash": "~4.3.0" | ||
}, | ||
"devDependencies": { | ||
"grunt": "0.4.4", | ||
"grunt": "~0.4.4", | ||
"grunt-cli": "~0.1.13", | ||
"grunt-contrib-jshint": "~0.10.0", | ||
@@ -42,0 +40,0 @@ "grunt-contrib-nodeunit": "~0.3.3", |
@@ -1,6 +0,6 @@ | ||
# grunt-legacy-log | ||
# grunt-legacy-log-utils | ||
> Static methods for the Grunt 0.4.x logger. | ||
[](http://travis-ci.org/gruntjs/grunt-legacy-log-utils) | ||
[](https://travis-ci.org/gruntjs/grunt-legacy-log-utils) | ||
[](https://ci.appveyor.com/project/gruntjs/grunt-legacy-log-utils) | ||
[](http://gruntjs.com/) | ||
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
-33.33%0
-100%4813
-51.24%5
25%3
-66.67%100
-50%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated