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

@fc-components/monaco-editor

Package Overview
Dependencies
Maintainers
5
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fc-components/monaco-editor - npm Package Compare versions

Comparing version
0.4.3
to
0.4.4
+1
-1
package.json

@@ -6,3 +6,3 @@ {

},
"version": "0.4.3",
"version": "0.4.4",
"license": "MIT",

@@ -9,0 +9,0 @@ "main": "dist/index.js",

@@ -360,7 +360,7 @@ /**

private isIdentStart(ch: string): boolean {
return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || ch === '_' || ch === '$';
return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || ch === '_' || ch === '$' || isUnicodeLetter(ch);
}
private isIdentPart(ch: string): boolean {
return this.isIdentStart(ch) || this.isDigit(ch);
return this.isIdentStart(ch) || this.isDigit(ch) || isUnicodeDigit(ch);
}

@@ -379,1 +379,11 @@

}
/** Check if a character is a Unicode letter (including Chinese, Japanese, etc.) */
function isUnicodeLetter(ch: string): boolean {
return /\p{L}/u.test(ch);
}
/** Check if a character is a Unicode digit */
function isUnicodeDigit(ch: string): boolean {
return /\p{N}/u.test(ch);
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display