🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

cli-truncate

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-truncate - npm Package Compare versions

Comparing version
5.2.0
to
6.0.0
+1
-1
index.d.ts

@@ -117,3 +117,3 @@ export type Options = {

columns: number,
options?: Options
options?: Options,
): string;
{
"name": "cli-truncate",
"version": "5.2.0",
"version": "6.0.0",
"description": "Truncate a string to a specific width in the terminal",

@@ -20,3 +20,3 @@ "license": "MIT",

"engines": {
"node": ">=20"
"node": ">=22"
},

@@ -45,3 +45,3 @@ "scripts": {

"dependencies": {
"slice-ansi": "^8.0.0",
"slice-ansi": "^9.0.0",
"string-width": "^8.2.0"

@@ -52,4 +52,4 @@ },

"tsd": "^0.33.0",
"xo": "^1.2.2"
"xo": "^2.0.2"
}
}

@@ -148,3 +148,2 @@ # cli-truncate

//=> 'unico'
```

@@ -151,0 +150,0 @@