Skip to content

Commit

Permalink
[PR] Add module.builtinModules
Browse files Browse the repository at this point in the history
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
  • Loading branch information
SimenB authored and facebook-github-bot committed Jan 30, 2019
1 parent 77fd202 commit 21b60c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ declare var module: {
loaded: boolean;
parent: any;
children: Array<any>;
builtinModules: Array<string>;
};
declare var require: {
(id: string): any;
Expand Down

0 comments on commit 21b60c0

Please sign in to comment.