New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

6to5-brunch

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

6to5-brunch - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

9

index.js

@@ -9,5 +9,6 @@ var to5 = require('6to5');

Object.keys(options).forEach(function (key) {
if (key === 'sourceMap') return;
_this.options[key] = options[key];
});
this.options.sourceMap = !!config.sourceMaps;
this.options.sourceMapObject = !!config.sourceMaps;
}

@@ -28,3 +29,3 @@

if (this.options.sourceMap) {
lines = compiled.split('\n');
lines = compiled.code.split('\n');
mapComment = lines.splice(-2, 1)[0];

@@ -35,6 +36,8 @@ if (mapComment.slice(0, 26) === '//# sourceMappingURL=data:') {

}
} else {
compiled = {code: compiled};
}
return callback(null, {data: compiled, map: map});
return callback(null, {data: compiled.code, map: compiled.map});
};
module.exports = ES6to5Compiler;
{
"name": "6to5-brunch",
"version": "1.7.0",
"version": "1.7.1",
"description": "Brunch plugin to turn ES6 code into vanilla ES5 with no runtime required.",

@@ -24,3 +24,3 @@ "author": "Elan Shanker",

"dependencies": {
"6to5": "https://github.com/sebmck/6to5/tarball/a2f2811200ba1fb7751dd8b1cb7bd5d1f0d1c4ec"
"6to5": "0.0.8"
},

@@ -27,0 +27,0 @@ "devDependencies": {

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