44import  {  walk  }  from  'zimmerframe' ; 
55import  {  object  }  from  '../../../../../utils/ast.js' ; 
66import  *  as  b  from  '#compiler/builders' ; 
7- import  *  as  w  from  '../../../../../warnings.js' ; 
87import  {  sanitize_template_string  }  from  '../../../../../utils/sanitize_template_string.js' ; 
9- import  { 
10- 	regex_is_valid_identifier , 
11- 	regex_bidirectional_control_characters 
12- }  from  '../../../../patterns.js' ; 
8+ import  {  regex_is_valid_identifier  }  from  '../../../../patterns.js' ; 
139import  is_reference  from  'is-reference' ; 
1410import  {  dev ,  is_ignored ,  locator  }  from  '../../../../../state.js' ; 
1511import  {  create_derived  }  from  '../../utils.js' ; 
@@ -81,9 +77,6 @@ export function build_template_chunk(
8177				// If we have a single expression, then pass that in directly to possibly avoid doing 
8278				// extra work in the template_effect (instead we do the work in set_text). 
8379				if  ( evaluated . is_known )  { 
84- 					if  ( regex_bidirectional_control_characters . test ( ( evaluated . value  ??  '' )  +  '' ) )  { 
85- 						w . bidirectional_control_characters ( node ) ; 
86- 					} 
8780					value  =  b . literal ( ( evaluated . value  ??  '' )  +  '' ) ; 
8881				} 
8982
@@ -103,9 +96,6 @@ export function build_template_chunk(
10396			} 
10497
10598			if  ( evaluated . is_known )  { 
106- 				if  ( regex_bidirectional_control_characters . test ( ( evaluated . value  ??  '' )  +  '' ) )  { 
107- 					w . bidirectional_control_characters ( node ) ; 
108- 				} 
10999				quasi . value . cooked  +=  ( evaluated . value  ??  '' )  +  '' ; 
110100			}  else  { 
111101				if  ( ! evaluated . is_defined )  { 
0 commit comments