Skip to content

Commit 21b60c0

Browse files
SimenBfacebook-github-bot
authored andcommitted
[PR] Add module.builtinModules
Summary: Added in node 9.3. nodejs/node#16386 I'm unable to compile (`make: *** [_build/src/common/xx/xx_stubs.o] Error 2`), thus enable to run the tests and fix the assertion Pull Request resolved: #5529 Reviewed By: dsainati1 Differential Revision: D13829969 Pulled By: nmote fbshipit-source-id: 2e265d9f747737d9f0ccda16f7300f9c5bee469f
1 parent 77fd202 commit 21b60c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ declare var module: {
831831
loaded: boolean;
832832
parent: any;
833833
children: Array<any>;
834+
builtinModules: Array<string>;
834835
};
835836
declare var require: {
836837
(id: string): any;

0 commit comments

Comments
 (0)