Current version :"frida-compile": "^19.0.4"
frida:16.*
I used the ioredis library in the project.
In node_modules\ioredis\built\index.js, I found the cluster. It was imported like this:
I also found that dns was imported like this:
Why is cluster statically imported after compilation while dns is dynamically imported? Is it because there is dns in frida 17.*?(My guess)
This is the difference after compilation:
cluster
Jump to this function
dns
Jump to this function

Current version :"frida-compile": "^19.0.4"
frida:16.*
I used the ioredis library in the project.
In node_modules\ioredis\built\index.js, I found the cluster. It was imported like this:
I also found that dns was imported like this:
Why is cluster statically imported after compilation while dns is dynamically imported? Is it because there is dns in frida 17.*?(My guess)
This is the difference after compilation:
cluster
Jump to this function
dns
Jump to this function