gitea push
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@
|
||||
"repository": "github:fabiospampinato/fast-string-width",
|
||||
"description": "A fast function for calculating the visual width of a string once printed to the terminal.",
|
||||
"license": "MIT",
|
||||
"version": "1.1.0",
|
||||
"version": "3.0.2",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"exports": "./dist/index.js",
|
||||
@@ -24,7 +24,7 @@
|
||||
"terminal"
|
||||
],
|
||||
"dependencies": {
|
||||
"fast-string-truncated-width": "^1.2.0"
|
||||
"fast-string-truncated-width": "^3.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"fava": "^0.3.4",
|
||||
|
||||
-3
@@ -18,12 +18,9 @@ import fastStringWidth from 'fast-string-width';
|
||||
// The width of various classes of characters is configurable
|
||||
|
||||
const options = {
|
||||
ansiWidth: 0,
|
||||
controlWidth: 0,
|
||||
tabWidth: 8,
|
||||
ambiguousWidth: 1,
|
||||
emojiWidth: 2,
|
||||
fullWidthWidth: 2,
|
||||
regularWidth: 1,
|
||||
wideWidth: 2
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user