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

stream-log-stats

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-log-stats - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

.travis.yml

5

lib/stream-log-stats.js
'use strict'
var Clf = require('common-log-format')
var f = require('function-tools')
var view = require('./view')

@@ -8,2 +7,3 @@ var stats = require('./stats')

var streamVia = require('stream-via')
var throttle = require('lodash.throttle')

@@ -13,3 +13,4 @@ module.exports = streamLogStats

function streamLogStats (options) {
var throttledRender = f.throttle(view.render, { restPeriod: options.refreshRate || 500 })
options = options || {}
var throttledRender = throttle(view.render, options.refreshRate || 500)

@@ -16,0 +17,0 @@ function renderLogObject (logObject) {

12

package.json
{
"name": "stream-log-stats",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "1.1.2",
"version": "1.1.3",
"description": "Prints statistics from the incoming web log stream to the console",

@@ -27,14 +27,14 @@ "repository": "https://github.com/75lb/stream-log-stats.git",

"devDependencies": {
"tape": "^4.2.2"
"tape": "^4.4.0"
},
"dependencies": {
"JSONStream": "^1.0.6",
"ansi-escape-sequences": "^2.2.1",
"JSONStream": "^1.0.7",
"ansi-escape-sequences": "^2.2.2",
"byte-size": "^2",
"column-layout": "^2",
"common-log-format": "~0.1.3",
"function-tools": "~0.1.0",
"lodash.throttle": "^4.0.1",
"object-tools": "^2.0.5",
"stream-via": "^0.1.0"
"stream-via": "^1.0.1"
}
}

@@ -74,2 +74,2 @@ [![view on npm](http://img.shields.io/npm/v/stream-log-stats.svg)](https://www.npmjs.org/package/stream-log-stats)

&copy; 2015 Lloyd Brookes \<75pound@gmail.com\>.
&copy; 2015-16 Lloyd Brookes \<75pound@gmail.com\>.

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