2023-08-17 09:47:40 +00:00
|
|
|
'use strict';
|
2022-01-21 08:28:41 +00:00
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
var isCoreModule = require('is-core-module');
|
2022-01-21 08:28:41 +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)) {
|
2023-08-17 09:47:40 +00:00
|
|
|
core[mod] = isCoreModule(mod);
|
2022-01-21 08:28:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = core;
|