tsutils
Advanced tools
Comparing version 3.17.0 to 3.17.1
@@ -0,1 +1,7 @@ | ||
# 3.17.1 | ||
**Bugfixes:** | ||
* `isValidJsxIdentifier`, `isValidPropertyAccess`, `isValidPropertyName`: fix unicode character width handling | ||
# 3.17.0 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "tsutils", | ||
"version": "3.17.0", | ||
"version": "3.17.1", | ||
"description": "utilities for working with typescript's AST", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -521,3 +521,3 @@ "use strict"; | ||
function charSize(ch) { | ||
return ch > 0x10000 ? 2 : 1; | ||
return ch >= 0x10000 ? 2 : 1; | ||
} | ||
@@ -524,0 +524,0 @@ function isValidPropertyAccess(text, languageVersion = ts.ScriptTarget.Latest) { |
193327