You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

core.js 309B

123456789101112
  1. 'use strict';
  2. var isCoreModule = require('is-core-module');
  3. var data = require('./core.json');
  4. var core = {};
  5. for (var mod in data) { // eslint-disable-line no-restricted-syntax
  6. if (Object.prototype.hasOwnProperty.call(data, mod)) {
  7. core[mod] = isCoreModule(mod);
  8. }
  9. }
  10. module.exports = core;