Socket
Socket
Sign inDemoInstall

6to5

Package Overview
Dependencies
86
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.3.10 to 3.3.11

4

lib/6to5/generation/generators/jsx.js

@@ -78,4 +78,2 @@ "use strict";

exports.JSXEmptyExpression = function () {
};
exports.JSXEmptyExpression = function () {};

@@ -15,10 +15,2 @@ "use strict";

exports.load = function () {
if (!fs.existsSync(FILENAME)) return;
try {
data = JSON.parse(fs.readFileSync(FILENAME));
} catch (err) {
return;
}
process.on("exit", exports.save);

@@ -33,2 +25,10 @@

process.on("SIGINT", sigint);
if (!fs.existsSync(FILENAME)) return;
try {
data = JSON.parse(fs.readFileSync(FILENAME));
} catch (err) {
return;
}
};

@@ -35,0 +35,0 @@

@@ -63,2 +63,6 @@ "use strict";

exports.manipulateOptions = function (opts) {
if (opts.whitelist.length) opts.whitelist.push("es6.modules");
};
exports.ast = {

@@ -65,0 +69,0 @@ enter: function (ast, file) {

{
"name": "6to5",
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
"version": "3.3.10",
"version": "3.3.11",
"author": "Sebastian McKenzie <sebmck@gmail.com>",

@@ -6,0 +6,0 @@ "homepage": "https://6to5.org/",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc