[jsinterp] Clean up and pull yt-dlp style
authordirkf <fieldhouse@gmx.net>
Fri, 19 Aug 2022 14:34:33 +0000 (15:34 +0100)
committerdirkf <fieldhouse@gmx.net>
Fri, 19 Aug 2022 14:34:33 +0000 (15:34 +0100)
commit46b8ae2f520c17aaa756082676788c6287b6809e
treee9fa81fd136e44d03a9caf541e2e1143804404a6
parent538ec65ba7634bb9ad9f8eb4ce72713c673969dc
[jsinterp] Clean up and pull yt-dlp style
* add compat_re_Pattern
* improve compat_collections_chain_map
* use class JS_Undefined
* remove unused code
test/test_jsinterp.py
test/test_youtube_signature.py
youtube_dl/compat.py
youtube_dl/jsinterp.py