Currenlty both the js package and js/modulestest do a number of things to configure Sobek.runtime and modules.ModuleSystem in order to have the same behaviour.
This still doesn't actually make it so and does require that a number of realistically internal details are exported but are in practice only meant to be used internally:
Currenlty both the
js
package andjs/modulestest
do a number of things to configure Sobek.runtime and modules.ModuleSystem in order to have the same behaviour.This still doesn't actually make it so and does require that a number of realistically internal details are exported but are in practice only meant to be used internally:
Likely many more.
It also happens that we have two implementations that make it harder to work around.