mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Bypass vm module use for ChakraNode.
This commit is contained in:
@@ -542,6 +542,9 @@
|
||||
|
||||
// Add other realm values from the `vm` module.
|
||||
_.attempt(function() {
|
||||
if (process.jsEngine == 'chakra') {
|
||||
return;
|
||||
}
|
||||
_.extend(_, require('vm').runInNewContext([
|
||||
'(function() {',
|
||||
' var object = {',
|
||||
|
||||
Reference in New Issue
Block a user