{"size": 719, "ext": "js", "max_stars_repo_path": "packages/SwingSet/src/kernel/vatManager/nodeWorkerSupervisorCJS.js", "max_stars_repo_name": "aleclarson/agoric-sdk", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "packages/SwingSet/src/kernel/vatManager/nodeWorkerSupervisorCJS.js", "max_issues_repo_name": "aleclarson/agoric-sdk", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "packages/SwingSet/src/kernel/vatManager/nodeWorkerSupervisorCJS.js", "max_forks_repo_name": "aleclarson/agoric-sdk", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 55.3076923077, "max_line_length": 77, "alphanum_fraction": 0.735744089}
// `tap` and `node -r esm` were able to allow the swingset process to create
// a thread (`new Worker()`) from the (ESM) supervisor file without problems,
// but for some reason AVA cannot. The file loaded into the new thread
// appears to lack the effects which `-r esm` had on the rest of the tree.
// This stub, written as CJS, exists to allow the real supervisor to be
// loaded under AVA. With luck, when we switch everything to use real ESM
// modules, and stop using `-r esm`, this should become unnecessary, and
// `controller.js` can point at `nodeWorkerSupervisor.js` instead.

// eslint-disable-next-line no-global-assign
require = require('esm')(module);
module.exports = require('./nodeWorkerSupervisor');
