From 63644dbbc822b0b491adbe7527c2a49c8a30e56b Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Sat, 18 Jan 2020 12:27:28 +0100 Subject: [PATCH] Remove : from test file names for Windows, update dependencies (#3342) --- LICENSE.md | 12 +- package-lock.json | 575 ++++++------ package.json | 24 +- .../samples/sanitize-chunk-names/_config.js | 2 +- .../_expected/amd/_virtual-entry-1.js | 7 + .../_expected/amd/_virtual-entry-2.js | 7 + .../_expected/amd/_virtual:entry-1.js | 7 - .../_expected/amd/_virtual:entry-2.js | 7 - .../_expected/cjs/_virtual-entry-1.js | 5 + .../_expected/cjs/_virtual-entry-2.js | 5 + .../_expected/cjs/_virtual:entry-1.js | 5 - .../_expected/cjs/_virtual:entry-2.js | 5 - .../_expected/es/_virtual-entry-1.js | 3 + .../_expected/es/_virtual-entry-2.js | 3 + .../_expected/es/_virtual:entry-1.js | 3 - .../_expected/es/_virtual:entry-2.js | 3 - ...virtual:entry-1.js => _virtual-entry-1.js} | 2 +- ...virtual:entry-2.js => _virtual-entry-2.js} | 2 +- .../_expected/minified.js | 2 +- .../samples/supports-core-js/_expected.js | 860 ++++++++++-------- 20 files changed, 784 insertions(+), 755 deletions(-) create mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual-entry-1.js create mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual-entry-2.js delete mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual:entry-1.js delete mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual:entry-2.js create mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual-entry-1.js create mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual-entry-2.js delete mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual:entry-1.js delete mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual:entry-2.js create mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual-entry-1.js create mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual-entry-2.js delete mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual:entry-1.js delete mode 100644 test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual:entry-2.js rename test/chunking-form/samples/sanitize-chunk-names/_expected/system/{_virtual:entry-1.js => _virtual-entry-1.js} (60%) rename test/chunking-form/samples/sanitize-chunk-names/_expected/system/{_virtual:entry-2.js => _virtual-entry-2.js} (60%) diff --git a/LICENSE.md b/LICENSE.md index 993c1034873..71f3c3ec4fa 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -112,7 +112,7 @@ Repository: https://github.com/acornjs/acorn.git ## braces License: MIT By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm -Repository: micromatch/braces +Repository: git+https://github.com/micromatch/braces.git > The MIT License (MIT) > @@ -148,7 +148,7 @@ Repository: sindresorhus/date-time ## fill-range License: MIT By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling -Repository: jonschlinkert/fill-range +Repository: git+https://github.com/jonschlinkert/fill-range.git > The MIT License (MIT) > @@ -206,7 +206,7 @@ Repository: git://github.com/isaacs/inherits ## is-number License: MIT By: Jon Schlinkert, Olsten Larck, Rouven Weßling -Repository: jonschlinkert/is-number +Repository: git+https://github.com/jonschlinkert/is-number.git > The MIT License (MIT) > @@ -249,7 +249,7 @@ Repository: Rich-Harris/locate-character ## magic-string License: MIT By: Rich Harris -Repository: https://github.com/rich-harris/magic-string +Repository: git+https://github.com/rich-harris/magic-string.git > Copyright 2018 Rich Harris > @@ -427,7 +427,7 @@ Repository: https://github.com/tapjs/signal-exit.git ## sourcemap-codec License: MIT By: Rich Harris -Repository: https://github.com/Rich-Harris/sourcemap-codec +Repository: git+https://github.com/Rich-Harris/sourcemap-codec.git > The MIT License > @@ -463,7 +463,7 @@ Repository: sindresorhus/time-zone ## to-regex-range License: MIT By: Jon Schlinkert, Rouven Weßling -Repository: micromatch/to-regex-range +Repository: git+https://github.com/micromatch/to-regex-range.git > The MIT License (MIT) > diff --git a/package-lock.json b/package-lock.json index 2173900e8ba..87755a46f4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -150,6 +150,15 @@ "integrity": "sha512-WtTZMZAZLbeymhkd/sEaPD8IQyGAhmuTuvTzLiCFM7iXiVdY0gc0IaI+cW0fh1BnSMbJSzXX6/fHllgHKwHhXw==", "dev": true }, + "@babel/runtime": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.3.tgz", + "integrity": "sha512-fVHx1rzEmwB130VTkLnxR+HmxcTjGzH12LYQcFFoBwakMd3aOMD4OsRN7tGG/UOYE2ektgFrS8uACAoRk1CY0w==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.2" + } + }, "@babel/template": { "version": "7.7.4", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz", @@ -347,9 +356,9 @@ "dev": true }, "@types/estree": { - "version": "0.0.41", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.41.tgz", - "integrity": "sha512-rIAmXyJlqw4KEBO7+u9gxZZSQHaCNnIzYrnNmYVpgfJhxTqO0brCX0SYpqUTkVI5mwwUwzmtspLBGBKroMeynA==" + "version": "0.0.42", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.42.tgz", + "integrity": "sha512-K1DPVvnBCPxzD+G51/cxVIoc2X8uUVl1zpJeE6iKcgHMj4+tbat5Xu4TjV7v2QSDbIeAfLi2hIk+u2+s0MlpUQ==" }, "@types/events": { "version": "3.0.0", @@ -378,9 +387,9 @@ } }, "@types/micromatch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@types/micromatch/-/micromatch-3.1.1.tgz", - "integrity": "sha512-Wr5y4uv3r7JP4jEUqv7rZeYiMBGRHcbojDVsl11wq6gw1v/ZZQvJexd9rtvVx3EIVqw8dwtcRjSs8m2DV9qHjQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/micromatch/-/micromatch-4.0.0.tgz", + "integrity": "sha512-bavSCssCRRlbUI639WG0Y30AOowkI5CdxyyrC5eVbsb0BJIbgS5ROfwlwDYHsOmgS59iYlre9sstIA5wfVNKBA==", "dev": true, "requires": { "@types/braces": "*" @@ -399,14 +408,14 @@ "dev": true }, "@types/node": { - "version": "13.1.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.4.tgz", - "integrity": "sha512-Lue/mlp2egZJoHXZr4LndxDAd7i/7SQYhV0EjWfb/a4/OZ6tuVwMCVPiwkU5nsEipxEf7hmkSU7Em5VQ8P5NGA==" + "version": "13.1.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.8.tgz", + "integrity": "sha512-6XzyyNM9EKQW4HKuzbo/CkOIjn/evtCmsU+MUM1xDfJ+3/rNjBttM1NgN7AOQvN6tP1Sl1D1PIKMreTArnxM9A==" }, - "@types/normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", "dev": true }, "@types/resolve": { @@ -514,14 +523,6 @@ "dev": true, "requires": { "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } } }, "ansi-regex": { @@ -660,13 +661,14 @@ "dev": true }, "array-includes": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", - "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz", + "integrity": "sha512-c2VXaCHl7zPsvpkFsw4nxvFie4fh1ur9bpcgsVkIjqn0H/Xwdg+7fv3n2r/isyS8EBj5b06M9kHyZuIr4El6WQ==", "dev": true, "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.7.0" + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0", + "is-string": "^1.0.5" } }, "array-union": { @@ -682,51 +684,13 @@ "dev": true }, "array.prototype.flat": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.2.tgz", - "integrity": "sha512-VXjh7lAL4KXKF2hY4FnEW9eRW6IhdvFW1sN/JwLbmECbCgACCnBHNyP3lFiYuttr0jxRN9Bsc5+G27dMseSWqQ==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz", + "integrity": "sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==", "dev": true, "requires": { "define-properties": "^1.1.3", - "es-abstract": "^1.15.0", - "function-bind": "^1.1.1" - }, - "dependencies": { - "es-abstract": { - "version": "1.16.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.3.tgz", - "integrity": "sha512-WtY7Fx5LiOnSYgF5eg/1T+GONaGmpvpPdCpSnYij+U2gDTL0UPfWrhDw7b2IYb+9NQJsYpCA0wOQvZfsd6YwRw==", - "dev": true, - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.1.4", - "is-regex": "^1.0.4", - "object-inspect": "^1.7.0", - "object-keys": "^1.1.1", - "string.prototype.trimleft": "^2.1.0", - "string.prototype.trimright": "^2.1.0" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true - } + "es-abstract": "^1.17.0-next.1" } }, "assign-symbols": { @@ -1325,9 +1289,9 @@ "dev": true }, "core-js": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.1.tgz", - "integrity": "sha512-186WjSik2iTGfDjfdCZAxv2ormxtKgemjC3SI6PL31qOA0j5LhTDVjHChccoc7brwLvpvLPiMyRlcO88C4l1QQ==", + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.4.tgz", + "integrity": "sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw==", "dev": true }, "core-util-is": { @@ -1632,23 +1596,36 @@ } }, "es-abstract": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz", - "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==", + "version": "1.17.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.2.tgz", + "integrity": "sha512-YoKuru3Lyoy7yVTBSH2j7UxTqe/je3dWAruC0sHvZX1GNd5zX8SSLvQqEgO9b3Ex8IW+goFI9arEEsFIbulhOw==", "dev": true, "requires": { - "es-to-primitive": "^1.2.0", + "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", - "is-callable": "^1.1.4", - "is-regex": "^1.0.4", - "object-keys": "^1.0.12" + "has-symbols": "^1.0.1", + "is-callable": "^1.1.5", + "is-regex": "^1.0.5", + "object-inspect": "^1.7.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.0", + "string.prototype.trimleft": "^2.1.1", + "string.prototype.trimright": "^2.1.1" + }, + "dependencies": { + "has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "dev": true + } } }, "es-to-primitive": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", - "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", "dev": true, "requires": { "is-callable": "^1.1.4", @@ -1805,29 +1782,34 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz", "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==", "dev": true - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true } } }, "eslint-import-resolver-node": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", - "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz", + "integrity": "sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg==", "dev": true, "requires": { "debug": "^2.6.9", - "resolve": "^1.5.0" + "resolve": "^1.13.1" + }, + "dependencies": { + "resolve": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz", + "integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + } } }, "eslint-module-utils": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.0.tgz", - "integrity": "sha512-kCo8pZaNz2dsAW7nCUjuVoI11EBXXpIzfNxmaoLhXoRDOnqXLC4iSGVRdZPhOitfbdEfMEfKOiENaK6wDPZEGw==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.2.tgz", + "integrity": "sha512-LGScZ/JSlqGKiT8OC+cYRxseMjyqt6QO54nl281CK93unD89ijSeRV6An8Ci/2nvWVKe8K/Tqdm75RQoIOCr+Q==", "dev": true, "requires": { "debug": "^2.6.9", @@ -1835,9 +1817,9 @@ } }, "eslint-plugin-import": { - "version": "2.19.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.19.1.tgz", - "integrity": "sha512-x68131aKoCZlCae7rDXKSAQmbT5DQuManyXo2sK6fJJ0aK5CWAkv6A6HJZGgqC8IhjQxYPgo6/IY4Oz8AFsbBw==", + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.0.tgz", + "integrity": "sha512-NK42oA0mUc8Ngn4kONOPsPB1XhbUvNHqF+g307dPV28aknPoiNnKLFd9em4nkswwepdF5ouieqv5Th/63U7YJQ==", "dev": true, "requires": { "array-includes": "^3.0.3", @@ -1865,9 +1847,9 @@ } }, "resolve": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.13.1.tgz", - "integrity": "sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w==", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz", + "integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==", "dev": true, "requires": { "path-parse": "^1.0.6" @@ -2628,9 +2610,9 @@ "dev": true }, "get-stdin": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", - "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", + "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=", "dev": true }, "get-stream": { @@ -2825,14 +2807,6 @@ "requires": { "is-stream": "^2.0.0", "type-fest": "^0.8.0" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } } }, "he": { @@ -2842,9 +2816,9 @@ "dev": true }, "hosted-git-info": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", - "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz", + "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==", "dev": true }, "html-escaper": { @@ -2887,48 +2861,67 @@ "dev": true }, "husky": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/husky/-/husky-3.1.0.tgz", - "integrity": "sha512-FJkPoHHB+6s4a+jwPqBudBDvYZsoQW5/HBuMSehC8qDiCe50kpcxeqFoDSlow+9I6wg47YxBoT3WxaURlrDIIQ==", + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/husky/-/husky-4.0.10.tgz", + "integrity": "sha512-Ptm4k2DqOwxeK/kzu5RaJmNRoGvESrgDXObFcZ8aJZcyXyMBHhM2FqZj6zYKdetadmP3wCwxEHCBuB9xGlRp8A==", "dev": true, "requires": { - "chalk": "^2.4.2", + "chalk": "^3.0.0", "ci-info": "^2.0.0", - "cosmiconfig": "^5.2.1", - "execa": "^1.0.0", - "get-stdin": "^7.0.0", + "cosmiconfig": "^6.0.0", "opencollective-postinstall": "^2.0.2", "pkg-dir": "^4.2.0", "please-upgrade-node": "^3.2.0", - "read-pkg": "^5.2.0", - "run-node": "^1.0.0", - "slash": "^3.0.0" + "slash": "^3.0.0", + "which-pm-runs": "^1.0.0" }, "dependencies": { + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" } }, - "execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "cosmiconfig": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", + "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", "dev": true, "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" } }, "find-up": { @@ -2941,19 +2934,10 @@ "path-exists": "^4.0.0" } }, - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "locate-path": { @@ -2965,25 +2949,10 @@ "p-locate": "^4.1.0" } }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dev": true, - "requires": { - "path-key": "^2.0.0" - } - }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true - }, "p-limit": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.1.tgz", - "integrity": "sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz", + "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==", "dev": true, "requires": { "p-try": "^2.0.0" @@ -3022,6 +2991,12 @@ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, "pkg-dir": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", @@ -3031,16 +3006,13 @@ "find-up": "^4.0.0" } }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", "dev": true, "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" + "has-flag": "^4.0.0" } } } @@ -3256,9 +3228,9 @@ "dev": true }, "is-callable": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", - "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", + "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", "dev": true }, "is-data-descriptor": { @@ -3425,12 +3397,12 @@ } }, "is-regex": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", - "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", + "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", "dev": true, "requires": { - "has": "^1.0.1" + "has": "^1.0.3" } }, "is-regexp": { @@ -3445,6 +3417,12 @@ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true }, + "is-string": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "dev": true + }, "is-symbol": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", @@ -4199,9 +4177,9 @@ } }, "magic-string": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.5.tgz", - "integrity": "sha512-vIO/BOm9odBHBAGwv0gZPLJeO9IpwliiIc0uPeAW93rrFMJ/R3M665IAEfOU/IW3kD4S9AtEn76lfTn1Yif+9A==", + "version": "0.25.6", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.6.tgz", + "integrity": "sha512-3a5LOMSGoCTH5rbqobC2HuDNRtE2glHZ8J7pK+QZYppyWA36yuNpsX994rIY2nCuyP7CZYy7lQq/X2jygiZ89g==", "dev": true, "requires": { "sourcemap-codec": "^1.4.4" @@ -4262,15 +4240,16 @@ } }, "markdownlint-cli": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.20.0.tgz", - "integrity": "sha512-5VCGS+9w/mVMVDHrKOciq+ZXYdFEypyuCvCdNjHdji8itqcryWMr7V2NdpxQ/KeJmMNoRYsdc2R+88lSc+2gpA==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.21.0.tgz", + "integrity": "sha512-gvnczz3W3Wgex851/cIQ/2y8GNhY+EVK8Ael8kRd8hoSQ0ps9xjhtwPwMyJPoiYbAoPxG6vSBFISiysaAbCEZg==", "dev": true, "requires": { "commander": "~2.9.0", "deep-extend": "~0.5.1", "get-stdin": "~5.0.1", "glob": "~7.1.2", + "ignore": "~5.1.4", "js-yaml": "~3.13.1", "jsonc-parser": "~2.2.0", "lodash.differencewith": "~4.5.0", @@ -4290,10 +4269,10 @@ "graceful-readlink": ">= 1.0.0" } }, - "get-stdin": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", - "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=", + "ignore": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz", + "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==", "dev": true } } @@ -4810,9 +4789,9 @@ }, "dependencies": { "resolve": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz", - "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz", + "integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==", "dev": true, "requires": { "path-parse": "^1.0.6" @@ -5081,76 +5060,9 @@ "es-abstract": "^1.17.0-next.1" }, "dependencies": { - "es-abstract": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz", - "integrity": "sha512-yYkE07YF+6SIBmg1MsJ9dlub5L48Ek7X0qz+c/CPCHS9EBXfESorzng4cJQjJW5/pB6vDF41u7F8vUhLVDqIug==", - "dev": true, - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.1.5", - "is-regex": "^1.0.5", - "object-inspect": "^1.7.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.1", - "string.prototype.trimright": "^2.1.1" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true - }, - "is-callable": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", - "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", - "dev": true - }, - "is-regex": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", - "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "string.prototype.trimleft": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz", - "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "function-bind": "^1.1.1" - } - }, - "string.prototype.trimright": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz", - "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "function-bind": "^1.1.1" - } + "version": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" } } }, @@ -5164,13 +5076,13 @@ } }, "object.values": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz", - "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz", + "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==", "dev": true, "requires": { "define-properties": "^1.1.3", - "es-abstract": "^1.12.0", + "es-abstract": "^1.17.0-next.1", "function-bind": "^1.1.1", "has": "^1.0.3" } @@ -5575,6 +5487,12 @@ "regenerate": "^1.4.0" } }, + "regenerator-runtime": { + "version": "0.13.3", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz", + "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw==", + "dev": true + }, "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", @@ -5730,9 +5648,9 @@ } }, "rollup": { - "version": "1.27.14", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.27.14.tgz", - "integrity": "sha512-DuDjEyn8Y79ALYXMt+nH/EI58L5pEw5HU9K38xXdRnxQhvzUTI/nxAawhkAHUQeudANQ//8iyrhVRHJBuR6DSQ==", + "version": "1.29.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.29.0.tgz", + "integrity": "sha512-V63Iz0dSdI5qPPN5HmCN6OBRzBFhMqNWcvwgq863JtSCTU6Vdvqq6S2fYle/dSCyoPrBkIP3EIr1RVs3HTRqqg==", "dev": true, "requires": { "@types/estree": "*", @@ -5883,16 +5801,38 @@ } }, "rollup-plugin-terser": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-5.1.3.tgz", - "integrity": "sha512-FuFuXE5QUJ7snyxHLPp/0LFXJhdomKlIx/aK7Tg88Yubsx/UU/lmInoJafXJ4jwVVNcORJ1wRUC5T9cy5yk0wA==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-5.2.0.tgz", + "integrity": "sha512-jQI+nYhtDBc9HFRBz8iGttQg7li9klmzR62RG2W2nN6hJ/FI2K2ItYQ7kJ7/zn+vs+BP1AEccmVRjRN989I+Nw==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "jest-worker": "^24.6.0", - "rollup-pluginutils": "^2.8.1", + "@babel/code-frame": "^7.5.5", + "jest-worker": "^24.9.0", + "rollup-pluginutils": "^2.8.2", "serialize-javascript": "^2.1.2", - "terser": "^4.1.0" + "terser": "^4.6.2" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + } } }, "rollup-plugin-typescript": { @@ -5934,12 +5874,6 @@ "is-promise": "^2.1.0" } }, - "run-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz", - "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==", - "dev": true - }, "run-parallel": { "version": "1.1.9", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz", @@ -6250,9 +6184,9 @@ "dev": true }, "sourcemap-codec": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.7.tgz", - "integrity": "sha512-RuN23NzhAOuUtaivhcrjXx1OPXsFeH9m5sI373/U7+tGLKihjUyboZAzOadytMjnqHp1f45RGk1IzDKCpDpSYA==", + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", "dev": true }, "spawn-wrap": { @@ -6411,9 +6345,9 @@ } }, "string.prototype.trimleft": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz", - "integrity": "sha512-FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz", + "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==", "dev": true, "requires": { "define-properties": "^1.1.3", @@ -6421,9 +6355,9 @@ } }, "string.prototype.trimright": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz", - "integrity": "sha512-fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz", + "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==", "dev": true, "requires": { "define-properties": "^1.1.3", @@ -6465,12 +6399,6 @@ "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", "dev": true }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "dev": true - }, "strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", @@ -6499,9 +6427,9 @@ "dev": true }, "systemjs": { - "version": "6.1.7", - "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-6.1.7.tgz", - "integrity": "sha512-v2tDs5HV7Ql8iZd7eBupzTOPIV6OUzNyJ1wNCAlQ7Et73yfQm4dbfQOSNLzcESLY2YEsLbn0K9WAnNsqwK7OFg==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-6.1.9.tgz", + "integrity": "sha512-pmmYAaI/bk1RIPFIOrvP94DlvSyqZ5/BcAXTcUo0sKBqOc3rMuZaLsh1ofhxuIYgxzB/wDeCmG8i6RpmZj6yqA==", "dev": true }, "table": { @@ -6587,9 +6515,9 @@ } }, "terser": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.5.1.tgz", - "integrity": "sha512-lH9zLIbX8PRBEFCTvfHGCy0s9HEKnNso1Dx9swSopF3VUnFLB8DpQ61tHxoofovNC/sG0spajJM3EIIRSTByiQ==", + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.6.3.tgz", + "integrity": "sha512-Lw+ieAXmY69d09IIc/yqeBqXpEQIpDGZqT34ui1QWXIUpR2RjbqEkT8X7Lgex19hslSqcWM5iMN2kM11eMsESQ==", "dev": true, "requires": { "commander": "^2.20.0", @@ -6765,9 +6693,9 @@ } }, "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true }, "typedarray-to-buffer": { @@ -6780,9 +6708,9 @@ } }, "typescript": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.4.tgz", - "integrity": "sha512-A25xv5XCtarLwXpcDNZzCGvW2D1S3/bACratYBx2sax8PefsFhlYmkQicKHvpYflFS8if4zne5zT5kpJ7pzuvw==", + "version": "3.7.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", + "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==", "dev": true }, "uc.micro": { @@ -6963,6 +6891,12 @@ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, + "which-pm-runs": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", + "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", + "dev": true + }, "wide-align": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", @@ -7027,6 +6961,15 @@ "dev": true, "optional": true }, + "yaml": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.7.2.tgz", + "integrity": "sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw==", + "dev": true, + "requires": { + "@babel/runtime": "^7.6.3" + } + }, "yargs": { "version": "15.1.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.1.0.tgz", diff --git a/package.json b/package.json index d65793f1ed8..3dca182836c 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ }, "devDependencies": { "@types/chokidar": "^2.1.3", - "@types/micromatch": "^3.1.1", + "@types/micromatch": "^4.0.0", "@types/minimist": "^1.2.0", "acorn-export-ns-from": "^0.1.0", "acorn-import-meta": "^1.0.0", @@ -80,22 +80,22 @@ "chokidar": "^2.1.8", "codecov": "^3.6.1", "console-group": "^0.3.3", - "core-js": "^3.6.1", + "core-js": "^3.6.4", "cross-os": "^1.3.0", "date-time": "^3.1.0", "es5-shim": "^4.5.13", "es6-shim": "^0.35.5", "eslint": "^6.8.0", - "eslint-plugin-import": "^2.19.1", + "eslint-plugin-import": "^2.20.0", "execa": "^4.0.0", "fixturify": "^1.2.0", "hash.js": "^1.1.7", - "husky": "^3.1.0", + "husky": "^4.0.10", "is-reference": "^1.1.4", "lint-staged": "^9.5.0", "locate-character": "^2.0.5", - "magic-string": "^0.25.5", - "markdownlint-cli": "^0.20.0", + "magic-string": "^0.25.6", + "markdownlint-cli": "^0.21.0", "micromatch": "^4.0.2", "minimist": "^1.2.0", "mocha": "^6.2.2", @@ -105,7 +105,7 @@ "pretty-ms": "^5.1.0", "require-relative": "^0.8.7", "requirejs": "^2.3.6", - "rollup": "^1.27.14", + "rollup": "^1.29.0", "rollup-plugin-alias": "^2.2.0", "rollup-plugin-buble": "^0.19.8", "rollup-plugin-commonjs": "^10.1.0", @@ -114,7 +114,7 @@ "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-string": "^3.0.0", - "rollup-plugin-terser": "^5.1.3", + "rollup-plugin-terser": "^5.2.0", "rollup-plugin-typescript": "^1.0.1", "rollup-pluginutils": "^2.8.2", "sander": "^0.6.0", @@ -122,13 +122,13 @@ "signal-exit": "^3.0.2", "source-map": "^0.6.1", "source-map-support": "^0.5.16", - "sourcemap-codec": "^1.4.7", - "systemjs": "^6.1.7", - "terser": "^4.5.1", + "sourcemap-codec": "^1.4.8", + "systemjs": "^6.1.9", + "terser": "^4.6.3", "tslib": "^1.10.0", "tslint": "^5.20.1", "turbocolor": "^2.6.1", - "typescript": "^3.7.4", + "typescript": "^3.7.5", "url-parse": "^1.4.7" }, "files": [ diff --git a/test/chunking-form/samples/sanitize-chunk-names/_config.js b/test/chunking-form/samples/sanitize-chunk-names/_config.js index ef6faaae57c..66b25abfdbb 100644 --- a/test/chunking-form/samples/sanitize-chunk-names/_config.js +++ b/test/chunking-form/samples/sanitize-chunk-names/_config.js @@ -5,7 +5,7 @@ module.exports = { plugins: [ { options(options) { - options.input = ['\0virtual:entry-1', '\0virtual:entry-2']; + options.input = ['\0virtual-entry-1', '\0virtual-entry-2']; return options; }, resolveId(id) { diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual-entry-1.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual-entry-1.js new file mode 100644 index 00000000000..23620df2e74 --- /dev/null +++ b/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual-entry-1.js @@ -0,0 +1,7 @@ +define(function () { 'use strict'; + + var _virtualEntry1 = "\u0000virtual-entry-1"; + + return _virtualEntry1; + +}); diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual-entry-2.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual-entry-2.js new file mode 100644 index 00000000000..17e375503d8 --- /dev/null +++ b/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual-entry-2.js @@ -0,0 +1,7 @@ +define(function () { 'use strict'; + + var _virtualEntry2 = "\u0000virtual-entry-2"; + + return _virtualEntry2; + +}); diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual:entry-1.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual:entry-1.js deleted file mode 100644 index f41ce27ab24..00000000000 --- a/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual:entry-1.js +++ /dev/null @@ -1,7 +0,0 @@ -define(function () { 'use strict'; - - var _virtual_entry1 = "\u0000virtual:entry-1"; - - return _virtual_entry1; - -}); diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual:entry-2.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual:entry-2.js deleted file mode 100644 index 5746e5e45e9..00000000000 --- a/test/chunking-form/samples/sanitize-chunk-names/_expected/amd/_virtual:entry-2.js +++ /dev/null @@ -1,7 +0,0 @@ -define(function () { 'use strict'; - - var _virtual_entry2 = "\u0000virtual:entry-2"; - - return _virtual_entry2; - -}); diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual-entry-1.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual-entry-1.js new file mode 100644 index 00000000000..a234cb704b0 --- /dev/null +++ b/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual-entry-1.js @@ -0,0 +1,5 @@ +'use strict'; + +var _virtualEntry1 = "\u0000virtual-entry-1"; + +module.exports = _virtualEntry1; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual-entry-2.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual-entry-2.js new file mode 100644 index 00000000000..5110d9276f1 --- /dev/null +++ b/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual-entry-2.js @@ -0,0 +1,5 @@ +'use strict'; + +var _virtualEntry2 = "\u0000virtual-entry-2"; + +module.exports = _virtualEntry2; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual:entry-1.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual:entry-1.js deleted file mode 100644 index 437d8954ef4..00000000000 --- a/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual:entry-1.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var _virtual_entry1 = "\u0000virtual:entry-1"; - -module.exports = _virtual_entry1; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual:entry-2.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual:entry-2.js deleted file mode 100644 index d560356654a..00000000000 --- a/test/chunking-form/samples/sanitize-chunk-names/_expected/cjs/_virtual:entry-2.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var _virtual_entry2 = "\u0000virtual:entry-2"; - -module.exports = _virtual_entry2; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual-entry-1.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual-entry-1.js new file mode 100644 index 00000000000..822d3f7d317 --- /dev/null +++ b/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual-entry-1.js @@ -0,0 +1,3 @@ +var _virtualEntry1 = "\u0000virtual-entry-1"; + +export default _virtualEntry1; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual-entry-2.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual-entry-2.js new file mode 100644 index 00000000000..0e7995ff4b2 --- /dev/null +++ b/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual-entry-2.js @@ -0,0 +1,3 @@ +var _virtualEntry2 = "\u0000virtual-entry-2"; + +export default _virtualEntry2; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual:entry-1.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual:entry-1.js deleted file mode 100644 index 9fa2c9b2926..00000000000 --- a/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual:entry-1.js +++ /dev/null @@ -1,3 +0,0 @@ -var _virtual_entry1 = "\u0000virtual:entry-1"; - -export default _virtual_entry1; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual:entry-2.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual:entry-2.js deleted file mode 100644 index c228f2ab38b..00000000000 --- a/test/chunking-form/samples/sanitize-chunk-names/_expected/es/_virtual:entry-2.js +++ /dev/null @@ -1,3 +0,0 @@ -var _virtual_entry2 = "\u0000virtual:entry-2"; - -export default _virtual_entry2; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual:entry-1.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual-entry-1.js similarity index 60% rename from test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual:entry-1.js rename to test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual-entry-1.js index 26aafc0c353..c8ebce7cbc9 100644 --- a/test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual:entry-1.js +++ b/test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual-entry-1.js @@ -3,7 +3,7 @@ System.register([], function (exports) { return { execute: function () { - var _virtual_entry1 = exports('default', "\u0000virtual:entry-1"); + var _virtualEntry1 = exports('default', "\u0000virtual-entry-1"); } }; diff --git a/test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual:entry-2.js b/test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual-entry-2.js similarity index 60% rename from test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual:entry-2.js rename to test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual-entry-2.js index af4edfd003e..7d34ce4b2fb 100644 --- a/test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual:entry-2.js +++ b/test/chunking-form/samples/sanitize-chunk-names/_expected/system/_virtual-entry-2.js @@ -3,7 +3,7 @@ System.register([], function (exports) { return { execute: function () { - var _virtual_entry2 = exports('default', "\u0000virtual:entry-2"); + var _virtualEntry2 = exports('default', "\u0000virtual-entry-2"); } }; diff --git a/test/cli/samples/multiple-targets-different-plugins/_expected/minified.js b/test/cli/samples/multiple-targets-different-plugins/_expected/minified.js index d5fc32bfdf8..7e724d51fbb 100644 --- a/test/cli/samples/multiple-targets-different-plugins/_expected/minified.js +++ b/test/cli/samples/multiple-targets-different-plugins/_expected/minified.js @@ -1 +1 @@ -"use strict";const Hello=1;console.log(1);var main=0;module.exports=main; +"use strict";console.log(1);module.exports=0; diff --git a/test/form/samples/supports-core-js/_expected.js b/test/form/samples/supports-core-js/_expected.js index 5f4666a2bc7..e544506d8d5 100644 --- a/test/form/samples/supports-core-js/_expected.js +++ b/test/form/samples/supports-core-js/_expected.js @@ -28,7 +28,7 @@ var fails = function (exec) { // Thank's IE8 for his funny defineProperty var descriptors = !fails(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); var nativePropertyIsEnumerable = {}.propertyIsEnumerable; @@ -211,9 +211,9 @@ var shared = createCommonjsModule(function (module) { (module.exports = function (key, value) { return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.6.1', + version: '3.6.4', mode: 'global', - copyright: '© 2019 Denis Pushkarev (zloirock.ru)' + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' }); }); @@ -674,7 +674,7 @@ var wellKnownSymbol = function (name) { var f$6 = wellKnownSymbol; -var wrappedWellKnownSymbol = { +var wellKnownSymbolWrapped = { f: f$6 }; @@ -683,7 +683,7 @@ var defineProperty = objectDefineProperty.f; var defineWellKnownSymbol = function (NAME) { var Symbol = path.Symbol || (path.Symbol = {}); if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, { - value: wrappedWellKnownSymbol.f(NAME) + value: wellKnownSymbolWrapped.f(NAME) }); }; @@ -706,7 +706,7 @@ var aFunction$1 = function (it) { }; // optional / simple context binding -var bindContext = function (fn, that, length) { +var functionBindContext = function (fn, that, length) { aFunction$1(fn); if (that === undefined) return fn; switch (length) { @@ -758,7 +758,7 @@ var createMethod$1 = function (TYPE) { return function ($this, callbackfn, that, specificCreate) { var O = toObject($this); var self = indexedObject(O); - var boundFunction = bindContext(callbackfn, that, 3); + var boundFunction = functionBindContext(callbackfn, that, 3); var length = toLength(self.length); var index = 0; var create = specificCreate || arraySpeciesCreate; @@ -959,7 +959,7 @@ if (!nativeSymbol) { objectGetOwnPropertyNames.f = objectGetOwnPropertyNamesExternal.f = $getOwnPropertyNames; objectGetOwnPropertySymbols.f = $getOwnPropertySymbols; - wrappedWellKnownSymbol.f = function (name) { + wellKnownSymbolWrapped.f = function (name) { return wrap(wellKnownSymbol(name), name); }; @@ -1432,7 +1432,7 @@ var Result = function (stopped, result) { }; var iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) { - var boundFunction = bindContext(fn, that, AS_ENTRIES ? 2 : 1); + var boundFunction = functionBindContext(fn, that, AS_ENTRIES ? 2 : 1); var iterator, iterFn, index, length, result, next, step; if (IS_ITERATOR) { @@ -1696,7 +1696,7 @@ if (!toStringTagSupport) { } // Forced replacement object prototype accessors methods -var forcedObjectPrototypeAccessorsMethods = !fails(function () { +var objectPrototypeAccessorsForced = !fails(function () { var key = Math.random(); // In FF throws only define methods // eslint-disable-next-line no-undef, no-useless-call @@ -1707,7 +1707,7 @@ var forcedObjectPrototypeAccessorsMethods = !fails(function () { // `Object.prototype.__defineGetter__` method // https://tc39.github.io/ecma262/#sec-object.prototype.__defineGetter__ if (descriptors) { - _export({ target: 'Object', proto: true, forced: forcedObjectPrototypeAccessorsMethods }, { + _export({ target: 'Object', proto: true, forced: objectPrototypeAccessorsForced }, { __defineGetter__: function __defineGetter__(P, getter) { objectDefineProperty.f(toObject(this), P, { get: aFunction$1(getter), enumerable: true, configurable: true }); } @@ -1717,7 +1717,7 @@ if (descriptors) { // `Object.prototype.__defineSetter__` method // https://tc39.github.io/ecma262/#sec-object.prototype.__defineSetter__ if (descriptors) { - _export({ target: 'Object', proto: true, forced: forcedObjectPrototypeAccessorsMethods }, { + _export({ target: 'Object', proto: true, forced: objectPrototypeAccessorsForced }, { __defineSetter__: function __defineSetter__(P, setter) { objectDefineProperty.f(toObject(this), P, { set: aFunction$1(setter), enumerable: true, configurable: true }); } @@ -1729,7 +1729,7 @@ var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f; // `Object.prototype.__lookupGetter__` method // https://tc39.github.io/ecma262/#sec-object.prototype.__lookupGetter__ if (descriptors) { - _export({ target: 'Object', proto: true, forced: forcedObjectPrototypeAccessorsMethods }, { + _export({ target: 'Object', proto: true, forced: objectPrototypeAccessorsForced }, { __lookupGetter__: function __lookupGetter__(P) { var O = toObject(this); var key = toPrimitive(P, true); @@ -1746,7 +1746,7 @@ var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f; // `Object.prototype.__lookupSetter__` method // https://tc39.github.io/ecma262/#sec-object.prototype.__lookupSetter__ if (descriptors) { - _export({ target: 'Object', proto: true, forced: forcedObjectPrototypeAccessorsMethods }, { + _export({ target: 'Object', proto: true, forced: objectPrototypeAccessorsForced }, { __lookupSetter__: function __lookupSetter__(P) { var O = toObject(this); var key = toPrimitive(P, true); @@ -1839,26 +1839,25 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; - var index = 0; var iteratorMethod = getIteratorMethod(O); - var length, result, step, iterator, next; - if (mapping) mapfn = bindContext(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); + var index = 0; + var length, result, step, iterator, next, value; + if (mapping) mapfn = functionBindContext(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); // if the target is not iterable or it's an array with the default iterator - use a simple case if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { iterator = iteratorMethod.call(O); next = iterator.next; result = new C(); for (;!(step = next.call(iterator)).done; index++) { - createProperty(result, index, mapping - ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) - : step.value - ); + value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; + createProperty(result, index, value); } } else { length = toLength(O.length); result = new C(length); for (;length > index; index++) { - createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); + value = mapping ? mapfn(O[index], index) : O[index]; + createProperty(result, index, value); } } result.length = index; @@ -1937,7 +1936,7 @@ _export({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { } }); -var userAgent = getBuiltIn('navigator', 'userAgent') || ''; +var engineUserAgent = getBuiltIn('navigator', 'userAgent') || ''; var process = global_1.process; var versions = process && process.versions; @@ -1947,15 +1946,15 @@ var match, version; if (v8) { match = v8.split('.'); version = match[0] + match[1]; -} else if (userAgent) { - match = userAgent.match(/Edge\/(\d+)/); +} else if (engineUserAgent) { + match = engineUserAgent.match(/Edge\/(\d+)/); if (!match || match[1] >= 74) { - match = userAgent.match(/Chrome\/(\d+)/); + match = engineUserAgent.match(/Chrome\/(\d+)/); if (match) version = match[1]; } } -var v8Version = version && +version; +var engineV8Version = version && +version; var SPECIES$1 = wellKnownSymbol('species'); @@ -1963,7 +1962,7 @@ var arrayMethodHasSpeciesSupport = function (METHOD_NAME) { // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/677 - return v8Version >= 51 || !fails(function () { + return engineV8Version >= 51 || !fails(function () { var array = []; var constructor = array.constructor = {}; constructor[SPECIES$1] = function () { @@ -1980,7 +1979,7 @@ var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/679 -var IS_CONCAT_SPREADABLE_SUPPORT = v8Version >= 51 || !fails(function () { +var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () { var array = []; array[IS_CONCAT_SPREADABLE] = false; return array.concat()[0] !== array; @@ -2072,20 +2071,48 @@ _export({ target: 'Array', proto: true }, { // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables addToUnscopables('copyWithin'); -var sloppyArrayMethod = function (METHOD_NAME, argument) { +var arrayMethodIsStrict = function (METHOD_NAME, argument) { var method = [][METHOD_NAME]; - return !method || !fails(function () { + return !!method && fails(function () { // eslint-disable-next-line no-useless-call,no-throw-literal method.call(null, argument || function () { throw 1; }, 1); }); }; +var defineProperty$5 = Object.defineProperty; +var cache = {}; + +var thrower = function (it) { throw it; }; + +var arrayMethodUsesToLength = function (METHOD_NAME, options) { + if (has(cache, METHOD_NAME)) return cache[METHOD_NAME]; + if (!options) options = {}; + var method = [][METHOD_NAME]; + var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false; + var argument0 = has(options, 0) ? options[0] : thrower; + var argument1 = has(options, 1) ? options[1] : undefined; + + return cache[METHOD_NAME] = !!method && !fails(function () { + if (ACCESSORS && !descriptors) return true; + var O = { length: -1 }; + + if (ACCESSORS) defineProperty$5(O, 1, { enumerable: true, get: thrower }); + else O[1] = 1; + + method.call(O, argument0, argument1); + }); +}; + var $every = arrayIteration.every; + +var STRICT_METHOD = arrayMethodIsStrict('every'); +var USES_TO_LENGTH = arrayMethodUsesToLength('every'); + // `Array.prototype.every` method // https://tc39.github.io/ecma262/#sec-array.prototype.every -_export({ target: 'Array', proto: true, forced: sloppyArrayMethod('every') }, { +_export({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { every: function every(callbackfn /* , thisArg */) { return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -2119,14 +2146,12 @@ var $filter = arrayIteration.filter; var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); // Edge 14- issue -var USES_TO_LENGTH = HAS_SPECIES_SUPPORT && !fails(function () { - [].filter.call({ length: -1, 0: 1 }, function (it) { throw it; }); -}); +var USES_TO_LENGTH$1 = arrayMethodUsesToLength('filter'); // `Array.prototype.filter` method // https://tc39.github.io/ecma262/#sec-array.prototype.filter // with adding support of @@species -_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH$1 }, { filter: function filter(callbackfn /* , thisArg */) { return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -2135,15 +2160,18 @@ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO var $find = arrayIteration.find; + var FIND = 'find'; var SKIPS_HOLES = true; +var USES_TO_LENGTH$2 = arrayMethodUsesToLength(FIND); + // Shouldn't skip holes if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); // `Array.prototype.find` method // https://tc39.github.io/ecma262/#sec-array.prototype.find -_export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { +_export({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH$2 }, { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -2155,15 +2183,18 @@ addToUnscopables(FIND); var $findIndex = arrayIteration.findIndex; + var FIND_INDEX = 'findIndex'; var SKIPS_HOLES$1 = true; +var USES_TO_LENGTH$3 = arrayMethodUsesToLength(FIND_INDEX); + // Shouldn't skip holes if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES$1 = false; }); // `Array.prototype.findIndex` method // https://tc39.github.io/ecma262/#sec-array.prototype.findindex -_export({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 }, { +_export({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 || !USES_TO_LENGTH$3 }, { findIndex: function findIndex(callbackfn /* , that = undefined */) { return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -2177,7 +2208,7 @@ addToUnscopables(FIND_INDEX); var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; var sourceIndex = 0; - var mapFn = mapper ? bindContext(mapper, thisArg, 3) : false; + var mapFn = mapper ? functionBindContext(mapper, thisArg, 3) : false; var element; while (sourceIndex < sourceLen) { @@ -2230,9 +2261,13 @@ _export({ target: 'Array', proto: true }, { var $forEach$1 = arrayIteration.forEach; + +var STRICT_METHOD$1 = arrayMethodIsStrict('forEach'); +var USES_TO_LENGTH$4 = arrayMethodUsesToLength('forEach'); + // `Array.prototype.forEach` method implementation // https://tc39.github.io/ecma262/#sec-array.prototype.foreach -var arrayForEach = sloppyArrayMethod('forEach') ? function forEach(callbackfn /* , thisArg */) { +var arrayForEach = (!STRICT_METHOD$1 || !USES_TO_LENGTH$4) ? function forEach(callbackfn /* , thisArg */) { return $forEach$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } : [].forEach; @@ -2245,9 +2280,12 @@ _export({ target: 'Array', proto: true, forced: [].forEach != arrayForEach }, { var $includes = arrayIncludes.includes; + +var USES_TO_LENGTH$5 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 }); + // `Array.prototype.includes` method // https://tc39.github.io/ecma262/#sec-array.prototype.includes -_export({ target: 'Array', proto: true }, { +_export({ target: 'Array', proto: true, forced: !USES_TO_LENGTH$5 }, { includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } @@ -2259,14 +2297,16 @@ addToUnscopables('includes'); var $indexOf = arrayIncludes.indexOf; + var nativeIndexOf = [].indexOf; var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0; -var SLOPPY_METHOD = sloppyArrayMethod('indexOf'); +var STRICT_METHOD$2 = arrayMethodIsStrict('indexOf'); +var USES_TO_LENGTH$6 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 }); // `Array.prototype.indexOf` method // https://tc39.github.io/ecma262/#sec-array.prototype.indexof -_export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD }, { +_export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$2 || !USES_TO_LENGTH$6 }, { indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { return NEGATIVE_ZERO // convert -0 to +0 @@ -2278,11 +2318,11 @@ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD } var nativeJoin = [].join; var ES3_STRINGS = indexedObject != Object; -var SLOPPY_METHOD$1 = sloppyArrayMethod('join', ','); +var STRICT_METHOD$3 = arrayMethodIsStrict('join', ','); // `Array.prototype.join` method // https://tc39.github.io/ecma262/#sec-array.prototype.join -_export({ target: 'Array', proto: true, forced: ES3_STRINGS || SLOPPY_METHOD$1 }, { +_export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$3 }, { join: function join(separator) { return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); } @@ -2291,11 +2331,14 @@ _export({ target: 'Array', proto: true, forced: ES3_STRINGS || SLOPPY_METHOD$1 } var min$3 = Math.min; var nativeLastIndexOf = [].lastIndexOf; var NEGATIVE_ZERO$1 = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; -var SLOPPY_METHOD$2 = sloppyArrayMethod('lastIndexOf'); +var STRICT_METHOD$4 = arrayMethodIsStrict('lastIndexOf'); +// For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method +var USES_TO_LENGTH$7 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 }); +var FORCED$2 = NEGATIVE_ZERO$1 || !STRICT_METHOD$4 || !USES_TO_LENGTH$7; // `Array.prototype.lastIndexOf` method implementation // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof -var arrayLastIndexOf = (NEGATIVE_ZERO$1 || SLOPPY_METHOD$2) ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { +var arrayLastIndexOf = FORCED$2 ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { // convert -0 to +0 if (NEGATIVE_ZERO$1) return nativeLastIndexOf.apply(this, arguments) || 0; var O = toIndexedObject(this); @@ -2319,14 +2362,12 @@ var $map = arrayIteration.map; var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('map'); // FF49- issue -var USES_TO_LENGTH$1 = HAS_SPECIES_SUPPORT$1 && !fails(function () { - [].map.call({ length: -1, 0: 1 }, function (it) { throw it; }); -}); +var USES_TO_LENGTH$8 = arrayMethodUsesToLength('map'); // `Array.prototype.map` method // https://tc39.github.io/ecma262/#sec-array.prototype.map // with adding support of @@species -_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 || !USES_TO_LENGTH$1 }, { +_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 || !USES_TO_LENGTH$8 }, { map: function map(callbackfn /* , thisArg */) { return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -2371,9 +2412,13 @@ var arrayReduce = { var $reduce = arrayReduce.left; + +var STRICT_METHOD$5 = arrayMethodIsStrict('reduce'); +var USES_TO_LENGTH$9 = arrayMethodUsesToLength('reduce', { 1: 0 }); + // `Array.prototype.reduce` method // https://tc39.github.io/ecma262/#sec-array.prototype.reduce -_export({ target: 'Array', proto: true, forced: sloppyArrayMethod('reduce') }, { +_export({ target: 'Array', proto: true, forced: !STRICT_METHOD$5 || !USES_TO_LENGTH$9 }, { reduce: function reduce(callbackfn /* , initialValue */) { return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); } @@ -2382,9 +2427,14 @@ _export({ target: 'Array', proto: true, forced: sloppyArrayMethod('reduce') }, { var $reduceRight = arrayReduce.right; + +var STRICT_METHOD$6 = arrayMethodIsStrict('reduceRight'); +// For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method +var USES_TO_LENGTH$a = arrayMethodUsesToLength('reduce', { 1: 0 }); + // `Array.prototype.reduceRight` method // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright -_export({ target: 'Array', proto: true, forced: sloppyArrayMethod('reduceRight') }, { +_export({ target: 'Array', proto: true, forced: !STRICT_METHOD$6 || !USES_TO_LENGTH$a }, { reduceRight: function reduceRight(callbackfn /* , initialValue */) { return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); } @@ -2405,6 +2455,9 @@ _export({ target: 'Array', proto: true, forced: String(test$1) === String(test$1 } }); +var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport('slice'); +var USES_TO_LENGTH$b = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 }); + var SPECIES$2 = wellKnownSymbol('species'); var nativeSlice = [].slice; var max$1 = Math.max; @@ -2412,7 +2465,7 @@ var max$1 = Math.max; // `Array.prototype.slice` method // https://tc39.github.io/ecma262/#sec-array.prototype.slice // fallback for not array-like ES3 strings and DOM objects -_export({ target: 'Array', proto: true, forced: !arrayMethodHasSpeciesSupport('slice') }, { +_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 || !USES_TO_LENGTH$b }, { slice: function slice(start, end) { var O = toIndexedObject(this); var length = toLength(O.length); @@ -2443,9 +2496,13 @@ _export({ target: 'Array', proto: true, forced: !arrayMethodHasSpeciesSupport('s var $some = arrayIteration.some; + +var STRICT_METHOD$7 = arrayMethodIsStrict('some'); +var USES_TO_LENGTH$c = arrayMethodUsesToLength('some'); + // `Array.prototype.some` method // https://tc39.github.io/ecma262/#sec-array.prototype.some -_export({ target: 'Array', proto: true, forced: sloppyArrayMethod('some') }, { +_export({ target: 'Array', proto: true, forced: !STRICT_METHOD$7 || !USES_TO_LENGTH$c }, { some: function some(callbackfn /* , thisArg */) { return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -2463,13 +2520,13 @@ var FAILS_ON_NULL = fails(function () { test$2.sort(null); }); // Old WebKit -var SLOPPY_METHOD$3 = sloppyArrayMethod('sort'); +var STRICT_METHOD$8 = arrayMethodIsStrict('sort'); -var FORCED$2 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || SLOPPY_METHOD$3; +var FORCED$3 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$8; // `Array.prototype.sort` method // https://tc39.github.io/ecma262/#sec-array.prototype.sort -_export({ target: 'Array', proto: true, forced: FORCED$2 }, { +_export({ target: 'Array', proto: true, forced: FORCED$3 }, { sort: function sort(comparefn) { return comparefn === undefined ? nativeSort.call(toObject(this)) @@ -2477,6 +2534,9 @@ _export({ target: 'Array', proto: true, forced: FORCED$2 }, { } }); +var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport('splice'); +var USES_TO_LENGTH$d = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 }); + var max$2 = Math.max; var min$4 = Math.min; var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF; @@ -2485,7 +2545,7 @@ var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; // `Array.prototype.splice` method // https://tc39.github.io/ecma262/#sec-array.prototype.splice // with adding support of @@species -_export({ target: 'Array', proto: true, forced: !arrayMethodHasSpeciesSupport('splice') }, { +_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 || !USES_TO_LENGTH$d }, { splice: function splice(start, deleteCount /* , ...items */) { var O = toObject(this); var len = toLength(O.length); @@ -3005,6 +3065,18 @@ if (PATCH) { var regexpExec = patchedExec; +_export({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, { + exec: regexpExec +}); + +// TODO: Remove from `core-js@4` since it's moved to entry points + + + + + + + var SPECIES$4 = wellKnownSymbol('species'); var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { @@ -3026,6 +3098,15 @@ var REPLACE_KEEPS_$0 = (function () { return 'a'.replace(/./, '$0') === '$0'; })(); +var REPLACE = wellKnownSymbol('replace'); +// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string +var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; +})(); + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec // Weex JS has frozen built-in prototypes, so use try / catch wrapper var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { @@ -3073,7 +3154,11 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) { if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || - (KEY === 'replace' && !(REPLACE_SUPPORTS_NAMED_GROUPS && REPLACE_KEEPS_$0)) || + (KEY === 'replace' && !( + REPLACE_SUPPORTS_NAMED_GROUPS && + REPLACE_KEEPS_$0 && + !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE + )) || (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) ) { var nativeRegExpMethod = /./[SYMBOL]; @@ -3088,7 +3173,10 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) { return { done: true, value: nativeMethod.call(str, regexp, arg2) }; } return { done: false }; - }, { REPLACE_KEEPS_$0: REPLACE_KEEPS_$0 }); + }, { + REPLACE_KEEPS_$0: REPLACE_KEEPS_$0, + REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE + }); var stringMethod = methods[0]; var regexMethod = methods[1]; @@ -3319,14 +3407,14 @@ var stringPad = { // eslint-disable-next-line unicorn/no-unsafe-regex -var webkitStringPadBug = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); +var stringPadWebkitBug = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(engineUserAgent); var $padEnd = stringPad.end; // `String.prototype.padEnd` method // https://tc39.github.io/ecma262/#sec-string.prototype.padend -_export({ target: 'String', proto: true, forced: webkitStringPadBug }, { +_export({ target: 'String', proto: true, forced: stringPadWebkitBug }, { padEnd: function padEnd(maxLength /* , fillString = ' ' */) { return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); } @@ -3337,7 +3425,7 @@ var $padStart = stringPad.start; // `String.prototype.padStart` method // https://tc39.github.io/ecma262/#sec-string.prototype.padstart -_export({ target: 'String', proto: true, forced: webkitStringPadBug }, { +_export({ target: 'String', proto: true, forced: stringPadWebkitBug }, { padStart: function padStart(maxLength /* , fillString = ' ' */) { return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); } @@ -3361,6 +3449,10 @@ var maybeToString = function (it) { // @@replace logic fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) { + var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE; + var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0; + var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; + return [ // `String.prototype.replace` method // https://tc39.github.io/ecma262/#sec-string.prototype.replace @@ -3374,7 +3466,10 @@ fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma // `RegExp.prototype[@@replace]` method // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace function (regexp, replaceValue) { - if (reason.REPLACE_KEEPS_$0 || (typeof replaceValue === 'string' && replaceValue.indexOf('$0') === -1)) { + if ( + (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) || + (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1) + ) { var res = maybeCallNative(nativeReplace, regexp, this, replaceValue); if (res.done) return res.value; } @@ -3684,7 +3779,7 @@ var non = '\u200B\u0085\u180E'; // check that a method works with the correct list // of whitespaces and has a correct name -var forcedStringTrimMethod = function (METHOD_NAME) { +var stringTrimForced = function (METHOD_NAME) { return fails(function () { return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; }); @@ -3695,7 +3790,7 @@ var $trim = stringTrim.trim; // `String.prototype.trim` method // https://tc39.github.io/ecma262/#sec-string.prototype.trim -_export({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { +_export({ target: 'String', proto: true, forced: stringTrimForced('trim') }, { trim: function trim() { return $trim(this); } @@ -3704,15 +3799,15 @@ _export({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') var $trimStart = stringTrim.start; -var FORCED$3 = forcedStringTrimMethod('trimStart'); +var FORCED$4 = stringTrimForced('trimStart'); -var trimStart = FORCED$3 ? function trimStart() { +var trimStart = FORCED$4 ? function trimStart() { return $trimStart(this); } : ''.trimStart; // `String.prototype.{ trimStart, trimLeft }` methods // https://github.com/tc39/ecmascript-string-left-right-trim -_export({ target: 'String', proto: true, forced: FORCED$3 }, { +_export({ target: 'String', proto: true, forced: FORCED$4 }, { trimStart: trimStart, trimLeft: trimStart }); @@ -3720,15 +3815,15 @@ _export({ target: 'String', proto: true, forced: FORCED$3 }, { var $trimEnd = stringTrim.end; -var FORCED$4 = forcedStringTrimMethod('trimEnd'); +var FORCED$5 = stringTrimForced('trimEnd'); -var trimEnd = FORCED$4 ? function trimEnd() { +var trimEnd = FORCED$5 ? function trimEnd() { return $trimEnd(this); } : ''.trimEnd; // `String.prototype.{ trimEnd, trimRight }` methods // https://github.com/tc39/ecmascript-string-left-right-trim -_export({ target: 'String', proto: true, forced: FORCED$4 }, { +_export({ target: 'String', proto: true, forced: FORCED$5 }, { trimEnd: trimEnd, trimRight: trimEnd }); @@ -3775,7 +3870,7 @@ var createHtml = function (string, tag, attribute, value) { // check the existence of a method, lowercase // of a tag and escaping quotes in arguments -var forcedStringHtmlMethod = function (METHOD_NAME) { +var stringHtmlForced = function (METHOD_NAME) { return fails(function () { var test = ''[METHOD_NAME]('"'); return test !== test.toLowerCase() || test.split('"').length > 3; @@ -3784,7 +3879,7 @@ var forcedStringHtmlMethod = function (METHOD_NAME) { // `String.prototype.anchor` method // https://tc39.github.io/ecma262/#sec-string.prototype.anchor -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('anchor') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('anchor') }, { anchor: function anchor(name) { return createHtml(this, 'a', 'name', name); } @@ -3792,7 +3887,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('anchor' // `String.prototype.big` method // https://tc39.github.io/ecma262/#sec-string.prototype.big -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('big') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('big') }, { big: function big() { return createHtml(this, 'big', '', ''); } @@ -3800,7 +3895,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('big') } // `String.prototype.blink` method // https://tc39.github.io/ecma262/#sec-string.prototype.blink -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('blink') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('blink') }, { blink: function blink() { return createHtml(this, 'blink', '', ''); } @@ -3808,7 +3903,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('blink') // `String.prototype.bold` method // https://tc39.github.io/ecma262/#sec-string.prototype.bold -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('bold') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('bold') }, { bold: function bold() { return createHtml(this, 'b', '', ''); } @@ -3816,7 +3911,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('bold') // `String.prototype.fixed` method // https://tc39.github.io/ecma262/#sec-string.prototype.fixed -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('fixed') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('fixed') }, { fixed: function fixed() { return createHtml(this, 'tt', '', ''); } @@ -3824,7 +3919,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('fixed') // `String.prototype.fontcolor` method // https://tc39.github.io/ecma262/#sec-string.prototype.fontcolor -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('fontcolor') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('fontcolor') }, { fontcolor: function fontcolor(color) { return createHtml(this, 'font', 'color', color); } @@ -3832,7 +3927,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('fontcol // `String.prototype.fontsize` method // https://tc39.github.io/ecma262/#sec-string.prototype.fontsize -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('fontsize') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('fontsize') }, { fontsize: function fontsize(size) { return createHtml(this, 'font', 'size', size); } @@ -3840,7 +3935,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('fontsiz // `String.prototype.italics` method // https://tc39.github.io/ecma262/#sec-string.prototype.italics -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('italics') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('italics') }, { italics: function italics() { return createHtml(this, 'i', '', ''); } @@ -3848,7 +3943,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('italics // `String.prototype.link` method // https://tc39.github.io/ecma262/#sec-string.prototype.link -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('link') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('link') }, { link: function link(url) { return createHtml(this, 'a', 'href', url); } @@ -3856,7 +3951,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('link') // `String.prototype.small` method // https://tc39.github.io/ecma262/#sec-string.prototype.small -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('small') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('small') }, { small: function small() { return createHtml(this, 'small', '', ''); } @@ -3864,7 +3959,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('small') // `String.prototype.strike` method // https://tc39.github.io/ecma262/#sec-string.prototype.strike -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('strike') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('strike') }, { strike: function strike() { return createHtml(this, 'strike', '', ''); } @@ -3872,7 +3967,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('strike' // `String.prototype.sub` method // https://tc39.github.io/ecma262/#sec-string.prototype.sub -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('sub') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('sub') }, { sub: function sub() { return createHtml(this, 'sub', '', ''); } @@ -3880,7 +3975,7 @@ _export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('sub') } // `String.prototype.sup` method // https://tc39.github.io/ecma262/#sec-string.prototype.sup -_export({ target: 'String', proto: true, forced: forcedStringHtmlMethod('sup') }, { +_export({ target: 'String', proto: true, forced: stringHtmlForced('sup') }, { sup: function sup() { return createHtml(this, 'sup', '', ''); } @@ -3901,7 +3996,7 @@ var inheritIfRequired = function ($this, dummy, Wrapper) { return $this; }; -var defineProperty$5 = objectDefineProperty.f; +var defineProperty$6 = objectDefineProperty.f; var getOwnPropertyNames = objectGetOwnPropertyNames.f; @@ -3923,7 +4018,7 @@ var CORRECT_NEW = new NativeRegExp(re1) !== re1; var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y; -var FORCED$5 = descriptors && isForced_1('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y$2 || fails(function () { +var FORCED$6 = descriptors && isForced_1('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y$2 || fails(function () { re2[MATCH$2] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; @@ -3931,7 +4026,7 @@ var FORCED$5 = descriptors && isForced_1('RegExp', (!CORRECT_NEW || UNSUPPORTED_ // `RegExp` constructor // https://tc39.github.io/ecma262/#sec-regexp-constructor -if (FORCED$5) { +if (FORCED$6) { var RegExpWrapper = function RegExp(pattern, flags) { var thisIsRegExp = this instanceof RegExpWrapper; var patternIsRegExp = isRegexp(pattern); @@ -3965,7 +4060,7 @@ if (FORCED$5) { return result; }; var proxy = function (key) { - key in RegExpWrapper || defineProperty$5(RegExpWrapper, key, { + key in RegExpWrapper || defineProperty$6(RegExpWrapper, key, { configurable: true, get: function () { return NativeRegExp[key]; }, set: function (it) { NativeRegExp[key] = it; } @@ -3982,10 +4077,6 @@ if (FORCED$5) { // https://tc39.github.io/ecma262/#sec-get-regexp-@@species setSpecies('RegExp'); -_export({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, { - exec: regexpExec -}); - var UNSUPPORTED_Y$3 = regexpStickyHelpers.UNSUPPORTED_Y; // `RegExp.prototype.flags` getter @@ -3998,13 +4089,13 @@ if (descriptors && (/./g.flags != 'g' || UNSUPPORTED_Y$3)) { } var UNSUPPORTED_Y$4 = regexpStickyHelpers.UNSUPPORTED_Y; -var defineProperty$6 = objectDefineProperty.f; +var defineProperty$7 = objectDefineProperty.f; var getInternalState$4 = internalState.get; var RegExpPrototype$2 = RegExp.prototype; // `RegExp.prototype.sticky` getter if (descriptors && UNSUPPORTED_Y$4) { - defineProperty$6(RegExp.prototype, 'sticky', { + defineProperty$7(RegExp.prototype, 'sticky', { configurable: true, get: function () { if (this === RegExpPrototype$2) return undefined; @@ -4018,6 +4109,11 @@ if (descriptors && UNSUPPORTED_Y$4) { }); } +// TODO: Remove from `core-js@4` since it's moved to entry points + + + + var DELEGATES_TO_EXEC = function () { var execCalled = false; var re = /[ac]/; @@ -4066,46 +4162,46 @@ if (NOT_GENERIC || INCORRECT_NAME) { var trim = stringTrim.trim; -var nativeParseInt = global_1.parseInt; +var $parseInt = global_1.parseInt; var hex = /^[+-]?0[Xx]/; -var FORCED$6 = nativeParseInt(whitespaces + '08') !== 8 || nativeParseInt(whitespaces + '0x16') !== 22; +var FORCED$7 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22; // `parseInt` method // https://tc39.github.io/ecma262/#sec-parseint-string-radix -var _parseInt = FORCED$6 ? function parseInt(string, radix) { +var numberParseInt = FORCED$7 ? function parseInt(string, radix) { var S = trim(String(string)); - return nativeParseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10)); -} : nativeParseInt; + return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10)); +} : $parseInt; // `parseInt` method // https://tc39.github.io/ecma262/#sec-parseint-string-radix -_export({ global: true, forced: parseInt != _parseInt }, { - parseInt: _parseInt +_export({ global: true, forced: parseInt != numberParseInt }, { + parseInt: numberParseInt }); var trim$1 = stringTrim.trim; -var nativeParseFloat = global_1.parseFloat; -var FORCED$7 = 1 / nativeParseFloat(whitespaces + '-0') !== -Infinity; +var $parseFloat = global_1.parseFloat; +var FORCED$8 = 1 / $parseFloat(whitespaces + '-0') !== -Infinity; // `parseFloat` method // https://tc39.github.io/ecma262/#sec-parsefloat-string -var _parseFloat = FORCED$7 ? function parseFloat(string) { +var numberParseFloat = FORCED$8 ? function parseFloat(string) { var trimmedString = trim$1(String(string)); - var result = nativeParseFloat(trimmedString); + var result = $parseFloat(trimmedString); return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result; -} : nativeParseFloat; +} : $parseFloat; // `parseFloat` method // https://tc39.github.io/ecma262/#sec-parsefloat-string -_export({ global: true, forced: parseFloat != _parseFloat }, { - parseFloat: _parseFloat +_export({ global: true, forced: parseFloat != numberParseFloat }, { + parseFloat: numberParseFloat }); var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; var getOwnPropertyDescriptor$6 = objectGetOwnPropertyDescriptor.f; -var defineProperty$7 = objectDefineProperty.f; +var defineProperty$8 = objectDefineProperty.f; var trim$2 = stringTrim.trim; var NUMBER = 'Number'; @@ -4163,7 +4259,7 @@ if (isForced_1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' ).split(','), j = 0, key; keys$2.length > j; j++) { if (has(NativeNumber, key = keys$2[j]) && !has(NumberWrapper, key)) { - defineProperty$7(NumberWrapper, key, getOwnPropertyDescriptor$6(NativeNumber, key)); + defineProperty$8(NumberWrapper, key, getOwnPropertyDescriptor$6(NativeNumber, key)); } } NumberWrapper.prototype = NumberPrototype; @@ -4236,14 +4332,14 @@ _export({ target: 'Number', stat: true }, { // `Number.parseFloat` method // https://tc39.github.io/ecma262/#sec-number.parseFloat -_export({ target: 'Number', stat: true, forced: Number.parseFloat != _parseFloat }, { - parseFloat: _parseFloat +_export({ target: 'Number', stat: true, forced: Number.parseFloat != numberParseFloat }, { + parseFloat: numberParseFloat }); // `Number.parseInt` method // https://tc39.github.io/ecma262/#sec-number.parseint -_export({ target: 'Number', stat: true, forced: Number.parseInt != _parseInt }, { - parseInt: _parseInt +_export({ target: 'Number', stat: true, forced: Number.parseInt != numberParseInt }, { + parseInt: numberParseInt }); // `thisNumberValue` abstract operation @@ -4275,7 +4371,7 @@ var log = function (x) { } return n; }; -var FORCED$8 = nativeToFixed && ( +var FORCED$9 = nativeToFixed && ( 0.00008.toFixed(3) !== '0.000' || 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || @@ -4287,7 +4383,7 @@ var FORCED$8 = nativeToFixed && ( // `Number.prototype.toFixed` method // https://tc39.github.io/ecma262/#sec-number.prototype.tofixed -_export({ target: 'Number', proto: true, forced: FORCED$8 }, { +_export({ target: 'Number', proto: true, forced: FORCED$9 }, { // eslint-disable-next-line max-statements toFixed: function toFixed(fractionDigits) { var number = thisNumberValue(this); @@ -4377,7 +4473,7 @@ _export({ target: 'Number', proto: true, forced: FORCED$8 }, { var nativeToPrecision = 1.0.toPrecision; -var FORCED$9 = fails(function () { +var FORCED$a = fails(function () { // IE7- return nativeToPrecision.call(1, undefined) !== '1'; }) || !fails(function () { @@ -4387,7 +4483,7 @@ var FORCED$9 = fails(function () { // `Number.prototype.toPrecision` method // https://tc39.github.io/ecma262/#sec-number.prototype.toprecision -_export({ target: 'Number', proto: true, forced: FORCED$9 }, { +_export({ target: 'Number', proto: true, forced: FORCED$a }, { toPrecision: function toPrecision(precision) { return precision === undefined ? nativeToPrecision.call(thisNumberValue(this)) @@ -4408,7 +4504,7 @@ var log$2 = Math.log; var sqrt = Math.sqrt; var LN2 = Math.LN2; -var FORCED$a = !nativeAcosh +var FORCED$b = !nativeAcosh // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 || Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710 // Tor Browser bug: Math.acosh(Infinity) -> NaN @@ -4416,7 +4512,7 @@ var FORCED$a = !nativeAcosh // `Math.acosh` method // https://tc39.github.io/ecma262/#sec-math.acosh -_export({ target: 'Math', stat: true, forced: FORCED$a }, { +_export({ target: 'Math', stat: true, forced: FORCED$b }, { acosh: function acosh(x) { return (x = +x) < 1 ? NaN : x > 94906265.62425156 ? log$2(x) + LN2 @@ -4575,14 +4671,14 @@ _export({ target: 'Math', stat: true, forced: BUGGY }, { var nativeImul = Math.imul; -var FORCED$b = fails(function () { +var FORCED$c = fails(function () { return nativeImul(0xFFFFFFFF, 5) != -5 || nativeImul.length != 2; }); // `Math.imul` method // https://tc39.github.io/ecma262/#sec-math.imul // some WebKit versions fails with big numbers, some has wrong arity -_export({ target: 'Math', stat: true, forced: FORCED$b }, { +_export({ target: 'Math', stat: true, forced: FORCED$c }, { imul: function imul(x, y) { var UINT16 = 0xFFFF; var xn = +x; @@ -4629,14 +4725,14 @@ var abs$5 = Math.abs; var exp$1 = Math.exp; var E$1 = Math.E; -var FORCED$c = fails(function () { +var FORCED$d = fails(function () { return Math.sinh(-2e-17) != -2e-17; }); // `Math.sinh` method // https://tc39.github.io/ecma262/#sec-math.sinh // V8 near Chromium 38 has a problem with very small numbers -_export({ target: 'Math', stat: true, forced: FORCED$c }, { +_export({ target: 'Math', stat: true, forced: FORCED$d }, { sinh: function sinh(x) { return abs$5(x = +x) < 1 ? (mathExpm1(x) - mathExpm1(-x)) / 2 : (exp$1(x - 1) - exp$1(-x - 1)) * (E$1 / 2); } @@ -4677,14 +4773,14 @@ _export({ target: 'Date', stat: true }, { } }); -var FORCED$d = fails(function () { +var FORCED$e = fails(function () { return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; }); // `Date.prototype.toJSON` method // https://tc39.github.io/ecma262/#sec-date.prototype.tojson -_export({ target: 'Date', proto: true, forced: FORCED$d }, { +_export({ target: 'Date', proto: true, forced: FORCED$e }, { // eslint-disable-next-line no-unused-vars toJSON: function toJSON(key) { var O = toObject(this); @@ -4774,14 +4870,14 @@ var fix = function (match, offset, string) { } return match; }; -var FORCED$e = fails(function () { +var FORCED$f = fails(function () { return $stringify$1('\uDF06\uD834') !== '"\\udf06\\ud834"' || $stringify$1('\uDEAD') !== '"\\udead"'; }); if ($stringify$1) { // https://github.com/tc39/proposal-well-formed-stringify - _export({ target: 'JSON', stat: true, forced: FORCED$e }, { + _export({ target: 'JSON', stat: true, forced: FORCED$f }, { // eslint-disable-next-line no-unused-vars stringify: function stringify(it, replacer, space) { var result = $stringify$1.apply(null, arguments); @@ -4807,7 +4903,7 @@ var anInstance = function (it, Constructor, name) { } return it; }; -var isIos = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent); +var engineIsIos = /(iphone|ipod|ipad).*applewebkit/i.test(engineUserAgent); var location = global_1.location; var set$1 = global_1.setImmediate; @@ -4872,11 +4968,11 @@ if (!set$1 || !clear) { }; // Browsers with MessageChannel, includes WebWorkers // except iOS - https://github.com/zloirock/core-js/issues/624 - } else if (MessageChannel && !isIos) { + } else if (MessageChannel && !engineIsIos) { channel = new MessageChannel(); port = channel.port2; channel.port1.onmessage = listener; - defer = bindContext(port.postMessage, port, 1); + defer = functionBindContext(port.postMessage, port, 1); // Browsers with postMessage, skip WebWorkers // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if (global_1.addEventListener && typeof postMessage == 'function' && !global_1.importScripts && !fails(post)) { @@ -4943,7 +5039,7 @@ if (!queueMicrotask) { process$2.nextTick(flush); }; // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 - } else if (MutationObserver && !isIos) { + } else if (MutationObserver && !engineIsIos) { toggle = true; node = document.createTextNode(''); new MutationObserver(flush).observe(node, { characterData: true }); @@ -5059,20 +5155,20 @@ var HANDLED = 1; var UNHANDLED = 2; var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; -var FORCED$f = isForced_1(PROMISE, function () { +var FORCED$g = isForced_1(PROMISE, function () { var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor); if (!GLOBAL_CORE_JS_PROMISE) { // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 // We can't detect it synchronously, so just check versions - if (v8Version === 66) return true; + if (engineV8Version === 66) return true; // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test if (!IS_NODE$1 && typeof PromiseRejectionEvent != 'function') return true; } // We can't use @@species feature detection in V8 since it causes // deoptimization and performance degradation // https://github.com/zloirock/core-js/issues/679 - if (v8Version >= 51 && /native code/.test(PromiseConstructor)) return false; + if (engineV8Version >= 51 && /native code/.test(PromiseConstructor)) return false; // Detect correctness of subclassing with @@species support var promise = PromiseConstructor.resolve(1); var FakePromise = function (exec) { @@ -5083,7 +5179,7 @@ var FORCED$f = isForced_1(PROMISE, function () { return !(promise.then(function () { /* empty */ }) instanceof FakePromise); }); -var INCORRECT_ITERATION$1 = FORCED$f || !checkCorrectnessOfIteration(function (iterable) { +var INCORRECT_ITERATION$1 = FORCED$g || !checkCorrectnessOfIteration(function (iterable) { PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); }); @@ -5229,7 +5325,7 @@ var internalResolve = function (promise, state, value, unwrap) { }; // constructor polyfill -if (FORCED$f) { +if (FORCED$g) { // 25.4.3.1 Promise(executor) PromiseConstructor = function Promise(executor) { anInstance(this, PromiseConstructor, PROMISE); @@ -5310,7 +5406,7 @@ if (FORCED$f) { } } -_export({ global: true, wrap: true, forced: FORCED$f }, { +_export({ global: true, wrap: true, forced: FORCED$g }, { Promise: PromiseConstructor }); @@ -5320,7 +5416,7 @@ setSpecies(PROMISE); PromiseWrapper = getBuiltIn(PROMISE); // statics -_export({ target: PROMISE, stat: true, forced: FORCED$f }, { +_export({ target: PROMISE, stat: true, forced: FORCED$g }, { // `Promise.reject` method // https://tc39.github.io/ecma262/#sec-promise.reject reject: function reject(r) { @@ -5330,7 +5426,7 @@ _export({ target: PROMISE, stat: true, forced: FORCED$f }, { } }); -_export({ target: PROMISE, stat: true, forced: FORCED$f }, { +_export({ target: PROMISE, stat: true, forced: FORCED$g }, { // `Promise.resolve` method // https://tc39.github.io/ecma262/#sec-promise.resolve resolve: function resolve(x) { @@ -5535,7 +5631,7 @@ var collection = function (CONSTRUCTOR_NAME, wrapper, common) { return Constructor; }; -var defineProperty$8 = objectDefineProperty.f; +var defineProperty$9 = objectDefineProperty.f; @@ -5646,7 +5742,7 @@ var collectionStrong = { // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) forEach: function forEach(callbackfn /* , that = undefined */) { var state = getInternalState(this); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var entry; while (entry = entry ? entry.next : state.first) { boundFunction(entry.value, entry.key, this); @@ -5677,7 +5773,7 @@ var collectionStrong = { return define(this, value = value === 0 ? 0 : value, value); } }); - if (descriptors) defineProperty$8(C.prototype, 'size', { + if (descriptors) defineProperty$9(C.prototype, 'size', { get: function () { return getInternalState(this).size; } @@ -5928,162 +6024,7 @@ collection('WeakSet', function (init) { return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionWeak); -var defineProperty$9 = objectDefineProperty.f; - - - - - -var DataView = global_1.DataView; -var DataViewPrototype = DataView && DataView.prototype; -var Int8Array$1 = global_1.Int8Array; -var Int8ArrayPrototype = Int8Array$1 && Int8Array$1.prototype; -var Uint8ClampedArray = global_1.Uint8ClampedArray; -var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; -var TypedArray = Int8Array$1 && objectGetPrototypeOf(Int8Array$1); -var TypedArrayPrototype = Int8ArrayPrototype && objectGetPrototypeOf(Int8ArrayPrototype); -var ObjectPrototype$2 = Object.prototype; -var isPrototypeOf = ObjectPrototype$2.isPrototypeOf; - -var TO_STRING_TAG$3 = wellKnownSymbol('toStringTag'); -var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); -var NATIVE_ARRAY_BUFFER = !!(global_1.ArrayBuffer && DataView); -// Fixing native typed arrays in Opera Presto crashes the browser, see #595 -var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera'; -var TYPED_ARRAY_TAG_REQIRED = false; -var NAME$1; - -var TypedArrayConstructorsList = { - Int8Array: 1, - Uint8Array: 1, - Uint8ClampedArray: 1, - Int16Array: 2, - Uint16Array: 2, - Int32Array: 4, - Uint32Array: 4, - Float32Array: 4, - Float64Array: 8 -}; - -var isView = function isView(it) { - var klass = classof(it); - return klass === 'DataView' || has(TypedArrayConstructorsList, klass); -}; - -var isTypedArray = function (it) { - return isObject(it) && has(TypedArrayConstructorsList, classof(it)); -}; - -var aTypedArray = function (it) { - if (isTypedArray(it)) return it; - throw TypeError('Target is not a typed array'); -}; - -var aTypedArrayConstructor = function (C) { - if (objectSetPrototypeOf) { - if (isPrototypeOf.call(TypedArray, C)) return C; - } else for (var ARRAY in TypedArrayConstructorsList) if (has(TypedArrayConstructorsList, NAME$1)) { - var TypedArrayConstructor = global_1[ARRAY]; - if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) { - return C; - } - } throw TypeError('Target is not a typed array constructor'); -}; - -var exportTypedArrayMethod = function (KEY, property, forced) { - if (!descriptors) return; - if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global_1[ARRAY]; - if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) { - delete TypedArrayConstructor.prototype[KEY]; - } - } - if (!TypedArrayPrototype[KEY] || forced) { - redefine(TypedArrayPrototype, KEY, forced ? property - : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property); - } -}; - -var exportTypedArrayStaticMethod = function (KEY, property, forced) { - var ARRAY, TypedArrayConstructor; - if (!descriptors) return; - if (objectSetPrototypeOf) { - if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global_1[ARRAY]; - if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) { - delete TypedArrayConstructor[KEY]; - } - } - if (!TypedArray[KEY] || forced) { - // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable - try { - return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8Array$1[KEY] || property); - } catch (error) { /* empty */ } - } else return; - } - for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global_1[ARRAY]; - if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { - redefine(TypedArrayConstructor, KEY, property); - } - } -}; - -for (NAME$1 in TypedArrayConstructorsList) { - if (!global_1[NAME$1]) NATIVE_ARRAY_BUFFER_VIEWS = false; -} - -// WebKit bug - typed arrays constructors prototype is Object.prototype -if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) { - // eslint-disable-next-line no-shadow - TypedArray = function TypedArray() { - throw TypeError('Incorrect invocation'); - }; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME$1 in TypedArrayConstructorsList) { - if (global_1[NAME$1]) objectSetPrototypeOf(global_1[NAME$1], TypedArray); - } -} - -if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype$2) { - TypedArrayPrototype = TypedArray.prototype; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME$1 in TypedArrayConstructorsList) { - if (global_1[NAME$1]) objectSetPrototypeOf(global_1[NAME$1].prototype, TypedArrayPrototype); - } -} - -// WebKit bug - one more object in Uint8ClampedArray prototype chain -if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { - objectSetPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); -} - -if (descriptors && !has(TypedArrayPrototype, TO_STRING_TAG$3)) { - TYPED_ARRAY_TAG_REQIRED = true; - defineProperty$9(TypedArrayPrototype, TO_STRING_TAG$3, { get: function () { - return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; - } }); - for (NAME$1 in TypedArrayConstructorsList) if (global_1[NAME$1]) { - createNonEnumerableProperty(global_1[NAME$1], TYPED_ARRAY_TAG, NAME$1); - } -} - -// WebKit bug - the same parent prototype for typed arrays and data view -if (NATIVE_ARRAY_BUFFER && objectSetPrototypeOf && objectGetPrototypeOf(DataViewPrototype) !== ObjectPrototype$2) { - objectSetPrototypeOf(DataViewPrototype, ObjectPrototype$2); -} - -var arrayBufferViewCore = { - NATIVE_ARRAY_BUFFER: NATIVE_ARRAY_BUFFER, - NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, - TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, - aTypedArray: aTypedArray, - aTypedArrayConstructor: aTypedArrayConstructor, - exportTypedArrayMethod: exportTypedArrayMethod, - exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, - isView: isView, - isTypedArray: isTypedArray, - TypedArray: TypedArray, - TypedArrayPrototype: TypedArrayPrototype -}; +var arrayBufferNative = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined'; // `ToIndex` abstract operation // https://tc39.github.io/ecma262/#sec-toindex @@ -6184,15 +6125,6 @@ var ieee754 = { unpack: unpack }; -var NATIVE_ARRAY_BUFFER$1 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER; - - - - - - - - var getOwnPropertyNames$2 = objectGetOwnPropertyNames.f; var defineProperty$a = objectDefineProperty.f; @@ -6209,6 +6141,8 @@ var WRONG_INDEX = 'Wrong index'; var NativeArrayBuffer = global_1[ARRAY_BUFFER]; var $ArrayBuffer = NativeArrayBuffer; var $DataView = global_1[DATA_VIEW]; +var $DataViewPrototype = $DataView && $DataView[PROTOTYPE$2]; +var ObjectPrototype$2 = Object.prototype; var RangeError$1 = global_1.RangeError; var packIEEE754 = ieee754.pack; @@ -6262,7 +6196,7 @@ var set$2 = function (view, count, index, conversion, value, isLittleEndian) { for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; }; -if (!NATIVE_ARRAY_BUFFER$1) { +if (!arrayBufferNative) { $ArrayBuffer = function ArrayBuffer(length) { anInstance(this, $ArrayBuffer, ARRAY_BUFFER); var byteLength = toIndex(length); @@ -6375,12 +6309,18 @@ if (!NATIVE_ARRAY_BUFFER$1) { } ArrayBufferPrototype.constructor = $ArrayBuffer; } + + // WebKit bug - the same parent prototype for typed arrays and data view + if (objectSetPrototypeOf && objectGetPrototypeOf($DataViewPrototype) !== ObjectPrototype$2) { + objectSetPrototypeOf($DataViewPrototype, ObjectPrototype$2); + } + // iOS Safari 7.x bug var testView = new $DataView(new $ArrayBuffer(2)); - var nativeSetInt8 = $DataView[PROTOTYPE$2].setInt8; + var nativeSetInt8 = $DataViewPrototype.setInt8; testView.setInt8(0, 2147483648); testView.setInt8(1, 2147483649); - if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataView[PROTOTYPE$2], { + if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataViewPrototype, { setInt8: function setInt8(byteOffset, value) { nativeSetInt8.call(this, byteOffset, value << 24 >> 24); }, @@ -6399,17 +6339,165 @@ var arrayBuffer = { }; var ARRAY_BUFFER$1 = 'ArrayBuffer'; -var ArrayBuffer = arrayBuffer[ARRAY_BUFFER$1]; +var ArrayBuffer$1 = arrayBuffer[ARRAY_BUFFER$1]; var NativeArrayBuffer$1 = global_1[ARRAY_BUFFER$1]; // `ArrayBuffer` constructor // https://tc39.github.io/ecma262/#sec-arraybuffer-constructor -_export({ global: true, forced: NativeArrayBuffer$1 !== ArrayBuffer }, { - ArrayBuffer: ArrayBuffer +_export({ global: true, forced: NativeArrayBuffer$1 !== ArrayBuffer$1 }, { + ArrayBuffer: ArrayBuffer$1 }); setSpecies(ARRAY_BUFFER$1); +var defineProperty$b = objectDefineProperty.f; + + + + + +var Int8Array$1 = global_1.Int8Array; +var Int8ArrayPrototype = Int8Array$1 && Int8Array$1.prototype; +var Uint8ClampedArray = global_1.Uint8ClampedArray; +var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; +var TypedArray = Int8Array$1 && objectGetPrototypeOf(Int8Array$1); +var TypedArrayPrototype = Int8ArrayPrototype && objectGetPrototypeOf(Int8ArrayPrototype); +var ObjectPrototype$3 = Object.prototype; +var isPrototypeOf = ObjectPrototype$3.isPrototypeOf; + +var TO_STRING_TAG$3 = wellKnownSymbol('toStringTag'); +var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); +// Fixing native typed arrays in Opera Presto crashes the browser, see #595 +var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera'; +var TYPED_ARRAY_TAG_REQIRED = false; +var NAME$1; + +var TypedArrayConstructorsList = { + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 +}; + +var isView = function isView(it) { + var klass = classof(it); + return klass === 'DataView' || has(TypedArrayConstructorsList, klass); +}; + +var isTypedArray = function (it) { + return isObject(it) && has(TypedArrayConstructorsList, classof(it)); +}; + +var aTypedArray = function (it) { + if (isTypedArray(it)) return it; + throw TypeError('Target is not a typed array'); +}; + +var aTypedArrayConstructor = function (C) { + if (objectSetPrototypeOf) { + if (isPrototypeOf.call(TypedArray, C)) return C; + } else for (var ARRAY in TypedArrayConstructorsList) if (has(TypedArrayConstructorsList, NAME$1)) { + var TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) { + return C; + } + } throw TypeError('Target is not a typed array constructor'); +}; + +var exportTypedArrayMethod = function (KEY, property, forced) { + if (!descriptors) return; + if (forced) for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) { + delete TypedArrayConstructor.prototype[KEY]; + } + } + if (!TypedArrayPrototype[KEY] || forced) { + redefine(TypedArrayPrototype, KEY, forced ? property + : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property); + } +}; + +var exportTypedArrayStaticMethod = function (KEY, property, forced) { + var ARRAY, TypedArrayConstructor; + if (!descriptors) return; + if (objectSetPrototypeOf) { + if (forced) for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) { + delete TypedArrayConstructor[KEY]; + } + } + if (!TypedArray[KEY] || forced) { + // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable + try { + return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8Array$1[KEY] || property); + } catch (error) { /* empty */ } + } else return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + redefine(TypedArrayConstructor, KEY, property); + } + } +}; + +for (NAME$1 in TypedArrayConstructorsList) { + if (!global_1[NAME$1]) NATIVE_ARRAY_BUFFER_VIEWS = false; +} + +// WebKit bug - typed arrays constructors prototype is Object.prototype +if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) { + // eslint-disable-next-line no-shadow + TypedArray = function TypedArray() { + throw TypeError('Incorrect invocation'); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME$1 in TypedArrayConstructorsList) { + if (global_1[NAME$1]) objectSetPrototypeOf(global_1[NAME$1], TypedArray); + } +} + +if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype$3) { + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME$1 in TypedArrayConstructorsList) { + if (global_1[NAME$1]) objectSetPrototypeOf(global_1[NAME$1].prototype, TypedArrayPrototype); + } +} + +// WebKit bug - one more object in Uint8ClampedArray prototype chain +if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { + objectSetPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); +} + +if (descriptors && !has(TypedArrayPrototype, TO_STRING_TAG$3)) { + TYPED_ARRAY_TAG_REQIRED = true; + defineProperty$b(TypedArrayPrototype, TO_STRING_TAG$3, { get: function () { + return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; + } }); + for (NAME$1 in TypedArrayConstructorsList) if (global_1[NAME$1]) { + createNonEnumerableProperty(global_1[NAME$1], TYPED_ARRAY_TAG, NAME$1); + } +} + +var arrayBufferViewCore = { + NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, + aTypedArray: aTypedArray, + aTypedArrayConstructor: aTypedArrayConstructor, + exportTypedArrayMethod: exportTypedArrayMethod, + exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, + isView: isView, + isTypedArray: isTypedArray, + TypedArray: TypedArray, + TypedArrayPrototype: TypedArrayPrototype +}; + var NATIVE_ARRAY_BUFFER_VIEWS$1 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; // `ArrayBuffer.isView` method @@ -6418,12 +6506,12 @@ _export({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS$ isView: arrayBufferViewCore.isView }); -var ArrayBuffer$1 = arrayBuffer.ArrayBuffer; +var ArrayBuffer$2 = arrayBuffer.ArrayBuffer; var DataView$1 = arrayBuffer.DataView; -var nativeArrayBufferSlice = ArrayBuffer$1.prototype.slice; +var nativeArrayBufferSlice = ArrayBuffer$2.prototype.slice; var INCORRECT_SLICE = fails(function () { - return !new ArrayBuffer$1(2).slice(1, undefined).byteLength; + return !new ArrayBuffer$2(2).slice(1, undefined).byteLength; }); // `ArrayBuffer.prototype.slice` method @@ -6436,7 +6524,7 @@ _export({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SL var length = anObject(this).byteLength; var first = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === undefined ? length : end, length); - var result = new (speciesConstructor(this, ArrayBuffer$1))(toLength(fin - first)); + var result = new (speciesConstructor(this, ArrayBuffer$2))(toLength(fin - first)); var viewSource = new DataView$1(this); var viewTarget = new DataView$1(result); var index = 0; @@ -6446,11 +6534,9 @@ _export({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SL } }); -var NATIVE_ARRAY_BUFFER$2 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER; - // `DataView` constructor // https://tc39.github.io/ecma262/#sec-dataview-constructor -_export({ global: true, forced: !NATIVE_ARRAY_BUFFER$2 }, { +_export({ global: true, forced: !arrayBufferNative }, { DataView: arrayBuffer.DataView }); @@ -6460,10 +6546,10 @@ _export({ global: true, forced: !NATIVE_ARRAY_BUFFER$2 }, { var NATIVE_ARRAY_BUFFER_VIEWS$2 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; -var ArrayBuffer$2 = global_1.ArrayBuffer; +var ArrayBuffer$3 = global_1.ArrayBuffer; var Int8Array$2 = global_1.Int8Array; -var typedArraysConstructorsRequiresWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$2 || !fails(function () { +var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$2 || !fails(function () { Int8Array$2(1); }) || !fails(function () { new Int8Array$2(-1); @@ -6474,7 +6560,7 @@ var typedArraysConstructorsRequiresWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$2 || !f new Int8Array$2(iterable); }, true) || fails(function () { // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill - return new Int8Array$2(new ArrayBuffer$2(2), 1, undefined).length !== 1; + return new Int8Array$2(new ArrayBuffer$3(2), 1, undefined).length !== 1; }); var toPositiveInteger = function (it) { @@ -6507,7 +6593,7 @@ var typedArrayFrom = function from(source /* , mapfn, thisArg */) { } } if (mapping && argumentsLength > 2) { - mapfn = bindContext(mapfn, arguments[2], 2); + mapfn = functionBindContext(mapfn, arguments[2], 2); } length = toLength(O.length); result = new (aTypedArrayConstructor$1(this))(length); @@ -6698,7 +6784,7 @@ if (descriptors) { if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray); TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = objectCreate(TypedArrayPrototype); - } else if (typedArraysConstructorsRequiresWrappers) { + } else if (typedArrayConstructorsRequireWrappers) { TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { anInstance(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME); return inheritIfRequired(function () { @@ -6826,7 +6912,7 @@ var exportTypedArrayStaticMethod$1 = arrayBufferViewCore.exportTypedArrayStaticM // `%TypedArray%.from` method // https://tc39.github.io/ecma262/#sec-%typedarray%.from -exportTypedArrayStaticMethod$1('from', typedArrayFrom, typedArraysConstructorsRequiresWrappers); +exportTypedArrayStaticMethod$1('from', typedArrayFrom, typedArrayConstructorsRequireWrappers); var aTypedArrayConstructor$2 = arrayBufferViewCore.aTypedArrayConstructor; var exportTypedArrayStaticMethod$2 = arrayBufferViewCore.exportTypedArrayStaticMethod; @@ -6839,7 +6925,7 @@ exportTypedArrayStaticMethod$2('of', function of(/* ...items */) { var result = new (aTypedArrayConstructor$2(this))(length); while (length > index) result[index] = arguments[index++]; return result; -}, typedArraysConstructorsRequiresWrappers); +}, typedArrayConstructorsRequireWrappers); var aTypedArray$1 = arrayBufferViewCore.aTypedArray; var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod; @@ -7058,7 +7144,7 @@ exportTypedArrayMethod$g('reverse', function reverse() { var aTypedArray$h = arrayBufferViewCore.aTypedArray; var exportTypedArrayMethod$h = arrayBufferViewCore.exportTypedArrayMethod; -var FORCED$g = fails(function () { +var FORCED$h = fails(function () { // eslint-disable-next-line no-undef new Int8Array(1).set({}); }); @@ -7074,14 +7160,14 @@ exportTypedArrayMethod$h('set', function set(arrayLike /* , offset */) { var index = 0; if (len + offset > length) throw RangeError('Wrong length'); while (index < len) this[offset + index] = src[index++]; -}, FORCED$g); +}, FORCED$h); var aTypedArray$i = arrayBufferViewCore.aTypedArray; var aTypedArrayConstructor$5 = arrayBufferViewCore.aTypedArrayConstructor; var exportTypedArrayMethod$i = arrayBufferViewCore.exportTypedArrayMethod; var $slice = [].slice; -var FORCED$h = fails(function () { +var FORCED$i = fails(function () { // eslint-disable-next-line no-undef new Int8Array(1).slice(); }); @@ -7096,7 +7182,7 @@ exportTypedArrayMethod$i('slice', function slice(start, end) { var result = new (aTypedArrayConstructor$5(C))(length); while (length > index) result[index] = list[index++]; return result; -}, FORCED$h); +}, FORCED$i); var $some$1 = arrayIteration.some; @@ -7146,7 +7232,7 @@ var TO_LOCALE_STRING_BUG = !!Int8Array$3 && fails(function () { $toLocaleString.call(new Int8Array$3(1)); }); -var FORCED$i = fails(function () { +var FORCED$j = fails(function () { return [1, 2].toLocaleString() != new Int8Array$3([1, 2]).toLocaleString(); }) || !fails(function () { Int8Array$3.prototype.toLocaleString.call([1, 2]); @@ -7156,7 +7242,7 @@ var FORCED$i = fails(function () { // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tolocalestring exportTypedArrayMethod$m('toLocaleString', function toLocaleString() { return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice$1.call(aTypedArray$m(this)) : aTypedArray$m(this), arguments); -}, FORCED$i); +}, FORCED$j); var exportTypedArrayMethod$n = arrayBufferViewCore.exportTypedArrayMethod; @@ -7212,9 +7298,9 @@ var NEW_TARGET_BUG = fails(function () { var ARGS_BUG = !fails(function () { nativeConstruct(function () { /* empty */ }); }); -var FORCED$j = NEW_TARGET_BUG || ARGS_BUG; +var FORCED$k = NEW_TARGET_BUG || ARGS_BUG; -_export({ target: 'Reflect', stat: true, forced: FORCED$j, sham: FORCED$j }, { +_export({ target: 'Reflect', stat: true, forced: FORCED$k, sham: FORCED$k }, { construct: function construct(Target, args /* , newTarget */) { aFunction$1(Target); anObject(args); @@ -7862,7 +7948,7 @@ var encode = function (input) { return output.join(''); }; -var punycodeToAscii = function (input) { +var stringPunycodeToAscii = function (input) { var encoded = []; var labels = input.toLowerCase().replace(regexSeparators, '\u002E').split('.'); var i, label; @@ -8150,7 +8236,7 @@ redefineAll(URLSearchParamsPrototype, { // `URLSearchParams.prototype.forEach` method forEach: function forEach(callback /* , thisArg */) { var entries = getInternalParamsState(this).entries; - var boundFunction = bindContext(callback, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callback, arguments.length > 1 ? arguments[1] : undefined, 3); var index = 0; var entry; while (index < entries.length) { @@ -8292,7 +8378,7 @@ var parseHost = function (url, input) { } url.host = result; } else { - input = punycodeToAscii(input); + input = stringPunycodeToAscii(input); if (FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST; result = parseIPv4(input); if (result === null) return INVALID_HOST; @@ -9242,12 +9328,12 @@ _export({ target: 'URL', proto: true, enumerable: true }, { } }); -var defineProperty$b = objectDefineProperty.f; +var defineProperty$c = objectDefineProperty.f; // `Array.prototype.lastIndex` getter // https://github.com/keithamus/proposal-array-last if (descriptors && !('lastIndex' in [])) { - defineProperty$b(Array.prototype, 'lastIndex', { + defineProperty$c(Array.prototype, 'lastIndex', { configurable: true, get: function lastIndex() { var O = toObject(this); @@ -9259,12 +9345,12 @@ if (descriptors && !('lastIndex' in [])) { addToUnscopables('lastIndex'); } -var defineProperty$c = objectDefineProperty.f; +var defineProperty$d = objectDefineProperty.f; // `Array.prototype.lastIndex` accessor // https://github.com/keithamus/proposal-array-last if (descriptors && !('lastItem' in [])) { - defineProperty$c(Array.prototype, 'lastItem', { + defineProperty$d(Array.prototype, 'lastItem', { configurable: true, get: function lastItem() { var O = toObject(this); @@ -9345,7 +9431,7 @@ _export({ target: 'Map', proto: true, real: true, forced: isPure }, { every: function every(callbackfn /* , thisArg */) { var map = anObject(this); var iterator = getMapIterator(map); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); return !iterate_1(iterator, function (key, value) { if (!boundFunction(value, key, map)) return iterate_1.stop(); }, undefined, true, true).stopped; @@ -9358,7 +9444,7 @@ _export({ target: 'Map', proto: true, real: true, forced: isPure }, { filter: function filter(callbackfn /* , thisArg */) { var map = anObject(this); var iterator = getMapIterator(map); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); var setter = aFunction$1(newMap.set); iterate_1(iterator, function (key, value) { @@ -9374,7 +9460,7 @@ _export({ target: 'Map', proto: true, real: true, forced: isPure }, { find: function find(callbackfn /* , thisArg */) { var map = anObject(this); var iterator = getMapIterator(map); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); return iterate_1(iterator, function (key, value) { if (boundFunction(value, key, map)) return iterate_1.stop(value); }, undefined, true, true).result; @@ -9387,7 +9473,7 @@ _export({ target: 'Map', proto: true, real: true, forced: isPure }, { findKey: function findKey(callbackfn /* , thisArg */) { var map = anObject(this); var iterator = getMapIterator(map); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); return iterate_1(iterator, function (key, value) { if (boundFunction(value, key, map)) return iterate_1.stop(key); }, undefined, true, true).result; @@ -9427,7 +9513,7 @@ _export({ target: 'Map', proto: true, real: true, forced: isPure }, { mapKeys: function mapKeys(callbackfn /* , thisArg */) { var map = anObject(this); var iterator = getMapIterator(map); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); var setter = aFunction$1(newMap.set); iterate_1(iterator, function (key, value) { @@ -9443,7 +9529,7 @@ _export({ target: 'Map', proto: true, real: true, forced: isPure }, { mapValues: function mapValues(callbackfn /* , thisArg */) { var map = anObject(this); var iterator = getMapIterator(map); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); var setter = aFunction$1(newMap.set); iterate_1(iterator, function (key, value) { @@ -9496,7 +9582,7 @@ _export({ target: 'Map', proto: true, real: true, forced: isPure }, { some: function some(callbackfn /* , thisArg */) { var map = anObject(this); var iterator = getMapIterator(map); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); return iterate_1(iterator, function (key, value) { if (boundFunction(value, key, map)) return iterate_1.stop(); }, undefined, true, true).stopped; @@ -9557,7 +9643,7 @@ _export({ target: 'Set', proto: true, real: true, forced: isPure }, { every: function every(callbackfn /* , thisArg */) { var set = anObject(this); var iterator = getSetIterator(set); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); return !iterate_1(iterator, function (value) { if (!boundFunction(value, value, set)) return iterate_1.stop(); }, undefined, false, true).stopped; @@ -9570,7 +9656,7 @@ _export({ target: 'Set', proto: true, real: true, forced: isPure }, { filter: function filter(callbackfn /* , thisArg */) { var set = anObject(this); var iterator = getSetIterator(set); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); var adder = aFunction$1(newSet.add); iterate_1(iterator, function (value) { @@ -9586,7 +9672,7 @@ _export({ target: 'Set', proto: true, real: true, forced: isPure }, { find: function find(callbackfn /* , thisArg */) { var set = anObject(this); var iterator = getSetIterator(set); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); return iterate_1(iterator, function (value) { if (boundFunction(value, value, set)) return iterate_1.stop(value); }, undefined, false, true).result; @@ -9612,7 +9698,7 @@ _export({ target: 'Set', proto: true, real: true, forced: isPure }, { map: function map(callbackfn /* , thisArg */) { var set = anObject(this); var iterator = getSetIterator(set); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); var adder = aFunction$1(newSet.add); iterate_1(iterator, function (value) { @@ -9650,7 +9736,7 @@ _export({ target: 'Set', proto: true, real: true, forced: isPure }, { some: function some(callbackfn /* , thisArg */) { var set = anObject(this); var iterator = getSetIterator(set); - var boundFunction = bindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); return iterate_1(iterator, function (value) { if (boundFunction(value, value, set)) return iterate_1.stop(); }, undefined, false, true).stopped; @@ -9697,7 +9783,7 @@ var collectionFrom = function from(source /* , mapFn, thisArg */) { A = []; if (mapping) { n = 0; - boundFunction = bindContext(mapFn, length > 2 ? arguments[2] : undefined, 2); + boundFunction = functionBindContext(mapFn, length > 2 ? arguments[2] : undefined, 2); iterate_1(source, function (nextItem) { A.push(boundFunction(nextItem, n++)); }); @@ -9928,7 +10014,7 @@ _export({ target: 'Number', stat: true }, { } R = radix === undefined ? 10 : toInteger(radix); if (R < 2 || R > 36) throw RangeError(INVALID_RADIX); - if (!valid.test(string) || (mathNum = _parseInt(string, R)).toString(R) !== string) { + if (!valid.test(string) || (mathNum = numberParseInt(string, R)).toString(R) !== string) { throw SyntaxError(INVALID_NUMBER_REPRESENTATION); } return sign * mathNum; @@ -9998,7 +10084,7 @@ _export({ target: 'Object', stat: true }, { -var defineProperty$d = objectDefineProperty.f; +var defineProperty$e = objectDefineProperty.f; @@ -10076,7 +10162,7 @@ Subscription.prototype = redefineAll({}, { } }); -if (descriptors) defineProperty$d(Subscription.prototype, 'closed', { +if (descriptors) defineProperty$e(Subscription.prototype, 'closed', { configurable: true, get: function () { return subscriptionClosed(getInternalState$8(this)); @@ -10132,7 +10218,7 @@ SubscriptionObserver.prototype = redefineAll({}, { } }); -if (descriptors) defineProperty$d(SubscriptionObserver.prototype, 'closed', { +if (descriptors) defineProperty$e(SubscriptionObserver.prototype, 'closed', { configurable: true, get: function () { return subscriptionClosed(getInternalState$8(getInternalState$8(this).subscription)); @@ -10384,7 +10470,7 @@ var $throw = function (value) { : $$throw.call(iterator, value); }; -var createAsyncIteratorProxy = function (nextHandler, IS_ITERATOR) { +var asyncIteratorCreateProxy = function (nextHandler, IS_ITERATOR) { var AsyncIteratorProxy = function AsyncIterator(state) { state.next = aFunction$1(state.iterator.next); state.done = false; @@ -10417,7 +10503,7 @@ var createAsyncIteratorProxy = function (nextHandler, IS_ITERATOR) { -var AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) { +var AsyncIteratorProxy = asyncIteratorCreateProxy(function (arg, Promise) { var state = this; var iterator = state.iterator; @@ -10445,7 +10531,7 @@ _export({ target: 'AsyncIterator', proto: true, real: true }, { -var AsyncIteratorProxy$1 = createAsyncIteratorProxy(function (arg, Promise) { +var AsyncIteratorProxy$1 = asyncIteratorCreateProxy(function (arg, Promise) { var state = this; return new Promise(function (resolve, reject) { @@ -10557,7 +10643,7 @@ _export({ target: 'AsyncIterator', proto: true, real: true }, { -var AsyncIteratorProxy$2 = createAsyncIteratorProxy(function (arg, Promise) { +var AsyncIteratorProxy$2 = asyncIteratorCreateProxy(function (arg, Promise) { var state = this; var filterer = state.filterer; @@ -10617,7 +10703,7 @@ var getAsyncIteratorMethod = function (it) { -var AsyncIteratorProxy$3 = createAsyncIteratorProxy(function (arg, Promise) { +var AsyncIteratorProxy$3 = asyncIteratorCreateProxy(function (arg, Promise) { var state = this; var mapper = state.mapper; var innerIterator, iteratorMethod; @@ -10698,7 +10784,7 @@ _export({ target: 'AsyncIterator', proto: true, real: true }, { var AsyncIterator$1 = path.AsyncIterator; -var AsyncIteratorProxy$4 = createAsyncIteratorProxy(function (arg) { +var AsyncIteratorProxy$4 = asyncIteratorCreateProxy(function (arg) { return anObject(this.next.call(this.iterator, arg)); }, true); @@ -10724,7 +10810,7 @@ _export({ target: 'AsyncIterator', stat: true }, { -var AsyncIteratorProxy$5 = createAsyncIteratorProxy(function (arg, Promise) { +var AsyncIteratorProxy$5 = asyncIteratorCreateProxy(function (arg, Promise) { var state = this; var mapper = state.mapper; @@ -10810,7 +10896,7 @@ _export({ target: 'AsyncIterator', proto: true, real: true }, { -var AsyncIteratorProxy$6 = createAsyncIteratorProxy(function (arg) { +var AsyncIteratorProxy$6 = asyncIteratorCreateProxy(function (arg) { if (!this.remaining--) { this.done = true; return { done: true, value: undefined }; @@ -10853,7 +10939,7 @@ var TO_STRING_TAG$6 = wellKnownSymbol('toStringTag'); var NativeIterator = global_1.Iterator; // FF56- have non-standard global helper `Iterator` -var FORCED$k = typeof NativeIterator != 'function' +var FORCED$l = typeof NativeIterator != 'function' || NativeIterator.prototype !== IteratorPrototype$3 // FF44- non-standard `Iterator` passes previous tests || !fails(function () { NativeIterator({}); }); @@ -10866,13 +10952,13 @@ if (!has(IteratorPrototype$3, TO_STRING_TAG$6)) { createNonEnumerableProperty(IteratorPrototype$3, TO_STRING_TAG$6, 'Iterator'); } -if (FORCED$k || !has(IteratorPrototype$3, 'constructor') || IteratorPrototype$3.constructor === Object) { +if (FORCED$l || !has(IteratorPrototype$3, 'constructor') || IteratorPrototype$3.constructor === Object) { createNonEnumerableProperty(IteratorPrototype$3, 'constructor', IteratorConstructor); } IteratorConstructor.prototype = IteratorPrototype$3; -_export({ global: true, forced: FORCED$k }, { +_export({ global: true, forced: FORCED$l }, { Iterator: IteratorConstructor }); @@ -10894,7 +10980,7 @@ var $throw$1 = function (value) { return $$throw.call(iterator, value); }; -var createIteratorProxy = function (nextHandler, IS_ITERATOR) { +var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) { var IteratorProxy = function Iterator(state) { state.next = aFunction$1(state.iterator.next); state.done = false; @@ -10923,7 +11009,7 @@ var createIteratorProxy = function (nextHandler, IS_ITERATOR) { -var IteratorProxy = createIteratorProxy(function (arg) { +var IteratorProxy = iteratorCreateProxy(function (arg) { var result = anObject(this.next.call(this.iterator, arg)); var done = this.done = !!result.done; if (!done) return [this.index++, result.value]; @@ -10944,7 +11030,7 @@ _export({ target: 'Iterator', proto: true, real: true }, { -var IteratorProxy$1 = createIteratorProxy(function (arg) { +var IteratorProxy$1 = iteratorCreateProxy(function (arg) { var iterator = this.iterator; var next = this.next; var result, done; @@ -10991,7 +11077,7 @@ _export({ target: 'Iterator', proto: true, real: true }, { -var IteratorProxy$2 = createIteratorProxy(function (arg) { +var IteratorProxy$2 = iteratorCreateProxy(function (arg) { var iterator = this.iterator; var filterer = this.filterer; var next = this.next; @@ -11038,7 +11124,7 @@ _export({ target: 'Iterator', proto: true, real: true }, { -var IteratorProxy$3 = createIteratorProxy(function (arg) { +var IteratorProxy$3 = iteratorCreateProxy(function (arg) { var iterator = this.iterator; var result, mapped, iteratorMethod, innerIterator; @@ -11098,7 +11184,7 @@ _export({ target: 'Iterator', proto: true, real: true }, { var Iterator = path.Iterator; -var IteratorProxy$4 = createIteratorProxy(function (arg) { +var IteratorProxy$4 = iteratorCreateProxy(function (arg) { var result = anObject(this.next.call(this.iterator, arg)); var done = this.done = !!result.done; if (!done) return result.value; @@ -11127,7 +11213,7 @@ _export({ target: 'Iterator', stat: true }, { -var IteratorProxy$5 = createIteratorProxy(function (arg) { +var IteratorProxy$5 = iteratorCreateProxy(function (arg) { var iterator = this.iterator; var result = anObject(this.next.call(iterator, arg)); var done = this.done = !!result.done; @@ -11190,7 +11276,7 @@ _export({ target: 'Iterator', proto: true, real: true }, { -var IteratorProxy$6 = createIteratorProxy(function (arg) { +var IteratorProxy$6 = iteratorCreateProxy(function (arg) { if (!this.remaining--) { this.done = true; return; @@ -11445,7 +11531,7 @@ _export({ target: 'Promise', stat: true }, { } }); -var REPLACE = wellKnownSymbol('replace'); +var REPLACE$1 = wellKnownSymbol('replace'); var RegExpPrototype$4 = RegExp.prototype; // `String.prototype.replaceAll` method @@ -11463,7 +11549,7 @@ _export({ target: 'String', proto: true }, { )); if (!~flags.indexOf('g')) throw TypeError('`.replaceAll` does not allow non-global regexes'); } - replacer = searchValue[REPLACE]; + replacer = searchValue[REPLACE$1]; if (replacer !== undefined) { return replacer.call(searchValue, O, replaceValue); } @@ -11566,10 +11652,10 @@ for (var COLLECTION_NAME$1 in domIterables) { } } -var FORCED$l = !global_1.setImmediate || !global_1.clearImmediate; +var FORCED$m = !global_1.setImmediate || !global_1.clearImmediate; // http://w3c.github.io/setImmediate/ -_export({ global: true, bind: true, enumerable: true, forced: FORCED$l }, { +_export({ global: true, bind: true, enumerable: true, forced: FORCED$m }, { // `setImmediate` method // http://w3c.github.io/setImmediate/#si-setImmediate setImmediate: task.set, @@ -11591,7 +11677,7 @@ _export({ global: true, enumerable: true, noTargetGet: true }, { }); var slice$1 = [].slice; -var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check +var MSIE = /MSIE .\./.test(engineUserAgent); // <- dirty ie9- check var wrap$1 = function (scheduler) { return function (handler, timeout /* , ...arguments */) {