Update dependency get-east-asian-width to v1.7.0 (#20094)

Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-09-17 16:14:14 +08:00
1 parent 2ee9998fc3
commit 787b716266
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@
"file-entry-cache": "11.1.5",
"find-cache-directory": "6.0.0",
"flow-parser": "0.331.0",
"get-east-asian-width": "1.6.0",
"get-east-asian-width": "1.7.0",
"get-stdin": "9.0.0",
"graphql": "17.0.2",
"hermes-parser": "0.37.0",
+2 -2
View File
@@ -1,7 +1,7 @@
import emojiRegex from "emoji-regex";
import {
// @ts-expect-error -- Private
_isFullWidth as isFullWidth,
_isFullwidth as isFullwidth,
// @ts-expect-error -- Private
_isWide as isWide,
} from "get-east-asian-width";
@@ -49,7 +49,7 @@ function getStringWidth(text) {
continue;
}
width += isFullWidth(codePoint) || isWide(codePoint) ? 2 : 1;
width += isFullwidth(codePoint) || isWide(codePoint) ? 2 : 1;
}
return width;
+5 -5
View File
@@ -5303,10 +5303,10 @@ __metadata:
languageName: node
linkType: hard
"get-east-asian-width@npm:1.6.0, get-east-asian-width@npm:^1.0.0, get-east-asian-width@npm:^1.5.0":
version: 1.6.0
resolution: "get-east-asian-width@npm:1.6.0"
checksum: 10/3e5370b5df1f0020db711d8a3f9ee2cbfc9c7542daa99a699e9d7b9acf66e7868b89084741565a45d30d80afedf6e1218e0fb8bef7a583924a449c2816777380
"get-east-asian-width@npm:1.7.0, get-east-asian-width@npm:^1.0.0, get-east-asian-width@npm:^1.5.0":
version: 1.7.0
resolution: "get-east-asian-width@npm:1.7.0"
checksum: 10/8d8d96b54d1cfb6510f1b6dce51c4a6000b4d122757780d519d0147d968a6f5401421dbeff2e6bd3dc742e9b502fbcdbb98a50bf7f62730a6a8d6749a632279c
languageName: node
linkType: hard
@@ -8292,7 +8292,7 @@ __metadata:
find-cache-directory: "npm:6.0.0"
flow-estree: "npm:0.331.0"
flow-parser: "npm:0.331.0"
get-east-asian-width: "npm:1.6.0"
get-east-asian-width: "npm:1.7.0"
get-port: "npm:7.2.0"
get-stdin: "npm:9.0.0"
gfm-test-suite: "npm:0.0.2"