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

logging

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logging - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

6

lib/logging.js

@@ -27,2 +27,6 @@ 'use strict';

var indentText = function indentText(text) {
return text.replace(/^(?!\s+$)/mg, ' '.repeat(13)).trim();
};
var logger = function logger(_ref) {

@@ -60,3 +64,3 @@ var title = _ref.title,

});
});
}).map(indentText);
logFunction.apply(undefined, [(0, _chalk.gray)(time()), `[${title}]`].concat(_toConsumableArray(formattedMessages)));

@@ -63,0 +67,0 @@ };

6

package.json
{
"name": "logging",
"version": "3.0.0",
"version": "3.1.0",
"description": "Lightweight informative modern console logging.",

@@ -21,3 +21,3 @@ "main": "lib",

"precommit": "npm -s run test",
"publish": "np"
"np": "np"
},

@@ -39,3 +39,3 @@ "repository": "http://github.com/dylang/logging",

"babel-runtime": "^6.23.0",
"eslint": "^3.15.0",
"eslint": "^3.16.0",
"eslint-config-xo": "^0.17.0",

@@ -42,0 +42,0 @@ "eslint-loader": "^1.6.0",

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

# Logging [![Build Status](https://secure.travis-ci.org/dylang/logging.png)](https://travis-ci.org/dylang/logging)
# Logging [![Build Status](https://secure.travis-ci.org/dylang/logging.svg)](https://travis-ci.org/dylang/logging)
Lightweight informative modern console logging.
> Lightweight informative modern console logging.
[![logging](screenshots/screenshot.png)](screenshots/screenshot.png)
## Install

@@ -15,3 +17,2 @@

* Nice coloring.
* Works in the browser.

@@ -18,0 +19,0 @@ ## Usage

@@ -16,2 +16,4 @@ import {

const indentText = (text) => text.replace(/^(?!\s+$)/mg, ' '.repeat(13)).trim();
const logger = ({

@@ -49,3 +51,3 @@ title,

});
});
}).map(indentText);
logFunction(gray(time()), `[${title}]`, ...formattedMessages);

@@ -52,0 +54,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