File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# seleniumbase package
2- __version__ = "4.21.6 "
2+ __version__ = "4.21.7 "
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ def is_binary_patched(self, executable_path=None):
189189 with io .open (executable_path , "rb" ) as fh :
190190 if re .search (
191191 b"window.cdc_adoQpoasnfa76pfcZLmcfl_"
192- b"(Array|Promise|Symbol|Object|Proxy)" ,
192+ b"(Array|Promise|Symbol|Object|Proxy|JSON )" ,
193193 fh .read ()
194194 ):
195195 return False
@@ -212,14 +212,14 @@ def gen_call_function_js_cache_name(match):
212212 file_bin = fh .read ()
213213 file_bin = re .sub (
214214 b"window\\ .cdc_[a-zA-Z0-9]{22}_"
215- b"(Array|Promise|Symbol|Object|Proxy)"
216- b" = window\\ .(Array|Promise|Symbol|Object|Proxy);" ,
215+ b"(Array|Promise|Symbol|Object|Proxy|JSON )"
216+ b" = window\\ .(Array|Promise|Symbol|Object|Proxy|JSON );" ,
217217 gen_js_whitespaces ,
218218 file_bin ,
219219 )
220220 file_bin = re .sub (
221221 b"window\\ .cdc_[a-zA-Z0-9]{22}_"
222- b"(Array|Promise|Symbol|Object|Proxy) \\ |\\ |" ,
222+ b"(Array|Promise|Symbol|Object|Proxy|JSON ) \\ |\\ |" ,
223223 gen_js_whitespaces ,
224224 file_bin ,
225225 )
You can’t perform that action at this time.
0 commit comments