File tree Expand file tree Collapse file tree 3 files changed +256
-137
lines changed Expand file tree Collapse file tree 3 files changed +256
-137
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function longestKeyLength(obj) {
24
24
// - at the end of a line
25
25
// - followed by whitespace
26
26
// - followed by a punctuation character
27
- // REGEX NOTE: word boundary \b doesn't work well with unicode
27
+ // REGEX NOTE: word boundary \b doesn't work well with Unicode
28
28
function sigmaToEndOfWordSigma ( string ) {
29
29
return string . replace ( / σ (? = [ , . : ; · \s ] | $ ) / g, 'ς' ) ;
30
30
}
@@ -100,8 +100,8 @@ function betaCodeToGreek(betaCode, customMap) {
100
100
newStart = start + 1 ;
101
101
maxLength = min ( betaCodeCharacters . length , start + maxBetaCodeCharacterLength ) ;
102
102
103
- // match the longest possible substring that's valid beta code , from left to right
104
- // for example 'e)' is valid beta code (ἐ) but 'e)/' is also valid beta code (ἕ)
103
+ // match the longest possible substring that's valid Beta Code , from left to right
104
+ // for example 'e)' is valid Beta Code (ἐ) but 'e)/' is also valid Beta Code (ἕ)
105
105
// the string 'e)/' should be interpreted as 'e)/' and not as 'e)' + '/'
106
106
for ( end = newStart ; end <= maxLength ; end += 1 ) {
107
107
slice = betaCodeCharacters . slice ( start , end ) . join ( '' ) ;
Original file line number Diff line number Diff line change 24
24
],
25
25
"license" : " MIT" ,
26
26
"devDependencies" : {
27
- "browserify" : " ^16.5.0 " ,
27
+ "browserify" : " ^16.5.1 " ,
28
28
"chai" : " ^4.2.0" ,
29
29
"eslint" : " ^6.8.0" ,
30
- "eslint-config-airbnb-base" : " ^14.0 .0" ,
31
- "eslint-plugin-import" : " ^2.20.1 " ,
32
- "mocha" : " ^6.2.0 "
30
+ "eslint-config-airbnb-base" : " ^14.1 .0" ,
31
+ "eslint-plugin-import" : " ^2.20.2 " ,
32
+ "mocha" : " ^7.1.1 "
33
33
}
34
34
}
You can’t perform that action at this time.
0 commit comments