File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ export function url_safe_processor(
3737 . replace ( / D A S H / g, "-" ) ;
3838}
3939
40- const alphaNumRegex = / [ a - z A - Z 0 - 9 ] / ;
41- const unicodeRegex = / \p{ Letter} / u;
40+ const alpha_num_regex = / [ a - z A - Z 0 - 9 ] / ;
41+ const unicode_regex = / \p{ Letter} / u;
4242
4343const is_non_alpha_num_unicode = ( string : string ) =>
44- ! alphaNumRegex . test ( string ) && unicodeRegex . test ( string ) ;
44+ ! alpha_num_regex . test ( string ) && unicode_regex . test ( string ) ;
4545
4646export function unicode_safe_processor (
4747 url : string ,
@@ -91,6 +91,7 @@ export function make_session_slug_processor({
9191 const processor = preserve_unicode
9292 ? unicode_safe_processor
9393 : url_safe_processor ;
94+
9495 const seen = new Set ( ) ;
9596
9697 return function ( url : string ) {
You can’t perform that action at this time.
0 commit comments