vm: add dynamic import callback and streamline initialize import.meta callback to match it
Fixes #19570 (closed) Fixes #19363 (closed)
Commits:
src: flatten ContextifyScript
src, vm: implement scoped import.meta and dynamic import
repl: enable dynamic import
This might be a little rough around the edges particularly with the c++ changes, i wasn't quite sure about the difference between the two map types except for that one had the methods i wanted
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines