PR-URL: https://github.com/nodejs/node/pull/35474 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org> Reviewed-By: Ben Coe <bencoe@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
24 lines
733 B
JavaScript
24 lines
733 B
JavaScript
"use strict";
|
|
|
|
// Update this array if you add/rename/remove files in this directory.
|
|
// We support Browserify by skipping automatic module discovery and requiring modules directly.
|
|
var modules = [
|
|
require("./internal"),
|
|
require("./utf32"),
|
|
require("./utf16"),
|
|
require("./utf7"),
|
|
require("./sbcs-codec"),
|
|
require("./sbcs-data"),
|
|
require("./sbcs-data-generated"),
|
|
require("./dbcs-codec"),
|
|
require("./dbcs-data"),
|
|
];
|
|
|
|
// Put all encoding/alias/codec definitions to single object and export it.
|
|
for (var i = 0; i < modules.length; i++) {
|
|
var module = modules[i];
|
|
for (var enc in module)
|
|
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
exports[enc] = module[enc];
|
|
}
|