2024-04-22 11:47:34 +00:00
|
|
|
'use strict';
|
2022-12-23 12:03:25 +00:00
|
|
|
|
2024-04-22 11:47:34 +00:00
|
|
|
var isCoreModule = require('is-core-module');
|
2022-12-23 12:03:25 +00:00
|
|
|
var data = require('./core.json');
|
|
|
|
|
|
|
|
var core = {};
|
|
|
|
for (var mod in data) { // eslint-disable-line no-restricted-syntax
|
|
|
|
if (Object.prototype.hasOwnProperty.call(data, mod)) {
|
2024-04-22 11:47:34 +00:00
|
|
|
core[mod] = isCoreModule(mod);
|
2022-12-23 12:03:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = core;
|