New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-legacy-log-utils

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-legacy-log-utils - npm Package Compare versions

Comparing version

to
1.0.0

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.
[![Build Status](https://secure.travis-ci.org/gruntjs/grunt-legacy-log-utils.png?branch=master)](http://travis-ci.org/gruntjs/grunt-legacy-log-utils)
[![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-legacy-log-utils.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-legacy-log-utils)
[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/a6s4cy3fcbl33hnp?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-legacy-log-utils)
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)