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

achoo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

achoo - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

10

lib/formatter.js

@@ -80,5 +80,11 @@ const chalk = require('chalk');

Object.keys(meta).forEach(key => {
const transform = achooInst.transforms[key] || logger.transforms[key];
const keyWithoutIterator = key.replace(/@[0-9]+/g, '');
const transform =
achooInst.transforms[keyWithoutIterator] ||
logger.transforms[keyWithoutIterator];
if (transform) {
output = output.replace(new RegExp(`<${key}>`, 'g'), transform(meta.dur));
output = output.replace(
new RegExp(`<${key}>`, 'g'),
transform(meta[key]),
);
}

@@ -85,0 +91,0 @@ });

2

package.json
{
"name": "achoo",
"version": "1.2.1",
"version": "1.2.2",
"description": "A little Node.js logging tool that is easily configured via JSON.",

@@ -5,0 +5,0 @@ "main": "index.js",

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