@alttiri/util-node-js
Advanced tools
Comparing version 2.0.9 to 2.0.10-20240530
{ | ||
"name": "@alttiri/util-node-js", | ||
"version": "2.0.9", | ||
"version": "2.0.10-20240530", | ||
"description": "Some Node.js util functions for personal use", | ||
@@ -32,5 +32,5 @@ "keywords": [ | ||
"scripts": { | ||
"compile": "tsc --build", | ||
"compile": "tsc --build", | ||
"compile-watch": "tsc --build --watch", | ||
"clean": "tsc --build --clean", | ||
"clean": "tsc --build --clean", | ||
"-": "", | ||
@@ -37,0 +37,0 @@ "publish-npm": "npm publish --registry=https://registry.npmjs.org", |
@@ -35,4 +35,4 @@ import { ANSI_BLUE, ANSI_GRAY, ANSI_GREEN_BOLD, ANSI_RED_BOLD } from "./console-colors.js"; | ||
} | ||
const pad1 = " ".repeat(2 - this.num.toString().length); | ||
const pad2 = " ".repeat(3 - lineNum.toString().length); | ||
const pad1 = " ".repeat(Math.max(0, 2 - this.num.toString().length)); | ||
const pad2 = " ".repeat(Math.max(0, 3 - lineNum.toString().length)); | ||
if (expect === undefined) { | ||
@@ -39,0 +39,0 @@ console.log(ANSI_BLUE(this.num), pad1, ANSI_GRAY(lineNum), pad2, result, name); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32995
1