mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +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.
|
// Add other realm values from the `vm` module.
|
||||||
_.attempt(function() {
|
_.attempt(function() {
|
||||||
|
if (process.jsEngine == 'chakra') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
_.extend(_, require('vm').runInNewContext([
|
_.extend(_, require('vm').runInNewContext([
|
||||||
'(function() {',
|
'(function() {',
|
||||||
' var object = {',
|
' var object = {',
|
||||||
|
|||||||
Reference in New Issue
Block a user