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 2.0.7 to 2.0.8

HISTORY.md

27

out/lib/caterpillar.js

@@ -1,7 +0,7 @@

// Generated by CoffeeScript 1.6.3
// Generated by CoffeeScript 1.9.0
(function() {
var Logger, Transform, extendr, stream, _ref,
var Logger, Transform, extendr, stream,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
__slice = [].slice;

@@ -71,4 +71,3 @@

this.log = __bind(this.log, this);
_ref = Logger.__super__.constructor.apply(this, arguments);
return _ref;
return Logger.__super__.constructor.apply(this, arguments);
}

@@ -101,12 +100,12 @@

Logger.prototype.getLevelNumber = function(name) {
var _ref1;
return (_ref1 = this.config.levels[name]) != null ? _ref1 : null;
var _ref;
return (_ref = this.config.levels[name]) != null ? _ref : null;
};
Logger.prototype.getLevelName = function(number) {
var key, value, _ref1;
_ref1 = this.config.levels;
for (key in _ref1) {
if (!__hasProp.call(_ref1, key)) continue;
value = _ref1[key];
var key, value, _ref;
_ref = this.config.levels;
for (key in _ref) {
if (!__hasProp.call(_ref, key)) continue;
value = _ref[key];
if (value === number) {

@@ -145,3 +144,3 @@ return key;

Logger.prototype.getLineInfo = function() {
var err, line, lines, offset, parts, result, _i, _len, _ref1;
var err, line, lines, offset, parts, result, _i, _len, _ref;
result = {

@@ -153,3 +152,3 @@ line: -1,

err = new Error();
lines = ((_ref1 = err.stack) != null ? _ref1.split('\n') : void 0) || [];
lines = ((_ref = err.stack) != null ? _ref.split('\n') : void 0) || [];
offset = this.config.lineOffset;

@@ -156,0 +155,0 @@ for (_i = 0, _len = lines.length; _i < _len; _i++) {

{
"title": "Caterpillar",
"name": "caterpillar",
"version": "2.0.7",
"version": "2.0.8",
"description": "Caterpillar is the ultimate logging system for Node.js, based on transform streams you can log to it and pipe the output off to different locations, including some pre-made ones. Caterpillar also supports log levels according to the RFC standard, as well as line, method, and file fetching for messages. You can even use it in web browsers with caterpillar-browser.",

@@ -13,5 +13,10 @@ "homepage": "https://github.com/bevry/caterpillar",

"npm": true,
"gittip": "bevry",
"npmdownloads": true,
"david": true,
"daviddev": true,
"gratipay": "bevry",
"flattr": "344188/balupton-on-Flattr",
"paypal": "QB8GQPZAH84N6"
"paypal": "QB8GQPZAH84N6",
"bitcoin": "https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a",
"wishlist": "http://amzn.com/w/2F8TXKSNAFG4V"
},

@@ -34,3 +39,4 @@ "keywords": [

"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
"t-visualappeal (https://github.com/t-visualappeal)"
"t-visualappeal (https://github.com/t-visualappeal)",
"thelfensdrfer (https://github.com/thelfensdrfer)"
],

@@ -49,14 +55,16 @@ "bugs": {

"dependencies": {
"extendr": "~2.1.0",
"readable-stream": "~1.1.9"
"extendr": "^2.1.0",
"readable-stream": "^1.0.33"
},
"devDependencies": {
"browserify": "^8.1.3",
"caterpillar-browser": "2.x",
"caterpillar-filter": "2.x",
"caterpillar-human": "2.x",
"caterpillar-browser": "2.x",
"coffee-script": "~1.6.3",
"joe": "~1.3.0",
"joe-reporter-console": "~1.2.1",
"chai": "~1.8.1",
"projectz": "~0.3.0"
"chai": "^1.10.0",
"coffee-script": "^1.9.0",
"joe": "^1.6.0",
"joe-reporter-console": "^1.2.1",
"projectz": "^0.3.17",
"webpack": "^1.5.3"
},

@@ -68,6 +76,9 @@ "directories": {

"test": "node ./out/test/caterpillar-test.js",
"browserify": "browserify -e example.js > example-browser.js",
"webpack": "webpack --progress --colors ./example.js example-browser.js"
"browserify": "./node_modules/.bin/browserify -e example.js > example-browser.js",
"webpack": "./node_modules/.bin/webpack --progress --colors ./example.js example-browser.js"
},
"main": "./out/lib/caterpillar.js"
"main": "./out/lib/caterpillar.js",
"cakeConfiguration": {
"COFFEE_SRC_PATH": "src"
}
}

@@ -11,7 +11,12 @@

[![Build Status](http://img.shields.io/travis-ci/bevry/caterpillar.png?branch=master)](http://travis-ci.org/bevry/caterpillar "Check this project's build status on TravisCI")
[![NPM version](http://badge.fury.io/js/caterpillar.png)](https://npmjs.org/package/caterpillar "View this project on NPM")
[![Gittip donate button](http://img.shields.io/gittip/bevry.png)](https://www.gittip.com/bevry/ "Donate weekly to this project using Gittip")
[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")
[![Build Status](https://img.shields.io/travis/bevry/caterpillar/master.svg)](http://travis-ci.org/bevry/caterpillar "Check this project's build status on TravisCI")
[![NPM version](https://img.shields.io/npm/v/caterpillar.svg)](https://npmjs.org/package/caterpillar "View this project on NPM")
[![NPM downloads](https://img.shields.io/npm/dm/caterpillar.svg)](https://npmjs.org/package/caterpillar "View this project on NPM")
[![Dependency Status](https://img.shields.io/david/bevry/caterpillar.svg)](https://david-dm.org/bevry/caterpillar)
[![Dev Dependency Status](https://img.shields.io/david/dev/bevry/caterpillar.svg)](https://david-dm.org/bevry/caterpillar#info=devDependencies)<br/>
[![Gratipay donate button](https://img.shields.io/gratipay/bevry.svg)](https://www.gratipay.com/bevry/ "Donate weekly to this project using Gratipay")
[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")
[![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin")
[![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](http://amzn.com/w/2F8TXKSNAFG4V "Buy an item on our wishlist for us")

@@ -28,3 +33,3 @@ <!-- /BADGES -->

### [Node](http://nodejs.org/)
### [NPM](http://npmjs.org/)
- Use: `require('caterpillar')`

@@ -36,3 +41,3 @@ - Install: `npm install --save caterpillar`

- Install: `npm install --save caterpillar`
- CDN URL: `//wzrd.in/bundle/caterpillar@2.0.7`
- CDN URL: `//wzrd.in/bundle/caterpillar@2.0.8`

@@ -207,5 +212,7 @@ ### [Ender](http://ender.jit.su/)

[![Gittip donate button](http://img.shields.io/gittip/bevry.png)](https://www.gittip.com/bevry/ "Donate weekly to this project using Gittip")
[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")
[![Gratipay donate button](https://img.shields.io/gratipay/bevry.svg)](https://www.gratipay.com/bevry/ "Donate weekly to this project using Gratipay")
[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")
[![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin")
[![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](http://amzn.com/w/2F8TXKSNAFG4V "Buy an item on our wishlist for us")

@@ -216,4 +223,5 @@ ### Contributors

- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton) - [view contributions](https://github.com/bevry/caterpillar/commits?author=balupton)
- t-visualappeal (https://github.com/t-visualappeal) - [view contributions](https://github.com/bevry/caterpillar/commits?author=t-visualappeal)
- [Benjamin Lupton](https://github.com/balupton) <b@lupton.cc> — [view contributions](https://github.com/bevry/caterpillar/commits?author=balupton)
- [t-visualappeal](https://github.com/t-visualappeal) — [view contributions](https://github.com/bevry/caterpillar/commits?author=t-visualappeal)
- [thelfensdrfer](https://github.com/thelfensdrfer) — [view contributions](https://github.com/bevry/caterpillar/commits?author=thelfensdrfer)

@@ -220,0 +228,0 @@ [Become a contributor!](https://github.com/bevry/caterpillar/blob/master/CONTRIBUTING.md#files)

Sorry, the diff of this file is not supported yet

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