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 1.1.0 to 1.1.1

yarn.lock

4

package.json
{
"name": "zaq",
"version": "1.1.0",
"version": "1.1.1",
"description": "Yet another fun little logging utility.",
"main": "zaq.js",
"scripts": {
"build": "uglifyjs zaq.js -o zaq.min.js",
"test": "node test.js"

@@ -31,2 +32,3 @@ },

"node-jawn": "^1.1.13",
"path": "^0.12.7",
"underscore": "^1.8.3"

@@ -33,0 +35,0 @@ },

@@ -8,3 +8,3 @@ const jawn = require('node-jawn');

const zaq = {
version: '1.1.0',
version: '1.1.1',
verbose: true,

@@ -11,0 +11,0 @@ log: console.log

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

const jawn=require("node-jawn");const _=require("underscore");const path=require("path");const fs=require("fs");const chalk=require("chalk");const zaq={version:"1.1.0",verbose:true,log:console.log};zaq.obj=((obj,color="cyan")=>{let msg=chalk[color]("\n >> ");msg+=(_.isString(obj)?obj:zaq.pretty(obj)).split("\n").join("\n"+chalk[color].dim(" :: "));return msg});zaq.win=((text,obj)=>{text=chalk.bold.green(" ✓ WIN: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"green"):""))});zaq.err=((text,obj)=>{text=chalk.bold.red(" x ERR: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"red"):""))});zaq.warn=((text,obj)=>{text=chalk.bold.yellow(" # WARN: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"yellow"):""))});zaq.info=((text,obj)=>{text=chalk.bold.blue(" → INFO: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"blue"):""))});zaq.time=((text,obj)=>{text=chalk.bold.grey(" ♦ TIME: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"grey"):""))});zaq.pretty=(content=>JSON.stringify(content,null," "));zaq.space=(content=>zaq.log("\n"+content+"\n"));zaq.nLines=((n,lines)=>Array(n).join(lines||"="));zaq.mini=(str=>str.toString().trim().substr(0,100));zaq.divider=((text,lines)=>{let lineCount=Math.floor((process.stdout.columns-(text.length+1))*(1/(lines?lines.length:1)));return zaq.log(text+" "+zaq.nLines(lineCount,lines))});zaq.weight=((...pathParts)=>{let file=path.join(...pathParts);let basename=path.basename(file);let filesize=(fs.statSync(file).size/1024).toFixed(2);zaq.info(`File '${basename}' is ${filesize} kb`)});module.exports=zaq;
const jawn=require("node-jawn");const _=require("underscore");const path=require("path");const fs=require("fs");const chalk=require("chalk");const zaq={version:"1.1.1",verbose:true,log:console.log};zaq.obj=((obj,color="cyan")=>{let msg=chalk[color]("\n >> ");msg+=(_.isString(obj)?obj:zaq.pretty(obj)).split("\n").join("\n"+chalk[color].dim(" :: "));return msg});zaq.win=((text,obj)=>{text=chalk.bold.green(" ✓ WIN: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"green"):""))});zaq.err=((text,obj)=>{text=chalk.bold.red(" x ERR: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"red"):""))});zaq.warn=((text,obj)=>{text=chalk.bold.yellow(" # WARN: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"yellow"):""))});zaq.info=((text,obj)=>{text=chalk.bold.blue(" → INFO: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"blue"):""))});zaq.time=((text,obj)=>{text=chalk.bold.grey(" ♦ TIME: ")+chalk.bold(text);return zaq.log(text+(obj?zaq.obj(obj,"grey"):""))});zaq.pretty=(content=>JSON.stringify(content,null," "));zaq.space=(content=>zaq.log("\n"+content+"\n"));zaq.nLines=((n,lines)=>Array(n).join(lines||"="));zaq.mini=(str=>str.toString().trim().substr(0,100));zaq.divider=((text,lines)=>{let lineCount=Math.floor((process.stdout.columns-(text.length+1))*(1/(lines?lines.length:1)));return zaq.log(text+" "+zaq.nLines(lineCount,lines))});zaq.weight=((...pathParts)=>{let file=path.join(...pathParts);let basename=path.basename(file);let filesize=(fs.statSync(file).size/1024).toFixed(2);zaq.info(`File '${basename}' is ${filesize} kb`)});module.exports=zaq;
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