Comparing version 0.0.2 to 0.0.3
@@ -1,2 +0,2 @@ | ||
var style = require('style'); | ||
var style = require('./'); | ||
@@ -55,3 +55,3 @@ exports.printError = printError | ||
if(row.file){ | ||
var file = row.file.replace(process.ENV.NODE_PATH,'$') | ||
var file = row.file.replace(process.env.NODE_PATH,'$') | ||
@@ -58,0 +58,0 @@ return style(style(" " + row.function).yellow.rpad(30,style('.').grey) |
{ | ||
"name": "style", | ||
"description": "color in your node.js console, without monkeypatching", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"author": "Dominic Tarr <dominic.tarr@gmail.com>", | ||
@@ -15,3 +15,4 @@ "repository": "http://github.com/dominictarr/colors.js.git", | ||
"devDependencies":{ | ||
"expresso": ">=0.6.0" | ||
"synct": "1", | ||
"should": "*" | ||
}, | ||
@@ -28,2 +29,2 @@ "directories": { | ||
} | ||
} | ||
} |
@@ -5,9 +5,9 @@ <h1>colors.js - get color and style in your node.js console like what</h1> | ||
var sys = require('sys'); | ||
var util = require('util'); | ||
var style = require('style'); | ||
sys.puts(style('hello').green); // outputs green text | ||
sys.puts(style('i like cake and pies').underline.red) // outputs red underlined text | ||
sys.puts(style('inverse the color').inverse); // inverses the color | ||
sys.puts(style('OMG Rainbows!').rainbow); // rainbow (ignores spaces) | ||
util.puts(style('hello').green); // outputs green text | ||
util.puts(style('i like cake and pies').underline.red) // outputs red underlined text | ||
util.puts(style('inverse the color').inverse); // inverses the color | ||
util.puts(style('OMG Rainbows!').rainbow); // rainbow (ignores spaces) | ||
@@ -18,6 +18,6 @@ ##disable style, for plain output | ||
sys.puts(style('hello').green); // plain text | ||
sys.puts(style('i like cake and pies').underline.red) // plain text | ||
sys.puts(style('inverse the color').inverse); // plain text | ||
sys.puts(style('OMG Rainbows!').rainbow); // plain text | ||
util.puts(style('hello').green); // plain text | ||
util.puts(style('i like cake and pies').underline.red) // plain text | ||
util.puts(style('inverse the color').inverse); // plain text | ||
util.puts(style('OMG Rainbows!').rainbow); // plain text | ||
@@ -24,0 +24,0 @@ //ALSO: does not monkeypatch string with 13 new properties! |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
20273
11
0
2
23
2
2