Marcel Laverdet
Marcel Laverdet
Why not just evaluate the source of lodash from within the isolate?
It helps to think of isolated-vm like a browser. How would you transfer an instantiated class from nodejs to Chrome? You can't! In the case of lodash the answer is...
Your code is incomplete. I can't help you unless you post a complete example.
You are posting code fragments. You need to post a complete program. I can't just guess what the rest of the code looks like. Put yourself in my shoes, I...
I think this is covered under the recent "FREQUENTLY ASKED QUESTION" section. Thanks!
Seems like an oversight. We have to be careful in that place to avoid invoking accessor functions which may jump into user code without a timeout.
v8 unfortunately changed the way modules worked after I wrote all this. I can't recommend the `*Sync` class of functions when working with modules, since they return promises internally. Instead,...
Yes the `package.json` and build settings need to be updated for compatibility with ES Modules. The `exports` fields should look like: ```json "./format": { "require": "./format/index.js", "types": "./format/index.d.ts", } ```...
The point about compatibility is fair. My personal tolerance for backwards compatibility is very low but in this case it's not a big deal to stick the headers in another...
In your particular case I would recommend not naming your shard with any non a-z0-9 characters.