iojs: introduce internal modules
authorVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Sat, 14 Feb 2015 19:53:34 +0000 (22:53 +0300)
committerVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Wed, 25 Mar 2015 19:12:18 +0000 (22:12 +0300)
commit2db758c562b4e480acc2d1a654e2c471a653a039
treed220a3b9b05d1682dcd1fecfd446ed69c5a599b8
parent45814216ee29b8d6c5faa00c6d27b721f628a1ea
iojs: introduce internal modules

Internal modules can be used to share private code between
public modules without risk to expose private APIs to the
user.

PR-URL: https://github.com/iojs/io.js/pull/848
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
12 files changed:
lib/_http_common.js
lib/freelist.js
lib/internal/freelist.js [new file with mode: 0644]
lib/module.js
node.gyp
src/node.cc
src/node.js
test/fixtures/internal-modules/index.js [new file with mode: 0644]
test/fixtures/internal-modules/node_modules/internal/freelist.js [new file with mode: 0644]
test/parallel/test-internal-modules-expose.js [new file with mode: 0644]
test/parallel/test-internal-modules.js [new file with mode: 0644]
tools/js2c.py