Commit Graph

3 Commits

Author SHA1 Message Date
Ben Newman
bdee913b1b Support npm packages with native .node "main" modules.
Note that the value of the "main" property must include the ".node"
extension explicitly, because I have yet to encounter an npm package with
a native "main" module that omits the ".node" extension, and I am loathe
to start calling files.stat(id + ".node") uselessly for every single
missing module.

Fixes #7947.
2016-10-23 17:43:06 -04:00
Ben Newman
a92aaee133 Test that various packages can now be imported using pure Node.
Closes #6165.
Closes #6173.
Closes #6285.
Closes #6313.
Closes #6373.
2016-03-07 19:52:05 -05:00
Ben Newman
988b8b3d0c Commit an app that tests many aspects of the module system.
Partially satisfies #5782.
2016-01-11 15:31:32 -05:00