Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mimosa-babel

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mimosa-babel - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

12

lib/index.js

@@ -7,3 +7,3 @@ 'use strict';

var _compile$extensions = require('./plugin');
var _plugin = require('./plugin');

@@ -13,3 +13,3 @@ Object.defineProperty(exports, 'compile', {

get: function get() {
return _compile$extensions.compile;
return _plugin.compile;
}

@@ -20,7 +20,7 @@ });

get: function get() {
return _compile$extensions.extensions;
return _plugin.extensions;
}
});
var _defaults$validate = require('./config');
var _config = require('./config');

@@ -30,3 +30,3 @@ Object.defineProperty(exports, 'defaults', {

get: function get() {
return _defaults$validate.defaults;
return _config.defaults;
}

@@ -37,3 +37,3 @@ });

get: function get() {
return _defaults$validate.validate;
return _config.validate;
}

@@ -40,0 +40,0 @@ });

@@ -47,2 +47,6 @@ 'use strict';

if (fOpts.plugins === null) {
fOpts.plugins = [];
}
var result = localConfig.lib.transform(file.inputFileText, fOpts);

@@ -57,5 +61,5 @@

// fix paths if Windows style paths
map.file = map.file.replace(/\\/g, '/');
map.file = map.file.replace(/\\/g, "/");
map.sources = map.sources.map(function (p) {
return p.replace(/\\/g, '/');
return p.replace(/\\/g, "/");
});

@@ -67,3 +71,3 @@ sourceMap = JSON.stringify(result.map);

} catch (err) {
logger.error('Error running es6 module transpiler on file [[ ' + file.inputFileName + ' ]]', err);
logger.error('Error running babel on file [[ ' + file.inputFileName + ' ]]', err.stack);
cb(err);

@@ -70,0 +74,0 @@ }

{
"name": "mimosa-babel",
"version": "0.5.1",
"version": "0.5.2",
"description": "babel mimosa files",

@@ -24,5 +24,5 @@ "main": "./lib/index",

"dependencies": {
"babel-core": "^5.0.0",
"babel-core": "^5.8.0",
"deepmerge": "^0.2.7"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc