From 30a10306ecb53f1d70f1386a26213df9f12a90ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Fri, 19 Apr 2024 13:21:26 +0200 Subject: [PATCH] Update after rebase --- .../output.mjs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/babel-plugin-polyfill-corejs3/test/fixtures/usage-pure/all-proposals-chrome-90-corejs-3.37/output.mjs b/packages/babel-plugin-polyfill-corejs3/test/fixtures/usage-pure/all-proposals-chrome-90-corejs-3.37/output.mjs index 5918c018..97e2f486 100644 --- a/packages/babel-plugin-polyfill-corejs3/test/fixtures/usage-pure/all-proposals-chrome-90-corejs-3.37/output.mjs +++ b/packages/babel-plugin-polyfill-corejs3/test/fixtures/usage-pure/all-proposals-chrome-90-corejs-3.37/output.mjs @@ -1,7 +1,6 @@ -var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9; +var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8; import _findLastInstanceProperty from "core-js-pure/features/instance/find-last.js"; import _findLastIndexInstanceProperty from "core-js-pure/features/instance/find-last-index.js"; -import _asIndexedPairsInstanceProperty from "core-js-pure/features/instance/asIndexedPairs.js"; import _Iterator$from from "core-js-pure/features/iterator/from.js"; import _groupByInstanceProperty from "core-js-pure/features/instance/group-by.js"; import _AsyncIterator$from from "core-js-pure/features/async-iterator/from.js"; @@ -45,19 +44,19 @@ import _Math$sumPrecise from "core-js-pure/features/math/sum-precise.js"; import _Symbol$customMatcher from "core-js-pure/features/symbol/custom-matcher.js"; _findLastInstanceProperty(_context = []).call(_context, fn); _findLastIndexInstanceProperty(_context2 = []).call(_context2, fn); -_asIndexedPairsInstanceProperty(_context3 = []).call(_context3); +[].asIndexedPairs(); _Iterator$from({ next: () => ({ done: Math.random() > .9, value: Math.random() * 10 | 0 }) }).forEach(console.log).toArray(); -_groupByInstanceProperty(_context4 = _AsyncIterator$from([1, 2, 3, 4, 5, 6, 7]).drop(1).take(5).filter(it => it % 2)).call(_context4, it => id % 4).map(it => it ** 2).toArray().then(console.log); -_groupByInstanceProperty(_context5 = _uniqueByInstanceProperty(_context6 = [1, 2, 3, 4, 5, 6, 7, 7]).call(_context6, x => x)).call(_context5, x => x % 2); +_groupByInstanceProperty(_context3 = _AsyncIterator$from([1, 2, 3, 4, 5, 6, 7]).drop(1).take(5).filter(it => it % 2)).call(_context3, it => id % 4).map(it => it ** 2).toArray().then(console.log); +_groupByInstanceProperty(_context4 = _uniqueByInstanceProperty(_context5 = [1, 2, 3, 4, 5, 6, 7, 7]).call(_context5, x => x)).call(_context4, x => x % 2); _Number$range(1, 2); _BigInt$range(1n, 2n); _Array$isTemplateObject((x => x)`a${x}z`); -_emplaceInstanceProperty(_context7 = new Map([['x', 1]])).call(_context7, 'x', { +_emplaceInstanceProperty(_context6 = new Map([['x', 1]])).call(_context6, 'x', { update: x => x + 1, insert: () => 0 }); @@ -69,8 +68,8 @@ Symbol.matchAll; _Symbol$metadata; Symbol.replaceAll; new URL(url); -const foo = _groupByToMapInstanceProperty(_context8 = [1, 2, 3]).call(_context8, bar); -const push = _unThisInstanceProperty(_context9 = _pushInstanceProperty([])).call(_context9); +const foo = _groupByToMapInstanceProperty(_context7 = [1, 2, 3]).call(_context7, bar); +const push = _unThisInstanceProperty(_context8 = _pushInstanceProperty([])).call(_context8); _Function$isConstructor; throw new DOMException(); _structuredClone(72);