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

@jsenv/humanize

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/humanize - npm Package Compare versions

Comparing version 1.2.1 to 1.2.3

2

dist/browser/jsenv_humanize_browser.js

@@ -32,3 +32,3 @@ const createDetailedMessage = (message, details = {}) => {

}
if (text.trim() === "") {
if (typeof text === "string" && text.trim() === "") {
// cannot set color of blank chars

@@ -35,0 +35,0 @@ return text;

@@ -223,3 +223,3 @@ import process$1 from "node:process";

}
if (text.trim() === "") {
if (typeof text === "string" && text.trim() === "") {
// cannot set color of blank chars

@@ -226,0 +226,0 @@ return text;

{
"name": "@jsenv/humanize",
"version": "1.2.1",
"version": "1.2.3",
"description": "Generate messages meant to read by humans",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -23,3 +23,3 @@ // https://github.com/Marak/colors.js/blob/master/lib/styles.js

}
if (text.trim() === "") {
if (typeof text === "string" && text.trim() === "") {
// cannot set color of blank chars

@@ -26,0 +26,0 @@ return text;

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