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

zaq

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zaq - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "zaq",
"version": "0.0.5",
"version": "0.0.6",
"description": "Yet another fun little logging utility.",

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

@@ -18,7 +18,7 @@ var zaq = require('./zaq.js');

zaq.warn('WATCH OUT FOR THAT SHIT.');
zaq.time('This thing took 10 seconds.');
/*
zaq.divider('I\'m a divider.');
zaq.divider('I\'m a divider too!', '~');
zaq.json('I\'m JSON with a label', sampleJSON);
*/
var cloq = new zaq.cloq('Timerunner');

@@ -25,0 +25,0 @@ cloq.lap('Nothing really');

@@ -10,15 +10,15 @@ var jawn = require('node-jawn');

zaq.err = function (x) {
return zaq.log(chalk.bold.red(' x ERROR: '), x);
return zaq.log(chalk.bold.red(' x ERR: '), x);
};
zaq.warn = function (x) {
return zaq.log(chalk.bold.yellow(' ! WARNING: '), x);
return zaq.log(chalk.bold.yellow(' # WARN:'), x);
};
zaq.info = function (x) {
return zaq.log(chalk.bold.blue(' → INFO: '), x);
return zaq.log(chalk.bold.blue(' → INFO:'), x);
};
zaq.win = function (x) {
return zaq.log(chalk.bold.green(' ✓ SUCCESS: '), x);
return zaq.log(chalk.bold.green(' ✓ WIN: '), x);
};
zaq.time = function (x) {
return zaq.log(chalk.bold.cyan(' ~ TIME: '), x);
return zaq.log(chalk.bold.grey(' ♦ TIME:'), x);
}

@@ -80,4 +80,5 @@ zaq.pretty = function (content) {

var start = _.now();
zaq.time(chalk.cyan(name) + ' cloq ticking.');
zaq.time(chalk.bold.cyan(name) + ': cloq ticking.');
return {
title: chalk.bold.cyan(name),
start: start,

@@ -89,3 +90,3 @@ lastLap: start,

this.lastLap = thisLap;
zaq.time(chalk.cyan(name) + ': ' + chalk.bold(evt) + ' took ' + chalk.bold(lapTime / 1000) + ' seconds.');
zaq.time(this.title + ': ' + chalk.bold(evt) + ' took ' + chalk.bold(lapTime / 1000) + ' seconds.');
},

@@ -95,3 +96,3 @@ done: function (evt) {

var total = (_.now() - this.start);
zaq.time(chalk.cyan(name) + ': ' + chalk.cyan(name) + ' total time: ' + chalk.bold(total / 1000) + ' seconds.')
zaq.time(this.title + ': finished after ' + chalk.bold(total / 1000) + ' seconds.')
}

@@ -98,0 +99,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