From 0469abd4a9c9270a1fdc962969e36e63699af8b4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 21:51:33 +0100 Subject: upgrade dependencies --- node_modules/promise/lib/es6-extensions.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'node_modules/promise/lib/es6-extensions.js') diff --git a/node_modules/promise/lib/es6-extensions.js b/node_modules/promise/lib/es6-extensions.js index 8ab266698..e6d92aa60 100644 --- a/node_modules/promise/lib/es6-extensions.js +++ b/node_modules/promise/lib/es6-extensions.js @@ -16,9 +16,9 @@ var ZERO = valuePromise(0); var EMPTYSTRING = valuePromise(''); function valuePromise(value) { - var p = new Promise(Promise._61); - p._65 = 1; - p._55 = value; + var p = new Promise(Promise._44); + p._83 = 1; + p._18 = value; return p; } Promise.resolve = function (value) { @@ -55,11 +55,11 @@ Promise.all = function (arr) { function res(i, val) { if (val && (typeof val === 'object' || typeof val === 'function')) { if (val instanceof Promise && val.then === Promise.prototype.then) { - while (val._65 === 3) { - val = val._55; + while (val._83 === 3) { + val = val._18; } - if (val._65 === 1) return res(i, val._55); - if (val._65 === 2) reject(val._55); + if (val._83 === 1) return res(i, val._18); + if (val._83 === 2) reject(val._18); val.then(function (val) { res(i, val); }, reject); -- cgit v1.2.3