6to5-core
Advanced tools
Comparing version 2.13.5 to 2.13.6
@@ -154,4 +154,6 @@ "use strict"; | ||
if (t.isCallExpression(parent) && parent.callee === node) { | ||
return true; | ||
if (t.isCallExpression(parent) || t.isNewExpression(parent)) { | ||
if (parent.callee === node) { | ||
return true; | ||
} | ||
} | ||
@@ -158,0 +160,0 @@ |
{ | ||
"name": "6to5-core", | ||
"description": "Turn ES6 code into readable vanilla ES5 with source maps", | ||
"version": "2.13.5", | ||
"version": "2.13.6", | ||
"author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://6to5.org/", |
@@ -1,8 +0,6 @@ | ||
"use strict"; | ||
var _to5Runtime = _to5Runtime.interopRequire(require("6to5-runtime/helpers")); | ||
var _interopRequire = function (obj) { | ||
return obj && (obj["default"] || obj); | ||
}; | ||
var _core = _to5Runtime.interopRequire(require("6to5-runtime/core-js")); | ||
var _core = _interopRequire(require("core-js/library")); | ||
"use strict"; | ||
@@ -113,3 +111,3 @@ exports.inherits = function (subClass, superClass) { | ||
return new _core.Promise(function (resolve, reject) { | ||
var step = function (getNext) { | ||
function step(getNext) { | ||
var next; | ||
@@ -137,3 +135,3 @@ try { | ||
}); | ||
}; | ||
} | ||
@@ -140,0 +138,0 @@ step(function () { |
Sorry, the diff of this file is too big to display
1761354
129