Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caterpillar

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caterpillar - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

History.md
## History
- v1.1.3 October 18, 2012
- Updated cli-color from 0.1 to 0.2
- Make cli-color an optional dependency
- v1.1.2 August 10, 2012

@@ -4,0 +8,0 @@ - Rejigged directory structure

10

out/lib/formatter.js

@@ -9,3 +9,7 @@ // Generated by CoffeeScript 1.3.3

cliColor = require('cli-color');
try {
cliColor = require('cli-color');
} catch (err) {
cliColor = null;
}

@@ -174,3 +178,3 @@ Formatter = (function() {

} else {
color = color && cliColor[color] || function(str) {
color = color && (cliColor != null ? cliColor[color] : void 0) || function(str) {
return str;

@@ -180,3 +184,3 @@ };

debugFormatter = false;
messageFormatter = cliColor.bold;
messageFormatter = color && (cliColor != null ? cliColor.bold : void 0);
messageString = "" + levelName + " " + message;

@@ -183,0 +187,0 @@ if (messageFormatter) {

{
"name": "caterpillar",
"version": "1.1.2",
"version": "1.1.3",
"description": "Caterpillar is an awesome, simple console logger for node.js. It supports grouping of messages, filtering log levels, colors, times, modules, custom formatters and custom transports. It's awesome.",

@@ -30,8 +30,8 @@ "homepage": "https://github.com/bevry/caterpillar",

},
"dependencies": {
"cli-color": "0.1.x"
"dependencies": {},
"optionalDependencies": {
"cli-color": "0.2.x"
},
"devDependencies": {
"coffee-script": "1.3.x",
"docco": "0.3.x"
"coffee-script": "1.3.x"
},

@@ -38,0 +38,0 @@ "directories": {

@@ -10,3 +10,3 @@ # Caterpillar

Running the [console example](https://github.com/bevry/caterpillar/blob/master/examples/console.coffee#files) with `coffee examples/console.coffee`
Running the [console example](https://github.com/bevry/caterpillar/blob/master/example/console.coffee#files) with `coffee examples/console.coffee`

@@ -18,3 +18,3 @@ <img src="https://github.com/bevry/caterpillar/raw/master/media/caterpillar-normal.png"/>

Running the [console example](https://github.com/bevry/caterpillar/blob/master/examples/console.coffee#files) with `coffee examples/console.coffee -d`
Running the [console example](https://github.com/bevry/caterpillar/blob/master/example/console.coffee#files) with `coffee examples/console.coffee -d`

@@ -28,3 +28,3 @@ When you set the log level to level 7 (debug level), then the `ConsoleFormatter` will also output a debug line, containing the time, file, function and line number of what triggered the log message

Please refer to the [console example](https://github.com/bevry/caterpillar/blob/master/examples/console.coffee#files) for usage
Please refer to the [console example](https://github.com/bevry/caterpillar/blob/master/example/console.coffee#files) for usage

@@ -31,0 +31,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc