Package: node-consolidate
Version: 0.15.1+repack-1
Severity: serious

Enabling test proves that node-consolidate depends on node-babel-core 6:

```
  function requireReact(module, filename) {
    var babel = requires.babel || (requires.babel = require('babel-core'));
  
    var compiled = babel.transformFileSync(filename, { presets: [ 'react' ] 
}).code;
  
    return module._compile(compiled, filename);
  }
  
  exports.requireReact = requireReact;
  
  /**
   *  Converting a string into a node module.
   */
  function requireReactString(src, filename) {
    var babel = requires.babel || (requires.babel = require('babel-core'));
  
    if (!filename) filename = '';
    var m = new module.constructor();
    filename = filename || '';
  
    // Compile Using React
    var compiled = babel.transform(src, { presets: [ 'react' ] }).code;
```

Reply via email to