Socket
Socket
Sign inDemoInstall

6to5

Package Overview
Dependencies
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

6to5 - npm Package Compare versions

Comparing version 3.0.14 to 3.0.15

6

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

@@ -90,3 +90,7 @@ "use strict";

this.push(keyword);
if (node.delegate) this.push("*");
if (node.delegate || node.all) {
this.push("*");
}
if (node.argument) {

@@ -93,0 +97,0 @@ this.space();

@@ -12,2 +12,8 @@ "use strict";

node.type = "YieldExpression";
if (node.all) {
// await* foo; -> yield Promise.all(foo);
node.all = false;
node.argument = t.callExpression(t.memberExpression(t.identifier("Promise"), t.identifier("all")), [node.argument]);
}
}

@@ -14,0 +20,0 @@ }

2

lib/6to5/util.js

@@ -8,3 +8,3 @@ "use strict";

var traverse = require("./traverse");
var debug = require("debug");
var debug = require("debug/node");
var acorn = require("acorn-6to5");

@@ -11,0 +11,0 @@ var path = require("path");

{
"name": "6to5",
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
"version": "3.0.14",
"version": "3.0.15",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc