From 1ea99bb11c72adc203961406a1772325d95e89ab Mon Sep 17 00:00:00 2001 From: Shashi Prakash Date: Mon, 24 Apr 2023 11:29:40 +0530 Subject: [PATCH 1/5] Updating App Service Rest Package version --- package-lock.json | 722 ++++++++++++---------------------------------- package.json | 4 +- 2 files changed, 188 insertions(+), 538 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1b2e13922..5940ea593 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,9 +12,9 @@ "@actions/core": "^1.10.0", "@actions/github": "^4.0.0", "actions-secret-parser": "^1.0.4", - "azure-actions-appservice-rest": "^1.3.9", + "azure-actions-appservice-rest": "^1.3.10", "azure-actions-utility": "^1.0.3", - "azure-actions-webclient": "^1.1.0" + "azure-actions-webclient": "^1.1.1" }, "devDependencies": { "@types/jest": "^25.1.4", @@ -43,9 +43,9 @@ } }, "node_modules/@actions/exec": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.0.tgz", - "integrity": "sha512-LImpN9AY0J1R1mEYJjVJfSZWU4zYOlEcwSTgPve1rFQqK5AwrEs6uWW5Rv70gbDIQIAUwI86z6B+9mPK4w9Sbg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", "dependencies": { "@actions/io": "^1.0.1" } @@ -1355,9 +1355,9 @@ } }, "node_modules/available-typed-arrays": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.4.tgz", - "integrity": "sha512-SA5mXJWrId1TaQjfxUYghbqQ/hYioKmLJvPJyDuYRtXXenFNMjj4hSSt1Cf1xsuXSXrtxrVC5Ot4eU6cOtBDdA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", "engines": { "node": ">= 0.4" }, @@ -1381,14 +1381,14 @@ "dev": true }, "node_modules/azure-actions-appservice-rest": { - "version": "1.3.9", - "resolved": "https://registry.npmjs.org/azure-actions-appservice-rest/-/azure-actions-appservice-rest-1.3.9.tgz", - "integrity": "sha512-gr7JmypfDydp6jTFpdW0TQHqarUe1zlybhHR9yDxtEOgf4qnRv3PiJN2mj21HV5UAlSaGG0q5LQQYqTSBZVmHg==", + "version": "1.3.10", + "resolved": "https://registry.npmjs.org/azure-actions-appservice-rest/-/azure-actions-appservice-rest-1.3.10.tgz", + "integrity": "sha512-FJtXEBr9PeMWH3x5SvTGvNED6Xe7scGkMVNrm6aK0fgwZMXSMFpzwEqIYSUzNYRLBzjh1ZKx8jJRqmVO8LRUFw==", "dependencies": { "@actions/core": "^1.1.10", "@actions/io": "^1.0.1", "@types/node": "^14.14.31", - "azure-actions-webclient": "^1.1.0", + "azure-actions-webclient": "^1.1.1", "copy": "^0.3.2", "fs": "0.0.1-security", "util": "^0.12.1", @@ -1418,9 +1418,9 @@ } }, "node_modules/azure-actions-webclient": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/azure-actions-webclient/-/azure-actions-webclient-1.1.0.tgz", - "integrity": "sha512-NbTOiGCuJvLSGg18Rc/DUV2VsyI6deSCeO7Lp/81gFt/EjvrOrH+3pp8kl1CHGAvRXkwvQsyeKEMdiOBk0/5eg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/azure-actions-webclient/-/azure-actions-webclient-1.1.1.tgz", + "integrity": "sha512-g5/3fGp/8OHhfDixkZMnZ/ZNdh+WxXVgYBJx+jdRbRxRz7o1wxuRh5Rw3qJ8Zmz3H8NjAVVrVGQ9U8pgcZfGCQ==", "dependencies": { "@actions/core": "^1.1.3", "@actions/exec": "^1.0.1", @@ -2228,17 +2228,6 @@ "node": ">=0.10.0" } }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dependencies": { - "object-keys": "^1.0.12" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -2373,51 +2362,6 @@ "is-arrayish": "^0.2.1" } }, - "node_modules/es-abstract": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz", - "integrity": "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==", - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.10.3", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/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==", - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -2845,6 +2789,14 @@ "node": ">=8" } }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dependencies": { + "is-callable": "^1.1.3" + } + }, "node_modules/for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -2854,11 +2806,6 @@ "node": ">=0.10.0" } }, - "node_modules/foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, "node_modules/forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", @@ -2897,7 +2844,7 @@ "node_modules/fs": { "version": "0.0.1-security", "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" + "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" }, "node_modules/fs-constants": { "version": "1.0.0", @@ -2954,13 +2901,13 @@ } }, "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", + "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.1" + "has-symbols": "^1.0.3" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3091,6 +3038,17 @@ "node": ">=4" } }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/graceful-fs": { "version": "4.2.10", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", @@ -3136,14 +3094,6 @@ "node": ">= 0.4.0" } }, - "node_modules/has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -3165,9 +3115,23 @@ } }, "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, "engines": { "node": ">= 0.4" }, @@ -3407,11 +3371,12 @@ } }, "node_modules/is-arguments": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", - "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", "dependencies": { - "call-bind": "^1.0.0" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -3426,37 +3391,15 @@ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "node_modules/is-bigint": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz", - "integrity": "sha512-0JV5+SOCQkIdzjBK9buARcV804Ddu7A0Qet6sHi3FimE9ne6m4BGQZfRn+NZiXbBk4F4XmHfDZIipLj9pX8dSA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.1.tgz", - "integrity": "sha512-bXdQWkECBUIAcCkeH1unwJLIpZYaa5VvuygSyS/c2lf719mTKZDU5UdDRlpd01UjADgmW8RfqaP+mRaVPdr/Ng==", - "dependencies": { - "call-bind": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, "node_modules/is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", "engines": { "node": ">= 0.4" }, @@ -3498,17 +3441,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-date-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.4.tgz", - "integrity": "sha512-/b4ZVsG7Z5XVtIxs/h9W8nvfLgSAyKYdtGWQLbqy6jA1icmgjf8WCoTKgeS4wy5tYaPePouzFMANbnj94c2Z+A==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", @@ -3578,9 +3510,12 @@ } }, "node_modules/is-generator-function": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.9.tgz", - "integrity": "sha512-ZJ34p1uvIfptHCN7sFTjGibB9/oBg17sHqzDLfuwhvmN/qLVvIQXRQ8licZQ35WJ8KuEQt/etnnzQFI9C9Ue/A==", + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -3599,17 +3534,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -3619,17 +3543,6 @@ "node": ">=0.12.0" } }, - "node_modules/is-number-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.5.tgz", - "integrity": "sha512-RU0lI/n95pMoUKu9v1BZP5MBcZuNSVJkMkAG2dJqC4z2GlkGUNeH68SuHuBKBD/XFe+LHZ+f9BKkLET60Niedw==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -3642,21 +3555,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-regex": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", - "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", - "dependencies": { - "call-bind": "^1.0.2", - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-relative": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-0.2.1.tgz", @@ -3677,41 +3575,16 @@ "node": ">=0.10.0" } }, - "node_modules/is-string": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.6.tgz", - "integrity": "sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-typed-array": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.5.tgz", - "integrity": "sha512-S+GRDgJlR3PyEbsX/Fobd9cqpZBuvUS+8asRqYDMLCb2qMzt1oz5m5oxQCxOgUDxiWsOVNi4yaF+/uvdlHlYug==", + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", "dependencies": { - "available-typed-arrays": "^1.0.2", + "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", - "es-abstract": "^1.18.0-next.2", - "foreach": "^2.0.5", - "has-symbols": "^1.0.1" + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -5169,21 +5042,13 @@ } }, "node_modules/object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==", + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -5196,23 +5061,6 @@ "node": ">=0.10.0" } }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -5550,9 +5398,9 @@ } }, "node_modules/qs": { - "version": "6.10.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", - "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.1.tgz", + "integrity": "sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==", "dependencies": { "side-channel": "^1.0.4" }, @@ -5567,6 +5415,7 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz", "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", "engines": { "node": ">=0.4.x" } @@ -6563,30 +6412,6 @@ "node": ">=8" } }, - "node_modules/string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", @@ -7062,20 +6887,15 @@ } }, "node_modules/typed-rest-client": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.4.tgz", - "integrity": "sha512-MyfKKYzk3I6/QQp6e1T50py4qg+c+9BzOEl2rBmQIpStwNUoqQ73An+Tkfy9YuV7O+o2mpVVJpe+fH//POZkbg==", + "version": "1.8.9", + "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.9.tgz", + "integrity": "sha512-uSmjE38B80wjL85UFX3sTYEUlvZ1JgCRhsWj/fJ4rZ0FqDUFoIuodtiVeE+cUqiVTOKPdKrp/sdftD15MDek6g==", "dependencies": { "qs": "^6.9.1", "tunnel": "0.0.6", "underscore": "^1.12.1" } }, - "node_modules/typed-rest-client/node_modules/underscore": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz", - "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==" - }, "node_modules/typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", @@ -7098,20 +6918,6 @@ "node": ">=4.2.0" } }, - "node_modules/unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/unc-path-regex": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", @@ -7218,15 +7024,14 @@ } }, "node_modules/util": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", - "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", + "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", "is-generator-function": "^1.0.7", "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", "which-typed-array": "^1.1.2" } }, @@ -7379,21 +7184,6 @@ "node": ">= 8" } }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", @@ -7401,17 +7191,16 @@ "dev": true }, "node_modules/which-typed-array": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", - "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", "dependencies": { - "available-typed-arrays": "^1.0.2", - "call-bind": "^1.0.0", - "es-abstract": "^1.18.0-next.1", - "foreach": "^2.0.5", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.1", - "is-typed-array": "^1.1.3" + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" }, "engines": { "node": ">= 0.4" @@ -7619,9 +7408,9 @@ } }, "@actions/exec": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.0.tgz", - "integrity": "sha512-LImpN9AY0J1R1mEYJjVJfSZWU4zYOlEcwSTgPve1rFQqK5AwrEs6uWW5Rv70gbDIQIAUwI86z6B+9mPK4w9Sbg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", "requires": { "@actions/io": "^1.0.1" } @@ -8779,9 +8568,9 @@ "dev": true }, "available-typed-arrays": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.4.tgz", - "integrity": "sha512-SA5mXJWrId1TaQjfxUYghbqQ/hYioKmLJvPJyDuYRtXXenFNMjj4hSSt1Cf1xsuXSXrtxrVC5Ot4eU6cOtBDdA==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" }, "aws-sign2": { "version": "0.7.0", @@ -8796,14 +8585,14 @@ "dev": true }, "azure-actions-appservice-rest": { - "version": "1.3.9", - "resolved": "https://registry.npmjs.org/azure-actions-appservice-rest/-/azure-actions-appservice-rest-1.3.9.tgz", - "integrity": "sha512-gr7JmypfDydp6jTFpdW0TQHqarUe1zlybhHR9yDxtEOgf4qnRv3PiJN2mj21HV5UAlSaGG0q5LQQYqTSBZVmHg==", + "version": "1.3.10", + "resolved": "https://registry.npmjs.org/azure-actions-appservice-rest/-/azure-actions-appservice-rest-1.3.10.tgz", + "integrity": "sha512-FJtXEBr9PeMWH3x5SvTGvNED6Xe7scGkMVNrm6aK0fgwZMXSMFpzwEqIYSUzNYRLBzjh1ZKx8jJRqmVO8LRUFw==", "requires": { "@actions/core": "^1.1.10", "@actions/io": "^1.0.1", "@types/node": "^14.14.31", - "azure-actions-webclient": "^1.1.0", + "azure-actions-webclient": "^1.1.1", "copy": "^0.3.2", "fs": "0.0.1-security", "util": "^0.12.1", @@ -8835,9 +8624,9 @@ } }, "azure-actions-webclient": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/azure-actions-webclient/-/azure-actions-webclient-1.1.0.tgz", - "integrity": "sha512-NbTOiGCuJvLSGg18Rc/DUV2VsyI6deSCeO7Lp/81gFt/EjvrOrH+3pp8kl1CHGAvRXkwvQsyeKEMdiOBk0/5eg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/azure-actions-webclient/-/azure-actions-webclient-1.1.1.tgz", + "integrity": "sha512-g5/3fGp/8OHhfDixkZMnZ/ZNdh+WxXVgYBJx+jdRbRxRz7o1wxuRh5Rw3qJ8Zmz3H8NjAVVrVGQ9U8pgcZfGCQ==", "requires": { "@actions/core": "^1.1.3", "@actions/exec": "^1.0.1", @@ -9530,14 +9319,6 @@ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", "dev": true }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "requires": { - "object-keys": "^1.0.12" - } - }, "define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -9650,39 +9431,6 @@ "is-arrayish": "^0.2.1" } }, - "es-abstract": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz", - "integrity": "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==", - "requires": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.10.3", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.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==", - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -10021,17 +9769,20 @@ "path-exists": "^4.0.0" } }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "requires": { + "is-callable": "^1.1.3" + } + }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", "dev": true }, - "foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", @@ -10061,7 +9812,7 @@ "fs": { "version": "0.0.1-security", "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" + "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" }, "fs-constants": { "version": "1.0.0", @@ -10103,13 +9854,13 @@ "dev": true }, "get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", + "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.1" + "has-symbols": "^1.0.3" } }, "get-package-type": { @@ -10211,6 +9962,14 @@ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, + "gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "requires": { + "get-intrinsic": "^1.1.3" + } + }, "graceful-fs": { "version": "4.2.10", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", @@ -10247,11 +10006,6 @@ "function-bind": "^1.1.1" } }, - "has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==" - }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -10267,9 +10021,17 @@ } }, "has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "requires": { + "has-symbols": "^1.0.2" + } }, "has-value": { "version": "1.0.0", @@ -10459,11 +10221,12 @@ } }, "is-arguments": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", - "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", "requires": { - "call-bind": "^1.0.0" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" } }, "is-arrayish": { @@ -10472,28 +10235,15 @@ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "is-bigint": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz", - "integrity": "sha512-0JV5+SOCQkIdzjBK9buARcV804Ddu7A0Qet6sHi3FimE9ne6m4BGQZfRn+NZiXbBk4F4XmHfDZIipLj9pX8dSA==" - }, - "is-boolean-object": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.1.tgz", - "integrity": "sha512-bXdQWkECBUIAcCkeH1unwJLIpZYaa5VvuygSyS/c2lf719mTKZDU5UdDRlpd01UjADgmW8RfqaP+mRaVPdr/Ng==", - "requires": { - "call-bind": "^1.0.2" - } - }, "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, "is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==" + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" }, "is-ci": { "version": "2.0.0", @@ -10522,11 +10272,6 @@ } } }, - "is-date-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.4.tgz", - "integrity": "sha512-/b4ZVsG7Z5XVtIxs/h9W8nvfLgSAyKYdtGWQLbqy6jA1icmgjf8WCoTKgeS4wy5tYaPePouzFMANbnj94c2Z+A==" - }, "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", @@ -10574,9 +10319,12 @@ "dev": true }, "is-generator-function": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.9.tgz", - "integrity": "sha512-ZJ34p1uvIfptHCN7sFTjGibB9/oBg17sHqzDLfuwhvmN/qLVvIQXRQ8licZQ35WJ8KuEQt/etnnzQFI9C9Ue/A==" + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "requires": { + "has-tostringtag": "^1.0.0" + } }, "is-glob": { "version": "2.0.1", @@ -10586,22 +10334,12 @@ "is-extglob": "^1.0.0" } }, - "is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==" - }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, - "is-number-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.5.tgz", - "integrity": "sha512-RU0lI/n95pMoUKu9v1BZP5MBcZuNSVJkMkAG2dJqC4z2GlkGUNeH68SuHuBKBD/XFe+LHZ+f9BKkLET60Niedw==" - }, "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -10611,15 +10349,6 @@ "isobject": "^3.0.1" } }, - "is-regex": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", - "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", - "requires": { - "call-bind": "^1.0.2", - "has-symbols": "^1.0.2" - } - }, "is-relative": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-0.2.1.tgz", @@ -10634,29 +10363,16 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, - "is-string": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.6.tgz", - "integrity": "sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==" - }, - "is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "requires": { - "has-symbols": "^1.0.2" - } - }, "is-typed-array": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.5.tgz", - "integrity": "sha512-S+GRDgJlR3PyEbsX/Fobd9cqpZBuvUS+8asRqYDMLCb2qMzt1oz5m5oxQCxOgUDxiWsOVNi4yaF+/uvdlHlYug==", + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", "requires": { - "available-typed-arrays": "^1.0.2", + "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", - "es-abstract": "^1.18.0-next.2", - "foreach": "^2.0.5", - "has-symbols": "^1.0.1" + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" } }, "is-typedarray": { @@ -11831,14 +11547,9 @@ } }, "object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==" - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" }, "object-visit": { "version": "1.0.1", @@ -11849,17 +11560,6 @@ "isobject": "^3.0.0" } }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, "object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -12123,9 +11823,9 @@ "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" }, "qs": { - "version": "6.10.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", - "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.1.tgz", + "integrity": "sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==", "requires": { "side-channel": "^1.0.4" } @@ -12965,24 +12665,6 @@ "strip-ansi": "^6.0.0" } }, - "string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, "strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", @@ -13354,20 +13036,13 @@ "dev": true }, "typed-rest-client": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.4.tgz", - "integrity": "sha512-MyfKKYzk3I6/QQp6e1T50py4qg+c+9BzOEl2rBmQIpStwNUoqQ73An+Tkfy9YuV7O+o2mpVVJpe+fH//POZkbg==", + "version": "1.8.9", + "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.9.tgz", + "integrity": "sha512-uSmjE38B80wjL85UFX3sTYEUlvZ1JgCRhsWj/fJ4rZ0FqDUFoIuodtiVeE+cUqiVTOKPdKrp/sdftD15MDek6g==", "requires": { "qs": "^6.9.1", "tunnel": "0.0.6", "underscore": "^1.12.1" - }, - "dependencies": { - "underscore": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz", - "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==" - } } }, "typedarray-to-buffer": { @@ -13385,17 +13060,6 @@ "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==", "dev": true }, - "unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "requires": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - } - }, "unc-path-regex": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", @@ -13485,15 +13149,14 @@ "dev": true }, "util": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", - "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", + "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", "requires": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", "is-generator-function": "^1.0.7", "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", "which-typed-array": "^1.1.2" } }, @@ -13627,18 +13290,6 @@ "isexe": "^2.0.0" } }, - "which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, "which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", @@ -13646,17 +13297,16 @@ "dev": true }, "which-typed-array": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", - "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", "requires": { - "available-typed-arrays": "^1.0.2", - "call-bind": "^1.0.0", - "es-abstract": "^1.18.0-next.1", - "foreach": "^2.0.5", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.1", - "is-typed-array": "^1.1.3" + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" } }, "word-wrap": { diff --git a/package.json b/package.json index 40cba9e41..bcb6c62c2 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "@actions/core": "^1.10.0", "@actions/github": "^4.0.0", "actions-secret-parser": "^1.0.4", - "azure-actions-appservice-rest": "^1.3.9", + "azure-actions-appservice-rest": "^1.3.10", "azure-actions-utility": "^1.0.3", - "azure-actions-webclient": "^1.1.0" + "azure-actions-webclient": "^1.1.1" } } From 65a490309ee137a7ef5cec457d434289556a9aa3 Mon Sep 17 00:00:00 2001 From: Shashi Prakash Date: Mon, 24 Apr 2023 11:33:35 +0530 Subject: [PATCH 2/5] Updating node modules --- node_modules/.bin/acorn | 13 +- node_modules/.bin/atob | 13 +- node_modules/.bin/copy | 13 +- node_modules/.bin/copy-cli | 13 +- node_modules/.bin/decompress-zip | 13 +- node_modules/.bin/escodegen | 13 +- node_modules/.bin/esgenerate | 13 +- node_modules/.bin/esparse | 13 +- node_modules/.bin/esvalidate | 13 +- node_modules/.bin/import-local-fixture | 13 +- node_modules/.bin/is-ci | 13 +- node_modules/.bin/is-docker | 13 +- node_modules/.bin/jest | 13 +- node_modules/.bin/jest-runtime | 13 +- node_modules/.bin/js-yaml | 13 +- node_modules/.bin/jsesc | 13 +- node_modules/.bin/json5 | 13 +- node_modules/.bin/mkdirp | 13 +- node_modules/.bin/node-which | 13 +- node_modules/.bin/nopt | 13 +- node_modules/.bin/parser | 13 +- node_modules/.bin/rimraf | 13 +- node_modules/.bin/sane | 13 +- node_modules/.bin/semver | 13 +- node_modules/.bin/shjs | 13 +- node_modules/.bin/ts-jest | 13 +- node_modules/.bin/ts-node | 13 +- node_modules/.bin/ts-node-script | 13 +- node_modules/.bin/ts-node-transpile-only | 13 +- node_modules/.bin/ts-script | 13 +- node_modules/.bin/tsc | 13 +- node_modules/.bin/tsserver | 13 +- node_modules/.bin/uuid | 13 +- node_modules/.bin/watch | 13 +- node_modules/.package-lock.json | 405 +- .../@actions/core/node_modules/.bin/uuid | 13 +- node_modules/@actions/exec/package.json | 2 +- .../@babel/core/node_modules/.bin/semver | 13 +- .../acorn-globals/node_modules/.bin/acorn | 13 +- node_modules/available-typed-arrays/.eslintrc | 4 + .../available-typed-arrays/CHANGELOG.md | 10 + node_modules/available-typed-arrays/index.js | 4 +- .../available-typed-arrays/package.json | 8 +- .../Arm/azure-app-service.d.ts | 1 + .../Arm/azure-app-service.js | 3 + .../Kudu/KuduServiceClient.d.ts | 5 +- .../Kudu/KuduServiceClient.js | 7 +- .../Kudu/azure-app-kudu-service.d.ts | 5 +- .../Kudu/azure-app-kudu-service.js | 9 +- .../Utilities/AzureAppServiceUtility.js | 18 +- .../package.json | 4 +- .../AuthorizerFactory.js | 2 +- .../AzureRestClient.d.ts | 1 + .../AzureRestClient.js | 3 + .../azure-actions-webclient/package.json | 2 +- .../cross-spawn/node_modules/.bin/semver | 13 +- .../cross-spawn/node_modules/.bin/which | 13 +- node_modules/define-properties/.editorconfig | 13 - node_modules/define-properties/.eslintrc | 12 - node_modules/define-properties/.jscs.json | 175 - node_modules/define-properties/.travis.yml | 233 - node_modules/define-properties/CHANGELOG.md | 44 - node_modules/define-properties/LICENSE | 21 - node_modules/define-properties/README.md | 86 - node_modules/define-properties/index.js | 58 - node_modules/define-properties/package.json | 65 - node_modules/define-properties/test/index.js | 125 - node_modules/es-abstract/.editorconfig | 13 - node_modules/es-abstract/.eslintignore | 1 - node_modules/es-abstract/.eslintrc | 65 - node_modules/es-abstract/.gitattributes | 625 -- node_modules/es-abstract/.nycrc | 10 - .../2015/AbstractEqualityComparison.js | 37 - .../2015/AbstractRelationalComparison.js | 63 - .../es-abstract/2015/AdvanceStringIndex.js | 47 - node_modules/es-abstract/2015/ArrayCreate.js | 53 - .../es-abstract/2015/ArraySetLength.js | 85 - .../es-abstract/2015/ArraySpeciesCreate.js | 46 - node_modules/es-abstract/2015/Call.js | 20 - .../2015/CanonicalNumericIndexString.js | 22 - .../2015/CompletePropertyDescriptor.js | 39 - .../es-abstract/2015/CreateDataProperty.js | 45 - .../2015/CreateDataPropertyOrThrow.js | 25 - node_modules/es-abstract/2015/CreateHTML.js | 30 - .../2015/CreateIterResultObject.js | 19 - .../2015/CreateListFromArrayLike.js | 43 - .../es-abstract/2015/CreateMethodProperty.js | 40 - node_modules/es-abstract/2015/DateFromTime.js | 54 - node_modules/es-abstract/2015/Day.js | 11 - node_modules/es-abstract/2015/DayFromYear.js | 10 - .../es-abstract/2015/DayWithinYear.js | 11 - node_modules/es-abstract/2015/DaysInYear.js | 18 - .../es-abstract/2015/DefinePropertyOrThrow.js | 50 - .../es-abstract/2015/DeletePropertyOrThrow.js | 27 - .../es-abstract/2015/EnumerableOwnNames.js | 19 - .../2015/FromPropertyDescriptor.js | 36 - node_modules/es-abstract/2015/Get.js | 30 - node_modules/es-abstract/2015/GetIterator.js | 35 - node_modules/es-abstract/2015/GetMethod.js | 42 - .../es-abstract/2015/GetOwnPropertyKeys.js | 31 - .../2015/GetPrototypeFromConstructor.js | 28 - .../es-abstract/2015/GetSubstitution.js | 104 - node_modules/es-abstract/2015/GetV.js | 29 - .../es-abstract/2015/HasOwnProperty.js | 22 - node_modules/es-abstract/2015/HasProperty.js | 20 - node_modules/es-abstract/2015/HourFromTime.js | 14 - node_modules/es-abstract/2015/InLeapYear.js | 21 - .../es-abstract/2015/InstanceofOperator.js | 30 - node_modules/es-abstract/2015/Invoke.js | 24 - .../es-abstract/2015/IsAccessorDescriptor.js | 23 - node_modules/es-abstract/2015/IsArray.js | 14 - node_modules/es-abstract/2015/IsCallable.js | 5 - .../es-abstract/2015/IsConcatSpreadable.js | 25 - .../es-abstract/2015/IsConstructor.js | 40 - .../es-abstract/2015/IsDataDescriptor.js | 23 - node_modules/es-abstract/2015/IsExtensible.js | 20 - .../es-abstract/2015/IsGenericDescriptor.js | 23 - node_modules/es-abstract/2015/IsInteger.js | 17 - node_modules/es-abstract/2015/IsPromise.js | 24 - .../es-abstract/2015/IsPropertyDescriptor.js | 19 - .../es-abstract/2015/IsPropertyKey.js | 7 - node_modules/es-abstract/2015/IsRegExp.js | 24 - .../es-abstract/2015/IteratorClose.js | 50 - .../es-abstract/2015/IteratorComplete.js | 18 - node_modules/es-abstract/2015/IteratorNext.js | 18 - node_modules/es-abstract/2015/IteratorStep.js | 13 - .../es-abstract/2015/IteratorValue.js | 18 - node_modules/es-abstract/2015/MakeDate.js | 13 - node_modules/es-abstract/2015/MakeDay.js | 33 - node_modules/es-abstract/2015/MakeTime.js | 23 - node_modules/es-abstract/2015/MinFromTime.js | 14 - .../es-abstract/2015/MonthFromTime.js | 47 - node_modules/es-abstract/2015/ObjectCreate.js | 37 - .../2015/OrdinaryCreateFromConstructor.js | 20 - .../2015/OrdinaryDefineOwnProperty.js | 61 - .../2015/OrdinaryGetOwnProperty.js | 44 - .../es-abstract/2015/OrdinaryHasInstance.js | 25 - .../es-abstract/2015/OrdinaryHasProperty.js | 20 - .../es-abstract/2015/QuoteJSONString.js | 52 - node_modules/es-abstract/2015/RegExpCreate.js | 21 - node_modules/es-abstract/2015/RegExpExec.js | 32 - .../2015/RequireObjectCoercible.js | 3 - node_modules/es-abstract/2015/SameValue.js | 13 - .../es-abstract/2015/SameValueZero.js | 9 - node_modules/es-abstract/2015/SecFromTime.js | 14 - node_modules/es-abstract/2015/Set.js | 47 - .../es-abstract/2015/SetFunctionName.js | 44 - .../es-abstract/2015/SetIntegrityLevel.js | 57 - .../es-abstract/2015/SpeciesConstructor.js | 32 - node_modules/es-abstract/2015/SplitMatch.js | 38 - .../2015/StrictEqualityComparison.js | 17 - node_modules/es-abstract/2015/StringCreate.js | 40 - .../2015/StringGetIndexProperty.js | 52 - .../2015/SymbolDescriptiveString.js | 20 - .../es-abstract/2015/TestIntegrityLevel.js | 42 - node_modules/es-abstract/2015/TimeClip.js | 21 - node_modules/es-abstract/2015/TimeFromYear.js | 11 - .../es-abstract/2015/TimeWithinDay.js | 12 - node_modules/es-abstract/2015/ToBoolean.js | 5 - node_modules/es-abstract/2015/ToDateString.js | 22 - node_modules/es-abstract/2015/ToInt16.js | 10 - node_modules/es-abstract/2015/ToInt32.js | 9 - node_modules/es-abstract/2015/ToInt8.js | 10 - node_modules/es-abstract/2015/ToInteger.js | 12 - node_modules/es-abstract/2015/ToLength.js | 12 - node_modules/es-abstract/2015/ToNumber.js | 59 - node_modules/es-abstract/2015/ToObject.js | 14 - node_modules/es-abstract/2015/ToPrimitive.js | 12 - .../es-abstract/2015/ToPropertyDescriptor.js | 52 - .../es-abstract/2015/ToPropertyKey.js | 15 - node_modules/es-abstract/2015/ToString.js | 15 - node_modules/es-abstract/2015/ToUint16.js | 19 - node_modules/es-abstract/2015/ToUint32.js | 9 - node_modules/es-abstract/2015/ToUint8.js | 20 - node_modules/es-abstract/2015/ToUint8Clamp.js | 19 - node_modules/es-abstract/2015/Type.js | 12 - .../ValidateAndApplyPropertyDescriptor.js | 170 - node_modules/es-abstract/2015/WeekDay.js | 10 - node_modules/es-abstract/2015/YearFromTime.js | 16 - node_modules/es-abstract/2015/abs.js | 11 - node_modules/es-abstract/2015/floor.js | 11 - node_modules/es-abstract/2015/modulo.js | 9 - node_modules/es-abstract/2015/msFromTime.js | 11 - .../es-abstract/2015/thisBooleanValue.js | 15 - .../es-abstract/2015/thisNumberValue.js | 18 - .../es-abstract/2015/thisStringValue.js | 15 - .../es-abstract/2015/thisTimeValue.js | 9 - .../2016/AbstractEqualityComparison.js | 37 - .../2016/AbstractRelationalComparison.js | 63 - .../es-abstract/2016/AdvanceStringIndex.js | 47 - node_modules/es-abstract/2016/ArrayCreate.js | 53 - .../es-abstract/2016/ArraySetLength.js | 85 - .../es-abstract/2016/ArraySpeciesCreate.js | 46 - node_modules/es-abstract/2016/Call.js | 20 - .../2016/CanonicalNumericIndexString.js | 22 - .../2016/CompletePropertyDescriptor.js | 39 - .../es-abstract/2016/CreateDataProperty.js | 45 - .../2016/CreateDataPropertyOrThrow.js | 25 - node_modules/es-abstract/2016/CreateHTML.js | 30 - .../2016/CreateIterResultObject.js | 19 - .../2016/CreateListFromArrayLike.js | 43 - .../es-abstract/2016/CreateMethodProperty.js | 40 - node_modules/es-abstract/2016/DateFromTime.js | 54 - node_modules/es-abstract/2016/Day.js | 11 - node_modules/es-abstract/2016/DayFromYear.js | 10 - .../es-abstract/2016/DayWithinYear.js | 11 - node_modules/es-abstract/2016/DaysInYear.js | 18 - .../es-abstract/2016/DefinePropertyOrThrow.js | 50 - .../es-abstract/2016/DeletePropertyOrThrow.js | 27 - .../es-abstract/2016/EnumerableOwnNames.js | 19 - .../2016/FromPropertyDescriptor.js | 36 - node_modules/es-abstract/2016/Get.js | 30 - node_modules/es-abstract/2016/GetIterator.js | 35 - node_modules/es-abstract/2016/GetMethod.js | 42 - .../es-abstract/2016/GetOwnPropertyKeys.js | 31 - .../2016/GetPrototypeFromConstructor.js | 28 - .../es-abstract/2016/GetSubstitution.js | 104 - node_modules/es-abstract/2016/GetV.js | 29 - .../es-abstract/2016/HasOwnProperty.js | 22 - node_modules/es-abstract/2016/HasProperty.js | 20 - node_modules/es-abstract/2016/HourFromTime.js | 14 - node_modules/es-abstract/2016/InLeapYear.js | 21 - .../es-abstract/2016/InstanceofOperator.js | 30 - node_modules/es-abstract/2016/Invoke.js | 24 - .../es-abstract/2016/IsAccessorDescriptor.js | 23 - node_modules/es-abstract/2016/IsArray.js | 14 - node_modules/es-abstract/2016/IsCallable.js | 5 - .../es-abstract/2016/IsConcatSpreadable.js | 25 - .../es-abstract/2016/IsConstructor.js | 40 - .../es-abstract/2016/IsDataDescriptor.js | 23 - node_modules/es-abstract/2016/IsExtensible.js | 20 - .../es-abstract/2016/IsGenericDescriptor.js | 23 - node_modules/es-abstract/2016/IsInteger.js | 17 - node_modules/es-abstract/2016/IsPromise.js | 24 - .../es-abstract/2016/IsPropertyDescriptor.js | 19 - .../es-abstract/2016/IsPropertyKey.js | 7 - node_modules/es-abstract/2016/IsRegExp.js | 24 - .../es-abstract/2016/IterableToArrayLike.js | 56 - .../es-abstract/2016/IteratorClose.js | 50 - .../es-abstract/2016/IteratorComplete.js | 18 - node_modules/es-abstract/2016/IteratorNext.js | 18 - node_modules/es-abstract/2016/IteratorStep.js | 13 - .../es-abstract/2016/IteratorValue.js | 18 - node_modules/es-abstract/2016/MakeDate.js | 13 - node_modules/es-abstract/2016/MakeDay.js | 33 - node_modules/es-abstract/2016/MakeTime.js | 23 - node_modules/es-abstract/2016/MinFromTime.js | 14 - .../es-abstract/2016/MonthFromTime.js | 47 - node_modules/es-abstract/2016/ObjectCreate.js | 37 - .../2016/OrdinaryCreateFromConstructor.js | 20 - .../2016/OrdinaryDefineOwnProperty.js | 61 - .../2016/OrdinaryGetOwnProperty.js | 44 - .../2016/OrdinaryGetPrototypeOf.js | 21 - .../es-abstract/2016/OrdinaryHasInstance.js | 25 - .../es-abstract/2016/OrdinaryHasProperty.js | 20 - .../2016/OrdinarySetPrototypeOf.js | 53 - .../es-abstract/2016/QuoteJSONString.js | 52 - node_modules/es-abstract/2016/RegExpCreate.js | 21 - node_modules/es-abstract/2016/RegExpExec.js | 32 - .../2016/RequireObjectCoercible.js | 3 - node_modules/es-abstract/2016/SameValue.js | 13 - .../es-abstract/2016/SameValueNonNumber.js | 16 - .../es-abstract/2016/SameValueZero.js | 9 - node_modules/es-abstract/2016/SecFromTime.js | 14 - node_modules/es-abstract/2016/Set.js | 47 - .../es-abstract/2016/SetFunctionName.js | 44 - .../es-abstract/2016/SetIntegrityLevel.js | 57 - .../es-abstract/2016/SpeciesConstructor.js | 32 - node_modules/es-abstract/2016/SplitMatch.js | 38 - .../2016/StrictEqualityComparison.js | 17 - node_modules/es-abstract/2016/StringCreate.js | 40 - .../2016/SymbolDescriptiveString.js | 20 - .../es-abstract/2016/TestIntegrityLevel.js | 42 - node_modules/es-abstract/2016/TimeClip.js | 21 - node_modules/es-abstract/2016/TimeFromYear.js | 11 - .../es-abstract/2016/TimeWithinDay.js | 12 - node_modules/es-abstract/2016/ToBoolean.js | 5 - node_modules/es-abstract/2016/ToDateString.js | 22 - node_modules/es-abstract/2016/ToInt16.js | 10 - node_modules/es-abstract/2016/ToInt32.js | 9 - node_modules/es-abstract/2016/ToInt8.js | 10 - node_modules/es-abstract/2016/ToInteger.js | 12 - node_modules/es-abstract/2016/ToLength.js | 12 - node_modules/es-abstract/2016/ToNumber.js | 59 - node_modules/es-abstract/2016/ToObject.js | 14 - node_modules/es-abstract/2016/ToPrimitive.js | 12 - .../es-abstract/2016/ToPropertyDescriptor.js | 52 - .../es-abstract/2016/ToPropertyKey.js | 15 - node_modules/es-abstract/2016/ToString.js | 15 - node_modules/es-abstract/2016/ToUint16.js | 19 - node_modules/es-abstract/2016/ToUint32.js | 9 - node_modules/es-abstract/2016/ToUint8.js | 20 - node_modules/es-abstract/2016/ToUint8Clamp.js | 19 - node_modules/es-abstract/2016/Type.js | 12 - node_modules/es-abstract/2016/UTF16Decode.js | 21 - .../es-abstract/2016/UTF16Encoding.js | 25 - .../ValidateAndApplyPropertyDescriptor.js | 170 - node_modules/es-abstract/2016/WeekDay.js | 10 - node_modules/es-abstract/2016/YearFromTime.js | 16 - node_modules/es-abstract/2016/abs.js | 11 - node_modules/es-abstract/2016/floor.js | 11 - node_modules/es-abstract/2016/modulo.js | 9 - node_modules/es-abstract/2016/msFromTime.js | 11 - .../es-abstract/2016/thisBooleanValue.js | 15 - .../es-abstract/2016/thisNumberValue.js | 18 - .../es-abstract/2016/thisStringValue.js | 15 - .../es-abstract/2016/thisTimeValue.js | 9 - .../2017/AbstractEqualityComparison.js | 37 - .../2017/AbstractRelationalComparison.js | 63 - .../es-abstract/2017/AdvanceStringIndex.js | 47 - node_modules/es-abstract/2017/ArrayCreate.js | 53 - .../es-abstract/2017/ArraySetLength.js | 85 - .../es-abstract/2017/ArraySpeciesCreate.js | 46 - node_modules/es-abstract/2017/Call.js | 20 - .../2017/CanonicalNumericIndexString.js | 22 - .../2017/CompletePropertyDescriptor.js | 39 - .../es-abstract/2017/CreateDataProperty.js | 45 - .../2017/CreateDataPropertyOrThrow.js | 25 - node_modules/es-abstract/2017/CreateHTML.js | 30 - .../2017/CreateIterResultObject.js | 19 - .../2017/CreateListFromArrayLike.js | 43 - .../es-abstract/2017/CreateMethodProperty.js | 40 - node_modules/es-abstract/2017/DateFromTime.js | 54 - node_modules/es-abstract/2017/Day.js | 11 - node_modules/es-abstract/2017/DayFromYear.js | 10 - .../es-abstract/2017/DayWithinYear.js | 11 - node_modules/es-abstract/2017/DaysInYear.js | 18 - .../es-abstract/2017/DefinePropertyOrThrow.js | 50 - .../es-abstract/2017/DeletePropertyOrThrow.js | 27 - .../2017/EnumerableOwnProperties.js | 43 - .../2017/FromPropertyDescriptor.js | 36 - node_modules/es-abstract/2017/Get.js | 30 - node_modules/es-abstract/2017/GetIterator.js | 35 - node_modules/es-abstract/2017/GetMethod.js | 42 - .../es-abstract/2017/GetOwnPropertyKeys.js | 31 - .../2017/GetPrototypeFromConstructor.js | 28 - .../es-abstract/2017/GetSubstitution.js | 104 - node_modules/es-abstract/2017/GetV.js | 29 - .../es-abstract/2017/HasOwnProperty.js | 22 - node_modules/es-abstract/2017/HasProperty.js | 20 - node_modules/es-abstract/2017/HourFromTime.js | 14 - node_modules/es-abstract/2017/InLeapYear.js | 21 - .../es-abstract/2017/InstanceofOperator.js | 30 - node_modules/es-abstract/2017/Invoke.js | 24 - .../es-abstract/2017/IsAccessorDescriptor.js | 23 - node_modules/es-abstract/2017/IsArray.js | 14 - node_modules/es-abstract/2017/IsCallable.js | 5 - .../es-abstract/2017/IsConcatSpreadable.js | 25 - .../es-abstract/2017/IsConstructor.js | 40 - .../es-abstract/2017/IsDataDescriptor.js | 23 - node_modules/es-abstract/2017/IsExtensible.js | 20 - .../es-abstract/2017/IsGenericDescriptor.js | 23 - node_modules/es-abstract/2017/IsInteger.js | 17 - node_modules/es-abstract/2017/IsPromise.js | 24 - .../es-abstract/2017/IsPropertyDescriptor.js | 19 - .../es-abstract/2017/IsPropertyKey.js | 7 - node_modules/es-abstract/2017/IsRegExp.js | 24 - .../es-abstract/2017/IterableToList.js | 24 - .../es-abstract/2017/IteratorClose.js | 50 - .../es-abstract/2017/IteratorComplete.js | 18 - node_modules/es-abstract/2017/IteratorNext.js | 18 - node_modules/es-abstract/2017/IteratorStep.js | 13 - .../es-abstract/2017/IteratorValue.js | 18 - node_modules/es-abstract/2017/MakeDate.js | 13 - node_modules/es-abstract/2017/MakeDay.js | 33 - node_modules/es-abstract/2017/MakeTime.js | 23 - node_modules/es-abstract/2017/MinFromTime.js | 14 - .../es-abstract/2017/MonthFromTime.js | 47 - node_modules/es-abstract/2017/ObjectCreate.js | 37 - .../2017/OrdinaryCreateFromConstructor.js | 20 - .../2017/OrdinaryDefineOwnProperty.js | 61 - .../2017/OrdinaryGetOwnProperty.js | 44 - .../2017/OrdinaryGetPrototypeOf.js | 21 - .../es-abstract/2017/OrdinaryHasInstance.js | 25 - .../es-abstract/2017/OrdinaryHasProperty.js | 20 - .../2017/OrdinarySetPrototypeOf.js | 53 - .../es-abstract/2017/QuoteJSONString.js | 52 - node_modules/es-abstract/2017/RegExpCreate.js | 21 - node_modules/es-abstract/2017/RegExpExec.js | 32 - .../2017/RequireObjectCoercible.js | 3 - node_modules/es-abstract/2017/SameValue.js | 13 - .../es-abstract/2017/SameValueNonNumber.js | 16 - .../es-abstract/2017/SameValueZero.js | 9 - node_modules/es-abstract/2017/SecFromTime.js | 14 - node_modules/es-abstract/2017/Set.js | 47 - .../es-abstract/2017/SetFunctionName.js | 44 - .../es-abstract/2017/SetIntegrityLevel.js | 57 - .../es-abstract/2017/SpeciesConstructor.js | 32 - node_modules/es-abstract/2017/SplitMatch.js | 38 - .../2017/StrictEqualityComparison.js | 17 - node_modules/es-abstract/2017/StringCreate.js | 40 - .../es-abstract/2017/StringGetOwnProperty.js | 48 - .../2017/SymbolDescriptiveString.js | 20 - .../es-abstract/2017/TestIntegrityLevel.js | 42 - node_modules/es-abstract/2017/TimeClip.js | 21 - node_modules/es-abstract/2017/TimeFromYear.js | 11 - .../es-abstract/2017/TimeWithinDay.js | 12 - node_modules/es-abstract/2017/ToBoolean.js | 5 - node_modules/es-abstract/2017/ToDateString.js | 22 - node_modules/es-abstract/2017/ToIndex.js | 26 - node_modules/es-abstract/2017/ToInt16.js | 10 - node_modules/es-abstract/2017/ToInt32.js | 9 - node_modules/es-abstract/2017/ToInt8.js | 10 - node_modules/es-abstract/2017/ToInteger.js | 12 - node_modules/es-abstract/2017/ToLength.js | 12 - node_modules/es-abstract/2017/ToNumber.js | 59 - node_modules/es-abstract/2017/ToObject.js | 14 - node_modules/es-abstract/2017/ToPrimitive.js | 12 - .../es-abstract/2017/ToPropertyDescriptor.js | 52 - .../es-abstract/2017/ToPropertyKey.js | 15 - node_modules/es-abstract/2017/ToString.js | 15 - node_modules/es-abstract/2017/ToUint16.js | 19 - node_modules/es-abstract/2017/ToUint32.js | 9 - node_modules/es-abstract/2017/ToUint8.js | 20 - node_modules/es-abstract/2017/ToUint8Clamp.js | 19 - node_modules/es-abstract/2017/Type.js | 12 - node_modules/es-abstract/2017/UTF16Decode.js | 21 - .../es-abstract/2017/UTF16Encoding.js | 25 - .../ValidateAndApplyPropertyDescriptor.js | 170 - node_modules/es-abstract/2017/WeekDay.js | 10 - node_modules/es-abstract/2017/YearFromTime.js | 16 - node_modules/es-abstract/2017/abs.js | 11 - node_modules/es-abstract/2017/floor.js | 11 - node_modules/es-abstract/2017/modulo.js | 9 - node_modules/es-abstract/2017/msFromTime.js | 11 - .../es-abstract/2017/thisBooleanValue.js | 15 - .../es-abstract/2017/thisNumberValue.js | 18 - .../es-abstract/2017/thisStringValue.js | 15 - .../es-abstract/2017/thisTimeValue.js | 9 - .../2018/AbstractEqualityComparison.js | 37 - .../2018/AbstractRelationalComparison.js | 63 - .../es-abstract/2018/AdvanceStringIndex.js | 47 - node_modules/es-abstract/2018/ArrayCreate.js | 53 - .../es-abstract/2018/ArraySetLength.js | 85 - .../es-abstract/2018/ArraySpeciesCreate.js | 46 - node_modules/es-abstract/2018/Call.js | 20 - .../2018/CanonicalNumericIndexString.js | 22 - .../2018/CompletePropertyDescriptor.js | 39 - .../es-abstract/2018/CopyDataProperties.js | 68 - .../es-abstract/2018/CreateDataProperty.js | 45 - .../2018/CreateDataPropertyOrThrow.js | 25 - node_modules/es-abstract/2018/CreateHTML.js | 30 - .../2018/CreateIterResultObject.js | 19 - .../2018/CreateListFromArrayLike.js | 43 - .../es-abstract/2018/CreateMethodProperty.js | 40 - node_modules/es-abstract/2018/DateFromTime.js | 54 - node_modules/es-abstract/2018/DateString.js | 30 - node_modules/es-abstract/2018/Day.js | 11 - node_modules/es-abstract/2018/DayFromYear.js | 10 - .../es-abstract/2018/DayWithinYear.js | 11 - node_modules/es-abstract/2018/DaysInYear.js | 18 - .../es-abstract/2018/DefinePropertyOrThrow.js | 50 - .../es-abstract/2018/DeletePropertyOrThrow.js | 27 - .../2018/EnumerableOwnPropertyNames.js | 43 - .../2018/FromPropertyDescriptor.js | 36 - node_modules/es-abstract/2018/Get.js | 30 - node_modules/es-abstract/2018/GetIterator.js | 35 - node_modules/es-abstract/2018/GetMethod.js | 42 - .../es-abstract/2018/GetOwnPropertyKeys.js | 31 - .../2018/GetPrototypeFromConstructor.js | 28 - .../es-abstract/2018/GetSubstitution.js | 128 - node_modules/es-abstract/2018/GetV.js | 29 - .../es-abstract/2018/HasOwnProperty.js | 22 - node_modules/es-abstract/2018/HasProperty.js | 20 - node_modules/es-abstract/2018/HourFromTime.js | 14 - node_modules/es-abstract/2018/InLeapYear.js | 21 - .../es-abstract/2018/InstanceofOperator.js | 30 - node_modules/es-abstract/2018/Invoke.js | 24 - .../es-abstract/2018/IsAccessorDescriptor.js | 23 - node_modules/es-abstract/2018/IsArray.js | 14 - node_modules/es-abstract/2018/IsCallable.js | 5 - .../es-abstract/2018/IsConcatSpreadable.js | 25 - .../es-abstract/2018/IsConstructor.js | 40 - .../es-abstract/2018/IsDataDescriptor.js | 23 - node_modules/es-abstract/2018/IsExtensible.js | 20 - .../es-abstract/2018/IsGenericDescriptor.js | 23 - node_modules/es-abstract/2018/IsInteger.js | 17 - node_modules/es-abstract/2018/IsPromise.js | 24 - .../es-abstract/2018/IsPropertyKey.js | 7 - node_modules/es-abstract/2018/IsRegExp.js | 24 - .../es-abstract/2018/IsStringPrefix.js | 47 - .../es-abstract/2018/IterableToList.js | 24 - .../es-abstract/2018/IteratorClose.js | 50 - .../es-abstract/2018/IteratorComplete.js | 18 - node_modules/es-abstract/2018/IteratorNext.js | 18 - node_modules/es-abstract/2018/IteratorStep.js | 13 - .../es-abstract/2018/IteratorValue.js | 18 - node_modules/es-abstract/2018/MakeDate.js | 13 - node_modules/es-abstract/2018/MakeDay.js | 33 - node_modules/es-abstract/2018/MakeTime.js | 23 - node_modules/es-abstract/2018/MinFromTime.js | 14 - .../es-abstract/2018/MonthFromTime.js | 47 - .../es-abstract/2018/NumberToString.js | 19 - node_modules/es-abstract/2018/ObjectCreate.js | 37 - .../2018/OrdinaryCreateFromConstructor.js | 20 - .../2018/OrdinaryDefineOwnProperty.js | 61 - .../2018/OrdinaryGetOwnProperty.js | 44 - .../2018/OrdinaryGetPrototypeOf.js | 21 - .../es-abstract/2018/OrdinaryHasInstance.js | 25 - .../es-abstract/2018/OrdinaryHasProperty.js | 20 - .../2018/OrdinarySetPrototypeOf.js | 53 - .../es-abstract/2018/PromiseResolve.js | 17 - .../es-abstract/2018/QuoteJSONString.js | 48 - node_modules/es-abstract/2018/RegExpCreate.js | 21 - node_modules/es-abstract/2018/RegExpExec.js | 32 - .../2018/RequireObjectCoercible.js | 3 - node_modules/es-abstract/2018/SameValue.js | 13 - .../es-abstract/2018/SameValueNonNumber.js | 16 - .../es-abstract/2018/SameValueZero.js | 9 - node_modules/es-abstract/2018/SecFromTime.js | 14 - node_modules/es-abstract/2018/Set.js | 47 - .../es-abstract/2018/SetFunctionLength.js | 31 - .../es-abstract/2018/SetFunctionName.js | 44 - .../es-abstract/2018/SetIntegrityLevel.js | 57 - .../es-abstract/2018/SpeciesConstructor.js | 32 - node_modules/es-abstract/2018/SplitMatch.js | 38 - .../2018/StrictEqualityComparison.js | 17 - node_modules/es-abstract/2018/StringCreate.js | 40 - .../es-abstract/2018/StringGetOwnProperty.js | 48 - .../2018/SymbolDescriptiveString.js | 20 - .../es-abstract/2018/TestIntegrityLevel.js | 42 - node_modules/es-abstract/2018/TimeClip.js | 21 - node_modules/es-abstract/2018/TimeFromYear.js | 11 - node_modules/es-abstract/2018/TimeString.js | 25 - .../es-abstract/2018/TimeWithinDay.js | 12 - node_modules/es-abstract/2018/ToBoolean.js | 5 - node_modules/es-abstract/2018/ToDateString.js | 22 - node_modules/es-abstract/2018/ToIndex.js | 26 - node_modules/es-abstract/2018/ToInt16.js | 10 - node_modules/es-abstract/2018/ToInt32.js | 9 - node_modules/es-abstract/2018/ToInt8.js | 10 - node_modules/es-abstract/2018/ToInteger.js | 12 - node_modules/es-abstract/2018/ToLength.js | 12 - node_modules/es-abstract/2018/ToNumber.js | 59 - node_modules/es-abstract/2018/ToObject.js | 14 - node_modules/es-abstract/2018/ToPrimitive.js | 12 - .../es-abstract/2018/ToPropertyDescriptor.js | 52 - .../es-abstract/2018/ToPropertyKey.js | 15 - node_modules/es-abstract/2018/ToString.js | 15 - node_modules/es-abstract/2018/ToUint16.js | 19 - node_modules/es-abstract/2018/ToUint32.js | 9 - node_modules/es-abstract/2018/ToUint8.js | 20 - node_modules/es-abstract/2018/ToUint8Clamp.js | 19 - node_modules/es-abstract/2018/Type.js | 12 - node_modules/es-abstract/2018/UTF16Decode.js | 21 - .../es-abstract/2018/UTF16Encoding.js | 25 - .../es-abstract/2018/UnicodeEscape.js | 26 - .../ValidateAndApplyPropertyDescriptor.js | 170 - node_modules/es-abstract/2018/WeekDay.js | 10 - node_modules/es-abstract/2018/YearFromTime.js | 16 - node_modules/es-abstract/2018/abs.js | 11 - node_modules/es-abstract/2018/floor.js | 11 - node_modules/es-abstract/2018/modulo.js | 9 - node_modules/es-abstract/2018/msFromTime.js | 11 - .../es-abstract/2018/thisBooleanValue.js | 15 - .../es-abstract/2018/thisNumberValue.js | 18 - .../es-abstract/2018/thisStringValue.js | 15 - .../es-abstract/2018/thisSymbolValue.js | 19 - .../es-abstract/2018/thisTimeValue.js | 9 - .../2019/AbstractEqualityComparison.js | 37 - .../2019/AbstractRelationalComparison.js | 63 - .../2019/AddEntriesFromIterable.js | 52 - .../es-abstract/2019/AdvanceStringIndex.js | 47 - node_modules/es-abstract/2019/ArrayCreate.js | 53 - .../es-abstract/2019/ArraySetLength.js | 85 - .../es-abstract/2019/ArraySpeciesCreate.js | 46 - node_modules/es-abstract/2019/Call.js | 20 - .../2019/CanonicalNumericIndexString.js | 22 - .../2019/CompletePropertyDescriptor.js | 39 - .../es-abstract/2019/CopyDataProperties.js | 68 - .../es-abstract/2019/CreateDataProperty.js | 45 - .../2019/CreateDataPropertyOrThrow.js | 25 - node_modules/es-abstract/2019/CreateHTML.js | 30 - .../2019/CreateIterResultObject.js | 19 - .../2019/CreateListFromArrayLike.js | 43 - .../es-abstract/2019/CreateMethodProperty.js | 40 - node_modules/es-abstract/2019/DateFromTime.js | 54 - node_modules/es-abstract/2019/DateString.js | 30 - node_modules/es-abstract/2019/Day.js | 11 - node_modules/es-abstract/2019/DayFromYear.js | 10 - .../es-abstract/2019/DayWithinYear.js | 11 - node_modules/es-abstract/2019/DaysInYear.js | 18 - .../es-abstract/2019/DefinePropertyOrThrow.js | 50 - .../es-abstract/2019/DeletePropertyOrThrow.js | 27 - .../2019/EnumerableOwnPropertyNames.js | 43 - .../es-abstract/2019/FlattenIntoArray.js | 58 - .../2019/FromPropertyDescriptor.js | 36 - node_modules/es-abstract/2019/Get.js | 30 - node_modules/es-abstract/2019/GetIterator.js | 35 - node_modules/es-abstract/2019/GetMethod.js | 42 - .../es-abstract/2019/GetOwnPropertyKeys.js | 31 - .../2019/GetPrototypeFromConstructor.js | 28 - .../es-abstract/2019/GetSubstitution.js | 128 - node_modules/es-abstract/2019/GetV.js | 29 - .../es-abstract/2019/HasOwnProperty.js | 22 - node_modules/es-abstract/2019/HasProperty.js | 20 - node_modules/es-abstract/2019/HourFromTime.js | 14 - node_modules/es-abstract/2019/InLeapYear.js | 21 - .../es-abstract/2019/InstanceofOperator.js | 30 - node_modules/es-abstract/2019/Invoke.js | 24 - .../es-abstract/2019/IsAccessorDescriptor.js | 23 - node_modules/es-abstract/2019/IsArray.js | 14 - node_modules/es-abstract/2019/IsCallable.js | 5 - .../es-abstract/2019/IsConcatSpreadable.js | 25 - .../es-abstract/2019/IsConstructor.js | 40 - .../es-abstract/2019/IsDataDescriptor.js | 23 - node_modules/es-abstract/2019/IsExtensible.js | 20 - .../es-abstract/2019/IsGenericDescriptor.js | 23 - node_modules/es-abstract/2019/IsInteger.js | 17 - node_modules/es-abstract/2019/IsPromise.js | 24 - .../es-abstract/2019/IsPropertyKey.js | 7 - node_modules/es-abstract/2019/IsRegExp.js | 24 - .../es-abstract/2019/IsStringPrefix.js | 47 - .../es-abstract/2019/IterableToList.js | 24 - .../es-abstract/2019/IteratorClose.js | 50 - .../es-abstract/2019/IteratorComplete.js | 18 - node_modules/es-abstract/2019/IteratorNext.js | 18 - node_modules/es-abstract/2019/IteratorStep.js | 13 - .../es-abstract/2019/IteratorValue.js | 18 - node_modules/es-abstract/2019/MakeDate.js | 13 - node_modules/es-abstract/2019/MakeDay.js | 33 - node_modules/es-abstract/2019/MakeTime.js | 23 - node_modules/es-abstract/2019/MinFromTime.js | 14 - .../es-abstract/2019/MonthFromTime.js | 47 - .../es-abstract/2019/NumberToString.js | 19 - node_modules/es-abstract/2019/ObjectCreate.js | 37 - .../2019/OrdinaryCreateFromConstructor.js | 20 - .../2019/OrdinaryDefineOwnProperty.js | 61 - .../2019/OrdinaryGetOwnProperty.js | 44 - .../2019/OrdinaryGetPrototypeOf.js | 21 - .../es-abstract/2019/OrdinaryHasInstance.js | 25 - .../es-abstract/2019/OrdinaryHasProperty.js | 20 - .../2019/OrdinarySetPrototypeOf.js | 53 - .../es-abstract/2019/PromiseResolve.js | 17 - .../es-abstract/2019/QuoteJSONString.js | 54 - node_modules/es-abstract/2019/RegExpCreate.js | 21 - node_modules/es-abstract/2019/RegExpExec.js | 32 - .../2019/RequireObjectCoercible.js | 3 - node_modules/es-abstract/2019/SameValue.js | 13 - .../es-abstract/2019/SameValueNonNumber.js | 16 - .../es-abstract/2019/SameValueZero.js | 9 - node_modules/es-abstract/2019/SecFromTime.js | 14 - node_modules/es-abstract/2019/Set.js | 47 - .../es-abstract/2019/SetFunctionLength.js | 31 - .../es-abstract/2019/SetFunctionName.js | 44 - .../es-abstract/2019/SetIntegrityLevel.js | 57 - .../es-abstract/2019/SpeciesConstructor.js | 32 - node_modules/es-abstract/2019/SplitMatch.js | 38 - .../2019/StrictEqualityComparison.js | 17 - node_modules/es-abstract/2019/StringCreate.js | 40 - .../es-abstract/2019/StringGetOwnProperty.js | 48 - .../2019/SymbolDescriptiveString.js | 20 - .../es-abstract/2019/TestIntegrityLevel.js | 42 - node_modules/es-abstract/2019/TimeClip.js | 21 - node_modules/es-abstract/2019/TimeFromYear.js | 11 - node_modules/es-abstract/2019/TimeString.js | 25 - .../es-abstract/2019/TimeWithinDay.js | 12 - node_modules/es-abstract/2019/ToBoolean.js | 5 - node_modules/es-abstract/2019/ToDateString.js | 22 - node_modules/es-abstract/2019/ToIndex.js | 26 - node_modules/es-abstract/2019/ToInt16.js | 10 - node_modules/es-abstract/2019/ToInt32.js | 9 - node_modules/es-abstract/2019/ToInt8.js | 10 - node_modules/es-abstract/2019/ToInteger.js | 12 - node_modules/es-abstract/2019/ToLength.js | 12 - node_modules/es-abstract/2019/ToNumber.js | 59 - node_modules/es-abstract/2019/ToObject.js | 14 - node_modules/es-abstract/2019/ToPrimitive.js | 12 - .../es-abstract/2019/ToPropertyDescriptor.js | 52 - .../es-abstract/2019/ToPropertyKey.js | 15 - node_modules/es-abstract/2019/ToString.js | 15 - node_modules/es-abstract/2019/ToUint16.js | 19 - node_modules/es-abstract/2019/ToUint32.js | 9 - node_modules/es-abstract/2019/ToUint8.js | 20 - node_modules/es-abstract/2019/ToUint8Clamp.js | 19 - node_modules/es-abstract/2019/TrimString.js | 29 - node_modules/es-abstract/2019/Type.js | 12 - node_modules/es-abstract/2019/UTF16Decode.js | 21 - .../es-abstract/2019/UTF16Encoding.js | 25 - .../es-abstract/2019/UnicodeEscape.js | 26 - .../ValidateAndApplyPropertyDescriptor.js | 170 - node_modules/es-abstract/2019/WeekDay.js | 10 - node_modules/es-abstract/2019/YearFromTime.js | 16 - node_modules/es-abstract/2019/abs.js | 11 - node_modules/es-abstract/2019/floor.js | 11 - node_modules/es-abstract/2019/modulo.js | 9 - node_modules/es-abstract/2019/msFromTime.js | 11 - .../es-abstract/2019/thisBooleanValue.js | 15 - .../es-abstract/2019/thisNumberValue.js | 18 - .../es-abstract/2019/thisStringValue.js | 15 - .../es-abstract/2019/thisSymbolValue.js | 19 - .../es-abstract/2019/thisTimeValue.js | 3 - .../2020/AbstractEqualityComparison.js | 37 - .../2020/AbstractRelationalComparison.js | 63 - .../2020/AddEntriesFromIterable.js | 52 - .../es-abstract/2020/AdvanceStringIndex.js | 34 - node_modules/es-abstract/2020/ArrayCreate.js | 53 - .../es-abstract/2020/ArraySetLength.js | 85 - .../es-abstract/2020/ArraySpeciesCreate.js | 46 - node_modules/es-abstract/2020/BigInt/add.js | 18 - .../es-abstract/2020/BigInt/bitwiseAND.js | 17 - .../es-abstract/2020/BigInt/bitwiseNOT.js | 17 - .../es-abstract/2020/BigInt/bitwiseOR.js | 17 - .../es-abstract/2020/BigInt/bitwiseXOR.js | 17 - .../es-abstract/2020/BigInt/divide.js | 22 - node_modules/es-abstract/2020/BigInt/equal.js | 17 - .../es-abstract/2020/BigInt/exponentiate.js | 31 - node_modules/es-abstract/2020/BigInt/index.js | 43 - .../es-abstract/2020/BigInt/leftShift.js | 18 - .../es-abstract/2020/BigInt/lessThan.js | 18 - .../es-abstract/2020/BigInt/multiply.js | 18 - .../es-abstract/2020/BigInt/remainder.js | 30 - .../es-abstract/2020/BigInt/sameValue.js | 18 - .../es-abstract/2020/BigInt/sameValueZero.js | 18 - .../2020/BigInt/signedRightShift.js | 18 - .../es-abstract/2020/BigInt/subtract.js | 18 - .../es-abstract/2020/BigInt/toString.js | 18 - .../es-abstract/2020/BigInt/unaryMinus.js | 24 - .../2020/BigInt/unsignedRightShift.js | 17 - .../es-abstract/2020/BigIntBitwiseOp.js | 66 - node_modules/es-abstract/2020/BinaryAnd.js | 14 - node_modules/es-abstract/2020/BinaryOr.js | 14 - node_modules/es-abstract/2020/BinaryXor.js | 14 - node_modules/es-abstract/2020/Call.js | 20 - .../2020/CanonicalNumericIndexString.js | 22 - node_modules/es-abstract/2020/CodePointAt.js | 58 - .../2020/CompletePropertyDescriptor.js | 39 - .../es-abstract/2020/CopyDataProperties.js | 64 - .../es-abstract/2020/CreateDataProperty.js | 45 - .../2020/CreateDataPropertyOrThrow.js | 25 - node_modules/es-abstract/2020/CreateHTML.js | 30 - .../2020/CreateIterResultObject.js | 19 - .../2020/CreateListFromArrayLike.js | 44 - .../es-abstract/2020/CreateMethodProperty.js | 40 - node_modules/es-abstract/2020/DateFromTime.js | 54 - node_modules/es-abstract/2020/DateString.js | 30 - node_modules/es-abstract/2020/Day.js | 11 - node_modules/es-abstract/2020/DayFromYear.js | 10 - .../es-abstract/2020/DayWithinYear.js | 11 - node_modules/es-abstract/2020/DaysInYear.js | 18 - .../es-abstract/2020/DefinePropertyOrThrow.js | 50 - .../es-abstract/2020/DeletePropertyOrThrow.js | 27 - .../2020/EnumerableOwnPropertyNames.js | 43 - .../es-abstract/2020/FlattenIntoArray.js | 58 - .../2020/FromPropertyDescriptor.js | 36 - node_modules/es-abstract/2020/Get.js | 30 - node_modules/es-abstract/2020/GetIterator.js | 65 - node_modules/es-abstract/2020/GetMethod.js | 42 - .../es-abstract/2020/GetOwnPropertyKeys.js | 31 - .../2020/GetPrototypeFromConstructor.js | 28 - .../es-abstract/2020/GetSubstitution.js | 128 - node_modules/es-abstract/2020/GetV.js | 29 - .../es-abstract/2020/HasOwnProperty.js | 22 - node_modules/es-abstract/2020/HasProperty.js | 20 - node_modules/es-abstract/2020/HourFromTime.js | 14 - node_modules/es-abstract/2020/InLeapYear.js | 21 - .../es-abstract/2020/InstanceofOperator.js | 30 - node_modules/es-abstract/2020/Invoke.js | 24 - .../es-abstract/2020/IsAccessorDescriptor.js | 23 - node_modules/es-abstract/2020/IsArray.js | 14 - .../es-abstract/2020/IsBigIntElementType.js | 7 - node_modules/es-abstract/2020/IsCallable.js | 5 - .../es-abstract/2020/IsConcatSpreadable.js | 25 - .../es-abstract/2020/IsConstructor.js | 40 - .../es-abstract/2020/IsDataDescriptor.js | 23 - node_modules/es-abstract/2020/IsExtensible.js | 20 - .../es-abstract/2020/IsGenericDescriptor.js | 23 - node_modules/es-abstract/2020/IsInteger.js | 17 - .../es-abstract/2020/IsNoTearConfiguration.js | 16 - .../es-abstract/2020/IsNonNegativeInteger.js | 9 - node_modules/es-abstract/2020/IsPromise.js | 24 - .../es-abstract/2020/IsPropertyKey.js | 7 - node_modules/es-abstract/2020/IsRegExp.js | 24 - .../es-abstract/2020/IsStringPrefix.js | 47 - .../2020/IsUnclampedIntegerElementType.js | 12 - .../es-abstract/2020/IsUnsignedElementType.js | 11 - .../es-abstract/2020/IterableToList.js | 24 - .../es-abstract/2020/IteratorClose.js | 50 - .../es-abstract/2020/IteratorComplete.js | 18 - node_modules/es-abstract/2020/IteratorNext.js | 18 - node_modules/es-abstract/2020/IteratorStep.js | 13 - .../es-abstract/2020/IteratorValue.js | 18 - .../es-abstract/2020/LengthOfArrayLike.js | 20 - node_modules/es-abstract/2020/MakeDate.js | 13 - node_modules/es-abstract/2020/MakeDay.js | 33 - node_modules/es-abstract/2020/MakeTime.js | 23 - node_modules/es-abstract/2020/MinFromTime.js | 14 - .../es-abstract/2020/MonthFromTime.js | 47 - node_modules/es-abstract/2020/Number/add.js | 44 - .../es-abstract/2020/Number/bitwiseAND.js | 17 - .../es-abstract/2020/Number/bitwiseNOT.js | 19 - .../es-abstract/2020/Number/bitwiseOR.js | 17 - .../es-abstract/2020/Number/bitwiseXOR.js | 17 - .../es-abstract/2020/Number/divide.js | 22 - node_modules/es-abstract/2020/Number/equal.js | 21 - .../es-abstract/2020/Number/exponentiate.js | 77 - node_modules/es-abstract/2020/Number/index.js | 43 - .../es-abstract/2020/Number/leftShift.js | 24 - .../es-abstract/2020/Number/lessThan.js | 26 - .../es-abstract/2020/Number/multiply.js | 33 - .../es-abstract/2020/Number/remainder.js | 32 - .../es-abstract/2020/Number/sameValue.js | 21 - .../es-abstract/2020/Number/sameValueZero.js | 24 - .../2020/Number/signedRightShift.js | 24 - .../es-abstract/2020/Number/subtract.js | 16 - .../es-abstract/2020/Number/toString.js | 18 - .../es-abstract/2020/Number/unaryMinus.js | 21 - .../2020/Number/unsignedRightShift.js | 24 - .../es-abstract/2020/NumberBitwiseOp.js | 29 - .../es-abstract/2020/NumberToBigInt.js | 22 - .../2020/OrdinaryCreateFromConstructor.js | 20 - .../2020/OrdinaryDefineOwnProperty.js | 61 - .../2020/OrdinaryGetOwnProperty.js | 44 - .../2020/OrdinaryGetPrototypeOf.js | 21 - .../es-abstract/2020/OrdinaryHasInstance.js | 25 - .../es-abstract/2020/OrdinaryHasProperty.js | 20 - .../es-abstract/2020/OrdinaryObjectCreate.js | 46 - .../2020/OrdinarySetPrototypeOf.js | 53 - .../es-abstract/2020/PromiseResolve.js | 17 - .../es-abstract/2020/QuoteJSONString.js | 54 - node_modules/es-abstract/2020/RegExpCreate.js | 21 - node_modules/es-abstract/2020/RegExpExec.js | 32 - .../2020/RequireObjectCoercible.js | 3 - node_modules/es-abstract/2020/SameValue.js | 13 - .../es-abstract/2020/SameValueNonNumeric.js | 21 - .../es-abstract/2020/SameValueZero.js | 9 - node_modules/es-abstract/2020/SecFromTime.js | 14 - node_modules/es-abstract/2020/Set.js | 47 - .../es-abstract/2020/SetFunctionLength.js | 31 - .../es-abstract/2020/SetFunctionName.js | 44 - .../es-abstract/2020/SetIntegrityLevel.js | 57 - .../es-abstract/2020/SpeciesConstructor.js | 32 - node_modules/es-abstract/2020/SplitMatch.js | 38 - .../2020/StrictEqualityComparison.js | 17 - node_modules/es-abstract/2020/StringCreate.js | 40 - .../es-abstract/2020/StringGetOwnProperty.js | 48 - node_modules/es-abstract/2020/StringPad.js | 43 - .../2020/SymbolDescriptiveString.js | 20 - .../es-abstract/2020/TestIntegrityLevel.js | 42 - node_modules/es-abstract/2020/TimeClip.js | 21 - node_modules/es-abstract/2020/TimeFromYear.js | 11 - node_modules/es-abstract/2020/TimeString.js | 25 - .../es-abstract/2020/TimeWithinDay.js | 12 - node_modules/es-abstract/2020/ToBoolean.js | 5 - node_modules/es-abstract/2020/ToDateString.js | 22 - node_modules/es-abstract/2020/ToIndex.js | 26 - node_modules/es-abstract/2020/ToInt16.js | 10 - node_modules/es-abstract/2020/ToInt32.js | 9 - node_modules/es-abstract/2020/ToInt8.js | 10 - node_modules/es-abstract/2020/ToInteger.js | 15 - node_modules/es-abstract/2020/ToLength.js | 12 - node_modules/es-abstract/2020/ToNumber.js | 62 - node_modules/es-abstract/2020/ToNumeric.js | 21 - node_modules/es-abstract/2020/ToObject.js | 14 - node_modules/es-abstract/2020/ToPrimitive.js | 12 - .../es-abstract/2020/ToPropertyDescriptor.js | 52 - .../es-abstract/2020/ToPropertyKey.js | 15 - node_modules/es-abstract/2020/ToString.js | 15 - node_modules/es-abstract/2020/ToUint16.js | 19 - node_modules/es-abstract/2020/ToUint32.js | 9 - node_modules/es-abstract/2020/ToUint8.js | 20 - node_modules/es-abstract/2020/ToUint8Clamp.js | 19 - node_modules/es-abstract/2020/TrimString.js | 29 - node_modules/es-abstract/2020/Type.js | 15 - .../es-abstract/2020/UTF16DecodeString.js | 29 - .../2020/UTF16DecodeSurrogatePair.js | 19 - .../es-abstract/2020/UTF16Encoding.js | 25 - .../es-abstract/2020/UnicodeEscape.js | 27 - .../ValidateAndApplyPropertyDescriptor.js | 170 - node_modules/es-abstract/2020/WeekDay.js | 10 - node_modules/es-abstract/2020/YearFromTime.js | 16 - node_modules/es-abstract/2020/abs.js | 11 - node_modules/es-abstract/2020/floor.js | 11 - node_modules/es-abstract/2020/modulo.js | 9 - node_modules/es-abstract/2020/msFromTime.js | 11 - .../es-abstract/2020/thisBigIntValue.js | 22 - .../es-abstract/2020/thisBooleanValue.js | 15 - .../es-abstract/2020/thisNumberValue.js | 18 - .../es-abstract/2020/thisStringValue.js | 15 - .../es-abstract/2020/thisSymbolValue.js | 19 - .../es-abstract/2020/thisTimeValue.js | 3 - .../5/AbstractEqualityComparison.js | 37 - .../5/AbstractRelationalComparison.js | 63 - .../es-abstract/5/CheckObjectCoercible.js | 14 - node_modules/es-abstract/5/DateFromTime.js | 54 - node_modules/es-abstract/5/Day.js | 11 - node_modules/es-abstract/5/DayFromYear.js | 10 - node_modules/es-abstract/5/DayWithinYear.js | 11 - node_modules/es-abstract/5/DaysInYear.js | 18 - .../es-abstract/5/FromPropertyDescriptor.js | 39 - node_modules/es-abstract/5/HourFromTime.js | 14 - node_modules/es-abstract/5/InLeapYear.js | 21 - .../es-abstract/5/IsAccessorDescriptor.js | 23 - node_modules/es-abstract/5/IsCallable.js | 5 - .../es-abstract/5/IsDataDescriptor.js | 23 - .../es-abstract/5/IsGenericDescriptor.js | 23 - .../es-abstract/5/IsPropertyDescriptor.js | 19 - node_modules/es-abstract/5/MakeDate.js | 13 - node_modules/es-abstract/5/MakeDay.js | 33 - node_modules/es-abstract/5/MakeTime.js | 23 - node_modules/es-abstract/5/MinFromTime.js | 14 - node_modules/es-abstract/5/MonthFromTime.js | 47 - node_modules/es-abstract/5/SameValue.js | 13 - node_modules/es-abstract/5/SecFromTime.js | 14 - .../es-abstract/5/StrictEqualityComparison.js | 17 - node_modules/es-abstract/5/TimeClip.js | 21 - node_modules/es-abstract/5/TimeFromYear.js | 11 - node_modules/es-abstract/5/TimeWithinDay.js | 12 - node_modules/es-abstract/5/ToBoolean.js | 5 - node_modules/es-abstract/5/ToInt32.js | 9 - node_modules/es-abstract/5/ToInteger.js | 18 - node_modules/es-abstract/5/ToNumber.js | 20 - node_modules/es-abstract/5/ToObject.js | 14 - node_modules/es-abstract/5/ToPrimitive.js | 5 - .../es-abstract/5/ToPropertyDescriptor.js | 52 - node_modules/es-abstract/5/ToString.js | 12 - node_modules/es-abstract/5/ToUint16.js | 19 - node_modules/es-abstract/5/ToUint32.js | 9 - node_modules/es-abstract/5/Type.js | 24 - node_modules/es-abstract/5/WeekDay.js | 10 - node_modules/es-abstract/5/YearFromTime.js | 16 - node_modules/es-abstract/5/abs.js | 11 - node_modules/es-abstract/5/floor.js | 11 - node_modules/es-abstract/5/modulo.js | 9 - node_modules/es-abstract/5/msFromTime.js | 11 - node_modules/es-abstract/CHANGELOG.md | 486 -- node_modules/es-abstract/GetIntrinsic.js | 5 - node_modules/es-abstract/LICENSE | 21 - node_modules/es-abstract/README.md | 43 - node_modules/es-abstract/es2015.js | 123 - node_modules/es-abstract/es2016.js | 128 - node_modules/es-abstract/es2017.js | 130 - node_modules/es-abstract/es2018.js | 138 - node_modules/es-abstract/es2019.js | 141 - node_modules/es-abstract/es2020.js | 159 - node_modules/es-abstract/es5.js | 51 - node_modules/es-abstract/es6.js | 3 - node_modules/es-abstract/es7.js | 3 - .../es-abstract/helpers/DefineOwnProperty.js | 45 - .../es-abstract/helpers/OwnPropertyKeys.js | 22 - .../es-abstract/helpers/assertRecord.js | 48 - node_modules/es-abstract/helpers/assign.js | 22 - node_modules/es-abstract/helpers/callBind.js | 5 - node_modules/es-abstract/helpers/callBound.js | 5 - node_modules/es-abstract/helpers/every.js | 10 - node_modules/es-abstract/helpers/forEach.js | 7 - .../es-abstract/helpers/getInferredName.js | 10 - .../es-abstract/helpers/getIteratorMethod.js | 45 - .../helpers/getOwnPropertyDescriptor.js | 15 - node_modules/es-abstract/helpers/getProto.js | 15 - .../helpers/getSymbolDescription.js | 41 - .../es-abstract/helpers/isByteValue.js | 5 - .../es-abstract/helpers/isCodePoint.js | 5 - node_modules/es-abstract/helpers/isFinite.js | 5 - .../es-abstract/helpers/isLeadingSurrogate.js | 5 - node_modules/es-abstract/helpers/isNaN.js | 5 - .../es-abstract/helpers/isPrefixOf.js | 13 - .../es-abstract/helpers/isPrimitive.js | 5 - .../helpers/isPropertyDescriptor.js | 31 - .../helpers/isSamePropertyDescriptor.js | 20 - .../helpers/isTrailingSurrogate.js | 5 - .../es-abstract/helpers/maxSafeInteger.js | 8 - node_modules/es-abstract/helpers/mod.js | 8 - .../es-abstract/helpers/padTimeComponent.js | 9 - .../es-abstract/helpers/regexTester.js | 11 - node_modules/es-abstract/helpers/setProto.js | 16 - node_modules/es-abstract/helpers/sign.js | 5 - node_modules/es-abstract/helpers/some.js | 10 - .../es-abstract/helpers/timeConstants.js | 19 - node_modules/es-abstract/index.js | 28 - node_modules/es-abstract/operations/.eslintrc | 5 - node_modules/es-abstract/operations/2015.js | 251 - node_modules/es-abstract/operations/2016.js | 277 - node_modules/es-abstract/operations/2017.js | 325 - node_modules/es-abstract/operations/2018.js | 350 - node_modules/es-abstract/operations/2019.js | 355 - node_modules/es-abstract/operations/2020.js | 418 - node_modules/es-abstract/package.json | 135 - node_modules/es-abstract/test/GetIntrinsic.js | 207 - node_modules/es-abstract/test/diffOps.js | 58 - node_modules/es-abstract/test/es2015.js | 144 - node_modules/es-abstract/test/es2016.js | 165 - node_modules/es-abstract/test/es2017.js | 211 - node_modules/es-abstract/test/es2018.js | 229 - node_modules/es-abstract/test/es2019.js | 231 - node_modules/es-abstract/test/es2020.js | 240 - node_modules/es-abstract/test/es5.js | 14 - node_modules/es-abstract/test/es6.js | 18 - node_modules/es-abstract/test/es7.js | 18 - .../test/helpers/OwnPropertyKeys.js | 42 - .../es-abstract/test/helpers/assertRecord.js | 60 - .../test/helpers/createBoundESNamespace.js | 23 - .../test/helpers/defineProperty.js | 27 - .../test/helpers/getSymbolDescription.js | 67 - .../es-abstract/test/helpers/index.js | 6 - .../es-abstract/test/helpers/isByteValue.js | 28 - .../es-abstract/test/helpers/isCodePoint.js | 20 - .../test/helpers/runManifestTest.js | 27 - node_modules/es-abstract/test/index.js | 35 - node_modules/es-abstract/test/ses-compat.js | 8 - node_modules/es-abstract/test/tests.js | 6962 ----------------- node_modules/es-to-primitive/.eslintrc | 22 - .../es-to-primitive/.github/FUNDING.yml | 12 - node_modules/es-to-primitive/.travis.yml | 15 - node_modules/es-to-primitive/CHANGELOG.md | 49 - node_modules/es-to-primitive/LICENSE | 22 - node_modules/es-to-primitive/Makefile | 61 - node_modules/es-to-primitive/README.md | 49 - node_modules/es-to-primitive/es2015.js | 75 - node_modules/es-to-primitive/es5.js | 45 - node_modules/es-to-primitive/es6.js | 3 - .../es-to-primitive/helpers/isPrimitive.js | 5 - node_modules/es-to-primitive/index.js | 17 - node_modules/es-to-primitive/package.json | 81 - node_modules/es-to-primitive/test/es2015.js | 151 - node_modules/es-to-primitive/test/es5.js | 118 - node_modules/es-to-primitive/test/es6.js | 151 - node_modules/es-to-primitive/test/index.js | 20 - .../escodegen/node_modules/.bin/esparse | 13 +- .../escodegen/node_modules/.bin/esvalidate | 13 +- node_modules/foreach/.npmignore | 3 - node_modules/foreach/LICENSE | 24 - node_modules/foreach/Makefile | 11 - node_modules/foreach/Readme.md | 30 - node_modules/foreach/component.json | 11 - node_modules/foreach/index.js | 22 - node_modules/foreach/package.json | 57 - node_modules/foreach/test.js | 153 - node_modules/get-intrinsic/.eslintignore | 1 - node_modules/get-intrinsic/.eslintrc | 11 +- node_modules/get-intrinsic/.nycrc | 4 - node_modules/get-intrinsic/CHANGELOG.md | 46 + node_modules/get-intrinsic/README.md | 8 +- node_modules/get-intrinsic/index.js | 14 + node_modules/get-intrinsic/package.json | 38 +- .../get-intrinsic/test/GetIntrinsic.js | 38 +- .../global-prefix/node_modules/.bin/which | 13 +- node_modules/has-bigints/.eslintignore | 1 - node_modules/has-bigints/.eslintrc | 9 - node_modules/has-bigints/.github/FUNDING.yml | 12 - node_modules/has-bigints/.nycrc | 13 - node_modules/has-bigints/CHANGELOG.md | 43 - node_modules/has-bigints/LICENSE | 21 - node_modules/has-bigints/README.md | 35 - node_modules/has-bigints/index.js | 10 - node_modules/has-bigints/package.json | 53 - node_modules/has-bigints/test/index.js | 44 - node_modules/has-symbols/.eslintignore | 1 - node_modules/has-symbols/.nycrc | 4 - node_modules/has-symbols/CHANGELOG.md | 17 + node_modules/has-symbols/README.md | 6 + node_modules/has-symbols/package.json | 53 +- .../.github/workflows/node-4+.yml | 54 - .../.github/workflows/node-iojs.yml | 58 - .../.github/workflows/node-pretest.yml | 26 - .../.github/workflows/node-zero.yml | 60 - .../is-arguments/.github/workflows/rebase.yml | 15 - .../.github/workflows/require-allow-edits.yml | 12 - node_modules/is-arguments/.nycrc | 4 - node_modules/is-arguments/CHANGELOG.md | 16 + node_modules/is-arguments/README.md | 17 +- node_modules/is-arguments/index.js | 2 +- node_modules/is-arguments/package.json | 18 +- node_modules/is-arguments/test/index.js | 2 +- node_modules/is-bigint/.eslintignore | 1 - node_modules/is-bigint/.eslintrc | 14 - node_modules/is-bigint/.github/FUNDING.yml | 12 - node_modules/is-bigint/.nycrc | 9 - node_modules/is-bigint/CHANGELOG.md | 54 - node_modules/is-bigint/LICENSE | 21 - node_modules/is-bigint/README.md | 38 - node_modules/is-bigint/index.js | 36 - node_modules/is-bigint/package.json | 55 - node_modules/is-bigint/test/.eslintrc | 7 - node_modules/is-bigint/test/index.js | 80 - node_modules/is-boolean-object/.editorconfig | 22 - node_modules/is-boolean-object/.eslintignore | 1 - node_modules/is-boolean-object/.eslintrc | 22 - .../is-boolean-object/.github/FUNDING.yml | 12 - node_modules/is-boolean-object/.nycrc | 10 - node_modules/is-boolean-object/CHANGELOG.md | 100 - node_modules/is-boolean-object/LICENSE | 22 - node_modules/is-boolean-object/README.md | 57 - node_modules/is-boolean-object/index.js | 26 - node_modules/is-boolean-object/package.json | 86 - node_modules/is-boolean-object/test/index.js | 48 - node_modules/is-callable/.editorconfig | 10 + node_modules/is-callable/.eslintignore | 1 - node_modules/is-callable/.eslintrc | 11 - .../is-callable/.github/main.workflow | 14 - node_modules/is-callable/.istanbul.yml | 47 - node_modules/is-callable/.nycrc | 4 - node_modules/is-callable/CHANGELOG.md | 64 + node_modules/is-callable/README.md | 45 +- node_modules/is-callable/index.js | 45 +- node_modules/is-callable/package.json | 66 +- node_modules/is-callable/test/index.js | 170 +- node_modules/is-date-object/.editorconfig | 20 - node_modules/is-date-object/.eslintignore | 1 - node_modules/is-date-object/.eslintrc | 9 - .../is-date-object/.github/FUNDING.yml | 12 - node_modules/is-date-object/.jscs.json | 176 - node_modules/is-date-object/.nycrc | 10 - node_modules/is-date-object/CHANGELOG.md | 106 - node_modules/is-date-object/LICENSE | 22 - node_modules/is-date-object/README.md | 52 - node_modules/is-date-object/index.js | 22 - node_modules/is-date-object/package.json | 76 - node_modules/is-date-object/test/index.js | 36 - .../is-generator-function/CHANGELOG.md | 8 + node_modules/is-generator-function/index.js | 2 +- .../is-generator-function/package.json | 13 +- .../is-generator-function/test/index.js | 2 +- node_modules/is-negative-zero/.editorconfig | 8 - node_modules/is-negative-zero/.eslintignore | 1 - node_modules/is-negative-zero/.eslintrc | 11 - .../.github/workflows/node-4+.yml | 54 - .../.github/workflows/node-iojs.yml | 58 - .../.github/workflows/node-pretest.yml | 26 - .../.github/workflows/node-zero.yml | 60 - .../.github/workflows/rebase.yml | 15 - .../.github/workflows/require-allow-edits.yml | 12 - node_modules/is-negative-zero/.nycrc | 13 - node_modules/is-negative-zero/CHANGELOG.md | 117 - node_modules/is-negative-zero/LICENSE | 20 - node_modules/is-negative-zero/README.md | 51 - node_modules/is-negative-zero/index.js | 6 - node_modules/is-negative-zero/package.json | 79 - node_modules/is-negative-zero/test/index.js | 28 - node_modules/is-number-object/.editorconfig | 20 - node_modules/is-number-object/.eslintignore | 1 - node_modules/is-number-object/.eslintrc | 9 - .../is-number-object/.github/FUNDING.yml | 12 - node_modules/is-number-object/.nycrc | 9 - node_modules/is-number-object/CHANGELOG.md | 105 - node_modules/is-number-object/LICENSE | 22 - node_modules/is-number-object/README.md | 55 - node_modules/is-number-object/index.js | 24 - node_modules/is-number-object/package.json | 78 - node_modules/is-number-object/test/corejs.js | 5 - node_modules/is-number-object/test/index.js | 38 - node_modules/is-regex/.editorconfig | 20 - node_modules/is-regex/.eslintignore | 1 - node_modules/is-regex/.eslintrc | 19 - node_modules/is-regex/.nycrc | 10 - node_modules/is-regex/CHANGELOG.md | 190 - node_modules/is-regex/LICENSE | 20 - node_modules/is-regex/README.md | 52 - node_modules/is-regex/index.js | 59 - node_modules/is-regex/package.json | 86 - node_modules/is-regex/test/index.js | 105 - node_modules/is-string/.eslintignore | 1 - node_modules/is-string/.eslintrc | 19 - node_modules/is-string/.github/FUNDING.yml | 12 - node_modules/is-string/.nycrc | 10 - node_modules/is-string/CHANGELOG.md | 107 - node_modules/is-string/LICENSE | 22 - node_modules/is-string/README.md | 56 - node_modules/is-string/index.js | 24 - node_modules/is-string/package.json | 78 - node_modules/is-string/test/index.js | 39 - node_modules/is-symbol/.editorconfig | 13 - node_modules/is-symbol/.eslintignore | 1 - node_modules/is-symbol/.eslintrc | 14 - node_modules/is-symbol/.github/FUNDING.yml | 12 - node_modules/is-symbol/.nycrc | 9 - node_modules/is-symbol/CHANGELOG.md | 113 - node_modules/is-symbol/LICENSE | 22 - node_modules/is-symbol/README.md | 45 - node_modules/is-symbol/index.js | 35 - node_modules/is-symbol/package.json | 77 - node_modules/is-symbol/test/index.js | 92 - node_modules/is-typed-array/.eslintignore | 1 - node_modules/is-typed-array/.eslintrc | 4 + node_modules/is-typed-array/.nycrc | 4 - node_modules/is-typed-array/CHANGELOG.md | 49 + node_modules/is-typed-array/README.md | 30 +- node_modules/is-typed-array/index.js | 29 +- node_modules/is-typed-array/package.json | 51 +- node_modules/is-typed-array/test/index.js | 7 +- .../js-yaml/node_modules/.bin/esparse | 13 +- .../js-yaml/node_modules/.bin/esvalidate | 13 +- .../node-notifier/node_modules/.bin/which | 13 +- .../node_modules/.bin/semver | 13 +- node_modules/object-inspect/.eslintignore | 1 - node_modules/object-inspect/.eslintrc | 13 +- node_modules/object-inspect/index.js | 126 +- node_modules/object-inspect/package.json | 48 +- node_modules/object-inspect/readme.markdown | 3 +- node_modules/object-inspect/test/bigint.js | 16 +- node_modules/object-inspect/test/err.js | 23 +- node_modules/object-inspect/test/fakes.js | 4 +- node_modules/object-inspect/test/has.js | 31 +- node_modules/object-inspect/test/inspect.js | 73 +- node_modules/object-inspect/test/number.js | 48 +- .../object-inspect/test/toStringTag.js | 4 +- node_modules/object-inspect/test/values.js | 9 +- node_modules/object-keys/.editorconfig | 13 - node_modules/object-keys/.eslintrc | 17 - node_modules/object-keys/.travis.yml | 277 - node_modules/object-keys/CHANGELOG.md | 232 - node_modules/object-keys/LICENSE | 21 - node_modules/object-keys/README.md | 76 - node_modules/object-keys/implementation.js | 122 - node_modules/object-keys/index.js | 32 - node_modules/object-keys/isArguments.js | 17 - node_modules/object-keys/package.json | 88 - node_modules/object-keys/test/index.js | 5 - node_modules/object.assign/.editorconfig | 20 - node_modules/object.assign/.eslintignore | 1 - node_modules/object.assign/.eslintrc | 26 - .../object.assign/.github/FUNDING.yml | 12 - .../.github/workflows/rebase.yml | 15 - .../.github/workflows/require-allow-edits.yml | 14 - node_modules/object.assign/.nycrc | 14 - node_modules/object.assign/CHANGELOG.md | 201 - node_modules/object.assign/LICENSE | 21 - node_modules/object.assign/README.md | 135 - node_modules/object.assign/auto.js | 3 - node_modules/object.assign/dist/browser.js | 865 -- node_modules/object.assign/hasSymbols.js | 43 - node_modules/object.assign/implementation.js | 42 - node_modules/object.assign/index.js | 22 - node_modules/object.assign/package.json | 83 - node_modules/object.assign/polyfill.js | 55 - node_modules/object.assign/shim.js | 14 - node_modules/object.assign/test/index.js | 17 - node_modules/object.assign/test/native.js | 49 - node_modules/object.assign/test/ses-compat.js | 12 - node_modules/object.assign/test/shimmed.js | 52 - node_modules/object.assign/test/tests.js | 237 - node_modules/qs/.editorconfig | 4 + node_modules/qs/.eslintignore | 2 - node_modules/qs/.eslintrc | 17 +- node_modules/qs/CHANGELOG.md | 185 +- node_modules/qs/README.md | 90 +- node_modules/qs/dist/qs.js | 289 +- node_modules/qs/lib/parse.js | 2 +- node_modules/qs/lib/stringify.js | 52 +- node_modules/qs/lib/utils.js | 1 + node_modules/qs/package.json | 33 +- node_modules/qs/test/parse.js | 74 + node_modules/qs/test/stringify.js | 154 +- .../string.prototype.trimend/.editorconfig | 20 - .../string.prototype.trimend/.eslintignore | 1 - .../string.prototype.trimend/.eslintrc | 15 - node_modules/string.prototype.trimend/.nycrc | 13 - .../string.prototype.trimend/CHANGELOG.md | 74 - node_modules/string.prototype.trimend/LICENSE | 21 - .../string.prototype.trimend/README.md | 40 - node_modules/string.prototype.trimend/auto.js | 3 - .../implementation.js | 12 - .../string.prototype.trimend/index.js | 18 - .../string.prototype.trimend/package.json | 69 - .../string.prototype.trimend/polyfill.js | 15 - node_modules/string.prototype.trimend/shim.js | 14 - .../test/implementation.js | 20 - .../string.prototype.trimend/test/index.js | 17 - .../string.prototype.trimend/test/shimmed.js | 36 - .../string.prototype.trimend/test/tests.js | 26 - .../string.prototype.trimstart/.editorconfig | 20 - .../string.prototype.trimstart/.eslintignore | 1 - .../string.prototype.trimstart/.eslintrc | 15 - .../string.prototype.trimstart/.nycrc | 13 - .../string.prototype.trimstart/CHANGELOG.md | 74 - .../string.prototype.trimstart/LICENSE | 21 - .../string.prototype.trimstart/README.md | 40 - .../string.prototype.trimstart/auto.js | 3 - .../implementation.js | 12 - .../string.prototype.trimstart/index.js | 18 - .../string.prototype.trimstart/package.json | 69 - .../string.prototype.trimstart/polyfill.js | 15 - .../string.prototype.trimstart/shim.js | 14 - .../test/implementation.js | 20 - .../string.prototype.trimstart/test/index.js | 18 - .../test/shimmed.js | 36 - .../string.prototype.trimstart/test/tests.js | 26 - node_modules/touch/node_modules/.bin/nopt | 13 +- node_modules/typed-rest-client/HttpClient.js | 5 +- node_modules/typed-rest-client/README.md | 2 - node_modules/typed-rest-client/Util.js | 4 +- .../node_modules/underscore/LICENSE | 22 - .../node_modules/underscore/README.md | 34 - .../underscore/amd/_baseCreate.js | 21 - .../underscore/amd/_baseIteratee.js | 15 - .../node_modules/underscore/amd/_cb.js | 12 - .../underscore/amd/_chainResult.js | 10 - .../underscore/amd/_collectNonEnumProps.js | 42 - .../underscore/amd/_createAssigner.js | 24 - .../underscore/amd/_createEscaper.js | 21 - .../underscore/amd/_createIndexFinder.js | 30 - .../amd/_createPredicateIndexFinder.js | 18 - .../underscore/amd/_createReduce.js | 30 - .../amd/_createSizePropertyCheck.js | 13 - .../node_modules/underscore/amd/_deepGet.js | 15 - .../node_modules/underscore/amd/_escapeMap.js | 15 - .../underscore/amd/_executeBound.js | 16 - .../node_modules/underscore/amd/_flatten.js | 32 - .../underscore/amd/_getByteLength.js | 8 - .../node_modules/underscore/amd/_getLength.js | 8 - .../node_modules/underscore/amd/_group.js | 18 - .../node_modules/underscore/amd/_has.js | 10 - .../underscore/amd/_hasObjectTag.js | 7 - .../underscore/amd/_isArrayLike.js | 11 - .../underscore/amd/_isBufferLike.js | 9 - .../node_modules/underscore/amd/_keyInObj.js | 11 - .../underscore/amd/_methodFingerprint.js | 44 - .../underscore/amd/_optimizeCb.js | 27 - .../node_modules/underscore/amd/_setup.js | 70 - .../underscore/amd/_shallowProperty.js | 12 - .../underscore/amd/_stringTagBug.js | 16 - .../node_modules/underscore/amd/_tagTester.js | 13 - .../underscore/amd/_toBufferView.js | 15 - .../node_modules/underscore/amd/_toPath.js | 11 - .../underscore/amd/_unescapeMap.js | 8 - .../node_modules/underscore/amd/after.js | 14 - .../node_modules/underscore/amd/allKeys.js | 15 - .../node_modules/underscore/amd/before.js | 18 - .../node_modules/underscore/amd/bind.js | 15 - .../node_modules/underscore/amd/bindAll.js | 19 - .../node_modules/underscore/amd/chain.js | 12 - .../node_modules/underscore/amd/chunk.js | 17 - .../node_modules/underscore/amd/clone.js | 11 - .../node_modules/underscore/amd/compact.js | 10 - .../node_modules/underscore/amd/compose.js | 18 - .../node_modules/underscore/amd/constant.js | 12 - .../node_modules/underscore/amd/contains.js | 12 - .../node_modules/underscore/amd/countBy.js | 12 - .../node_modules/underscore/amd/create.js | 14 - .../node_modules/underscore/amd/debounce.js | 43 - .../node_modules/underscore/amd/defaults.js | 8 - .../node_modules/underscore/amd/defer.js | 9 - .../node_modules/underscore/amd/delay.js | 13 - .../node_modules/underscore/amd/difference.js | 14 - .../node_modules/underscore/amd/each.js | 25 - .../node_modules/underscore/amd/escape.js | 8 - .../node_modules/underscore/amd/every.js | 17 - .../node_modules/underscore/amd/extend.js | 8 - .../node_modules/underscore/amd/extendOwn.js | 10 - .../node_modules/underscore/amd/filter.js | 15 - .../node_modules/underscore/amd/find.js | 12 - .../node_modules/underscore/amd/findIndex.js | 8 - .../node_modules/underscore/amd/findKey.js | 15 - .../underscore/amd/findLastIndex.js | 8 - .../node_modules/underscore/amd/findWhere.js | 11 - .../node_modules/underscore/amd/first.js | 13 - .../node_modules/underscore/amd/flatten.js | 11 - .../node_modules/underscore/amd/functions.js | 14 - .../node_modules/underscore/amd/get.js | 14 - .../node_modules/underscore/amd/groupBy.js | 11 - .../node_modules/underscore/amd/has.js | 19 - .../node_modules/underscore/amd/identity.js | 10 - .../underscore/amd/index-default.js | 12 - .../node_modules/underscore/amd/index.js | 154 - .../node_modules/underscore/amd/indexBy.js | 11 - .../node_modules/underscore/amd/indexOf.js | 11 - .../node_modules/underscore/amd/initial.js | 12 - .../underscore/amd/intersection.js | 22 - .../node_modules/underscore/amd/invert.js | 15 - .../node_modules/underscore/amd/invoke.js | 28 - .../underscore/amd/isArguments.js | 19 - .../node_modules/underscore/amd/isArray.js | 9 - .../underscore/amd/isArrayBuffer.js | 7 - .../node_modules/underscore/amd/isBoolean.js | 10 - .../node_modules/underscore/amd/isDataView.js | 15 - .../node_modules/underscore/amd/isDate.js | 7 - .../node_modules/underscore/amd/isElement.js | 10 - .../node_modules/underscore/amd/isEmpty.js | 18 - .../node_modules/underscore/amd/isEqual.js | 133 - .../node_modules/underscore/amd/isError.js | 7 - .../node_modules/underscore/amd/isFinite.js | 10 - .../node_modules/underscore/amd/isFunction.js | 18 - .../node_modules/underscore/amd/isMap.js | 7 - .../node_modules/underscore/amd/isMatch.js | 17 - .../node_modules/underscore/amd/isNaN.js | 10 - .../node_modules/underscore/amd/isNull.js | 10 - .../node_modules/underscore/amd/isNumber.js | 7 - .../node_modules/underscore/amd/isObject.js | 11 - .../node_modules/underscore/amd/isRegExp.js | 7 - .../node_modules/underscore/amd/isSet.js | 7 - .../node_modules/underscore/amd/isString.js | 7 - .../node_modules/underscore/amd/isSymbol.js | 7 - .../underscore/amd/isTypedArray.js | 16 - .../underscore/amd/isUndefined.js | 10 - .../node_modules/underscore/amd/isWeakMap.js | 7 - .../node_modules/underscore/amd/isWeakSet.js | 7 - .../node_modules/underscore/amd/iteratee.js | 13 - .../node_modules/underscore/amd/keys.js | 17 - .../node_modules/underscore/amd/last.js | 13 - .../underscore/amd/lastIndexOf.js | 9 - .../node_modules/underscore/amd/map.js | 18 - .../node_modules/underscore/amd/mapObject.js | 19 - .../node_modules/underscore/amd/matcher.js | 14 - .../node_modules/underscore/amd/max.js | 30 - .../node_modules/underscore/amd/memoize.js | 17 - .../node_modules/underscore/amd/min.js | 30 - .../node_modules/underscore/amd/mixin.js | 18 - .../node_modules/underscore/amd/negate.js | 12 - .../node_modules/underscore/amd/noop.js | 8 - .../node_modules/underscore/amd/now.js | 10 - .../node_modules/underscore/amd/object.js | 20 - .../node_modules/underscore/amd/omit.js | 20 - .../node_modules/underscore/amd/once.js | 9 - .../node_modules/underscore/amd/pairs.js | 17 - .../node_modules/underscore/amd/partial.js | 25 - .../node_modules/underscore/amd/partition.js | 11 - .../node_modules/underscore/amd/pick.js | 25 - .../node_modules/underscore/amd/pluck.js | 10 - .../node_modules/underscore/amd/property.js | 14 - .../node_modules/underscore/amd/propertyOf.js | 13 - .../node_modules/underscore/amd/random.js | 14 - .../node_modules/underscore/amd/range.js | 27 - .../node_modules/underscore/amd/reduce.js | 9 - .../underscore/amd/reduceRight.js | 8 - .../node_modules/underscore/amd/reject.js | 10 - .../node_modules/underscore/amd/rest.js | 12 - .../underscore/amd/restArguments.js | 33 - .../node_modules/underscore/amd/result.js | 25 - .../node_modules/underscore/amd/sample.js | 27 - .../node_modules/underscore/amd/shuffle.js | 10 - .../node_modules/underscore/amd/size.js | 11 - .../node_modules/underscore/amd/some.js | 17 - .../node_modules/underscore/amd/sortBy.js | 26 - .../underscore/amd/sortedIndex.js | 18 - .../node_modules/underscore/amd/tap.js | 13 - .../node_modules/underscore/amd/template.js | 103 - .../underscore/amd/templateSettings.js | 13 - .../node_modules/underscore/amd/throttle.js | 51 - .../node_modules/underscore/amd/times.js | 13 - .../node_modules/underscore/amd/toArray.js | 18 - .../node_modules/underscore/amd/toPath.js | 12 - .../amd/underscore-array-methods.js | 30 - .../node_modules/underscore/amd/underscore.js | 29 - .../node_modules/underscore/amd/unescape.js | 8 - .../node_modules/underscore/amd/union.js | 11 - .../node_modules/underscore/amd/uniq.js | 37 - .../node_modules/underscore/amd/uniqueId.js | 13 - .../node_modules/underscore/amd/unzip.js | 17 - .../node_modules/underscore/amd/values.js | 16 - .../node_modules/underscore/amd/where.js | 11 - .../node_modules/underscore/amd/without.js | 10 - .../node_modules/underscore/amd/wrap.js | 12 - .../node_modules/underscore/amd/zip.js | 9 - .../underscore/cjs/_baseCreate.js | 20 - .../underscore/cjs/_baseIteratee.js | 19 - .../node_modules/underscore/cjs/_cb.js | 12 - .../underscore/cjs/_chainResult.js | 8 - .../underscore/cjs/_collectNonEnumProps.js | 42 - .../underscore/cjs/_createAssigner.js | 20 - .../underscore/cjs/_createEscaper.js | 19 - .../underscore/cjs/_createIndexFinder.js | 30 - .../cjs/_createPredicateIndexFinder.js | 17 - .../underscore/cjs/_createReduce.js | 30 - .../cjs/_createSizePropertyCheck.js | 11 - .../node_modules/underscore/cjs/_deepGet.js | 11 - .../node_modules/underscore/cjs/_escapeMap.js | 11 - .../underscore/cjs/_executeBound.js | 15 - .../node_modules/underscore/cjs/_flatten.js | 33 - .../underscore/cjs/_getByteLength.js | 6 - .../node_modules/underscore/cjs/_getLength.js | 6 - .../node_modules/underscore/cjs/_group.js | 17 - .../node_modules/underscore/cjs/_has.js | 8 - .../underscore/cjs/_hasObjectTag.js | 5 - .../underscore/cjs/_isArrayLike.js | 10 - .../underscore/cjs/_isBufferLike.js | 8 - .../node_modules/underscore/cjs/_keyInObj.js | 7 - .../underscore/cjs/_methodFingerprint.js | 44 - .../underscore/cjs/_optimizeCb.js | 23 - .../node_modules/underscore/cjs/_setup.js | 66 - .../underscore/cjs/_shallowProperty.js | 8 - .../underscore/cjs/_stringTagBug.js | 15 - .../node_modules/underscore/cjs/_tagTester.js | 11 - .../underscore/cjs/_toBufferView.js | 13 - .../node_modules/underscore/cjs/_toPath.js | 10 - .../underscore/cjs/_unescapeMap.js | 7 - .../node_modules/underscore/cjs/after.js | 10 - .../node_modules/underscore/cjs/allKeys.js | 15 - .../node_modules/underscore/cjs/before.js | 14 - .../node_modules/underscore/cjs/bind.js | 15 - .../node_modules/underscore/cjs/bindAll.js | 19 - .../node_modules/underscore/cjs/chain.js | 10 - .../node_modules/underscore/cjs/chunk.js | 15 - .../node_modules/underscore/cjs/clone.js | 11 - .../node_modules/underscore/cjs/compact.js | 8 - .../node_modules/underscore/cjs/compose.js | 14 - .../node_modules/underscore/cjs/constant.js | 8 - .../node_modules/underscore/cjs/contains.js | 12 - .../node_modules/underscore/cjs/countBy.js | 11 - .../node_modules/underscore/cjs/create.js | 13 - .../node_modules/underscore/cjs/debounce.js | 42 - .../node_modules/underscore/cjs/defaults.js | 7 - .../node_modules/underscore/cjs/defer.js | 9 - .../node_modules/underscore/cjs/delay.js | 11 - .../node_modules/underscore/cjs/difference.js | 15 - .../node_modules/underscore/cjs/each.js | 25 - .../node_modules/underscore/cjs/escape.js | 7 - .../node_modules/underscore/cjs/every.js | 17 - .../node_modules/underscore/cjs/extend.js | 7 - .../node_modules/underscore/cjs/extendOwn.js | 9 - .../node_modules/underscore/cjs/filter.js | 14 - .../node_modules/underscore/cjs/find.js | 12 - .../node_modules/underscore/cjs/findIndex.js | 6 - .../node_modules/underscore/cjs/findKey.js | 14 - .../underscore/cjs/findLastIndex.js | 6 - .../node_modules/underscore/cjs/findWhere.js | 10 - .../node_modules/underscore/cjs/first.js | 11 - .../node_modules/underscore/cjs/flatten.js | 9 - .../node_modules/underscore/cjs/functions.js | 12 - .../node_modules/underscore/cjs/get.js | 14 - .../node_modules/underscore/cjs/groupBy.js | 10 - .../node_modules/underscore/cjs/has.js | 18 - .../node_modules/underscore/cjs/identity.js | 6 - .../underscore/cjs/index-default.js | 11 - .../node_modules/underscore/cjs/index.js | 278 - .../node_modules/underscore/cjs/indexBy.js | 9 - .../node_modules/underscore/cjs/indexOf.js | 11 - .../node_modules/underscore/cjs/initial.js | 10 - .../underscore/cjs/intersection.js | 21 - .../node_modules/underscore/cjs/invert.js | 13 - .../node_modules/underscore/cjs/invoke.js | 30 - .../underscore/cjs/isArguments.js | 18 - .../node_modules/underscore/cjs/isArray.js | 8 - .../underscore/cjs/isArrayBuffer.js | 5 - .../node_modules/underscore/cjs/isBoolean.js | 8 - .../node_modules/underscore/cjs/isDataView.js | 16 - .../node_modules/underscore/cjs/isDate.js | 5 - .../node_modules/underscore/cjs/isElement.js | 6 - .../node_modules/underscore/cjs/isEmpty.js | 20 - .../node_modules/underscore/cjs/isEqual.js | 140 - .../node_modules/underscore/cjs/isError.js | 5 - .../node_modules/underscore/cjs/isFinite.js | 9 - .../node_modules/underscore/cjs/isFunction.js | 17 - .../node_modules/underscore/cjs/isMap.js | 7 - .../node_modules/underscore/cjs/isMatch.js | 15 - .../node_modules/underscore/cjs/isNaN.js | 9 - .../node_modules/underscore/cjs/isNull.js | 6 - .../node_modules/underscore/cjs/isNumber.js | 5 - .../node_modules/underscore/cjs/isObject.js | 7 - .../node_modules/underscore/cjs/isRegExp.js | 5 - .../node_modules/underscore/cjs/isSet.js | 7 - .../node_modules/underscore/cjs/isString.js | 5 - .../node_modules/underscore/cjs/isSymbol.js | 5 - .../underscore/cjs/isTypedArray.js | 17 - .../underscore/cjs/isUndefined.js | 6 - .../node_modules/underscore/cjs/isWeakMap.js | 7 - .../node_modules/underscore/cjs/isWeakSet.js | 5 - .../node_modules/underscore/cjs/iteratee.js | 12 - .../node_modules/underscore/cjs/keys.js | 18 - .../node_modules/underscore/cjs/last.js | 11 - .../underscore/cjs/lastIndexOf.js | 8 - .../node_modules/underscore/cjs/map.js | 18 - .../node_modules/underscore/cjs/mapObject.js | 18 - .../node_modules/underscore/cjs/matcher.js | 13 - .../node_modules/underscore/cjs/max.js | 31 - .../node_modules/underscore/cjs/memoize.js | 15 - .../node_modules/underscore/cjs/min.js | 31 - .../node_modules/underscore/cjs/mixin.js | 20 - .../node_modules/underscore/cjs/negate.js | 8 - .../node_modules/underscore/cjs/noop.js | 4 - .../node_modules/underscore/cjs/now.js | 6 - .../node_modules/underscore/cjs/object.js | 18 - .../node_modules/underscore/cjs/omit.js | 24 - .../node_modules/underscore/cjs/once.js | 8 - .../node_modules/underscore/cjs/pairs.js | 15 - .../node_modules/underscore/cjs/partial.js | 25 - .../node_modules/underscore/cjs/partition.js | 9 - .../node_modules/underscore/cjs/pick.js | 28 - .../node_modules/underscore/cjs/pluck.js | 9 - .../node_modules/underscore/cjs/property.js | 13 - .../node_modules/underscore/cjs/propertyOf.js | 12 - .../node_modules/underscore/cjs/random.js | 10 - .../node_modules/underscore/cjs/range.js | 23 - .../node_modules/underscore/cjs/reduce.js | 7 - .../underscore/cjs/reduceRight.js | 6 - .../node_modules/underscore/cjs/reject.js | 10 - .../node_modules/underscore/cjs/rest.js | 10 - .../underscore/cjs/restArguments.js | 29 - .../node_modules/underscore/cjs/result.js | 24 - .../node_modules/underscore/cjs/sample.js | 29 - .../node_modules/underscore/cjs/shuffle.js | 8 - .../node_modules/underscore/cjs/size.js | 10 - .../node_modules/underscore/cjs/some.js | 17 - .../node_modules/underscore/cjs/sortBy.js | 26 - .../underscore/cjs/sortedIndex.js | 17 - .../node_modules/underscore/cjs/tap.js | 9 - .../node_modules/underscore/cjs/template.js | 103 - .../underscore/cjs/templateSettings.js | 11 - .../node_modules/underscore/cjs/throttle.js | 49 - .../node_modules/underscore/cjs/times.js | 11 - .../node_modules/underscore/cjs/toArray.js | 22 - .../node_modules/underscore/cjs/toPath.js | 11 - .../cjs/underscore-array-methods.js | 31 - .../node_modules/underscore/cjs/underscore.js | 27 - .../node_modules/underscore/cjs/unescape.js | 7 - .../node_modules/underscore/cjs/union.js | 11 - .../node_modules/underscore/cjs/uniq.js | 38 - .../node_modules/underscore/cjs/uniqueId.js | 9 - .../node_modules/underscore/cjs/unzip.js | 17 - .../node_modules/underscore/cjs/values.js | 14 - .../node_modules/underscore/cjs/where.js | 10 - .../node_modules/underscore/cjs/without.js | 9 - .../node_modules/underscore/cjs/wrap.js | 10 - .../node_modules/underscore/cjs/zip.js | 8 - .../node_modules/underscore/modules/.eslintrc | 12 - .../underscore/modules/_baseCreate.js | 18 - .../underscore/modules/_baseIteratee.js | 17 - .../node_modules/underscore/modules/_cb.js | 10 - .../underscore/modules/_chainResult.js | 6 - .../modules/_collectNonEnumProps.js | 40 - .../underscore/modules/_createAssigner.js | 18 - .../underscore/modules/_createEscaper.js | 17 - .../underscore/modules/_createIndexFinder.js | 28 - .../modules/_createPredicateIndexFinder.js | 15 - .../underscore/modules/_createReduce.js | 28 - .../modules/_createSizePropertyCheck.js | 9 - .../underscore/modules/_deepGet.js | 9 - .../underscore/modules/_escapeMap.js | 9 - .../underscore/modules/_executeBound.js | 13 - .../underscore/modules/_flatten.js | 31 - .../underscore/modules/_getByteLength.js | 4 - .../underscore/modules/_getLength.js | 4 - .../node_modules/underscore/modules/_group.js | 15 - .../node_modules/underscore/modules/_has.js | 6 - .../underscore/modules/_hasObjectTag.js | 3 - .../underscore/modules/_isArrayLike.js | 8 - .../underscore/modules/_isBufferLike.js | 6 - .../underscore/modules/_keyInObj.js | 5 - .../underscore/modules/_methodFingerprint.js | 37 - .../underscore/modules/_optimizeCb.js | 21 - .../node_modules/underscore/modules/_setup.js | 43 - .../underscore/modules/_shallowProperty.js | 6 - .../underscore/modules/_stringTagBug.js | 10 - .../underscore/modules/_tagTester.js | 9 - .../underscore/modules/_toBufferView.js | 11 - .../underscore/modules/_toPath.js | 8 - .../underscore/modules/_unescapeMap.js | 5 - .../node_modules/underscore/modules/after.js | 8 - .../underscore/modules/allKeys.js | 13 - .../node_modules/underscore/modules/before.js | 12 - .../node_modules/underscore/modules/bind.js | 13 - .../underscore/modules/bindAll.js | 17 - .../node_modules/underscore/modules/chain.js | 8 - .../node_modules/underscore/modules/chunk.js | 13 - .../node_modules/underscore/modules/clone.js | 9 - .../underscore/modules/compact.js | 6 - .../underscore/modules/compose.js | 12 - .../underscore/modules/constant.js | 6 - .../underscore/modules/contains.js | 10 - .../underscore/modules/countBy.js | 9 - .../node_modules/underscore/modules/create.js | 11 - .../underscore/modules/debounce.js | 40 - .../underscore/modules/defaults.js | 5 - .../node_modules/underscore/modules/defer.js | 7 - .../node_modules/underscore/modules/delay.js | 9 - .../underscore/modules/difference.js | 13 - .../node_modules/underscore/modules/each.js | 23 - .../node_modules/underscore/modules/escape.js | 5 - .../node_modules/underscore/modules/every.js | 15 - .../node_modules/underscore/modules/extend.js | 5 - .../underscore/modules/extendOwn.js | 7 - .../node_modules/underscore/modules/filter.js | 12 - .../node_modules/underscore/modules/find.js | 10 - .../underscore/modules/findIndex.js | 4 - .../underscore/modules/findKey.js | 12 - .../underscore/modules/findLastIndex.js | 4 - .../underscore/modules/findWhere.js | 8 - .../node_modules/underscore/modules/first.js | 9 - .../underscore/modules/flatten.js | 7 - .../underscore/modules/functions.js | 10 - .../node_modules/underscore/modules/get.js | 12 - .../underscore/modules/groupBy.js | 8 - .../node_modules/underscore/modules/has.js | 16 - .../underscore/modules/identity.js | 4 - .../underscore/modules/index-all.js | 18 - .../underscore/modules/index-default.js | 27 - .../node_modules/underscore/modules/index.js | 200 - .../underscore/modules/indexBy.js | 7 - .../underscore/modules/indexOf.js | 9 - .../underscore/modules/initial.js | 8 - .../underscore/modules/intersection.js | 19 - .../node_modules/underscore/modules/invert.js | 11 - .../node_modules/underscore/modules/invoke.js | 28 - .../underscore/modules/isArguments.js | 16 - .../underscore/modules/isArray.js | 6 - .../underscore/modules/isArrayBuffer.js | 3 - .../underscore/modules/isBoolean.js | 6 - .../underscore/modules/isDataView.js | 14 - .../node_modules/underscore/modules/isDate.js | 3 - .../underscore/modules/isElement.js | 4 - .../underscore/modules/isEmpty.js | 18 - .../underscore/modules/isEqual.js | 138 - .../underscore/modules/isError.js | 3 - .../underscore/modules/isFinite.js | 7 - .../underscore/modules/isFunction.js | 15 - .../node_modules/underscore/modules/isMap.js | 5 - .../underscore/modules/isMatch.js | 13 - .../node_modules/underscore/modules/isNaN.js | 7 - .../node_modules/underscore/modules/isNull.js | 4 - .../underscore/modules/isNumber.js | 3 - .../underscore/modules/isObject.js | 5 - .../underscore/modules/isRegExp.js | 3 - .../node_modules/underscore/modules/isSet.js | 5 - .../underscore/modules/isString.js | 3 - .../underscore/modules/isSymbol.js | 3 - .../underscore/modules/isTypedArray.js | 15 - .../underscore/modules/isUndefined.js | 4 - .../underscore/modules/isWeakMap.js | 5 - .../underscore/modules/isWeakSet.js | 3 - .../underscore/modules/iteratee.js | 10 - .../node_modules/underscore/modules/keys.js | 16 - .../node_modules/underscore/modules/last.js | 9 - .../underscore/modules/lastIndexOf.js | 6 - .../node_modules/underscore/modules/map.js | 16 - .../underscore/modules/mapObject.js | 16 - .../underscore/modules/matcher.js | 11 - .../node_modules/underscore/modules/max.js | 29 - .../underscore/modules/memoize.js | 13 - .../node_modules/underscore/modules/min.js | 29 - .../node_modules/underscore/modules/mixin.js | 18 - .../node_modules/underscore/modules/negate.js | 6 - .../node_modules/underscore/modules/noop.js | 2 - .../node_modules/underscore/modules/now.js | 4 - .../node_modules/underscore/modules/object.js | 16 - .../node_modules/underscore/modules/omit.js | 22 - .../node_modules/underscore/modules/once.js | 6 - .../underscore/modules/package.json | 3 - .../node_modules/underscore/modules/pairs.js | 13 - .../underscore/modules/partial.js | 24 - .../underscore/modules/partition.js | 7 - .../node_modules/underscore/modules/pick.js | 26 - .../node_modules/underscore/modules/pluck.js | 7 - .../underscore/modules/property.js | 11 - .../underscore/modules/propertyOf.js | 10 - .../node_modules/underscore/modules/random.js | 8 - .../node_modules/underscore/modules/range.js | 21 - .../node_modules/underscore/modules/reduce.js | 5 - .../underscore/modules/reduceRight.js | 4 - .../node_modules/underscore/modules/reject.js | 8 - .../node_modules/underscore/modules/rest.js | 8 - .../underscore/modules/restArguments.js | 27 - .../node_modules/underscore/modules/result.js | 22 - .../node_modules/underscore/modules/sample.js | 27 - .../underscore/modules/shuffle.js | 6 - .../node_modules/underscore/modules/size.js | 8 - .../node_modules/underscore/modules/some.js | 15 - .../node_modules/underscore/modules/sortBy.js | 24 - .../underscore/modules/sortedIndex.js | 15 - .../node_modules/underscore/modules/tap.js | 7 - .../underscore/modules/template.js | 101 - .../underscore/modules/templateSettings.js | 9 - .../underscore/modules/throttle.js | 47 - .../node_modules/underscore/modules/times.js | 9 - .../underscore/modules/toArray.js | 20 - .../node_modules/underscore/modules/toPath.js | 9 - .../modules/underscore-array-methods.js | 31 - .../underscore/modules/underscore.js | 25 - .../underscore/modules/unescape.js | 5 - .../node_modules/underscore/modules/union.js | 9 - .../node_modules/underscore/modules/uniq.js | 36 - .../underscore/modules/uniqueId.js | 7 - .../node_modules/underscore/modules/unzip.js | 15 - .../node_modules/underscore/modules/values.js | 12 - .../node_modules/underscore/modules/where.js | 8 - .../underscore/modules/without.js | 7 - .../node_modules/underscore/modules/wrap.js | 8 - .../node_modules/underscore/modules/zip.js | 6 - .../node_modules/underscore/package.json | 118 - .../underscore/underscore-esm-min.js | 5 - .../underscore/underscore-esm-min.js.map | 1 - .../node_modules/underscore/underscore-esm.js | 2034 ----- .../underscore/underscore-esm.js.map | 1 - .../node_modules/underscore/underscore-min.js | 6 - .../underscore/underscore-min.js.map | 1 - .../underscore/underscore-node-f.cjs | 2158 ----- .../underscore/underscore-node-f.cjs.map | 1 - .../underscore/underscore-node.cjs | 11 - .../underscore/underscore-node.cjs.map | 1 - .../underscore/underscore-node.mjs | 7 - .../underscore/underscore-node.mjs.map | 1 - .../underscore/underscore-umd-min.js | 6 - .../underscore/underscore-umd-min.js.map | 1 - .../node_modules/underscore/underscore-umd.js | 2042 ----- .../underscore/underscore-umd.js.map | 1 - .../node_modules/underscore/underscore.js | 2042 ----- node_modules/typed-rest-client/package.json | 4 +- node_modules/unbox-primitive/.editorconfig | 20 - node_modules/unbox-primitive/.eslintignore | 1 - node_modules/unbox-primitive/.eslintrc | 5 - .../unbox-primitive/.github/FUNDING.yml | 12 - node_modules/unbox-primitive/.nycrc | 13 - node_modules/unbox-primitive/CHANGELOG.md | 47 - node_modules/unbox-primitive/LICENSE | 21 - node_modules/unbox-primitive/README.md | 41 - node_modules/unbox-primitive/index.js | 39 - node_modules/unbox-primitive/package.json | 64 - node_modules/unbox-primitive/test/index.js | 59 - node_modules/util/README.md | 2 +- node_modules/util/package.json | 4 +- node_modules/util/util.js | 4 +- .../which-boxed-primitive/.editorconfig | 20 - .../which-boxed-primitive/.eslintignore | 1 - node_modules/which-boxed-primitive/.eslintrc | 9 - .../which-boxed-primitive/.github/FUNDING.yml | 12 - node_modules/which-boxed-primitive/.nycrc | 13 - .../which-boxed-primitive/CHANGELOG.md | 54 - node_modules/which-boxed-primitive/LICENSE | 21 - node_modules/which-boxed-primitive/README.md | 73 - node_modules/which-boxed-primitive/index.js | 30 - .../which-boxed-primitive/package.json | 65 - .../which-boxed-primitive/test/index.js | 66 - node_modules/which-typed-array/.eslintignore | 1 - node_modules/which-typed-array/CHANGELOG.md | 54 +- node_modules/which-typed-array/README.md | 37 +- node_modules/which-typed-array/index.js | 31 +- node_modules/which-typed-array/package.json | 48 +- node_modules/which-typed-array/test/index.js | 6 +- 1816 files changed, 2542 insertions(+), 65132 deletions(-) delete mode 100644 node_modules/define-properties/.editorconfig delete mode 100644 node_modules/define-properties/.eslintrc delete mode 100644 node_modules/define-properties/.jscs.json delete mode 100644 node_modules/define-properties/.travis.yml delete mode 100644 node_modules/define-properties/CHANGELOG.md delete mode 100644 node_modules/define-properties/LICENSE delete mode 100644 node_modules/define-properties/README.md delete mode 100644 node_modules/define-properties/index.js delete mode 100644 node_modules/define-properties/package.json delete mode 100644 node_modules/define-properties/test/index.js delete mode 100644 node_modules/es-abstract/.editorconfig delete mode 100644 node_modules/es-abstract/.eslintignore delete mode 100644 node_modules/es-abstract/.eslintrc delete mode 100644 node_modules/es-abstract/.gitattributes delete mode 100644 node_modules/es-abstract/.nycrc delete mode 100644 node_modules/es-abstract/2015/AbstractEqualityComparison.js delete mode 100644 node_modules/es-abstract/2015/AbstractRelationalComparison.js delete mode 100644 node_modules/es-abstract/2015/AdvanceStringIndex.js delete mode 100644 node_modules/es-abstract/2015/ArrayCreate.js delete mode 100644 node_modules/es-abstract/2015/ArraySetLength.js delete mode 100644 node_modules/es-abstract/2015/ArraySpeciesCreate.js delete mode 100644 node_modules/es-abstract/2015/Call.js delete mode 100644 node_modules/es-abstract/2015/CanonicalNumericIndexString.js delete mode 100644 node_modules/es-abstract/2015/CompletePropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2015/CreateDataProperty.js delete mode 100644 node_modules/es-abstract/2015/CreateDataPropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2015/CreateHTML.js delete mode 100644 node_modules/es-abstract/2015/CreateIterResultObject.js delete mode 100644 node_modules/es-abstract/2015/CreateListFromArrayLike.js delete mode 100644 node_modules/es-abstract/2015/CreateMethodProperty.js delete mode 100644 node_modules/es-abstract/2015/DateFromTime.js delete mode 100644 node_modules/es-abstract/2015/Day.js delete mode 100644 node_modules/es-abstract/2015/DayFromYear.js delete mode 100644 node_modules/es-abstract/2015/DayWithinYear.js delete mode 100644 node_modules/es-abstract/2015/DaysInYear.js delete mode 100644 node_modules/es-abstract/2015/DefinePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2015/DeletePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2015/EnumerableOwnNames.js delete mode 100644 node_modules/es-abstract/2015/FromPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2015/Get.js delete mode 100644 node_modules/es-abstract/2015/GetIterator.js delete mode 100644 node_modules/es-abstract/2015/GetMethod.js delete mode 100644 node_modules/es-abstract/2015/GetOwnPropertyKeys.js delete mode 100644 node_modules/es-abstract/2015/GetPrototypeFromConstructor.js delete mode 100644 node_modules/es-abstract/2015/GetSubstitution.js delete mode 100644 node_modules/es-abstract/2015/GetV.js delete mode 100644 node_modules/es-abstract/2015/HasOwnProperty.js delete mode 100644 node_modules/es-abstract/2015/HasProperty.js delete mode 100644 node_modules/es-abstract/2015/HourFromTime.js delete mode 100644 node_modules/es-abstract/2015/InLeapYear.js delete mode 100644 node_modules/es-abstract/2015/InstanceofOperator.js delete mode 100644 node_modules/es-abstract/2015/Invoke.js delete mode 100644 node_modules/es-abstract/2015/IsAccessorDescriptor.js delete mode 100644 node_modules/es-abstract/2015/IsArray.js delete mode 100644 node_modules/es-abstract/2015/IsCallable.js delete mode 100644 node_modules/es-abstract/2015/IsConcatSpreadable.js delete mode 100644 node_modules/es-abstract/2015/IsConstructor.js delete mode 100644 node_modules/es-abstract/2015/IsDataDescriptor.js delete mode 100644 node_modules/es-abstract/2015/IsExtensible.js delete mode 100644 node_modules/es-abstract/2015/IsGenericDescriptor.js delete mode 100644 node_modules/es-abstract/2015/IsInteger.js delete mode 100644 node_modules/es-abstract/2015/IsPromise.js delete mode 100644 node_modules/es-abstract/2015/IsPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2015/IsPropertyKey.js delete mode 100644 node_modules/es-abstract/2015/IsRegExp.js delete mode 100644 node_modules/es-abstract/2015/IteratorClose.js delete mode 100644 node_modules/es-abstract/2015/IteratorComplete.js delete mode 100644 node_modules/es-abstract/2015/IteratorNext.js delete mode 100644 node_modules/es-abstract/2015/IteratorStep.js delete mode 100644 node_modules/es-abstract/2015/IteratorValue.js delete mode 100644 node_modules/es-abstract/2015/MakeDate.js delete mode 100644 node_modules/es-abstract/2015/MakeDay.js delete mode 100644 node_modules/es-abstract/2015/MakeTime.js delete mode 100644 node_modules/es-abstract/2015/MinFromTime.js delete mode 100644 node_modules/es-abstract/2015/MonthFromTime.js delete mode 100644 node_modules/es-abstract/2015/ObjectCreate.js delete mode 100644 node_modules/es-abstract/2015/OrdinaryCreateFromConstructor.js delete mode 100644 node_modules/es-abstract/2015/OrdinaryDefineOwnProperty.js delete mode 100644 node_modules/es-abstract/2015/OrdinaryGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2015/OrdinaryHasInstance.js delete mode 100644 node_modules/es-abstract/2015/OrdinaryHasProperty.js delete mode 100644 node_modules/es-abstract/2015/QuoteJSONString.js delete mode 100644 node_modules/es-abstract/2015/RegExpCreate.js delete mode 100644 node_modules/es-abstract/2015/RegExpExec.js delete mode 100644 node_modules/es-abstract/2015/RequireObjectCoercible.js delete mode 100644 node_modules/es-abstract/2015/SameValue.js delete mode 100644 node_modules/es-abstract/2015/SameValueZero.js delete mode 100644 node_modules/es-abstract/2015/SecFromTime.js delete mode 100644 node_modules/es-abstract/2015/Set.js delete mode 100644 node_modules/es-abstract/2015/SetFunctionName.js delete mode 100644 node_modules/es-abstract/2015/SetIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2015/SpeciesConstructor.js delete mode 100644 node_modules/es-abstract/2015/SplitMatch.js delete mode 100644 node_modules/es-abstract/2015/StrictEqualityComparison.js delete mode 100644 node_modules/es-abstract/2015/StringCreate.js delete mode 100644 node_modules/es-abstract/2015/StringGetIndexProperty.js delete mode 100644 node_modules/es-abstract/2015/SymbolDescriptiveString.js delete mode 100644 node_modules/es-abstract/2015/TestIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2015/TimeClip.js delete mode 100644 node_modules/es-abstract/2015/TimeFromYear.js delete mode 100644 node_modules/es-abstract/2015/TimeWithinDay.js delete mode 100644 node_modules/es-abstract/2015/ToBoolean.js delete mode 100644 node_modules/es-abstract/2015/ToDateString.js delete mode 100644 node_modules/es-abstract/2015/ToInt16.js delete mode 100644 node_modules/es-abstract/2015/ToInt32.js delete mode 100644 node_modules/es-abstract/2015/ToInt8.js delete mode 100644 node_modules/es-abstract/2015/ToInteger.js delete mode 100644 node_modules/es-abstract/2015/ToLength.js delete mode 100644 node_modules/es-abstract/2015/ToNumber.js delete mode 100644 node_modules/es-abstract/2015/ToObject.js delete mode 100644 node_modules/es-abstract/2015/ToPrimitive.js delete mode 100644 node_modules/es-abstract/2015/ToPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2015/ToPropertyKey.js delete mode 100644 node_modules/es-abstract/2015/ToString.js delete mode 100644 node_modules/es-abstract/2015/ToUint16.js delete mode 100644 node_modules/es-abstract/2015/ToUint32.js delete mode 100644 node_modules/es-abstract/2015/ToUint8.js delete mode 100644 node_modules/es-abstract/2015/ToUint8Clamp.js delete mode 100644 node_modules/es-abstract/2015/Type.js delete mode 100644 node_modules/es-abstract/2015/ValidateAndApplyPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2015/WeekDay.js delete mode 100644 node_modules/es-abstract/2015/YearFromTime.js delete mode 100644 node_modules/es-abstract/2015/abs.js delete mode 100644 node_modules/es-abstract/2015/floor.js delete mode 100644 node_modules/es-abstract/2015/modulo.js delete mode 100644 node_modules/es-abstract/2015/msFromTime.js delete mode 100644 node_modules/es-abstract/2015/thisBooleanValue.js delete mode 100644 node_modules/es-abstract/2015/thisNumberValue.js delete mode 100644 node_modules/es-abstract/2015/thisStringValue.js delete mode 100644 node_modules/es-abstract/2015/thisTimeValue.js delete mode 100644 node_modules/es-abstract/2016/AbstractEqualityComparison.js delete mode 100644 node_modules/es-abstract/2016/AbstractRelationalComparison.js delete mode 100644 node_modules/es-abstract/2016/AdvanceStringIndex.js delete mode 100644 node_modules/es-abstract/2016/ArrayCreate.js delete mode 100644 node_modules/es-abstract/2016/ArraySetLength.js delete mode 100644 node_modules/es-abstract/2016/ArraySpeciesCreate.js delete mode 100644 node_modules/es-abstract/2016/Call.js delete mode 100644 node_modules/es-abstract/2016/CanonicalNumericIndexString.js delete mode 100644 node_modules/es-abstract/2016/CompletePropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2016/CreateDataProperty.js delete mode 100644 node_modules/es-abstract/2016/CreateDataPropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2016/CreateHTML.js delete mode 100644 node_modules/es-abstract/2016/CreateIterResultObject.js delete mode 100644 node_modules/es-abstract/2016/CreateListFromArrayLike.js delete mode 100644 node_modules/es-abstract/2016/CreateMethodProperty.js delete mode 100644 node_modules/es-abstract/2016/DateFromTime.js delete mode 100644 node_modules/es-abstract/2016/Day.js delete mode 100644 node_modules/es-abstract/2016/DayFromYear.js delete mode 100644 node_modules/es-abstract/2016/DayWithinYear.js delete mode 100644 node_modules/es-abstract/2016/DaysInYear.js delete mode 100644 node_modules/es-abstract/2016/DefinePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2016/DeletePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2016/EnumerableOwnNames.js delete mode 100644 node_modules/es-abstract/2016/FromPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2016/Get.js delete mode 100644 node_modules/es-abstract/2016/GetIterator.js delete mode 100644 node_modules/es-abstract/2016/GetMethod.js delete mode 100644 node_modules/es-abstract/2016/GetOwnPropertyKeys.js delete mode 100644 node_modules/es-abstract/2016/GetPrototypeFromConstructor.js delete mode 100644 node_modules/es-abstract/2016/GetSubstitution.js delete mode 100644 node_modules/es-abstract/2016/GetV.js delete mode 100644 node_modules/es-abstract/2016/HasOwnProperty.js delete mode 100644 node_modules/es-abstract/2016/HasProperty.js delete mode 100644 node_modules/es-abstract/2016/HourFromTime.js delete mode 100644 node_modules/es-abstract/2016/InLeapYear.js delete mode 100644 node_modules/es-abstract/2016/InstanceofOperator.js delete mode 100644 node_modules/es-abstract/2016/Invoke.js delete mode 100644 node_modules/es-abstract/2016/IsAccessorDescriptor.js delete mode 100644 node_modules/es-abstract/2016/IsArray.js delete mode 100644 node_modules/es-abstract/2016/IsCallable.js delete mode 100644 node_modules/es-abstract/2016/IsConcatSpreadable.js delete mode 100644 node_modules/es-abstract/2016/IsConstructor.js delete mode 100644 node_modules/es-abstract/2016/IsDataDescriptor.js delete mode 100644 node_modules/es-abstract/2016/IsExtensible.js delete mode 100644 node_modules/es-abstract/2016/IsGenericDescriptor.js delete mode 100644 node_modules/es-abstract/2016/IsInteger.js delete mode 100644 node_modules/es-abstract/2016/IsPromise.js delete mode 100644 node_modules/es-abstract/2016/IsPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2016/IsPropertyKey.js delete mode 100644 node_modules/es-abstract/2016/IsRegExp.js delete mode 100644 node_modules/es-abstract/2016/IterableToArrayLike.js delete mode 100644 node_modules/es-abstract/2016/IteratorClose.js delete mode 100644 node_modules/es-abstract/2016/IteratorComplete.js delete mode 100644 node_modules/es-abstract/2016/IteratorNext.js delete mode 100644 node_modules/es-abstract/2016/IteratorStep.js delete mode 100644 node_modules/es-abstract/2016/IteratorValue.js delete mode 100644 node_modules/es-abstract/2016/MakeDate.js delete mode 100644 node_modules/es-abstract/2016/MakeDay.js delete mode 100644 node_modules/es-abstract/2016/MakeTime.js delete mode 100644 node_modules/es-abstract/2016/MinFromTime.js delete mode 100644 node_modules/es-abstract/2016/MonthFromTime.js delete mode 100644 node_modules/es-abstract/2016/ObjectCreate.js delete mode 100644 node_modules/es-abstract/2016/OrdinaryCreateFromConstructor.js delete mode 100644 node_modules/es-abstract/2016/OrdinaryDefineOwnProperty.js delete mode 100644 node_modules/es-abstract/2016/OrdinaryGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2016/OrdinaryGetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2016/OrdinaryHasInstance.js delete mode 100644 node_modules/es-abstract/2016/OrdinaryHasProperty.js delete mode 100644 node_modules/es-abstract/2016/OrdinarySetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2016/QuoteJSONString.js delete mode 100644 node_modules/es-abstract/2016/RegExpCreate.js delete mode 100644 node_modules/es-abstract/2016/RegExpExec.js delete mode 100644 node_modules/es-abstract/2016/RequireObjectCoercible.js delete mode 100644 node_modules/es-abstract/2016/SameValue.js delete mode 100644 node_modules/es-abstract/2016/SameValueNonNumber.js delete mode 100644 node_modules/es-abstract/2016/SameValueZero.js delete mode 100644 node_modules/es-abstract/2016/SecFromTime.js delete mode 100644 node_modules/es-abstract/2016/Set.js delete mode 100644 node_modules/es-abstract/2016/SetFunctionName.js delete mode 100644 node_modules/es-abstract/2016/SetIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2016/SpeciesConstructor.js delete mode 100644 node_modules/es-abstract/2016/SplitMatch.js delete mode 100644 node_modules/es-abstract/2016/StrictEqualityComparison.js delete mode 100644 node_modules/es-abstract/2016/StringCreate.js delete mode 100644 node_modules/es-abstract/2016/SymbolDescriptiveString.js delete mode 100644 node_modules/es-abstract/2016/TestIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2016/TimeClip.js delete mode 100644 node_modules/es-abstract/2016/TimeFromYear.js delete mode 100644 node_modules/es-abstract/2016/TimeWithinDay.js delete mode 100644 node_modules/es-abstract/2016/ToBoolean.js delete mode 100644 node_modules/es-abstract/2016/ToDateString.js delete mode 100644 node_modules/es-abstract/2016/ToInt16.js delete mode 100644 node_modules/es-abstract/2016/ToInt32.js delete mode 100644 node_modules/es-abstract/2016/ToInt8.js delete mode 100644 node_modules/es-abstract/2016/ToInteger.js delete mode 100644 node_modules/es-abstract/2016/ToLength.js delete mode 100644 node_modules/es-abstract/2016/ToNumber.js delete mode 100644 node_modules/es-abstract/2016/ToObject.js delete mode 100644 node_modules/es-abstract/2016/ToPrimitive.js delete mode 100644 node_modules/es-abstract/2016/ToPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2016/ToPropertyKey.js delete mode 100644 node_modules/es-abstract/2016/ToString.js delete mode 100644 node_modules/es-abstract/2016/ToUint16.js delete mode 100644 node_modules/es-abstract/2016/ToUint32.js delete mode 100644 node_modules/es-abstract/2016/ToUint8.js delete mode 100644 node_modules/es-abstract/2016/ToUint8Clamp.js delete mode 100644 node_modules/es-abstract/2016/Type.js delete mode 100644 node_modules/es-abstract/2016/UTF16Decode.js delete mode 100644 node_modules/es-abstract/2016/UTF16Encoding.js delete mode 100644 node_modules/es-abstract/2016/ValidateAndApplyPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2016/WeekDay.js delete mode 100644 node_modules/es-abstract/2016/YearFromTime.js delete mode 100644 node_modules/es-abstract/2016/abs.js delete mode 100644 node_modules/es-abstract/2016/floor.js delete mode 100644 node_modules/es-abstract/2016/modulo.js delete mode 100644 node_modules/es-abstract/2016/msFromTime.js delete mode 100644 node_modules/es-abstract/2016/thisBooleanValue.js delete mode 100644 node_modules/es-abstract/2016/thisNumberValue.js delete mode 100644 node_modules/es-abstract/2016/thisStringValue.js delete mode 100644 node_modules/es-abstract/2016/thisTimeValue.js delete mode 100644 node_modules/es-abstract/2017/AbstractEqualityComparison.js delete mode 100644 node_modules/es-abstract/2017/AbstractRelationalComparison.js delete mode 100644 node_modules/es-abstract/2017/AdvanceStringIndex.js delete mode 100644 node_modules/es-abstract/2017/ArrayCreate.js delete mode 100644 node_modules/es-abstract/2017/ArraySetLength.js delete mode 100644 node_modules/es-abstract/2017/ArraySpeciesCreate.js delete mode 100644 node_modules/es-abstract/2017/Call.js delete mode 100644 node_modules/es-abstract/2017/CanonicalNumericIndexString.js delete mode 100644 node_modules/es-abstract/2017/CompletePropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2017/CreateDataProperty.js delete mode 100644 node_modules/es-abstract/2017/CreateDataPropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2017/CreateHTML.js delete mode 100644 node_modules/es-abstract/2017/CreateIterResultObject.js delete mode 100644 node_modules/es-abstract/2017/CreateListFromArrayLike.js delete mode 100644 node_modules/es-abstract/2017/CreateMethodProperty.js delete mode 100644 node_modules/es-abstract/2017/DateFromTime.js delete mode 100644 node_modules/es-abstract/2017/Day.js delete mode 100644 node_modules/es-abstract/2017/DayFromYear.js delete mode 100644 node_modules/es-abstract/2017/DayWithinYear.js delete mode 100644 node_modules/es-abstract/2017/DaysInYear.js delete mode 100644 node_modules/es-abstract/2017/DefinePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2017/DeletePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2017/EnumerableOwnProperties.js delete mode 100644 node_modules/es-abstract/2017/FromPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2017/Get.js delete mode 100644 node_modules/es-abstract/2017/GetIterator.js delete mode 100644 node_modules/es-abstract/2017/GetMethod.js delete mode 100644 node_modules/es-abstract/2017/GetOwnPropertyKeys.js delete mode 100644 node_modules/es-abstract/2017/GetPrototypeFromConstructor.js delete mode 100644 node_modules/es-abstract/2017/GetSubstitution.js delete mode 100644 node_modules/es-abstract/2017/GetV.js delete mode 100644 node_modules/es-abstract/2017/HasOwnProperty.js delete mode 100644 node_modules/es-abstract/2017/HasProperty.js delete mode 100644 node_modules/es-abstract/2017/HourFromTime.js delete mode 100644 node_modules/es-abstract/2017/InLeapYear.js delete mode 100644 node_modules/es-abstract/2017/InstanceofOperator.js delete mode 100644 node_modules/es-abstract/2017/Invoke.js delete mode 100644 node_modules/es-abstract/2017/IsAccessorDescriptor.js delete mode 100644 node_modules/es-abstract/2017/IsArray.js delete mode 100644 node_modules/es-abstract/2017/IsCallable.js delete mode 100644 node_modules/es-abstract/2017/IsConcatSpreadable.js delete mode 100644 node_modules/es-abstract/2017/IsConstructor.js delete mode 100644 node_modules/es-abstract/2017/IsDataDescriptor.js delete mode 100644 node_modules/es-abstract/2017/IsExtensible.js delete mode 100644 node_modules/es-abstract/2017/IsGenericDescriptor.js delete mode 100644 node_modules/es-abstract/2017/IsInteger.js delete mode 100644 node_modules/es-abstract/2017/IsPromise.js delete mode 100644 node_modules/es-abstract/2017/IsPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2017/IsPropertyKey.js delete mode 100644 node_modules/es-abstract/2017/IsRegExp.js delete mode 100644 node_modules/es-abstract/2017/IterableToList.js delete mode 100644 node_modules/es-abstract/2017/IteratorClose.js delete mode 100644 node_modules/es-abstract/2017/IteratorComplete.js delete mode 100644 node_modules/es-abstract/2017/IteratorNext.js delete mode 100644 node_modules/es-abstract/2017/IteratorStep.js delete mode 100644 node_modules/es-abstract/2017/IteratorValue.js delete mode 100644 node_modules/es-abstract/2017/MakeDate.js delete mode 100644 node_modules/es-abstract/2017/MakeDay.js delete mode 100644 node_modules/es-abstract/2017/MakeTime.js delete mode 100644 node_modules/es-abstract/2017/MinFromTime.js delete mode 100644 node_modules/es-abstract/2017/MonthFromTime.js delete mode 100644 node_modules/es-abstract/2017/ObjectCreate.js delete mode 100644 node_modules/es-abstract/2017/OrdinaryCreateFromConstructor.js delete mode 100644 node_modules/es-abstract/2017/OrdinaryDefineOwnProperty.js delete mode 100644 node_modules/es-abstract/2017/OrdinaryGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2017/OrdinaryGetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2017/OrdinaryHasInstance.js delete mode 100644 node_modules/es-abstract/2017/OrdinaryHasProperty.js delete mode 100644 node_modules/es-abstract/2017/OrdinarySetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2017/QuoteJSONString.js delete mode 100644 node_modules/es-abstract/2017/RegExpCreate.js delete mode 100644 node_modules/es-abstract/2017/RegExpExec.js delete mode 100644 node_modules/es-abstract/2017/RequireObjectCoercible.js delete mode 100644 node_modules/es-abstract/2017/SameValue.js delete mode 100644 node_modules/es-abstract/2017/SameValueNonNumber.js delete mode 100644 node_modules/es-abstract/2017/SameValueZero.js delete mode 100644 node_modules/es-abstract/2017/SecFromTime.js delete mode 100644 node_modules/es-abstract/2017/Set.js delete mode 100644 node_modules/es-abstract/2017/SetFunctionName.js delete mode 100644 node_modules/es-abstract/2017/SetIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2017/SpeciesConstructor.js delete mode 100644 node_modules/es-abstract/2017/SplitMatch.js delete mode 100644 node_modules/es-abstract/2017/StrictEqualityComparison.js delete mode 100644 node_modules/es-abstract/2017/StringCreate.js delete mode 100644 node_modules/es-abstract/2017/StringGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2017/SymbolDescriptiveString.js delete mode 100644 node_modules/es-abstract/2017/TestIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2017/TimeClip.js delete mode 100644 node_modules/es-abstract/2017/TimeFromYear.js delete mode 100644 node_modules/es-abstract/2017/TimeWithinDay.js delete mode 100644 node_modules/es-abstract/2017/ToBoolean.js delete mode 100644 node_modules/es-abstract/2017/ToDateString.js delete mode 100644 node_modules/es-abstract/2017/ToIndex.js delete mode 100644 node_modules/es-abstract/2017/ToInt16.js delete mode 100644 node_modules/es-abstract/2017/ToInt32.js delete mode 100644 node_modules/es-abstract/2017/ToInt8.js delete mode 100644 node_modules/es-abstract/2017/ToInteger.js delete mode 100644 node_modules/es-abstract/2017/ToLength.js delete mode 100644 node_modules/es-abstract/2017/ToNumber.js delete mode 100644 node_modules/es-abstract/2017/ToObject.js delete mode 100644 node_modules/es-abstract/2017/ToPrimitive.js delete mode 100644 node_modules/es-abstract/2017/ToPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2017/ToPropertyKey.js delete mode 100644 node_modules/es-abstract/2017/ToString.js delete mode 100644 node_modules/es-abstract/2017/ToUint16.js delete mode 100644 node_modules/es-abstract/2017/ToUint32.js delete mode 100644 node_modules/es-abstract/2017/ToUint8.js delete mode 100644 node_modules/es-abstract/2017/ToUint8Clamp.js delete mode 100644 node_modules/es-abstract/2017/Type.js delete mode 100644 node_modules/es-abstract/2017/UTF16Decode.js delete mode 100644 node_modules/es-abstract/2017/UTF16Encoding.js delete mode 100644 node_modules/es-abstract/2017/ValidateAndApplyPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2017/WeekDay.js delete mode 100644 node_modules/es-abstract/2017/YearFromTime.js delete mode 100644 node_modules/es-abstract/2017/abs.js delete mode 100644 node_modules/es-abstract/2017/floor.js delete mode 100644 node_modules/es-abstract/2017/modulo.js delete mode 100644 node_modules/es-abstract/2017/msFromTime.js delete mode 100644 node_modules/es-abstract/2017/thisBooleanValue.js delete mode 100644 node_modules/es-abstract/2017/thisNumberValue.js delete mode 100644 node_modules/es-abstract/2017/thisStringValue.js delete mode 100644 node_modules/es-abstract/2017/thisTimeValue.js delete mode 100644 node_modules/es-abstract/2018/AbstractEqualityComparison.js delete mode 100644 node_modules/es-abstract/2018/AbstractRelationalComparison.js delete mode 100644 node_modules/es-abstract/2018/AdvanceStringIndex.js delete mode 100644 node_modules/es-abstract/2018/ArrayCreate.js delete mode 100644 node_modules/es-abstract/2018/ArraySetLength.js delete mode 100644 node_modules/es-abstract/2018/ArraySpeciesCreate.js delete mode 100644 node_modules/es-abstract/2018/Call.js delete mode 100644 node_modules/es-abstract/2018/CanonicalNumericIndexString.js delete mode 100644 node_modules/es-abstract/2018/CompletePropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2018/CopyDataProperties.js delete mode 100644 node_modules/es-abstract/2018/CreateDataProperty.js delete mode 100644 node_modules/es-abstract/2018/CreateDataPropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2018/CreateHTML.js delete mode 100644 node_modules/es-abstract/2018/CreateIterResultObject.js delete mode 100644 node_modules/es-abstract/2018/CreateListFromArrayLike.js delete mode 100644 node_modules/es-abstract/2018/CreateMethodProperty.js delete mode 100644 node_modules/es-abstract/2018/DateFromTime.js delete mode 100644 node_modules/es-abstract/2018/DateString.js delete mode 100644 node_modules/es-abstract/2018/Day.js delete mode 100644 node_modules/es-abstract/2018/DayFromYear.js delete mode 100644 node_modules/es-abstract/2018/DayWithinYear.js delete mode 100644 node_modules/es-abstract/2018/DaysInYear.js delete mode 100644 node_modules/es-abstract/2018/DefinePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2018/DeletePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2018/EnumerableOwnPropertyNames.js delete mode 100644 node_modules/es-abstract/2018/FromPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2018/Get.js delete mode 100644 node_modules/es-abstract/2018/GetIterator.js delete mode 100644 node_modules/es-abstract/2018/GetMethod.js delete mode 100644 node_modules/es-abstract/2018/GetOwnPropertyKeys.js delete mode 100644 node_modules/es-abstract/2018/GetPrototypeFromConstructor.js delete mode 100644 node_modules/es-abstract/2018/GetSubstitution.js delete mode 100644 node_modules/es-abstract/2018/GetV.js delete mode 100644 node_modules/es-abstract/2018/HasOwnProperty.js delete mode 100644 node_modules/es-abstract/2018/HasProperty.js delete mode 100644 node_modules/es-abstract/2018/HourFromTime.js delete mode 100644 node_modules/es-abstract/2018/InLeapYear.js delete mode 100644 node_modules/es-abstract/2018/InstanceofOperator.js delete mode 100644 node_modules/es-abstract/2018/Invoke.js delete mode 100644 node_modules/es-abstract/2018/IsAccessorDescriptor.js delete mode 100644 node_modules/es-abstract/2018/IsArray.js delete mode 100644 node_modules/es-abstract/2018/IsCallable.js delete mode 100644 node_modules/es-abstract/2018/IsConcatSpreadable.js delete mode 100644 node_modules/es-abstract/2018/IsConstructor.js delete mode 100644 node_modules/es-abstract/2018/IsDataDescriptor.js delete mode 100644 node_modules/es-abstract/2018/IsExtensible.js delete mode 100644 node_modules/es-abstract/2018/IsGenericDescriptor.js delete mode 100644 node_modules/es-abstract/2018/IsInteger.js delete mode 100644 node_modules/es-abstract/2018/IsPromise.js delete mode 100644 node_modules/es-abstract/2018/IsPropertyKey.js delete mode 100644 node_modules/es-abstract/2018/IsRegExp.js delete mode 100644 node_modules/es-abstract/2018/IsStringPrefix.js delete mode 100644 node_modules/es-abstract/2018/IterableToList.js delete mode 100644 node_modules/es-abstract/2018/IteratorClose.js delete mode 100644 node_modules/es-abstract/2018/IteratorComplete.js delete mode 100644 node_modules/es-abstract/2018/IteratorNext.js delete mode 100644 node_modules/es-abstract/2018/IteratorStep.js delete mode 100644 node_modules/es-abstract/2018/IteratorValue.js delete mode 100644 node_modules/es-abstract/2018/MakeDate.js delete mode 100644 node_modules/es-abstract/2018/MakeDay.js delete mode 100644 node_modules/es-abstract/2018/MakeTime.js delete mode 100644 node_modules/es-abstract/2018/MinFromTime.js delete mode 100644 node_modules/es-abstract/2018/MonthFromTime.js delete mode 100644 node_modules/es-abstract/2018/NumberToString.js delete mode 100644 node_modules/es-abstract/2018/ObjectCreate.js delete mode 100644 node_modules/es-abstract/2018/OrdinaryCreateFromConstructor.js delete mode 100644 node_modules/es-abstract/2018/OrdinaryDefineOwnProperty.js delete mode 100644 node_modules/es-abstract/2018/OrdinaryGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2018/OrdinaryGetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2018/OrdinaryHasInstance.js delete mode 100644 node_modules/es-abstract/2018/OrdinaryHasProperty.js delete mode 100644 node_modules/es-abstract/2018/OrdinarySetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2018/PromiseResolve.js delete mode 100644 node_modules/es-abstract/2018/QuoteJSONString.js delete mode 100644 node_modules/es-abstract/2018/RegExpCreate.js delete mode 100644 node_modules/es-abstract/2018/RegExpExec.js delete mode 100644 node_modules/es-abstract/2018/RequireObjectCoercible.js delete mode 100644 node_modules/es-abstract/2018/SameValue.js delete mode 100644 node_modules/es-abstract/2018/SameValueNonNumber.js delete mode 100644 node_modules/es-abstract/2018/SameValueZero.js delete mode 100644 node_modules/es-abstract/2018/SecFromTime.js delete mode 100644 node_modules/es-abstract/2018/Set.js delete mode 100644 node_modules/es-abstract/2018/SetFunctionLength.js delete mode 100644 node_modules/es-abstract/2018/SetFunctionName.js delete mode 100644 node_modules/es-abstract/2018/SetIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2018/SpeciesConstructor.js delete mode 100644 node_modules/es-abstract/2018/SplitMatch.js delete mode 100644 node_modules/es-abstract/2018/StrictEqualityComparison.js delete mode 100644 node_modules/es-abstract/2018/StringCreate.js delete mode 100644 node_modules/es-abstract/2018/StringGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2018/SymbolDescriptiveString.js delete mode 100644 node_modules/es-abstract/2018/TestIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2018/TimeClip.js delete mode 100644 node_modules/es-abstract/2018/TimeFromYear.js delete mode 100644 node_modules/es-abstract/2018/TimeString.js delete mode 100644 node_modules/es-abstract/2018/TimeWithinDay.js delete mode 100644 node_modules/es-abstract/2018/ToBoolean.js delete mode 100644 node_modules/es-abstract/2018/ToDateString.js delete mode 100644 node_modules/es-abstract/2018/ToIndex.js delete mode 100644 node_modules/es-abstract/2018/ToInt16.js delete mode 100644 node_modules/es-abstract/2018/ToInt32.js delete mode 100644 node_modules/es-abstract/2018/ToInt8.js delete mode 100644 node_modules/es-abstract/2018/ToInteger.js delete mode 100644 node_modules/es-abstract/2018/ToLength.js delete mode 100644 node_modules/es-abstract/2018/ToNumber.js delete mode 100644 node_modules/es-abstract/2018/ToObject.js delete mode 100644 node_modules/es-abstract/2018/ToPrimitive.js delete mode 100644 node_modules/es-abstract/2018/ToPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2018/ToPropertyKey.js delete mode 100644 node_modules/es-abstract/2018/ToString.js delete mode 100644 node_modules/es-abstract/2018/ToUint16.js delete mode 100644 node_modules/es-abstract/2018/ToUint32.js delete mode 100644 node_modules/es-abstract/2018/ToUint8.js delete mode 100644 node_modules/es-abstract/2018/ToUint8Clamp.js delete mode 100644 node_modules/es-abstract/2018/Type.js delete mode 100644 node_modules/es-abstract/2018/UTF16Decode.js delete mode 100644 node_modules/es-abstract/2018/UTF16Encoding.js delete mode 100644 node_modules/es-abstract/2018/UnicodeEscape.js delete mode 100644 node_modules/es-abstract/2018/ValidateAndApplyPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2018/WeekDay.js delete mode 100644 node_modules/es-abstract/2018/YearFromTime.js delete mode 100644 node_modules/es-abstract/2018/abs.js delete mode 100644 node_modules/es-abstract/2018/floor.js delete mode 100644 node_modules/es-abstract/2018/modulo.js delete mode 100644 node_modules/es-abstract/2018/msFromTime.js delete mode 100644 node_modules/es-abstract/2018/thisBooleanValue.js delete mode 100644 node_modules/es-abstract/2018/thisNumberValue.js delete mode 100644 node_modules/es-abstract/2018/thisStringValue.js delete mode 100644 node_modules/es-abstract/2018/thisSymbolValue.js delete mode 100644 node_modules/es-abstract/2018/thisTimeValue.js delete mode 100644 node_modules/es-abstract/2019/AbstractEqualityComparison.js delete mode 100644 node_modules/es-abstract/2019/AbstractRelationalComparison.js delete mode 100644 node_modules/es-abstract/2019/AddEntriesFromIterable.js delete mode 100644 node_modules/es-abstract/2019/AdvanceStringIndex.js delete mode 100644 node_modules/es-abstract/2019/ArrayCreate.js delete mode 100644 node_modules/es-abstract/2019/ArraySetLength.js delete mode 100644 node_modules/es-abstract/2019/ArraySpeciesCreate.js delete mode 100644 node_modules/es-abstract/2019/Call.js delete mode 100644 node_modules/es-abstract/2019/CanonicalNumericIndexString.js delete mode 100644 node_modules/es-abstract/2019/CompletePropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2019/CopyDataProperties.js delete mode 100644 node_modules/es-abstract/2019/CreateDataProperty.js delete mode 100644 node_modules/es-abstract/2019/CreateDataPropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2019/CreateHTML.js delete mode 100644 node_modules/es-abstract/2019/CreateIterResultObject.js delete mode 100644 node_modules/es-abstract/2019/CreateListFromArrayLike.js delete mode 100644 node_modules/es-abstract/2019/CreateMethodProperty.js delete mode 100644 node_modules/es-abstract/2019/DateFromTime.js delete mode 100644 node_modules/es-abstract/2019/DateString.js delete mode 100644 node_modules/es-abstract/2019/Day.js delete mode 100644 node_modules/es-abstract/2019/DayFromYear.js delete mode 100644 node_modules/es-abstract/2019/DayWithinYear.js delete mode 100644 node_modules/es-abstract/2019/DaysInYear.js delete mode 100644 node_modules/es-abstract/2019/DefinePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2019/DeletePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2019/EnumerableOwnPropertyNames.js delete mode 100644 node_modules/es-abstract/2019/FlattenIntoArray.js delete mode 100644 node_modules/es-abstract/2019/FromPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2019/Get.js delete mode 100644 node_modules/es-abstract/2019/GetIterator.js delete mode 100644 node_modules/es-abstract/2019/GetMethod.js delete mode 100644 node_modules/es-abstract/2019/GetOwnPropertyKeys.js delete mode 100644 node_modules/es-abstract/2019/GetPrototypeFromConstructor.js delete mode 100644 node_modules/es-abstract/2019/GetSubstitution.js delete mode 100644 node_modules/es-abstract/2019/GetV.js delete mode 100644 node_modules/es-abstract/2019/HasOwnProperty.js delete mode 100644 node_modules/es-abstract/2019/HasProperty.js delete mode 100644 node_modules/es-abstract/2019/HourFromTime.js delete mode 100644 node_modules/es-abstract/2019/InLeapYear.js delete mode 100644 node_modules/es-abstract/2019/InstanceofOperator.js delete mode 100644 node_modules/es-abstract/2019/Invoke.js delete mode 100644 node_modules/es-abstract/2019/IsAccessorDescriptor.js delete mode 100644 node_modules/es-abstract/2019/IsArray.js delete mode 100644 node_modules/es-abstract/2019/IsCallable.js delete mode 100644 node_modules/es-abstract/2019/IsConcatSpreadable.js delete mode 100644 node_modules/es-abstract/2019/IsConstructor.js delete mode 100644 node_modules/es-abstract/2019/IsDataDescriptor.js delete mode 100644 node_modules/es-abstract/2019/IsExtensible.js delete mode 100644 node_modules/es-abstract/2019/IsGenericDescriptor.js delete mode 100644 node_modules/es-abstract/2019/IsInteger.js delete mode 100644 node_modules/es-abstract/2019/IsPromise.js delete mode 100644 node_modules/es-abstract/2019/IsPropertyKey.js delete mode 100644 node_modules/es-abstract/2019/IsRegExp.js delete mode 100644 node_modules/es-abstract/2019/IsStringPrefix.js delete mode 100644 node_modules/es-abstract/2019/IterableToList.js delete mode 100644 node_modules/es-abstract/2019/IteratorClose.js delete mode 100644 node_modules/es-abstract/2019/IteratorComplete.js delete mode 100644 node_modules/es-abstract/2019/IteratorNext.js delete mode 100644 node_modules/es-abstract/2019/IteratorStep.js delete mode 100644 node_modules/es-abstract/2019/IteratorValue.js delete mode 100644 node_modules/es-abstract/2019/MakeDate.js delete mode 100644 node_modules/es-abstract/2019/MakeDay.js delete mode 100644 node_modules/es-abstract/2019/MakeTime.js delete mode 100644 node_modules/es-abstract/2019/MinFromTime.js delete mode 100644 node_modules/es-abstract/2019/MonthFromTime.js delete mode 100644 node_modules/es-abstract/2019/NumberToString.js delete mode 100644 node_modules/es-abstract/2019/ObjectCreate.js delete mode 100644 node_modules/es-abstract/2019/OrdinaryCreateFromConstructor.js delete mode 100644 node_modules/es-abstract/2019/OrdinaryDefineOwnProperty.js delete mode 100644 node_modules/es-abstract/2019/OrdinaryGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2019/OrdinaryGetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2019/OrdinaryHasInstance.js delete mode 100644 node_modules/es-abstract/2019/OrdinaryHasProperty.js delete mode 100644 node_modules/es-abstract/2019/OrdinarySetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2019/PromiseResolve.js delete mode 100644 node_modules/es-abstract/2019/QuoteJSONString.js delete mode 100644 node_modules/es-abstract/2019/RegExpCreate.js delete mode 100644 node_modules/es-abstract/2019/RegExpExec.js delete mode 100644 node_modules/es-abstract/2019/RequireObjectCoercible.js delete mode 100644 node_modules/es-abstract/2019/SameValue.js delete mode 100644 node_modules/es-abstract/2019/SameValueNonNumber.js delete mode 100644 node_modules/es-abstract/2019/SameValueZero.js delete mode 100644 node_modules/es-abstract/2019/SecFromTime.js delete mode 100644 node_modules/es-abstract/2019/Set.js delete mode 100644 node_modules/es-abstract/2019/SetFunctionLength.js delete mode 100644 node_modules/es-abstract/2019/SetFunctionName.js delete mode 100644 node_modules/es-abstract/2019/SetIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2019/SpeciesConstructor.js delete mode 100644 node_modules/es-abstract/2019/SplitMatch.js delete mode 100644 node_modules/es-abstract/2019/StrictEqualityComparison.js delete mode 100644 node_modules/es-abstract/2019/StringCreate.js delete mode 100644 node_modules/es-abstract/2019/StringGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2019/SymbolDescriptiveString.js delete mode 100644 node_modules/es-abstract/2019/TestIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2019/TimeClip.js delete mode 100644 node_modules/es-abstract/2019/TimeFromYear.js delete mode 100644 node_modules/es-abstract/2019/TimeString.js delete mode 100644 node_modules/es-abstract/2019/TimeWithinDay.js delete mode 100644 node_modules/es-abstract/2019/ToBoolean.js delete mode 100644 node_modules/es-abstract/2019/ToDateString.js delete mode 100644 node_modules/es-abstract/2019/ToIndex.js delete mode 100644 node_modules/es-abstract/2019/ToInt16.js delete mode 100644 node_modules/es-abstract/2019/ToInt32.js delete mode 100644 node_modules/es-abstract/2019/ToInt8.js delete mode 100644 node_modules/es-abstract/2019/ToInteger.js delete mode 100644 node_modules/es-abstract/2019/ToLength.js delete mode 100644 node_modules/es-abstract/2019/ToNumber.js delete mode 100644 node_modules/es-abstract/2019/ToObject.js delete mode 100644 node_modules/es-abstract/2019/ToPrimitive.js delete mode 100644 node_modules/es-abstract/2019/ToPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2019/ToPropertyKey.js delete mode 100644 node_modules/es-abstract/2019/ToString.js delete mode 100644 node_modules/es-abstract/2019/ToUint16.js delete mode 100644 node_modules/es-abstract/2019/ToUint32.js delete mode 100644 node_modules/es-abstract/2019/ToUint8.js delete mode 100644 node_modules/es-abstract/2019/ToUint8Clamp.js delete mode 100644 node_modules/es-abstract/2019/TrimString.js delete mode 100644 node_modules/es-abstract/2019/Type.js delete mode 100644 node_modules/es-abstract/2019/UTF16Decode.js delete mode 100644 node_modules/es-abstract/2019/UTF16Encoding.js delete mode 100644 node_modules/es-abstract/2019/UnicodeEscape.js delete mode 100644 node_modules/es-abstract/2019/ValidateAndApplyPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2019/WeekDay.js delete mode 100644 node_modules/es-abstract/2019/YearFromTime.js delete mode 100644 node_modules/es-abstract/2019/abs.js delete mode 100644 node_modules/es-abstract/2019/floor.js delete mode 100644 node_modules/es-abstract/2019/modulo.js delete mode 100644 node_modules/es-abstract/2019/msFromTime.js delete mode 100644 node_modules/es-abstract/2019/thisBooleanValue.js delete mode 100644 node_modules/es-abstract/2019/thisNumberValue.js delete mode 100644 node_modules/es-abstract/2019/thisStringValue.js delete mode 100644 node_modules/es-abstract/2019/thisSymbolValue.js delete mode 100644 node_modules/es-abstract/2019/thisTimeValue.js delete mode 100644 node_modules/es-abstract/2020/AbstractEqualityComparison.js delete mode 100644 node_modules/es-abstract/2020/AbstractRelationalComparison.js delete mode 100644 node_modules/es-abstract/2020/AddEntriesFromIterable.js delete mode 100644 node_modules/es-abstract/2020/AdvanceStringIndex.js delete mode 100644 node_modules/es-abstract/2020/ArrayCreate.js delete mode 100644 node_modules/es-abstract/2020/ArraySetLength.js delete mode 100644 node_modules/es-abstract/2020/ArraySpeciesCreate.js delete mode 100644 node_modules/es-abstract/2020/BigInt/add.js delete mode 100644 node_modules/es-abstract/2020/BigInt/bitwiseAND.js delete mode 100644 node_modules/es-abstract/2020/BigInt/bitwiseNOT.js delete mode 100644 node_modules/es-abstract/2020/BigInt/bitwiseOR.js delete mode 100644 node_modules/es-abstract/2020/BigInt/bitwiseXOR.js delete mode 100644 node_modules/es-abstract/2020/BigInt/divide.js delete mode 100644 node_modules/es-abstract/2020/BigInt/equal.js delete mode 100644 node_modules/es-abstract/2020/BigInt/exponentiate.js delete mode 100644 node_modules/es-abstract/2020/BigInt/index.js delete mode 100644 node_modules/es-abstract/2020/BigInt/leftShift.js delete mode 100644 node_modules/es-abstract/2020/BigInt/lessThan.js delete mode 100644 node_modules/es-abstract/2020/BigInt/multiply.js delete mode 100644 node_modules/es-abstract/2020/BigInt/remainder.js delete mode 100644 node_modules/es-abstract/2020/BigInt/sameValue.js delete mode 100644 node_modules/es-abstract/2020/BigInt/sameValueZero.js delete mode 100644 node_modules/es-abstract/2020/BigInt/signedRightShift.js delete mode 100644 node_modules/es-abstract/2020/BigInt/subtract.js delete mode 100644 node_modules/es-abstract/2020/BigInt/toString.js delete mode 100644 node_modules/es-abstract/2020/BigInt/unaryMinus.js delete mode 100644 node_modules/es-abstract/2020/BigInt/unsignedRightShift.js delete mode 100644 node_modules/es-abstract/2020/BigIntBitwiseOp.js delete mode 100644 node_modules/es-abstract/2020/BinaryAnd.js delete mode 100644 node_modules/es-abstract/2020/BinaryOr.js delete mode 100644 node_modules/es-abstract/2020/BinaryXor.js delete mode 100644 node_modules/es-abstract/2020/Call.js delete mode 100644 node_modules/es-abstract/2020/CanonicalNumericIndexString.js delete mode 100644 node_modules/es-abstract/2020/CodePointAt.js delete mode 100644 node_modules/es-abstract/2020/CompletePropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2020/CopyDataProperties.js delete mode 100644 node_modules/es-abstract/2020/CreateDataProperty.js delete mode 100644 node_modules/es-abstract/2020/CreateDataPropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2020/CreateHTML.js delete mode 100644 node_modules/es-abstract/2020/CreateIterResultObject.js delete mode 100644 node_modules/es-abstract/2020/CreateListFromArrayLike.js delete mode 100644 node_modules/es-abstract/2020/CreateMethodProperty.js delete mode 100644 node_modules/es-abstract/2020/DateFromTime.js delete mode 100644 node_modules/es-abstract/2020/DateString.js delete mode 100644 node_modules/es-abstract/2020/Day.js delete mode 100644 node_modules/es-abstract/2020/DayFromYear.js delete mode 100644 node_modules/es-abstract/2020/DayWithinYear.js delete mode 100644 node_modules/es-abstract/2020/DaysInYear.js delete mode 100644 node_modules/es-abstract/2020/DefinePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2020/DeletePropertyOrThrow.js delete mode 100644 node_modules/es-abstract/2020/EnumerableOwnPropertyNames.js delete mode 100644 node_modules/es-abstract/2020/FlattenIntoArray.js delete mode 100644 node_modules/es-abstract/2020/FromPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2020/Get.js delete mode 100644 node_modules/es-abstract/2020/GetIterator.js delete mode 100644 node_modules/es-abstract/2020/GetMethod.js delete mode 100644 node_modules/es-abstract/2020/GetOwnPropertyKeys.js delete mode 100644 node_modules/es-abstract/2020/GetPrototypeFromConstructor.js delete mode 100644 node_modules/es-abstract/2020/GetSubstitution.js delete mode 100644 node_modules/es-abstract/2020/GetV.js delete mode 100644 node_modules/es-abstract/2020/HasOwnProperty.js delete mode 100644 node_modules/es-abstract/2020/HasProperty.js delete mode 100644 node_modules/es-abstract/2020/HourFromTime.js delete mode 100644 node_modules/es-abstract/2020/InLeapYear.js delete mode 100644 node_modules/es-abstract/2020/InstanceofOperator.js delete mode 100644 node_modules/es-abstract/2020/Invoke.js delete mode 100644 node_modules/es-abstract/2020/IsAccessorDescriptor.js delete mode 100644 node_modules/es-abstract/2020/IsArray.js delete mode 100644 node_modules/es-abstract/2020/IsBigIntElementType.js delete mode 100644 node_modules/es-abstract/2020/IsCallable.js delete mode 100644 node_modules/es-abstract/2020/IsConcatSpreadable.js delete mode 100644 node_modules/es-abstract/2020/IsConstructor.js delete mode 100644 node_modules/es-abstract/2020/IsDataDescriptor.js delete mode 100644 node_modules/es-abstract/2020/IsExtensible.js delete mode 100644 node_modules/es-abstract/2020/IsGenericDescriptor.js delete mode 100644 node_modules/es-abstract/2020/IsInteger.js delete mode 100644 node_modules/es-abstract/2020/IsNoTearConfiguration.js delete mode 100644 node_modules/es-abstract/2020/IsNonNegativeInteger.js delete mode 100644 node_modules/es-abstract/2020/IsPromise.js delete mode 100644 node_modules/es-abstract/2020/IsPropertyKey.js delete mode 100644 node_modules/es-abstract/2020/IsRegExp.js delete mode 100644 node_modules/es-abstract/2020/IsStringPrefix.js delete mode 100644 node_modules/es-abstract/2020/IsUnclampedIntegerElementType.js delete mode 100644 node_modules/es-abstract/2020/IsUnsignedElementType.js delete mode 100644 node_modules/es-abstract/2020/IterableToList.js delete mode 100644 node_modules/es-abstract/2020/IteratorClose.js delete mode 100644 node_modules/es-abstract/2020/IteratorComplete.js delete mode 100644 node_modules/es-abstract/2020/IteratorNext.js delete mode 100644 node_modules/es-abstract/2020/IteratorStep.js delete mode 100644 node_modules/es-abstract/2020/IteratorValue.js delete mode 100644 node_modules/es-abstract/2020/LengthOfArrayLike.js delete mode 100644 node_modules/es-abstract/2020/MakeDate.js delete mode 100644 node_modules/es-abstract/2020/MakeDay.js delete mode 100644 node_modules/es-abstract/2020/MakeTime.js delete mode 100644 node_modules/es-abstract/2020/MinFromTime.js delete mode 100644 node_modules/es-abstract/2020/MonthFromTime.js delete mode 100644 node_modules/es-abstract/2020/Number/add.js delete mode 100644 node_modules/es-abstract/2020/Number/bitwiseAND.js delete mode 100644 node_modules/es-abstract/2020/Number/bitwiseNOT.js delete mode 100644 node_modules/es-abstract/2020/Number/bitwiseOR.js delete mode 100644 node_modules/es-abstract/2020/Number/bitwiseXOR.js delete mode 100644 node_modules/es-abstract/2020/Number/divide.js delete mode 100644 node_modules/es-abstract/2020/Number/equal.js delete mode 100644 node_modules/es-abstract/2020/Number/exponentiate.js delete mode 100644 node_modules/es-abstract/2020/Number/index.js delete mode 100644 node_modules/es-abstract/2020/Number/leftShift.js delete mode 100644 node_modules/es-abstract/2020/Number/lessThan.js delete mode 100644 node_modules/es-abstract/2020/Number/multiply.js delete mode 100644 node_modules/es-abstract/2020/Number/remainder.js delete mode 100644 node_modules/es-abstract/2020/Number/sameValue.js delete mode 100644 node_modules/es-abstract/2020/Number/sameValueZero.js delete mode 100644 node_modules/es-abstract/2020/Number/signedRightShift.js delete mode 100644 node_modules/es-abstract/2020/Number/subtract.js delete mode 100644 node_modules/es-abstract/2020/Number/toString.js delete mode 100644 node_modules/es-abstract/2020/Number/unaryMinus.js delete mode 100644 node_modules/es-abstract/2020/Number/unsignedRightShift.js delete mode 100644 node_modules/es-abstract/2020/NumberBitwiseOp.js delete mode 100644 node_modules/es-abstract/2020/NumberToBigInt.js delete mode 100644 node_modules/es-abstract/2020/OrdinaryCreateFromConstructor.js delete mode 100644 node_modules/es-abstract/2020/OrdinaryDefineOwnProperty.js delete mode 100644 node_modules/es-abstract/2020/OrdinaryGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2020/OrdinaryGetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2020/OrdinaryHasInstance.js delete mode 100644 node_modules/es-abstract/2020/OrdinaryHasProperty.js delete mode 100644 node_modules/es-abstract/2020/OrdinaryObjectCreate.js delete mode 100644 node_modules/es-abstract/2020/OrdinarySetPrototypeOf.js delete mode 100644 node_modules/es-abstract/2020/PromiseResolve.js delete mode 100644 node_modules/es-abstract/2020/QuoteJSONString.js delete mode 100644 node_modules/es-abstract/2020/RegExpCreate.js delete mode 100644 node_modules/es-abstract/2020/RegExpExec.js delete mode 100644 node_modules/es-abstract/2020/RequireObjectCoercible.js delete mode 100644 node_modules/es-abstract/2020/SameValue.js delete mode 100644 node_modules/es-abstract/2020/SameValueNonNumeric.js delete mode 100644 node_modules/es-abstract/2020/SameValueZero.js delete mode 100644 node_modules/es-abstract/2020/SecFromTime.js delete mode 100644 node_modules/es-abstract/2020/Set.js delete mode 100644 node_modules/es-abstract/2020/SetFunctionLength.js delete mode 100644 node_modules/es-abstract/2020/SetFunctionName.js delete mode 100644 node_modules/es-abstract/2020/SetIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2020/SpeciesConstructor.js delete mode 100644 node_modules/es-abstract/2020/SplitMatch.js delete mode 100644 node_modules/es-abstract/2020/StrictEqualityComparison.js delete mode 100644 node_modules/es-abstract/2020/StringCreate.js delete mode 100644 node_modules/es-abstract/2020/StringGetOwnProperty.js delete mode 100644 node_modules/es-abstract/2020/StringPad.js delete mode 100644 node_modules/es-abstract/2020/SymbolDescriptiveString.js delete mode 100644 node_modules/es-abstract/2020/TestIntegrityLevel.js delete mode 100644 node_modules/es-abstract/2020/TimeClip.js delete mode 100644 node_modules/es-abstract/2020/TimeFromYear.js delete mode 100644 node_modules/es-abstract/2020/TimeString.js delete mode 100644 node_modules/es-abstract/2020/TimeWithinDay.js delete mode 100644 node_modules/es-abstract/2020/ToBoolean.js delete mode 100644 node_modules/es-abstract/2020/ToDateString.js delete mode 100644 node_modules/es-abstract/2020/ToIndex.js delete mode 100644 node_modules/es-abstract/2020/ToInt16.js delete mode 100644 node_modules/es-abstract/2020/ToInt32.js delete mode 100644 node_modules/es-abstract/2020/ToInt8.js delete mode 100644 node_modules/es-abstract/2020/ToInteger.js delete mode 100644 node_modules/es-abstract/2020/ToLength.js delete mode 100644 node_modules/es-abstract/2020/ToNumber.js delete mode 100644 node_modules/es-abstract/2020/ToNumeric.js delete mode 100644 node_modules/es-abstract/2020/ToObject.js delete mode 100644 node_modules/es-abstract/2020/ToPrimitive.js delete mode 100644 node_modules/es-abstract/2020/ToPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2020/ToPropertyKey.js delete mode 100644 node_modules/es-abstract/2020/ToString.js delete mode 100644 node_modules/es-abstract/2020/ToUint16.js delete mode 100644 node_modules/es-abstract/2020/ToUint32.js delete mode 100644 node_modules/es-abstract/2020/ToUint8.js delete mode 100644 node_modules/es-abstract/2020/ToUint8Clamp.js delete mode 100644 node_modules/es-abstract/2020/TrimString.js delete mode 100644 node_modules/es-abstract/2020/Type.js delete mode 100644 node_modules/es-abstract/2020/UTF16DecodeString.js delete mode 100644 node_modules/es-abstract/2020/UTF16DecodeSurrogatePair.js delete mode 100644 node_modules/es-abstract/2020/UTF16Encoding.js delete mode 100644 node_modules/es-abstract/2020/UnicodeEscape.js delete mode 100644 node_modules/es-abstract/2020/ValidateAndApplyPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/2020/WeekDay.js delete mode 100644 node_modules/es-abstract/2020/YearFromTime.js delete mode 100644 node_modules/es-abstract/2020/abs.js delete mode 100644 node_modules/es-abstract/2020/floor.js delete mode 100644 node_modules/es-abstract/2020/modulo.js delete mode 100644 node_modules/es-abstract/2020/msFromTime.js delete mode 100644 node_modules/es-abstract/2020/thisBigIntValue.js delete mode 100644 node_modules/es-abstract/2020/thisBooleanValue.js delete mode 100644 node_modules/es-abstract/2020/thisNumberValue.js delete mode 100644 node_modules/es-abstract/2020/thisStringValue.js delete mode 100644 node_modules/es-abstract/2020/thisSymbolValue.js delete mode 100644 node_modules/es-abstract/2020/thisTimeValue.js delete mode 100644 node_modules/es-abstract/5/AbstractEqualityComparison.js delete mode 100644 node_modules/es-abstract/5/AbstractRelationalComparison.js delete mode 100644 node_modules/es-abstract/5/CheckObjectCoercible.js delete mode 100644 node_modules/es-abstract/5/DateFromTime.js delete mode 100644 node_modules/es-abstract/5/Day.js delete mode 100644 node_modules/es-abstract/5/DayFromYear.js delete mode 100644 node_modules/es-abstract/5/DayWithinYear.js delete mode 100644 node_modules/es-abstract/5/DaysInYear.js delete mode 100644 node_modules/es-abstract/5/FromPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/5/HourFromTime.js delete mode 100644 node_modules/es-abstract/5/InLeapYear.js delete mode 100644 node_modules/es-abstract/5/IsAccessorDescriptor.js delete mode 100644 node_modules/es-abstract/5/IsCallable.js delete mode 100644 node_modules/es-abstract/5/IsDataDescriptor.js delete mode 100644 node_modules/es-abstract/5/IsGenericDescriptor.js delete mode 100644 node_modules/es-abstract/5/IsPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/5/MakeDate.js delete mode 100644 node_modules/es-abstract/5/MakeDay.js delete mode 100644 node_modules/es-abstract/5/MakeTime.js delete mode 100644 node_modules/es-abstract/5/MinFromTime.js delete mode 100644 node_modules/es-abstract/5/MonthFromTime.js delete mode 100644 node_modules/es-abstract/5/SameValue.js delete mode 100644 node_modules/es-abstract/5/SecFromTime.js delete mode 100644 node_modules/es-abstract/5/StrictEqualityComparison.js delete mode 100644 node_modules/es-abstract/5/TimeClip.js delete mode 100644 node_modules/es-abstract/5/TimeFromYear.js delete mode 100644 node_modules/es-abstract/5/TimeWithinDay.js delete mode 100644 node_modules/es-abstract/5/ToBoolean.js delete mode 100644 node_modules/es-abstract/5/ToInt32.js delete mode 100644 node_modules/es-abstract/5/ToInteger.js delete mode 100644 node_modules/es-abstract/5/ToNumber.js delete mode 100644 node_modules/es-abstract/5/ToObject.js delete mode 100644 node_modules/es-abstract/5/ToPrimitive.js delete mode 100644 node_modules/es-abstract/5/ToPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/5/ToString.js delete mode 100644 node_modules/es-abstract/5/ToUint16.js delete mode 100644 node_modules/es-abstract/5/ToUint32.js delete mode 100644 node_modules/es-abstract/5/Type.js delete mode 100644 node_modules/es-abstract/5/WeekDay.js delete mode 100644 node_modules/es-abstract/5/YearFromTime.js delete mode 100644 node_modules/es-abstract/5/abs.js delete mode 100644 node_modules/es-abstract/5/floor.js delete mode 100644 node_modules/es-abstract/5/modulo.js delete mode 100644 node_modules/es-abstract/5/msFromTime.js delete mode 100644 node_modules/es-abstract/CHANGELOG.md delete mode 100644 node_modules/es-abstract/GetIntrinsic.js delete mode 100644 node_modules/es-abstract/LICENSE delete mode 100644 node_modules/es-abstract/README.md delete mode 100644 node_modules/es-abstract/es2015.js delete mode 100644 node_modules/es-abstract/es2016.js delete mode 100644 node_modules/es-abstract/es2017.js delete mode 100644 node_modules/es-abstract/es2018.js delete mode 100644 node_modules/es-abstract/es2019.js delete mode 100644 node_modules/es-abstract/es2020.js delete mode 100644 node_modules/es-abstract/es5.js delete mode 100644 node_modules/es-abstract/es6.js delete mode 100644 node_modules/es-abstract/es7.js delete mode 100644 node_modules/es-abstract/helpers/DefineOwnProperty.js delete mode 100644 node_modules/es-abstract/helpers/OwnPropertyKeys.js delete mode 100644 node_modules/es-abstract/helpers/assertRecord.js delete mode 100644 node_modules/es-abstract/helpers/assign.js delete mode 100644 node_modules/es-abstract/helpers/callBind.js delete mode 100644 node_modules/es-abstract/helpers/callBound.js delete mode 100644 node_modules/es-abstract/helpers/every.js delete mode 100644 node_modules/es-abstract/helpers/forEach.js delete mode 100644 node_modules/es-abstract/helpers/getInferredName.js delete mode 100644 node_modules/es-abstract/helpers/getIteratorMethod.js delete mode 100644 node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/helpers/getProto.js delete mode 100644 node_modules/es-abstract/helpers/getSymbolDescription.js delete mode 100644 node_modules/es-abstract/helpers/isByteValue.js delete mode 100644 node_modules/es-abstract/helpers/isCodePoint.js delete mode 100644 node_modules/es-abstract/helpers/isFinite.js delete mode 100644 node_modules/es-abstract/helpers/isLeadingSurrogate.js delete mode 100644 node_modules/es-abstract/helpers/isNaN.js delete mode 100644 node_modules/es-abstract/helpers/isPrefixOf.js delete mode 100644 node_modules/es-abstract/helpers/isPrimitive.js delete mode 100644 node_modules/es-abstract/helpers/isPropertyDescriptor.js delete mode 100644 node_modules/es-abstract/helpers/isSamePropertyDescriptor.js delete mode 100644 node_modules/es-abstract/helpers/isTrailingSurrogate.js delete mode 100644 node_modules/es-abstract/helpers/maxSafeInteger.js delete mode 100644 node_modules/es-abstract/helpers/mod.js delete mode 100644 node_modules/es-abstract/helpers/padTimeComponent.js delete mode 100644 node_modules/es-abstract/helpers/regexTester.js delete mode 100644 node_modules/es-abstract/helpers/setProto.js delete mode 100644 node_modules/es-abstract/helpers/sign.js delete mode 100644 node_modules/es-abstract/helpers/some.js delete mode 100644 node_modules/es-abstract/helpers/timeConstants.js delete mode 100644 node_modules/es-abstract/index.js delete mode 100644 node_modules/es-abstract/operations/.eslintrc delete mode 100644 node_modules/es-abstract/operations/2015.js delete mode 100644 node_modules/es-abstract/operations/2016.js delete mode 100644 node_modules/es-abstract/operations/2017.js delete mode 100644 node_modules/es-abstract/operations/2018.js delete mode 100644 node_modules/es-abstract/operations/2019.js delete mode 100644 node_modules/es-abstract/operations/2020.js delete mode 100644 node_modules/es-abstract/package.json delete mode 100644 node_modules/es-abstract/test/GetIntrinsic.js delete mode 100644 node_modules/es-abstract/test/diffOps.js delete mode 100644 node_modules/es-abstract/test/es2015.js delete mode 100644 node_modules/es-abstract/test/es2016.js delete mode 100644 node_modules/es-abstract/test/es2017.js delete mode 100644 node_modules/es-abstract/test/es2018.js delete mode 100644 node_modules/es-abstract/test/es2019.js delete mode 100644 node_modules/es-abstract/test/es2020.js delete mode 100644 node_modules/es-abstract/test/es5.js delete mode 100644 node_modules/es-abstract/test/es6.js delete mode 100644 node_modules/es-abstract/test/es7.js delete mode 100644 node_modules/es-abstract/test/helpers/OwnPropertyKeys.js delete mode 100644 node_modules/es-abstract/test/helpers/assertRecord.js delete mode 100644 node_modules/es-abstract/test/helpers/createBoundESNamespace.js delete mode 100644 node_modules/es-abstract/test/helpers/defineProperty.js delete mode 100644 node_modules/es-abstract/test/helpers/getSymbolDescription.js delete mode 100644 node_modules/es-abstract/test/helpers/index.js delete mode 100644 node_modules/es-abstract/test/helpers/isByteValue.js delete mode 100644 node_modules/es-abstract/test/helpers/isCodePoint.js delete mode 100644 node_modules/es-abstract/test/helpers/runManifestTest.js delete mode 100644 node_modules/es-abstract/test/index.js delete mode 100644 node_modules/es-abstract/test/ses-compat.js delete mode 100644 node_modules/es-abstract/test/tests.js delete mode 100644 node_modules/es-to-primitive/.eslintrc delete mode 100644 node_modules/es-to-primitive/.github/FUNDING.yml delete mode 100644 node_modules/es-to-primitive/.travis.yml delete mode 100644 node_modules/es-to-primitive/CHANGELOG.md delete mode 100644 node_modules/es-to-primitive/LICENSE delete mode 100644 node_modules/es-to-primitive/Makefile delete mode 100644 node_modules/es-to-primitive/README.md delete mode 100644 node_modules/es-to-primitive/es2015.js delete mode 100644 node_modules/es-to-primitive/es5.js delete mode 100644 node_modules/es-to-primitive/es6.js delete mode 100644 node_modules/es-to-primitive/helpers/isPrimitive.js delete mode 100644 node_modules/es-to-primitive/index.js delete mode 100644 node_modules/es-to-primitive/package.json delete mode 100644 node_modules/es-to-primitive/test/es2015.js delete mode 100644 node_modules/es-to-primitive/test/es5.js delete mode 100644 node_modules/es-to-primitive/test/es6.js delete mode 100644 node_modules/es-to-primitive/test/index.js delete mode 100644 node_modules/foreach/.npmignore delete mode 100644 node_modules/foreach/LICENSE delete mode 100644 node_modules/foreach/Makefile delete mode 100644 node_modules/foreach/Readme.md delete mode 100644 node_modules/foreach/component.json delete mode 100644 node_modules/foreach/index.js delete mode 100644 node_modules/foreach/package.json delete mode 100644 node_modules/foreach/test.js delete mode 100644 node_modules/get-intrinsic/.eslintignore delete mode 100644 node_modules/has-bigints/.eslintignore delete mode 100644 node_modules/has-bigints/.eslintrc delete mode 100644 node_modules/has-bigints/.github/FUNDING.yml delete mode 100644 node_modules/has-bigints/.nycrc delete mode 100644 node_modules/has-bigints/CHANGELOG.md delete mode 100644 node_modules/has-bigints/LICENSE delete mode 100644 node_modules/has-bigints/README.md delete mode 100644 node_modules/has-bigints/index.js delete mode 100644 node_modules/has-bigints/package.json delete mode 100644 node_modules/has-bigints/test/index.js delete mode 100644 node_modules/has-symbols/.eslintignore delete mode 100644 node_modules/is-arguments/.github/workflows/node-4+.yml delete mode 100644 node_modules/is-arguments/.github/workflows/node-iojs.yml delete mode 100644 node_modules/is-arguments/.github/workflows/node-pretest.yml delete mode 100644 node_modules/is-arguments/.github/workflows/node-zero.yml delete mode 100644 node_modules/is-arguments/.github/workflows/rebase.yml delete mode 100644 node_modules/is-arguments/.github/workflows/require-allow-edits.yml delete mode 100644 node_modules/is-bigint/.eslintignore delete mode 100644 node_modules/is-bigint/.eslintrc delete mode 100644 node_modules/is-bigint/.github/FUNDING.yml delete mode 100644 node_modules/is-bigint/.nycrc delete mode 100644 node_modules/is-bigint/CHANGELOG.md delete mode 100644 node_modules/is-bigint/LICENSE delete mode 100644 node_modules/is-bigint/README.md delete mode 100644 node_modules/is-bigint/index.js delete mode 100644 node_modules/is-bigint/package.json delete mode 100644 node_modules/is-bigint/test/.eslintrc delete mode 100644 node_modules/is-bigint/test/index.js delete mode 100644 node_modules/is-boolean-object/.editorconfig delete mode 100644 node_modules/is-boolean-object/.eslintignore delete mode 100644 node_modules/is-boolean-object/.eslintrc delete mode 100644 node_modules/is-boolean-object/.github/FUNDING.yml delete mode 100644 node_modules/is-boolean-object/.nycrc delete mode 100644 node_modules/is-boolean-object/CHANGELOG.md delete mode 100644 node_modules/is-boolean-object/LICENSE delete mode 100644 node_modules/is-boolean-object/README.md delete mode 100644 node_modules/is-boolean-object/index.js delete mode 100644 node_modules/is-boolean-object/package.json delete mode 100644 node_modules/is-boolean-object/test/index.js delete mode 100644 node_modules/is-callable/.eslintignore delete mode 100644 node_modules/is-callable/.github/main.workflow delete mode 100644 node_modules/is-callable/.istanbul.yml delete mode 100644 node_modules/is-date-object/.editorconfig delete mode 100644 node_modules/is-date-object/.eslintignore delete mode 100644 node_modules/is-date-object/.eslintrc delete mode 100644 node_modules/is-date-object/.github/FUNDING.yml delete mode 100644 node_modules/is-date-object/.jscs.json delete mode 100644 node_modules/is-date-object/.nycrc delete mode 100644 node_modules/is-date-object/CHANGELOG.md delete mode 100644 node_modules/is-date-object/LICENSE delete mode 100644 node_modules/is-date-object/README.md delete mode 100644 node_modules/is-date-object/index.js delete mode 100644 node_modules/is-date-object/package.json delete mode 100644 node_modules/is-date-object/test/index.js delete mode 100644 node_modules/is-negative-zero/.editorconfig delete mode 100644 node_modules/is-negative-zero/.eslintignore delete mode 100644 node_modules/is-negative-zero/.eslintrc delete mode 100644 node_modules/is-negative-zero/.github/workflows/node-4+.yml delete mode 100644 node_modules/is-negative-zero/.github/workflows/node-iojs.yml delete mode 100644 node_modules/is-negative-zero/.github/workflows/node-pretest.yml delete mode 100644 node_modules/is-negative-zero/.github/workflows/node-zero.yml delete mode 100644 node_modules/is-negative-zero/.github/workflows/rebase.yml delete mode 100644 node_modules/is-negative-zero/.github/workflows/require-allow-edits.yml delete mode 100644 node_modules/is-negative-zero/.nycrc delete mode 100644 node_modules/is-negative-zero/CHANGELOG.md delete mode 100644 node_modules/is-negative-zero/LICENSE delete mode 100644 node_modules/is-negative-zero/README.md delete mode 100644 node_modules/is-negative-zero/index.js delete mode 100644 node_modules/is-negative-zero/package.json delete mode 100644 node_modules/is-negative-zero/test/index.js delete mode 100644 node_modules/is-number-object/.editorconfig delete mode 100644 node_modules/is-number-object/.eslintignore delete mode 100644 node_modules/is-number-object/.eslintrc delete mode 100644 node_modules/is-number-object/.github/FUNDING.yml delete mode 100644 node_modules/is-number-object/.nycrc delete mode 100644 node_modules/is-number-object/CHANGELOG.md delete mode 100644 node_modules/is-number-object/LICENSE delete mode 100644 node_modules/is-number-object/README.md delete mode 100644 node_modules/is-number-object/index.js delete mode 100644 node_modules/is-number-object/package.json delete mode 100644 node_modules/is-number-object/test/corejs.js delete mode 100644 node_modules/is-number-object/test/index.js delete mode 100644 node_modules/is-regex/.editorconfig delete mode 100644 node_modules/is-regex/.eslintignore delete mode 100644 node_modules/is-regex/.eslintrc delete mode 100644 node_modules/is-regex/.nycrc delete mode 100644 node_modules/is-regex/CHANGELOG.md delete mode 100644 node_modules/is-regex/LICENSE delete mode 100644 node_modules/is-regex/README.md delete mode 100644 node_modules/is-regex/index.js delete mode 100644 node_modules/is-regex/package.json delete mode 100644 node_modules/is-regex/test/index.js delete mode 100644 node_modules/is-string/.eslintignore delete mode 100644 node_modules/is-string/.eslintrc delete mode 100644 node_modules/is-string/.github/FUNDING.yml delete mode 100644 node_modules/is-string/.nycrc delete mode 100644 node_modules/is-string/CHANGELOG.md delete mode 100644 node_modules/is-string/LICENSE delete mode 100644 node_modules/is-string/README.md delete mode 100644 node_modules/is-string/index.js delete mode 100644 node_modules/is-string/package.json delete mode 100644 node_modules/is-string/test/index.js delete mode 100644 node_modules/is-symbol/.editorconfig delete mode 100644 node_modules/is-symbol/.eslintignore delete mode 100644 node_modules/is-symbol/.eslintrc delete mode 100644 node_modules/is-symbol/.github/FUNDING.yml delete mode 100644 node_modules/is-symbol/.nycrc delete mode 100644 node_modules/is-symbol/CHANGELOG.md delete mode 100644 node_modules/is-symbol/LICENSE delete mode 100644 node_modules/is-symbol/README.md delete mode 100644 node_modules/is-symbol/index.js delete mode 100644 node_modules/is-symbol/package.json delete mode 100644 node_modules/is-symbol/test/index.js delete mode 100644 node_modules/is-typed-array/.eslintignore delete mode 100644 node_modules/object-inspect/.eslintignore delete mode 100644 node_modules/object-keys/.editorconfig delete mode 100644 node_modules/object-keys/.eslintrc delete mode 100644 node_modules/object-keys/.travis.yml delete mode 100644 node_modules/object-keys/CHANGELOG.md delete mode 100644 node_modules/object-keys/LICENSE delete mode 100644 node_modules/object-keys/README.md delete mode 100644 node_modules/object-keys/implementation.js delete mode 100644 node_modules/object-keys/index.js delete mode 100644 node_modules/object-keys/isArguments.js delete mode 100644 node_modules/object-keys/package.json delete mode 100644 node_modules/object-keys/test/index.js delete mode 100644 node_modules/object.assign/.editorconfig delete mode 100644 node_modules/object.assign/.eslintignore delete mode 100644 node_modules/object.assign/.eslintrc delete mode 100644 node_modules/object.assign/.github/FUNDING.yml delete mode 100644 node_modules/object.assign/.github/workflows/rebase.yml delete mode 100644 node_modules/object.assign/.github/workflows/require-allow-edits.yml delete mode 100644 node_modules/object.assign/.nycrc delete mode 100644 node_modules/object.assign/CHANGELOG.md delete mode 100644 node_modules/object.assign/LICENSE delete mode 100644 node_modules/object.assign/README.md delete mode 100644 node_modules/object.assign/auto.js delete mode 100644 node_modules/object.assign/dist/browser.js delete mode 100644 node_modules/object.assign/hasSymbols.js delete mode 100644 node_modules/object.assign/implementation.js delete mode 100644 node_modules/object.assign/index.js delete mode 100644 node_modules/object.assign/package.json delete mode 100644 node_modules/object.assign/polyfill.js delete mode 100644 node_modules/object.assign/shim.js delete mode 100644 node_modules/object.assign/test/index.js delete mode 100644 node_modules/object.assign/test/native.js delete mode 100644 node_modules/object.assign/test/ses-compat.js delete mode 100644 node_modules/object.assign/test/shimmed.js delete mode 100644 node_modules/object.assign/test/tests.js delete mode 100644 node_modules/qs/.eslintignore delete mode 100644 node_modules/string.prototype.trimend/.editorconfig delete mode 100644 node_modules/string.prototype.trimend/.eslintignore delete mode 100644 node_modules/string.prototype.trimend/.eslintrc delete mode 100644 node_modules/string.prototype.trimend/.nycrc delete mode 100644 node_modules/string.prototype.trimend/CHANGELOG.md delete mode 100644 node_modules/string.prototype.trimend/LICENSE delete mode 100644 node_modules/string.prototype.trimend/README.md delete mode 100644 node_modules/string.prototype.trimend/auto.js delete mode 100644 node_modules/string.prototype.trimend/implementation.js delete mode 100644 node_modules/string.prototype.trimend/index.js delete mode 100644 node_modules/string.prototype.trimend/package.json delete mode 100644 node_modules/string.prototype.trimend/polyfill.js delete mode 100644 node_modules/string.prototype.trimend/shim.js delete mode 100644 node_modules/string.prototype.trimend/test/implementation.js delete mode 100644 node_modules/string.prototype.trimend/test/index.js delete mode 100644 node_modules/string.prototype.trimend/test/shimmed.js delete mode 100644 node_modules/string.prototype.trimend/test/tests.js delete mode 100644 node_modules/string.prototype.trimstart/.editorconfig delete mode 100644 node_modules/string.prototype.trimstart/.eslintignore delete mode 100644 node_modules/string.prototype.trimstart/.eslintrc delete mode 100644 node_modules/string.prototype.trimstart/.nycrc delete mode 100644 node_modules/string.prototype.trimstart/CHANGELOG.md delete mode 100644 node_modules/string.prototype.trimstart/LICENSE delete mode 100644 node_modules/string.prototype.trimstart/README.md delete mode 100644 node_modules/string.prototype.trimstart/auto.js delete mode 100644 node_modules/string.prototype.trimstart/implementation.js delete mode 100644 node_modules/string.prototype.trimstart/index.js delete mode 100644 node_modules/string.prototype.trimstart/package.json delete mode 100644 node_modules/string.prototype.trimstart/polyfill.js delete mode 100644 node_modules/string.prototype.trimstart/shim.js delete mode 100644 node_modules/string.prototype.trimstart/test/implementation.js delete mode 100644 node_modules/string.prototype.trimstart/test/index.js delete mode 100644 node_modules/string.prototype.trimstart/test/shimmed.js delete mode 100644 node_modules/string.prototype.trimstart/test/tests.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/LICENSE delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/README.md delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_baseCreate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_baseIteratee.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_cb.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_chainResult.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_collectNonEnumProps.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_createAssigner.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_createEscaper.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_createIndexFinder.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_createPredicateIndexFinder.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_createReduce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_createSizePropertyCheck.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_deepGet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_escapeMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_executeBound.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_flatten.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_getByteLength.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_getLength.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_group.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_has.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_hasObjectTag.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_isArrayLike.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_isBufferLike.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_keyInObj.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_methodFingerprint.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_optimizeCb.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_setup.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_shallowProperty.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_stringTagBug.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_tagTester.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_toBufferView.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_toPath.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/_unescapeMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/after.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/allKeys.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/before.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/bind.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/bindAll.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/chain.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/chunk.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/clone.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/compact.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/compose.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/constant.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/contains.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/countBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/create.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/debounce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/defaults.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/defer.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/delay.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/difference.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/each.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/escape.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/every.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/extend.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/extendOwn.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/filter.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/find.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/findIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/findKey.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/findLastIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/findWhere.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/first.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/flatten.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/functions.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/get.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/groupBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/has.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/identity.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/index-default.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/index.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/indexBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/indexOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/initial.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/intersection.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/invert.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/invoke.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isArguments.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isArrayBuffer.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isBoolean.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isDataView.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isDate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isElement.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isEmpty.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isEqual.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isError.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isFinite.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isFunction.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isMatch.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isNaN.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isNull.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isNumber.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isObject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isRegExp.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isSet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isString.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isSymbol.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isTypedArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isUndefined.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isWeakMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/isWeakSet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/iteratee.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/keys.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/last.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/lastIndexOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/map.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/mapObject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/matcher.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/max.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/memoize.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/min.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/mixin.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/negate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/noop.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/now.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/object.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/omit.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/once.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/pairs.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/partial.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/partition.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/pick.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/pluck.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/property.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/propertyOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/random.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/range.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/reduce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/reduceRight.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/reject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/rest.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/restArguments.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/result.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/sample.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/shuffle.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/size.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/some.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/sortBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/sortedIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/tap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/template.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/templateSettings.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/throttle.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/times.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/toArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/toPath.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/underscore-array-methods.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/underscore.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/unescape.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/union.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/uniq.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/uniqueId.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/unzip.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/values.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/where.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/without.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/wrap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/amd/zip.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_baseCreate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_baseIteratee.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_cb.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_chainResult.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_collectNonEnumProps.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_createAssigner.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_createEscaper.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_createIndexFinder.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_createPredicateIndexFinder.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_createReduce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_createSizePropertyCheck.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_deepGet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_escapeMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_executeBound.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_flatten.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_getByteLength.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_getLength.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_group.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_has.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_hasObjectTag.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_isArrayLike.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_isBufferLike.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_keyInObj.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_methodFingerprint.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_optimizeCb.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_setup.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_shallowProperty.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_stringTagBug.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_tagTester.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_toBufferView.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_toPath.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/_unescapeMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/after.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/allKeys.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/before.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/bind.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/bindAll.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/chain.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/chunk.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/clone.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/compact.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/compose.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/constant.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/contains.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/countBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/create.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/debounce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/defaults.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/defer.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/delay.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/difference.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/each.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/escape.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/every.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/extend.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/extendOwn.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/filter.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/find.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/findIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/findKey.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/findLastIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/findWhere.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/first.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/flatten.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/functions.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/get.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/groupBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/has.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/identity.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/index-default.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/index.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/indexBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/indexOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/initial.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/intersection.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/invert.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/invoke.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isArguments.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isArrayBuffer.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isBoolean.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isDataView.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isDate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isElement.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isEmpty.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isEqual.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isError.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isFinite.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isFunction.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isMatch.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isNaN.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isNull.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isNumber.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isObject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isRegExp.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isSet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isString.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isSymbol.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isTypedArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isUndefined.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isWeakMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/isWeakSet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/iteratee.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/keys.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/last.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/lastIndexOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/map.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/mapObject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/matcher.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/max.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/memoize.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/min.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/mixin.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/negate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/noop.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/now.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/object.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/omit.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/once.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/pairs.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/partial.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/partition.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/pick.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/pluck.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/property.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/propertyOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/random.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/range.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/reduce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/reduceRight.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/reject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/rest.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/restArguments.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/result.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/sample.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/shuffle.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/size.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/some.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/sortBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/sortedIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/tap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/template.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/templateSettings.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/throttle.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/times.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/toArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/toPath.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/underscore-array-methods.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/underscore.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/unescape.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/union.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/uniq.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/uniqueId.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/unzip.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/values.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/where.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/without.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/wrap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/cjs/zip.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/.eslintrc delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_baseCreate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_baseIteratee.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_cb.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_chainResult.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_collectNonEnumProps.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_createAssigner.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_createEscaper.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_createIndexFinder.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_createPredicateIndexFinder.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_createReduce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_createSizePropertyCheck.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_deepGet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_escapeMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_executeBound.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_flatten.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_getByteLength.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_getLength.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_group.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_has.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_hasObjectTag.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_isArrayLike.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_isBufferLike.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_keyInObj.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_methodFingerprint.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_optimizeCb.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_setup.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_shallowProperty.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_stringTagBug.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_tagTester.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_toBufferView.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_toPath.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/_unescapeMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/after.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/allKeys.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/before.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/bind.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/bindAll.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/chain.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/chunk.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/clone.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/compact.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/compose.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/constant.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/contains.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/countBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/create.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/debounce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/defaults.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/defer.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/delay.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/difference.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/each.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/escape.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/every.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/extend.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/extendOwn.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/filter.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/find.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/findIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/findKey.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/findLastIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/findWhere.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/first.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/flatten.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/functions.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/get.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/groupBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/has.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/identity.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/index-all.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/index-default.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/index.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/indexBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/indexOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/initial.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/intersection.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/invert.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/invoke.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isArguments.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isArrayBuffer.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isBoolean.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isDataView.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isDate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isElement.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isEmpty.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isEqual.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isError.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isFinite.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isFunction.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isMatch.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isNaN.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isNull.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isNumber.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isObject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isRegExp.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isSet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isString.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isSymbol.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isTypedArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isUndefined.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isWeakMap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/isWeakSet.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/iteratee.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/keys.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/last.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/lastIndexOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/map.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/mapObject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/matcher.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/max.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/memoize.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/min.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/mixin.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/negate.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/noop.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/now.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/object.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/omit.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/once.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/package.json delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/pairs.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/partial.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/partition.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/pick.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/pluck.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/property.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/propertyOf.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/random.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/range.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/reduce.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/reduceRight.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/reject.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/rest.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/restArguments.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/result.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/sample.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/shuffle.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/size.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/some.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/sortBy.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/sortedIndex.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/tap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/template.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/templateSettings.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/throttle.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/times.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/toArray.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/toPath.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/underscore-array-methods.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/underscore.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/unescape.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/union.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/uniq.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/uniqueId.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/unzip.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/values.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/where.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/without.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/wrap.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/modules/zip.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/package.json delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-esm-min.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-esm-min.js.map delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-esm.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-esm.js.map delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-min.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-min.js.map delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-node-f.cjs delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-node-f.cjs.map delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-node.cjs delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-node.cjs.map delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-node.mjs delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-node.mjs.map delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-umd-min.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-umd-min.js.map delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-umd.js delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore-umd.js.map delete mode 100644 node_modules/typed-rest-client/node_modules/underscore/underscore.js delete mode 100644 node_modules/unbox-primitive/.editorconfig delete mode 100644 node_modules/unbox-primitive/.eslintignore delete mode 100644 node_modules/unbox-primitive/.eslintrc delete mode 100644 node_modules/unbox-primitive/.github/FUNDING.yml delete mode 100644 node_modules/unbox-primitive/.nycrc delete mode 100644 node_modules/unbox-primitive/CHANGELOG.md delete mode 100644 node_modules/unbox-primitive/LICENSE delete mode 100644 node_modules/unbox-primitive/README.md delete mode 100644 node_modules/unbox-primitive/index.js delete mode 100644 node_modules/unbox-primitive/package.json delete mode 100644 node_modules/unbox-primitive/test/index.js delete mode 100644 node_modules/which-boxed-primitive/.editorconfig delete mode 100644 node_modules/which-boxed-primitive/.eslintignore delete mode 100644 node_modules/which-boxed-primitive/.eslintrc delete mode 100644 node_modules/which-boxed-primitive/.github/FUNDING.yml delete mode 100644 node_modules/which-boxed-primitive/.nycrc delete mode 100644 node_modules/which-boxed-primitive/CHANGELOG.md delete mode 100644 node_modules/which-boxed-primitive/LICENSE delete mode 100644 node_modules/which-boxed-primitive/README.md delete mode 100644 node_modules/which-boxed-primitive/index.js delete mode 100644 node_modules/which-boxed-primitive/package.json delete mode 100644 node_modules/which-boxed-primitive/test/index.js delete mode 100644 node_modules/which-typed-array/.eslintignore diff --git a/node_modules/.bin/acorn b/node_modules/.bin/acorn index cf7676038..46a3e61a1 120000 --- a/node_modules/.bin/acorn +++ b/node_modules/.bin/acorn @@ -1 +1,12 @@ -../acorn/bin/acorn \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../acorn/bin/acorn" "$@" +else + exec node "$basedir/../acorn/bin/acorn" "$@" +fi diff --git a/node_modules/.bin/atob b/node_modules/.bin/atob index a68344a38..6d8ec0eef 120000 --- a/node_modules/.bin/atob +++ b/node_modules/.bin/atob @@ -1 +1,12 @@ -../atob/bin/atob.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../atob/bin/atob.js" "$@" +else + exec node "$basedir/../atob/bin/atob.js" "$@" +fi diff --git a/node_modules/.bin/copy b/node_modules/.bin/copy index c92ff35bf..142a429b5 120000 --- a/node_modules/.bin/copy +++ b/node_modules/.bin/copy @@ -1 +1,12 @@ -../copy/bin/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../copy/bin/cli.js" "$@" +else + exec node "$basedir/../copy/bin/cli.js" "$@" +fi diff --git a/node_modules/.bin/copy-cli b/node_modules/.bin/copy-cli index c92ff35bf..142a429b5 120000 --- a/node_modules/.bin/copy-cli +++ b/node_modules/.bin/copy-cli @@ -1 +1,12 @@ -../copy/bin/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../copy/bin/cli.js" "$@" +else + exec node "$basedir/../copy/bin/cli.js" "$@" +fi diff --git a/node_modules/.bin/decompress-zip b/node_modules/.bin/decompress-zip index 832552916..1d84b2252 120000 --- a/node_modules/.bin/decompress-zip +++ b/node_modules/.bin/decompress-zip @@ -1 +1,12 @@ -../decompress-zip/bin/decompress-zip \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../decompress-zip/bin/decompress-zip" "$@" +else + exec node "$basedir/../decompress-zip/bin/decompress-zip" "$@" +fi diff --git a/node_modules/.bin/escodegen b/node_modules/.bin/escodegen index 01a7c3259..63c8e9931 120000 --- a/node_modules/.bin/escodegen +++ b/node_modules/.bin/escodegen @@ -1 +1,12 @@ -../escodegen/bin/escodegen.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../escodegen/bin/escodegen.js" "$@" +else + exec node "$basedir/../escodegen/bin/escodegen.js" "$@" +fi diff --git a/node_modules/.bin/esgenerate b/node_modules/.bin/esgenerate index 7d0293e66..710797a61 120000 --- a/node_modules/.bin/esgenerate +++ b/node_modules/.bin/esgenerate @@ -1 +1,12 @@ -../escodegen/bin/esgenerate.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../escodegen/bin/esgenerate.js" "$@" +else + exec node "$basedir/../escodegen/bin/esgenerate.js" "$@" +fi diff --git a/node_modules/.bin/esparse b/node_modules/.bin/esparse index 7423b18b2..1cc1c96ff 120000 --- a/node_modules/.bin/esparse +++ b/node_modules/.bin/esparse @@ -1 +1,12 @@ -../esprima/bin/esparse.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@" +else + exec node "$basedir/../esprima/bin/esparse.js" "$@" +fi diff --git a/node_modules/.bin/esvalidate b/node_modules/.bin/esvalidate index 16069effb..91a4c9b5f 120000 --- a/node_modules/.bin/esvalidate +++ b/node_modules/.bin/esvalidate @@ -1 +1,12 @@ -../esprima/bin/esvalidate.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@" +else + exec node "$basedir/../esprima/bin/esvalidate.js" "$@" +fi diff --git a/node_modules/.bin/import-local-fixture b/node_modules/.bin/import-local-fixture index ff4b10482..79e318001 120000 --- a/node_modules/.bin/import-local-fixture +++ b/node_modules/.bin/import-local-fixture @@ -1 +1,12 @@ -../import-local/fixtures/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../import-local/fixtures/cli.js" "$@" +else + exec node "$basedir/../import-local/fixtures/cli.js" "$@" +fi diff --git a/node_modules/.bin/is-ci b/node_modules/.bin/is-ci index fe6aca6f5..c9b0db40e 120000 --- a/node_modules/.bin/is-ci +++ b/node_modules/.bin/is-ci @@ -1 +1,12 @@ -../is-ci/bin.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../is-ci/bin.js" "$@" +else + exec node "$basedir/../is-ci/bin.js" "$@" +fi diff --git a/node_modules/.bin/is-docker b/node_modules/.bin/is-docker index 9896ba572..9e457930e 120000 --- a/node_modules/.bin/is-docker +++ b/node_modules/.bin/is-docker @@ -1 +1,12 @@ -../is-docker/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../is-docker/cli.js" "$@" +else + exec node "$basedir/../is-docker/cli.js" "$@" +fi diff --git a/node_modules/.bin/jest b/node_modules/.bin/jest index 61c186154..e6376e84e 120000 --- a/node_modules/.bin/jest +++ b/node_modules/.bin/jest @@ -1 +1,12 @@ -../jest/bin/jest.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../jest/bin/jest.js" "$@" +else + exec node "$basedir/../jest/bin/jest.js" "$@" +fi diff --git a/node_modules/.bin/jest-runtime b/node_modules/.bin/jest-runtime index ec00171e0..d0e6388a0 120000 --- a/node_modules/.bin/jest-runtime +++ b/node_modules/.bin/jest-runtime @@ -1 +1,12 @@ -../jest-runtime/bin/jest-runtime.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../jest-runtime/bin/jest-runtime.js" "$@" +else + exec node "$basedir/../jest-runtime/bin/jest-runtime.js" "$@" +fi diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml index 9dbd010d4..ed78a8682 120000 --- a/node_modules/.bin/js-yaml +++ b/node_modules/.bin/js-yaml @@ -1 +1,12 @@ -../js-yaml/bin/js-yaml.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@" +else + exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@" +fi diff --git a/node_modules/.bin/jsesc b/node_modules/.bin/jsesc index 7237604c3..e7105da30 120000 --- a/node_modules/.bin/jsesc +++ b/node_modules/.bin/jsesc @@ -1 +1,12 @@ -../jsesc/bin/jsesc \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@" +else + exec node "$basedir/../jsesc/bin/jsesc" "$@" +fi diff --git a/node_modules/.bin/json5 b/node_modules/.bin/json5 index 217f37981..977b75071 120000 --- a/node_modules/.bin/json5 +++ b/node_modules/.bin/json5 @@ -1 +1,12 @@ -../json5/lib/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@" +else + exec node "$basedir/../json5/lib/cli.js" "$@" +fi diff --git a/node_modules/.bin/mkdirp b/node_modules/.bin/mkdirp index 017896ceb..6ba5765a8 120000 --- a/node_modules/.bin/mkdirp +++ b/node_modules/.bin/mkdirp @@ -1 +1,12 @@ -../mkdirp/bin/cmd.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@" +else + exec node "$basedir/../mkdirp/bin/cmd.js" "$@" +fi diff --git a/node_modules/.bin/node-which b/node_modules/.bin/node-which index 6f8415ec5..aece73531 120000 --- a/node_modules/.bin/node-which +++ b/node_modules/.bin/node-which @@ -1 +1,12 @@ -../which/bin/node-which \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../which/bin/node-which" "$@" +else + exec node "$basedir/../which/bin/node-which" "$@" +fi diff --git a/node_modules/.bin/nopt b/node_modules/.bin/nopt index 6b6566ea7..f1ec43bc2 120000 --- a/node_modules/.bin/nopt +++ b/node_modules/.bin/nopt @@ -1 +1,12 @@ -../nopt/bin/nopt.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../nopt/bin/nopt.js" "$@" +else + exec node "$basedir/../nopt/bin/nopt.js" "$@" +fi diff --git a/node_modules/.bin/parser b/node_modules/.bin/parser index ce7bf97ef..cb5b10d8a 120000 --- a/node_modules/.bin/parser +++ b/node_modules/.bin/parser @@ -1 +1,12 @@ -../@babel/parser/bin/babel-parser.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@babel/parser/bin/babel-parser.js" "$@" +else + exec node "$basedir/../@babel/parser/bin/babel-parser.js" "$@" +fi diff --git a/node_modules/.bin/rimraf b/node_modules/.bin/rimraf index 4cd49a49d..b81682550 120000 --- a/node_modules/.bin/rimraf +++ b/node_modules/.bin/rimraf @@ -1 +1,12 @@ -../rimraf/bin.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../rimraf/bin.js" "$@" +else + exec node "$basedir/../rimraf/bin.js" "$@" +fi diff --git a/node_modules/.bin/sane b/node_modules/.bin/sane index ab4163ba5..54b02623b 120000 --- a/node_modules/.bin/sane +++ b/node_modules/.bin/sane @@ -1 +1,12 @@ -../sane/src/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../sane/src/cli.js" "$@" +else + exec node "$basedir/../sane/src/cli.js" "$@" +fi diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver index 5aaadf42c..77443e787 120000 --- a/node_modules/.bin/semver +++ b/node_modules/.bin/semver @@ -1 +1,12 @@ -../semver/bin/semver.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@" +else + exec node "$basedir/../semver/bin/semver.js" "$@" +fi diff --git a/node_modules/.bin/shjs b/node_modules/.bin/shjs index a0449975b..39ae9cbab 120000 --- a/node_modules/.bin/shjs +++ b/node_modules/.bin/shjs @@ -1 +1,12 @@ -../shelljs/bin/shjs \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../shelljs/bin/shjs" "$@" +else + exec node "$basedir/../shelljs/bin/shjs" "$@" +fi diff --git a/node_modules/.bin/ts-jest b/node_modules/.bin/ts-jest index 0f8a26ec4..3410df171 120000 --- a/node_modules/.bin/ts-jest +++ b/node_modules/.bin/ts-jest @@ -1 +1,12 @@ -../ts-jest/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../ts-jest/cli.js" "$@" +else + exec node "$basedir/../ts-jest/cli.js" "$@" +fi diff --git a/node_modules/.bin/ts-node b/node_modules/.bin/ts-node index b3ff94bcb..54276ecc8 120000 --- a/node_modules/.bin/ts-node +++ b/node_modules/.bin/ts-node @@ -1 +1,12 @@ -../ts-node/dist/bin.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../ts-node/dist/bin.js" "$@" +else + exec node "$basedir/../ts-node/dist/bin.js" "$@" +fi diff --git a/node_modules/.bin/ts-node-script b/node_modules/.bin/ts-node-script index edc40b309..82fbad1c3 120000 --- a/node_modules/.bin/ts-node-script +++ b/node_modules/.bin/ts-node-script @@ -1 +1,12 @@ -../ts-node/dist/bin-script.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../ts-node/dist/bin-script.js" "$@" +else + exec node "$basedir/../ts-node/dist/bin-script.js" "$@" +fi diff --git a/node_modules/.bin/ts-node-transpile-only b/node_modules/.bin/ts-node-transpile-only index 173710d0b..a7fc92abc 120000 --- a/node_modules/.bin/ts-node-transpile-only +++ b/node_modules/.bin/ts-node-transpile-only @@ -1 +1,12 @@ -../ts-node/dist/bin-transpile.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../ts-node/dist/bin-transpile.js" "$@" +else + exec node "$basedir/../ts-node/dist/bin-transpile.js" "$@" +fi diff --git a/node_modules/.bin/ts-script b/node_modules/.bin/ts-script index 7382912f4..d776b64f8 120000 --- a/node_modules/.bin/ts-script +++ b/node_modules/.bin/ts-script @@ -1 +1,12 @@ -../ts-node/dist/bin-script-deprecated.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../ts-node/dist/bin-script-deprecated.js" "$@" +else + exec node "$basedir/../ts-node/dist/bin-script-deprecated.js" "$@" +fi diff --git a/node_modules/.bin/tsc b/node_modules/.bin/tsc index 0863208a6..49798517b 120000 --- a/node_modules/.bin/tsc +++ b/node_modules/.bin/tsc @@ -1 +1,12 @@ -../typescript/bin/tsc \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@" +else + exec node "$basedir/../typescript/bin/tsc" "$@" +fi diff --git a/node_modules/.bin/tsserver b/node_modules/.bin/tsserver index f8f8f1a0c..cc53aac9e 120000 --- a/node_modules/.bin/tsserver +++ b/node_modules/.bin/tsserver @@ -1 +1,12 @@ -../typescript/bin/tsserver \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@" +else + exec node "$basedir/../typescript/bin/tsserver" "$@" +fi diff --git a/node_modules/.bin/uuid b/node_modules/.bin/uuid index b3e45bc53..2cfa7bf7c 120000 --- a/node_modules/.bin/uuid +++ b/node_modules/.bin/uuid @@ -1 +1,12 @@ -../uuid/bin/uuid \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../uuid/bin/uuid" "$@" +else + exec node "$basedir/../uuid/bin/uuid" "$@" +fi diff --git a/node_modules/.bin/watch b/node_modules/.bin/watch index 6c62430b5..1c288a788 120000 --- a/node_modules/.bin/watch +++ b/node_modules/.bin/watch @@ -1 +1,12 @@ -../@cnakazawa/watch/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@cnakazawa/watch/cli.js" "$@" +else + exec node "$basedir/../@cnakazawa/watch/cli.js" "$@" +fi diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 487bf9f4b..eaa93d68b 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -22,9 +22,9 @@ } }, "node_modules/@actions/exec": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.0.tgz", - "integrity": "sha512-LImpN9AY0J1R1mEYJjVJfSZWU4zYOlEcwSTgPve1rFQqK5AwrEs6uWW5Rv70gbDIQIAUwI86z6B+9mPK4w9Sbg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", "dependencies": { "@actions/io": "^1.0.1" } @@ -1334,9 +1334,9 @@ } }, "node_modules/available-typed-arrays": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.4.tgz", - "integrity": "sha512-SA5mXJWrId1TaQjfxUYghbqQ/hYioKmLJvPJyDuYRtXXenFNMjj4hSSt1Cf1xsuXSXrtxrVC5Ot4eU6cOtBDdA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", "engines": { "node": ">= 0.4" }, @@ -1360,14 +1360,14 @@ "dev": true }, "node_modules/azure-actions-appservice-rest": { - "version": "1.3.9", - "resolved": "https://registry.npmjs.org/azure-actions-appservice-rest/-/azure-actions-appservice-rest-1.3.9.tgz", - "integrity": "sha512-gr7JmypfDydp6jTFpdW0TQHqarUe1zlybhHR9yDxtEOgf4qnRv3PiJN2mj21HV5UAlSaGG0q5LQQYqTSBZVmHg==", + "version": "1.3.10", + "resolved": "https://registry.npmjs.org/azure-actions-appservice-rest/-/azure-actions-appservice-rest-1.3.10.tgz", + "integrity": "sha512-FJtXEBr9PeMWH3x5SvTGvNED6Xe7scGkMVNrm6aK0fgwZMXSMFpzwEqIYSUzNYRLBzjh1ZKx8jJRqmVO8LRUFw==", "dependencies": { "@actions/core": "^1.1.10", "@actions/io": "^1.0.1", "@types/node": "^14.14.31", - "azure-actions-webclient": "^1.1.0", + "azure-actions-webclient": "^1.1.1", "copy": "^0.3.2", "fs": "0.0.1-security", "util": "^0.12.1", @@ -1397,9 +1397,9 @@ } }, "node_modules/azure-actions-webclient": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/azure-actions-webclient/-/azure-actions-webclient-1.1.0.tgz", - "integrity": "sha512-NbTOiGCuJvLSGg18Rc/DUV2VsyI6deSCeO7Lp/81gFt/EjvrOrH+3pp8kl1CHGAvRXkwvQsyeKEMdiOBk0/5eg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/azure-actions-webclient/-/azure-actions-webclient-1.1.1.tgz", + "integrity": "sha512-g5/3fGp/8OHhfDixkZMnZ/ZNdh+WxXVgYBJx+jdRbRxRz7o1wxuRh5Rw3qJ8Zmz3H8NjAVVrVGQ9U8pgcZfGCQ==", "dependencies": { "@actions/core": "^1.1.3", "@actions/exec": "^1.0.1", @@ -2207,17 +2207,6 @@ "node": ">=0.10.0" } }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dependencies": { - "object-keys": "^1.0.12" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -2352,51 +2341,6 @@ "is-arrayish": "^0.2.1" } }, - "node_modules/es-abstract": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz", - "integrity": "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==", - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.10.3", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/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==", - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -2824,6 +2768,14 @@ "node": ">=8" } }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dependencies": { + "is-callable": "^1.1.3" + } + }, "node_modules/for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -2833,11 +2785,6 @@ "node": ">=0.10.0" } }, - "node_modules/foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, "node_modules/forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", @@ -2876,7 +2823,7 @@ "node_modules/fs": { "version": "0.0.1-security", "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" + "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" }, "node_modules/fs-constants": { "version": "1.0.0", @@ -2920,13 +2867,13 @@ } }, "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", + "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.1" + "has-symbols": "^1.0.3" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3057,6 +3004,17 @@ "node": ">=4" } }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/graceful-fs": { "version": "4.2.10", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", @@ -3102,14 +3060,6 @@ "node": ">= 0.4.0" } }, - "node_modules/has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -3131,9 +3081,23 @@ } }, "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, "engines": { "node": ">= 0.4" }, @@ -3373,11 +3337,12 @@ } }, "node_modules/is-arguments": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", - "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", "dependencies": { - "call-bind": "^1.0.0" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -3392,37 +3357,15 @@ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "node_modules/is-bigint": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz", - "integrity": "sha512-0JV5+SOCQkIdzjBK9buARcV804Ddu7A0Qet6sHi3FimE9ne6m4BGQZfRn+NZiXbBk4F4XmHfDZIipLj9pX8dSA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.1.tgz", - "integrity": "sha512-bXdQWkECBUIAcCkeH1unwJLIpZYaa5VvuygSyS/c2lf719mTKZDU5UdDRlpd01UjADgmW8RfqaP+mRaVPdr/Ng==", - "dependencies": { - "call-bind": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, "node_modules/is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", "engines": { "node": ">= 0.4" }, @@ -3464,17 +3407,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-date-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.4.tgz", - "integrity": "sha512-/b4ZVsG7Z5XVtIxs/h9W8nvfLgSAyKYdtGWQLbqy6jA1icmgjf8WCoTKgeS4wy5tYaPePouzFMANbnj94c2Z+A==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", @@ -3544,9 +3476,12 @@ } }, "node_modules/is-generator-function": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.9.tgz", - "integrity": "sha512-ZJ34p1uvIfptHCN7sFTjGibB9/oBg17sHqzDLfuwhvmN/qLVvIQXRQ8licZQ35WJ8KuEQt/etnnzQFI9C9Ue/A==", + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -3565,17 +3500,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -3585,17 +3509,6 @@ "node": ">=0.12.0" } }, - "node_modules/is-number-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.5.tgz", - "integrity": "sha512-RU0lI/n95pMoUKu9v1BZP5MBcZuNSVJkMkAG2dJqC4z2GlkGUNeH68SuHuBKBD/XFe+LHZ+f9BKkLET60Niedw==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -3608,21 +3521,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-regex": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", - "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", - "dependencies": { - "call-bind": "^1.0.2", - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-relative": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-0.2.1.tgz", @@ -3643,41 +3541,16 @@ "node": ">=0.10.0" } }, - "node_modules/is-string": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.6.tgz", - "integrity": "sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-typed-array": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.5.tgz", - "integrity": "sha512-S+GRDgJlR3PyEbsX/Fobd9cqpZBuvUS+8asRqYDMLCb2qMzt1oz5m5oxQCxOgUDxiWsOVNi4yaF+/uvdlHlYug==", + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", "dependencies": { - "available-typed-arrays": "^1.0.2", + "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", - "es-abstract": "^1.18.0-next.2", - "foreach": "^2.0.5", - "has-symbols": "^1.0.1" + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -5135,21 +5008,13 @@ } }, "node_modules/object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==", + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -5162,23 +5027,6 @@ "node": ">=0.10.0" } }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -5516,9 +5364,9 @@ } }, "node_modules/qs": { - "version": "6.10.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", - "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.1.tgz", + "integrity": "sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==", "dependencies": { "side-channel": "^1.0.4" }, @@ -5533,6 +5381,7 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz", "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", "engines": { "node": ">=0.4.x" } @@ -6529,30 +6378,6 @@ "node": ">=8" } }, - "node_modules/string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", @@ -7028,20 +6853,15 @@ } }, "node_modules/typed-rest-client": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.4.tgz", - "integrity": "sha512-MyfKKYzk3I6/QQp6e1T50py4qg+c+9BzOEl2rBmQIpStwNUoqQ73An+Tkfy9YuV7O+o2mpVVJpe+fH//POZkbg==", + "version": "1.8.9", + "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.9.tgz", + "integrity": "sha512-uSmjE38B80wjL85UFX3sTYEUlvZ1JgCRhsWj/fJ4rZ0FqDUFoIuodtiVeE+cUqiVTOKPdKrp/sdftD15MDek6g==", "dependencies": { "qs": "^6.9.1", "tunnel": "0.0.6", "underscore": "^1.12.1" } }, - "node_modules/typed-rest-client/node_modules/underscore": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz", - "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==" - }, "node_modules/typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", @@ -7064,20 +6884,6 @@ "node": ">=4.2.0" } }, - "node_modules/unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/unc-path-regex": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", @@ -7184,15 +6990,14 @@ } }, "node_modules/util": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", - "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", + "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", "is-generator-function": "^1.0.7", "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", "which-typed-array": "^1.1.2" } }, @@ -7345,21 +7150,6 @@ "node": ">= 8" } }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", @@ -7367,17 +7157,16 @@ "dev": true }, "node_modules/which-typed-array": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", - "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", "dependencies": { - "available-typed-arrays": "^1.0.2", - "call-bind": "^1.0.0", - "es-abstract": "^1.18.0-next.1", - "foreach": "^2.0.5", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.1", - "is-typed-array": "^1.1.3" + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" }, "engines": { "node": ">= 0.4" diff --git a/node_modules/@actions/core/node_modules/.bin/uuid b/node_modules/@actions/core/node_modules/.bin/uuid index 588f70ecc..c3ec0035f 120000 --- a/node_modules/@actions/core/node_modules/.bin/uuid +++ b/node_modules/@actions/core/node_modules/.bin/uuid @@ -1 +1,12 @@ -../uuid/dist/bin/uuid \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../uuid/dist/bin/uuid" "$@" +else + exec node "$basedir/../uuid/dist/bin/uuid" "$@" +fi diff --git a/node_modules/@actions/exec/package.json b/node_modules/@actions/exec/package.json index ff0cebfe9..bc4d77a23 100644 --- a/node_modules/@actions/exec/package.json +++ b/node_modules/@actions/exec/package.json @@ -1,6 +1,6 @@ { "name": "@actions/exec", - "version": "1.1.0", + "version": "1.1.1", "description": "Actions exec lib", "keywords": [ "github", diff --git a/node_modules/@babel/core/node_modules/.bin/semver b/node_modules/@babel/core/node_modules/.bin/semver index 317eb293d..86cee84b6 120000 --- a/node_modules/@babel/core/node_modules/.bin/semver +++ b/node_modules/@babel/core/node_modules/.bin/semver @@ -1 +1,12 @@ -../semver/bin/semver \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../semver/bin/semver" "$@" +else + exec node "$basedir/../semver/bin/semver" "$@" +fi diff --git a/node_modules/acorn-globals/node_modules/.bin/acorn b/node_modules/acorn-globals/node_modules/.bin/acorn index cf7676038..46a3e61a1 120000 --- a/node_modules/acorn-globals/node_modules/.bin/acorn +++ b/node_modules/acorn-globals/node_modules/.bin/acorn @@ -1 +1,12 @@ -../acorn/bin/acorn \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../acorn/bin/acorn" "$@" +else + exec node "$basedir/../acorn/bin/acorn" "$@" +fi diff --git a/node_modules/available-typed-arrays/.eslintrc b/node_modules/available-typed-arrays/.eslintrc index 3b5d9e90e..62f1d7f50 100644 --- a/node_modules/available-typed-arrays/.eslintrc +++ b/node_modules/available-typed-arrays/.eslintrc @@ -2,4 +2,8 @@ "root": true, "extends": "@ljharb", + + "globals": { + "globalThis": false + } } diff --git a/node_modules/available-typed-arrays/CHANGELOG.md b/node_modules/available-typed-arrays/CHANGELOG.md index 642bc3a9e..112aff968 100644 --- a/node_modules/available-typed-arrays/CHANGELOG.md +++ b/node_modules/available-typed-arrays/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.0.5](https://github.com/inspect-js/available-typed-arrays/compare/v1.0.4...v1.0.5) - 2021-08-30 + +### Fixed + +- [Refactor] use `globalThis` if available [`#12`](https://github.com/inspect-js/available-typed-arrays/issues/12) + +### Commits + +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`1199790`](https://github.com/inspect-js/available-typed-arrays/commit/1199790ab5841517ad04827fab3f135d2dc5cfb7) + ## [v1.0.4](https://github.com/inspect-js/available-typed-arrays/compare/v1.0.3...v1.0.4) - 2021-05-25 ### Commits diff --git a/node_modules/available-typed-arrays/index.js b/node_modules/available-typed-arrays/index.js index 00cb9c160..88dbac3fe 100644 --- a/node_modules/available-typed-arrays/index.js +++ b/node_modules/available-typed-arrays/index.js @@ -14,10 +14,12 @@ var possibleNames = [ 'Uint8ClampedArray' ]; +var g = typeof globalThis === 'undefined' ? global : globalThis; + module.exports = function availableTypedArrays() { var out = []; for (var i = 0; i < possibleNames.length; i++) { - if (typeof global[possibleNames[i]] === 'function') { + if (typeof g[possibleNames[i]] === 'function') { out[out.length] = possibleNames[i]; } } diff --git a/node_modules/available-typed-arrays/package.json b/node_modules/available-typed-arrays/package.json index efee35e5f..1787d423b 100644 --- a/node_modules/available-typed-arrays/package.json +++ b/node_modules/available-typed-arrays/package.json @@ -1,6 +1,6 @@ { "name": "available-typed-arrays", - "version": "1.0.4", + "version": "1.0.5", "description": "Returns an array of Typed Array names that are available in the current environment", "main": "index.js", "type": "commonjs", @@ -60,16 +60,16 @@ "node": ">= 0.4" }, "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", + "@ljharb/eslint-config": "^18.0.0", "array.prototype.every": "^1.1.2", "aud": "^1.1.5", "auto-changelog": "^2.3.0", - "eslint": "^7.27.0", + "eslint": "^7.32.0", "evalmd": "^0.0.19", "isarray": "^2.0.5", "nyc": "^10.3.2", "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" + "tape": "^5.3.1" }, "auto-changelog": { "output": "CHANGELOG.md", diff --git a/node_modules/azure-actions-appservice-rest/Arm/azure-app-service.d.ts b/node_modules/azure-actions-appservice-rest/Arm/azure-app-service.d.ts index 1411e8703..06342390e 100644 --- a/node_modules/azure-actions-appservice-rest/Arm/azure-app-service.d.ts +++ b/node_modules/azure-actions-appservice-rest/Arm/azure-app-service.d.ts @@ -29,6 +29,7 @@ export declare class AzureAppService { restart(): Promise; getPublishingProfileWithSecrets(force?: boolean): Promise; getPublishingCredentials(): Promise; + getAccessToken(): Promise; getApplicationSettings(force?: boolean): Promise; updateApplicationSettings(applicationSettings: any): Promise; patchApplicationSettings(addProperties: any, deleteProperties?: any): Promise; diff --git a/node_modules/azure-actions-appservice-rest/Arm/azure-app-service.js b/node_modules/azure-actions-appservice-rest/Arm/azure-app-service.js index 43e94cfa9..cb1497e67 100644 --- a/node_modules/azure-actions-appservice-rest/Arm/azure-app-service.js +++ b/node_modules/azure-actions-appservice-rest/Arm/azure-app-service.js @@ -89,6 +89,9 @@ class AzureAppService { } }); } + getAccessToken() { + return this._client.getAccessToken(); + } getApplicationSettings(force) { return __awaiter(this, void 0, void 0, function* () { if (force || !this._appServiceApplicationSetings) { diff --git a/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.d.ts b/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.d.ts index 02c1d8b25..3df0aa78b 100644 --- a/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.d.ts +++ b/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.d.ts @@ -1,10 +1,11 @@ import { WebRequest, WebRequestOptions, WebResponse } from 'azure-actions-webclient/WebClient'; export declare class KuduServiceClient { private _scmUri; - private _accesssToken; + private _accessToken; + private _accessTokenType; private _cookie; private _webClient; - constructor(scmUri: string, accessToken: string); + constructor(scmUri: string, accessToken: string, accessTokenType: "Basic" | "Bearer"); beginRequest(request: WebRequest, reqOptions?: WebRequestOptions, contentType?: string): Promise; getRequestUri(uriFormat: string, queryParameters?: Array): string; getScmUri(): string; diff --git a/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js b/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js index df63c7bfe..c0e59d4b8 100644 --- a/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js +++ b/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js @@ -13,15 +13,16 @@ const util = require("util"); const WebClient_1 = require("azure-actions-webclient/WebClient"); const core = require("@actions/core"); class KuduServiceClient { - constructor(scmUri, accessToken) { - this._accesssToken = accessToken; + constructor(scmUri, accessToken, accessTokenType) { + this._accessToken = accessToken; + this._accessTokenType = accessTokenType; this._scmUri = scmUri; this._webClient = new WebClient_1.WebClient(); } beginRequest(request, reqOptions, contentType) { return __awaiter(this, void 0, void 0, function* () { request.headers = request.headers || {}; - request.headers["Authorization"] = "Basic " + this._accesssToken; + request.headers["Authorization"] = `${this._accessTokenType} ${this._accessToken}`; request.headers['Content-Type'] = contentType || 'application/json; charset=utf-8'; if (!!this._cookie) { core.debug(`setting affinity cookie ${JSON.stringify(this._cookie)}`); diff --git a/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.d.ts b/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.d.ts index 05e1e9731..6a9e8b76a 100644 --- a/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.d.ts +++ b/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.d.ts @@ -4,7 +4,10 @@ export declare const KUDU_DEPLOYMENT_CONSTANTS: { }; export declare class Kudu { private _client; - constructor(scmUri: string, username: string, password: string); + constructor(scmUri: string, credentials: { + username: string; + password: string; + } | string); updateDeployment(requestBody: any): Promise; getAppSettings(): Promise>; getAppRuntime(): Promise; diff --git a/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js b/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js index 80166c554..005b0f43e 100644 --- a/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js +++ b/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js @@ -18,9 +18,12 @@ exports.KUDU_DEPLOYMENT_CONSTANTS = { FAILED: 3 }; class Kudu { - constructor(scmUri, username, password) { - var base64EncodedCredential = (new Buffer(username + ':' + password).toString('base64')); - this._client = new KuduServiceClient_1.KuduServiceClient(scmUri, base64EncodedCredential); + constructor(scmUri, credentials) { + const accessToken = typeof credentials === 'string' + ? credentials + : (new Buffer(credentials.username + ':' + credentials.password).toString('base64')); + const accessTokenType = typeof credentials === 'string' ? "Bearer" : "Basic"; + this._client = new KuduServiceClient_1.KuduServiceClient(scmUri, accessToken, accessTokenType); } updateDeployment(requestBody) { return __awaiter(this, void 0, void 0, function* () { diff --git a/node_modules/azure-actions-appservice-rest/Utilities/AzureAppServiceUtility.js b/node_modules/azure-actions-appservice-rest/Utilities/AzureAppServiceUtility.js index 211b9cbe4..635866416 100644 --- a/node_modules/azure-actions-appservice-rest/Utilities/AzureAppServiceUtility.js +++ b/node_modules/azure-actions-appservice-rest/Utilities/AzureAppServiceUtility.js @@ -83,13 +83,27 @@ class AzureAppServiceUtility { } getKuduService() { return __awaiter(this, void 0, void 0, function* () { + try { + const token = yield this._appService.getAccessToken(); + if (!!token) { + console.log(`::add-mask::${token}`); + const app = yield this._appService.get(); + const scmUri = (app.properties["hostNameSslStates"] || []).find(n => n.hostType == "Repository"); + if (!!scmUri) { + return new azure_app_kudu_service_1.Kudu(`https://${scmUri["name"]}`, token); + } + } + } + catch (e) { + console.log('Error getting accessToken. Falling back to publishing profile: ' + e); + } var publishingCredentials = yield this._appService.getPublishingCredentials(); if (publishingCredentials.properties["scmUri"]) { - let userName = publishingCredentials.properties["publishingUserName"]; + let username = publishingCredentials.properties["publishingUserName"]; let password = publishingCredentials.properties["publishingPassword"]; // masking kudu password console.log(`::add-mask::${password}`); - return new azure_app_kudu_service_1.Kudu(publishingCredentials.properties["scmUri"], userName, password); + return new azure_app_kudu_service_1.Kudu(publishingCredentials.properties["scmUri"], { username, password }); } throw Error('KUDU SCM details are empty'); }); diff --git a/node_modules/azure-actions-appservice-rest/package.json b/node_modules/azure-actions-appservice-rest/package.json index 47b8329d4..e06d8da45 100644 --- a/node_modules/azure-actions-appservice-rest/package.json +++ b/node_modules/azure-actions-appservice-rest/package.json @@ -1,6 +1,6 @@ { "name": "azure-actions-appservice-rest", - "version": "1.3.9", + "version": "1.3.10", "description": "Azure resource manager and kudu node rest module", "keywords": [ "appservice", @@ -29,7 +29,7 @@ "@actions/core": "^1.1.10", "@actions/io": "^1.0.1", "@types/node": "^14.14.31", - "azure-actions-webclient": "^1.1.0", + "azure-actions-webclient": "^1.1.1", "copy": "^0.3.2", "fs": "0.0.1-security", "util": "^0.12.1", diff --git a/node_modules/azure-actions-webclient/AuthorizerFactory.js b/node_modules/azure-actions-webclient/AuthorizerFactory.js index 3e3f0b496..bdec162b7 100644 --- a/node_modules/azure-actions-webclient/AuthorizerFactory.js +++ b/node_modules/azure-actions-webclient/AuthorizerFactory.js @@ -20,7 +20,7 @@ class AuthorizerFactory { } catch (error) { core.debug(error); - throw new Error("No credentails found. Add an Azure login action before this action. For more details refer https://github.com/azure/login"); + throw new Error("No credentials found. Add an Azure login action before this action. For more details refer https://github.com/azure/login"); } }); } diff --git a/node_modules/azure-actions-webclient/AzureRestClient.d.ts b/node_modules/azure-actions-webclient/AzureRestClient.d.ts index 5dd7c6707..0ba3741e1 100644 --- a/node_modules/azure-actions-webclient/AzureRestClient.d.ts +++ b/node_modules/azure-actions-webclient/AzureRestClient.d.ts @@ -24,6 +24,7 @@ export declare class ServiceClient { beginRequest(request: WebRequest, tokenArgs?: string[]): Promise; accumulateResultFromPagedResult(nextLinkUrl: string): Promise; getLongRunningOperationResult(response: WebResponse): Promise; + getAccessToken(): Promise; private _sleep; subscriptionId: string; protected baseUrl: string; diff --git a/node_modules/azure-actions-webclient/AzureRestClient.js b/node_modules/azure-actions-webclient/AzureRestClient.js index a81c703ef..2a5e69980 100644 --- a/node_modules/azure-actions-webclient/AzureRestClient.js +++ b/node_modules/azure-actions-webclient/AzureRestClient.js @@ -147,6 +147,9 @@ class ServiceClient { return response; }); } + getAccessToken() { + return this._authorizer.getToken(); + } _sleep(sleepDurationInSeconds) { return new Promise((resolve) => { setTimeout(resolve, sleepDurationInSeconds * 1000); diff --git a/node_modules/azure-actions-webclient/package.json b/node_modules/azure-actions-webclient/package.json index 2695a3b37..395398e4f 100644 --- a/node_modules/azure-actions-webclient/package.json +++ b/node_modules/azure-actions-webclient/package.json @@ -1,6 +1,6 @@ { "name": "azure-actions-webclient", - "version": "1.1.0", + "version": "1.1.1", "description": "Authorize to azure and make rest calls", "keywords": [ "webclient", diff --git a/node_modules/cross-spawn/node_modules/.bin/semver b/node_modules/cross-spawn/node_modules/.bin/semver index 317eb293d..86cee84b6 120000 --- a/node_modules/cross-spawn/node_modules/.bin/semver +++ b/node_modules/cross-spawn/node_modules/.bin/semver @@ -1 +1,12 @@ -../semver/bin/semver \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../semver/bin/semver" "$@" +else + exec node "$basedir/../semver/bin/semver" "$@" +fi diff --git a/node_modules/cross-spawn/node_modules/.bin/which b/node_modules/cross-spawn/node_modules/.bin/which index f62471c85..c51820f2f 120000 --- a/node_modules/cross-spawn/node_modules/.bin/which +++ b/node_modules/cross-spawn/node_modules/.bin/which @@ -1 +1,12 @@ -../which/bin/which \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../which/bin/which" "$@" +else + exec node "$basedir/../which/bin/which" "$@" +fi diff --git a/node_modules/define-properties/.editorconfig b/node_modules/define-properties/.editorconfig deleted file mode 100644 index eaa214161..000000000 --- a/node_modules/define-properties/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -root = true - -[*] -indent_style = tab; -insert_final_newline = true; -quote_type = auto; -space_after_anonymous_functions = true; -space_after_control_statements = true; -spaces_around_operators = true; -trim_trailing_whitespace = true; -spaces_in_brackets = false; -end_of_line = lf; - diff --git a/node_modules/define-properties/.eslintrc b/node_modules/define-properties/.eslintrc deleted file mode 100644 index db992d7a9..000000000 --- a/node_modules/define-properties/.eslintrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "id-length": [2, { "min": 1, "max": 35 }], - "max-lines-per-function": [2, 100], - "max-params": [2, 4], - "max-statements": [2, 13] - } -} diff --git a/node_modules/define-properties/.jscs.json b/node_modules/define-properties/.jscs.json deleted file mode 100644 index 6f2d7f9ff..000000000 --- a/node_modules/define-properties/.jscs.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "es3": true, - - "additionalRules": [], - - "requireSemicolons": true, - - "disallowMultipleSpaces": true, - - "disallowIdentifierNames": [], - - "requireCurlyBraces": { - "allExcept": [], - "keywords": ["if", "else", "for", "while", "do", "try", "catch"] - }, - - "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"], - - "disallowSpaceAfterKeywords": [], - - "disallowSpaceBeforeComma": true, - "disallowSpaceAfterComma": false, - "disallowSpaceBeforeSemicolon": true, - - "disallowNodeTypes": [ - "DebuggerStatement", - "LabeledStatement", - "SwitchCase", - "SwitchStatement", - "WithStatement" - ], - - "requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] }, - - "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true }, - "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, - "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, - "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, - "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true }, - - "requireSpaceBetweenArguments": true, - - "disallowSpacesInsideParentheses": true, - - "disallowSpacesInsideArrayBrackets": true, - - "disallowQuotedKeysInObjects": { "allExcept": ["reserved"] }, - - "disallowSpaceAfterObjectKeys": true, - - "requireCommaBeforeLineBreak": true, - - "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], - "requireSpaceAfterPrefixUnaryOperators": [], - - "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], - "requireSpaceBeforePostfixUnaryOperators": [], - - "disallowSpaceBeforeBinaryOperators": [], - "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], - - "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], - "disallowSpaceAfterBinaryOperators": [], - - "disallowImplicitTypeConversion": ["binary", "string"], - - "disallowKeywords": ["with", "eval"], - - "requireKeywordsOnNewLine": [], - "disallowKeywordsOnNewLine": ["else"], - - "requireLineFeedAtFileEnd": true, - - "disallowTrailingWhitespace": true, - - "disallowTrailingComma": true, - - "excludeFiles": ["node_modules/**", "vendor/**"], - - "disallowMultipleLineStrings": true, - - "requireDotNotation": { "allExcept": ["keywords"] }, - - "requireParenthesesAroundIIFE": true, - - "validateLineBreaks": "LF", - - "validateQuoteMarks": { - "escape": true, - "mark": "'" - }, - - "disallowOperatorBeforeLineBreak": [], - - "requireSpaceBeforeKeywords": [ - "do", - "for", - "if", - "else", - "switch", - "case", - "try", - "catch", - "finally", - "while", - "with", - "return" - ], - - "validateAlignedFunctionParameters": { - "lineBreakAfterOpeningBraces": true, - "lineBreakBeforeClosingBraces": true - }, - - "requirePaddingNewLinesBeforeExport": true, - - "validateNewlineAfterArrayElements": { - "maximum": 3 - }, - - "requirePaddingNewLinesAfterUseStrict": true, - - "disallowArrowFunctions": true, - - "disallowMultiLineTernary": true, - - "validateOrderInObjectKeys": "asc-insensitive", - - "disallowIdenticalDestructuringNames": true, - - "disallowNestedTernaries": { "maxLevel": 1 }, - - "requireSpaceAfterComma": { "allExcept": ["trailing"] }, - "requireAlignedMultilineParams": false, - - "requireSpacesInGenerator": { - "afterStar": true - }, - - "disallowSpacesInGenerator": { - "beforeStar": true - }, - - "disallowVar": false, - - "requireArrayDestructuring": false, - - "requireEnhancedObjectLiterals": false, - - "requireObjectDestructuring": false, - - "requireEarlyReturn": false, - - "requireCapitalizedConstructorsNew": { - "allExcept": ["Function", "String", "Object", "Symbol", "Number", "Date", "RegExp", "Error", "Boolean", "Array"] - }, - - "requireImportAlphabetized": false, - - "requireSpaceBeforeObjectValues": true, - "requireSpaceBeforeDestructuredValues": true, - - "disallowSpacesInsideTemplateStringPlaceholders": true, - - "disallowArrayDestructuringReturn": false, - - "requireNewlineBeforeSingleStatementsInIf": false, - - "disallowUnusedVariables": true, - - "requireSpacesInsideImportedObjectBraces": true, - - "requireUseStrict": true -} - diff --git a/node_modules/define-properties/.travis.yml b/node_modules/define-properties/.travis.yml deleted file mode 100644 index ec72d5f3d..000000000 --- a/node_modules/define-properties/.travis.yml +++ /dev/null @@ -1,233 +0,0 @@ -language: node_js -os: - - linux -node_js: - - "10.8" - - "9.11" - - "8.11" - - "7.10" - - "6.14" - - "5.12" - - "4.9" - - "iojs-v3.3" - - "iojs-v2.5" - - "iojs-v1.8" - - "0.12" - - "0.10" - - "0.8" -before_install: - - 'case "${TRAVIS_NODE_VERSION}" in 0.*) export NPM_CONFIG_STRICT_SSL=false ;; esac' - - 'nvm install-latest-npm' -install: - - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.9" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;' -script: - - 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi' - - 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi' - - 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi' - - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi' -sudo: false -env: - - TEST=true -matrix: - fast_finish: true - include: - - node_js: "lts/*" - env: PRETEST=true - - node_js: "lts/*" - env: POSTTEST=true - - node_js: "4" - env: COVERAGE=true - - node_js: "10.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.13" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.12" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.11" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.11" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v3.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v3.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v3.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "0.11" - env: TEST=true ALLOW_FAILURE=true - - node_js: "0.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "0.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "0.4" - env: TEST=true ALLOW_FAILURE=true - allow_failures: - - os: osx - - env: TEST=true ALLOW_FAILURE=true - - env: COVERAGE=true diff --git a/node_modules/define-properties/CHANGELOG.md b/node_modules/define-properties/CHANGELOG.md deleted file mode 100644 index 5cad1e26a..000000000 --- a/node_modules/define-properties/CHANGELOG.md +++ /dev/null @@ -1,44 +0,0 @@ -1.1.3 / 2018-08-14 -================= - * [Refactor] use a for loop instead of `foreach` to make for smaller bundle sizes - * [Robustness] cache `Array.prototype.concat` and `Object.defineProperty` - * [Deps] update `object-keys` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `nsp`, `tape`, `jscs`; remove unused eccheck script + dep - * [Tests] use pretest/posttest for linting/security - * [Tests] fix npm upgrades on older nodes - -1.1.2 / 2015-10-14 -================= - * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG - * [Deps] Update `object-keys` - * [Dev Deps] update `jscs`, `tape`, `eslint`, `@ljharb/eslint-config`, `nsp` - * [Tests] up to `io.js` `v3.3`, `node` `v4.2` - -1.1.1 / 2015-07-21 -================= - * [Deps] Update `object-keys` - * [Dev Deps] Update `tape`, `eslint` - * [Tests] Test on `io.js` `v2.4` - -1.1.0 / 2015-07-01 -================= - * [New] Add support for symbol-valued properties. - * [Dev Deps] Update `nsp`, `eslint` - * [Tests] Test up to `io.js` `v2.3` - -1.0.3 / 2015-05-30 -================= - * Using a more reliable check for supported property descriptors. - -1.0.2 / 2015-05-23 -================= - * Test up to `io.js` `v2.0` - * Update `tape`, `jscs`, `nsp`, `eslint`, `object-keys`, `editorconfig-tools`, `covert` - -1.0.1 / 2015-01-06 -================= - * Update `object-keys` to fix ES3 support - -1.0.0 / 2015-01-04 -================= - * v1.0.0 diff --git a/node_modules/define-properties/LICENSE b/node_modules/define-properties/LICENSE deleted file mode 100644 index 8c271c14b..000000000 --- a/node_modules/define-properties/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (C) 2015 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/define-properties/README.md b/node_modules/define-properties/README.md deleted file mode 100644 index 33b6111f1..000000000 --- a/node_modules/define-properties/README.md +++ /dev/null @@ -1,86 +0,0 @@ -#define-properties [![Version Badge][npm-version-svg]][package-url] - -[![Build Status][travis-svg]][travis-url] -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -[![browser support][testling-svg]][testling-url] - -Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines. -Existing properties are not overridden. Accepts a map of property names to a predicate that, when true, force-overrides. - -## Example - -```js -var define = require('define-properties'); -var assert = require('assert'); - -var obj = define({ a: 1, b: 2 }, { - a: 10, - b: 20, - c: 30 -}); -assert(obj.a === 1); -assert(obj.b === 2); -assert(obj.c === 30); -if (define.supportsDescriptors) { - assert.deepEqual(Object.keys(obj), ['a', 'b']); - assert.deepEqual(Object.getOwnPropertyDescriptor(obj, 'c'), { - configurable: true, - enumerable: false, - value: 30, - writable: false - }); -} -``` - -Then, with predicates: -```js -var define = require('define-properties'); -var assert = require('assert'); - -var obj = define({ a: 1, b: 2, c: 3 }, { - a: 10, - b: 20, - c: 30 -}, { - a: function () { return false; }, - b: function () { return true; } -}); -assert(obj.a === 1); -assert(obj.b === 20); -assert(obj.c === 3); -if (define.supportsDescriptors) { - assert.deepEqual(Object.keys(obj), ['a', 'c']); - assert.deepEqual(Object.getOwnPropertyDescriptor(obj, 'b'), { - configurable: true, - enumerable: false, - value: 20, - writable: false - }); -} -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.org/package/define-properties -[npm-version-svg]: http://versionbadg.es/ljharb/define-properties.svg -[travis-svg]: https://travis-ci.org/ljharb/define-properties.svg -[travis-url]: https://travis-ci.org/ljharb/define-properties -[deps-svg]: https://david-dm.org/ljharb/define-properties.svg -[deps-url]: https://david-dm.org/ljharb/define-properties -[dev-deps-svg]: https://david-dm.org/ljharb/define-properties/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/define-properties#info=devDependencies -[testling-svg]: https://ci.testling.com/ljharb/define-properties.png -[testling-url]: https://ci.testling.com/ljharb/define-properties -[npm-badge-png]: https://nodei.co/npm/define-properties.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/define-properties.svg -[license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/define-properties.svg -[downloads-url]: http://npm-stat.com/charts.html?package=define-properties - diff --git a/node_modules/define-properties/index.js b/node_modules/define-properties/index.js deleted file mode 100644 index cb3ae1c7c..000000000 --- a/node_modules/define-properties/index.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; - -var keys = require('object-keys'); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; - -var toStr = Object.prototype.toString; -var concat = Array.prototype.concat; -var origDefineProperty = Object.defineProperty; - -var isFunction = function (fn) { - return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; -}; - -var arePropertyDescriptorsSupported = function () { - var obj = {}; - try { - origDefineProperty(obj, 'x', { enumerable: false, value: obj }); - // eslint-disable-next-line no-unused-vars, no-restricted-syntax - for (var _ in obj) { // jscs:ignore disallowUnusedVariables - return false; - } - return obj.x === obj; - } catch (e) { /* this is IE 8. */ - return false; - } -}; -var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported(); - -var defineProperty = function (object, name, value, predicate) { - if (name in object && (!isFunction(predicate) || !predicate())) { - return; - } - if (supportsDescriptors) { - origDefineProperty(object, name, { - configurable: true, - enumerable: false, - value: value, - writable: true - }); - } else { - object[name] = value; - } -}; - -var defineProperties = function (object, map) { - var predicates = arguments.length > 2 ? arguments[2] : {}; - var props = keys(map); - if (hasSymbols) { - props = concat.call(props, Object.getOwnPropertySymbols(map)); - } - for (var i = 0; i < props.length; i += 1) { - defineProperty(object, props[i], map[props[i]], predicates[props[i]]); - } -}; - -defineProperties.supportsDescriptors = !!supportsDescriptors; - -module.exports = defineProperties; diff --git a/node_modules/define-properties/package.json b/node_modules/define-properties/package.json deleted file mode 100644 index b520f7bda..000000000 --- a/node_modules/define-properties/package.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "name": "define-properties", - "version": "1.1.3", - "author": "Jordan Harband", - "description": "Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.", - "license": "MIT", - "main": "index.js", - "scripts": { - "pretest": "npm run --silent lint", - "test": "npm run --silent tests-only", - "posttest": "npm run --silent security", - "tests-only": "node test/index.js", - "coverage": "covert test/*.js", - "coverage-quiet": "covert test/*.js --quiet", - "lint": "npm run --silent jscs && npm run --silent eslint", - "jscs": "jscs test/*.js *.js", - "eslint": "eslint test/*.js *.js", - "security": "nsp check" - }, - "repository": { - "type": "git", - "url": "git://github.com/ljharb/define-properties.git" - }, - "keywords": [ - "Object.defineProperty", - "Object.defineProperties", - "object", - "property descriptor", - "descriptor", - "define", - "ES5" - ], - "dependencies": { - "object-keys": "^1.0.12" - }, - "devDependencies": { - "@ljharb/eslint-config": "^13.0.0", - "covert": "^1.1.0", - "eslint": "^5.3.0", - "jscs": "^3.0.7", - "nsp": "^3.2.1", - "tape": "^4.9.0" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/node_modules/define-properties/test/index.js b/node_modules/define-properties/test/index.js deleted file mode 100644 index 3387f6bc7..000000000 --- a/node_modules/define-properties/test/index.js +++ /dev/null @@ -1,125 +0,0 @@ -'use strict'; - -var define = require('../'); -var test = require('tape'); -var keys = require('object-keys'); - -var arePropertyDescriptorsSupported = function () { - var obj = { a: 1 }; - try { - Object.defineProperty(obj, 'x', { value: obj }); - return obj.x === obj; - } catch (e) { /* this is IE 8. */ - return false; - } -}; -var descriptorsSupported = !!Object.defineProperty && arePropertyDescriptorsSupported(); - -var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; - -test('defineProperties', function (dt) { - dt.test('with descriptor support', { skip: !descriptorsSupported }, function (t) { - var getDescriptor = function (value) { - return { - configurable: true, - enumerable: false, - value: value, - writable: true - }; - }; - - var obj = { - a: 1, - b: 2, - c: 3 - }; - t.deepEqual(keys(obj), ['a', 'b', 'c'], 'all literal-set keys start enumerable'); - define(obj, { - b: 3, - c: 4, - d: 5 - }); - t.deepEqual(obj, { - a: 1, - b: 2, - c: 3 - }, 'existing properties were not overridden'); - t.deepEqual(Object.getOwnPropertyDescriptor(obj, 'd'), getDescriptor(5), 'new property "d" was added and is not enumerable'); - t.deepEqual(['a', 'b', 'c'], keys(obj), 'new keys are not enumerable'); - - define(obj, { - a: 2, - b: 3, - c: 4 - }, { - a: function () { return true; }, - b: function () { return false; } - }); - t.deepEqual(obj, { - b: 2, - c: 3 - }, 'properties only overriden when predicate exists and returns true'); - t.deepEqual(Object.getOwnPropertyDescriptor(obj, 'd'), getDescriptor(5), 'existing property "d" remained and is not enumerable'); - t.deepEqual(Object.getOwnPropertyDescriptor(obj, 'a'), getDescriptor(2), 'existing property "a" was overridden and is not enumerable'); - t.deepEqual(['b', 'c'], keys(obj), 'overridden keys are not enumerable'); - - t.end(); - }); - - dt.test('without descriptor support', { skip: descriptorsSupported }, function (t) { - var obj = { - a: 1, - b: 2, - c: 3 - }; - define(obj, { - b: 3, - c: 4, - d: 5 - }); - t.deepEqual(obj, { - a: 1, - b: 2, - c: 3, - d: 5 - }, 'existing properties were not overridden, new properties were added'); - - define(obj, { - a: 2, - b: 3, - c: 4 - }, { - a: function () { return true; }, - b: function () { return false; } - }); - t.deepEqual(obj, { - a: 2, - b: 2, - c: 3, - d: 5 - }, 'properties only overriden when predicate exists and returns true'); - - t.end(); - }); - - dt.end(); -}); - -test('symbols', { skip: !hasSymbols }, function (t) { - var sym = Symbol('foo'); - var obj = {}; - var aValue = {}; - var bValue = {}; - var properties = { a: aValue }; - properties[sym] = bValue; - - define(obj, properties); - - t.deepEqual(Object.keys(obj), [], 'object has no enumerable keys'); - t.deepEqual(Object.getOwnPropertyNames(obj), ['a'], 'object has non-enumerable "a" key'); - t.deepEqual(Object.getOwnPropertySymbols(obj), [sym], 'object has non-enumerable symbol key'); - t.equal(obj.a, aValue, 'string keyed value is defined'); - t.equal(obj[sym], bValue, 'symbol keyed value is defined'); - - t.end(); -}); diff --git a/node_modules/es-abstract/.editorconfig b/node_modules/es-abstract/.editorconfig deleted file mode 100644 index eaa214161..000000000 --- a/node_modules/es-abstract/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -root = true - -[*] -indent_style = tab; -insert_final_newline = true; -quote_type = auto; -space_after_anonymous_functions = true; -space_after_control_statements = true; -spaces_around_operators = true; -trim_trailing_whitespace = true; -spaces_in_brackets = false; -end_of_line = lf; - diff --git a/node_modules/es-abstract/.eslintignore b/node_modules/es-abstract/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/es-abstract/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/es-abstract/.eslintrc b/node_modules/es-abstract/.eslintrc deleted file mode 100644 index 1a0d2d2ba..000000000 --- a/node_modules/es-abstract/.eslintrc +++ /dev/null @@ -1,65 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "env": { - "es6": true, - }, - - "rules": { - "array-bracket-newline": 0, - "array-element-newline": 0, - "complexity": 0, - "eqeqeq": [2, "allow-null"], - "func-name-matching": 0, - "id-length": [2, { "min": 1, "max": 40 }], - "max-params": [2, 4], - "max-statements-per-line": [2, { "max": 2 }], - "multiline-comment-style": 0, - "no-magic-numbers": 0, - "new-cap": 0, - "no-extra-parens": 1, - "operator-linebreak": [2, "before"], - "sort-keys": 0, - }, - - "overrides": [ - { - "files": "GetIntrinsic.js", - "rules": { - "max-statements": 0, - } - }, - { - "files": "operations/*", - "rules": { - "max-lines": 0, - }, - }, - { - "files": [ - "operations/deltas.js", - "operations/getOps.js", - "operations/spackle.js", - "operations/years.js", - ], - "extends": "@ljharb/eslint-config/node/latest", - "rules": { - "func-style": 0, - "max-lines-per-function": 0, - "max-nested-callbacks": 0, - "no-throw-literal": 0, - }, - }, - { - "files": "test/**", - "extends": "@ljharb/eslint-config/tests", - "rules": { - "max-lines-per-function": 0, - "no-implicit-coercion": 0, - "no-invalid-this": 1, - }, - }, - ], -} diff --git a/node_modules/es-abstract/.gitattributes b/node_modules/es-abstract/.gitattributes deleted file mode 100644 index cbdb52f92..000000000 --- a/node_modules/es-abstract/.gitattributes +++ /dev/null @@ -1,625 +0,0 @@ -2015/AbstractRelationalComparison.js spackled linguist-generated=true -2015/DateFromTime.js spackled linguist-generated=true -2015/Day.js spackled linguist-generated=true -2015/DayFromYear.js spackled linguist-generated=true -2015/DayWithinYear.js spackled linguist-generated=true -2015/DaysInYear.js spackled linguist-generated=true -2015/HourFromTime.js spackled linguist-generated=true -2015/InLeapYear.js spackled linguist-generated=true -2015/IsCallable.js spackled linguist-generated=true -2015/IsPropertyDescriptor.js spackled linguist-generated=true -2015/MakeDate.js spackled linguist-generated=true -2015/MakeDay.js spackled linguist-generated=true -2015/MakeTime.js spackled linguist-generated=true -2015/MinFromTime.js spackled linguist-generated=true -2015/MonthFromTime.js spackled linguist-generated=true -2015/SameValue.js spackled linguist-generated=true -2015/SecFromTime.js spackled linguist-generated=true -2015/StrictEqualityComparison.js spackled linguist-generated=true -2015/TimeClip.js spackled linguist-generated=true -2015/TimeFromYear.js spackled linguist-generated=true -2015/TimeWithinDay.js spackled linguist-generated=true -2015/ToBoolean.js spackled linguist-generated=true -2015/ToInt32.js spackled linguist-generated=true -2015/ToPropertyDescriptor.js spackled linguist-generated=true -2015/ToUint16.js spackled linguist-generated=true -2015/ToUint32.js spackled linguist-generated=true -2015/WeekDay.js spackled linguist-generated=true -2015/YearFromTime.js spackled linguist-generated=true -2015/abs.js spackled linguist-generated=true -2015/floor.js spackled linguist-generated=true -2015/modulo.js spackled linguist-generated=true -2015/msFromTime.js spackled linguist-generated=true -2016/AbstractEqualityComparison.js spackled linguist-generated=true -2016/AbstractRelationalComparison.js spackled linguist-generated=true -2016/AdvanceStringIndex.js spackled linguist-generated=true -2016/ArrayCreate.js spackled linguist-generated=true -2016/ArraySetLength.js spackled linguist-generated=true -2016/ArraySpeciesCreate.js spackled linguist-generated=true -2016/Call.js spackled linguist-generated=true -2016/CanonicalNumericIndexString.js spackled linguist-generated=true -2016/CompletePropertyDescriptor.js spackled linguist-generated=true -2016/CreateDataProperty.js spackled linguist-generated=true -2016/CreateDataPropertyOrThrow.js spackled linguist-generated=true -2016/CreateHTML.js spackled linguist-generated=true -2016/CreateIterResultObject.js spackled linguist-generated=true -2016/CreateListFromArrayLike.js spackled linguist-generated=true -2016/CreateMethodProperty.js spackled linguist-generated=true -2016/DateFromTime.js spackled linguist-generated=true -2016/Day.js spackled linguist-generated=true -2016/DayFromYear.js spackled linguist-generated=true -2016/DayWithinYear.js spackled linguist-generated=true -2016/DaysInYear.js spackled linguist-generated=true -2016/DefinePropertyOrThrow.js spackled linguist-generated=true -2016/DeletePropertyOrThrow.js spackled linguist-generated=true -2016/EnumerableOwnNames.js spackled linguist-generated=true -2016/FromPropertyDescriptor.js spackled linguist-generated=true -2016/Get.js spackled linguist-generated=true -2016/GetIterator.js spackled linguist-generated=true -2016/GetMethod.js spackled linguist-generated=true -2016/GetOwnPropertyKeys.js spackled linguist-generated=true -2016/GetPrototypeFromConstructor.js spackled linguist-generated=true -2016/GetSubstitution.js spackled linguist-generated=true -2016/GetV.js spackled linguist-generated=true -2016/HasOwnProperty.js spackled linguist-generated=true -2016/HasProperty.js spackled linguist-generated=true -2016/HourFromTime.js spackled linguist-generated=true -2016/InLeapYear.js spackled linguist-generated=true -2016/InstanceofOperator.js spackled linguist-generated=true -2016/Invoke.js spackled linguist-generated=true -2016/IsAccessorDescriptor.js spackled linguist-generated=true -2016/IsArray.js spackled linguist-generated=true -2016/IsCallable.js spackled linguist-generated=true -2016/IsConcatSpreadable.js spackled linguist-generated=true -2016/IsConstructor.js spackled linguist-generated=true -2016/IsDataDescriptor.js spackled linguist-generated=true -2016/IsExtensible.js spackled linguist-generated=true -2016/IsGenericDescriptor.js spackled linguist-generated=true -2016/IsInteger.js spackled linguist-generated=true -2016/IsPromise.js spackled linguist-generated=true -2016/IsPropertyDescriptor.js spackled linguist-generated=true -2016/IsPropertyKey.js spackled linguist-generated=true -2016/IsRegExp.js spackled linguist-generated=true -2016/IteratorClose.js spackled linguist-generated=true -2016/IteratorComplete.js spackled linguist-generated=true -2016/IteratorNext.js spackled linguist-generated=true -2016/IteratorStep.js spackled linguist-generated=true -2016/IteratorValue.js spackled linguist-generated=true -2016/MakeDate.js spackled linguist-generated=true -2016/MakeDay.js spackled linguist-generated=true -2016/MakeTime.js spackled linguist-generated=true -2016/MinFromTime.js spackled linguist-generated=true -2016/MonthFromTime.js spackled linguist-generated=true -2016/ObjectCreate.js spackled linguist-generated=true -2016/OrdinaryCreateFromConstructor.js spackled linguist-generated=true -2016/OrdinaryDefineOwnProperty.js spackled linguist-generated=true -2016/OrdinaryGetOwnProperty.js spackled linguist-generated=true -2016/OrdinaryHasInstance.js spackled linguist-generated=true -2016/OrdinaryHasProperty.js spackled linguist-generated=true -2016/QuoteJSONString.js spackled linguist-generated=true -2016/RegExpCreate.js spackled linguist-generated=true -2016/RegExpExec.js spackled linguist-generated=true -2016/RequireObjectCoercible.js spackled linguist-generated=true -2016/SameValue.js spackled linguist-generated=true -2016/SameValueZero.js spackled linguist-generated=true -2016/SecFromTime.js spackled linguist-generated=true -2016/Set.js spackled linguist-generated=true -2016/SetFunctionName.js spackled linguist-generated=true -2016/SetIntegrityLevel.js spackled linguist-generated=true -2016/SpeciesConstructor.js spackled linguist-generated=true -2016/SplitMatch.js spackled linguist-generated=true -2016/StrictEqualityComparison.js spackled linguist-generated=true -2016/StringCreate.js spackled linguist-generated=true -2016/SymbolDescriptiveString.js spackled linguist-generated=true -2016/TestIntegrityLevel.js spackled linguist-generated=true -2016/TimeClip.js spackled linguist-generated=true -2016/TimeFromYear.js spackled linguist-generated=true -2016/TimeWithinDay.js spackled linguist-generated=true -2016/ToBoolean.js spackled linguist-generated=true -2016/ToDateString.js spackled linguist-generated=true -2016/ToInt16.js spackled linguist-generated=true -2016/ToInt32.js spackled linguist-generated=true -2016/ToInt8.js spackled linguist-generated=true -2016/ToInteger.js spackled linguist-generated=true -2016/ToLength.js spackled linguist-generated=true -2016/ToNumber.js spackled linguist-generated=true -2016/ToObject.js spackled linguist-generated=true -2016/ToPrimitive.js spackled linguist-generated=true -2016/ToPropertyDescriptor.js spackled linguist-generated=true -2016/ToPropertyKey.js spackled linguist-generated=true -2016/ToString.js spackled linguist-generated=true -2016/ToUint16.js spackled linguist-generated=true -2016/ToUint32.js spackled linguist-generated=true -2016/ToUint8.js spackled linguist-generated=true -2016/ToUint8Clamp.js spackled linguist-generated=true -2016/Type.js spackled linguist-generated=true -2016/ValidateAndApplyPropertyDescriptor.js spackled linguist-generated=true -2016/WeekDay.js spackled linguist-generated=true -2016/YearFromTime.js spackled linguist-generated=true -2016/abs.js spackled linguist-generated=true -2016/floor.js spackled linguist-generated=true -2016/modulo.js spackled linguist-generated=true -2016/msFromTime.js spackled linguist-generated=true -2016/thisBooleanValue.js spackled linguist-generated=true -2016/thisNumberValue.js spackled linguist-generated=true -2016/thisStringValue.js spackled linguist-generated=true -2016/thisTimeValue.js spackled linguist-generated=true -2017/AbstractEqualityComparison.js spackled linguist-generated=true -2017/AbstractRelationalComparison.js spackled linguist-generated=true -2017/AdvanceStringIndex.js spackled linguist-generated=true -2017/ArrayCreate.js spackled linguist-generated=true -2017/ArraySetLength.js spackled linguist-generated=true -2017/ArraySpeciesCreate.js spackled linguist-generated=true -2017/Call.js spackled linguist-generated=true -2017/CanonicalNumericIndexString.js spackled linguist-generated=true -2017/CompletePropertyDescriptor.js spackled linguist-generated=true -2017/CreateDataProperty.js spackled linguist-generated=true -2017/CreateDataPropertyOrThrow.js spackled linguist-generated=true -2017/CreateHTML.js spackled linguist-generated=true -2017/CreateIterResultObject.js spackled linguist-generated=true -2017/CreateListFromArrayLike.js spackled linguist-generated=true -2017/CreateMethodProperty.js spackled linguist-generated=true -2017/DateFromTime.js spackled linguist-generated=true -2017/Day.js spackled linguist-generated=true -2017/DayFromYear.js spackled linguist-generated=true -2017/DayWithinYear.js spackled linguist-generated=true -2017/DaysInYear.js spackled linguist-generated=true -2017/DefinePropertyOrThrow.js spackled linguist-generated=true -2017/DeletePropertyOrThrow.js spackled linguist-generated=true -2017/FromPropertyDescriptor.js spackled linguist-generated=true -2017/Get.js spackled linguist-generated=true -2017/GetIterator.js spackled linguist-generated=true -2017/GetMethod.js spackled linguist-generated=true -2017/GetOwnPropertyKeys.js spackled linguist-generated=true -2017/GetPrototypeFromConstructor.js spackled linguist-generated=true -2017/GetSubstitution.js spackled linguist-generated=true -2017/GetV.js spackled linguist-generated=true -2017/HasOwnProperty.js spackled linguist-generated=true -2017/HasProperty.js spackled linguist-generated=true -2017/HourFromTime.js spackled linguist-generated=true -2017/InLeapYear.js spackled linguist-generated=true -2017/InstanceofOperator.js spackled linguist-generated=true -2017/Invoke.js spackled linguist-generated=true -2017/IsAccessorDescriptor.js spackled linguist-generated=true -2017/IsArray.js spackled linguist-generated=true -2017/IsCallable.js spackled linguist-generated=true -2017/IsConcatSpreadable.js spackled linguist-generated=true -2017/IsConstructor.js spackled linguist-generated=true -2017/IsDataDescriptor.js spackled linguist-generated=true -2017/IsExtensible.js spackled linguist-generated=true -2017/IsGenericDescriptor.js spackled linguist-generated=true -2017/IsInteger.js spackled linguist-generated=true -2017/IsPromise.js spackled linguist-generated=true -2017/IsPropertyDescriptor.js spackled linguist-generated=true -2017/IsPropertyKey.js spackled linguist-generated=true -2017/IsRegExp.js spackled linguist-generated=true -2017/IteratorClose.js spackled linguist-generated=true -2017/IteratorComplete.js spackled linguist-generated=true -2017/IteratorNext.js spackled linguist-generated=true -2017/IteratorStep.js spackled linguist-generated=true -2017/IteratorValue.js spackled linguist-generated=true -2017/MakeDate.js spackled linguist-generated=true -2017/MakeDay.js spackled linguist-generated=true -2017/MakeTime.js spackled linguist-generated=true -2017/MinFromTime.js spackled linguist-generated=true -2017/MonthFromTime.js spackled linguist-generated=true -2017/ObjectCreate.js spackled linguist-generated=true -2017/OrdinaryCreateFromConstructor.js spackled linguist-generated=true -2017/OrdinaryDefineOwnProperty.js spackled linguist-generated=true -2017/OrdinaryGetOwnProperty.js spackled linguist-generated=true -2017/OrdinaryGetPrototypeOf.js spackled linguist-generated=true -2017/OrdinaryHasInstance.js spackled linguist-generated=true -2017/OrdinaryHasProperty.js spackled linguist-generated=true -2017/OrdinarySetPrototypeOf.js spackled linguist-generated=true -2017/QuoteJSONString.js spackled linguist-generated=true -2017/RegExpCreate.js spackled linguist-generated=true -2017/RegExpExec.js spackled linguist-generated=true -2017/RequireObjectCoercible.js spackled linguist-generated=true -2017/SameValue.js spackled linguist-generated=true -2017/SameValueNonNumber.js spackled linguist-generated=true -2017/SameValueZero.js spackled linguist-generated=true -2017/SecFromTime.js spackled linguist-generated=true -2017/Set.js spackled linguist-generated=true -2017/SetFunctionName.js spackled linguist-generated=true -2017/SetIntegrityLevel.js spackled linguist-generated=true -2017/SpeciesConstructor.js spackled linguist-generated=true -2017/SplitMatch.js spackled linguist-generated=true -2017/StrictEqualityComparison.js spackled linguist-generated=true -2017/StringCreate.js spackled linguist-generated=true -2017/SymbolDescriptiveString.js spackled linguist-generated=true -2017/TestIntegrityLevel.js spackled linguist-generated=true -2017/TimeClip.js spackled linguist-generated=true -2017/TimeFromYear.js spackled linguist-generated=true -2017/TimeWithinDay.js spackled linguist-generated=true -2017/ToBoolean.js spackled linguist-generated=true -2017/ToDateString.js spackled linguist-generated=true -2017/ToInt16.js spackled linguist-generated=true -2017/ToInt32.js spackled linguist-generated=true -2017/ToInt8.js spackled linguist-generated=true -2017/ToInteger.js spackled linguist-generated=true -2017/ToLength.js spackled linguist-generated=true -2017/ToNumber.js spackled linguist-generated=true -2017/ToObject.js spackled linguist-generated=true -2017/ToPrimitive.js spackled linguist-generated=true -2017/ToPropertyDescriptor.js spackled linguist-generated=true -2017/ToPropertyKey.js spackled linguist-generated=true -2017/ToString.js spackled linguist-generated=true -2017/ToUint16.js spackled linguist-generated=true -2017/ToUint32.js spackled linguist-generated=true -2017/ToUint8.js spackled linguist-generated=true -2017/ToUint8Clamp.js spackled linguist-generated=true -2017/Type.js spackled linguist-generated=true -2017/UTF16Decode.js spackled linguist-generated=true -2017/UTF16Encoding.js spackled linguist-generated=true -2017/ValidateAndApplyPropertyDescriptor.js spackled linguist-generated=true -2017/WeekDay.js spackled linguist-generated=true -2017/YearFromTime.js spackled linguist-generated=true -2017/abs.js spackled linguist-generated=true -2017/floor.js spackled linguist-generated=true -2017/modulo.js spackled linguist-generated=true -2017/msFromTime.js spackled linguist-generated=true -2017/thisBooleanValue.js spackled linguist-generated=true -2017/thisNumberValue.js spackled linguist-generated=true -2017/thisStringValue.js spackled linguist-generated=true -2017/thisTimeValue.js spackled linguist-generated=true -2018/AbstractEqualityComparison.js spackled linguist-generated=true -2018/AbstractRelationalComparison.js spackled linguist-generated=true -2018/AdvanceStringIndex.js spackled linguist-generated=true -2018/ArrayCreate.js spackled linguist-generated=true -2018/ArraySetLength.js spackled linguist-generated=true -2018/ArraySpeciesCreate.js spackled linguist-generated=true -2018/Call.js spackled linguist-generated=true -2018/CanonicalNumericIndexString.js spackled linguist-generated=true -2018/CompletePropertyDescriptor.js spackled linguist-generated=true -2018/CreateDataProperty.js spackled linguist-generated=true -2018/CreateDataPropertyOrThrow.js spackled linguist-generated=true -2018/CreateHTML.js spackled linguist-generated=true -2018/CreateIterResultObject.js spackled linguist-generated=true -2018/CreateListFromArrayLike.js spackled linguist-generated=true -2018/CreateMethodProperty.js spackled linguist-generated=true -2018/DateFromTime.js spackled linguist-generated=true -2018/Day.js spackled linguist-generated=true -2018/DayFromYear.js spackled linguist-generated=true -2018/DayWithinYear.js spackled linguist-generated=true -2018/DaysInYear.js spackled linguist-generated=true -2018/DefinePropertyOrThrow.js spackled linguist-generated=true -2018/DeletePropertyOrThrow.js spackled linguist-generated=true -2018/FromPropertyDescriptor.js spackled linguist-generated=true -2018/Get.js spackled linguist-generated=true -2018/GetIterator.js spackled linguist-generated=true -2018/GetMethod.js spackled linguist-generated=true -2018/GetOwnPropertyKeys.js spackled linguist-generated=true -2018/GetPrototypeFromConstructor.js spackled linguist-generated=true -2018/GetV.js spackled linguist-generated=true -2018/HasOwnProperty.js spackled linguist-generated=true -2018/HasProperty.js spackled linguist-generated=true -2018/HourFromTime.js spackled linguist-generated=true -2018/InLeapYear.js spackled linguist-generated=true -2018/InstanceofOperator.js spackled linguist-generated=true -2018/Invoke.js spackled linguist-generated=true -2018/IsAccessorDescriptor.js spackled linguist-generated=true -2018/IsArray.js spackled linguist-generated=true -2018/IsCallable.js spackled linguist-generated=true -2018/IsConcatSpreadable.js spackled linguist-generated=true -2018/IsConstructor.js spackled linguist-generated=true -2018/IsDataDescriptor.js spackled linguist-generated=true -2018/IsExtensible.js spackled linguist-generated=true -2018/IsGenericDescriptor.js spackled linguist-generated=true -2018/IsInteger.js spackled linguist-generated=true -2018/IsPromise.js spackled linguist-generated=true -2018/IsPropertyKey.js spackled linguist-generated=true -2018/IsRegExp.js spackled linguist-generated=true -2018/IterableToList.js spackled linguist-generated=true -2018/IteratorClose.js spackled linguist-generated=true -2018/IteratorComplete.js spackled linguist-generated=true -2018/IteratorNext.js spackled linguist-generated=true -2018/IteratorStep.js spackled linguist-generated=true -2018/IteratorValue.js spackled linguist-generated=true -2018/MakeDate.js spackled linguist-generated=true -2018/MakeDay.js spackled linguist-generated=true -2018/MakeTime.js spackled linguist-generated=true -2018/MinFromTime.js spackled linguist-generated=true -2018/MonthFromTime.js spackled linguist-generated=true -2018/ObjectCreate.js spackled linguist-generated=true -2018/OrdinaryCreateFromConstructor.js spackled linguist-generated=true -2018/OrdinaryDefineOwnProperty.js spackled linguist-generated=true -2018/OrdinaryGetOwnProperty.js spackled linguist-generated=true -2018/OrdinaryGetPrototypeOf.js spackled linguist-generated=true -2018/OrdinaryHasInstance.js spackled linguist-generated=true -2018/OrdinaryHasProperty.js spackled linguist-generated=true -2018/OrdinarySetPrototypeOf.js spackled linguist-generated=true -2018/RegExpCreate.js spackled linguist-generated=true -2018/RegExpExec.js spackled linguist-generated=true -2018/RequireObjectCoercible.js spackled linguist-generated=true -2018/SameValue.js spackled linguist-generated=true -2018/SameValueNonNumber.js spackled linguist-generated=true -2018/SameValueZero.js spackled linguist-generated=true -2018/SecFromTime.js spackled linguist-generated=true -2018/Set.js spackled linguist-generated=true -2018/SetFunctionName.js spackled linguist-generated=true -2018/SetIntegrityLevel.js spackled linguist-generated=true -2018/SpeciesConstructor.js spackled linguist-generated=true -2018/SplitMatch.js spackled linguist-generated=true -2018/StrictEqualityComparison.js spackled linguist-generated=true -2018/StringCreate.js spackled linguist-generated=true -2018/StringGetOwnProperty.js spackled linguist-generated=true -2018/SymbolDescriptiveString.js spackled linguist-generated=true -2018/TestIntegrityLevel.js spackled linguist-generated=true -2018/TimeClip.js spackled linguist-generated=true -2018/TimeFromYear.js spackled linguist-generated=true -2018/TimeWithinDay.js spackled linguist-generated=true -2018/ToBoolean.js spackled linguist-generated=true -2018/ToDateString.js spackled linguist-generated=true -2018/ToIndex.js spackled linguist-generated=true -2018/ToInt16.js spackled linguist-generated=true -2018/ToInt32.js spackled linguist-generated=true -2018/ToInt8.js spackled linguist-generated=true -2018/ToInteger.js spackled linguist-generated=true -2018/ToLength.js spackled linguist-generated=true -2018/ToNumber.js spackled linguist-generated=true -2018/ToObject.js spackled linguist-generated=true -2018/ToPrimitive.js spackled linguist-generated=true -2018/ToPropertyDescriptor.js spackled linguist-generated=true -2018/ToPropertyKey.js spackled linguist-generated=true -2018/ToString.js spackled linguist-generated=true -2018/ToUint16.js spackled linguist-generated=true -2018/ToUint32.js spackled linguist-generated=true -2018/ToUint8.js spackled linguist-generated=true -2018/ToUint8Clamp.js spackled linguist-generated=true -2018/Type.js spackled linguist-generated=true -2018/UTF16Decode.js spackled linguist-generated=true -2018/UTF16Encoding.js spackled linguist-generated=true -2018/ValidateAndApplyPropertyDescriptor.js spackled linguist-generated=true -2018/WeekDay.js spackled linguist-generated=true -2018/YearFromTime.js spackled linguist-generated=true -2018/abs.js spackled linguist-generated=true -2018/floor.js spackled linguist-generated=true -2018/modulo.js spackled linguist-generated=true -2018/msFromTime.js spackled linguist-generated=true -2018/thisBooleanValue.js spackled linguist-generated=true -2018/thisNumberValue.js spackled linguist-generated=true -2018/thisStringValue.js spackled linguist-generated=true -2018/thisTimeValue.js spackled linguist-generated=true -2019/AbstractEqualityComparison.js spackled linguist-generated=true -2019/AbstractRelationalComparison.js spackled linguist-generated=true -2019/AdvanceStringIndex.js spackled linguist-generated=true -2019/ArrayCreate.js spackled linguist-generated=true -2019/ArraySetLength.js spackled linguist-generated=true -2019/ArraySpeciesCreate.js spackled linguist-generated=true -2019/Call.js spackled linguist-generated=true -2019/CanonicalNumericIndexString.js spackled linguist-generated=true -2019/CompletePropertyDescriptor.js spackled linguist-generated=true -2019/CopyDataProperties.js spackled linguist-generated=true -2019/CreateDataProperty.js spackled linguist-generated=true -2019/CreateDataPropertyOrThrow.js spackled linguist-generated=true -2019/CreateHTML.js spackled linguist-generated=true -2019/CreateIterResultObject.js spackled linguist-generated=true -2019/CreateListFromArrayLike.js spackled linguist-generated=true -2019/CreateMethodProperty.js spackled linguist-generated=true -2019/DateFromTime.js spackled linguist-generated=true -2019/DateString.js spackled linguist-generated=true -2019/Day.js spackled linguist-generated=true -2019/DayFromYear.js spackled linguist-generated=true -2019/DayWithinYear.js spackled linguist-generated=true -2019/DaysInYear.js spackled linguist-generated=true -2019/DefinePropertyOrThrow.js spackled linguist-generated=true -2019/DeletePropertyOrThrow.js spackled linguist-generated=true -2019/EnumerableOwnPropertyNames.js spackled linguist-generated=true -2019/FromPropertyDescriptor.js spackled linguist-generated=true -2019/Get.js spackled linguist-generated=true -2019/GetIterator.js spackled linguist-generated=true -2019/GetMethod.js spackled linguist-generated=true -2019/GetOwnPropertyKeys.js spackled linguist-generated=true -2019/GetPrototypeFromConstructor.js spackled linguist-generated=true -2019/GetSubstitution.js spackled linguist-generated=true -2019/GetV.js spackled linguist-generated=true -2019/HasOwnProperty.js spackled linguist-generated=true -2019/HasProperty.js spackled linguist-generated=true -2019/HourFromTime.js spackled linguist-generated=true -2019/InLeapYear.js spackled linguist-generated=true -2019/InstanceofOperator.js spackled linguist-generated=true -2019/Invoke.js spackled linguist-generated=true -2019/IsAccessorDescriptor.js spackled linguist-generated=true -2019/IsArray.js spackled linguist-generated=true -2019/IsCallable.js spackled linguist-generated=true -2019/IsConcatSpreadable.js spackled linguist-generated=true -2019/IsConstructor.js spackled linguist-generated=true -2019/IsDataDescriptor.js spackled linguist-generated=true -2019/IsExtensible.js spackled linguist-generated=true -2019/IsGenericDescriptor.js spackled linguist-generated=true -2019/IsInteger.js spackled linguist-generated=true -2019/IsPromise.js spackled linguist-generated=true -2019/IsPropertyKey.js spackled linguist-generated=true -2019/IsRegExp.js spackled linguist-generated=true -2019/IsStringPrefix.js spackled linguist-generated=true -2019/IterableToList.js spackled linguist-generated=true -2019/IteratorClose.js spackled linguist-generated=true -2019/IteratorComplete.js spackled linguist-generated=true -2019/IteratorNext.js spackled linguist-generated=true -2019/IteratorStep.js spackled linguist-generated=true -2019/IteratorValue.js spackled linguist-generated=true -2019/MakeDate.js spackled linguist-generated=true -2019/MakeDay.js spackled linguist-generated=true -2019/MakeTime.js spackled linguist-generated=true -2019/MinFromTime.js spackled linguist-generated=true -2019/MonthFromTime.js spackled linguist-generated=true -2019/NumberToString.js spackled linguist-generated=true -2019/ObjectCreate.js spackled linguist-generated=true -2019/OrdinaryCreateFromConstructor.js spackled linguist-generated=true -2019/OrdinaryDefineOwnProperty.js spackled linguist-generated=true -2019/OrdinaryGetOwnProperty.js spackled linguist-generated=true -2019/OrdinaryGetPrototypeOf.js spackled linguist-generated=true -2019/OrdinaryHasInstance.js spackled linguist-generated=true -2019/OrdinaryHasProperty.js spackled linguist-generated=true -2019/OrdinarySetPrototypeOf.js spackled linguist-generated=true -2019/PromiseResolve.js spackled linguist-generated=true -2019/RegExpCreate.js spackled linguist-generated=true -2019/RegExpExec.js spackled linguist-generated=true -2019/RequireObjectCoercible.js spackled linguist-generated=true -2019/SameValue.js spackled linguist-generated=true -2019/SameValueNonNumber.js spackled linguist-generated=true -2019/SameValueZero.js spackled linguist-generated=true -2019/SecFromTime.js spackled linguist-generated=true -2019/Set.js spackled linguist-generated=true -2019/SetFunctionLength.js spackled linguist-generated=true -2019/SetFunctionName.js spackled linguist-generated=true -2019/SetIntegrityLevel.js spackled linguist-generated=true -2019/SpeciesConstructor.js spackled linguist-generated=true -2019/SplitMatch.js spackled linguist-generated=true -2019/StrictEqualityComparison.js spackled linguist-generated=true -2019/StringCreate.js spackled linguist-generated=true -2019/StringGetOwnProperty.js spackled linguist-generated=true -2019/SymbolDescriptiveString.js spackled linguist-generated=true -2019/TestIntegrityLevel.js spackled linguist-generated=true -2019/TimeClip.js spackled linguist-generated=true -2019/TimeFromYear.js spackled linguist-generated=true -2019/TimeString.js spackled linguist-generated=true -2019/TimeWithinDay.js spackled linguist-generated=true -2019/ToBoolean.js spackled linguist-generated=true -2019/ToDateString.js spackled linguist-generated=true -2019/ToIndex.js spackled linguist-generated=true -2019/ToInt16.js spackled linguist-generated=true -2019/ToInt32.js spackled linguist-generated=true -2019/ToInt8.js spackled linguist-generated=true -2019/ToInteger.js spackled linguist-generated=true -2019/ToLength.js spackled linguist-generated=true -2019/ToNumber.js spackled linguist-generated=true -2019/ToObject.js spackled linguist-generated=true -2019/ToPrimitive.js spackled linguist-generated=true -2019/ToPropertyDescriptor.js spackled linguist-generated=true -2019/ToPropertyKey.js spackled linguist-generated=true -2019/ToString.js spackled linguist-generated=true -2019/ToUint16.js spackled linguist-generated=true -2019/ToUint32.js spackled linguist-generated=true -2019/ToUint8.js spackled linguist-generated=true -2019/ToUint8Clamp.js spackled linguist-generated=true -2019/Type.js spackled linguist-generated=true -2019/UTF16Decode.js spackled linguist-generated=true -2019/UTF16Encoding.js spackled linguist-generated=true -2019/UnicodeEscape.js spackled linguist-generated=true -2019/ValidateAndApplyPropertyDescriptor.js spackled linguist-generated=true -2019/WeekDay.js spackled linguist-generated=true -2019/YearFromTime.js spackled linguist-generated=true -2019/abs.js spackled linguist-generated=true -2019/floor.js spackled linguist-generated=true -2019/modulo.js spackled linguist-generated=true -2019/msFromTime.js spackled linguist-generated=true -2019/thisBooleanValue.js spackled linguist-generated=true -2019/thisNumberValue.js spackled linguist-generated=true -2019/thisStringValue.js spackled linguist-generated=true -2019/thisSymbolValue.js spackled linguist-generated=true -2020/AbstractEqualityComparison.js spackled linguist-generated=true -2020/AbstractRelationalComparison.js spackled linguist-generated=true -2020/AddEntriesFromIterable.js spackled linguist-generated=true -2020/ArrayCreate.js spackled linguist-generated=true -2020/ArraySetLength.js spackled linguist-generated=true -2020/ArraySpeciesCreate.js spackled linguist-generated=true -2020/Call.js spackled linguist-generated=true -2020/CanonicalNumericIndexString.js spackled linguist-generated=true -2020/CompletePropertyDescriptor.js spackled linguist-generated=true -2020/CreateDataProperty.js spackled linguist-generated=true -2020/CreateDataPropertyOrThrow.js spackled linguist-generated=true -2020/CreateHTML.js spackled linguist-generated=true -2020/CreateIterResultObject.js spackled linguist-generated=true -2020/CreateMethodProperty.js spackled linguist-generated=true -2020/DateFromTime.js spackled linguist-generated=true -2020/DateString.js spackled linguist-generated=true -2020/Day.js spackled linguist-generated=true -2020/DayFromYear.js spackled linguist-generated=true -2020/DayWithinYear.js spackled linguist-generated=true -2020/DaysInYear.js spackled linguist-generated=true -2020/DefinePropertyOrThrow.js spackled linguist-generated=true -2020/DeletePropertyOrThrow.js spackled linguist-generated=true -2020/EnumerableOwnPropertyNames.js spackled linguist-generated=true -2020/FromPropertyDescriptor.js spackled linguist-generated=true -2020/Get.js spackled linguist-generated=true -2020/GetMethod.js spackled linguist-generated=true -2020/GetOwnPropertyKeys.js spackled linguist-generated=true -2020/GetPrototypeFromConstructor.js spackled linguist-generated=true -2020/GetSubstitution.js spackled linguist-generated=true -2020/GetV.js spackled linguist-generated=true -2020/HasOwnProperty.js spackled linguist-generated=true -2020/HasProperty.js spackled linguist-generated=true -2020/HourFromTime.js spackled linguist-generated=true -2020/InLeapYear.js spackled linguist-generated=true -2020/InstanceofOperator.js spackled linguist-generated=true -2020/Invoke.js spackled linguist-generated=true -2020/IsAccessorDescriptor.js spackled linguist-generated=true -2020/IsArray.js spackled linguist-generated=true -2020/IsCallable.js spackled linguist-generated=true -2020/IsConcatSpreadable.js spackled linguist-generated=true -2020/IsConstructor.js spackled linguist-generated=true -2020/IsDataDescriptor.js spackled linguist-generated=true -2020/IsExtensible.js spackled linguist-generated=true -2020/IsGenericDescriptor.js spackled linguist-generated=true -2020/IsInteger.js spackled linguist-generated=true -2020/IsPromise.js spackled linguist-generated=true -2020/IsPropertyKey.js spackled linguist-generated=true -2020/IsRegExp.js spackled linguist-generated=true -2020/IsStringPrefix.js spackled linguist-generated=true -2020/IteratorClose.js spackled linguist-generated=true -2020/IteratorComplete.js spackled linguist-generated=true -2020/IteratorNext.js spackled linguist-generated=true -2020/IteratorStep.js spackled linguist-generated=true -2020/IteratorValue.js spackled linguist-generated=true -2020/MakeDate.js spackled linguist-generated=true -2020/MakeDay.js spackled linguist-generated=true -2020/MakeTime.js spackled linguist-generated=true -2020/MinFromTime.js spackled linguist-generated=true -2020/MonthFromTime.js spackled linguist-generated=true -2020/OrdinaryDefineOwnProperty.js spackled linguist-generated=true -2020/OrdinaryGetOwnProperty.js spackled linguist-generated=true -2020/OrdinaryGetPrototypeOf.js spackled linguist-generated=true -2020/OrdinaryHasInstance.js spackled linguist-generated=true -2020/OrdinaryHasProperty.js spackled linguist-generated=true -2020/OrdinarySetPrototypeOf.js spackled linguist-generated=true -2020/PromiseResolve.js spackled linguist-generated=true -2020/RegExpCreate.js spackled linguist-generated=true -2020/RegExpExec.js spackled linguist-generated=true -2020/RequireObjectCoercible.js spackled linguist-generated=true -2020/SameValue.js spackled linguist-generated=true -2020/SameValueZero.js spackled linguist-generated=true -2020/SecFromTime.js spackled linguist-generated=true -2020/Set.js spackled linguist-generated=true -2020/SetFunctionName.js spackled linguist-generated=true -2020/SetIntegrityLevel.js spackled linguist-generated=true -2020/SpeciesConstructor.js spackled linguist-generated=true -2020/SplitMatch.js spackled linguist-generated=true -2020/StrictEqualityComparison.js spackled linguist-generated=true -2020/StringCreate.js spackled linguist-generated=true -2020/StringGetOwnProperty.js spackled linguist-generated=true -2020/SymbolDescriptiveString.js spackled linguist-generated=true -2020/TestIntegrityLevel.js spackled linguist-generated=true -2020/TimeClip.js spackled linguist-generated=true -2020/TimeFromYear.js spackled linguist-generated=true -2020/TimeString.js spackled linguist-generated=true -2020/TimeWithinDay.js spackled linguist-generated=true -2020/ToBoolean.js spackled linguist-generated=true -2020/ToDateString.js spackled linguist-generated=true -2020/ToInt16.js spackled linguist-generated=true -2020/ToInt32.js spackled linguist-generated=true -2020/ToInt8.js spackled linguist-generated=true -2020/ToLength.js spackled linguist-generated=true -2020/ToObject.js spackled linguist-generated=true -2020/ToPrimitive.js spackled linguist-generated=true -2020/ToPropertyDescriptor.js spackled linguist-generated=true -2020/ToPropertyKey.js spackled linguist-generated=true -2020/ToString.js spackled linguist-generated=true -2020/ToUint16.js spackled linguist-generated=true -2020/ToUint32.js spackled linguist-generated=true -2020/ToUint8.js spackled linguist-generated=true -2020/ToUint8Clamp.js spackled linguist-generated=true -2020/TrimString.js spackled linguist-generated=true -2020/UTF16Encoding.js spackled linguist-generated=true -2020/ValidateAndApplyPropertyDescriptor.js spackled linguist-generated=true -2020/WeekDay.js spackled linguist-generated=true -2020/YearFromTime.js spackled linguist-generated=true -2020/abs.js spackled linguist-generated=true -2020/floor.js spackled linguist-generated=true -2020/modulo.js spackled linguist-generated=true -2020/msFromTime.js spackled linguist-generated=true -2020/thisBooleanValue.js spackled linguist-generated=true -2020/thisNumberValue.js spackled linguist-generated=true -2020/thisStringValue.js spackled linguist-generated=true -2020/thisSymbolValue.js spackled linguist-generated=true -2020/thisTimeValue.js spackled linguist-generated=true \ No newline at end of file diff --git a/node_modules/es-abstract/.nycrc b/node_modules/es-abstract/.nycrc deleted file mode 100644 index 526adaa51..000000000 --- a/node_modules/es-abstract/.nycrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "exclude": [ - "coverage", - "operations", - "test" - ] -} diff --git a/node_modules/es-abstract/2015/AbstractEqualityComparison.js b/node_modules/es-abstract/2015/AbstractEqualityComparison.js deleted file mode 100644 index c776194c1..000000000 --- a/node_modules/es-abstract/2015/AbstractEqualityComparison.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-abstract-equality-comparison - -module.exports = function AbstractEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (xType === 'Boolean') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (yType === 'Boolean') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number' || xType === 'Symbol') && yType === 'Object') { - return AbstractEqualityComparison(x, ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number' || yType === 'Symbol')) { - return AbstractEqualityComparison(ToPrimitive(x), y); - } - return false; -}; diff --git a/node_modules/es-abstract/2015/AbstractRelationalComparison.js b/node_modules/es-abstract/2015/AbstractRelationalComparison.js deleted file mode 100644 index 0dfed5ffe..000000000 --- a/node_modules/es-abstract/2015/AbstractRelationalComparison.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Number = GetIntrinsic('%Number%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var isPrefixOf = require('../helpers/isPrefixOf'); - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.8.5 - -// eslint-disable-next-line max-statements -module.exports = function AbstractRelationalComparison(x, y, LeftFirst) { - if (Type(LeftFirst) !== 'Boolean') { - throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); - } - var px; - var py; - if (LeftFirst) { - px = ToPrimitive(x, $Number); - py = ToPrimitive(y, $Number); - } else { - py = ToPrimitive(y, $Number); - px = ToPrimitive(x, $Number); - } - var bothStrings = Type(px) === 'String' && Type(py) === 'String'; - if (!bothStrings) { - var nx = ToNumber(px); - var ny = ToNumber(py); - if ($isNaN(nx) || $isNaN(ny)) { - return undefined; - } - if ($isFinite(nx) && $isFinite(ny) && nx === ny) { - return false; - } - if (nx === Infinity) { - return false; - } - if (ny === Infinity) { - return true; - } - if (ny === -Infinity) { - return false; - } - if (nx === -Infinity) { - return true; - } - return nx < ny; // by now, these are both nonzero, finite, and not equal - } - if (isPrefixOf(py, px)) { - return false; - } - if (isPrefixOf(px, py)) { - return true; - } - return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f -}; diff --git a/node_modules/es-abstract/2015/AdvanceStringIndex.js b/node_modules/es-abstract/2015/AdvanceStringIndex.js deleted file mode 100644 index 279602b4c..000000000 --- a/node_modules/es-abstract/2015/AdvanceStringIndex.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $charCodeAt = require('call-bind/callBound')('String.prototype.charCodeAt'); - -// https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex - -module.exports = function AdvanceStringIndex(S, index, unicode) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0 and <= 2**53'); - } - if (Type(unicode) !== 'Boolean') { - throw new $TypeError('Assertion failed: `unicode` must be a Boolean'); - } - if (!unicode) { - return index + 1; - } - var length = S.length; - if ((index + 1) >= length) { - return index + 1; - } - - var first = $charCodeAt(S, index); - if (!isLeadingSurrogate(first)) { - return index + 1; - } - - var second = $charCodeAt(S, index + 1); - if (!isTrailingSurrogate(second)) { - return index + 1; - } - - return index + 2; -}; diff --git a/node_modules/es-abstract/2015/ArrayCreate.js b/node_modules/es-abstract/2015/ArrayCreate.js deleted file mode 100644 index 4d20e2e5e..000000000 --- a/node_modules/es-abstract/2015/ArrayCreate.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ArrayPrototype = GetIntrinsic('%Array.prototype%'); -var $RangeError = GetIntrinsic('%RangeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); - -var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; - -var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || ( - // eslint-disable-next-line no-proto, no-negated-condition - [].__proto__ !== $ArrayPrototype - ? null - : function (O, proto) { - O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign - return O; - } -); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraycreate - -module.exports = function ArrayCreate(length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0'); - } - if (length > MAX_ARRAY_LENGTH) { - throw new $RangeError('length is greater than (2**32 - 1)'); - } - var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype; - var A = []; // steps 5 - 7, and 9 - if (proto !== $ArrayPrototype) { // step 8 - if (!$setProto) { - throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - $setProto(A, proto); - } - if (length !== 0) { // bypasses the need for step 2 - A.length = length; - } - /* step 10, the above as a shortcut for the below - OrdinaryDefineOwnProperty(A, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': true - }); - */ - return A; -}; diff --git a/node_modules/es-abstract/2015/ArraySetLength.js b/node_modules/es-abstract/2015/ArraySetLength.js deleted file mode 100644 index 08db9c2e9..000000000 --- a/node_modules/es-abstract/2015/ArraySetLength.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var assign = require('object.assign'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsArray = require('./IsArray'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var OrdinaryDefineOwnProperty = require('./OrdinaryDefineOwnProperty'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var ToUint32 = require('./ToUint32'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraysetlength - -// eslint-disable-next-line max-statements, max-lines-per-function -module.exports = function ArraySetLength(A, Desc) { - if (!IsArray(A)) { - throw new $TypeError('Assertion failed: A must be an Array'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!('[[Value]]' in Desc)) { - return OrdinaryDefineOwnProperty(A, 'length', Desc); - } - var newLenDesc = assign({}, Desc); - var newLen = ToUint32(Desc['[[Value]]']); - var numberLen = ToNumber(Desc['[[Value]]']); - if (newLen !== numberLen) { - throw new $RangeError('Invalid array length'); - } - newLenDesc['[[Value]]'] = newLen; - var oldLenDesc = OrdinaryGetOwnProperty(A, 'length'); - if (!IsDataDescriptor(oldLenDesc)) { - throw new $TypeError('Assertion failed: an array had a non-data descriptor on `length`'); - } - var oldLen = oldLenDesc['[[Value]]']; - if (newLen >= oldLen) { - return OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - } - if (!oldLenDesc['[[Writable]]']) { - return false; - } - var newWritable; - if (!('[[Writable]]' in newLenDesc) || newLenDesc['[[Writable]]']) { - newWritable = true; - } else { - newWritable = false; - newLenDesc['[[Writable]]'] = true; - } - var succeeded = OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - if (!succeeded) { - return false; - } - while (newLen < oldLen) { - oldLen -= 1; - // eslint-disable-next-line no-param-reassign - var deleteSucceeded = delete A[ToString(oldLen)]; - if (!deleteSucceeded) { - newLenDesc['[[Value]]'] = oldLen + 1; - if (!newWritable) { - newLenDesc['[[Writable]]'] = false; - OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - return false; - } - } - } - if (!newWritable) { - return OrdinaryDefineOwnProperty(A, 'length', { '[[Writable]]': false }); - } - return true; -}; diff --git a/node_modules/es-abstract/2015/ArraySpeciesCreate.js b/node_modules/es-abstract/2015/ArraySpeciesCreate.js deleted file mode 100644 index 26d63b5e2..000000000 --- a/node_modules/es-abstract/2015/ArraySpeciesCreate.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsConstructor = require('./IsConstructor'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - -module.exports = function ArraySpeciesCreate(originalArray, length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = IsArray(originalArray); - if (isArray) { - C = Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if ($species && Type(C) === 'Object') { - C = Get(C, $species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // Construct(C, len); -}; - diff --git a/node_modules/es-abstract/2015/Call.js b/node_modules/es-abstract/2015/Call.js deleted file mode 100644 index 4b238c691..000000000 --- a/node_modules/es-abstract/2015/Call.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsArray = require('./IsArray'); - -var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-call - -module.exports = function Call(F, V) { - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - return $apply(F, V, argumentsList); -}; diff --git a/node_modules/es-abstract/2015/CanonicalNumericIndexString.js b/node_modules/es-abstract/2015/CanonicalNumericIndexString.js deleted file mode 100644 index feb878c03..000000000 --- a/node_modules/es-abstract/2015/CanonicalNumericIndexString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - -module.exports = function CanonicalNumericIndexString(argument) { - if (Type(argument) !== 'String') { - throw new $TypeError('Assertion failed: `argument` must be a String'); - } - if (argument === '-0') { return -0; } - var n = ToNumber(argument); - if (SameValue(ToString(n), argument)) { return n; } - return void 0; -}; diff --git a/node_modules/es-abstract/2015/CompletePropertyDescriptor.js b/node_modules/es-abstract/2015/CompletePropertyDescriptor.js deleted file mode 100644 index 548bf415a..000000000 --- a/node_modules/es-abstract/2015/CompletePropertyDescriptor.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - -module.exports = function CompletePropertyDescriptor(Desc) { - /* eslint no-param-reassign: 0 */ - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; -}; diff --git a/node_modules/es-abstract/2015/CreateDataProperty.js b/node_modules/es-abstract/2015/CreateDataProperty.js deleted file mode 100644 index ff5ca3055..000000000 --- a/node_modules/es-abstract/2015/CreateDataProperty.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty - -module.exports = function CreateDataProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = OrdinaryGetOwnProperty(O, P); - var extensible = !oldDesc || IsExtensible(O); - var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']); - if (immutable || !extensible) { - return false; - } - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Value]]': V, - '[[Writable]]': true - } - ); -}; diff --git a/node_modules/es-abstract/2015/CreateDataPropertyOrThrow.js b/node_modules/es-abstract/2015/CreateDataPropertyOrThrow.js deleted file mode 100644 index 2f7c410ba..000000000 --- a/node_modules/es-abstract/2015/CreateDataPropertyOrThrow.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var CreateDataProperty = require('./CreateDataProperty'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - -module.exports = function CreateDataPropertyOrThrow(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; -}; diff --git a/node_modules/es-abstract/2015/CreateHTML.js b/node_modules/es-abstract/2015/CreateHTML.js deleted file mode 100644 index ccded1e65..000000000 --- a/node_modules/es-abstract/2015/CreateHTML.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $replace = callBound('String.prototype.replace'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createhtml - -module.exports = function CreateHTML(string, tag, attribute, value) { - if (Type(tag) !== 'String' || Type(attribute) !== 'String') { - throw new $TypeError('Assertion failed: `tag` and `attribute` must be strings'); - } - var str = RequireObjectCoercible(string); - var S = ToString(str); - var p1 = '<' + tag; - if (attribute !== '') { - var V = ToString(value); - var escapedV = $replace(V, /\x22/g, '"'); - p1 += '\x20' + attribute + '\x3D\x22' + escapedV + '\x22'; - } - return p1 + '>' + S + ''; -}; diff --git a/node_modules/es-abstract/2015/CreateIterResultObject.js b/node_modules/es-abstract/2015/CreateIterResultObject.js deleted file mode 100644 index eea77a512..000000000 --- a/node_modules/es-abstract/2015/CreateIterResultObject.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - -module.exports = function CreateIterResultObject(value, done) { - if (Type(done) !== 'Boolean') { - throw new $TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; -}; diff --git a/node_modules/es-abstract/2015/CreateListFromArrayLike.js b/node_modules/es-abstract/2015/CreateListFromArrayLike.js deleted file mode 100644 index d1bb8b658..000000000 --- a/node_modules/es-abstract/2015/CreateListFromArrayLike.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $indexOf = callBound('Array.prototype.indexOf', true) || callBound('String.prototype.indexOf'); -var $push = callBound('Array.prototype.push'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToLength = require('./ToLength'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createlistfromarraylike -module.exports = function CreateListFromArrayLike(obj) { - var elementTypes = arguments.length > 1 - ? arguments[1] - : ['Undefined', 'Null', 'Boolean', 'String', 'Symbol', 'Number', 'Object']; - - if (Type(obj) !== 'Object') { - throw new $TypeError('Assertion failed: `obj` must be an Object'); - } - if (!IsArray(elementTypes)) { - throw new $TypeError('Assertion failed: `elementTypes`, if provided, must be an array'); - } - var len = ToLength(Get(obj, 'length')); - var list = []; - var index = 0; - while (index < len) { - var indexName = ToString(index); - var next = Get(obj, indexName); - var nextType = Type(next); - if ($indexOf(elementTypes, nextType) < 0) { - throw new $TypeError('item type ' + nextType + ' is not a valid elementType'); - } - $push(list, next); - index += 1; - } - return list; -}; diff --git a/node_modules/es-abstract/2015/CreateMethodProperty.js b/node_modules/es-abstract/2015/CreateMethodProperty.js deleted file mode 100644 index 53274a561..000000000 --- a/node_modules/es-abstract/2015/CreateMethodProperty.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createmethodproperty - -module.exports = function CreateMethodProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var newDesc = { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': V, - '[[Writable]]': true - }; - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - newDesc - ); -}; diff --git a/node_modules/es-abstract/2015/DateFromTime.js b/node_modules/es-abstract/2015/DateFromTime.js deleted file mode 100644 index 20e4f2e4d..000000000 --- a/node_modules/es-abstract/2015/DateFromTime.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); -var MonthFromTime = require('./MonthFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.5 - -module.exports = function DateFromTime(t) { - var m = MonthFromTime(t); - var d = DayWithinYear(t); - if (m === 0) { - return d + 1; - } - if (m === 1) { - return d - 30; - } - var leap = InLeapYear(t); - if (m === 2) { - return d - 58 - leap; - } - if (m === 3) { - return d - 89 - leap; - } - if (m === 4) { - return d - 119 - leap; - } - if (m === 5) { - return d - 150 - leap; - } - if (m === 6) { - return d - 180 - leap; - } - if (m === 7) { - return d - 211 - leap; - } - if (m === 8) { - return d - 242 - leap; - } - if (m === 9) { - return d - 272 - leap; - } - if (m === 10) { - return d - 303 - leap; - } - if (m === 11) { - return d - 333 - leap; - } - throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); -}; diff --git a/node_modules/es-abstract/2015/Day.js b/node_modules/es-abstract/2015/Day.js deleted file mode 100644 index 51d01033c..000000000 --- a/node_modules/es-abstract/2015/Day.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function Day(t) { - return floor(t / msPerDay); -}; diff --git a/node_modules/es-abstract/2015/DayFromYear.js b/node_modules/es-abstract/2015/DayFromYear.js deleted file mode 100644 index 341bf22a6..000000000 --- a/node_modules/es-abstract/2015/DayFromYear.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DayFromYear(y) { - return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400); -}; - diff --git a/node_modules/es-abstract/2015/DayWithinYear.js b/node_modules/es-abstract/2015/DayWithinYear.js deleted file mode 100644 index 4c580940a..000000000 --- a/node_modules/es-abstract/2015/DayWithinYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var DayFromYear = require('./DayFromYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function DayWithinYear(t) { - return Day(t) - DayFromYear(YearFromTime(t)); -}; diff --git a/node_modules/es-abstract/2015/DaysInYear.js b/node_modules/es-abstract/2015/DaysInYear.js deleted file mode 100644 index 7116c6902..000000000 --- a/node_modules/es-abstract/2015/DaysInYear.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DaysInYear(y) { - if (modulo(y, 4) !== 0) { - return 365; - } - if (modulo(y, 100) !== 0) { - return 366; - } - if (modulo(y, 400) !== 0) { - return 365; - } - return 366; -}; diff --git a/node_modules/es-abstract/2015/DefinePropertyOrThrow.js b/node_modules/es-abstract/2015/DefinePropertyOrThrow.js deleted file mode 100644 index 26f2714bb..000000000 --- a/node_modules/es-abstract/2015/DefinePropertyOrThrow.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow - -module.exports = function DefinePropertyOrThrow(O, P, desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var Desc = isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, desc) ? desc : ToPropertyDescriptor(desc); - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor'); - } - - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); -}; diff --git a/node_modules/es-abstract/2015/DeletePropertyOrThrow.js b/node_modules/es-abstract/2015/DeletePropertyOrThrow.js deleted file mode 100644 index 30d5e57c7..000000000 --- a/node_modules/es-abstract/2015/DeletePropertyOrThrow.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow - -module.exports = function DeletePropertyOrThrow(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // eslint-disable-next-line no-param-reassign - var success = delete O[P]; - if (!success) { - throw new $TypeError('Attempt to delete property failed.'); - } - return success; -}; diff --git a/node_modules/es-abstract/2015/EnumerableOwnNames.js b/node_modules/es-abstract/2015/EnumerableOwnNames.js deleted file mode 100644 index e218edad7..000000000 --- a/node_modules/es-abstract/2015/EnumerableOwnNames.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var keys = require('object-keys'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-enumerableownnames - -module.exports = function EnumerableOwnNames(O) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - return keys(O); -}; diff --git a/node_modules/es-abstract/2015/FromPropertyDescriptor.js b/node_modules/es-abstract/2015/FromPropertyDescriptor.js deleted file mode 100644 index 9a69a2605..000000000 --- a/node_modules/es-abstract/2015/FromPropertyDescriptor.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor - -module.exports = function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - var obj = {}; - if ('[[Value]]' in Desc) { - obj.value = Desc['[[Value]]']; - } - if ('[[Writable]]' in Desc) { - obj.writable = Desc['[[Writable]]']; - } - if ('[[Get]]' in Desc) { - obj.get = Desc['[[Get]]']; - } - if ('[[Set]]' in Desc) { - obj.set = Desc['[[Set]]']; - } - if ('[[Enumerable]]' in Desc) { - obj.enumerable = Desc['[[Enumerable]]']; - } - if ('[[Configurable]]' in Desc) { - obj.configurable = Desc['[[Configurable]]']; - } - return obj; -}; diff --git a/node_modules/es-abstract/2015/Get.js b/node_modules/es-abstract/2015/Get.js deleted file mode 100644 index 681055a2f..000000000 --- a/node_modules/es-abstract/2015/Get.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var inspect = require('object-inspect'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -/** - * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - -module.exports = function Get(O, P) { - // 7.3.1.1 - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); - } - // 7.3.1.3 - return O[P]; -}; diff --git a/node_modules/es-abstract/2015/GetIterator.js b/node_modules/es-abstract/2015/GetIterator.js deleted file mode 100644 index a2d3b16cb..000000000 --- a/node_modules/es-abstract/2015/GetIterator.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getIteratorMethod = require('../helpers/getIteratorMethod'); -var AdvanceStringIndex = require('./AdvanceStringIndex'); -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsArray = require('./IsArray'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getiterator - -module.exports = function GetIterator(obj, method) { - var actualMethod = method; - if (arguments.length < 2) { - actualMethod = getIteratorMethod( - { - AdvanceStringIndex: AdvanceStringIndex, - GetMethod: GetMethod, - IsArray: IsArray, - Type: Type - }, - obj - ); - } - var iterator = Call(actualMethod, obj); - if (Type(iterator) !== 'Object') { - throw new $TypeError('iterator must return an object'); - } - - return iterator; -}; diff --git a/node_modules/es-abstract/2015/GetMethod.js b/node_modules/es-abstract/2015/GetMethod.js deleted file mode 100644 index 775d3fb95..000000000 --- a/node_modules/es-abstract/2015/GetMethod.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetV = require('./GetV'); -var IsCallable = require('./IsCallable'); -var IsPropertyKey = require('./IsPropertyKey'); - -/** - * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - -module.exports = function GetMethod(O, P) { - // 7.3.9.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return void 0; - } - - // 7.3.9.5 - if (!IsCallable(func)) { - throw new $TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; -}; diff --git a/node_modules/es-abstract/2015/GetOwnPropertyKeys.js b/node_modules/es-abstract/2015/GetOwnPropertyKeys.js deleted file mode 100644 index b8f4167f7..000000000 --- a/node_modules/es-abstract/2015/GetOwnPropertyKeys.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var hasSymbols = require('has-symbols')(); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $gOPS = hasSymbols && GetIntrinsic('%Object.getOwnPropertySymbols%'); -var keys = require('object-keys'); - -var esType = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys - -module.exports = function GetOwnPropertyKeys(O, Type) { - if (esType(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (Type === 'Symbol') { - return $gOPS ? $gOPS(O) : []; - } - if (Type === 'String') { - if (!$gOPN) { - return keys(O); - } - return $gOPN(O); - } - throw new $TypeError('Assertion failed: `Type` must be `"String"` or `"Symbol"`'); -}; diff --git a/node_modules/es-abstract/2015/GetPrototypeFromConstructor.js b/node_modules/es-abstract/2015/GetPrototypeFromConstructor.js deleted file mode 100644 index 5f369cad8..000000000 --- a/node_modules/es-abstract/2015/GetPrototypeFromConstructor.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Function = GetIntrinsic('%Function%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getprototypefromconstructor - -module.exports = function GetPrototypeFromConstructor(constructor, intrinsicDefaultProto) { - var intrinsic = GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - if (!IsConstructor(constructor)) { - throw new $TypeError('Assertion failed: `constructor` must be a constructor'); - } - var proto = Get(constructor, 'prototype'); - if (Type(proto) !== 'Object') { - if (!(constructor instanceof $Function)) { - // ignore other realms, for now - throw new $TypeError('cross-realm constructors not currently supported'); - } - proto = intrinsic; - } - return proto; -}; diff --git a/node_modules/es-abstract/2015/GetSubstitution.js b/node_modules/es-abstract/2015/GetSubstitution.js deleted file mode 100644 index 5bdce38b6..000000000 --- a/node_modules/es-abstract/2015/GetSubstitution.js +++ /dev/null @@ -1,104 +0,0 @@ - -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $parseInt = GetIntrinsic('%parseInt%'); - -var inspect = require('object-inspect'); - -var regexTester = require('../helpers/regexTester'); -var callBound = require('call-bind/callBound'); -var every = require('../helpers/every'); - -var isDigit = regexTester(/^[0-9]$/); - -var $charAt = callBound('String.prototype.charAt'); -var $strSlice = callBound('String.prototype.slice'); - -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var canDistinguishSparseFromUndefined = 0 in [undefined]; // IE 6 - 8 have a bug where this returns false - -var isStringOrHole = function (capture, index, arr) { - return Type(capture) === 'String' || (canDistinguishSparseFromUndefined ? !(index in arr) : Type(capture) === 'Undefined'); -}; - -// https://ecma-international.org/ecma-262/6.0/#sec-getsubstitution - -// eslint-disable-next-line max-statements, max-params, max-lines-per-function -module.exports = function GetSubstitution(matched, str, position, captures, replacement) { - if (Type(matched) !== 'String') { - throw new $TypeError('Assertion failed: `matched` must be a String'); - } - var matchLength = matched.length; - - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `str` must be a String'); - } - var stringLength = str.length; - - if (!IsInteger(position) || position < 0 || position > stringLength) { - throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got ' + inspect(position)); - } - - if (!IsArray(captures) || !every(captures, isStringOrHole)) { - throw new $TypeError('Assertion failed: `captures` must be a List of Strings, got ' + inspect(captures)); - } - - if (Type(replacement) !== 'String') { - throw new $TypeError('Assertion failed: `replacement` must be a String'); - } - - var tailPos = position + matchLength; - var m = captures.length; - - var result = ''; - for (var i = 0; i < replacement.length; i += 1) { - // if this is a $, and it's not the end of the replacement - var current = $charAt(replacement, i); - var isLast = (i + 1) >= replacement.length; - var nextIsLast = (i + 2) >= replacement.length; - if (current === '$' && !isLast) { - var next = $charAt(replacement, i + 1); - if (next === '$') { - result += '$'; - i += 1; - } else if (next === '&') { - result += matched; - i += 1; - } else if (next === '`') { - result += position === 0 ? '' : $strSlice(str, 0, position - 1); - i += 1; - } else if (next === "'") { - result += tailPos >= stringLength ? '' : $strSlice(str, tailPos); - i += 1; - } else { - var nextNext = nextIsLast ? null : $charAt(replacement, i + 2); - if (isDigit(next) && next !== '0' && (nextIsLast || !isDigit(nextNext))) { - // $1 through $9, and not followed by a digit - var n = $parseInt(next, 10); - // if (n > m, impl-defined) - result += n <= m && Type(captures[n - 1]) === 'Undefined' ? '' : captures[n - 1]; - i += 1; - } else if (isDigit(next) && (nextIsLast || isDigit(nextNext))) { - // $00 through $99 - var nn = next + nextNext; - var nnI = $parseInt(nn, 10) - 1; - // if nn === '00' or nn > m, impl-defined - result += nn <= m && Type(captures[nnI]) === 'Undefined' ? '' : captures[nnI]; - i += 2; - } else { - result += '$'; - } - } - } else { - // the final $, or else not a $ - result += $charAt(replacement, i); - } - } - return result; -}; diff --git a/node_modules/es-abstract/2015/GetV.js b/node_modules/es-abstract/2015/GetV.js deleted file mode 100644 index 2d8cc8246..000000000 --- a/node_modules/es-abstract/2015/GetV.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var ToObject = require('./ToObject'); - -/** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - -module.exports = function GetV(V, P) { - // 7.3.2.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = ToObject(V); - - // 7.3.2.4 - return O[P]; -}; diff --git a/node_modules/es-abstract/2015/HasOwnProperty.js b/node_modules/es-abstract/2015/HasOwnProperty.js deleted file mode 100644 index 04d28495f..000000000 --- a/node_modules/es-abstract/2015/HasOwnProperty.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var has = require('has'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - -module.exports = function HasOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return has(O, P); -}; diff --git a/node_modules/es-abstract/2015/HasProperty.js b/node_modules/es-abstract/2015/HasProperty.js deleted file mode 100644 index b341654e7..000000000 --- a/node_modules/es-abstract/2015/HasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - -module.exports = function HasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2015/HourFromTime.js b/node_modules/es-abstract/2015/HourFromTime.js deleted file mode 100644 index f963bfb68..000000000 --- a/node_modules/es-abstract/2015/HourFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerHour = timeConstants.msPerHour; -var HoursPerDay = timeConstants.HoursPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function HourFromTime(t) { - return modulo(floor(t / msPerHour), HoursPerDay); -}; diff --git a/node_modules/es-abstract/2015/InLeapYear.js b/node_modules/es-abstract/2015/InLeapYear.js deleted file mode 100644 index bfe0c451f..000000000 --- a/node_modules/es-abstract/2015/InLeapYear.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DaysInYear = require('./DaysInYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function InLeapYear(t) { - var days = DaysInYear(YearFromTime(t)); - if (days === 365) { - return 0; - } - if (days === 366) { - return 1; - } - throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); -}; diff --git a/node_modules/es-abstract/2015/InstanceofOperator.js b/node_modules/es-abstract/2015/InstanceofOperator.js deleted file mode 100644 index a3c4d2375..000000000 --- a/node_modules/es-abstract/2015/InstanceofOperator.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $hasInstance = GetIntrinsic('Symbol.hasInstance', true); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var OrdinaryHasInstance = require('./OrdinaryHasInstance'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-instanceofoperator - -module.exports = function InstanceofOperator(O, C) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var instOfHandler = $hasInstance ? GetMethod(C, $hasInstance) : void 0; - if (typeof instOfHandler !== 'undefined') { - return ToBoolean(Call(instOfHandler, C, [O])); - } - if (!IsCallable(C)) { - throw new $TypeError('`C` is not Callable'); - } - return OrdinaryHasInstance(C, O); -}; diff --git a/node_modules/es-abstract/2015/Invoke.js b/node_modules/es-abstract/2015/Invoke.js deleted file mode 100644 index d4214ee51..000000000 --- a/node_modules/es-abstract/2015/Invoke.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var IsArray = require('./IsArray'); -var GetV = require('./GetV'); -var IsPropertyKey = require('./IsPropertyKey'); - -// https://ecma-international.org/ecma-262/6.0/#sec-invoke - -module.exports = function Invoke(O, P) { - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - var func = GetV(O, P); - return Call(func, O, argumentsList); -}; diff --git a/node_modules/es-abstract/2015/IsAccessorDescriptor.js b/node_modules/es-abstract/2015/IsAccessorDescriptor.js deleted file mode 100644 index 78563e7ec..000000000 --- a/node_modules/es-abstract/2015/IsAccessorDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor - -module.exports = function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2015/IsArray.js b/node_modules/es-abstract/2015/IsArray.js deleted file mode 100644 index f933cec03..000000000 --- a/node_modules/es-abstract/2015/IsArray.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); - -// eslint-disable-next-line global-require -var toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isarray - -module.exports = $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; -}; diff --git a/node_modules/es-abstract/2015/IsCallable.js b/node_modules/es-abstract/2015/IsCallable.js deleted file mode 100644 index 3a69b1926..000000000 --- a/node_modules/es-abstract/2015/IsCallable.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.11 - -module.exports = require('is-callable'); diff --git a/node_modules/es-abstract/2015/IsConcatSpreadable.js b/node_modules/es-abstract/2015/IsConcatSpreadable.js deleted file mode 100644 index 141b33414..000000000 --- a/node_modules/es-abstract/2015/IsConcatSpreadable.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $isConcatSpreadable = GetIntrinsic('%Symbol.isConcatSpreadable%', true); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - -module.exports = function IsConcatSpreadable(O) { - if (Type(O) !== 'Object') { - return false; - } - if ($isConcatSpreadable) { - var spreadable = Get(O, $isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return ToBoolean(spreadable); - } - } - return IsArray(O); -}; diff --git a/node_modules/es-abstract/2015/IsConstructor.js b/node_modules/es-abstract/2015/IsConstructor.js deleted file mode 100644 index fe626e183..000000000 --- a/node_modules/es-abstract/2015/IsConstructor.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('../GetIntrinsic.js'); - -var $construct = GetIntrinsic('%Reflect.construct%', true); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -try { - DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} }); -} catch (e) { - // Accessor properties aren't supported - DefinePropertyOrThrow = null; -} - -// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor - -if (DefinePropertyOrThrow && $construct) { - var isConstructorMarker = {}; - var badArrayLike = {}; - DefinePropertyOrThrow(badArrayLike, 'length', { - '[[Get]]': function () { - throw isConstructorMarker; - }, - '[[Enumerable]]': true - }); - - module.exports = function IsConstructor(argument) { - try { - // `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`: - $construct(argument, badArrayLike); - } catch (err) { - return err === isConstructorMarker; - } - }; -} else { - module.exports = function IsConstructor(argument) { - // unfortunately there's no way to truly check this without try/catch `new argument` in old environments - return typeof argument === 'function' && !!argument.prototype; - }; -} diff --git a/node_modules/es-abstract/2015/IsDataDescriptor.js b/node_modules/es-abstract/2015/IsDataDescriptor.js deleted file mode 100644 index 00d14a60e..000000000 --- a/node_modules/es-abstract/2015/IsDataDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor - -module.exports = function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2015/IsExtensible.js b/node_modules/es-abstract/2015/IsExtensible.js deleted file mode 100644 index 9df5b80b1..000000000 --- a/node_modules/es-abstract/2015/IsExtensible.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var isPrimitive = require('../helpers/isPrimitive'); - -var $preventExtensions = $Object.preventExtensions; -var $isExtensible = $Object.isExtensible; - -// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o - -module.exports = $preventExtensions - ? function IsExtensible(obj) { - return !isPrimitive(obj) && $isExtensible(obj); - } - : function IsExtensible(obj) { - return !isPrimitive(obj); - }; diff --git a/node_modules/es-abstract/2015/IsGenericDescriptor.js b/node_modules/es-abstract/2015/IsGenericDescriptor.js deleted file mode 100644 index 95b1d353c..000000000 --- a/node_modules/es-abstract/2015/IsGenericDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isgenericdescriptor - -module.exports = function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) { - return true; - } - - return false; -}; diff --git a/node_modules/es-abstract/2015/IsInteger.js b/node_modules/es-abstract/2015/IsInteger.js deleted file mode 100644 index f4d1a2a7c..000000000 --- a/node_modules/es-abstract/2015/IsInteger.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isinteger - -module.exports = function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var absValue = abs(argument); - return floor(absValue) === absValue; -}; diff --git a/node_modules/es-abstract/2015/IsPromise.js b/node_modules/es-abstract/2015/IsPromise.js deleted file mode 100644 index a551ae0c8..000000000 --- a/node_modules/es-abstract/2015/IsPromise.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $PromiseThen = callBound('Promise.prototype.then', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ispromise - -module.exports = function IsPromise(x) { - if (Type(x) !== 'Object') { - return false; - } - if (!$PromiseThen) { // Promises are not supported - return false; - } - try { - $PromiseThen(x); // throws if not a promise - } catch (e) { - return false; - } - return true; -}; diff --git a/node_modules/es-abstract/2015/IsPropertyDescriptor.js b/node_modules/es-abstract/2015/IsPropertyDescriptor.js deleted file mode 100644 index 4cfe79bbe..000000000 --- a/node_modules/es-abstract/2015/IsPropertyDescriptor.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -// TODO, semver-major: delete this - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var Type = require('./Type'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); - -// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type - -module.exports = function IsPropertyDescriptor(Desc) { - return isPropertyDescriptor({ - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor, - Type: Type - }, Desc); -}; diff --git a/node_modules/es-abstract/2015/IsPropertyKey.js b/node_modules/es-abstract/2015/IsPropertyKey.js deleted file mode 100644 index f43ab581c..000000000 --- a/node_modules/es-abstract/2015/IsPropertyKey.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey - -module.exports = function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; -}; diff --git a/node_modules/es-abstract/2015/IsRegExp.js b/node_modules/es-abstract/2015/IsRegExp.js deleted file mode 100644 index e1054813f..000000000 --- a/node_modules/es-abstract/2015/IsRegExp.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $match = GetIntrinsic('%Symbol.match%', true); - -var hasRegExpMatcher = require('is-regex'); - -var ToBoolean = require('./ToBoolean'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isregexp - -module.exports = function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if ($match) { - var isRegExp = argument[$match]; - if (typeof isRegExp !== 'undefined') { - return ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); -}; diff --git a/node_modules/es-abstract/2015/IteratorClose.js b/node_modules/es-abstract/2015/IteratorClose.js deleted file mode 100644 index dd1118df7..000000000 --- a/node_modules/es-abstract/2015/IteratorClose.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose - -module.exports = function IteratorClose(iterator, completion) { - if (Type(iterator) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterator) is not Object'); - } - if (!IsCallable(completion)) { - throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); - } - var completionThunk = completion; - - var iteratorReturn = GetMethod(iterator, 'return'); - - if (typeof iteratorReturn === 'undefined') { - return completionThunk(); - } - - var completionRecord; - try { - var innerResult = Call(iteratorReturn, iterator, []); - } catch (e) { - // if we hit here, then "e" is the innerResult completion that needs re-throwing - - // if the completion is of type "throw", this will throw. - completionThunk(); - completionThunk = null; // ensure it's not called twice. - - // if not, then return the innerResult completion - throw e; - } - completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does - completionThunk = null; // ensure it's not called twice. - - if (Type(innerResult) !== 'Object') { - throw new $TypeError('iterator .return must return an object'); - } - - return completionRecord; -}; diff --git a/node_modules/es-abstract/2015/IteratorComplete.js b/node_modules/es-abstract/2015/IteratorComplete.js deleted file mode 100644 index ed4efa37d..000000000 --- a/node_modules/es-abstract/2015/IteratorComplete.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete - -module.exports = function IteratorComplete(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return ToBoolean(Get(iterResult, 'done')); -}; diff --git a/node_modules/es-abstract/2015/IteratorNext.js b/node_modules/es-abstract/2015/IteratorNext.js deleted file mode 100644 index cf80655b9..000000000 --- a/node_modules/es-abstract/2015/IteratorNext.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Invoke = require('./Invoke'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratornext - -module.exports = function IteratorNext(iterator, value) { - var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); - if (Type(result) !== 'Object') { - throw new $TypeError('iterator next must return an object'); - } - return result; -}; diff --git a/node_modules/es-abstract/2015/IteratorStep.js b/node_modules/es-abstract/2015/IteratorStep.js deleted file mode 100644 index 41b9d1b25..000000000 --- a/node_modules/es-abstract/2015/IteratorStep.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var IteratorComplete = require('./IteratorComplete'); -var IteratorNext = require('./IteratorNext'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep - -module.exports = function IteratorStep(iterator) { - var result = IteratorNext(iterator); - var done = IteratorComplete(result); - return done === true ? false : result; -}; - diff --git a/node_modules/es-abstract/2015/IteratorValue.js b/node_modules/es-abstract/2015/IteratorValue.js deleted file mode 100644 index d15d8aebb..000000000 --- a/node_modules/es-abstract/2015/IteratorValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue - -module.exports = function IteratorValue(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return Get(iterResult, 'value'); -}; - diff --git a/node_modules/es-abstract/2015/MakeDate.js b/node_modules/es-abstract/2015/MakeDate.js deleted file mode 100644 index efeb6452e..000000000 --- a/node_modules/es-abstract/2015/MakeDate.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.13 - -module.exports = function MakeDate(day, time) { - if (!$isFinite(day) || !$isFinite(time)) { - return NaN; - } - return (day * msPerDay) + time; -}; diff --git a/node_modules/es-abstract/2015/MakeDay.js b/node_modules/es-abstract/2015/MakeDay.js deleted file mode 100644 index 13f568633..000000000 --- a/node_modules/es-abstract/2015/MakeDay.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $DateUTC = GetIntrinsic('%Date.UTC%'); - -var $isFinite = require('../helpers/isFinite'); - -var DateFromTime = require('./DateFromTime'); -var Day = require('./Day'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var MonthFromTime = require('./MonthFromTime'); -var ToInteger = require('./ToInteger'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.12 - -module.exports = function MakeDay(year, month, date) { - if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { - return NaN; - } - var y = ToInteger(year); - var m = ToInteger(month); - var dt = ToInteger(date); - var ym = y + floor(m / 12); - var mn = modulo(m, 12); - var t = $DateUTC(ym, mn, 1); - if (YearFromTime(t) !== ym || MonthFromTime(t) !== mn || DateFromTime(t) !== 1) { - return NaN; - } - return Day(t) + dt - 1; -}; diff --git a/node_modules/es-abstract/2015/MakeTime.js b/node_modules/es-abstract/2015/MakeTime.js deleted file mode 100644 index 34cb4dcca..000000000 --- a/node_modules/es-abstract/2015/MakeTime.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var msPerMinute = timeConstants.msPerMinute; -var msPerHour = timeConstants.msPerHour; - -var ToInteger = require('./ToInteger'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.11 - -module.exports = function MakeTime(hour, min, sec, ms) { - if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { - return NaN; - } - var h = ToInteger(hour); - var m = ToInteger(min); - var s = ToInteger(sec); - var milli = ToInteger(ms); - var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; - return t; -}; diff --git a/node_modules/es-abstract/2015/MinFromTime.js b/node_modules/es-abstract/2015/MinFromTime.js deleted file mode 100644 index a0c631d4c..000000000 --- a/node_modules/es-abstract/2015/MinFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerMinute = timeConstants.msPerMinute; -var MinutesPerHour = timeConstants.MinutesPerHour; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function MinFromTime(t) { - return modulo(floor(t / msPerMinute), MinutesPerHour); -}; diff --git a/node_modules/es-abstract/2015/MonthFromTime.js b/node_modules/es-abstract/2015/MonthFromTime.js deleted file mode 100644 index a482a7df9..000000000 --- a/node_modules/es-abstract/2015/MonthFromTime.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function MonthFromTime(t) { - var day = DayWithinYear(t); - if (0 <= day && day < 31) { - return 0; - } - var leap = InLeapYear(t); - if (31 <= day && day < (59 + leap)) { - return 1; - } - if ((59 + leap) <= day && day < (90 + leap)) { - return 2; - } - if ((90 + leap) <= day && day < (120 + leap)) { - return 3; - } - if ((120 + leap) <= day && day < (151 + leap)) { - return 4; - } - if ((151 + leap) <= day && day < (181 + leap)) { - return 5; - } - if ((181 + leap) <= day && day < (212 + leap)) { - return 6; - } - if ((212 + leap) <= day && day < (243 + leap)) { - return 7; - } - if ((243 + leap) <= day && day < (273 + leap)) { - return 8; - } - if ((273 + leap) <= day && day < (304 + leap)) { - return 9; - } - if ((304 + leap) <= day && day < (334 + leap)) { - return 10; - } - if ((334 + leap) <= day && day < (365 + leap)) { - return 11; - } -}; diff --git a/node_modules/es-abstract/2015/ObjectCreate.js b/node_modules/es-abstract/2015/ObjectCreate.js deleted file mode 100644 index 2851a646d..000000000 --- a/node_modules/es-abstract/2015/ObjectCreate.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ObjectCreate = GetIntrinsic('%Object.create%', true); -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); - -var Type = require('./Type'); - -var hasProto = !({ __proto__: null } instanceof Object); - -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate - -module.exports = function ObjectCreate(proto, internalSlotsList) { - if (proto !== null && Type(proto) !== 'Object') { - throw new $TypeError('Assertion failed: `proto` must be null or an object'); - } - var slots = arguments.length < 2 ? [] : internalSlotsList; - if (slots.length > 0) { - throw new $SyntaxError('es-abstract does not yet support internal slots'); - } - - if ($ObjectCreate) { - return $ObjectCreate(proto); - } - if (hasProto) { - return { __proto__: proto }; - } - - if (proto === null) { - throw new $SyntaxError('native Object.create support is required to create null objects'); - } - var T = function T() {}; - T.prototype = proto; - return new T(); -}; diff --git a/node_modules/es-abstract/2015/OrdinaryCreateFromConstructor.js b/node_modules/es-abstract/2015/OrdinaryCreateFromConstructor.js deleted file mode 100644 index e2a299eaa..000000000 --- a/node_modules/es-abstract/2015/OrdinaryCreateFromConstructor.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); -var IsArray = require('./IsArray'); -var ObjectCreate = require('./ObjectCreate'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor - -module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { - GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - var proto = GetPrototypeFromConstructor(constructor, intrinsicDefaultProto); - var slots = arguments.length < 3 ? [] : arguments[2]; - if (!IsArray(slots)) { - throw new $TypeError('Assertion failed: if provided, `internalSlotsList` must be a List'); - } - return ObjectCreate(proto, slots); -}; diff --git a/node_modules/es-abstract/2015/OrdinaryDefineOwnProperty.js b/node_modules/es-abstract/2015/OrdinaryDefineOwnProperty.js deleted file mode 100644 index 5d33aa6d6..000000000 --- a/node_modules/es-abstract/2015/OrdinaryDefineOwnProperty.js +++ /dev/null @@ -1,61 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); -var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty - -module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!$gOPD) { - // ES3/IE 8 fallback - if (IsAccessorDescriptor(Desc)) { - throw new $SyntaxError('This environment does not support accessor property descriptors.'); - } - var creatingNormalDataProperty = !(P in O) - && Desc['[[Writable]]'] - && Desc['[[Enumerable]]'] - && Desc['[[Configurable]]'] - && '[[Value]]' in Desc; - var settingExistingDataProperty = (P in O) - && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) - && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) - && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) - && '[[Value]]' in Desc; - if (creatingNormalDataProperty || settingExistingDataProperty) { - O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign - return SameValue(O[P], Desc['[[Value]]']); - } - throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties'); - } - var desc = $gOPD(O, P); - var current = desc && ToPropertyDescriptor(desc); - var extensible = IsExtensible(O); - return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current); -}; diff --git a/node_modules/es-abstract/2015/OrdinaryGetOwnProperty.js b/node_modules/es-abstract/2015/OrdinaryGetOwnProperty.js deleted file mode 100644 index 3d11e9fad..000000000 --- a/node_modules/es-abstract/2015/OrdinaryGetOwnProperty.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var has = require('has'); - -var IsArray = require('./IsArray'); -var IsPropertyKey = require('./IsPropertyKey'); -var IsRegExp = require('./IsRegExp'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty - -module.exports = function OrdinaryGetOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!has(O, P)) { - return void 0; - } - if (!$gOPD) { - // ES3 / IE 8 fallback - var arrayLength = IsArray(O) && P === 'length'; - var regexLastIndex = IsRegExp(O) && P === 'lastIndex'; - return { - '[[Configurable]]': !(arrayLength || regexLastIndex), - '[[Enumerable]]': $isEnumerable(O, P), - '[[Value]]': O[P], - '[[Writable]]': true - }; - } - return ToPropertyDescriptor($gOPD(O, P)); -}; diff --git a/node_modules/es-abstract/2015/OrdinaryHasInstance.js b/node_modules/es-abstract/2015/OrdinaryHasInstance.js deleted file mode 100644 index 85a240ca2..000000000 --- a/node_modules/es-abstract/2015/OrdinaryHasInstance.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance - -module.exports = function OrdinaryHasInstance(C, O) { - if (IsCallable(C) === false) { - return false; - } - if (Type(O) !== 'Object') { - return false; - } - var P = Get(C, 'prototype'); - if (Type(P) !== 'Object') { - throw new $TypeError('OrdinaryHasInstance called on an object with an invalid prototype property.'); - } - return O instanceof C; -}; diff --git a/node_modules/es-abstract/2015/OrdinaryHasProperty.js b/node_modules/es-abstract/2015/OrdinaryHasProperty.js deleted file mode 100644 index dd09ca3b1..000000000 --- a/node_modules/es-abstract/2015/OrdinaryHasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasproperty - -module.exports = function OrdinaryHasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2015/QuoteJSONString.js b/node_modules/es-abstract/2015/QuoteJSONString.js deleted file mode 100644 index 884afef25..000000000 --- a/node_modules/es-abstract/2015/QuoteJSONString.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); -var $numberToString = callBound('Number.prototype.toString'); -var $toLowerCase = callBound('String.prototype.toLowerCase'); -var $strSlice = callBound('String.prototype.slice'); -var $strSplit = callBound('String.prototype.split'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-quotejsonstring - -var escapes = { - '\u0008': 'b', - '\u000C': 'f', - '\u000A': 'n', - '\u000D': 'r', - '\u0009': 't' -}; - -module.exports = function QuoteJSONString(value) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `value` must be a String'); - } - var product = '"'; - if (value) { - forEach($strSplit(value), function (C) { - if (C === '"' || C === '\\') { - product += '\u005C' + C; - } else if (C === '\u0008' || C === '\u000C' || C === '\u000A' || C === '\u000D' || C === '\u0009') { - var abbrev = escapes[C]; - product += '\u005C' + abbrev; - } else { - var cCharCode = $charCodeAt(C, 0); - if (cCharCode < 0x20) { - product += '\u005Cu' + $toLowerCase($strSlice('0000' + $numberToString(cCharCode, 16), -4)); - } else { - product += C; - } - } - }); - } - product += '"'; - return product; -}; diff --git a/node_modules/es-abstract/2015/RegExpCreate.js b/node_modules/es-abstract/2015/RegExpCreate.js deleted file mode 100644 index 68e31605e..000000000 --- a/node_modules/es-abstract/2015/RegExpCreate.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RegExp = GetIntrinsic('%RegExp%'); - -// var RegExpAlloc = require('./RegExpAlloc'); -// var RegExpInitialize = require('./RegExpInitialize'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/6.0/#sec-regexpcreate - -module.exports = function RegExpCreate(P, F) { - // var obj = RegExpAlloc($RegExp); - // return RegExpInitialize(obj, P, F); - - // covers spec mechanics; bypass regex brand checking - var pattern = typeof P === 'undefined' ? '' : ToString(P); - var flags = typeof F === 'undefined' ? '' : ToString(F); - return new $RegExp(pattern, flags); -}; diff --git a/node_modules/es-abstract/2015/RegExpExec.js b/node_modules/es-abstract/2015/RegExpExec.js deleted file mode 100644 index 29fee1720..000000000 --- a/node_modules/es-abstract/2015/RegExpExec.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var regexExec = require('call-bind/callBound')('RegExp.prototype.exec'); - -var Call = require('./Call'); -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec - -module.exports = function RegExpExec(R, S) { - if (Type(R) !== 'Object') { - throw new $TypeError('Assertion failed: `R` must be an Object'); - } - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - var exec = Get(R, 'exec'); - if (IsCallable(exec)) { - var result = Call(exec, R, [S]); - if (result === null || Type(result) === 'Object') { - return result; - } - throw new $TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); -}; diff --git a/node_modules/es-abstract/2015/RequireObjectCoercible.js b/node_modules/es-abstract/2015/RequireObjectCoercible.js deleted file mode 100644 index 9008359db..000000000 --- a/node_modules/es-abstract/2015/RequireObjectCoercible.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../5/CheckObjectCoercible'); diff --git a/node_modules/es-abstract/2015/SameValue.js b/node_modules/es-abstract/2015/SameValue.js deleted file mode 100644 index b73939b20..000000000 --- a/node_modules/es-abstract/2015/SameValue.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// http://262.ecma-international.org/5.1/#sec-9.12 - -module.exports = function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); -}; diff --git a/node_modules/es-abstract/2015/SameValueZero.js b/node_modules/es-abstract/2015/SameValueZero.js deleted file mode 100644 index bf1a1486a..000000000 --- a/node_modules/es-abstract/2015/SameValueZero.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero - -module.exports = function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); -}; diff --git a/node_modules/es-abstract/2015/SecFromTime.js b/node_modules/es-abstract/2015/SecFromTime.js deleted file mode 100644 index fc2e44560..000000000 --- a/node_modules/es-abstract/2015/SecFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var SecondsPerMinute = timeConstants.SecondsPerMinute; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function SecFromTime(t) { - return modulo(floor(t / msPerSecond), SecondsPerMinute); -}; diff --git a/node_modules/es-abstract/2015/Set.js b/node_modules/es-abstract/2015/Set.js deleted file mode 100644 index ea49e813f..000000000 --- a/node_modules/es-abstract/2015/Set.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// IE 9 does not throw in strict mode when writability/configurability/extensibility is violated -var noThrowOnStrictViolation = (function () { - try { - delete [].length; - return true; - } catch (e) { - return false; - } -}()); - -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - -module.exports = function Set(O, P, V, Throw) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - if (Type(Throw) !== 'Boolean') { - throw new $TypeError('Assertion failed: `Throw` must be a Boolean'); - } - if (Throw) { - O[P] = V; // eslint-disable-line no-param-reassign - if (noThrowOnStrictViolation && !SameValue(O[P], V)) { - throw new $TypeError('Attempted to assign to readonly property.'); - } - return true; - } else { - try { - O[P] = V; // eslint-disable-line no-param-reassign - return noThrowOnStrictViolation ? SameValue(O[P], V) : true; - } catch (e) { - return false; - } - } -}; diff --git a/node_modules/es-abstract/2015/SetFunctionName.js b/node_modules/es-abstract/2015/SetFunctionName.js deleted file mode 100644 index f59cb7b9e..000000000 --- a/node_modules/es-abstract/2015/SetFunctionName.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var has = require('has'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getSymbolDescription = require('../helpers/getSymbolDescription'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsExtensible = require('./IsExtensible'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname - -module.exports = function SetFunctionName(F, name) { - if (typeof F !== 'function') { - throw new $TypeError('Assertion failed: `F` must be a function'); - } - if (!IsExtensible(F) || has(F, 'name')) { - throw new $TypeError('Assertion failed: `F` must be extensible, and must not have a `name` own property'); - } - var nameType = Type(name); - if (nameType !== 'Symbol' && nameType !== 'String') { - throw new $TypeError('Assertion failed: `name` must be a Symbol or a String'); - } - if (nameType === 'Symbol') { - var description = getSymbolDescription(name); - // eslint-disable-next-line no-param-reassign - name = typeof description === 'undefined' ? '' : '[' + description + ']'; - } - if (arguments.length > 2) { - var prefix = arguments[2]; - // eslint-disable-next-line no-param-reassign - name = prefix + ' ' + name; - } - return DefinePropertyOrThrow(F, 'name', { - '[[Value]]': name, - '[[Writable]]': false, - '[[Enumerable]]': false, - '[[Configurable]]': true - }); -}; diff --git a/node_modules/es-abstract/2015/SetIntegrityLevel.js b/node_modules/es-abstract/2015/SetIntegrityLevel.js deleted file mode 100644 index 1ac7d61e2..000000000 --- a/node_modules/es-abstract/2015/SetIntegrityLevel.js +++ /dev/null @@ -1,57 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); -var $preventExtensions = GetIntrinsic('%Object.preventExtensions%'); -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); - -var forEach = require('../helpers/forEach'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel - -module.exports = function SetIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - if (!$preventExtensions) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.preventExtensions` support'); - } - var status = $preventExtensions(O); - if (!status) { - return false; - } - if (!$gOPN) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.getOwnPropertyNames` support'); - } - var theKeys = $gOPN(O); - if (level === 'sealed') { - forEach(theKeys, function (k) { - DefinePropertyOrThrow(O, k, { configurable: false }); - }); - } else if (level === 'frozen') { - forEach(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - var desc; - if (IsAccessorDescriptor(ToPropertyDescriptor(currentDesc))) { - desc = { configurable: false }; - } else { - desc = { configurable: false, writable: false }; - } - DefinePropertyOrThrow(O, k, desc); - } - }); - } - return true; -}; diff --git a/node_modules/es-abstract/2015/SpeciesConstructor.js b/node_modules/es-abstract/2015/SpeciesConstructor.js deleted file mode 100644 index 491eb9b87..000000000 --- a/node_modules/es-abstract/2015/SpeciesConstructor.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - -module.exports = function SpeciesConstructor(O, defaultConstructor) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (Type(C) !== 'Object') { - throw new $TypeError('O.constructor is not an Object'); - } - var S = $species ? C[$species] : void 0; - if (S == null) { - return defaultConstructor; - } - if (IsConstructor(S)) { - return S; - } - throw new $TypeError('no constructor found'); -}; diff --git a/node_modules/es-abstract/2015/SplitMatch.js b/node_modules/es-abstract/2015/SplitMatch.js deleted file mode 100644 index 8ab05355e..000000000 --- a/node_modules/es-abstract/2015/SplitMatch.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var $charAt = callBound('String.prototype.charAt'); - -// https://262.ecma-international.org/6.0/#sec-splitmatch - -module.exports = function SplitMatch(S, q, R) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(q)) { - throw new $TypeError('Assertion failed: `q` must be an integer'); - } - if (Type(R) !== 'String') { - throw new $TypeError('Assertion failed: `R` must be a String'); - } - var r = R.length; - var s = S.length; - if (q + r > s) { - return false; - } - - for (var i = 0; i < r; i += 1) { - if ($charAt(S, q + i) !== $charAt(R, i)) { - return false; - } - } - - return q + r; -}; diff --git a/node_modules/es-abstract/2015/StrictEqualityComparison.js b/node_modules/es-abstract/2015/StrictEqualityComparison.js deleted file mode 100644 index f3435ba9d..000000000 --- a/node_modules/es-abstract/2015/StrictEqualityComparison.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.9.6 - -module.exports = function StrictEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType !== yType) { - return false; - } - if (xType === 'Undefined' || xType === 'Null') { - return true; - } - return x === y; // shortcut for steps 4-7 -}; diff --git a/node_modules/es-abstract/2015/StringCreate.js b/node_modules/es-abstract/2015/StringCreate.js deleted file mode 100644 index da0c0ea06..000000000 --- a/node_modules/es-abstract/2015/StringCreate.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); -var $StringPrototype = GetIntrinsic('%String.prototype%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var Type = require('./Type'); - -var setProto = require('../helpers/setProto'); - -// https://262.ecma-international.org/6.0/#sec-stringcreate - -module.exports = function StringCreate(value, prototype) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - - var S = $Object(value); - if (S !== $StringPrototype) { - if (setProto) { - setProto(S, prototype); - } else { - throw new $SyntaxError('StringCreate: a `proto` argument that is not `String.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - } - - var length = value.length; - DefinePropertyOrThrow(S, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); - - return S; -}; diff --git a/node_modules/es-abstract/2015/StringGetIndexProperty.js b/node_modules/es-abstract/2015/StringGetIndexProperty.js deleted file mode 100644 index 73043ddad..000000000 --- a/node_modules/es-abstract/2015/StringGetIndexProperty.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $charAt = callBound('String.prototype.charAt'); - -var isString = require('is-string'); -var isNegativeZero = require('is-negative-zero'); -var unbox = require('unbox-primitive'); - -var CanonicalNumericIndexString = require('./CanonicalNumericIndexString'); -var IsInteger = require('./IsInteger'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://262.ecma-international.org/6.0/#sec-stringgetindexproperty - -module.exports = function StringGetIndexProperty(S, P) { - if (typeof S === 'string' || !isString(S)) { - throw new $TypeError('Assertion failed: `S` must be a boxed String Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - - if (Type(P) !== 'String') { - return void undefined; - } - - var index = CanonicalNumericIndexString(P); - if (typeof index === 'undefined' || !IsInteger(index) || isNegativeZero(index)) { - return void undefined; - } - - var str = unbox(S); - var len = str.length; - if (index < 0 || len <= index) { - return void undefined; - } - - var resultStr = $charAt(str, index); - - return { - '[[Configurable]]': false, - '[[Enumerable]]': true, - '[[Value]]': resultStr, - '[[Writable]]': false - }; -}; diff --git a/node_modules/es-abstract/2015/SymbolDescriptiveString.js b/node_modules/es-abstract/2015/SymbolDescriptiveString.js deleted file mode 100644 index 1efd1316b..000000000 --- a/node_modules/es-abstract/2015/SymbolDescriptiveString.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $SymbolToString = callBound('Symbol.prototype.toString', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring - -module.exports = function SymbolDescriptiveString(sym) { - if (Type(sym) !== 'Symbol') { - throw new $TypeError('Assertion failed: `sym` must be a Symbol'); - } - return $SymbolToString(sym); -}; diff --git a/node_modules/es-abstract/2015/TestIntegrityLevel.js b/node_modules/es-abstract/2015/TestIntegrityLevel.js deleted file mode 100644 index cf1649c1b..000000000 --- a/node_modules/es-abstract/2015/TestIntegrityLevel.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var every = require('../helpers/every'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel - -module.exports = function TestIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - var status = IsExtensible(O); - if (status) { - return false; - } - var theKeys = $gOPN(O); - return theKeys.length === 0 || every(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - if (currentDesc.configurable) { - return false; - } - if (level === 'frozen' && IsDataDescriptor(ToPropertyDescriptor(currentDesc)) && currentDesc.writable) { - return false; - } - } - return true; - }); -}; diff --git a/node_modules/es-abstract/2015/TimeClip.js b/node_modules/es-abstract/2015/TimeClip.js deleted file mode 100644 index e416cab4b..000000000 --- a/node_modules/es-abstract/2015/TimeClip.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); -var $Number = GetIntrinsic('%Number%'); - -var $isFinite = require('../helpers/isFinite'); - -var abs = require('./abs'); -var ToNumber = require('./ToNumber'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.14 - -module.exports = function TimeClip(time) { - if (!$isFinite(time) || abs(time) > 8.64e15) { - return NaN; - } - return $Number(new $Date(ToNumber(time))); -}; - diff --git a/node_modules/es-abstract/2015/TimeFromYear.js b/node_modules/es-abstract/2015/TimeFromYear.js deleted file mode 100644 index f3518a41a..000000000 --- a/node_modules/es-abstract/2015/TimeFromYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -var DayFromYear = require('./DayFromYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function TimeFromYear(y) { - return msPerDay * DayFromYear(y); -}; diff --git a/node_modules/es-abstract/2015/TimeWithinDay.js b/node_modules/es-abstract/2015/TimeWithinDay.js deleted file mode 100644 index 2bba83386..000000000 --- a/node_modules/es-abstract/2015/TimeWithinDay.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function TimeWithinDay(t) { - return modulo(t, msPerDay); -}; - diff --git a/node_modules/es-abstract/2015/ToBoolean.js b/node_modules/es-abstract/2015/ToBoolean.js deleted file mode 100644 index 466404bf9..000000000 --- a/node_modules/es-abstract/2015/ToBoolean.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.2 - -module.exports = function ToBoolean(value) { return !!value; }; diff --git a/node_modules/es-abstract/2015/ToDateString.js b/node_modules/es-abstract/2015/ToDateString.js deleted file mode 100644 index e636a9ba6..000000000 --- a/node_modules/es-abstract/2015/ToDateString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Date = GetIntrinsic('%Date%'); - -var $isNaN = require('../helpers/isNaN'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring - -module.exports = function ToDateString(tv) { - if (Type(tv) !== 'Number') { - throw new $TypeError('Assertion failed: `tv` must be a Number'); - } - if ($isNaN(tv)) { - return 'Invalid Date'; - } - return $Date(tv); -}; diff --git a/node_modules/es-abstract/2015/ToInt16.js b/node_modules/es-abstract/2015/ToInt16.js deleted file mode 100644 index cb8e7934b..000000000 --- a/node_modules/es-abstract/2015/ToInt16.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint16 = require('./ToUint16'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 - -module.exports = function ToInt16(argument) { - var int16bit = ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; -}; diff --git a/node_modules/es-abstract/2015/ToInt32.js b/node_modules/es-abstract/2015/ToInt32.js deleted file mode 100644 index b879ccc47..000000000 --- a/node_modules/es-abstract/2015/ToInt32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.5 - -module.exports = function ToInt32(x) { - return ToNumber(x) >> 0; -}; diff --git a/node_modules/es-abstract/2015/ToInt8.js b/node_modules/es-abstract/2015/ToInt8.js deleted file mode 100644 index bc452d826..000000000 --- a/node_modules/es-abstract/2015/ToInt8.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint8 = require('./ToUint8'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 - -module.exports = function ToInt8(argument) { - var int8bit = ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; -}; diff --git a/node_modules/es-abstract/2015/ToInteger.js b/node_modules/es-abstract/2015/ToInteger.js deleted file mode 100644 index 297581809..000000000 --- a/node_modules/es-abstract/2015/ToInteger.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5ToInteger = require('../5/ToInteger'); - -var ToNumber = require('./ToNumber'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger - -module.exports = function ToInteger(value) { - var number = ToNumber(value); - return ES5ToInteger(number); -}; diff --git a/node_modules/es-abstract/2015/ToLength.js b/node_modules/es-abstract/2015/ToLength.js deleted file mode 100644 index 1bef9bed7..000000000 --- a/node_modules/es-abstract/2015/ToLength.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var ToInteger = require('./ToInteger'); - -module.exports = function ToLength(argument) { - var len = ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; -}; diff --git a/node_modules/es-abstract/2015/ToNumber.js b/node_modules/es-abstract/2015/ToNumber.js deleted file mode 100644 index e776bb2b7..000000000 --- a/node_modules/es-abstract/2015/ToNumber.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Number = GetIntrinsic('%Number%'); -var $RegExp = GetIntrinsic('%RegExp%'); -var $parseInteger = GetIntrinsic('%parseInt%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var isPrimitive = require('../helpers/isPrimitive'); - -var $strSlice = callBound('String.prototype.slice'); -var isBinary = regexTester(/^0b[01]+$/i); -var isOctal = regexTester(/^0o[0-7]+$/i); -var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = regexTester(nonWSregex); - -// whitespace from: https://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var $replace = callBound('String.prototype.replace'); -var $trim = function (value) { - return $replace(value, trimRegex, ''); -}; - -var ToPrimitive = require('./ToPrimitive'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber - -module.exports = function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = $trim(value); - if (trimmed !== value) { - return ToNumber(trimmed); - } - } - } - return $Number(value); -}; diff --git a/node_modules/es-abstract/2015/ToObject.js b/node_modules/es-abstract/2015/ToObject.js deleted file mode 100644 index cb26bac06..000000000 --- a/node_modules/es-abstract/2015/ToObject.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toobject - -module.exports = function ToObject(value) { - RequireObjectCoercible(value); - return $Object(value); -}; diff --git a/node_modules/es-abstract/2015/ToPrimitive.js b/node_modules/es-abstract/2015/ToPrimitive.js deleted file mode 100644 index 0fbe9b807..000000000 --- a/node_modules/es-abstract/2015/ToPrimitive.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var toPrimitive = require('es-to-primitive/es2015'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive - -module.exports = function ToPrimitive(input) { - if (arguments.length > 1) { - return toPrimitive(input, arguments[1]); - } - return toPrimitive(input); -}; diff --git a/node_modules/es-abstract/2015/ToPropertyDescriptor.js b/node_modules/es-abstract/2015/ToPropertyDescriptor.js deleted file mode 100644 index 53db87450..000000000 --- a/node_modules/es-abstract/2015/ToPropertyDescriptor.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var has = require('has'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); -var ToBoolean = require('./ToBoolean'); -var IsCallable = require('./IsCallable'); - -// https://262.ecma-international.org/5.1/#sec-8.10.5 - -module.exports = function ToPropertyDescriptor(Obj) { - if (Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !IsCallable(getter)) { - throw new $TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; -}; diff --git a/node_modules/es-abstract/2015/ToPropertyKey.js b/node_modules/es-abstract/2015/ToPropertyKey.js deleted file mode 100644 index fc1bf7d86..000000000 --- a/node_modules/es-abstract/2015/ToPropertyKey.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); - -var ToPrimitive = require('./ToPrimitive'); -var ToString = require('./ToString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey - -module.exports = function ToPropertyKey(argument) { - var key = ToPrimitive(argument, $String); - return typeof key === 'symbol' ? key : ToString(key); -}; diff --git a/node_modules/es-abstract/2015/ToString.js b/node_modules/es-abstract/2015/ToString.js deleted file mode 100644 index 4d494e1e2..000000000 --- a/node_modules/es-abstract/2015/ToString.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tostring - -module.exports = function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); -}; diff --git a/node_modules/es-abstract/2015/ToUint16.js b/node_modules/es-abstract/2015/ToUint16.js deleted file mode 100644 index 633ca8464..000000000 --- a/node_modules/es-abstract/2015/ToUint16.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -// http://262.ecma-international.org/5.1/#sec-9.7 - -module.exports = function ToUint16(value) { - var number = ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x10000); -}; diff --git a/node_modules/es-abstract/2015/ToUint32.js b/node_modules/es-abstract/2015/ToUint32.js deleted file mode 100644 index 2a8e9dd6a..000000000 --- a/node_modules/es-abstract/2015/ToUint32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.6 - -module.exports = function ToUint32(x) { - return ToNumber(x) >>> 0; -}; diff --git a/node_modules/es-abstract/2015/ToUint8.js b/node_modules/es-abstract/2015/ToUint8.js deleted file mode 100644 index 2dfd97cb3..000000000 --- a/node_modules/es-abstract/2015/ToUint8.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 - -module.exports = function ToUint8(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x100); -}; diff --git a/node_modules/es-abstract/2015/ToUint8Clamp.js b/node_modules/es-abstract/2015/ToUint8Clamp.js deleted file mode 100644 index b0b8ce8ed..000000000 --- a/node_modules/es-abstract/2015/ToUint8Clamp.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp - -module.exports = function ToUint8Clamp(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; -}; diff --git a/node_modules/es-abstract/2015/Type.js b/node_modules/es-abstract/2015/Type.js deleted file mode 100644 index 0bd11659c..000000000 --- a/node_modules/es-abstract/2015/Type.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5Type = require('../5/Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values - -module.exports = function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5Type(x); -}; diff --git a/node_modules/es-abstract/2015/ValidateAndApplyPropertyDescriptor.js b/node_modules/es-abstract/2015/ValidateAndApplyPropertyDescriptor.js deleted file mode 100644 index a7fd218ad..000000000 --- a/node_modules/es-abstract/2015/ValidateAndApplyPropertyDescriptor.js +++ /dev/null @@ -1,170 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var isSamePropertyDescriptor = require('../helpers/isSamePropertyDescriptor'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor - -// eslint-disable-next-line max-lines-per-function, max-statements, max-params -module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { - // this uses the ES2017+ logic, since it fixes a number of bugs in the ES2015 logic. - var oType = Type(O); - if (oType !== 'Undefined' && oType !== 'Object') { - throw new $TypeError('Assertion failed: O must be undefined or an Object'); - } - if (Type(extensible) !== 'Boolean') { - throw new $TypeError('Assertion failed: extensible must be a Boolean'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (Type(current) !== 'Undefined' && !isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, current)) { - throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined'); - } - if (oType !== 'Undefined' && !IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: if O is not undefined, P must be a Property Key'); - } - if (Type(current) === 'Undefined') { - if (!extensible) { - return false; - } - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': Desc['[[Configurable]]'], - '[[Enumerable]]': Desc['[[Enumerable]]'], - '[[Value]]': Desc['[[Value]]'], - '[[Writable]]': Desc['[[Writable]]'] - } - ); - } - } else { - if (!IsAccessorDescriptor(Desc)) { - throw new $TypeError('Assertion failed: Desc is not an accessor descriptor'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - } - return true; - } - if (IsGenericDescriptor(Desc) && !('[[Configurable]]' in Desc) && !('[[Enumerable]]' in Desc)) { - return true; - } - if (isSamePropertyDescriptor({ SameValue: SameValue }, Desc, current)) { - return true; // removed by ES2017, but should still be correct - } - // "if every field in Desc is absent, return true" can't really match the assertion that it's a Property Descriptor - if (!current['[[Configurable]]']) { - if (Desc['[[Configurable]]']) { - return false; - } - if ('[[Enumerable]]' in Desc && !Desc['[[Enumerable]]'] === !!current['[[Enumerable]]']) { - return false; - } - } - if (IsGenericDescriptor(Desc)) { - // no further validation is required. - } else if (IsDataDescriptor(current) !== IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - return false; - } - if (IsDataDescriptor(current)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Get]]': undefined - } - ); - } - } else if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Value]]': undefined - } - ); - } - } else if (IsDataDescriptor(current) && IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]'] && !current['[[Writable]]']) { - if ('[[Writable]]' in Desc && Desc['[[Writable]]']) { - return false; - } - if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) { - return false; - } - return true; - } - } else if (IsAccessorDescriptor(current) && IsAccessorDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) { - return false; - } - if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) { - return false; - } - return true; - } - } else { - throw new $TypeError('Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - return true; -}; diff --git a/node_modules/es-abstract/2015/WeekDay.js b/node_modules/es-abstract/2015/WeekDay.js deleted file mode 100644 index 17cf94ca3..000000000 --- a/node_modules/es-abstract/2015/WeekDay.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.6 - -module.exports = function WeekDay(t) { - return modulo(Day(t) + 4, 7); -}; diff --git a/node_modules/es-abstract/2015/YearFromTime.js b/node_modules/es-abstract/2015/YearFromTime.js deleted file mode 100644 index be06ecbc3..000000000 --- a/node_modules/es-abstract/2015/YearFromTime.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); - -var callBound = require('call-bind/callBound'); - -var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function YearFromTime(t) { - // largest y such that this.TimeFromYear(y) <= t - return $getUTCFullYear(new $Date(t)); -}; diff --git a/node_modules/es-abstract/2015/abs.js b/node_modules/es-abstract/2015/abs.js deleted file mode 100644 index 8bc45434d..000000000 --- a/node_modules/es-abstract/2015/abs.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $abs = GetIntrinsic('%Math.abs%'); - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function abs(x) { - return $abs(x); -}; diff --git a/node_modules/es-abstract/2015/floor.js b/node_modules/es-abstract/2015/floor.js deleted file mode 100644 index 8439df064..000000000 --- a/node_modules/es-abstract/2015/floor.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -// var modulo = require('./modulo'); -var $floor = Math.floor; - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function floor(x) { - // return x - modulo(x, 1); - return $floor(x); -}; diff --git a/node_modules/es-abstract/2015/modulo.js b/node_modules/es-abstract/2015/modulo.js deleted file mode 100644 index b94bb52bb..000000000 --- a/node_modules/es-abstract/2015/modulo.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var mod = require('../helpers/mod'); - -// https://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function modulo(x, y) { - return mod(x, y); -}; diff --git a/node_modules/es-abstract/2015/msFromTime.js b/node_modules/es-abstract/2015/msFromTime.js deleted file mode 100644 index a6bae767a..000000000 --- a/node_modules/es-abstract/2015/msFromTime.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerSecond = require('../helpers/timeConstants').msPerSecond; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function msFromTime(t) { - return modulo(t, msPerSecond); -}; diff --git a/node_modules/es-abstract/2015/thisBooleanValue.js b/node_modules/es-abstract/2015/thisBooleanValue.js deleted file mode 100644 index 27075b9c4..000000000 --- a/node_modules/es-abstract/2015/thisBooleanValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object - -module.exports = function thisBooleanValue(value) { - if (Type(value) === 'Boolean') { - return value; - } - - return $BooleanValueOf(value); -}; diff --git a/node_modules/es-abstract/2015/thisNumberValue.js b/node_modules/es-abstract/2015/thisNumberValue.js deleted file mode 100644 index 92968dcdf..000000000 --- a/node_modules/es-abstract/2015/thisNumberValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var Type = require('./Type'); - -var $NumberValueOf = callBound('Number.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object - -module.exports = function thisNumberValue(value) { - if (Type(value) === 'Number') { - return value; - } - - return $NumberValueOf(value); -}; - diff --git a/node_modules/es-abstract/2015/thisStringValue.js b/node_modules/es-abstract/2015/thisStringValue.js deleted file mode 100644 index 8e4274d81..000000000 --- a/node_modules/es-abstract/2015/thisStringValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object - -module.exports = function thisStringValue(value) { - if (Type(value) === 'String') { - return value; - } - - return $StringValueOf(value); -}; diff --git a/node_modules/es-abstract/2015/thisTimeValue.js b/node_modules/es-abstract/2015/thisTimeValue.js deleted file mode 100644 index 12548fa4f..000000000 --- a/node_modules/es-abstract/2015/thisTimeValue.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $DateValueOf = require('call-bind/callBound')('Date.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object - -module.exports = function thisTimeValue(value) { - return $DateValueOf(value); -}; diff --git a/node_modules/es-abstract/2016/AbstractEqualityComparison.js b/node_modules/es-abstract/2016/AbstractEqualityComparison.js deleted file mode 100644 index c776194c1..000000000 --- a/node_modules/es-abstract/2016/AbstractEqualityComparison.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-abstract-equality-comparison - -module.exports = function AbstractEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (xType === 'Boolean') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (yType === 'Boolean') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number' || xType === 'Symbol') && yType === 'Object') { - return AbstractEqualityComparison(x, ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number' || yType === 'Symbol')) { - return AbstractEqualityComparison(ToPrimitive(x), y); - } - return false; -}; diff --git a/node_modules/es-abstract/2016/AbstractRelationalComparison.js b/node_modules/es-abstract/2016/AbstractRelationalComparison.js deleted file mode 100644 index 0dfed5ffe..000000000 --- a/node_modules/es-abstract/2016/AbstractRelationalComparison.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Number = GetIntrinsic('%Number%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var isPrefixOf = require('../helpers/isPrefixOf'); - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.8.5 - -// eslint-disable-next-line max-statements -module.exports = function AbstractRelationalComparison(x, y, LeftFirst) { - if (Type(LeftFirst) !== 'Boolean') { - throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); - } - var px; - var py; - if (LeftFirst) { - px = ToPrimitive(x, $Number); - py = ToPrimitive(y, $Number); - } else { - py = ToPrimitive(y, $Number); - px = ToPrimitive(x, $Number); - } - var bothStrings = Type(px) === 'String' && Type(py) === 'String'; - if (!bothStrings) { - var nx = ToNumber(px); - var ny = ToNumber(py); - if ($isNaN(nx) || $isNaN(ny)) { - return undefined; - } - if ($isFinite(nx) && $isFinite(ny) && nx === ny) { - return false; - } - if (nx === Infinity) { - return false; - } - if (ny === Infinity) { - return true; - } - if (ny === -Infinity) { - return false; - } - if (nx === -Infinity) { - return true; - } - return nx < ny; // by now, these are both nonzero, finite, and not equal - } - if (isPrefixOf(py, px)) { - return false; - } - if (isPrefixOf(px, py)) { - return true; - } - return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f -}; diff --git a/node_modules/es-abstract/2016/AdvanceStringIndex.js b/node_modules/es-abstract/2016/AdvanceStringIndex.js deleted file mode 100644 index 279602b4c..000000000 --- a/node_modules/es-abstract/2016/AdvanceStringIndex.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $charCodeAt = require('call-bind/callBound')('String.prototype.charCodeAt'); - -// https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex - -module.exports = function AdvanceStringIndex(S, index, unicode) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0 and <= 2**53'); - } - if (Type(unicode) !== 'Boolean') { - throw new $TypeError('Assertion failed: `unicode` must be a Boolean'); - } - if (!unicode) { - return index + 1; - } - var length = S.length; - if ((index + 1) >= length) { - return index + 1; - } - - var first = $charCodeAt(S, index); - if (!isLeadingSurrogate(first)) { - return index + 1; - } - - var second = $charCodeAt(S, index + 1); - if (!isTrailingSurrogate(second)) { - return index + 1; - } - - return index + 2; -}; diff --git a/node_modules/es-abstract/2016/ArrayCreate.js b/node_modules/es-abstract/2016/ArrayCreate.js deleted file mode 100644 index 4d20e2e5e..000000000 --- a/node_modules/es-abstract/2016/ArrayCreate.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ArrayPrototype = GetIntrinsic('%Array.prototype%'); -var $RangeError = GetIntrinsic('%RangeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); - -var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; - -var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || ( - // eslint-disable-next-line no-proto, no-negated-condition - [].__proto__ !== $ArrayPrototype - ? null - : function (O, proto) { - O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign - return O; - } -); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraycreate - -module.exports = function ArrayCreate(length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0'); - } - if (length > MAX_ARRAY_LENGTH) { - throw new $RangeError('length is greater than (2**32 - 1)'); - } - var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype; - var A = []; // steps 5 - 7, and 9 - if (proto !== $ArrayPrototype) { // step 8 - if (!$setProto) { - throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - $setProto(A, proto); - } - if (length !== 0) { // bypasses the need for step 2 - A.length = length; - } - /* step 10, the above as a shortcut for the below - OrdinaryDefineOwnProperty(A, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': true - }); - */ - return A; -}; diff --git a/node_modules/es-abstract/2016/ArraySetLength.js b/node_modules/es-abstract/2016/ArraySetLength.js deleted file mode 100644 index 08db9c2e9..000000000 --- a/node_modules/es-abstract/2016/ArraySetLength.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var assign = require('object.assign'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsArray = require('./IsArray'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var OrdinaryDefineOwnProperty = require('./OrdinaryDefineOwnProperty'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var ToUint32 = require('./ToUint32'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraysetlength - -// eslint-disable-next-line max-statements, max-lines-per-function -module.exports = function ArraySetLength(A, Desc) { - if (!IsArray(A)) { - throw new $TypeError('Assertion failed: A must be an Array'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!('[[Value]]' in Desc)) { - return OrdinaryDefineOwnProperty(A, 'length', Desc); - } - var newLenDesc = assign({}, Desc); - var newLen = ToUint32(Desc['[[Value]]']); - var numberLen = ToNumber(Desc['[[Value]]']); - if (newLen !== numberLen) { - throw new $RangeError('Invalid array length'); - } - newLenDesc['[[Value]]'] = newLen; - var oldLenDesc = OrdinaryGetOwnProperty(A, 'length'); - if (!IsDataDescriptor(oldLenDesc)) { - throw new $TypeError('Assertion failed: an array had a non-data descriptor on `length`'); - } - var oldLen = oldLenDesc['[[Value]]']; - if (newLen >= oldLen) { - return OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - } - if (!oldLenDesc['[[Writable]]']) { - return false; - } - var newWritable; - if (!('[[Writable]]' in newLenDesc) || newLenDesc['[[Writable]]']) { - newWritable = true; - } else { - newWritable = false; - newLenDesc['[[Writable]]'] = true; - } - var succeeded = OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - if (!succeeded) { - return false; - } - while (newLen < oldLen) { - oldLen -= 1; - // eslint-disable-next-line no-param-reassign - var deleteSucceeded = delete A[ToString(oldLen)]; - if (!deleteSucceeded) { - newLenDesc['[[Value]]'] = oldLen + 1; - if (!newWritable) { - newLenDesc['[[Writable]]'] = false; - OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - return false; - } - } - } - if (!newWritable) { - return OrdinaryDefineOwnProperty(A, 'length', { '[[Writable]]': false }); - } - return true; -}; diff --git a/node_modules/es-abstract/2016/ArraySpeciesCreate.js b/node_modules/es-abstract/2016/ArraySpeciesCreate.js deleted file mode 100644 index 26d63b5e2..000000000 --- a/node_modules/es-abstract/2016/ArraySpeciesCreate.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsConstructor = require('./IsConstructor'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - -module.exports = function ArraySpeciesCreate(originalArray, length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = IsArray(originalArray); - if (isArray) { - C = Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if ($species && Type(C) === 'Object') { - C = Get(C, $species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // Construct(C, len); -}; - diff --git a/node_modules/es-abstract/2016/Call.js b/node_modules/es-abstract/2016/Call.js deleted file mode 100644 index 4b238c691..000000000 --- a/node_modules/es-abstract/2016/Call.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsArray = require('./IsArray'); - -var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-call - -module.exports = function Call(F, V) { - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - return $apply(F, V, argumentsList); -}; diff --git a/node_modules/es-abstract/2016/CanonicalNumericIndexString.js b/node_modules/es-abstract/2016/CanonicalNumericIndexString.js deleted file mode 100644 index feb878c03..000000000 --- a/node_modules/es-abstract/2016/CanonicalNumericIndexString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - -module.exports = function CanonicalNumericIndexString(argument) { - if (Type(argument) !== 'String') { - throw new $TypeError('Assertion failed: `argument` must be a String'); - } - if (argument === '-0') { return -0; } - var n = ToNumber(argument); - if (SameValue(ToString(n), argument)) { return n; } - return void 0; -}; diff --git a/node_modules/es-abstract/2016/CompletePropertyDescriptor.js b/node_modules/es-abstract/2016/CompletePropertyDescriptor.js deleted file mode 100644 index 548bf415a..000000000 --- a/node_modules/es-abstract/2016/CompletePropertyDescriptor.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - -module.exports = function CompletePropertyDescriptor(Desc) { - /* eslint no-param-reassign: 0 */ - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; -}; diff --git a/node_modules/es-abstract/2016/CreateDataProperty.js b/node_modules/es-abstract/2016/CreateDataProperty.js deleted file mode 100644 index ff5ca3055..000000000 --- a/node_modules/es-abstract/2016/CreateDataProperty.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty - -module.exports = function CreateDataProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = OrdinaryGetOwnProperty(O, P); - var extensible = !oldDesc || IsExtensible(O); - var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']); - if (immutable || !extensible) { - return false; - } - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Value]]': V, - '[[Writable]]': true - } - ); -}; diff --git a/node_modules/es-abstract/2016/CreateDataPropertyOrThrow.js b/node_modules/es-abstract/2016/CreateDataPropertyOrThrow.js deleted file mode 100644 index 2f7c410ba..000000000 --- a/node_modules/es-abstract/2016/CreateDataPropertyOrThrow.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var CreateDataProperty = require('./CreateDataProperty'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - -module.exports = function CreateDataPropertyOrThrow(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; -}; diff --git a/node_modules/es-abstract/2016/CreateHTML.js b/node_modules/es-abstract/2016/CreateHTML.js deleted file mode 100644 index ccded1e65..000000000 --- a/node_modules/es-abstract/2016/CreateHTML.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $replace = callBound('String.prototype.replace'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createhtml - -module.exports = function CreateHTML(string, tag, attribute, value) { - if (Type(tag) !== 'String' || Type(attribute) !== 'String') { - throw new $TypeError('Assertion failed: `tag` and `attribute` must be strings'); - } - var str = RequireObjectCoercible(string); - var S = ToString(str); - var p1 = '<' + tag; - if (attribute !== '') { - var V = ToString(value); - var escapedV = $replace(V, /\x22/g, '"'); - p1 += '\x20' + attribute + '\x3D\x22' + escapedV + '\x22'; - } - return p1 + '>' + S + ''; -}; diff --git a/node_modules/es-abstract/2016/CreateIterResultObject.js b/node_modules/es-abstract/2016/CreateIterResultObject.js deleted file mode 100644 index eea77a512..000000000 --- a/node_modules/es-abstract/2016/CreateIterResultObject.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - -module.exports = function CreateIterResultObject(value, done) { - if (Type(done) !== 'Boolean') { - throw new $TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; -}; diff --git a/node_modules/es-abstract/2016/CreateListFromArrayLike.js b/node_modules/es-abstract/2016/CreateListFromArrayLike.js deleted file mode 100644 index d1bb8b658..000000000 --- a/node_modules/es-abstract/2016/CreateListFromArrayLike.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $indexOf = callBound('Array.prototype.indexOf', true) || callBound('String.prototype.indexOf'); -var $push = callBound('Array.prototype.push'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToLength = require('./ToLength'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createlistfromarraylike -module.exports = function CreateListFromArrayLike(obj) { - var elementTypes = arguments.length > 1 - ? arguments[1] - : ['Undefined', 'Null', 'Boolean', 'String', 'Symbol', 'Number', 'Object']; - - if (Type(obj) !== 'Object') { - throw new $TypeError('Assertion failed: `obj` must be an Object'); - } - if (!IsArray(elementTypes)) { - throw new $TypeError('Assertion failed: `elementTypes`, if provided, must be an array'); - } - var len = ToLength(Get(obj, 'length')); - var list = []; - var index = 0; - while (index < len) { - var indexName = ToString(index); - var next = Get(obj, indexName); - var nextType = Type(next); - if ($indexOf(elementTypes, nextType) < 0) { - throw new $TypeError('item type ' + nextType + ' is not a valid elementType'); - } - $push(list, next); - index += 1; - } - return list; -}; diff --git a/node_modules/es-abstract/2016/CreateMethodProperty.js b/node_modules/es-abstract/2016/CreateMethodProperty.js deleted file mode 100644 index 53274a561..000000000 --- a/node_modules/es-abstract/2016/CreateMethodProperty.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createmethodproperty - -module.exports = function CreateMethodProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var newDesc = { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': V, - '[[Writable]]': true - }; - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - newDesc - ); -}; diff --git a/node_modules/es-abstract/2016/DateFromTime.js b/node_modules/es-abstract/2016/DateFromTime.js deleted file mode 100644 index 20e4f2e4d..000000000 --- a/node_modules/es-abstract/2016/DateFromTime.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); -var MonthFromTime = require('./MonthFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.5 - -module.exports = function DateFromTime(t) { - var m = MonthFromTime(t); - var d = DayWithinYear(t); - if (m === 0) { - return d + 1; - } - if (m === 1) { - return d - 30; - } - var leap = InLeapYear(t); - if (m === 2) { - return d - 58 - leap; - } - if (m === 3) { - return d - 89 - leap; - } - if (m === 4) { - return d - 119 - leap; - } - if (m === 5) { - return d - 150 - leap; - } - if (m === 6) { - return d - 180 - leap; - } - if (m === 7) { - return d - 211 - leap; - } - if (m === 8) { - return d - 242 - leap; - } - if (m === 9) { - return d - 272 - leap; - } - if (m === 10) { - return d - 303 - leap; - } - if (m === 11) { - return d - 333 - leap; - } - throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); -}; diff --git a/node_modules/es-abstract/2016/Day.js b/node_modules/es-abstract/2016/Day.js deleted file mode 100644 index 51d01033c..000000000 --- a/node_modules/es-abstract/2016/Day.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function Day(t) { - return floor(t / msPerDay); -}; diff --git a/node_modules/es-abstract/2016/DayFromYear.js b/node_modules/es-abstract/2016/DayFromYear.js deleted file mode 100644 index 341bf22a6..000000000 --- a/node_modules/es-abstract/2016/DayFromYear.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DayFromYear(y) { - return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400); -}; - diff --git a/node_modules/es-abstract/2016/DayWithinYear.js b/node_modules/es-abstract/2016/DayWithinYear.js deleted file mode 100644 index 4c580940a..000000000 --- a/node_modules/es-abstract/2016/DayWithinYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var DayFromYear = require('./DayFromYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function DayWithinYear(t) { - return Day(t) - DayFromYear(YearFromTime(t)); -}; diff --git a/node_modules/es-abstract/2016/DaysInYear.js b/node_modules/es-abstract/2016/DaysInYear.js deleted file mode 100644 index 7116c6902..000000000 --- a/node_modules/es-abstract/2016/DaysInYear.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DaysInYear(y) { - if (modulo(y, 4) !== 0) { - return 365; - } - if (modulo(y, 100) !== 0) { - return 366; - } - if (modulo(y, 400) !== 0) { - return 365; - } - return 366; -}; diff --git a/node_modules/es-abstract/2016/DefinePropertyOrThrow.js b/node_modules/es-abstract/2016/DefinePropertyOrThrow.js deleted file mode 100644 index 26f2714bb..000000000 --- a/node_modules/es-abstract/2016/DefinePropertyOrThrow.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow - -module.exports = function DefinePropertyOrThrow(O, P, desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var Desc = isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, desc) ? desc : ToPropertyDescriptor(desc); - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor'); - } - - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); -}; diff --git a/node_modules/es-abstract/2016/DeletePropertyOrThrow.js b/node_modules/es-abstract/2016/DeletePropertyOrThrow.js deleted file mode 100644 index 30d5e57c7..000000000 --- a/node_modules/es-abstract/2016/DeletePropertyOrThrow.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow - -module.exports = function DeletePropertyOrThrow(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // eslint-disable-next-line no-param-reassign - var success = delete O[P]; - if (!success) { - throw new $TypeError('Attempt to delete property failed.'); - } - return success; -}; diff --git a/node_modules/es-abstract/2016/EnumerableOwnNames.js b/node_modules/es-abstract/2016/EnumerableOwnNames.js deleted file mode 100644 index e218edad7..000000000 --- a/node_modules/es-abstract/2016/EnumerableOwnNames.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var keys = require('object-keys'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-enumerableownnames - -module.exports = function EnumerableOwnNames(O) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - return keys(O); -}; diff --git a/node_modules/es-abstract/2016/FromPropertyDescriptor.js b/node_modules/es-abstract/2016/FromPropertyDescriptor.js deleted file mode 100644 index 9a69a2605..000000000 --- a/node_modules/es-abstract/2016/FromPropertyDescriptor.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor - -module.exports = function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - var obj = {}; - if ('[[Value]]' in Desc) { - obj.value = Desc['[[Value]]']; - } - if ('[[Writable]]' in Desc) { - obj.writable = Desc['[[Writable]]']; - } - if ('[[Get]]' in Desc) { - obj.get = Desc['[[Get]]']; - } - if ('[[Set]]' in Desc) { - obj.set = Desc['[[Set]]']; - } - if ('[[Enumerable]]' in Desc) { - obj.enumerable = Desc['[[Enumerable]]']; - } - if ('[[Configurable]]' in Desc) { - obj.configurable = Desc['[[Configurable]]']; - } - return obj; -}; diff --git a/node_modules/es-abstract/2016/Get.js b/node_modules/es-abstract/2016/Get.js deleted file mode 100644 index 681055a2f..000000000 --- a/node_modules/es-abstract/2016/Get.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var inspect = require('object-inspect'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -/** - * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - -module.exports = function Get(O, P) { - // 7.3.1.1 - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); - } - // 7.3.1.3 - return O[P]; -}; diff --git a/node_modules/es-abstract/2016/GetIterator.js b/node_modules/es-abstract/2016/GetIterator.js deleted file mode 100644 index a2d3b16cb..000000000 --- a/node_modules/es-abstract/2016/GetIterator.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getIteratorMethod = require('../helpers/getIteratorMethod'); -var AdvanceStringIndex = require('./AdvanceStringIndex'); -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsArray = require('./IsArray'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getiterator - -module.exports = function GetIterator(obj, method) { - var actualMethod = method; - if (arguments.length < 2) { - actualMethod = getIteratorMethod( - { - AdvanceStringIndex: AdvanceStringIndex, - GetMethod: GetMethod, - IsArray: IsArray, - Type: Type - }, - obj - ); - } - var iterator = Call(actualMethod, obj); - if (Type(iterator) !== 'Object') { - throw new $TypeError('iterator must return an object'); - } - - return iterator; -}; diff --git a/node_modules/es-abstract/2016/GetMethod.js b/node_modules/es-abstract/2016/GetMethod.js deleted file mode 100644 index 775d3fb95..000000000 --- a/node_modules/es-abstract/2016/GetMethod.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetV = require('./GetV'); -var IsCallable = require('./IsCallable'); -var IsPropertyKey = require('./IsPropertyKey'); - -/** - * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - -module.exports = function GetMethod(O, P) { - // 7.3.9.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return void 0; - } - - // 7.3.9.5 - if (!IsCallable(func)) { - throw new $TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; -}; diff --git a/node_modules/es-abstract/2016/GetOwnPropertyKeys.js b/node_modules/es-abstract/2016/GetOwnPropertyKeys.js deleted file mode 100644 index b8f4167f7..000000000 --- a/node_modules/es-abstract/2016/GetOwnPropertyKeys.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var hasSymbols = require('has-symbols')(); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $gOPS = hasSymbols && GetIntrinsic('%Object.getOwnPropertySymbols%'); -var keys = require('object-keys'); - -var esType = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys - -module.exports = function GetOwnPropertyKeys(O, Type) { - if (esType(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (Type === 'Symbol') { - return $gOPS ? $gOPS(O) : []; - } - if (Type === 'String') { - if (!$gOPN) { - return keys(O); - } - return $gOPN(O); - } - throw new $TypeError('Assertion failed: `Type` must be `"String"` or `"Symbol"`'); -}; diff --git a/node_modules/es-abstract/2016/GetPrototypeFromConstructor.js b/node_modules/es-abstract/2016/GetPrototypeFromConstructor.js deleted file mode 100644 index 5f369cad8..000000000 --- a/node_modules/es-abstract/2016/GetPrototypeFromConstructor.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Function = GetIntrinsic('%Function%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getprototypefromconstructor - -module.exports = function GetPrototypeFromConstructor(constructor, intrinsicDefaultProto) { - var intrinsic = GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - if (!IsConstructor(constructor)) { - throw new $TypeError('Assertion failed: `constructor` must be a constructor'); - } - var proto = Get(constructor, 'prototype'); - if (Type(proto) !== 'Object') { - if (!(constructor instanceof $Function)) { - // ignore other realms, for now - throw new $TypeError('cross-realm constructors not currently supported'); - } - proto = intrinsic; - } - return proto; -}; diff --git a/node_modules/es-abstract/2016/GetSubstitution.js b/node_modules/es-abstract/2016/GetSubstitution.js deleted file mode 100644 index 5bdce38b6..000000000 --- a/node_modules/es-abstract/2016/GetSubstitution.js +++ /dev/null @@ -1,104 +0,0 @@ - -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $parseInt = GetIntrinsic('%parseInt%'); - -var inspect = require('object-inspect'); - -var regexTester = require('../helpers/regexTester'); -var callBound = require('call-bind/callBound'); -var every = require('../helpers/every'); - -var isDigit = regexTester(/^[0-9]$/); - -var $charAt = callBound('String.prototype.charAt'); -var $strSlice = callBound('String.prototype.slice'); - -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var canDistinguishSparseFromUndefined = 0 in [undefined]; // IE 6 - 8 have a bug where this returns false - -var isStringOrHole = function (capture, index, arr) { - return Type(capture) === 'String' || (canDistinguishSparseFromUndefined ? !(index in arr) : Type(capture) === 'Undefined'); -}; - -// https://ecma-international.org/ecma-262/6.0/#sec-getsubstitution - -// eslint-disable-next-line max-statements, max-params, max-lines-per-function -module.exports = function GetSubstitution(matched, str, position, captures, replacement) { - if (Type(matched) !== 'String') { - throw new $TypeError('Assertion failed: `matched` must be a String'); - } - var matchLength = matched.length; - - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `str` must be a String'); - } - var stringLength = str.length; - - if (!IsInteger(position) || position < 0 || position > stringLength) { - throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got ' + inspect(position)); - } - - if (!IsArray(captures) || !every(captures, isStringOrHole)) { - throw new $TypeError('Assertion failed: `captures` must be a List of Strings, got ' + inspect(captures)); - } - - if (Type(replacement) !== 'String') { - throw new $TypeError('Assertion failed: `replacement` must be a String'); - } - - var tailPos = position + matchLength; - var m = captures.length; - - var result = ''; - for (var i = 0; i < replacement.length; i += 1) { - // if this is a $, and it's not the end of the replacement - var current = $charAt(replacement, i); - var isLast = (i + 1) >= replacement.length; - var nextIsLast = (i + 2) >= replacement.length; - if (current === '$' && !isLast) { - var next = $charAt(replacement, i + 1); - if (next === '$') { - result += '$'; - i += 1; - } else if (next === '&') { - result += matched; - i += 1; - } else if (next === '`') { - result += position === 0 ? '' : $strSlice(str, 0, position - 1); - i += 1; - } else if (next === "'") { - result += tailPos >= stringLength ? '' : $strSlice(str, tailPos); - i += 1; - } else { - var nextNext = nextIsLast ? null : $charAt(replacement, i + 2); - if (isDigit(next) && next !== '0' && (nextIsLast || !isDigit(nextNext))) { - // $1 through $9, and not followed by a digit - var n = $parseInt(next, 10); - // if (n > m, impl-defined) - result += n <= m && Type(captures[n - 1]) === 'Undefined' ? '' : captures[n - 1]; - i += 1; - } else if (isDigit(next) && (nextIsLast || isDigit(nextNext))) { - // $00 through $99 - var nn = next + nextNext; - var nnI = $parseInt(nn, 10) - 1; - // if nn === '00' or nn > m, impl-defined - result += nn <= m && Type(captures[nnI]) === 'Undefined' ? '' : captures[nnI]; - i += 2; - } else { - result += '$'; - } - } - } else { - // the final $, or else not a $ - result += $charAt(replacement, i); - } - } - return result; -}; diff --git a/node_modules/es-abstract/2016/GetV.js b/node_modules/es-abstract/2016/GetV.js deleted file mode 100644 index 2d8cc8246..000000000 --- a/node_modules/es-abstract/2016/GetV.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var ToObject = require('./ToObject'); - -/** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - -module.exports = function GetV(V, P) { - // 7.3.2.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = ToObject(V); - - // 7.3.2.4 - return O[P]; -}; diff --git a/node_modules/es-abstract/2016/HasOwnProperty.js b/node_modules/es-abstract/2016/HasOwnProperty.js deleted file mode 100644 index 04d28495f..000000000 --- a/node_modules/es-abstract/2016/HasOwnProperty.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var has = require('has'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - -module.exports = function HasOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return has(O, P); -}; diff --git a/node_modules/es-abstract/2016/HasProperty.js b/node_modules/es-abstract/2016/HasProperty.js deleted file mode 100644 index b341654e7..000000000 --- a/node_modules/es-abstract/2016/HasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - -module.exports = function HasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2016/HourFromTime.js b/node_modules/es-abstract/2016/HourFromTime.js deleted file mode 100644 index f963bfb68..000000000 --- a/node_modules/es-abstract/2016/HourFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerHour = timeConstants.msPerHour; -var HoursPerDay = timeConstants.HoursPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function HourFromTime(t) { - return modulo(floor(t / msPerHour), HoursPerDay); -}; diff --git a/node_modules/es-abstract/2016/InLeapYear.js b/node_modules/es-abstract/2016/InLeapYear.js deleted file mode 100644 index bfe0c451f..000000000 --- a/node_modules/es-abstract/2016/InLeapYear.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DaysInYear = require('./DaysInYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function InLeapYear(t) { - var days = DaysInYear(YearFromTime(t)); - if (days === 365) { - return 0; - } - if (days === 366) { - return 1; - } - throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); -}; diff --git a/node_modules/es-abstract/2016/InstanceofOperator.js b/node_modules/es-abstract/2016/InstanceofOperator.js deleted file mode 100644 index a3c4d2375..000000000 --- a/node_modules/es-abstract/2016/InstanceofOperator.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $hasInstance = GetIntrinsic('Symbol.hasInstance', true); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var OrdinaryHasInstance = require('./OrdinaryHasInstance'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-instanceofoperator - -module.exports = function InstanceofOperator(O, C) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var instOfHandler = $hasInstance ? GetMethod(C, $hasInstance) : void 0; - if (typeof instOfHandler !== 'undefined') { - return ToBoolean(Call(instOfHandler, C, [O])); - } - if (!IsCallable(C)) { - throw new $TypeError('`C` is not Callable'); - } - return OrdinaryHasInstance(C, O); -}; diff --git a/node_modules/es-abstract/2016/Invoke.js b/node_modules/es-abstract/2016/Invoke.js deleted file mode 100644 index d4214ee51..000000000 --- a/node_modules/es-abstract/2016/Invoke.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var IsArray = require('./IsArray'); -var GetV = require('./GetV'); -var IsPropertyKey = require('./IsPropertyKey'); - -// https://ecma-international.org/ecma-262/6.0/#sec-invoke - -module.exports = function Invoke(O, P) { - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - var func = GetV(O, P); - return Call(func, O, argumentsList); -}; diff --git a/node_modules/es-abstract/2016/IsAccessorDescriptor.js b/node_modules/es-abstract/2016/IsAccessorDescriptor.js deleted file mode 100644 index 78563e7ec..000000000 --- a/node_modules/es-abstract/2016/IsAccessorDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor - -module.exports = function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2016/IsArray.js b/node_modules/es-abstract/2016/IsArray.js deleted file mode 100644 index f933cec03..000000000 --- a/node_modules/es-abstract/2016/IsArray.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); - -// eslint-disable-next-line global-require -var toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isarray - -module.exports = $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; -}; diff --git a/node_modules/es-abstract/2016/IsCallable.js b/node_modules/es-abstract/2016/IsCallable.js deleted file mode 100644 index 3a69b1926..000000000 --- a/node_modules/es-abstract/2016/IsCallable.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.11 - -module.exports = require('is-callable'); diff --git a/node_modules/es-abstract/2016/IsConcatSpreadable.js b/node_modules/es-abstract/2016/IsConcatSpreadable.js deleted file mode 100644 index 141b33414..000000000 --- a/node_modules/es-abstract/2016/IsConcatSpreadable.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $isConcatSpreadable = GetIntrinsic('%Symbol.isConcatSpreadable%', true); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - -module.exports = function IsConcatSpreadable(O) { - if (Type(O) !== 'Object') { - return false; - } - if ($isConcatSpreadable) { - var spreadable = Get(O, $isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return ToBoolean(spreadable); - } - } - return IsArray(O); -}; diff --git a/node_modules/es-abstract/2016/IsConstructor.js b/node_modules/es-abstract/2016/IsConstructor.js deleted file mode 100644 index fe626e183..000000000 --- a/node_modules/es-abstract/2016/IsConstructor.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('../GetIntrinsic.js'); - -var $construct = GetIntrinsic('%Reflect.construct%', true); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -try { - DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} }); -} catch (e) { - // Accessor properties aren't supported - DefinePropertyOrThrow = null; -} - -// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor - -if (DefinePropertyOrThrow && $construct) { - var isConstructorMarker = {}; - var badArrayLike = {}; - DefinePropertyOrThrow(badArrayLike, 'length', { - '[[Get]]': function () { - throw isConstructorMarker; - }, - '[[Enumerable]]': true - }); - - module.exports = function IsConstructor(argument) { - try { - // `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`: - $construct(argument, badArrayLike); - } catch (err) { - return err === isConstructorMarker; - } - }; -} else { - module.exports = function IsConstructor(argument) { - // unfortunately there's no way to truly check this without try/catch `new argument` in old environments - return typeof argument === 'function' && !!argument.prototype; - }; -} diff --git a/node_modules/es-abstract/2016/IsDataDescriptor.js b/node_modules/es-abstract/2016/IsDataDescriptor.js deleted file mode 100644 index 00d14a60e..000000000 --- a/node_modules/es-abstract/2016/IsDataDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor - -module.exports = function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2016/IsExtensible.js b/node_modules/es-abstract/2016/IsExtensible.js deleted file mode 100644 index 9df5b80b1..000000000 --- a/node_modules/es-abstract/2016/IsExtensible.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var isPrimitive = require('../helpers/isPrimitive'); - -var $preventExtensions = $Object.preventExtensions; -var $isExtensible = $Object.isExtensible; - -// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o - -module.exports = $preventExtensions - ? function IsExtensible(obj) { - return !isPrimitive(obj) && $isExtensible(obj); - } - : function IsExtensible(obj) { - return !isPrimitive(obj); - }; diff --git a/node_modules/es-abstract/2016/IsGenericDescriptor.js b/node_modules/es-abstract/2016/IsGenericDescriptor.js deleted file mode 100644 index 95b1d353c..000000000 --- a/node_modules/es-abstract/2016/IsGenericDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isgenericdescriptor - -module.exports = function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) { - return true; - } - - return false; -}; diff --git a/node_modules/es-abstract/2016/IsInteger.js b/node_modules/es-abstract/2016/IsInteger.js deleted file mode 100644 index f4d1a2a7c..000000000 --- a/node_modules/es-abstract/2016/IsInteger.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isinteger - -module.exports = function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var absValue = abs(argument); - return floor(absValue) === absValue; -}; diff --git a/node_modules/es-abstract/2016/IsPromise.js b/node_modules/es-abstract/2016/IsPromise.js deleted file mode 100644 index a551ae0c8..000000000 --- a/node_modules/es-abstract/2016/IsPromise.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $PromiseThen = callBound('Promise.prototype.then', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ispromise - -module.exports = function IsPromise(x) { - if (Type(x) !== 'Object') { - return false; - } - if (!$PromiseThen) { // Promises are not supported - return false; - } - try { - $PromiseThen(x); // throws if not a promise - } catch (e) { - return false; - } - return true; -}; diff --git a/node_modules/es-abstract/2016/IsPropertyDescriptor.js b/node_modules/es-abstract/2016/IsPropertyDescriptor.js deleted file mode 100644 index 4cfe79bbe..000000000 --- a/node_modules/es-abstract/2016/IsPropertyDescriptor.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -// TODO, semver-major: delete this - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var Type = require('./Type'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); - -// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type - -module.exports = function IsPropertyDescriptor(Desc) { - return isPropertyDescriptor({ - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor, - Type: Type - }, Desc); -}; diff --git a/node_modules/es-abstract/2016/IsPropertyKey.js b/node_modules/es-abstract/2016/IsPropertyKey.js deleted file mode 100644 index f43ab581c..000000000 --- a/node_modules/es-abstract/2016/IsPropertyKey.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey - -module.exports = function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; -}; diff --git a/node_modules/es-abstract/2016/IsRegExp.js b/node_modules/es-abstract/2016/IsRegExp.js deleted file mode 100644 index e1054813f..000000000 --- a/node_modules/es-abstract/2016/IsRegExp.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $match = GetIntrinsic('%Symbol.match%', true); - -var hasRegExpMatcher = require('is-regex'); - -var ToBoolean = require('./ToBoolean'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isregexp - -module.exports = function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if ($match) { - var isRegExp = argument[$match]; - if (typeof isRegExp !== 'undefined') { - return ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); -}; diff --git a/node_modules/es-abstract/2016/IterableToArrayLike.js b/node_modules/es-abstract/2016/IterableToArrayLike.js deleted file mode 100644 index a16bbba86..000000000 --- a/node_modules/es-abstract/2016/IterableToArrayLike.js +++ /dev/null @@ -1,56 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var $arrayPush = callBound('Array.prototype.push'); - -var getIteratorMethod = require('../helpers/getIteratorMethod'); -var AdvanceStringIndex = require('./AdvanceStringIndex'); -var GetIterator = require('./GetIterator'); -var GetMethod = require('./GetMethod'); -var IsArray = require('./IsArray'); -var IteratorStep = require('./IteratorStep'); -var IteratorValue = require('./IteratorValue'); -var ToObject = require('./ToObject'); -var Type = require('./Type'); -var ES = { - AdvanceStringIndex: AdvanceStringIndex, - GetMethod: GetMethod, - IsArray: IsArray, - Type: Type -}; - -// https://262.ecma-international.org/7.0/#sec-iterabletoarraylike -/** - * 1. Let usingIterator be ? GetMethod(items, @@iterator). - * 2. If usingIterator is not undefined, then - * 1. Let iterator be ? GetIterator(items, usingIterator). - * 2. Let values be a new empty List. - * 3. Let next be true. - * 4. Repeat, while next is not false - * 1. Let next be ? IteratorStep(iterator). - * 2. If next is not false, then - * 1. Let nextValue be ? IteratorValue(next). - * 2. Append nextValue to the end of the List values. - * 5. Return CreateArrayFromList(values). - * 3. NOTE: items is not an Iterable so assume it is already an array-like object. - * 4. Return ! ToObject(items). - */ - -module.exports = function IterableToArrayLike(items) { - var usingIterator = getIteratorMethod(ES, items); - if (typeof usingIterator !== 'undefined') { - var iterator = GetIterator(items, usingIterator); - var values = []; - var next = true; - while (next) { - next = IteratorStep(iterator); - if (next) { - var nextValue = IteratorValue(next); - $arrayPush(values, nextValue); - } - } - return values; - } - - return ToObject(items); -}; diff --git a/node_modules/es-abstract/2016/IteratorClose.js b/node_modules/es-abstract/2016/IteratorClose.js deleted file mode 100644 index dd1118df7..000000000 --- a/node_modules/es-abstract/2016/IteratorClose.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose - -module.exports = function IteratorClose(iterator, completion) { - if (Type(iterator) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterator) is not Object'); - } - if (!IsCallable(completion)) { - throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); - } - var completionThunk = completion; - - var iteratorReturn = GetMethod(iterator, 'return'); - - if (typeof iteratorReturn === 'undefined') { - return completionThunk(); - } - - var completionRecord; - try { - var innerResult = Call(iteratorReturn, iterator, []); - } catch (e) { - // if we hit here, then "e" is the innerResult completion that needs re-throwing - - // if the completion is of type "throw", this will throw. - completionThunk(); - completionThunk = null; // ensure it's not called twice. - - // if not, then return the innerResult completion - throw e; - } - completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does - completionThunk = null; // ensure it's not called twice. - - if (Type(innerResult) !== 'Object') { - throw new $TypeError('iterator .return must return an object'); - } - - return completionRecord; -}; diff --git a/node_modules/es-abstract/2016/IteratorComplete.js b/node_modules/es-abstract/2016/IteratorComplete.js deleted file mode 100644 index ed4efa37d..000000000 --- a/node_modules/es-abstract/2016/IteratorComplete.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete - -module.exports = function IteratorComplete(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return ToBoolean(Get(iterResult, 'done')); -}; diff --git a/node_modules/es-abstract/2016/IteratorNext.js b/node_modules/es-abstract/2016/IteratorNext.js deleted file mode 100644 index cf80655b9..000000000 --- a/node_modules/es-abstract/2016/IteratorNext.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Invoke = require('./Invoke'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratornext - -module.exports = function IteratorNext(iterator, value) { - var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); - if (Type(result) !== 'Object') { - throw new $TypeError('iterator next must return an object'); - } - return result; -}; diff --git a/node_modules/es-abstract/2016/IteratorStep.js b/node_modules/es-abstract/2016/IteratorStep.js deleted file mode 100644 index 41b9d1b25..000000000 --- a/node_modules/es-abstract/2016/IteratorStep.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var IteratorComplete = require('./IteratorComplete'); -var IteratorNext = require('./IteratorNext'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep - -module.exports = function IteratorStep(iterator) { - var result = IteratorNext(iterator); - var done = IteratorComplete(result); - return done === true ? false : result; -}; - diff --git a/node_modules/es-abstract/2016/IteratorValue.js b/node_modules/es-abstract/2016/IteratorValue.js deleted file mode 100644 index d15d8aebb..000000000 --- a/node_modules/es-abstract/2016/IteratorValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue - -module.exports = function IteratorValue(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return Get(iterResult, 'value'); -}; - diff --git a/node_modules/es-abstract/2016/MakeDate.js b/node_modules/es-abstract/2016/MakeDate.js deleted file mode 100644 index efeb6452e..000000000 --- a/node_modules/es-abstract/2016/MakeDate.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.13 - -module.exports = function MakeDate(day, time) { - if (!$isFinite(day) || !$isFinite(time)) { - return NaN; - } - return (day * msPerDay) + time; -}; diff --git a/node_modules/es-abstract/2016/MakeDay.js b/node_modules/es-abstract/2016/MakeDay.js deleted file mode 100644 index 13f568633..000000000 --- a/node_modules/es-abstract/2016/MakeDay.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $DateUTC = GetIntrinsic('%Date.UTC%'); - -var $isFinite = require('../helpers/isFinite'); - -var DateFromTime = require('./DateFromTime'); -var Day = require('./Day'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var MonthFromTime = require('./MonthFromTime'); -var ToInteger = require('./ToInteger'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.12 - -module.exports = function MakeDay(year, month, date) { - if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { - return NaN; - } - var y = ToInteger(year); - var m = ToInteger(month); - var dt = ToInteger(date); - var ym = y + floor(m / 12); - var mn = modulo(m, 12); - var t = $DateUTC(ym, mn, 1); - if (YearFromTime(t) !== ym || MonthFromTime(t) !== mn || DateFromTime(t) !== 1) { - return NaN; - } - return Day(t) + dt - 1; -}; diff --git a/node_modules/es-abstract/2016/MakeTime.js b/node_modules/es-abstract/2016/MakeTime.js deleted file mode 100644 index 34cb4dcca..000000000 --- a/node_modules/es-abstract/2016/MakeTime.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var msPerMinute = timeConstants.msPerMinute; -var msPerHour = timeConstants.msPerHour; - -var ToInteger = require('./ToInteger'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.11 - -module.exports = function MakeTime(hour, min, sec, ms) { - if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { - return NaN; - } - var h = ToInteger(hour); - var m = ToInteger(min); - var s = ToInteger(sec); - var milli = ToInteger(ms); - var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; - return t; -}; diff --git a/node_modules/es-abstract/2016/MinFromTime.js b/node_modules/es-abstract/2016/MinFromTime.js deleted file mode 100644 index a0c631d4c..000000000 --- a/node_modules/es-abstract/2016/MinFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerMinute = timeConstants.msPerMinute; -var MinutesPerHour = timeConstants.MinutesPerHour; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function MinFromTime(t) { - return modulo(floor(t / msPerMinute), MinutesPerHour); -}; diff --git a/node_modules/es-abstract/2016/MonthFromTime.js b/node_modules/es-abstract/2016/MonthFromTime.js deleted file mode 100644 index a482a7df9..000000000 --- a/node_modules/es-abstract/2016/MonthFromTime.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function MonthFromTime(t) { - var day = DayWithinYear(t); - if (0 <= day && day < 31) { - return 0; - } - var leap = InLeapYear(t); - if (31 <= day && day < (59 + leap)) { - return 1; - } - if ((59 + leap) <= day && day < (90 + leap)) { - return 2; - } - if ((90 + leap) <= day && day < (120 + leap)) { - return 3; - } - if ((120 + leap) <= day && day < (151 + leap)) { - return 4; - } - if ((151 + leap) <= day && day < (181 + leap)) { - return 5; - } - if ((181 + leap) <= day && day < (212 + leap)) { - return 6; - } - if ((212 + leap) <= day && day < (243 + leap)) { - return 7; - } - if ((243 + leap) <= day && day < (273 + leap)) { - return 8; - } - if ((273 + leap) <= day && day < (304 + leap)) { - return 9; - } - if ((304 + leap) <= day && day < (334 + leap)) { - return 10; - } - if ((334 + leap) <= day && day < (365 + leap)) { - return 11; - } -}; diff --git a/node_modules/es-abstract/2016/ObjectCreate.js b/node_modules/es-abstract/2016/ObjectCreate.js deleted file mode 100644 index 2851a646d..000000000 --- a/node_modules/es-abstract/2016/ObjectCreate.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ObjectCreate = GetIntrinsic('%Object.create%', true); -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); - -var Type = require('./Type'); - -var hasProto = !({ __proto__: null } instanceof Object); - -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate - -module.exports = function ObjectCreate(proto, internalSlotsList) { - if (proto !== null && Type(proto) !== 'Object') { - throw new $TypeError('Assertion failed: `proto` must be null or an object'); - } - var slots = arguments.length < 2 ? [] : internalSlotsList; - if (slots.length > 0) { - throw new $SyntaxError('es-abstract does not yet support internal slots'); - } - - if ($ObjectCreate) { - return $ObjectCreate(proto); - } - if (hasProto) { - return { __proto__: proto }; - } - - if (proto === null) { - throw new $SyntaxError('native Object.create support is required to create null objects'); - } - var T = function T() {}; - T.prototype = proto; - return new T(); -}; diff --git a/node_modules/es-abstract/2016/OrdinaryCreateFromConstructor.js b/node_modules/es-abstract/2016/OrdinaryCreateFromConstructor.js deleted file mode 100644 index e2a299eaa..000000000 --- a/node_modules/es-abstract/2016/OrdinaryCreateFromConstructor.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); -var IsArray = require('./IsArray'); -var ObjectCreate = require('./ObjectCreate'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor - -module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { - GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - var proto = GetPrototypeFromConstructor(constructor, intrinsicDefaultProto); - var slots = arguments.length < 3 ? [] : arguments[2]; - if (!IsArray(slots)) { - throw new $TypeError('Assertion failed: if provided, `internalSlotsList` must be a List'); - } - return ObjectCreate(proto, slots); -}; diff --git a/node_modules/es-abstract/2016/OrdinaryDefineOwnProperty.js b/node_modules/es-abstract/2016/OrdinaryDefineOwnProperty.js deleted file mode 100644 index 5d33aa6d6..000000000 --- a/node_modules/es-abstract/2016/OrdinaryDefineOwnProperty.js +++ /dev/null @@ -1,61 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); -var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty - -module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!$gOPD) { - // ES3/IE 8 fallback - if (IsAccessorDescriptor(Desc)) { - throw new $SyntaxError('This environment does not support accessor property descriptors.'); - } - var creatingNormalDataProperty = !(P in O) - && Desc['[[Writable]]'] - && Desc['[[Enumerable]]'] - && Desc['[[Configurable]]'] - && '[[Value]]' in Desc; - var settingExistingDataProperty = (P in O) - && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) - && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) - && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) - && '[[Value]]' in Desc; - if (creatingNormalDataProperty || settingExistingDataProperty) { - O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign - return SameValue(O[P], Desc['[[Value]]']); - } - throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties'); - } - var desc = $gOPD(O, P); - var current = desc && ToPropertyDescriptor(desc); - var extensible = IsExtensible(O); - return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current); -}; diff --git a/node_modules/es-abstract/2016/OrdinaryGetOwnProperty.js b/node_modules/es-abstract/2016/OrdinaryGetOwnProperty.js deleted file mode 100644 index 3d11e9fad..000000000 --- a/node_modules/es-abstract/2016/OrdinaryGetOwnProperty.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var has = require('has'); - -var IsArray = require('./IsArray'); -var IsPropertyKey = require('./IsPropertyKey'); -var IsRegExp = require('./IsRegExp'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty - -module.exports = function OrdinaryGetOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!has(O, P)) { - return void 0; - } - if (!$gOPD) { - // ES3 / IE 8 fallback - var arrayLength = IsArray(O) && P === 'length'; - var regexLastIndex = IsRegExp(O) && P === 'lastIndex'; - return { - '[[Configurable]]': !(arrayLength || regexLastIndex), - '[[Enumerable]]': $isEnumerable(O, P), - '[[Value]]': O[P], - '[[Writable]]': true - }; - } - return ToPropertyDescriptor($gOPD(O, P)); -}; diff --git a/node_modules/es-abstract/2016/OrdinaryGetPrototypeOf.js b/node_modules/es-abstract/2016/OrdinaryGetPrototypeOf.js deleted file mode 100644 index ba17b9887..000000000 --- a/node_modules/es-abstract/2016/OrdinaryGetPrototypeOf.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $getProto = require('../helpers/getProto'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof - -module.exports = function OrdinaryGetPrototypeOf(O) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!$getProto) { - throw new $TypeError('This environment does not support fetching prototypes.'); - } - return $getProto(O); -}; diff --git a/node_modules/es-abstract/2016/OrdinaryHasInstance.js b/node_modules/es-abstract/2016/OrdinaryHasInstance.js deleted file mode 100644 index 85a240ca2..000000000 --- a/node_modules/es-abstract/2016/OrdinaryHasInstance.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance - -module.exports = function OrdinaryHasInstance(C, O) { - if (IsCallable(C) === false) { - return false; - } - if (Type(O) !== 'Object') { - return false; - } - var P = Get(C, 'prototype'); - if (Type(P) !== 'Object') { - throw new $TypeError('OrdinaryHasInstance called on an object with an invalid prototype property.'); - } - return O instanceof C; -}; diff --git a/node_modules/es-abstract/2016/OrdinaryHasProperty.js b/node_modules/es-abstract/2016/OrdinaryHasProperty.js deleted file mode 100644 index dd09ca3b1..000000000 --- a/node_modules/es-abstract/2016/OrdinaryHasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasproperty - -module.exports = function OrdinaryHasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2016/OrdinarySetPrototypeOf.js b/node_modules/es-abstract/2016/OrdinarySetPrototypeOf.js deleted file mode 100644 index d0ff7a7c2..000000000 --- a/node_modules/es-abstract/2016/OrdinarySetPrototypeOf.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $setProto = require('../helpers/setProto'); - -var OrdinaryGetPrototypeOf = require('./OrdinaryGetPrototypeOf'); -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof - -module.exports = function OrdinarySetPrototypeOf(O, V) { - if (Type(V) !== 'Object' && Type(V) !== 'Null') { - throw new $TypeError('Assertion failed: V must be Object or Null'); - } - /* - var extensible = IsExtensible(O); - var current = OrdinaryGetPrototypeOf(O); - if (SameValue(V, current)) { - return true; - } - if (!extensible) { - return false; - } - */ - try { - $setProto(O, V); - } catch (e) { - return false; - } - return OrdinaryGetPrototypeOf(O) === V; - /* - var p = V; - var done = false; - while (!done) { - if (p === null) { - done = true; - } else if (SameValue(p, O)) { - return false; - } else { - if (wat) { - done = true; - } else { - p = p.[[Prototype]]; - } - } - } - O.[[Prototype]] = V; - return true; - */ -}; diff --git a/node_modules/es-abstract/2016/QuoteJSONString.js b/node_modules/es-abstract/2016/QuoteJSONString.js deleted file mode 100644 index 884afef25..000000000 --- a/node_modules/es-abstract/2016/QuoteJSONString.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); -var $numberToString = callBound('Number.prototype.toString'); -var $toLowerCase = callBound('String.prototype.toLowerCase'); -var $strSlice = callBound('String.prototype.slice'); -var $strSplit = callBound('String.prototype.split'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-quotejsonstring - -var escapes = { - '\u0008': 'b', - '\u000C': 'f', - '\u000A': 'n', - '\u000D': 'r', - '\u0009': 't' -}; - -module.exports = function QuoteJSONString(value) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `value` must be a String'); - } - var product = '"'; - if (value) { - forEach($strSplit(value), function (C) { - if (C === '"' || C === '\\') { - product += '\u005C' + C; - } else if (C === '\u0008' || C === '\u000C' || C === '\u000A' || C === '\u000D' || C === '\u0009') { - var abbrev = escapes[C]; - product += '\u005C' + abbrev; - } else { - var cCharCode = $charCodeAt(C, 0); - if (cCharCode < 0x20) { - product += '\u005Cu' + $toLowerCase($strSlice('0000' + $numberToString(cCharCode, 16), -4)); - } else { - product += C; - } - } - }); - } - product += '"'; - return product; -}; diff --git a/node_modules/es-abstract/2016/RegExpCreate.js b/node_modules/es-abstract/2016/RegExpCreate.js deleted file mode 100644 index 68e31605e..000000000 --- a/node_modules/es-abstract/2016/RegExpCreate.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RegExp = GetIntrinsic('%RegExp%'); - -// var RegExpAlloc = require('./RegExpAlloc'); -// var RegExpInitialize = require('./RegExpInitialize'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/6.0/#sec-regexpcreate - -module.exports = function RegExpCreate(P, F) { - // var obj = RegExpAlloc($RegExp); - // return RegExpInitialize(obj, P, F); - - // covers spec mechanics; bypass regex brand checking - var pattern = typeof P === 'undefined' ? '' : ToString(P); - var flags = typeof F === 'undefined' ? '' : ToString(F); - return new $RegExp(pattern, flags); -}; diff --git a/node_modules/es-abstract/2016/RegExpExec.js b/node_modules/es-abstract/2016/RegExpExec.js deleted file mode 100644 index 29fee1720..000000000 --- a/node_modules/es-abstract/2016/RegExpExec.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var regexExec = require('call-bind/callBound')('RegExp.prototype.exec'); - -var Call = require('./Call'); -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec - -module.exports = function RegExpExec(R, S) { - if (Type(R) !== 'Object') { - throw new $TypeError('Assertion failed: `R` must be an Object'); - } - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - var exec = Get(R, 'exec'); - if (IsCallable(exec)) { - var result = Call(exec, R, [S]); - if (result === null || Type(result) === 'Object') { - return result; - } - throw new $TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); -}; diff --git a/node_modules/es-abstract/2016/RequireObjectCoercible.js b/node_modules/es-abstract/2016/RequireObjectCoercible.js deleted file mode 100644 index 9008359db..000000000 --- a/node_modules/es-abstract/2016/RequireObjectCoercible.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../5/CheckObjectCoercible'); diff --git a/node_modules/es-abstract/2016/SameValue.js b/node_modules/es-abstract/2016/SameValue.js deleted file mode 100644 index b73939b20..000000000 --- a/node_modules/es-abstract/2016/SameValue.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// http://262.ecma-international.org/5.1/#sec-9.12 - -module.exports = function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); -}; diff --git a/node_modules/es-abstract/2016/SameValueNonNumber.js b/node_modules/es-abstract/2016/SameValueNonNumber.js deleted file mode 100644 index b6d2c4e64..000000000 --- a/node_modules/es-abstract/2016/SameValueNonNumber.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); - -// https://262.ecma-international.org/7.0/#sec-samevaluenonnumber - -module.exports = function SameValueNonNumber(x, y) { - if (typeof x === 'number' || typeof x !== typeof y) { - throw new $TypeError('SameValueNonNumber requires two non-number values of the same type.'); - } - return SameValue(x, y); -}; diff --git a/node_modules/es-abstract/2016/SameValueZero.js b/node_modules/es-abstract/2016/SameValueZero.js deleted file mode 100644 index bf1a1486a..000000000 --- a/node_modules/es-abstract/2016/SameValueZero.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero - -module.exports = function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); -}; diff --git a/node_modules/es-abstract/2016/SecFromTime.js b/node_modules/es-abstract/2016/SecFromTime.js deleted file mode 100644 index fc2e44560..000000000 --- a/node_modules/es-abstract/2016/SecFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var SecondsPerMinute = timeConstants.SecondsPerMinute; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function SecFromTime(t) { - return modulo(floor(t / msPerSecond), SecondsPerMinute); -}; diff --git a/node_modules/es-abstract/2016/Set.js b/node_modules/es-abstract/2016/Set.js deleted file mode 100644 index ea49e813f..000000000 --- a/node_modules/es-abstract/2016/Set.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// IE 9 does not throw in strict mode when writability/configurability/extensibility is violated -var noThrowOnStrictViolation = (function () { - try { - delete [].length; - return true; - } catch (e) { - return false; - } -}()); - -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - -module.exports = function Set(O, P, V, Throw) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - if (Type(Throw) !== 'Boolean') { - throw new $TypeError('Assertion failed: `Throw` must be a Boolean'); - } - if (Throw) { - O[P] = V; // eslint-disable-line no-param-reassign - if (noThrowOnStrictViolation && !SameValue(O[P], V)) { - throw new $TypeError('Attempted to assign to readonly property.'); - } - return true; - } else { - try { - O[P] = V; // eslint-disable-line no-param-reassign - return noThrowOnStrictViolation ? SameValue(O[P], V) : true; - } catch (e) { - return false; - } - } -}; diff --git a/node_modules/es-abstract/2016/SetFunctionName.js b/node_modules/es-abstract/2016/SetFunctionName.js deleted file mode 100644 index f59cb7b9e..000000000 --- a/node_modules/es-abstract/2016/SetFunctionName.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var has = require('has'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getSymbolDescription = require('../helpers/getSymbolDescription'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsExtensible = require('./IsExtensible'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname - -module.exports = function SetFunctionName(F, name) { - if (typeof F !== 'function') { - throw new $TypeError('Assertion failed: `F` must be a function'); - } - if (!IsExtensible(F) || has(F, 'name')) { - throw new $TypeError('Assertion failed: `F` must be extensible, and must not have a `name` own property'); - } - var nameType = Type(name); - if (nameType !== 'Symbol' && nameType !== 'String') { - throw new $TypeError('Assertion failed: `name` must be a Symbol or a String'); - } - if (nameType === 'Symbol') { - var description = getSymbolDescription(name); - // eslint-disable-next-line no-param-reassign - name = typeof description === 'undefined' ? '' : '[' + description + ']'; - } - if (arguments.length > 2) { - var prefix = arguments[2]; - // eslint-disable-next-line no-param-reassign - name = prefix + ' ' + name; - } - return DefinePropertyOrThrow(F, 'name', { - '[[Value]]': name, - '[[Writable]]': false, - '[[Enumerable]]': false, - '[[Configurable]]': true - }); -}; diff --git a/node_modules/es-abstract/2016/SetIntegrityLevel.js b/node_modules/es-abstract/2016/SetIntegrityLevel.js deleted file mode 100644 index 1ac7d61e2..000000000 --- a/node_modules/es-abstract/2016/SetIntegrityLevel.js +++ /dev/null @@ -1,57 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); -var $preventExtensions = GetIntrinsic('%Object.preventExtensions%'); -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); - -var forEach = require('../helpers/forEach'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel - -module.exports = function SetIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - if (!$preventExtensions) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.preventExtensions` support'); - } - var status = $preventExtensions(O); - if (!status) { - return false; - } - if (!$gOPN) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.getOwnPropertyNames` support'); - } - var theKeys = $gOPN(O); - if (level === 'sealed') { - forEach(theKeys, function (k) { - DefinePropertyOrThrow(O, k, { configurable: false }); - }); - } else if (level === 'frozen') { - forEach(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - var desc; - if (IsAccessorDescriptor(ToPropertyDescriptor(currentDesc))) { - desc = { configurable: false }; - } else { - desc = { configurable: false, writable: false }; - } - DefinePropertyOrThrow(O, k, desc); - } - }); - } - return true; -}; diff --git a/node_modules/es-abstract/2016/SpeciesConstructor.js b/node_modules/es-abstract/2016/SpeciesConstructor.js deleted file mode 100644 index 491eb9b87..000000000 --- a/node_modules/es-abstract/2016/SpeciesConstructor.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - -module.exports = function SpeciesConstructor(O, defaultConstructor) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (Type(C) !== 'Object') { - throw new $TypeError('O.constructor is not an Object'); - } - var S = $species ? C[$species] : void 0; - if (S == null) { - return defaultConstructor; - } - if (IsConstructor(S)) { - return S; - } - throw new $TypeError('no constructor found'); -}; diff --git a/node_modules/es-abstract/2016/SplitMatch.js b/node_modules/es-abstract/2016/SplitMatch.js deleted file mode 100644 index 8ab05355e..000000000 --- a/node_modules/es-abstract/2016/SplitMatch.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var $charAt = callBound('String.prototype.charAt'); - -// https://262.ecma-international.org/6.0/#sec-splitmatch - -module.exports = function SplitMatch(S, q, R) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(q)) { - throw new $TypeError('Assertion failed: `q` must be an integer'); - } - if (Type(R) !== 'String') { - throw new $TypeError('Assertion failed: `R` must be a String'); - } - var r = R.length; - var s = S.length; - if (q + r > s) { - return false; - } - - for (var i = 0; i < r; i += 1) { - if ($charAt(S, q + i) !== $charAt(R, i)) { - return false; - } - } - - return q + r; -}; diff --git a/node_modules/es-abstract/2016/StrictEqualityComparison.js b/node_modules/es-abstract/2016/StrictEqualityComparison.js deleted file mode 100644 index f3435ba9d..000000000 --- a/node_modules/es-abstract/2016/StrictEqualityComparison.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.9.6 - -module.exports = function StrictEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType !== yType) { - return false; - } - if (xType === 'Undefined' || xType === 'Null') { - return true; - } - return x === y; // shortcut for steps 4-7 -}; diff --git a/node_modules/es-abstract/2016/StringCreate.js b/node_modules/es-abstract/2016/StringCreate.js deleted file mode 100644 index da0c0ea06..000000000 --- a/node_modules/es-abstract/2016/StringCreate.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); -var $StringPrototype = GetIntrinsic('%String.prototype%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var Type = require('./Type'); - -var setProto = require('../helpers/setProto'); - -// https://262.ecma-international.org/6.0/#sec-stringcreate - -module.exports = function StringCreate(value, prototype) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - - var S = $Object(value); - if (S !== $StringPrototype) { - if (setProto) { - setProto(S, prototype); - } else { - throw new $SyntaxError('StringCreate: a `proto` argument that is not `String.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - } - - var length = value.length; - DefinePropertyOrThrow(S, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); - - return S; -}; diff --git a/node_modules/es-abstract/2016/SymbolDescriptiveString.js b/node_modules/es-abstract/2016/SymbolDescriptiveString.js deleted file mode 100644 index 1efd1316b..000000000 --- a/node_modules/es-abstract/2016/SymbolDescriptiveString.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $SymbolToString = callBound('Symbol.prototype.toString', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring - -module.exports = function SymbolDescriptiveString(sym) { - if (Type(sym) !== 'Symbol') { - throw new $TypeError('Assertion failed: `sym` must be a Symbol'); - } - return $SymbolToString(sym); -}; diff --git a/node_modules/es-abstract/2016/TestIntegrityLevel.js b/node_modules/es-abstract/2016/TestIntegrityLevel.js deleted file mode 100644 index cf1649c1b..000000000 --- a/node_modules/es-abstract/2016/TestIntegrityLevel.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var every = require('../helpers/every'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel - -module.exports = function TestIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - var status = IsExtensible(O); - if (status) { - return false; - } - var theKeys = $gOPN(O); - return theKeys.length === 0 || every(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - if (currentDesc.configurable) { - return false; - } - if (level === 'frozen' && IsDataDescriptor(ToPropertyDescriptor(currentDesc)) && currentDesc.writable) { - return false; - } - } - return true; - }); -}; diff --git a/node_modules/es-abstract/2016/TimeClip.js b/node_modules/es-abstract/2016/TimeClip.js deleted file mode 100644 index e416cab4b..000000000 --- a/node_modules/es-abstract/2016/TimeClip.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); -var $Number = GetIntrinsic('%Number%'); - -var $isFinite = require('../helpers/isFinite'); - -var abs = require('./abs'); -var ToNumber = require('./ToNumber'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.14 - -module.exports = function TimeClip(time) { - if (!$isFinite(time) || abs(time) > 8.64e15) { - return NaN; - } - return $Number(new $Date(ToNumber(time))); -}; - diff --git a/node_modules/es-abstract/2016/TimeFromYear.js b/node_modules/es-abstract/2016/TimeFromYear.js deleted file mode 100644 index f3518a41a..000000000 --- a/node_modules/es-abstract/2016/TimeFromYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -var DayFromYear = require('./DayFromYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function TimeFromYear(y) { - return msPerDay * DayFromYear(y); -}; diff --git a/node_modules/es-abstract/2016/TimeWithinDay.js b/node_modules/es-abstract/2016/TimeWithinDay.js deleted file mode 100644 index 2bba83386..000000000 --- a/node_modules/es-abstract/2016/TimeWithinDay.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function TimeWithinDay(t) { - return modulo(t, msPerDay); -}; - diff --git a/node_modules/es-abstract/2016/ToBoolean.js b/node_modules/es-abstract/2016/ToBoolean.js deleted file mode 100644 index 466404bf9..000000000 --- a/node_modules/es-abstract/2016/ToBoolean.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.2 - -module.exports = function ToBoolean(value) { return !!value; }; diff --git a/node_modules/es-abstract/2016/ToDateString.js b/node_modules/es-abstract/2016/ToDateString.js deleted file mode 100644 index e636a9ba6..000000000 --- a/node_modules/es-abstract/2016/ToDateString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Date = GetIntrinsic('%Date%'); - -var $isNaN = require('../helpers/isNaN'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring - -module.exports = function ToDateString(tv) { - if (Type(tv) !== 'Number') { - throw new $TypeError('Assertion failed: `tv` must be a Number'); - } - if ($isNaN(tv)) { - return 'Invalid Date'; - } - return $Date(tv); -}; diff --git a/node_modules/es-abstract/2016/ToInt16.js b/node_modules/es-abstract/2016/ToInt16.js deleted file mode 100644 index cb8e7934b..000000000 --- a/node_modules/es-abstract/2016/ToInt16.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint16 = require('./ToUint16'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 - -module.exports = function ToInt16(argument) { - var int16bit = ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; -}; diff --git a/node_modules/es-abstract/2016/ToInt32.js b/node_modules/es-abstract/2016/ToInt32.js deleted file mode 100644 index b879ccc47..000000000 --- a/node_modules/es-abstract/2016/ToInt32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.5 - -module.exports = function ToInt32(x) { - return ToNumber(x) >> 0; -}; diff --git a/node_modules/es-abstract/2016/ToInt8.js b/node_modules/es-abstract/2016/ToInt8.js deleted file mode 100644 index bc452d826..000000000 --- a/node_modules/es-abstract/2016/ToInt8.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint8 = require('./ToUint8'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 - -module.exports = function ToInt8(argument) { - var int8bit = ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; -}; diff --git a/node_modules/es-abstract/2016/ToInteger.js b/node_modules/es-abstract/2016/ToInteger.js deleted file mode 100644 index 297581809..000000000 --- a/node_modules/es-abstract/2016/ToInteger.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5ToInteger = require('../5/ToInteger'); - -var ToNumber = require('./ToNumber'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger - -module.exports = function ToInteger(value) { - var number = ToNumber(value); - return ES5ToInteger(number); -}; diff --git a/node_modules/es-abstract/2016/ToLength.js b/node_modules/es-abstract/2016/ToLength.js deleted file mode 100644 index 1bef9bed7..000000000 --- a/node_modules/es-abstract/2016/ToLength.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var ToInteger = require('./ToInteger'); - -module.exports = function ToLength(argument) { - var len = ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; -}; diff --git a/node_modules/es-abstract/2016/ToNumber.js b/node_modules/es-abstract/2016/ToNumber.js deleted file mode 100644 index e776bb2b7..000000000 --- a/node_modules/es-abstract/2016/ToNumber.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Number = GetIntrinsic('%Number%'); -var $RegExp = GetIntrinsic('%RegExp%'); -var $parseInteger = GetIntrinsic('%parseInt%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var isPrimitive = require('../helpers/isPrimitive'); - -var $strSlice = callBound('String.prototype.slice'); -var isBinary = regexTester(/^0b[01]+$/i); -var isOctal = regexTester(/^0o[0-7]+$/i); -var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = regexTester(nonWSregex); - -// whitespace from: https://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var $replace = callBound('String.prototype.replace'); -var $trim = function (value) { - return $replace(value, trimRegex, ''); -}; - -var ToPrimitive = require('./ToPrimitive'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber - -module.exports = function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = $trim(value); - if (trimmed !== value) { - return ToNumber(trimmed); - } - } - } - return $Number(value); -}; diff --git a/node_modules/es-abstract/2016/ToObject.js b/node_modules/es-abstract/2016/ToObject.js deleted file mode 100644 index cb26bac06..000000000 --- a/node_modules/es-abstract/2016/ToObject.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toobject - -module.exports = function ToObject(value) { - RequireObjectCoercible(value); - return $Object(value); -}; diff --git a/node_modules/es-abstract/2016/ToPrimitive.js b/node_modules/es-abstract/2016/ToPrimitive.js deleted file mode 100644 index 0fbe9b807..000000000 --- a/node_modules/es-abstract/2016/ToPrimitive.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var toPrimitive = require('es-to-primitive/es2015'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive - -module.exports = function ToPrimitive(input) { - if (arguments.length > 1) { - return toPrimitive(input, arguments[1]); - } - return toPrimitive(input); -}; diff --git a/node_modules/es-abstract/2016/ToPropertyDescriptor.js b/node_modules/es-abstract/2016/ToPropertyDescriptor.js deleted file mode 100644 index 53db87450..000000000 --- a/node_modules/es-abstract/2016/ToPropertyDescriptor.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var has = require('has'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); -var ToBoolean = require('./ToBoolean'); -var IsCallable = require('./IsCallable'); - -// https://262.ecma-international.org/5.1/#sec-8.10.5 - -module.exports = function ToPropertyDescriptor(Obj) { - if (Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !IsCallable(getter)) { - throw new $TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; -}; diff --git a/node_modules/es-abstract/2016/ToPropertyKey.js b/node_modules/es-abstract/2016/ToPropertyKey.js deleted file mode 100644 index fc1bf7d86..000000000 --- a/node_modules/es-abstract/2016/ToPropertyKey.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); - -var ToPrimitive = require('./ToPrimitive'); -var ToString = require('./ToString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey - -module.exports = function ToPropertyKey(argument) { - var key = ToPrimitive(argument, $String); - return typeof key === 'symbol' ? key : ToString(key); -}; diff --git a/node_modules/es-abstract/2016/ToString.js b/node_modules/es-abstract/2016/ToString.js deleted file mode 100644 index 4d494e1e2..000000000 --- a/node_modules/es-abstract/2016/ToString.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tostring - -module.exports = function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); -}; diff --git a/node_modules/es-abstract/2016/ToUint16.js b/node_modules/es-abstract/2016/ToUint16.js deleted file mode 100644 index 633ca8464..000000000 --- a/node_modules/es-abstract/2016/ToUint16.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -// http://262.ecma-international.org/5.1/#sec-9.7 - -module.exports = function ToUint16(value) { - var number = ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x10000); -}; diff --git a/node_modules/es-abstract/2016/ToUint32.js b/node_modules/es-abstract/2016/ToUint32.js deleted file mode 100644 index 2a8e9dd6a..000000000 --- a/node_modules/es-abstract/2016/ToUint32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.6 - -module.exports = function ToUint32(x) { - return ToNumber(x) >>> 0; -}; diff --git a/node_modules/es-abstract/2016/ToUint8.js b/node_modules/es-abstract/2016/ToUint8.js deleted file mode 100644 index 2dfd97cb3..000000000 --- a/node_modules/es-abstract/2016/ToUint8.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 - -module.exports = function ToUint8(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x100); -}; diff --git a/node_modules/es-abstract/2016/ToUint8Clamp.js b/node_modules/es-abstract/2016/ToUint8Clamp.js deleted file mode 100644 index b0b8ce8ed..000000000 --- a/node_modules/es-abstract/2016/ToUint8Clamp.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp - -module.exports = function ToUint8Clamp(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; -}; diff --git a/node_modules/es-abstract/2016/Type.js b/node_modules/es-abstract/2016/Type.js deleted file mode 100644 index 0bd11659c..000000000 --- a/node_modules/es-abstract/2016/Type.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5Type = require('../5/Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values - -module.exports = function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5Type(x); -}; diff --git a/node_modules/es-abstract/2016/UTF16Decode.js b/node_modules/es-abstract/2016/UTF16Decode.js deleted file mode 100644 index 86927b478..000000000 --- a/node_modules/es-abstract/2016/UTF16Decode.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -// https://262.ecma-international.org/7.0/#sec-utf16decode - -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -// https://262.ecma-international.org/11.0/#sec-utf16decodesurrogatepair - -module.exports = function UTF16Decode(lead, trail) { - if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) { - throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code'); - } - // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000; - return $fromCharCode(lead) + $fromCharCode(trail); -}; diff --git a/node_modules/es-abstract/2016/UTF16Encoding.js b/node_modules/es-abstract/2016/UTF16Encoding.js deleted file mode 100644 index f381595fd..000000000 --- a/node_modules/es-abstract/2016/UTF16Encoding.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var isCodePoint = require('../helpers/isCodePoint'); - -// https://262.ecma-international.org/7.0/#sec-utf16encoding - -module.exports = function UTF16Encoding(cp) { - if (!isCodePoint(cp)) { - throw new $TypeError('Assertion failed: `cp` must be >= 0 and <= 0x10FFFF'); - } - if (cp <= 65535) { - return $fromCharCode(cp); - } - var cu1 = floor((cp - 65536) / 1024) + 0xD800; - var cu2 = modulo(cp - 65536, 1024) + 0xDC00; - return $fromCharCode(cu1) + $fromCharCode(cu2); -}; diff --git a/node_modules/es-abstract/2016/ValidateAndApplyPropertyDescriptor.js b/node_modules/es-abstract/2016/ValidateAndApplyPropertyDescriptor.js deleted file mode 100644 index a7fd218ad..000000000 --- a/node_modules/es-abstract/2016/ValidateAndApplyPropertyDescriptor.js +++ /dev/null @@ -1,170 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var isSamePropertyDescriptor = require('../helpers/isSamePropertyDescriptor'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor - -// eslint-disable-next-line max-lines-per-function, max-statements, max-params -module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { - // this uses the ES2017+ logic, since it fixes a number of bugs in the ES2015 logic. - var oType = Type(O); - if (oType !== 'Undefined' && oType !== 'Object') { - throw new $TypeError('Assertion failed: O must be undefined or an Object'); - } - if (Type(extensible) !== 'Boolean') { - throw new $TypeError('Assertion failed: extensible must be a Boolean'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (Type(current) !== 'Undefined' && !isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, current)) { - throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined'); - } - if (oType !== 'Undefined' && !IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: if O is not undefined, P must be a Property Key'); - } - if (Type(current) === 'Undefined') { - if (!extensible) { - return false; - } - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': Desc['[[Configurable]]'], - '[[Enumerable]]': Desc['[[Enumerable]]'], - '[[Value]]': Desc['[[Value]]'], - '[[Writable]]': Desc['[[Writable]]'] - } - ); - } - } else { - if (!IsAccessorDescriptor(Desc)) { - throw new $TypeError('Assertion failed: Desc is not an accessor descriptor'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - } - return true; - } - if (IsGenericDescriptor(Desc) && !('[[Configurable]]' in Desc) && !('[[Enumerable]]' in Desc)) { - return true; - } - if (isSamePropertyDescriptor({ SameValue: SameValue }, Desc, current)) { - return true; // removed by ES2017, but should still be correct - } - // "if every field in Desc is absent, return true" can't really match the assertion that it's a Property Descriptor - if (!current['[[Configurable]]']) { - if (Desc['[[Configurable]]']) { - return false; - } - if ('[[Enumerable]]' in Desc && !Desc['[[Enumerable]]'] === !!current['[[Enumerable]]']) { - return false; - } - } - if (IsGenericDescriptor(Desc)) { - // no further validation is required. - } else if (IsDataDescriptor(current) !== IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - return false; - } - if (IsDataDescriptor(current)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Get]]': undefined - } - ); - } - } else if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Value]]': undefined - } - ); - } - } else if (IsDataDescriptor(current) && IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]'] && !current['[[Writable]]']) { - if ('[[Writable]]' in Desc && Desc['[[Writable]]']) { - return false; - } - if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) { - return false; - } - return true; - } - } else if (IsAccessorDescriptor(current) && IsAccessorDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) { - return false; - } - if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) { - return false; - } - return true; - } - } else { - throw new $TypeError('Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - return true; -}; diff --git a/node_modules/es-abstract/2016/WeekDay.js b/node_modules/es-abstract/2016/WeekDay.js deleted file mode 100644 index 17cf94ca3..000000000 --- a/node_modules/es-abstract/2016/WeekDay.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.6 - -module.exports = function WeekDay(t) { - return modulo(Day(t) + 4, 7); -}; diff --git a/node_modules/es-abstract/2016/YearFromTime.js b/node_modules/es-abstract/2016/YearFromTime.js deleted file mode 100644 index be06ecbc3..000000000 --- a/node_modules/es-abstract/2016/YearFromTime.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); - -var callBound = require('call-bind/callBound'); - -var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function YearFromTime(t) { - // largest y such that this.TimeFromYear(y) <= t - return $getUTCFullYear(new $Date(t)); -}; diff --git a/node_modules/es-abstract/2016/abs.js b/node_modules/es-abstract/2016/abs.js deleted file mode 100644 index 8bc45434d..000000000 --- a/node_modules/es-abstract/2016/abs.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $abs = GetIntrinsic('%Math.abs%'); - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function abs(x) { - return $abs(x); -}; diff --git a/node_modules/es-abstract/2016/floor.js b/node_modules/es-abstract/2016/floor.js deleted file mode 100644 index 8439df064..000000000 --- a/node_modules/es-abstract/2016/floor.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -// var modulo = require('./modulo'); -var $floor = Math.floor; - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function floor(x) { - // return x - modulo(x, 1); - return $floor(x); -}; diff --git a/node_modules/es-abstract/2016/modulo.js b/node_modules/es-abstract/2016/modulo.js deleted file mode 100644 index b94bb52bb..000000000 --- a/node_modules/es-abstract/2016/modulo.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var mod = require('../helpers/mod'); - -// https://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function modulo(x, y) { - return mod(x, y); -}; diff --git a/node_modules/es-abstract/2016/msFromTime.js b/node_modules/es-abstract/2016/msFromTime.js deleted file mode 100644 index a6bae767a..000000000 --- a/node_modules/es-abstract/2016/msFromTime.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerSecond = require('../helpers/timeConstants').msPerSecond; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function msFromTime(t) { - return modulo(t, msPerSecond); -}; diff --git a/node_modules/es-abstract/2016/thisBooleanValue.js b/node_modules/es-abstract/2016/thisBooleanValue.js deleted file mode 100644 index 27075b9c4..000000000 --- a/node_modules/es-abstract/2016/thisBooleanValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object - -module.exports = function thisBooleanValue(value) { - if (Type(value) === 'Boolean') { - return value; - } - - return $BooleanValueOf(value); -}; diff --git a/node_modules/es-abstract/2016/thisNumberValue.js b/node_modules/es-abstract/2016/thisNumberValue.js deleted file mode 100644 index 92968dcdf..000000000 --- a/node_modules/es-abstract/2016/thisNumberValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var Type = require('./Type'); - -var $NumberValueOf = callBound('Number.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object - -module.exports = function thisNumberValue(value) { - if (Type(value) === 'Number') { - return value; - } - - return $NumberValueOf(value); -}; - diff --git a/node_modules/es-abstract/2016/thisStringValue.js b/node_modules/es-abstract/2016/thisStringValue.js deleted file mode 100644 index 8e4274d81..000000000 --- a/node_modules/es-abstract/2016/thisStringValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object - -module.exports = function thisStringValue(value) { - if (Type(value) === 'String') { - return value; - } - - return $StringValueOf(value); -}; diff --git a/node_modules/es-abstract/2016/thisTimeValue.js b/node_modules/es-abstract/2016/thisTimeValue.js deleted file mode 100644 index 12548fa4f..000000000 --- a/node_modules/es-abstract/2016/thisTimeValue.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $DateValueOf = require('call-bind/callBound')('Date.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object - -module.exports = function thisTimeValue(value) { - return $DateValueOf(value); -}; diff --git a/node_modules/es-abstract/2017/AbstractEqualityComparison.js b/node_modules/es-abstract/2017/AbstractEqualityComparison.js deleted file mode 100644 index c776194c1..000000000 --- a/node_modules/es-abstract/2017/AbstractEqualityComparison.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-abstract-equality-comparison - -module.exports = function AbstractEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (xType === 'Boolean') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (yType === 'Boolean') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number' || xType === 'Symbol') && yType === 'Object') { - return AbstractEqualityComparison(x, ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number' || yType === 'Symbol')) { - return AbstractEqualityComparison(ToPrimitive(x), y); - } - return false; -}; diff --git a/node_modules/es-abstract/2017/AbstractRelationalComparison.js b/node_modules/es-abstract/2017/AbstractRelationalComparison.js deleted file mode 100644 index 0dfed5ffe..000000000 --- a/node_modules/es-abstract/2017/AbstractRelationalComparison.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Number = GetIntrinsic('%Number%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var isPrefixOf = require('../helpers/isPrefixOf'); - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.8.5 - -// eslint-disable-next-line max-statements -module.exports = function AbstractRelationalComparison(x, y, LeftFirst) { - if (Type(LeftFirst) !== 'Boolean') { - throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); - } - var px; - var py; - if (LeftFirst) { - px = ToPrimitive(x, $Number); - py = ToPrimitive(y, $Number); - } else { - py = ToPrimitive(y, $Number); - px = ToPrimitive(x, $Number); - } - var bothStrings = Type(px) === 'String' && Type(py) === 'String'; - if (!bothStrings) { - var nx = ToNumber(px); - var ny = ToNumber(py); - if ($isNaN(nx) || $isNaN(ny)) { - return undefined; - } - if ($isFinite(nx) && $isFinite(ny) && nx === ny) { - return false; - } - if (nx === Infinity) { - return false; - } - if (ny === Infinity) { - return true; - } - if (ny === -Infinity) { - return false; - } - if (nx === -Infinity) { - return true; - } - return nx < ny; // by now, these are both nonzero, finite, and not equal - } - if (isPrefixOf(py, px)) { - return false; - } - if (isPrefixOf(px, py)) { - return true; - } - return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f -}; diff --git a/node_modules/es-abstract/2017/AdvanceStringIndex.js b/node_modules/es-abstract/2017/AdvanceStringIndex.js deleted file mode 100644 index 279602b4c..000000000 --- a/node_modules/es-abstract/2017/AdvanceStringIndex.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $charCodeAt = require('call-bind/callBound')('String.prototype.charCodeAt'); - -// https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex - -module.exports = function AdvanceStringIndex(S, index, unicode) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0 and <= 2**53'); - } - if (Type(unicode) !== 'Boolean') { - throw new $TypeError('Assertion failed: `unicode` must be a Boolean'); - } - if (!unicode) { - return index + 1; - } - var length = S.length; - if ((index + 1) >= length) { - return index + 1; - } - - var first = $charCodeAt(S, index); - if (!isLeadingSurrogate(first)) { - return index + 1; - } - - var second = $charCodeAt(S, index + 1); - if (!isTrailingSurrogate(second)) { - return index + 1; - } - - return index + 2; -}; diff --git a/node_modules/es-abstract/2017/ArrayCreate.js b/node_modules/es-abstract/2017/ArrayCreate.js deleted file mode 100644 index 4d20e2e5e..000000000 --- a/node_modules/es-abstract/2017/ArrayCreate.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ArrayPrototype = GetIntrinsic('%Array.prototype%'); -var $RangeError = GetIntrinsic('%RangeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); - -var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; - -var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || ( - // eslint-disable-next-line no-proto, no-negated-condition - [].__proto__ !== $ArrayPrototype - ? null - : function (O, proto) { - O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign - return O; - } -); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraycreate - -module.exports = function ArrayCreate(length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0'); - } - if (length > MAX_ARRAY_LENGTH) { - throw new $RangeError('length is greater than (2**32 - 1)'); - } - var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype; - var A = []; // steps 5 - 7, and 9 - if (proto !== $ArrayPrototype) { // step 8 - if (!$setProto) { - throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - $setProto(A, proto); - } - if (length !== 0) { // bypasses the need for step 2 - A.length = length; - } - /* step 10, the above as a shortcut for the below - OrdinaryDefineOwnProperty(A, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': true - }); - */ - return A; -}; diff --git a/node_modules/es-abstract/2017/ArraySetLength.js b/node_modules/es-abstract/2017/ArraySetLength.js deleted file mode 100644 index 08db9c2e9..000000000 --- a/node_modules/es-abstract/2017/ArraySetLength.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var assign = require('object.assign'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsArray = require('./IsArray'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var OrdinaryDefineOwnProperty = require('./OrdinaryDefineOwnProperty'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var ToUint32 = require('./ToUint32'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraysetlength - -// eslint-disable-next-line max-statements, max-lines-per-function -module.exports = function ArraySetLength(A, Desc) { - if (!IsArray(A)) { - throw new $TypeError('Assertion failed: A must be an Array'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!('[[Value]]' in Desc)) { - return OrdinaryDefineOwnProperty(A, 'length', Desc); - } - var newLenDesc = assign({}, Desc); - var newLen = ToUint32(Desc['[[Value]]']); - var numberLen = ToNumber(Desc['[[Value]]']); - if (newLen !== numberLen) { - throw new $RangeError('Invalid array length'); - } - newLenDesc['[[Value]]'] = newLen; - var oldLenDesc = OrdinaryGetOwnProperty(A, 'length'); - if (!IsDataDescriptor(oldLenDesc)) { - throw new $TypeError('Assertion failed: an array had a non-data descriptor on `length`'); - } - var oldLen = oldLenDesc['[[Value]]']; - if (newLen >= oldLen) { - return OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - } - if (!oldLenDesc['[[Writable]]']) { - return false; - } - var newWritable; - if (!('[[Writable]]' in newLenDesc) || newLenDesc['[[Writable]]']) { - newWritable = true; - } else { - newWritable = false; - newLenDesc['[[Writable]]'] = true; - } - var succeeded = OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - if (!succeeded) { - return false; - } - while (newLen < oldLen) { - oldLen -= 1; - // eslint-disable-next-line no-param-reassign - var deleteSucceeded = delete A[ToString(oldLen)]; - if (!deleteSucceeded) { - newLenDesc['[[Value]]'] = oldLen + 1; - if (!newWritable) { - newLenDesc['[[Writable]]'] = false; - OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - return false; - } - } - } - if (!newWritable) { - return OrdinaryDefineOwnProperty(A, 'length', { '[[Writable]]': false }); - } - return true; -}; diff --git a/node_modules/es-abstract/2017/ArraySpeciesCreate.js b/node_modules/es-abstract/2017/ArraySpeciesCreate.js deleted file mode 100644 index 26d63b5e2..000000000 --- a/node_modules/es-abstract/2017/ArraySpeciesCreate.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsConstructor = require('./IsConstructor'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - -module.exports = function ArraySpeciesCreate(originalArray, length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = IsArray(originalArray); - if (isArray) { - C = Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if ($species && Type(C) === 'Object') { - C = Get(C, $species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // Construct(C, len); -}; - diff --git a/node_modules/es-abstract/2017/Call.js b/node_modules/es-abstract/2017/Call.js deleted file mode 100644 index 4b238c691..000000000 --- a/node_modules/es-abstract/2017/Call.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsArray = require('./IsArray'); - -var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-call - -module.exports = function Call(F, V) { - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - return $apply(F, V, argumentsList); -}; diff --git a/node_modules/es-abstract/2017/CanonicalNumericIndexString.js b/node_modules/es-abstract/2017/CanonicalNumericIndexString.js deleted file mode 100644 index feb878c03..000000000 --- a/node_modules/es-abstract/2017/CanonicalNumericIndexString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - -module.exports = function CanonicalNumericIndexString(argument) { - if (Type(argument) !== 'String') { - throw new $TypeError('Assertion failed: `argument` must be a String'); - } - if (argument === '-0') { return -0; } - var n = ToNumber(argument); - if (SameValue(ToString(n), argument)) { return n; } - return void 0; -}; diff --git a/node_modules/es-abstract/2017/CompletePropertyDescriptor.js b/node_modules/es-abstract/2017/CompletePropertyDescriptor.js deleted file mode 100644 index 548bf415a..000000000 --- a/node_modules/es-abstract/2017/CompletePropertyDescriptor.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - -module.exports = function CompletePropertyDescriptor(Desc) { - /* eslint no-param-reassign: 0 */ - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; -}; diff --git a/node_modules/es-abstract/2017/CreateDataProperty.js b/node_modules/es-abstract/2017/CreateDataProperty.js deleted file mode 100644 index ff5ca3055..000000000 --- a/node_modules/es-abstract/2017/CreateDataProperty.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty - -module.exports = function CreateDataProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = OrdinaryGetOwnProperty(O, P); - var extensible = !oldDesc || IsExtensible(O); - var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']); - if (immutable || !extensible) { - return false; - } - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Value]]': V, - '[[Writable]]': true - } - ); -}; diff --git a/node_modules/es-abstract/2017/CreateDataPropertyOrThrow.js b/node_modules/es-abstract/2017/CreateDataPropertyOrThrow.js deleted file mode 100644 index 2f7c410ba..000000000 --- a/node_modules/es-abstract/2017/CreateDataPropertyOrThrow.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var CreateDataProperty = require('./CreateDataProperty'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - -module.exports = function CreateDataPropertyOrThrow(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; -}; diff --git a/node_modules/es-abstract/2017/CreateHTML.js b/node_modules/es-abstract/2017/CreateHTML.js deleted file mode 100644 index ccded1e65..000000000 --- a/node_modules/es-abstract/2017/CreateHTML.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $replace = callBound('String.prototype.replace'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createhtml - -module.exports = function CreateHTML(string, tag, attribute, value) { - if (Type(tag) !== 'String' || Type(attribute) !== 'String') { - throw new $TypeError('Assertion failed: `tag` and `attribute` must be strings'); - } - var str = RequireObjectCoercible(string); - var S = ToString(str); - var p1 = '<' + tag; - if (attribute !== '') { - var V = ToString(value); - var escapedV = $replace(V, /\x22/g, '"'); - p1 += '\x20' + attribute + '\x3D\x22' + escapedV + '\x22'; - } - return p1 + '>' + S + ''; -}; diff --git a/node_modules/es-abstract/2017/CreateIterResultObject.js b/node_modules/es-abstract/2017/CreateIterResultObject.js deleted file mode 100644 index eea77a512..000000000 --- a/node_modules/es-abstract/2017/CreateIterResultObject.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - -module.exports = function CreateIterResultObject(value, done) { - if (Type(done) !== 'Boolean') { - throw new $TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; -}; diff --git a/node_modules/es-abstract/2017/CreateListFromArrayLike.js b/node_modules/es-abstract/2017/CreateListFromArrayLike.js deleted file mode 100644 index d1bb8b658..000000000 --- a/node_modules/es-abstract/2017/CreateListFromArrayLike.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $indexOf = callBound('Array.prototype.indexOf', true) || callBound('String.prototype.indexOf'); -var $push = callBound('Array.prototype.push'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToLength = require('./ToLength'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createlistfromarraylike -module.exports = function CreateListFromArrayLike(obj) { - var elementTypes = arguments.length > 1 - ? arguments[1] - : ['Undefined', 'Null', 'Boolean', 'String', 'Symbol', 'Number', 'Object']; - - if (Type(obj) !== 'Object') { - throw new $TypeError('Assertion failed: `obj` must be an Object'); - } - if (!IsArray(elementTypes)) { - throw new $TypeError('Assertion failed: `elementTypes`, if provided, must be an array'); - } - var len = ToLength(Get(obj, 'length')); - var list = []; - var index = 0; - while (index < len) { - var indexName = ToString(index); - var next = Get(obj, indexName); - var nextType = Type(next); - if ($indexOf(elementTypes, nextType) < 0) { - throw new $TypeError('item type ' + nextType + ' is not a valid elementType'); - } - $push(list, next); - index += 1; - } - return list; -}; diff --git a/node_modules/es-abstract/2017/CreateMethodProperty.js b/node_modules/es-abstract/2017/CreateMethodProperty.js deleted file mode 100644 index 53274a561..000000000 --- a/node_modules/es-abstract/2017/CreateMethodProperty.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createmethodproperty - -module.exports = function CreateMethodProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var newDesc = { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': V, - '[[Writable]]': true - }; - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - newDesc - ); -}; diff --git a/node_modules/es-abstract/2017/DateFromTime.js b/node_modules/es-abstract/2017/DateFromTime.js deleted file mode 100644 index 20e4f2e4d..000000000 --- a/node_modules/es-abstract/2017/DateFromTime.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); -var MonthFromTime = require('./MonthFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.5 - -module.exports = function DateFromTime(t) { - var m = MonthFromTime(t); - var d = DayWithinYear(t); - if (m === 0) { - return d + 1; - } - if (m === 1) { - return d - 30; - } - var leap = InLeapYear(t); - if (m === 2) { - return d - 58 - leap; - } - if (m === 3) { - return d - 89 - leap; - } - if (m === 4) { - return d - 119 - leap; - } - if (m === 5) { - return d - 150 - leap; - } - if (m === 6) { - return d - 180 - leap; - } - if (m === 7) { - return d - 211 - leap; - } - if (m === 8) { - return d - 242 - leap; - } - if (m === 9) { - return d - 272 - leap; - } - if (m === 10) { - return d - 303 - leap; - } - if (m === 11) { - return d - 333 - leap; - } - throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); -}; diff --git a/node_modules/es-abstract/2017/Day.js b/node_modules/es-abstract/2017/Day.js deleted file mode 100644 index 51d01033c..000000000 --- a/node_modules/es-abstract/2017/Day.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function Day(t) { - return floor(t / msPerDay); -}; diff --git a/node_modules/es-abstract/2017/DayFromYear.js b/node_modules/es-abstract/2017/DayFromYear.js deleted file mode 100644 index 341bf22a6..000000000 --- a/node_modules/es-abstract/2017/DayFromYear.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DayFromYear(y) { - return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400); -}; - diff --git a/node_modules/es-abstract/2017/DayWithinYear.js b/node_modules/es-abstract/2017/DayWithinYear.js deleted file mode 100644 index 4c580940a..000000000 --- a/node_modules/es-abstract/2017/DayWithinYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var DayFromYear = require('./DayFromYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function DayWithinYear(t) { - return Day(t) - DayFromYear(YearFromTime(t)); -}; diff --git a/node_modules/es-abstract/2017/DaysInYear.js b/node_modules/es-abstract/2017/DaysInYear.js deleted file mode 100644 index 7116c6902..000000000 --- a/node_modules/es-abstract/2017/DaysInYear.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DaysInYear(y) { - if (modulo(y, 4) !== 0) { - return 365; - } - if (modulo(y, 100) !== 0) { - return 366; - } - if (modulo(y, 400) !== 0) { - return 365; - } - return 366; -}; diff --git a/node_modules/es-abstract/2017/DefinePropertyOrThrow.js b/node_modules/es-abstract/2017/DefinePropertyOrThrow.js deleted file mode 100644 index 26f2714bb..000000000 --- a/node_modules/es-abstract/2017/DefinePropertyOrThrow.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow - -module.exports = function DefinePropertyOrThrow(O, P, desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var Desc = isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, desc) ? desc : ToPropertyDescriptor(desc); - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor'); - } - - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); -}; diff --git a/node_modules/es-abstract/2017/DeletePropertyOrThrow.js b/node_modules/es-abstract/2017/DeletePropertyOrThrow.js deleted file mode 100644 index 30d5e57c7..000000000 --- a/node_modules/es-abstract/2017/DeletePropertyOrThrow.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow - -module.exports = function DeletePropertyOrThrow(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // eslint-disable-next-line no-param-reassign - var success = delete O[P]; - if (!success) { - throw new $TypeError('Attempt to delete property failed.'); - } - return success; -}; diff --git a/node_modules/es-abstract/2017/EnumerableOwnProperties.js b/node_modules/es-abstract/2017/EnumerableOwnProperties.js deleted file mode 100644 index 44171b9eb..000000000 --- a/node_modules/es-abstract/2017/EnumerableOwnProperties.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var objectKeys = require('object-keys'); - -var callBound = require('call-bind/callBound'); - -var callBind = require('call-bind'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); -var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%')); - -var forEach = require('../helpers/forEach'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/8.0/#sec-enumerableownproperties - -module.exports = function EnumerableOwnProperties(O, kind) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - var keys = objectKeys(O); - if (kind === 'key') { - return keys; - } - if (kind === 'value' || kind === 'key+value') { - var results = []; - forEach(keys, function (key) { - if ($isEnumerable(O, key)) { - $pushApply(results, [ - kind === 'value' ? O[key] : [key, O[key]] - ]); - } - }); - return results; - } - throw new $TypeError('Assertion failed: "kind" is not "key", "value", or "key+value": ' + kind); -}; diff --git a/node_modules/es-abstract/2017/FromPropertyDescriptor.js b/node_modules/es-abstract/2017/FromPropertyDescriptor.js deleted file mode 100644 index 9a69a2605..000000000 --- a/node_modules/es-abstract/2017/FromPropertyDescriptor.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor - -module.exports = function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - var obj = {}; - if ('[[Value]]' in Desc) { - obj.value = Desc['[[Value]]']; - } - if ('[[Writable]]' in Desc) { - obj.writable = Desc['[[Writable]]']; - } - if ('[[Get]]' in Desc) { - obj.get = Desc['[[Get]]']; - } - if ('[[Set]]' in Desc) { - obj.set = Desc['[[Set]]']; - } - if ('[[Enumerable]]' in Desc) { - obj.enumerable = Desc['[[Enumerable]]']; - } - if ('[[Configurable]]' in Desc) { - obj.configurable = Desc['[[Configurable]]']; - } - return obj; -}; diff --git a/node_modules/es-abstract/2017/Get.js b/node_modules/es-abstract/2017/Get.js deleted file mode 100644 index 681055a2f..000000000 --- a/node_modules/es-abstract/2017/Get.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var inspect = require('object-inspect'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -/** - * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - -module.exports = function Get(O, P) { - // 7.3.1.1 - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); - } - // 7.3.1.3 - return O[P]; -}; diff --git a/node_modules/es-abstract/2017/GetIterator.js b/node_modules/es-abstract/2017/GetIterator.js deleted file mode 100644 index a2d3b16cb..000000000 --- a/node_modules/es-abstract/2017/GetIterator.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getIteratorMethod = require('../helpers/getIteratorMethod'); -var AdvanceStringIndex = require('./AdvanceStringIndex'); -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsArray = require('./IsArray'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getiterator - -module.exports = function GetIterator(obj, method) { - var actualMethod = method; - if (arguments.length < 2) { - actualMethod = getIteratorMethod( - { - AdvanceStringIndex: AdvanceStringIndex, - GetMethod: GetMethod, - IsArray: IsArray, - Type: Type - }, - obj - ); - } - var iterator = Call(actualMethod, obj); - if (Type(iterator) !== 'Object') { - throw new $TypeError('iterator must return an object'); - } - - return iterator; -}; diff --git a/node_modules/es-abstract/2017/GetMethod.js b/node_modules/es-abstract/2017/GetMethod.js deleted file mode 100644 index 775d3fb95..000000000 --- a/node_modules/es-abstract/2017/GetMethod.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetV = require('./GetV'); -var IsCallable = require('./IsCallable'); -var IsPropertyKey = require('./IsPropertyKey'); - -/** - * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - -module.exports = function GetMethod(O, P) { - // 7.3.9.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return void 0; - } - - // 7.3.9.5 - if (!IsCallable(func)) { - throw new $TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; -}; diff --git a/node_modules/es-abstract/2017/GetOwnPropertyKeys.js b/node_modules/es-abstract/2017/GetOwnPropertyKeys.js deleted file mode 100644 index b8f4167f7..000000000 --- a/node_modules/es-abstract/2017/GetOwnPropertyKeys.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var hasSymbols = require('has-symbols')(); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $gOPS = hasSymbols && GetIntrinsic('%Object.getOwnPropertySymbols%'); -var keys = require('object-keys'); - -var esType = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys - -module.exports = function GetOwnPropertyKeys(O, Type) { - if (esType(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (Type === 'Symbol') { - return $gOPS ? $gOPS(O) : []; - } - if (Type === 'String') { - if (!$gOPN) { - return keys(O); - } - return $gOPN(O); - } - throw new $TypeError('Assertion failed: `Type` must be `"String"` or `"Symbol"`'); -}; diff --git a/node_modules/es-abstract/2017/GetPrototypeFromConstructor.js b/node_modules/es-abstract/2017/GetPrototypeFromConstructor.js deleted file mode 100644 index 5f369cad8..000000000 --- a/node_modules/es-abstract/2017/GetPrototypeFromConstructor.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Function = GetIntrinsic('%Function%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getprototypefromconstructor - -module.exports = function GetPrototypeFromConstructor(constructor, intrinsicDefaultProto) { - var intrinsic = GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - if (!IsConstructor(constructor)) { - throw new $TypeError('Assertion failed: `constructor` must be a constructor'); - } - var proto = Get(constructor, 'prototype'); - if (Type(proto) !== 'Object') { - if (!(constructor instanceof $Function)) { - // ignore other realms, for now - throw new $TypeError('cross-realm constructors not currently supported'); - } - proto = intrinsic; - } - return proto; -}; diff --git a/node_modules/es-abstract/2017/GetSubstitution.js b/node_modules/es-abstract/2017/GetSubstitution.js deleted file mode 100644 index 5bdce38b6..000000000 --- a/node_modules/es-abstract/2017/GetSubstitution.js +++ /dev/null @@ -1,104 +0,0 @@ - -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $parseInt = GetIntrinsic('%parseInt%'); - -var inspect = require('object-inspect'); - -var regexTester = require('../helpers/regexTester'); -var callBound = require('call-bind/callBound'); -var every = require('../helpers/every'); - -var isDigit = regexTester(/^[0-9]$/); - -var $charAt = callBound('String.prototype.charAt'); -var $strSlice = callBound('String.prototype.slice'); - -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var canDistinguishSparseFromUndefined = 0 in [undefined]; // IE 6 - 8 have a bug where this returns false - -var isStringOrHole = function (capture, index, arr) { - return Type(capture) === 'String' || (canDistinguishSparseFromUndefined ? !(index in arr) : Type(capture) === 'Undefined'); -}; - -// https://ecma-international.org/ecma-262/6.0/#sec-getsubstitution - -// eslint-disable-next-line max-statements, max-params, max-lines-per-function -module.exports = function GetSubstitution(matched, str, position, captures, replacement) { - if (Type(matched) !== 'String') { - throw new $TypeError('Assertion failed: `matched` must be a String'); - } - var matchLength = matched.length; - - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `str` must be a String'); - } - var stringLength = str.length; - - if (!IsInteger(position) || position < 0 || position > stringLength) { - throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got ' + inspect(position)); - } - - if (!IsArray(captures) || !every(captures, isStringOrHole)) { - throw new $TypeError('Assertion failed: `captures` must be a List of Strings, got ' + inspect(captures)); - } - - if (Type(replacement) !== 'String') { - throw new $TypeError('Assertion failed: `replacement` must be a String'); - } - - var tailPos = position + matchLength; - var m = captures.length; - - var result = ''; - for (var i = 0; i < replacement.length; i += 1) { - // if this is a $, and it's not the end of the replacement - var current = $charAt(replacement, i); - var isLast = (i + 1) >= replacement.length; - var nextIsLast = (i + 2) >= replacement.length; - if (current === '$' && !isLast) { - var next = $charAt(replacement, i + 1); - if (next === '$') { - result += '$'; - i += 1; - } else if (next === '&') { - result += matched; - i += 1; - } else if (next === '`') { - result += position === 0 ? '' : $strSlice(str, 0, position - 1); - i += 1; - } else if (next === "'") { - result += tailPos >= stringLength ? '' : $strSlice(str, tailPos); - i += 1; - } else { - var nextNext = nextIsLast ? null : $charAt(replacement, i + 2); - if (isDigit(next) && next !== '0' && (nextIsLast || !isDigit(nextNext))) { - // $1 through $9, and not followed by a digit - var n = $parseInt(next, 10); - // if (n > m, impl-defined) - result += n <= m && Type(captures[n - 1]) === 'Undefined' ? '' : captures[n - 1]; - i += 1; - } else if (isDigit(next) && (nextIsLast || isDigit(nextNext))) { - // $00 through $99 - var nn = next + nextNext; - var nnI = $parseInt(nn, 10) - 1; - // if nn === '00' or nn > m, impl-defined - result += nn <= m && Type(captures[nnI]) === 'Undefined' ? '' : captures[nnI]; - i += 2; - } else { - result += '$'; - } - } - } else { - // the final $, or else not a $ - result += $charAt(replacement, i); - } - } - return result; -}; diff --git a/node_modules/es-abstract/2017/GetV.js b/node_modules/es-abstract/2017/GetV.js deleted file mode 100644 index 2d8cc8246..000000000 --- a/node_modules/es-abstract/2017/GetV.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var ToObject = require('./ToObject'); - -/** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - -module.exports = function GetV(V, P) { - // 7.3.2.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = ToObject(V); - - // 7.3.2.4 - return O[P]; -}; diff --git a/node_modules/es-abstract/2017/HasOwnProperty.js b/node_modules/es-abstract/2017/HasOwnProperty.js deleted file mode 100644 index 04d28495f..000000000 --- a/node_modules/es-abstract/2017/HasOwnProperty.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var has = require('has'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - -module.exports = function HasOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return has(O, P); -}; diff --git a/node_modules/es-abstract/2017/HasProperty.js b/node_modules/es-abstract/2017/HasProperty.js deleted file mode 100644 index b341654e7..000000000 --- a/node_modules/es-abstract/2017/HasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - -module.exports = function HasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2017/HourFromTime.js b/node_modules/es-abstract/2017/HourFromTime.js deleted file mode 100644 index f963bfb68..000000000 --- a/node_modules/es-abstract/2017/HourFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerHour = timeConstants.msPerHour; -var HoursPerDay = timeConstants.HoursPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function HourFromTime(t) { - return modulo(floor(t / msPerHour), HoursPerDay); -}; diff --git a/node_modules/es-abstract/2017/InLeapYear.js b/node_modules/es-abstract/2017/InLeapYear.js deleted file mode 100644 index bfe0c451f..000000000 --- a/node_modules/es-abstract/2017/InLeapYear.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DaysInYear = require('./DaysInYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function InLeapYear(t) { - var days = DaysInYear(YearFromTime(t)); - if (days === 365) { - return 0; - } - if (days === 366) { - return 1; - } - throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); -}; diff --git a/node_modules/es-abstract/2017/InstanceofOperator.js b/node_modules/es-abstract/2017/InstanceofOperator.js deleted file mode 100644 index a3c4d2375..000000000 --- a/node_modules/es-abstract/2017/InstanceofOperator.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $hasInstance = GetIntrinsic('Symbol.hasInstance', true); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var OrdinaryHasInstance = require('./OrdinaryHasInstance'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-instanceofoperator - -module.exports = function InstanceofOperator(O, C) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var instOfHandler = $hasInstance ? GetMethod(C, $hasInstance) : void 0; - if (typeof instOfHandler !== 'undefined') { - return ToBoolean(Call(instOfHandler, C, [O])); - } - if (!IsCallable(C)) { - throw new $TypeError('`C` is not Callable'); - } - return OrdinaryHasInstance(C, O); -}; diff --git a/node_modules/es-abstract/2017/Invoke.js b/node_modules/es-abstract/2017/Invoke.js deleted file mode 100644 index d4214ee51..000000000 --- a/node_modules/es-abstract/2017/Invoke.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var IsArray = require('./IsArray'); -var GetV = require('./GetV'); -var IsPropertyKey = require('./IsPropertyKey'); - -// https://ecma-international.org/ecma-262/6.0/#sec-invoke - -module.exports = function Invoke(O, P) { - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - var func = GetV(O, P); - return Call(func, O, argumentsList); -}; diff --git a/node_modules/es-abstract/2017/IsAccessorDescriptor.js b/node_modules/es-abstract/2017/IsAccessorDescriptor.js deleted file mode 100644 index 78563e7ec..000000000 --- a/node_modules/es-abstract/2017/IsAccessorDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor - -module.exports = function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2017/IsArray.js b/node_modules/es-abstract/2017/IsArray.js deleted file mode 100644 index f933cec03..000000000 --- a/node_modules/es-abstract/2017/IsArray.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); - -// eslint-disable-next-line global-require -var toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isarray - -module.exports = $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; -}; diff --git a/node_modules/es-abstract/2017/IsCallable.js b/node_modules/es-abstract/2017/IsCallable.js deleted file mode 100644 index 3a69b1926..000000000 --- a/node_modules/es-abstract/2017/IsCallable.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.11 - -module.exports = require('is-callable'); diff --git a/node_modules/es-abstract/2017/IsConcatSpreadable.js b/node_modules/es-abstract/2017/IsConcatSpreadable.js deleted file mode 100644 index 141b33414..000000000 --- a/node_modules/es-abstract/2017/IsConcatSpreadable.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $isConcatSpreadable = GetIntrinsic('%Symbol.isConcatSpreadable%', true); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - -module.exports = function IsConcatSpreadable(O) { - if (Type(O) !== 'Object') { - return false; - } - if ($isConcatSpreadable) { - var spreadable = Get(O, $isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return ToBoolean(spreadable); - } - } - return IsArray(O); -}; diff --git a/node_modules/es-abstract/2017/IsConstructor.js b/node_modules/es-abstract/2017/IsConstructor.js deleted file mode 100644 index fe626e183..000000000 --- a/node_modules/es-abstract/2017/IsConstructor.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('../GetIntrinsic.js'); - -var $construct = GetIntrinsic('%Reflect.construct%', true); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -try { - DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} }); -} catch (e) { - // Accessor properties aren't supported - DefinePropertyOrThrow = null; -} - -// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor - -if (DefinePropertyOrThrow && $construct) { - var isConstructorMarker = {}; - var badArrayLike = {}; - DefinePropertyOrThrow(badArrayLike, 'length', { - '[[Get]]': function () { - throw isConstructorMarker; - }, - '[[Enumerable]]': true - }); - - module.exports = function IsConstructor(argument) { - try { - // `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`: - $construct(argument, badArrayLike); - } catch (err) { - return err === isConstructorMarker; - } - }; -} else { - module.exports = function IsConstructor(argument) { - // unfortunately there's no way to truly check this without try/catch `new argument` in old environments - return typeof argument === 'function' && !!argument.prototype; - }; -} diff --git a/node_modules/es-abstract/2017/IsDataDescriptor.js b/node_modules/es-abstract/2017/IsDataDescriptor.js deleted file mode 100644 index 00d14a60e..000000000 --- a/node_modules/es-abstract/2017/IsDataDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor - -module.exports = function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2017/IsExtensible.js b/node_modules/es-abstract/2017/IsExtensible.js deleted file mode 100644 index 9df5b80b1..000000000 --- a/node_modules/es-abstract/2017/IsExtensible.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var isPrimitive = require('../helpers/isPrimitive'); - -var $preventExtensions = $Object.preventExtensions; -var $isExtensible = $Object.isExtensible; - -// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o - -module.exports = $preventExtensions - ? function IsExtensible(obj) { - return !isPrimitive(obj) && $isExtensible(obj); - } - : function IsExtensible(obj) { - return !isPrimitive(obj); - }; diff --git a/node_modules/es-abstract/2017/IsGenericDescriptor.js b/node_modules/es-abstract/2017/IsGenericDescriptor.js deleted file mode 100644 index 95b1d353c..000000000 --- a/node_modules/es-abstract/2017/IsGenericDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isgenericdescriptor - -module.exports = function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) { - return true; - } - - return false; -}; diff --git a/node_modules/es-abstract/2017/IsInteger.js b/node_modules/es-abstract/2017/IsInteger.js deleted file mode 100644 index f4d1a2a7c..000000000 --- a/node_modules/es-abstract/2017/IsInteger.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isinteger - -module.exports = function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var absValue = abs(argument); - return floor(absValue) === absValue; -}; diff --git a/node_modules/es-abstract/2017/IsPromise.js b/node_modules/es-abstract/2017/IsPromise.js deleted file mode 100644 index a551ae0c8..000000000 --- a/node_modules/es-abstract/2017/IsPromise.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $PromiseThen = callBound('Promise.prototype.then', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ispromise - -module.exports = function IsPromise(x) { - if (Type(x) !== 'Object') { - return false; - } - if (!$PromiseThen) { // Promises are not supported - return false; - } - try { - $PromiseThen(x); // throws if not a promise - } catch (e) { - return false; - } - return true; -}; diff --git a/node_modules/es-abstract/2017/IsPropertyDescriptor.js b/node_modules/es-abstract/2017/IsPropertyDescriptor.js deleted file mode 100644 index 4cfe79bbe..000000000 --- a/node_modules/es-abstract/2017/IsPropertyDescriptor.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -// TODO, semver-major: delete this - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var Type = require('./Type'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); - -// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type - -module.exports = function IsPropertyDescriptor(Desc) { - return isPropertyDescriptor({ - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor, - Type: Type - }, Desc); -}; diff --git a/node_modules/es-abstract/2017/IsPropertyKey.js b/node_modules/es-abstract/2017/IsPropertyKey.js deleted file mode 100644 index f43ab581c..000000000 --- a/node_modules/es-abstract/2017/IsPropertyKey.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey - -module.exports = function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; -}; diff --git a/node_modules/es-abstract/2017/IsRegExp.js b/node_modules/es-abstract/2017/IsRegExp.js deleted file mode 100644 index e1054813f..000000000 --- a/node_modules/es-abstract/2017/IsRegExp.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $match = GetIntrinsic('%Symbol.match%', true); - -var hasRegExpMatcher = require('is-regex'); - -var ToBoolean = require('./ToBoolean'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isregexp - -module.exports = function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if ($match) { - var isRegExp = argument[$match]; - if (typeof isRegExp !== 'undefined') { - return ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); -}; diff --git a/node_modules/es-abstract/2017/IterableToList.js b/node_modules/es-abstract/2017/IterableToList.js deleted file mode 100644 index 6a1a6be39..000000000 --- a/node_modules/es-abstract/2017/IterableToList.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var $arrayPush = callBound('Array.prototype.push'); - -var GetIterator = require('./GetIterator'); -var IteratorStep = require('./IteratorStep'); -var IteratorValue = require('./IteratorValue'); - -// https://262.ecma-international.org/8.0/#sec-iterabletolist - -module.exports = function IterableToList(items, method) { - var iterator = GetIterator(items, method); - var values = []; - var next = true; - while (next) { - next = IteratorStep(iterator); - if (next) { - var nextValue = IteratorValue(next); - $arrayPush(values, nextValue); - } - } - return values; -}; diff --git a/node_modules/es-abstract/2017/IteratorClose.js b/node_modules/es-abstract/2017/IteratorClose.js deleted file mode 100644 index dd1118df7..000000000 --- a/node_modules/es-abstract/2017/IteratorClose.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose - -module.exports = function IteratorClose(iterator, completion) { - if (Type(iterator) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterator) is not Object'); - } - if (!IsCallable(completion)) { - throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); - } - var completionThunk = completion; - - var iteratorReturn = GetMethod(iterator, 'return'); - - if (typeof iteratorReturn === 'undefined') { - return completionThunk(); - } - - var completionRecord; - try { - var innerResult = Call(iteratorReturn, iterator, []); - } catch (e) { - // if we hit here, then "e" is the innerResult completion that needs re-throwing - - // if the completion is of type "throw", this will throw. - completionThunk(); - completionThunk = null; // ensure it's not called twice. - - // if not, then return the innerResult completion - throw e; - } - completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does - completionThunk = null; // ensure it's not called twice. - - if (Type(innerResult) !== 'Object') { - throw new $TypeError('iterator .return must return an object'); - } - - return completionRecord; -}; diff --git a/node_modules/es-abstract/2017/IteratorComplete.js b/node_modules/es-abstract/2017/IteratorComplete.js deleted file mode 100644 index ed4efa37d..000000000 --- a/node_modules/es-abstract/2017/IteratorComplete.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete - -module.exports = function IteratorComplete(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return ToBoolean(Get(iterResult, 'done')); -}; diff --git a/node_modules/es-abstract/2017/IteratorNext.js b/node_modules/es-abstract/2017/IteratorNext.js deleted file mode 100644 index cf80655b9..000000000 --- a/node_modules/es-abstract/2017/IteratorNext.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Invoke = require('./Invoke'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratornext - -module.exports = function IteratorNext(iterator, value) { - var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); - if (Type(result) !== 'Object') { - throw new $TypeError('iterator next must return an object'); - } - return result; -}; diff --git a/node_modules/es-abstract/2017/IteratorStep.js b/node_modules/es-abstract/2017/IteratorStep.js deleted file mode 100644 index 41b9d1b25..000000000 --- a/node_modules/es-abstract/2017/IteratorStep.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var IteratorComplete = require('./IteratorComplete'); -var IteratorNext = require('./IteratorNext'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep - -module.exports = function IteratorStep(iterator) { - var result = IteratorNext(iterator); - var done = IteratorComplete(result); - return done === true ? false : result; -}; - diff --git a/node_modules/es-abstract/2017/IteratorValue.js b/node_modules/es-abstract/2017/IteratorValue.js deleted file mode 100644 index d15d8aebb..000000000 --- a/node_modules/es-abstract/2017/IteratorValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue - -module.exports = function IteratorValue(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return Get(iterResult, 'value'); -}; - diff --git a/node_modules/es-abstract/2017/MakeDate.js b/node_modules/es-abstract/2017/MakeDate.js deleted file mode 100644 index efeb6452e..000000000 --- a/node_modules/es-abstract/2017/MakeDate.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.13 - -module.exports = function MakeDate(day, time) { - if (!$isFinite(day) || !$isFinite(time)) { - return NaN; - } - return (day * msPerDay) + time; -}; diff --git a/node_modules/es-abstract/2017/MakeDay.js b/node_modules/es-abstract/2017/MakeDay.js deleted file mode 100644 index 13f568633..000000000 --- a/node_modules/es-abstract/2017/MakeDay.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $DateUTC = GetIntrinsic('%Date.UTC%'); - -var $isFinite = require('../helpers/isFinite'); - -var DateFromTime = require('./DateFromTime'); -var Day = require('./Day'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var MonthFromTime = require('./MonthFromTime'); -var ToInteger = require('./ToInteger'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.12 - -module.exports = function MakeDay(year, month, date) { - if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { - return NaN; - } - var y = ToInteger(year); - var m = ToInteger(month); - var dt = ToInteger(date); - var ym = y + floor(m / 12); - var mn = modulo(m, 12); - var t = $DateUTC(ym, mn, 1); - if (YearFromTime(t) !== ym || MonthFromTime(t) !== mn || DateFromTime(t) !== 1) { - return NaN; - } - return Day(t) + dt - 1; -}; diff --git a/node_modules/es-abstract/2017/MakeTime.js b/node_modules/es-abstract/2017/MakeTime.js deleted file mode 100644 index 34cb4dcca..000000000 --- a/node_modules/es-abstract/2017/MakeTime.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var msPerMinute = timeConstants.msPerMinute; -var msPerHour = timeConstants.msPerHour; - -var ToInteger = require('./ToInteger'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.11 - -module.exports = function MakeTime(hour, min, sec, ms) { - if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { - return NaN; - } - var h = ToInteger(hour); - var m = ToInteger(min); - var s = ToInteger(sec); - var milli = ToInteger(ms); - var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; - return t; -}; diff --git a/node_modules/es-abstract/2017/MinFromTime.js b/node_modules/es-abstract/2017/MinFromTime.js deleted file mode 100644 index a0c631d4c..000000000 --- a/node_modules/es-abstract/2017/MinFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerMinute = timeConstants.msPerMinute; -var MinutesPerHour = timeConstants.MinutesPerHour; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function MinFromTime(t) { - return modulo(floor(t / msPerMinute), MinutesPerHour); -}; diff --git a/node_modules/es-abstract/2017/MonthFromTime.js b/node_modules/es-abstract/2017/MonthFromTime.js deleted file mode 100644 index a482a7df9..000000000 --- a/node_modules/es-abstract/2017/MonthFromTime.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function MonthFromTime(t) { - var day = DayWithinYear(t); - if (0 <= day && day < 31) { - return 0; - } - var leap = InLeapYear(t); - if (31 <= day && day < (59 + leap)) { - return 1; - } - if ((59 + leap) <= day && day < (90 + leap)) { - return 2; - } - if ((90 + leap) <= day && day < (120 + leap)) { - return 3; - } - if ((120 + leap) <= day && day < (151 + leap)) { - return 4; - } - if ((151 + leap) <= day && day < (181 + leap)) { - return 5; - } - if ((181 + leap) <= day && day < (212 + leap)) { - return 6; - } - if ((212 + leap) <= day && day < (243 + leap)) { - return 7; - } - if ((243 + leap) <= day && day < (273 + leap)) { - return 8; - } - if ((273 + leap) <= day && day < (304 + leap)) { - return 9; - } - if ((304 + leap) <= day && day < (334 + leap)) { - return 10; - } - if ((334 + leap) <= day && day < (365 + leap)) { - return 11; - } -}; diff --git a/node_modules/es-abstract/2017/ObjectCreate.js b/node_modules/es-abstract/2017/ObjectCreate.js deleted file mode 100644 index 2851a646d..000000000 --- a/node_modules/es-abstract/2017/ObjectCreate.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ObjectCreate = GetIntrinsic('%Object.create%', true); -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); - -var Type = require('./Type'); - -var hasProto = !({ __proto__: null } instanceof Object); - -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate - -module.exports = function ObjectCreate(proto, internalSlotsList) { - if (proto !== null && Type(proto) !== 'Object') { - throw new $TypeError('Assertion failed: `proto` must be null or an object'); - } - var slots = arguments.length < 2 ? [] : internalSlotsList; - if (slots.length > 0) { - throw new $SyntaxError('es-abstract does not yet support internal slots'); - } - - if ($ObjectCreate) { - return $ObjectCreate(proto); - } - if (hasProto) { - return { __proto__: proto }; - } - - if (proto === null) { - throw new $SyntaxError('native Object.create support is required to create null objects'); - } - var T = function T() {}; - T.prototype = proto; - return new T(); -}; diff --git a/node_modules/es-abstract/2017/OrdinaryCreateFromConstructor.js b/node_modules/es-abstract/2017/OrdinaryCreateFromConstructor.js deleted file mode 100644 index e2a299eaa..000000000 --- a/node_modules/es-abstract/2017/OrdinaryCreateFromConstructor.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); -var IsArray = require('./IsArray'); -var ObjectCreate = require('./ObjectCreate'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor - -module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { - GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - var proto = GetPrototypeFromConstructor(constructor, intrinsicDefaultProto); - var slots = arguments.length < 3 ? [] : arguments[2]; - if (!IsArray(slots)) { - throw new $TypeError('Assertion failed: if provided, `internalSlotsList` must be a List'); - } - return ObjectCreate(proto, slots); -}; diff --git a/node_modules/es-abstract/2017/OrdinaryDefineOwnProperty.js b/node_modules/es-abstract/2017/OrdinaryDefineOwnProperty.js deleted file mode 100644 index 5d33aa6d6..000000000 --- a/node_modules/es-abstract/2017/OrdinaryDefineOwnProperty.js +++ /dev/null @@ -1,61 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); -var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty - -module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!$gOPD) { - // ES3/IE 8 fallback - if (IsAccessorDescriptor(Desc)) { - throw new $SyntaxError('This environment does not support accessor property descriptors.'); - } - var creatingNormalDataProperty = !(P in O) - && Desc['[[Writable]]'] - && Desc['[[Enumerable]]'] - && Desc['[[Configurable]]'] - && '[[Value]]' in Desc; - var settingExistingDataProperty = (P in O) - && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) - && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) - && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) - && '[[Value]]' in Desc; - if (creatingNormalDataProperty || settingExistingDataProperty) { - O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign - return SameValue(O[P], Desc['[[Value]]']); - } - throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties'); - } - var desc = $gOPD(O, P); - var current = desc && ToPropertyDescriptor(desc); - var extensible = IsExtensible(O); - return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current); -}; diff --git a/node_modules/es-abstract/2017/OrdinaryGetOwnProperty.js b/node_modules/es-abstract/2017/OrdinaryGetOwnProperty.js deleted file mode 100644 index 3d11e9fad..000000000 --- a/node_modules/es-abstract/2017/OrdinaryGetOwnProperty.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var has = require('has'); - -var IsArray = require('./IsArray'); -var IsPropertyKey = require('./IsPropertyKey'); -var IsRegExp = require('./IsRegExp'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty - -module.exports = function OrdinaryGetOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!has(O, P)) { - return void 0; - } - if (!$gOPD) { - // ES3 / IE 8 fallback - var arrayLength = IsArray(O) && P === 'length'; - var regexLastIndex = IsRegExp(O) && P === 'lastIndex'; - return { - '[[Configurable]]': !(arrayLength || regexLastIndex), - '[[Enumerable]]': $isEnumerable(O, P), - '[[Value]]': O[P], - '[[Writable]]': true - }; - } - return ToPropertyDescriptor($gOPD(O, P)); -}; diff --git a/node_modules/es-abstract/2017/OrdinaryGetPrototypeOf.js b/node_modules/es-abstract/2017/OrdinaryGetPrototypeOf.js deleted file mode 100644 index ba17b9887..000000000 --- a/node_modules/es-abstract/2017/OrdinaryGetPrototypeOf.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $getProto = require('../helpers/getProto'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof - -module.exports = function OrdinaryGetPrototypeOf(O) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!$getProto) { - throw new $TypeError('This environment does not support fetching prototypes.'); - } - return $getProto(O); -}; diff --git a/node_modules/es-abstract/2017/OrdinaryHasInstance.js b/node_modules/es-abstract/2017/OrdinaryHasInstance.js deleted file mode 100644 index 85a240ca2..000000000 --- a/node_modules/es-abstract/2017/OrdinaryHasInstance.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance - -module.exports = function OrdinaryHasInstance(C, O) { - if (IsCallable(C) === false) { - return false; - } - if (Type(O) !== 'Object') { - return false; - } - var P = Get(C, 'prototype'); - if (Type(P) !== 'Object') { - throw new $TypeError('OrdinaryHasInstance called on an object with an invalid prototype property.'); - } - return O instanceof C; -}; diff --git a/node_modules/es-abstract/2017/OrdinaryHasProperty.js b/node_modules/es-abstract/2017/OrdinaryHasProperty.js deleted file mode 100644 index dd09ca3b1..000000000 --- a/node_modules/es-abstract/2017/OrdinaryHasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasproperty - -module.exports = function OrdinaryHasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2017/OrdinarySetPrototypeOf.js b/node_modules/es-abstract/2017/OrdinarySetPrototypeOf.js deleted file mode 100644 index d0ff7a7c2..000000000 --- a/node_modules/es-abstract/2017/OrdinarySetPrototypeOf.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $setProto = require('../helpers/setProto'); - -var OrdinaryGetPrototypeOf = require('./OrdinaryGetPrototypeOf'); -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof - -module.exports = function OrdinarySetPrototypeOf(O, V) { - if (Type(V) !== 'Object' && Type(V) !== 'Null') { - throw new $TypeError('Assertion failed: V must be Object or Null'); - } - /* - var extensible = IsExtensible(O); - var current = OrdinaryGetPrototypeOf(O); - if (SameValue(V, current)) { - return true; - } - if (!extensible) { - return false; - } - */ - try { - $setProto(O, V); - } catch (e) { - return false; - } - return OrdinaryGetPrototypeOf(O) === V; - /* - var p = V; - var done = false; - while (!done) { - if (p === null) { - done = true; - } else if (SameValue(p, O)) { - return false; - } else { - if (wat) { - done = true; - } else { - p = p.[[Prototype]]; - } - } - } - O.[[Prototype]] = V; - return true; - */ -}; diff --git a/node_modules/es-abstract/2017/QuoteJSONString.js b/node_modules/es-abstract/2017/QuoteJSONString.js deleted file mode 100644 index 884afef25..000000000 --- a/node_modules/es-abstract/2017/QuoteJSONString.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); -var $numberToString = callBound('Number.prototype.toString'); -var $toLowerCase = callBound('String.prototype.toLowerCase'); -var $strSlice = callBound('String.prototype.slice'); -var $strSplit = callBound('String.prototype.split'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-quotejsonstring - -var escapes = { - '\u0008': 'b', - '\u000C': 'f', - '\u000A': 'n', - '\u000D': 'r', - '\u0009': 't' -}; - -module.exports = function QuoteJSONString(value) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `value` must be a String'); - } - var product = '"'; - if (value) { - forEach($strSplit(value), function (C) { - if (C === '"' || C === '\\') { - product += '\u005C' + C; - } else if (C === '\u0008' || C === '\u000C' || C === '\u000A' || C === '\u000D' || C === '\u0009') { - var abbrev = escapes[C]; - product += '\u005C' + abbrev; - } else { - var cCharCode = $charCodeAt(C, 0); - if (cCharCode < 0x20) { - product += '\u005Cu' + $toLowerCase($strSlice('0000' + $numberToString(cCharCode, 16), -4)); - } else { - product += C; - } - } - }); - } - product += '"'; - return product; -}; diff --git a/node_modules/es-abstract/2017/RegExpCreate.js b/node_modules/es-abstract/2017/RegExpCreate.js deleted file mode 100644 index 68e31605e..000000000 --- a/node_modules/es-abstract/2017/RegExpCreate.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RegExp = GetIntrinsic('%RegExp%'); - -// var RegExpAlloc = require('./RegExpAlloc'); -// var RegExpInitialize = require('./RegExpInitialize'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/6.0/#sec-regexpcreate - -module.exports = function RegExpCreate(P, F) { - // var obj = RegExpAlloc($RegExp); - // return RegExpInitialize(obj, P, F); - - // covers spec mechanics; bypass regex brand checking - var pattern = typeof P === 'undefined' ? '' : ToString(P); - var flags = typeof F === 'undefined' ? '' : ToString(F); - return new $RegExp(pattern, flags); -}; diff --git a/node_modules/es-abstract/2017/RegExpExec.js b/node_modules/es-abstract/2017/RegExpExec.js deleted file mode 100644 index 29fee1720..000000000 --- a/node_modules/es-abstract/2017/RegExpExec.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var regexExec = require('call-bind/callBound')('RegExp.prototype.exec'); - -var Call = require('./Call'); -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec - -module.exports = function RegExpExec(R, S) { - if (Type(R) !== 'Object') { - throw new $TypeError('Assertion failed: `R` must be an Object'); - } - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - var exec = Get(R, 'exec'); - if (IsCallable(exec)) { - var result = Call(exec, R, [S]); - if (result === null || Type(result) === 'Object') { - return result; - } - throw new $TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); -}; diff --git a/node_modules/es-abstract/2017/RequireObjectCoercible.js b/node_modules/es-abstract/2017/RequireObjectCoercible.js deleted file mode 100644 index 9008359db..000000000 --- a/node_modules/es-abstract/2017/RequireObjectCoercible.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../5/CheckObjectCoercible'); diff --git a/node_modules/es-abstract/2017/SameValue.js b/node_modules/es-abstract/2017/SameValue.js deleted file mode 100644 index b73939b20..000000000 --- a/node_modules/es-abstract/2017/SameValue.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// http://262.ecma-international.org/5.1/#sec-9.12 - -module.exports = function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); -}; diff --git a/node_modules/es-abstract/2017/SameValueNonNumber.js b/node_modules/es-abstract/2017/SameValueNonNumber.js deleted file mode 100644 index b6d2c4e64..000000000 --- a/node_modules/es-abstract/2017/SameValueNonNumber.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); - -// https://262.ecma-international.org/7.0/#sec-samevaluenonnumber - -module.exports = function SameValueNonNumber(x, y) { - if (typeof x === 'number' || typeof x !== typeof y) { - throw new $TypeError('SameValueNonNumber requires two non-number values of the same type.'); - } - return SameValue(x, y); -}; diff --git a/node_modules/es-abstract/2017/SameValueZero.js b/node_modules/es-abstract/2017/SameValueZero.js deleted file mode 100644 index bf1a1486a..000000000 --- a/node_modules/es-abstract/2017/SameValueZero.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero - -module.exports = function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); -}; diff --git a/node_modules/es-abstract/2017/SecFromTime.js b/node_modules/es-abstract/2017/SecFromTime.js deleted file mode 100644 index fc2e44560..000000000 --- a/node_modules/es-abstract/2017/SecFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var SecondsPerMinute = timeConstants.SecondsPerMinute; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function SecFromTime(t) { - return modulo(floor(t / msPerSecond), SecondsPerMinute); -}; diff --git a/node_modules/es-abstract/2017/Set.js b/node_modules/es-abstract/2017/Set.js deleted file mode 100644 index ea49e813f..000000000 --- a/node_modules/es-abstract/2017/Set.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// IE 9 does not throw in strict mode when writability/configurability/extensibility is violated -var noThrowOnStrictViolation = (function () { - try { - delete [].length; - return true; - } catch (e) { - return false; - } -}()); - -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - -module.exports = function Set(O, P, V, Throw) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - if (Type(Throw) !== 'Boolean') { - throw new $TypeError('Assertion failed: `Throw` must be a Boolean'); - } - if (Throw) { - O[P] = V; // eslint-disable-line no-param-reassign - if (noThrowOnStrictViolation && !SameValue(O[P], V)) { - throw new $TypeError('Attempted to assign to readonly property.'); - } - return true; - } else { - try { - O[P] = V; // eslint-disable-line no-param-reassign - return noThrowOnStrictViolation ? SameValue(O[P], V) : true; - } catch (e) { - return false; - } - } -}; diff --git a/node_modules/es-abstract/2017/SetFunctionName.js b/node_modules/es-abstract/2017/SetFunctionName.js deleted file mode 100644 index f59cb7b9e..000000000 --- a/node_modules/es-abstract/2017/SetFunctionName.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var has = require('has'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getSymbolDescription = require('../helpers/getSymbolDescription'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsExtensible = require('./IsExtensible'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname - -module.exports = function SetFunctionName(F, name) { - if (typeof F !== 'function') { - throw new $TypeError('Assertion failed: `F` must be a function'); - } - if (!IsExtensible(F) || has(F, 'name')) { - throw new $TypeError('Assertion failed: `F` must be extensible, and must not have a `name` own property'); - } - var nameType = Type(name); - if (nameType !== 'Symbol' && nameType !== 'String') { - throw new $TypeError('Assertion failed: `name` must be a Symbol or a String'); - } - if (nameType === 'Symbol') { - var description = getSymbolDescription(name); - // eslint-disable-next-line no-param-reassign - name = typeof description === 'undefined' ? '' : '[' + description + ']'; - } - if (arguments.length > 2) { - var prefix = arguments[2]; - // eslint-disable-next-line no-param-reassign - name = prefix + ' ' + name; - } - return DefinePropertyOrThrow(F, 'name', { - '[[Value]]': name, - '[[Writable]]': false, - '[[Enumerable]]': false, - '[[Configurable]]': true - }); -}; diff --git a/node_modules/es-abstract/2017/SetIntegrityLevel.js b/node_modules/es-abstract/2017/SetIntegrityLevel.js deleted file mode 100644 index 1ac7d61e2..000000000 --- a/node_modules/es-abstract/2017/SetIntegrityLevel.js +++ /dev/null @@ -1,57 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); -var $preventExtensions = GetIntrinsic('%Object.preventExtensions%'); -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); - -var forEach = require('../helpers/forEach'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel - -module.exports = function SetIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - if (!$preventExtensions) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.preventExtensions` support'); - } - var status = $preventExtensions(O); - if (!status) { - return false; - } - if (!$gOPN) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.getOwnPropertyNames` support'); - } - var theKeys = $gOPN(O); - if (level === 'sealed') { - forEach(theKeys, function (k) { - DefinePropertyOrThrow(O, k, { configurable: false }); - }); - } else if (level === 'frozen') { - forEach(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - var desc; - if (IsAccessorDescriptor(ToPropertyDescriptor(currentDesc))) { - desc = { configurable: false }; - } else { - desc = { configurable: false, writable: false }; - } - DefinePropertyOrThrow(O, k, desc); - } - }); - } - return true; -}; diff --git a/node_modules/es-abstract/2017/SpeciesConstructor.js b/node_modules/es-abstract/2017/SpeciesConstructor.js deleted file mode 100644 index 491eb9b87..000000000 --- a/node_modules/es-abstract/2017/SpeciesConstructor.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - -module.exports = function SpeciesConstructor(O, defaultConstructor) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (Type(C) !== 'Object') { - throw new $TypeError('O.constructor is not an Object'); - } - var S = $species ? C[$species] : void 0; - if (S == null) { - return defaultConstructor; - } - if (IsConstructor(S)) { - return S; - } - throw new $TypeError('no constructor found'); -}; diff --git a/node_modules/es-abstract/2017/SplitMatch.js b/node_modules/es-abstract/2017/SplitMatch.js deleted file mode 100644 index 8ab05355e..000000000 --- a/node_modules/es-abstract/2017/SplitMatch.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var $charAt = callBound('String.prototype.charAt'); - -// https://262.ecma-international.org/6.0/#sec-splitmatch - -module.exports = function SplitMatch(S, q, R) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(q)) { - throw new $TypeError('Assertion failed: `q` must be an integer'); - } - if (Type(R) !== 'String') { - throw new $TypeError('Assertion failed: `R` must be a String'); - } - var r = R.length; - var s = S.length; - if (q + r > s) { - return false; - } - - for (var i = 0; i < r; i += 1) { - if ($charAt(S, q + i) !== $charAt(R, i)) { - return false; - } - } - - return q + r; -}; diff --git a/node_modules/es-abstract/2017/StrictEqualityComparison.js b/node_modules/es-abstract/2017/StrictEqualityComparison.js deleted file mode 100644 index f3435ba9d..000000000 --- a/node_modules/es-abstract/2017/StrictEqualityComparison.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.9.6 - -module.exports = function StrictEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType !== yType) { - return false; - } - if (xType === 'Undefined' || xType === 'Null') { - return true; - } - return x === y; // shortcut for steps 4-7 -}; diff --git a/node_modules/es-abstract/2017/StringCreate.js b/node_modules/es-abstract/2017/StringCreate.js deleted file mode 100644 index da0c0ea06..000000000 --- a/node_modules/es-abstract/2017/StringCreate.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); -var $StringPrototype = GetIntrinsic('%String.prototype%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var Type = require('./Type'); - -var setProto = require('../helpers/setProto'); - -// https://262.ecma-international.org/6.0/#sec-stringcreate - -module.exports = function StringCreate(value, prototype) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - - var S = $Object(value); - if (S !== $StringPrototype) { - if (setProto) { - setProto(S, prototype); - } else { - throw new $SyntaxError('StringCreate: a `proto` argument that is not `String.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - } - - var length = value.length; - DefinePropertyOrThrow(S, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); - - return S; -}; diff --git a/node_modules/es-abstract/2017/StringGetOwnProperty.js b/node_modules/es-abstract/2017/StringGetOwnProperty.js deleted file mode 100644 index b6f904ec3..000000000 --- a/node_modules/es-abstract/2017/StringGetOwnProperty.js +++ /dev/null @@ -1,48 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var $charAt = callBound('String.prototype.charAt'); -var $stringToString = callBound('String.prototype.toString'); - -var CanonicalNumericIndexString = require('./CanonicalNumericIndexString'); -var IsInteger = require('./IsInteger'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -var isNegativeZero = require('is-negative-zero'); - -// https://262.ecma-international.org/8.0/#sec-stringgetownproperty - -module.exports = function StringGetOwnProperty(S, P) { - var str; - if (Type(S) === 'Object') { - try { - str = $stringToString(S); - } catch (e) { /**/ } - } - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a boxed string object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - if (Type(P) !== 'String') { - return void undefined; - } - var index = CanonicalNumericIndexString(P); - var len = str.length; - if (typeof index === 'undefined' || !IsInteger(index) || isNegativeZero(index) || index < 0 || len <= index) { - return void undefined; - } - var resultStr = $charAt(S, index); - return { - '[[Configurable]]': false, - '[[Enumerable]]': true, - '[[Value]]': resultStr, - '[[Writable]]': false - }; -}; diff --git a/node_modules/es-abstract/2017/SymbolDescriptiveString.js b/node_modules/es-abstract/2017/SymbolDescriptiveString.js deleted file mode 100644 index 1efd1316b..000000000 --- a/node_modules/es-abstract/2017/SymbolDescriptiveString.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $SymbolToString = callBound('Symbol.prototype.toString', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring - -module.exports = function SymbolDescriptiveString(sym) { - if (Type(sym) !== 'Symbol') { - throw new $TypeError('Assertion failed: `sym` must be a Symbol'); - } - return $SymbolToString(sym); -}; diff --git a/node_modules/es-abstract/2017/TestIntegrityLevel.js b/node_modules/es-abstract/2017/TestIntegrityLevel.js deleted file mode 100644 index cf1649c1b..000000000 --- a/node_modules/es-abstract/2017/TestIntegrityLevel.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var every = require('../helpers/every'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel - -module.exports = function TestIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - var status = IsExtensible(O); - if (status) { - return false; - } - var theKeys = $gOPN(O); - return theKeys.length === 0 || every(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - if (currentDesc.configurable) { - return false; - } - if (level === 'frozen' && IsDataDescriptor(ToPropertyDescriptor(currentDesc)) && currentDesc.writable) { - return false; - } - } - return true; - }); -}; diff --git a/node_modules/es-abstract/2017/TimeClip.js b/node_modules/es-abstract/2017/TimeClip.js deleted file mode 100644 index e416cab4b..000000000 --- a/node_modules/es-abstract/2017/TimeClip.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); -var $Number = GetIntrinsic('%Number%'); - -var $isFinite = require('../helpers/isFinite'); - -var abs = require('./abs'); -var ToNumber = require('./ToNumber'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.14 - -module.exports = function TimeClip(time) { - if (!$isFinite(time) || abs(time) > 8.64e15) { - return NaN; - } - return $Number(new $Date(ToNumber(time))); -}; - diff --git a/node_modules/es-abstract/2017/TimeFromYear.js b/node_modules/es-abstract/2017/TimeFromYear.js deleted file mode 100644 index f3518a41a..000000000 --- a/node_modules/es-abstract/2017/TimeFromYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -var DayFromYear = require('./DayFromYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function TimeFromYear(y) { - return msPerDay * DayFromYear(y); -}; diff --git a/node_modules/es-abstract/2017/TimeWithinDay.js b/node_modules/es-abstract/2017/TimeWithinDay.js deleted file mode 100644 index 2bba83386..000000000 --- a/node_modules/es-abstract/2017/TimeWithinDay.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function TimeWithinDay(t) { - return modulo(t, msPerDay); -}; - diff --git a/node_modules/es-abstract/2017/ToBoolean.js b/node_modules/es-abstract/2017/ToBoolean.js deleted file mode 100644 index 466404bf9..000000000 --- a/node_modules/es-abstract/2017/ToBoolean.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.2 - -module.exports = function ToBoolean(value) { return !!value; }; diff --git a/node_modules/es-abstract/2017/ToDateString.js b/node_modules/es-abstract/2017/ToDateString.js deleted file mode 100644 index e636a9ba6..000000000 --- a/node_modules/es-abstract/2017/ToDateString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Date = GetIntrinsic('%Date%'); - -var $isNaN = require('../helpers/isNaN'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring - -module.exports = function ToDateString(tv) { - if (Type(tv) !== 'Number') { - throw new $TypeError('Assertion failed: `tv` must be a Number'); - } - if ($isNaN(tv)) { - return 'Invalid Date'; - } - return $Date(tv); -}; diff --git a/node_modules/es-abstract/2017/ToIndex.js b/node_modules/es-abstract/2017/ToIndex.js deleted file mode 100644 index 7c9d746d5..000000000 --- a/node_modules/es-abstract/2017/ToIndex.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); - -var ToInteger = require('./ToInteger'); -var ToLength = require('./ToLength'); -var SameValueZero = require('./SameValueZero'); - -// https://262.ecma-international.org/8.0/#sec-toindex - -module.exports = function ToIndex(value) { - if (typeof value === 'undefined') { - return 0; - } - var integerIndex = ToInteger(value); - if (integerIndex < 0) { - throw new $RangeError('index must be >= 0'); - } - var index = ToLength(integerIndex); - if (!SameValueZero(integerIndex, index)) { - throw new $RangeError('index must be >= 0 and < 2 ** 53 - 1'); - } - return index; -}; diff --git a/node_modules/es-abstract/2017/ToInt16.js b/node_modules/es-abstract/2017/ToInt16.js deleted file mode 100644 index cb8e7934b..000000000 --- a/node_modules/es-abstract/2017/ToInt16.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint16 = require('./ToUint16'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 - -module.exports = function ToInt16(argument) { - var int16bit = ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; -}; diff --git a/node_modules/es-abstract/2017/ToInt32.js b/node_modules/es-abstract/2017/ToInt32.js deleted file mode 100644 index b879ccc47..000000000 --- a/node_modules/es-abstract/2017/ToInt32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.5 - -module.exports = function ToInt32(x) { - return ToNumber(x) >> 0; -}; diff --git a/node_modules/es-abstract/2017/ToInt8.js b/node_modules/es-abstract/2017/ToInt8.js deleted file mode 100644 index bc452d826..000000000 --- a/node_modules/es-abstract/2017/ToInt8.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint8 = require('./ToUint8'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 - -module.exports = function ToInt8(argument) { - var int8bit = ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; -}; diff --git a/node_modules/es-abstract/2017/ToInteger.js b/node_modules/es-abstract/2017/ToInteger.js deleted file mode 100644 index 297581809..000000000 --- a/node_modules/es-abstract/2017/ToInteger.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5ToInteger = require('../5/ToInteger'); - -var ToNumber = require('./ToNumber'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger - -module.exports = function ToInteger(value) { - var number = ToNumber(value); - return ES5ToInteger(number); -}; diff --git a/node_modules/es-abstract/2017/ToLength.js b/node_modules/es-abstract/2017/ToLength.js deleted file mode 100644 index 1bef9bed7..000000000 --- a/node_modules/es-abstract/2017/ToLength.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var ToInteger = require('./ToInteger'); - -module.exports = function ToLength(argument) { - var len = ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; -}; diff --git a/node_modules/es-abstract/2017/ToNumber.js b/node_modules/es-abstract/2017/ToNumber.js deleted file mode 100644 index e776bb2b7..000000000 --- a/node_modules/es-abstract/2017/ToNumber.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Number = GetIntrinsic('%Number%'); -var $RegExp = GetIntrinsic('%RegExp%'); -var $parseInteger = GetIntrinsic('%parseInt%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var isPrimitive = require('../helpers/isPrimitive'); - -var $strSlice = callBound('String.prototype.slice'); -var isBinary = regexTester(/^0b[01]+$/i); -var isOctal = regexTester(/^0o[0-7]+$/i); -var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = regexTester(nonWSregex); - -// whitespace from: https://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var $replace = callBound('String.prototype.replace'); -var $trim = function (value) { - return $replace(value, trimRegex, ''); -}; - -var ToPrimitive = require('./ToPrimitive'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber - -module.exports = function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = $trim(value); - if (trimmed !== value) { - return ToNumber(trimmed); - } - } - } - return $Number(value); -}; diff --git a/node_modules/es-abstract/2017/ToObject.js b/node_modules/es-abstract/2017/ToObject.js deleted file mode 100644 index cb26bac06..000000000 --- a/node_modules/es-abstract/2017/ToObject.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toobject - -module.exports = function ToObject(value) { - RequireObjectCoercible(value); - return $Object(value); -}; diff --git a/node_modules/es-abstract/2017/ToPrimitive.js b/node_modules/es-abstract/2017/ToPrimitive.js deleted file mode 100644 index 0fbe9b807..000000000 --- a/node_modules/es-abstract/2017/ToPrimitive.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var toPrimitive = require('es-to-primitive/es2015'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive - -module.exports = function ToPrimitive(input) { - if (arguments.length > 1) { - return toPrimitive(input, arguments[1]); - } - return toPrimitive(input); -}; diff --git a/node_modules/es-abstract/2017/ToPropertyDescriptor.js b/node_modules/es-abstract/2017/ToPropertyDescriptor.js deleted file mode 100644 index 53db87450..000000000 --- a/node_modules/es-abstract/2017/ToPropertyDescriptor.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var has = require('has'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); -var ToBoolean = require('./ToBoolean'); -var IsCallable = require('./IsCallable'); - -// https://262.ecma-international.org/5.1/#sec-8.10.5 - -module.exports = function ToPropertyDescriptor(Obj) { - if (Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !IsCallable(getter)) { - throw new $TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; -}; diff --git a/node_modules/es-abstract/2017/ToPropertyKey.js b/node_modules/es-abstract/2017/ToPropertyKey.js deleted file mode 100644 index fc1bf7d86..000000000 --- a/node_modules/es-abstract/2017/ToPropertyKey.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); - -var ToPrimitive = require('./ToPrimitive'); -var ToString = require('./ToString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey - -module.exports = function ToPropertyKey(argument) { - var key = ToPrimitive(argument, $String); - return typeof key === 'symbol' ? key : ToString(key); -}; diff --git a/node_modules/es-abstract/2017/ToString.js b/node_modules/es-abstract/2017/ToString.js deleted file mode 100644 index 4d494e1e2..000000000 --- a/node_modules/es-abstract/2017/ToString.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tostring - -module.exports = function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); -}; diff --git a/node_modules/es-abstract/2017/ToUint16.js b/node_modules/es-abstract/2017/ToUint16.js deleted file mode 100644 index 633ca8464..000000000 --- a/node_modules/es-abstract/2017/ToUint16.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -// http://262.ecma-international.org/5.1/#sec-9.7 - -module.exports = function ToUint16(value) { - var number = ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x10000); -}; diff --git a/node_modules/es-abstract/2017/ToUint32.js b/node_modules/es-abstract/2017/ToUint32.js deleted file mode 100644 index 2a8e9dd6a..000000000 --- a/node_modules/es-abstract/2017/ToUint32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.6 - -module.exports = function ToUint32(x) { - return ToNumber(x) >>> 0; -}; diff --git a/node_modules/es-abstract/2017/ToUint8.js b/node_modules/es-abstract/2017/ToUint8.js deleted file mode 100644 index 2dfd97cb3..000000000 --- a/node_modules/es-abstract/2017/ToUint8.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 - -module.exports = function ToUint8(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x100); -}; diff --git a/node_modules/es-abstract/2017/ToUint8Clamp.js b/node_modules/es-abstract/2017/ToUint8Clamp.js deleted file mode 100644 index b0b8ce8ed..000000000 --- a/node_modules/es-abstract/2017/ToUint8Clamp.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp - -module.exports = function ToUint8Clamp(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; -}; diff --git a/node_modules/es-abstract/2017/Type.js b/node_modules/es-abstract/2017/Type.js deleted file mode 100644 index 0bd11659c..000000000 --- a/node_modules/es-abstract/2017/Type.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5Type = require('../5/Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values - -module.exports = function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5Type(x); -}; diff --git a/node_modules/es-abstract/2017/UTF16Decode.js b/node_modules/es-abstract/2017/UTF16Decode.js deleted file mode 100644 index 86927b478..000000000 --- a/node_modules/es-abstract/2017/UTF16Decode.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -// https://262.ecma-international.org/7.0/#sec-utf16decode - -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -// https://262.ecma-international.org/11.0/#sec-utf16decodesurrogatepair - -module.exports = function UTF16Decode(lead, trail) { - if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) { - throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code'); - } - // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000; - return $fromCharCode(lead) + $fromCharCode(trail); -}; diff --git a/node_modules/es-abstract/2017/UTF16Encoding.js b/node_modules/es-abstract/2017/UTF16Encoding.js deleted file mode 100644 index f381595fd..000000000 --- a/node_modules/es-abstract/2017/UTF16Encoding.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var isCodePoint = require('../helpers/isCodePoint'); - -// https://262.ecma-international.org/7.0/#sec-utf16encoding - -module.exports = function UTF16Encoding(cp) { - if (!isCodePoint(cp)) { - throw new $TypeError('Assertion failed: `cp` must be >= 0 and <= 0x10FFFF'); - } - if (cp <= 65535) { - return $fromCharCode(cp); - } - var cu1 = floor((cp - 65536) / 1024) + 0xD800; - var cu2 = modulo(cp - 65536, 1024) + 0xDC00; - return $fromCharCode(cu1) + $fromCharCode(cu2); -}; diff --git a/node_modules/es-abstract/2017/ValidateAndApplyPropertyDescriptor.js b/node_modules/es-abstract/2017/ValidateAndApplyPropertyDescriptor.js deleted file mode 100644 index a7fd218ad..000000000 --- a/node_modules/es-abstract/2017/ValidateAndApplyPropertyDescriptor.js +++ /dev/null @@ -1,170 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var isSamePropertyDescriptor = require('../helpers/isSamePropertyDescriptor'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor - -// eslint-disable-next-line max-lines-per-function, max-statements, max-params -module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { - // this uses the ES2017+ logic, since it fixes a number of bugs in the ES2015 logic. - var oType = Type(O); - if (oType !== 'Undefined' && oType !== 'Object') { - throw new $TypeError('Assertion failed: O must be undefined or an Object'); - } - if (Type(extensible) !== 'Boolean') { - throw new $TypeError('Assertion failed: extensible must be a Boolean'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (Type(current) !== 'Undefined' && !isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, current)) { - throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined'); - } - if (oType !== 'Undefined' && !IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: if O is not undefined, P must be a Property Key'); - } - if (Type(current) === 'Undefined') { - if (!extensible) { - return false; - } - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': Desc['[[Configurable]]'], - '[[Enumerable]]': Desc['[[Enumerable]]'], - '[[Value]]': Desc['[[Value]]'], - '[[Writable]]': Desc['[[Writable]]'] - } - ); - } - } else { - if (!IsAccessorDescriptor(Desc)) { - throw new $TypeError('Assertion failed: Desc is not an accessor descriptor'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - } - return true; - } - if (IsGenericDescriptor(Desc) && !('[[Configurable]]' in Desc) && !('[[Enumerable]]' in Desc)) { - return true; - } - if (isSamePropertyDescriptor({ SameValue: SameValue }, Desc, current)) { - return true; // removed by ES2017, but should still be correct - } - // "if every field in Desc is absent, return true" can't really match the assertion that it's a Property Descriptor - if (!current['[[Configurable]]']) { - if (Desc['[[Configurable]]']) { - return false; - } - if ('[[Enumerable]]' in Desc && !Desc['[[Enumerable]]'] === !!current['[[Enumerable]]']) { - return false; - } - } - if (IsGenericDescriptor(Desc)) { - // no further validation is required. - } else if (IsDataDescriptor(current) !== IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - return false; - } - if (IsDataDescriptor(current)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Get]]': undefined - } - ); - } - } else if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Value]]': undefined - } - ); - } - } else if (IsDataDescriptor(current) && IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]'] && !current['[[Writable]]']) { - if ('[[Writable]]' in Desc && Desc['[[Writable]]']) { - return false; - } - if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) { - return false; - } - return true; - } - } else if (IsAccessorDescriptor(current) && IsAccessorDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) { - return false; - } - if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) { - return false; - } - return true; - } - } else { - throw new $TypeError('Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - return true; -}; diff --git a/node_modules/es-abstract/2017/WeekDay.js b/node_modules/es-abstract/2017/WeekDay.js deleted file mode 100644 index 17cf94ca3..000000000 --- a/node_modules/es-abstract/2017/WeekDay.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.6 - -module.exports = function WeekDay(t) { - return modulo(Day(t) + 4, 7); -}; diff --git a/node_modules/es-abstract/2017/YearFromTime.js b/node_modules/es-abstract/2017/YearFromTime.js deleted file mode 100644 index be06ecbc3..000000000 --- a/node_modules/es-abstract/2017/YearFromTime.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); - -var callBound = require('call-bind/callBound'); - -var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function YearFromTime(t) { - // largest y such that this.TimeFromYear(y) <= t - return $getUTCFullYear(new $Date(t)); -}; diff --git a/node_modules/es-abstract/2017/abs.js b/node_modules/es-abstract/2017/abs.js deleted file mode 100644 index 8bc45434d..000000000 --- a/node_modules/es-abstract/2017/abs.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $abs = GetIntrinsic('%Math.abs%'); - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function abs(x) { - return $abs(x); -}; diff --git a/node_modules/es-abstract/2017/floor.js b/node_modules/es-abstract/2017/floor.js deleted file mode 100644 index 8439df064..000000000 --- a/node_modules/es-abstract/2017/floor.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -// var modulo = require('./modulo'); -var $floor = Math.floor; - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function floor(x) { - // return x - modulo(x, 1); - return $floor(x); -}; diff --git a/node_modules/es-abstract/2017/modulo.js b/node_modules/es-abstract/2017/modulo.js deleted file mode 100644 index b94bb52bb..000000000 --- a/node_modules/es-abstract/2017/modulo.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var mod = require('../helpers/mod'); - -// https://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function modulo(x, y) { - return mod(x, y); -}; diff --git a/node_modules/es-abstract/2017/msFromTime.js b/node_modules/es-abstract/2017/msFromTime.js deleted file mode 100644 index a6bae767a..000000000 --- a/node_modules/es-abstract/2017/msFromTime.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerSecond = require('../helpers/timeConstants').msPerSecond; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function msFromTime(t) { - return modulo(t, msPerSecond); -}; diff --git a/node_modules/es-abstract/2017/thisBooleanValue.js b/node_modules/es-abstract/2017/thisBooleanValue.js deleted file mode 100644 index 27075b9c4..000000000 --- a/node_modules/es-abstract/2017/thisBooleanValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object - -module.exports = function thisBooleanValue(value) { - if (Type(value) === 'Boolean') { - return value; - } - - return $BooleanValueOf(value); -}; diff --git a/node_modules/es-abstract/2017/thisNumberValue.js b/node_modules/es-abstract/2017/thisNumberValue.js deleted file mode 100644 index 92968dcdf..000000000 --- a/node_modules/es-abstract/2017/thisNumberValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var Type = require('./Type'); - -var $NumberValueOf = callBound('Number.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object - -module.exports = function thisNumberValue(value) { - if (Type(value) === 'Number') { - return value; - } - - return $NumberValueOf(value); -}; - diff --git a/node_modules/es-abstract/2017/thisStringValue.js b/node_modules/es-abstract/2017/thisStringValue.js deleted file mode 100644 index 8e4274d81..000000000 --- a/node_modules/es-abstract/2017/thisStringValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object - -module.exports = function thisStringValue(value) { - if (Type(value) === 'String') { - return value; - } - - return $StringValueOf(value); -}; diff --git a/node_modules/es-abstract/2017/thisTimeValue.js b/node_modules/es-abstract/2017/thisTimeValue.js deleted file mode 100644 index 12548fa4f..000000000 --- a/node_modules/es-abstract/2017/thisTimeValue.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $DateValueOf = require('call-bind/callBound')('Date.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object - -module.exports = function thisTimeValue(value) { - return $DateValueOf(value); -}; diff --git a/node_modules/es-abstract/2018/AbstractEqualityComparison.js b/node_modules/es-abstract/2018/AbstractEqualityComparison.js deleted file mode 100644 index c776194c1..000000000 --- a/node_modules/es-abstract/2018/AbstractEqualityComparison.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-abstract-equality-comparison - -module.exports = function AbstractEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (xType === 'Boolean') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (yType === 'Boolean') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number' || xType === 'Symbol') && yType === 'Object') { - return AbstractEqualityComparison(x, ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number' || yType === 'Symbol')) { - return AbstractEqualityComparison(ToPrimitive(x), y); - } - return false; -}; diff --git a/node_modules/es-abstract/2018/AbstractRelationalComparison.js b/node_modules/es-abstract/2018/AbstractRelationalComparison.js deleted file mode 100644 index 0dfed5ffe..000000000 --- a/node_modules/es-abstract/2018/AbstractRelationalComparison.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Number = GetIntrinsic('%Number%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var isPrefixOf = require('../helpers/isPrefixOf'); - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.8.5 - -// eslint-disable-next-line max-statements -module.exports = function AbstractRelationalComparison(x, y, LeftFirst) { - if (Type(LeftFirst) !== 'Boolean') { - throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); - } - var px; - var py; - if (LeftFirst) { - px = ToPrimitive(x, $Number); - py = ToPrimitive(y, $Number); - } else { - py = ToPrimitive(y, $Number); - px = ToPrimitive(x, $Number); - } - var bothStrings = Type(px) === 'String' && Type(py) === 'String'; - if (!bothStrings) { - var nx = ToNumber(px); - var ny = ToNumber(py); - if ($isNaN(nx) || $isNaN(ny)) { - return undefined; - } - if ($isFinite(nx) && $isFinite(ny) && nx === ny) { - return false; - } - if (nx === Infinity) { - return false; - } - if (ny === Infinity) { - return true; - } - if (ny === -Infinity) { - return false; - } - if (nx === -Infinity) { - return true; - } - return nx < ny; // by now, these are both nonzero, finite, and not equal - } - if (isPrefixOf(py, px)) { - return false; - } - if (isPrefixOf(px, py)) { - return true; - } - return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f -}; diff --git a/node_modules/es-abstract/2018/AdvanceStringIndex.js b/node_modules/es-abstract/2018/AdvanceStringIndex.js deleted file mode 100644 index 279602b4c..000000000 --- a/node_modules/es-abstract/2018/AdvanceStringIndex.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $charCodeAt = require('call-bind/callBound')('String.prototype.charCodeAt'); - -// https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex - -module.exports = function AdvanceStringIndex(S, index, unicode) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0 and <= 2**53'); - } - if (Type(unicode) !== 'Boolean') { - throw new $TypeError('Assertion failed: `unicode` must be a Boolean'); - } - if (!unicode) { - return index + 1; - } - var length = S.length; - if ((index + 1) >= length) { - return index + 1; - } - - var first = $charCodeAt(S, index); - if (!isLeadingSurrogate(first)) { - return index + 1; - } - - var second = $charCodeAt(S, index + 1); - if (!isTrailingSurrogate(second)) { - return index + 1; - } - - return index + 2; -}; diff --git a/node_modules/es-abstract/2018/ArrayCreate.js b/node_modules/es-abstract/2018/ArrayCreate.js deleted file mode 100644 index 4d20e2e5e..000000000 --- a/node_modules/es-abstract/2018/ArrayCreate.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ArrayPrototype = GetIntrinsic('%Array.prototype%'); -var $RangeError = GetIntrinsic('%RangeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); - -var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; - -var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || ( - // eslint-disable-next-line no-proto, no-negated-condition - [].__proto__ !== $ArrayPrototype - ? null - : function (O, proto) { - O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign - return O; - } -); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraycreate - -module.exports = function ArrayCreate(length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0'); - } - if (length > MAX_ARRAY_LENGTH) { - throw new $RangeError('length is greater than (2**32 - 1)'); - } - var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype; - var A = []; // steps 5 - 7, and 9 - if (proto !== $ArrayPrototype) { // step 8 - if (!$setProto) { - throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - $setProto(A, proto); - } - if (length !== 0) { // bypasses the need for step 2 - A.length = length; - } - /* step 10, the above as a shortcut for the below - OrdinaryDefineOwnProperty(A, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': true - }); - */ - return A; -}; diff --git a/node_modules/es-abstract/2018/ArraySetLength.js b/node_modules/es-abstract/2018/ArraySetLength.js deleted file mode 100644 index 08db9c2e9..000000000 --- a/node_modules/es-abstract/2018/ArraySetLength.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var assign = require('object.assign'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsArray = require('./IsArray'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var OrdinaryDefineOwnProperty = require('./OrdinaryDefineOwnProperty'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var ToUint32 = require('./ToUint32'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraysetlength - -// eslint-disable-next-line max-statements, max-lines-per-function -module.exports = function ArraySetLength(A, Desc) { - if (!IsArray(A)) { - throw new $TypeError('Assertion failed: A must be an Array'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!('[[Value]]' in Desc)) { - return OrdinaryDefineOwnProperty(A, 'length', Desc); - } - var newLenDesc = assign({}, Desc); - var newLen = ToUint32(Desc['[[Value]]']); - var numberLen = ToNumber(Desc['[[Value]]']); - if (newLen !== numberLen) { - throw new $RangeError('Invalid array length'); - } - newLenDesc['[[Value]]'] = newLen; - var oldLenDesc = OrdinaryGetOwnProperty(A, 'length'); - if (!IsDataDescriptor(oldLenDesc)) { - throw new $TypeError('Assertion failed: an array had a non-data descriptor on `length`'); - } - var oldLen = oldLenDesc['[[Value]]']; - if (newLen >= oldLen) { - return OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - } - if (!oldLenDesc['[[Writable]]']) { - return false; - } - var newWritable; - if (!('[[Writable]]' in newLenDesc) || newLenDesc['[[Writable]]']) { - newWritable = true; - } else { - newWritable = false; - newLenDesc['[[Writable]]'] = true; - } - var succeeded = OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - if (!succeeded) { - return false; - } - while (newLen < oldLen) { - oldLen -= 1; - // eslint-disable-next-line no-param-reassign - var deleteSucceeded = delete A[ToString(oldLen)]; - if (!deleteSucceeded) { - newLenDesc['[[Value]]'] = oldLen + 1; - if (!newWritable) { - newLenDesc['[[Writable]]'] = false; - OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - return false; - } - } - } - if (!newWritable) { - return OrdinaryDefineOwnProperty(A, 'length', { '[[Writable]]': false }); - } - return true; -}; diff --git a/node_modules/es-abstract/2018/ArraySpeciesCreate.js b/node_modules/es-abstract/2018/ArraySpeciesCreate.js deleted file mode 100644 index 26d63b5e2..000000000 --- a/node_modules/es-abstract/2018/ArraySpeciesCreate.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsConstructor = require('./IsConstructor'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - -module.exports = function ArraySpeciesCreate(originalArray, length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = IsArray(originalArray); - if (isArray) { - C = Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if ($species && Type(C) === 'Object') { - C = Get(C, $species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // Construct(C, len); -}; - diff --git a/node_modules/es-abstract/2018/Call.js b/node_modules/es-abstract/2018/Call.js deleted file mode 100644 index 4b238c691..000000000 --- a/node_modules/es-abstract/2018/Call.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsArray = require('./IsArray'); - -var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-call - -module.exports = function Call(F, V) { - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - return $apply(F, V, argumentsList); -}; diff --git a/node_modules/es-abstract/2018/CanonicalNumericIndexString.js b/node_modules/es-abstract/2018/CanonicalNumericIndexString.js deleted file mode 100644 index feb878c03..000000000 --- a/node_modules/es-abstract/2018/CanonicalNumericIndexString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - -module.exports = function CanonicalNumericIndexString(argument) { - if (Type(argument) !== 'String') { - throw new $TypeError('Assertion failed: `argument` must be a String'); - } - if (argument === '-0') { return -0; } - var n = ToNumber(argument); - if (SameValue(ToString(n), argument)) { return n; } - return void 0; -}; diff --git a/node_modules/es-abstract/2018/CompletePropertyDescriptor.js b/node_modules/es-abstract/2018/CompletePropertyDescriptor.js deleted file mode 100644 index 548bf415a..000000000 --- a/node_modules/es-abstract/2018/CompletePropertyDescriptor.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - -module.exports = function CompletePropertyDescriptor(Desc) { - /* eslint no-param-reassign: 0 */ - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; -}; diff --git a/node_modules/es-abstract/2018/CopyDataProperties.js b/node_modules/es-abstract/2018/CopyDataProperties.js deleted file mode 100644 index b8f2802bb..000000000 --- a/node_modules/es-abstract/2018/CopyDataProperties.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); -var OwnPropertyKeys = require('../helpers/OwnPropertyKeys'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var CreateDataProperty = require('./CreateDataProperty'); -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToObject = require('./ToObject'); -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-copydataproperties - -module.exports = function CopyDataProperties(target, source, excludedItems) { - if (Type(target) !== 'Object') { - throw new $TypeError('Assertion failed: "target" must be an Object'); - } - - if (!IsArray(excludedItems)) { - throw new $TypeError('Assertion failed: "excludedItems" must be a List of Property Keys'); - } - for (var i = 0; i < excludedItems.length; i += 1) { - if (!IsPropertyKey(excludedItems[i])) { - throw new $TypeError('Assertion failed: "excludedItems" must be a List of Property Keys'); - } - } - - if (typeof source === 'undefined' || source === null) { - return target; - } - - var fromObj = ToObject(source); - - var sourceKeys = OwnPropertyKeys(fromObj); - forEach(sourceKeys, function (nextKey) { - var excluded = false; - - forEach(excludedItems, function (e) { - if (SameValue(e, nextKey) === true) { - excluded = true; - } - }); - - var enumerable = $isEnumerable(fromObj, nextKey) || ( - // this is to handle string keys being non-enumerable in older engines - typeof source === 'string' - && nextKey >= 0 - && IsInteger(ToNumber(nextKey)) - ); - if (excluded === false && enumerable) { - var propValue = Get(fromObj, nextKey); - CreateDataProperty(target, nextKey, propValue); - } - }); - - return target; -}; diff --git a/node_modules/es-abstract/2018/CreateDataProperty.js b/node_modules/es-abstract/2018/CreateDataProperty.js deleted file mode 100644 index ff5ca3055..000000000 --- a/node_modules/es-abstract/2018/CreateDataProperty.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty - -module.exports = function CreateDataProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = OrdinaryGetOwnProperty(O, P); - var extensible = !oldDesc || IsExtensible(O); - var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']); - if (immutable || !extensible) { - return false; - } - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Value]]': V, - '[[Writable]]': true - } - ); -}; diff --git a/node_modules/es-abstract/2018/CreateDataPropertyOrThrow.js b/node_modules/es-abstract/2018/CreateDataPropertyOrThrow.js deleted file mode 100644 index 2f7c410ba..000000000 --- a/node_modules/es-abstract/2018/CreateDataPropertyOrThrow.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var CreateDataProperty = require('./CreateDataProperty'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - -module.exports = function CreateDataPropertyOrThrow(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; -}; diff --git a/node_modules/es-abstract/2018/CreateHTML.js b/node_modules/es-abstract/2018/CreateHTML.js deleted file mode 100644 index ccded1e65..000000000 --- a/node_modules/es-abstract/2018/CreateHTML.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $replace = callBound('String.prototype.replace'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createhtml - -module.exports = function CreateHTML(string, tag, attribute, value) { - if (Type(tag) !== 'String' || Type(attribute) !== 'String') { - throw new $TypeError('Assertion failed: `tag` and `attribute` must be strings'); - } - var str = RequireObjectCoercible(string); - var S = ToString(str); - var p1 = '<' + tag; - if (attribute !== '') { - var V = ToString(value); - var escapedV = $replace(V, /\x22/g, '"'); - p1 += '\x20' + attribute + '\x3D\x22' + escapedV + '\x22'; - } - return p1 + '>' + S + ''; -}; diff --git a/node_modules/es-abstract/2018/CreateIterResultObject.js b/node_modules/es-abstract/2018/CreateIterResultObject.js deleted file mode 100644 index eea77a512..000000000 --- a/node_modules/es-abstract/2018/CreateIterResultObject.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - -module.exports = function CreateIterResultObject(value, done) { - if (Type(done) !== 'Boolean') { - throw new $TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; -}; diff --git a/node_modules/es-abstract/2018/CreateListFromArrayLike.js b/node_modules/es-abstract/2018/CreateListFromArrayLike.js deleted file mode 100644 index d1bb8b658..000000000 --- a/node_modules/es-abstract/2018/CreateListFromArrayLike.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $indexOf = callBound('Array.prototype.indexOf', true) || callBound('String.prototype.indexOf'); -var $push = callBound('Array.prototype.push'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToLength = require('./ToLength'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createlistfromarraylike -module.exports = function CreateListFromArrayLike(obj) { - var elementTypes = arguments.length > 1 - ? arguments[1] - : ['Undefined', 'Null', 'Boolean', 'String', 'Symbol', 'Number', 'Object']; - - if (Type(obj) !== 'Object') { - throw new $TypeError('Assertion failed: `obj` must be an Object'); - } - if (!IsArray(elementTypes)) { - throw new $TypeError('Assertion failed: `elementTypes`, if provided, must be an array'); - } - var len = ToLength(Get(obj, 'length')); - var list = []; - var index = 0; - while (index < len) { - var indexName = ToString(index); - var next = Get(obj, indexName); - var nextType = Type(next); - if ($indexOf(elementTypes, nextType) < 0) { - throw new $TypeError('item type ' + nextType + ' is not a valid elementType'); - } - $push(list, next); - index += 1; - } - return list; -}; diff --git a/node_modules/es-abstract/2018/CreateMethodProperty.js b/node_modules/es-abstract/2018/CreateMethodProperty.js deleted file mode 100644 index 53274a561..000000000 --- a/node_modules/es-abstract/2018/CreateMethodProperty.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createmethodproperty - -module.exports = function CreateMethodProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var newDesc = { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': V, - '[[Writable]]': true - }; - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - newDesc - ); -}; diff --git a/node_modules/es-abstract/2018/DateFromTime.js b/node_modules/es-abstract/2018/DateFromTime.js deleted file mode 100644 index 20e4f2e4d..000000000 --- a/node_modules/es-abstract/2018/DateFromTime.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); -var MonthFromTime = require('./MonthFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.5 - -module.exports = function DateFromTime(t) { - var m = MonthFromTime(t); - var d = DayWithinYear(t); - if (m === 0) { - return d + 1; - } - if (m === 1) { - return d - 30; - } - var leap = InLeapYear(t); - if (m === 2) { - return d - 58 - leap; - } - if (m === 3) { - return d - 89 - leap; - } - if (m === 4) { - return d - 119 - leap; - } - if (m === 5) { - return d - 150 - leap; - } - if (m === 6) { - return d - 180 - leap; - } - if (m === 7) { - return d - 211 - leap; - } - if (m === 8) { - return d - 242 - leap; - } - if (m === 9) { - return d - 272 - leap; - } - if (m === 10) { - return d - 303 - leap; - } - if (m === 11) { - return d - 333 - leap; - } - throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); -}; diff --git a/node_modules/es-abstract/2018/DateString.js b/node_modules/es-abstract/2018/DateString.js deleted file mode 100644 index 939c14c0c..000000000 --- a/node_modules/es-abstract/2018/DateString.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var weekdays = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; -var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; - -var $isNaN = require('../helpers/isNaN'); -var padTimeComponent = require('../helpers/padTimeComponent'); - -var Type = require('./Type'); -var WeekDay = require('./WeekDay'); -var MonthFromTime = require('./MonthFromTime'); -var YearFromTime = require('./YearFromTime'); -var DateFromTime = require('./DateFromTime'); - -// https://262.ecma-international.org/9.0/#sec-datestring - -module.exports = function DateString(tv) { - if (Type(tv) !== 'Number' || $isNaN(tv)) { - throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number'); - } - var weekday = weekdays[WeekDay(tv)]; - var month = months[MonthFromTime(tv)]; - var day = padTimeComponent(DateFromTime(tv)); - var year = padTimeComponent(YearFromTime(tv), 4); - return weekday + '\x20' + month + '\x20' + day + '\x20' + year; -}; diff --git a/node_modules/es-abstract/2018/Day.js b/node_modules/es-abstract/2018/Day.js deleted file mode 100644 index 51d01033c..000000000 --- a/node_modules/es-abstract/2018/Day.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function Day(t) { - return floor(t / msPerDay); -}; diff --git a/node_modules/es-abstract/2018/DayFromYear.js b/node_modules/es-abstract/2018/DayFromYear.js deleted file mode 100644 index 341bf22a6..000000000 --- a/node_modules/es-abstract/2018/DayFromYear.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DayFromYear(y) { - return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400); -}; - diff --git a/node_modules/es-abstract/2018/DayWithinYear.js b/node_modules/es-abstract/2018/DayWithinYear.js deleted file mode 100644 index 4c580940a..000000000 --- a/node_modules/es-abstract/2018/DayWithinYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var DayFromYear = require('./DayFromYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function DayWithinYear(t) { - return Day(t) - DayFromYear(YearFromTime(t)); -}; diff --git a/node_modules/es-abstract/2018/DaysInYear.js b/node_modules/es-abstract/2018/DaysInYear.js deleted file mode 100644 index 7116c6902..000000000 --- a/node_modules/es-abstract/2018/DaysInYear.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DaysInYear(y) { - if (modulo(y, 4) !== 0) { - return 365; - } - if (modulo(y, 100) !== 0) { - return 366; - } - if (modulo(y, 400) !== 0) { - return 365; - } - return 366; -}; diff --git a/node_modules/es-abstract/2018/DefinePropertyOrThrow.js b/node_modules/es-abstract/2018/DefinePropertyOrThrow.js deleted file mode 100644 index 26f2714bb..000000000 --- a/node_modules/es-abstract/2018/DefinePropertyOrThrow.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow - -module.exports = function DefinePropertyOrThrow(O, P, desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var Desc = isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, desc) ? desc : ToPropertyDescriptor(desc); - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor'); - } - - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); -}; diff --git a/node_modules/es-abstract/2018/DeletePropertyOrThrow.js b/node_modules/es-abstract/2018/DeletePropertyOrThrow.js deleted file mode 100644 index 30d5e57c7..000000000 --- a/node_modules/es-abstract/2018/DeletePropertyOrThrow.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow - -module.exports = function DeletePropertyOrThrow(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // eslint-disable-next-line no-param-reassign - var success = delete O[P]; - if (!success) { - throw new $TypeError('Attempt to delete property failed.'); - } - return success; -}; diff --git a/node_modules/es-abstract/2018/EnumerableOwnPropertyNames.js b/node_modules/es-abstract/2018/EnumerableOwnPropertyNames.js deleted file mode 100644 index 44171b9eb..000000000 --- a/node_modules/es-abstract/2018/EnumerableOwnPropertyNames.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var objectKeys = require('object-keys'); - -var callBound = require('call-bind/callBound'); - -var callBind = require('call-bind'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); -var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%')); - -var forEach = require('../helpers/forEach'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/8.0/#sec-enumerableownproperties - -module.exports = function EnumerableOwnProperties(O, kind) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - var keys = objectKeys(O); - if (kind === 'key') { - return keys; - } - if (kind === 'value' || kind === 'key+value') { - var results = []; - forEach(keys, function (key) { - if ($isEnumerable(O, key)) { - $pushApply(results, [ - kind === 'value' ? O[key] : [key, O[key]] - ]); - } - }); - return results; - } - throw new $TypeError('Assertion failed: "kind" is not "key", "value", or "key+value": ' + kind); -}; diff --git a/node_modules/es-abstract/2018/FromPropertyDescriptor.js b/node_modules/es-abstract/2018/FromPropertyDescriptor.js deleted file mode 100644 index 9a69a2605..000000000 --- a/node_modules/es-abstract/2018/FromPropertyDescriptor.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor - -module.exports = function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - var obj = {}; - if ('[[Value]]' in Desc) { - obj.value = Desc['[[Value]]']; - } - if ('[[Writable]]' in Desc) { - obj.writable = Desc['[[Writable]]']; - } - if ('[[Get]]' in Desc) { - obj.get = Desc['[[Get]]']; - } - if ('[[Set]]' in Desc) { - obj.set = Desc['[[Set]]']; - } - if ('[[Enumerable]]' in Desc) { - obj.enumerable = Desc['[[Enumerable]]']; - } - if ('[[Configurable]]' in Desc) { - obj.configurable = Desc['[[Configurable]]']; - } - return obj; -}; diff --git a/node_modules/es-abstract/2018/Get.js b/node_modules/es-abstract/2018/Get.js deleted file mode 100644 index 681055a2f..000000000 --- a/node_modules/es-abstract/2018/Get.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var inspect = require('object-inspect'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -/** - * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - -module.exports = function Get(O, P) { - // 7.3.1.1 - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); - } - // 7.3.1.3 - return O[P]; -}; diff --git a/node_modules/es-abstract/2018/GetIterator.js b/node_modules/es-abstract/2018/GetIterator.js deleted file mode 100644 index a2d3b16cb..000000000 --- a/node_modules/es-abstract/2018/GetIterator.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getIteratorMethod = require('../helpers/getIteratorMethod'); -var AdvanceStringIndex = require('./AdvanceStringIndex'); -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsArray = require('./IsArray'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getiterator - -module.exports = function GetIterator(obj, method) { - var actualMethod = method; - if (arguments.length < 2) { - actualMethod = getIteratorMethod( - { - AdvanceStringIndex: AdvanceStringIndex, - GetMethod: GetMethod, - IsArray: IsArray, - Type: Type - }, - obj - ); - } - var iterator = Call(actualMethod, obj); - if (Type(iterator) !== 'Object') { - throw new $TypeError('iterator must return an object'); - } - - return iterator; -}; diff --git a/node_modules/es-abstract/2018/GetMethod.js b/node_modules/es-abstract/2018/GetMethod.js deleted file mode 100644 index 775d3fb95..000000000 --- a/node_modules/es-abstract/2018/GetMethod.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetV = require('./GetV'); -var IsCallable = require('./IsCallable'); -var IsPropertyKey = require('./IsPropertyKey'); - -/** - * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - -module.exports = function GetMethod(O, P) { - // 7.3.9.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return void 0; - } - - // 7.3.9.5 - if (!IsCallable(func)) { - throw new $TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; -}; diff --git a/node_modules/es-abstract/2018/GetOwnPropertyKeys.js b/node_modules/es-abstract/2018/GetOwnPropertyKeys.js deleted file mode 100644 index b8f4167f7..000000000 --- a/node_modules/es-abstract/2018/GetOwnPropertyKeys.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var hasSymbols = require('has-symbols')(); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $gOPS = hasSymbols && GetIntrinsic('%Object.getOwnPropertySymbols%'); -var keys = require('object-keys'); - -var esType = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys - -module.exports = function GetOwnPropertyKeys(O, Type) { - if (esType(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (Type === 'Symbol') { - return $gOPS ? $gOPS(O) : []; - } - if (Type === 'String') { - if (!$gOPN) { - return keys(O); - } - return $gOPN(O); - } - throw new $TypeError('Assertion failed: `Type` must be `"String"` or `"Symbol"`'); -}; diff --git a/node_modules/es-abstract/2018/GetPrototypeFromConstructor.js b/node_modules/es-abstract/2018/GetPrototypeFromConstructor.js deleted file mode 100644 index 5f369cad8..000000000 --- a/node_modules/es-abstract/2018/GetPrototypeFromConstructor.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Function = GetIntrinsic('%Function%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getprototypefromconstructor - -module.exports = function GetPrototypeFromConstructor(constructor, intrinsicDefaultProto) { - var intrinsic = GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - if (!IsConstructor(constructor)) { - throw new $TypeError('Assertion failed: `constructor` must be a constructor'); - } - var proto = Get(constructor, 'prototype'); - if (Type(proto) !== 'Object') { - if (!(constructor instanceof $Function)) { - // ignore other realms, for now - throw new $TypeError('cross-realm constructors not currently supported'); - } - proto = intrinsic; - } - return proto; -}; diff --git a/node_modules/es-abstract/2018/GetSubstitution.js b/node_modules/es-abstract/2018/GetSubstitution.js deleted file mode 100644 index a5a7a1bee..000000000 --- a/node_modules/es-abstract/2018/GetSubstitution.js +++ /dev/null @@ -1,128 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var every = require('../helpers/every'); - -var $charAt = callBound('String.prototype.charAt'); -var $strSlice = callBound('String.prototype.slice'); -var $indexOf = callBound('String.prototype.indexOf'); -var $parseInt = parseInt; - -var isDigit = regexTester(/^[0-9]$/); - -var inspect = require('object-inspect'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var ToObject = require('./ToObject'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -var canDistinguishSparseFromUndefined = 0 in [undefined]; // IE 6 - 8 have a bug where this returns false - -var isStringOrHole = function (capture, index, arr) { - return Type(capture) === 'String' || (canDistinguishSparseFromUndefined ? !(index in arr) : Type(capture) === 'Undefined'); -}; - -// http://262.ecma-international.org/9.0/#sec-getsubstitution - -// eslint-disable-next-line max-statements, max-params, max-lines-per-function -module.exports = function GetSubstitution(matched, str, position, captures, namedCaptures, replacement) { - if (Type(matched) !== 'String') { - throw new $TypeError('Assertion failed: `matched` must be a String'); - } - var matchLength = matched.length; - - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `str` must be a String'); - } - var stringLength = str.length; - - if (!IsInteger(position) || position < 0 || position > stringLength) { - throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got ' + inspect(position)); - } - - if (!IsArray(captures) || !every(captures, isStringOrHole)) { - throw new $TypeError('Assertion failed: `captures` must be a List of Strings, got ' + inspect(captures)); - } - - if (Type(replacement) !== 'String') { - throw new $TypeError('Assertion failed: `replacement` must be a String'); - } - - var tailPos = position + matchLength; - var m = captures.length; - if (Type(namedCaptures) !== 'Undefined') { - namedCaptures = ToObject(namedCaptures); // eslint-disable-line no-param-reassign - } - - var result = ''; - for (var i = 0; i < replacement.length; i += 1) { - // if this is a $, and it's not the end of the replacement - var current = $charAt(replacement, i); - var isLast = (i + 1) >= replacement.length; - var nextIsLast = (i + 2) >= replacement.length; - if (current === '$' && !isLast) { - var next = $charAt(replacement, i + 1); - if (next === '$') { - result += '$'; - i += 1; - } else if (next === '&') { - result += matched; - i += 1; - } else if (next === '`') { - result += position === 0 ? '' : $strSlice(str, 0, position - 1); - i += 1; - } else if (next === "'") { - result += tailPos >= stringLength ? '' : $strSlice(str, tailPos); - i += 1; - } else { - var nextNext = nextIsLast ? null : $charAt(replacement, i + 2); - if (isDigit(next) && next !== '0' && (nextIsLast || !isDigit(nextNext))) { - // $1 through $9, and not followed by a digit - var n = $parseInt(next, 10); - // if (n > m, impl-defined) - result += n <= m && Type(captures[n - 1]) === 'Undefined' ? '' : captures[n - 1]; - i += 1; - } else if (isDigit(next) && (nextIsLast || isDigit(nextNext))) { - // $00 through $99 - var nn = next + nextNext; - var nnI = $parseInt(nn, 10) - 1; - // if nn === '00' or nn > m, impl-defined - result += nn <= m && Type(captures[nnI]) === 'Undefined' ? '' : captures[nnI]; - i += 2; - } else if (next === '<') { - // eslint-disable-next-line max-depth - if (Type(namedCaptures) === 'Undefined') { - result += '$<'; - i += 2; - } else { - var endIndex = $indexOf(replacement, '>', i); - // eslint-disable-next-line max-depth - if (endIndex > -1) { - var groupName = $strSlice(replacement, i + '$<'.length, endIndex); - var capture = Get(namedCaptures, groupName); - // eslint-disable-next-line max-depth - if (Type(capture) !== 'Undefined') { - result += ToString(capture); - } - i += ('<' + groupName + '>').length; - } - } - } else { - result += '$'; - } - } - } else { - // the final $, or else not a $ - result += $charAt(replacement, i); - } - } - return result; -}; diff --git a/node_modules/es-abstract/2018/GetV.js b/node_modules/es-abstract/2018/GetV.js deleted file mode 100644 index 2d8cc8246..000000000 --- a/node_modules/es-abstract/2018/GetV.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var ToObject = require('./ToObject'); - -/** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - -module.exports = function GetV(V, P) { - // 7.3.2.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = ToObject(V); - - // 7.3.2.4 - return O[P]; -}; diff --git a/node_modules/es-abstract/2018/HasOwnProperty.js b/node_modules/es-abstract/2018/HasOwnProperty.js deleted file mode 100644 index 04d28495f..000000000 --- a/node_modules/es-abstract/2018/HasOwnProperty.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var has = require('has'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - -module.exports = function HasOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return has(O, P); -}; diff --git a/node_modules/es-abstract/2018/HasProperty.js b/node_modules/es-abstract/2018/HasProperty.js deleted file mode 100644 index b341654e7..000000000 --- a/node_modules/es-abstract/2018/HasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - -module.exports = function HasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2018/HourFromTime.js b/node_modules/es-abstract/2018/HourFromTime.js deleted file mode 100644 index f963bfb68..000000000 --- a/node_modules/es-abstract/2018/HourFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerHour = timeConstants.msPerHour; -var HoursPerDay = timeConstants.HoursPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function HourFromTime(t) { - return modulo(floor(t / msPerHour), HoursPerDay); -}; diff --git a/node_modules/es-abstract/2018/InLeapYear.js b/node_modules/es-abstract/2018/InLeapYear.js deleted file mode 100644 index bfe0c451f..000000000 --- a/node_modules/es-abstract/2018/InLeapYear.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DaysInYear = require('./DaysInYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function InLeapYear(t) { - var days = DaysInYear(YearFromTime(t)); - if (days === 365) { - return 0; - } - if (days === 366) { - return 1; - } - throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); -}; diff --git a/node_modules/es-abstract/2018/InstanceofOperator.js b/node_modules/es-abstract/2018/InstanceofOperator.js deleted file mode 100644 index a3c4d2375..000000000 --- a/node_modules/es-abstract/2018/InstanceofOperator.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $hasInstance = GetIntrinsic('Symbol.hasInstance', true); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var OrdinaryHasInstance = require('./OrdinaryHasInstance'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-instanceofoperator - -module.exports = function InstanceofOperator(O, C) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var instOfHandler = $hasInstance ? GetMethod(C, $hasInstance) : void 0; - if (typeof instOfHandler !== 'undefined') { - return ToBoolean(Call(instOfHandler, C, [O])); - } - if (!IsCallable(C)) { - throw new $TypeError('`C` is not Callable'); - } - return OrdinaryHasInstance(C, O); -}; diff --git a/node_modules/es-abstract/2018/Invoke.js b/node_modules/es-abstract/2018/Invoke.js deleted file mode 100644 index d4214ee51..000000000 --- a/node_modules/es-abstract/2018/Invoke.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var IsArray = require('./IsArray'); -var GetV = require('./GetV'); -var IsPropertyKey = require('./IsPropertyKey'); - -// https://ecma-international.org/ecma-262/6.0/#sec-invoke - -module.exports = function Invoke(O, P) { - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - var func = GetV(O, P); - return Call(func, O, argumentsList); -}; diff --git a/node_modules/es-abstract/2018/IsAccessorDescriptor.js b/node_modules/es-abstract/2018/IsAccessorDescriptor.js deleted file mode 100644 index 78563e7ec..000000000 --- a/node_modules/es-abstract/2018/IsAccessorDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor - -module.exports = function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2018/IsArray.js b/node_modules/es-abstract/2018/IsArray.js deleted file mode 100644 index f933cec03..000000000 --- a/node_modules/es-abstract/2018/IsArray.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); - -// eslint-disable-next-line global-require -var toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isarray - -module.exports = $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; -}; diff --git a/node_modules/es-abstract/2018/IsCallable.js b/node_modules/es-abstract/2018/IsCallable.js deleted file mode 100644 index 3a69b1926..000000000 --- a/node_modules/es-abstract/2018/IsCallable.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.11 - -module.exports = require('is-callable'); diff --git a/node_modules/es-abstract/2018/IsConcatSpreadable.js b/node_modules/es-abstract/2018/IsConcatSpreadable.js deleted file mode 100644 index 141b33414..000000000 --- a/node_modules/es-abstract/2018/IsConcatSpreadable.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $isConcatSpreadable = GetIntrinsic('%Symbol.isConcatSpreadable%', true); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - -module.exports = function IsConcatSpreadable(O) { - if (Type(O) !== 'Object') { - return false; - } - if ($isConcatSpreadable) { - var spreadable = Get(O, $isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return ToBoolean(spreadable); - } - } - return IsArray(O); -}; diff --git a/node_modules/es-abstract/2018/IsConstructor.js b/node_modules/es-abstract/2018/IsConstructor.js deleted file mode 100644 index fe626e183..000000000 --- a/node_modules/es-abstract/2018/IsConstructor.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('../GetIntrinsic.js'); - -var $construct = GetIntrinsic('%Reflect.construct%', true); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -try { - DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} }); -} catch (e) { - // Accessor properties aren't supported - DefinePropertyOrThrow = null; -} - -// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor - -if (DefinePropertyOrThrow && $construct) { - var isConstructorMarker = {}; - var badArrayLike = {}; - DefinePropertyOrThrow(badArrayLike, 'length', { - '[[Get]]': function () { - throw isConstructorMarker; - }, - '[[Enumerable]]': true - }); - - module.exports = function IsConstructor(argument) { - try { - // `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`: - $construct(argument, badArrayLike); - } catch (err) { - return err === isConstructorMarker; - } - }; -} else { - module.exports = function IsConstructor(argument) { - // unfortunately there's no way to truly check this without try/catch `new argument` in old environments - return typeof argument === 'function' && !!argument.prototype; - }; -} diff --git a/node_modules/es-abstract/2018/IsDataDescriptor.js b/node_modules/es-abstract/2018/IsDataDescriptor.js deleted file mode 100644 index 00d14a60e..000000000 --- a/node_modules/es-abstract/2018/IsDataDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor - -module.exports = function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2018/IsExtensible.js b/node_modules/es-abstract/2018/IsExtensible.js deleted file mode 100644 index 9df5b80b1..000000000 --- a/node_modules/es-abstract/2018/IsExtensible.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var isPrimitive = require('../helpers/isPrimitive'); - -var $preventExtensions = $Object.preventExtensions; -var $isExtensible = $Object.isExtensible; - -// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o - -module.exports = $preventExtensions - ? function IsExtensible(obj) { - return !isPrimitive(obj) && $isExtensible(obj); - } - : function IsExtensible(obj) { - return !isPrimitive(obj); - }; diff --git a/node_modules/es-abstract/2018/IsGenericDescriptor.js b/node_modules/es-abstract/2018/IsGenericDescriptor.js deleted file mode 100644 index 95b1d353c..000000000 --- a/node_modules/es-abstract/2018/IsGenericDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isgenericdescriptor - -module.exports = function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) { - return true; - } - - return false; -}; diff --git a/node_modules/es-abstract/2018/IsInteger.js b/node_modules/es-abstract/2018/IsInteger.js deleted file mode 100644 index f4d1a2a7c..000000000 --- a/node_modules/es-abstract/2018/IsInteger.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isinteger - -module.exports = function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var absValue = abs(argument); - return floor(absValue) === absValue; -}; diff --git a/node_modules/es-abstract/2018/IsPromise.js b/node_modules/es-abstract/2018/IsPromise.js deleted file mode 100644 index a551ae0c8..000000000 --- a/node_modules/es-abstract/2018/IsPromise.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $PromiseThen = callBound('Promise.prototype.then', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ispromise - -module.exports = function IsPromise(x) { - if (Type(x) !== 'Object') { - return false; - } - if (!$PromiseThen) { // Promises are not supported - return false; - } - try { - $PromiseThen(x); // throws if not a promise - } catch (e) { - return false; - } - return true; -}; diff --git a/node_modules/es-abstract/2018/IsPropertyKey.js b/node_modules/es-abstract/2018/IsPropertyKey.js deleted file mode 100644 index f43ab581c..000000000 --- a/node_modules/es-abstract/2018/IsPropertyKey.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey - -module.exports = function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; -}; diff --git a/node_modules/es-abstract/2018/IsRegExp.js b/node_modules/es-abstract/2018/IsRegExp.js deleted file mode 100644 index e1054813f..000000000 --- a/node_modules/es-abstract/2018/IsRegExp.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $match = GetIntrinsic('%Symbol.match%', true); - -var hasRegExpMatcher = require('is-regex'); - -var ToBoolean = require('./ToBoolean'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isregexp - -module.exports = function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if ($match) { - var isRegExp = argument[$match]; - if (typeof isRegExp !== 'undefined') { - return ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); -}; diff --git a/node_modules/es-abstract/2018/IsStringPrefix.js b/node_modules/es-abstract/2018/IsStringPrefix.js deleted file mode 100644 index 4958544ce..000000000 --- a/node_modules/es-abstract/2018/IsStringPrefix.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPrefixOf = require('../helpers/isPrefixOf'); - -// var callBound = require('call-bind/callBound'); - -// var $charAt = callBound('String.prototype.charAt'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-isstringprefix - -module.exports = function IsStringPrefix(p, q) { - if (Type(p) !== 'String') { - throw new $TypeError('Assertion failed: "p" must be a String'); - } - - if (Type(q) !== 'String') { - throw new $TypeError('Assertion failed: "q" must be a String'); - } - - return isPrefixOf(p, q); - /* - if (p === q || p === '') { - return true; - } - - var pLength = p.length; - var qLength = q.length; - if (pLength >= qLength) { - return false; - } - - // assert: pLength < qLength - - for (var i = 0; i < pLength; i += 1) { - if ($charAt(p, i) !== $charAt(q, i)) { - return false; - } - } - return true; - */ -}; diff --git a/node_modules/es-abstract/2018/IterableToList.js b/node_modules/es-abstract/2018/IterableToList.js deleted file mode 100644 index 6a1a6be39..000000000 --- a/node_modules/es-abstract/2018/IterableToList.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var $arrayPush = callBound('Array.prototype.push'); - -var GetIterator = require('./GetIterator'); -var IteratorStep = require('./IteratorStep'); -var IteratorValue = require('./IteratorValue'); - -// https://262.ecma-international.org/8.0/#sec-iterabletolist - -module.exports = function IterableToList(items, method) { - var iterator = GetIterator(items, method); - var values = []; - var next = true; - while (next) { - next = IteratorStep(iterator); - if (next) { - var nextValue = IteratorValue(next); - $arrayPush(values, nextValue); - } - } - return values; -}; diff --git a/node_modules/es-abstract/2018/IteratorClose.js b/node_modules/es-abstract/2018/IteratorClose.js deleted file mode 100644 index dd1118df7..000000000 --- a/node_modules/es-abstract/2018/IteratorClose.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose - -module.exports = function IteratorClose(iterator, completion) { - if (Type(iterator) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterator) is not Object'); - } - if (!IsCallable(completion)) { - throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); - } - var completionThunk = completion; - - var iteratorReturn = GetMethod(iterator, 'return'); - - if (typeof iteratorReturn === 'undefined') { - return completionThunk(); - } - - var completionRecord; - try { - var innerResult = Call(iteratorReturn, iterator, []); - } catch (e) { - // if we hit here, then "e" is the innerResult completion that needs re-throwing - - // if the completion is of type "throw", this will throw. - completionThunk(); - completionThunk = null; // ensure it's not called twice. - - // if not, then return the innerResult completion - throw e; - } - completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does - completionThunk = null; // ensure it's not called twice. - - if (Type(innerResult) !== 'Object') { - throw new $TypeError('iterator .return must return an object'); - } - - return completionRecord; -}; diff --git a/node_modules/es-abstract/2018/IteratorComplete.js b/node_modules/es-abstract/2018/IteratorComplete.js deleted file mode 100644 index ed4efa37d..000000000 --- a/node_modules/es-abstract/2018/IteratorComplete.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete - -module.exports = function IteratorComplete(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return ToBoolean(Get(iterResult, 'done')); -}; diff --git a/node_modules/es-abstract/2018/IteratorNext.js b/node_modules/es-abstract/2018/IteratorNext.js deleted file mode 100644 index cf80655b9..000000000 --- a/node_modules/es-abstract/2018/IteratorNext.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Invoke = require('./Invoke'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratornext - -module.exports = function IteratorNext(iterator, value) { - var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); - if (Type(result) !== 'Object') { - throw new $TypeError('iterator next must return an object'); - } - return result; -}; diff --git a/node_modules/es-abstract/2018/IteratorStep.js b/node_modules/es-abstract/2018/IteratorStep.js deleted file mode 100644 index 41b9d1b25..000000000 --- a/node_modules/es-abstract/2018/IteratorStep.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var IteratorComplete = require('./IteratorComplete'); -var IteratorNext = require('./IteratorNext'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep - -module.exports = function IteratorStep(iterator) { - var result = IteratorNext(iterator); - var done = IteratorComplete(result); - return done === true ? false : result; -}; - diff --git a/node_modules/es-abstract/2018/IteratorValue.js b/node_modules/es-abstract/2018/IteratorValue.js deleted file mode 100644 index d15d8aebb..000000000 --- a/node_modules/es-abstract/2018/IteratorValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue - -module.exports = function IteratorValue(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return Get(iterResult, 'value'); -}; - diff --git a/node_modules/es-abstract/2018/MakeDate.js b/node_modules/es-abstract/2018/MakeDate.js deleted file mode 100644 index efeb6452e..000000000 --- a/node_modules/es-abstract/2018/MakeDate.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.13 - -module.exports = function MakeDate(day, time) { - if (!$isFinite(day) || !$isFinite(time)) { - return NaN; - } - return (day * msPerDay) + time; -}; diff --git a/node_modules/es-abstract/2018/MakeDay.js b/node_modules/es-abstract/2018/MakeDay.js deleted file mode 100644 index 13f568633..000000000 --- a/node_modules/es-abstract/2018/MakeDay.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $DateUTC = GetIntrinsic('%Date.UTC%'); - -var $isFinite = require('../helpers/isFinite'); - -var DateFromTime = require('./DateFromTime'); -var Day = require('./Day'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var MonthFromTime = require('./MonthFromTime'); -var ToInteger = require('./ToInteger'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.12 - -module.exports = function MakeDay(year, month, date) { - if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { - return NaN; - } - var y = ToInteger(year); - var m = ToInteger(month); - var dt = ToInteger(date); - var ym = y + floor(m / 12); - var mn = modulo(m, 12); - var t = $DateUTC(ym, mn, 1); - if (YearFromTime(t) !== ym || MonthFromTime(t) !== mn || DateFromTime(t) !== 1) { - return NaN; - } - return Day(t) + dt - 1; -}; diff --git a/node_modules/es-abstract/2018/MakeTime.js b/node_modules/es-abstract/2018/MakeTime.js deleted file mode 100644 index 34cb4dcca..000000000 --- a/node_modules/es-abstract/2018/MakeTime.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var msPerMinute = timeConstants.msPerMinute; -var msPerHour = timeConstants.msPerHour; - -var ToInteger = require('./ToInteger'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.11 - -module.exports = function MakeTime(hour, min, sec, ms) { - if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { - return NaN; - } - var h = ToInteger(hour); - var m = ToInteger(min); - var s = ToInteger(sec); - var milli = ToInteger(ms); - var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; - return t; -}; diff --git a/node_modules/es-abstract/2018/MinFromTime.js b/node_modules/es-abstract/2018/MinFromTime.js deleted file mode 100644 index a0c631d4c..000000000 --- a/node_modules/es-abstract/2018/MinFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerMinute = timeConstants.msPerMinute; -var MinutesPerHour = timeConstants.MinutesPerHour; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function MinFromTime(t) { - return modulo(floor(t / msPerMinute), MinutesPerHour); -}; diff --git a/node_modules/es-abstract/2018/MonthFromTime.js b/node_modules/es-abstract/2018/MonthFromTime.js deleted file mode 100644 index a482a7df9..000000000 --- a/node_modules/es-abstract/2018/MonthFromTime.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function MonthFromTime(t) { - var day = DayWithinYear(t); - if (0 <= day && day < 31) { - return 0; - } - var leap = InLeapYear(t); - if (31 <= day && day < (59 + leap)) { - return 1; - } - if ((59 + leap) <= day && day < (90 + leap)) { - return 2; - } - if ((90 + leap) <= day && day < (120 + leap)) { - return 3; - } - if ((120 + leap) <= day && day < (151 + leap)) { - return 4; - } - if ((151 + leap) <= day && day < (181 + leap)) { - return 5; - } - if ((181 + leap) <= day && day < (212 + leap)) { - return 6; - } - if ((212 + leap) <= day && day < (243 + leap)) { - return 7; - } - if ((243 + leap) <= day && day < (273 + leap)) { - return 8; - } - if ((273 + leap) <= day && day < (304 + leap)) { - return 9; - } - if ((304 + leap) <= day && day < (334 + leap)) { - return 10; - } - if ((334 + leap) <= day && day < (365 + leap)) { - return 11; - } -}; diff --git a/node_modules/es-abstract/2018/NumberToString.js b/node_modules/es-abstract/2018/NumberToString.js deleted file mode 100644 index b00c4bd59..000000000 --- a/node_modules/es-abstract/2018/NumberToString.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-tostring-applied-to-the-number-type - -module.exports = function NumberToString(m) { - if (Type(m) !== 'Number') { - throw new $TypeError('Assertion failed: "m" must be a String'); - } - - return $String(m); -}; - diff --git a/node_modules/es-abstract/2018/ObjectCreate.js b/node_modules/es-abstract/2018/ObjectCreate.js deleted file mode 100644 index 2851a646d..000000000 --- a/node_modules/es-abstract/2018/ObjectCreate.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ObjectCreate = GetIntrinsic('%Object.create%', true); -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); - -var Type = require('./Type'); - -var hasProto = !({ __proto__: null } instanceof Object); - -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate - -module.exports = function ObjectCreate(proto, internalSlotsList) { - if (proto !== null && Type(proto) !== 'Object') { - throw new $TypeError('Assertion failed: `proto` must be null or an object'); - } - var slots = arguments.length < 2 ? [] : internalSlotsList; - if (slots.length > 0) { - throw new $SyntaxError('es-abstract does not yet support internal slots'); - } - - if ($ObjectCreate) { - return $ObjectCreate(proto); - } - if (hasProto) { - return { __proto__: proto }; - } - - if (proto === null) { - throw new $SyntaxError('native Object.create support is required to create null objects'); - } - var T = function T() {}; - T.prototype = proto; - return new T(); -}; diff --git a/node_modules/es-abstract/2018/OrdinaryCreateFromConstructor.js b/node_modules/es-abstract/2018/OrdinaryCreateFromConstructor.js deleted file mode 100644 index e2a299eaa..000000000 --- a/node_modules/es-abstract/2018/OrdinaryCreateFromConstructor.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); -var IsArray = require('./IsArray'); -var ObjectCreate = require('./ObjectCreate'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor - -module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { - GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - var proto = GetPrototypeFromConstructor(constructor, intrinsicDefaultProto); - var slots = arguments.length < 3 ? [] : arguments[2]; - if (!IsArray(slots)) { - throw new $TypeError('Assertion failed: if provided, `internalSlotsList` must be a List'); - } - return ObjectCreate(proto, slots); -}; diff --git a/node_modules/es-abstract/2018/OrdinaryDefineOwnProperty.js b/node_modules/es-abstract/2018/OrdinaryDefineOwnProperty.js deleted file mode 100644 index 5d33aa6d6..000000000 --- a/node_modules/es-abstract/2018/OrdinaryDefineOwnProperty.js +++ /dev/null @@ -1,61 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); -var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty - -module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!$gOPD) { - // ES3/IE 8 fallback - if (IsAccessorDescriptor(Desc)) { - throw new $SyntaxError('This environment does not support accessor property descriptors.'); - } - var creatingNormalDataProperty = !(P in O) - && Desc['[[Writable]]'] - && Desc['[[Enumerable]]'] - && Desc['[[Configurable]]'] - && '[[Value]]' in Desc; - var settingExistingDataProperty = (P in O) - && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) - && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) - && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) - && '[[Value]]' in Desc; - if (creatingNormalDataProperty || settingExistingDataProperty) { - O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign - return SameValue(O[P], Desc['[[Value]]']); - } - throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties'); - } - var desc = $gOPD(O, P); - var current = desc && ToPropertyDescriptor(desc); - var extensible = IsExtensible(O); - return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current); -}; diff --git a/node_modules/es-abstract/2018/OrdinaryGetOwnProperty.js b/node_modules/es-abstract/2018/OrdinaryGetOwnProperty.js deleted file mode 100644 index 3d11e9fad..000000000 --- a/node_modules/es-abstract/2018/OrdinaryGetOwnProperty.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var has = require('has'); - -var IsArray = require('./IsArray'); -var IsPropertyKey = require('./IsPropertyKey'); -var IsRegExp = require('./IsRegExp'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty - -module.exports = function OrdinaryGetOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!has(O, P)) { - return void 0; - } - if (!$gOPD) { - // ES3 / IE 8 fallback - var arrayLength = IsArray(O) && P === 'length'; - var regexLastIndex = IsRegExp(O) && P === 'lastIndex'; - return { - '[[Configurable]]': !(arrayLength || regexLastIndex), - '[[Enumerable]]': $isEnumerable(O, P), - '[[Value]]': O[P], - '[[Writable]]': true - }; - } - return ToPropertyDescriptor($gOPD(O, P)); -}; diff --git a/node_modules/es-abstract/2018/OrdinaryGetPrototypeOf.js b/node_modules/es-abstract/2018/OrdinaryGetPrototypeOf.js deleted file mode 100644 index ba17b9887..000000000 --- a/node_modules/es-abstract/2018/OrdinaryGetPrototypeOf.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $getProto = require('../helpers/getProto'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof - -module.exports = function OrdinaryGetPrototypeOf(O) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!$getProto) { - throw new $TypeError('This environment does not support fetching prototypes.'); - } - return $getProto(O); -}; diff --git a/node_modules/es-abstract/2018/OrdinaryHasInstance.js b/node_modules/es-abstract/2018/OrdinaryHasInstance.js deleted file mode 100644 index 85a240ca2..000000000 --- a/node_modules/es-abstract/2018/OrdinaryHasInstance.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance - -module.exports = function OrdinaryHasInstance(C, O) { - if (IsCallable(C) === false) { - return false; - } - if (Type(O) !== 'Object') { - return false; - } - var P = Get(C, 'prototype'); - if (Type(P) !== 'Object') { - throw new $TypeError('OrdinaryHasInstance called on an object with an invalid prototype property.'); - } - return O instanceof C; -}; diff --git a/node_modules/es-abstract/2018/OrdinaryHasProperty.js b/node_modules/es-abstract/2018/OrdinaryHasProperty.js deleted file mode 100644 index dd09ca3b1..000000000 --- a/node_modules/es-abstract/2018/OrdinaryHasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasproperty - -module.exports = function OrdinaryHasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2018/OrdinarySetPrototypeOf.js b/node_modules/es-abstract/2018/OrdinarySetPrototypeOf.js deleted file mode 100644 index d0ff7a7c2..000000000 --- a/node_modules/es-abstract/2018/OrdinarySetPrototypeOf.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $setProto = require('../helpers/setProto'); - -var OrdinaryGetPrototypeOf = require('./OrdinaryGetPrototypeOf'); -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof - -module.exports = function OrdinarySetPrototypeOf(O, V) { - if (Type(V) !== 'Object' && Type(V) !== 'Null') { - throw new $TypeError('Assertion failed: V must be Object or Null'); - } - /* - var extensible = IsExtensible(O); - var current = OrdinaryGetPrototypeOf(O); - if (SameValue(V, current)) { - return true; - } - if (!extensible) { - return false; - } - */ - try { - $setProto(O, V); - } catch (e) { - return false; - } - return OrdinaryGetPrototypeOf(O) === V; - /* - var p = V; - var done = false; - while (!done) { - if (p === null) { - done = true; - } else if (SameValue(p, O)) { - return false; - } else { - if (wat) { - done = true; - } else { - p = p.[[Prototype]]; - } - } - } - O.[[Prototype]] = V; - return true; - */ -}; diff --git a/node_modules/es-abstract/2018/PromiseResolve.js b/node_modules/es-abstract/2018/PromiseResolve.js deleted file mode 100644 index 6474b79c4..000000000 --- a/node_modules/es-abstract/2018/PromiseResolve.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBind = require('call-bind'); - -var $resolve = GetIntrinsic('%Promise.resolve%', true); -var $PromiseResolve = $resolve && callBind($resolve); - -// https://262.ecma-international.org/9.0/#sec-promise-resolve - -module.exports = function PromiseResolve(C, x) { - if (!$PromiseResolve) { - throw new SyntaxError('This environment does not support Promises.'); - } - return $PromiseResolve(C, x); -}; - diff --git a/node_modules/es-abstract/2018/QuoteJSONString.js b/node_modules/es-abstract/2018/QuoteJSONString.js deleted file mode 100644 index 99eea6116..000000000 --- a/node_modules/es-abstract/2018/QuoteJSONString.js +++ /dev/null @@ -1,48 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); -var $strSplit = callBound('String.prototype.split'); - -var Type = require('./Type'); -var UnicodeEscape = require('./UnicodeEscape'); - -var has = require('has'); - -// https://262.ecma-international.org/9.0/#sec-quotejsonstring - -var escapes = { - '\u0008': '\\b', - '\u0009': '\\t', - '\u000A': '\\n', - '\u000C': '\\f', - '\u000D': '\\r', - '\u0022': '\\"', - '\u005c': '\\\\' -}; - -module.exports = function QuoteJSONString(value) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `value` must be a String'); - } - var product = '"'; - if (value) { - forEach($strSplit(value), function (C) { - if (has(escapes, C)) { - product += escapes[C]; - } else if ($charCodeAt(C, 0) < 0x20) { - product += UnicodeEscape(C); - } else { - product += C; - } - }); - } - product += '"'; - return product; -}; diff --git a/node_modules/es-abstract/2018/RegExpCreate.js b/node_modules/es-abstract/2018/RegExpCreate.js deleted file mode 100644 index 68e31605e..000000000 --- a/node_modules/es-abstract/2018/RegExpCreate.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RegExp = GetIntrinsic('%RegExp%'); - -// var RegExpAlloc = require('./RegExpAlloc'); -// var RegExpInitialize = require('./RegExpInitialize'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/6.0/#sec-regexpcreate - -module.exports = function RegExpCreate(P, F) { - // var obj = RegExpAlloc($RegExp); - // return RegExpInitialize(obj, P, F); - - // covers spec mechanics; bypass regex brand checking - var pattern = typeof P === 'undefined' ? '' : ToString(P); - var flags = typeof F === 'undefined' ? '' : ToString(F); - return new $RegExp(pattern, flags); -}; diff --git a/node_modules/es-abstract/2018/RegExpExec.js b/node_modules/es-abstract/2018/RegExpExec.js deleted file mode 100644 index 29fee1720..000000000 --- a/node_modules/es-abstract/2018/RegExpExec.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var regexExec = require('call-bind/callBound')('RegExp.prototype.exec'); - -var Call = require('./Call'); -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec - -module.exports = function RegExpExec(R, S) { - if (Type(R) !== 'Object') { - throw new $TypeError('Assertion failed: `R` must be an Object'); - } - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - var exec = Get(R, 'exec'); - if (IsCallable(exec)) { - var result = Call(exec, R, [S]); - if (result === null || Type(result) === 'Object') { - return result; - } - throw new $TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); -}; diff --git a/node_modules/es-abstract/2018/RequireObjectCoercible.js b/node_modules/es-abstract/2018/RequireObjectCoercible.js deleted file mode 100644 index 9008359db..000000000 --- a/node_modules/es-abstract/2018/RequireObjectCoercible.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../5/CheckObjectCoercible'); diff --git a/node_modules/es-abstract/2018/SameValue.js b/node_modules/es-abstract/2018/SameValue.js deleted file mode 100644 index b73939b20..000000000 --- a/node_modules/es-abstract/2018/SameValue.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// http://262.ecma-international.org/5.1/#sec-9.12 - -module.exports = function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); -}; diff --git a/node_modules/es-abstract/2018/SameValueNonNumber.js b/node_modules/es-abstract/2018/SameValueNonNumber.js deleted file mode 100644 index b6d2c4e64..000000000 --- a/node_modules/es-abstract/2018/SameValueNonNumber.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); - -// https://262.ecma-international.org/7.0/#sec-samevaluenonnumber - -module.exports = function SameValueNonNumber(x, y) { - if (typeof x === 'number' || typeof x !== typeof y) { - throw new $TypeError('SameValueNonNumber requires two non-number values of the same type.'); - } - return SameValue(x, y); -}; diff --git a/node_modules/es-abstract/2018/SameValueZero.js b/node_modules/es-abstract/2018/SameValueZero.js deleted file mode 100644 index bf1a1486a..000000000 --- a/node_modules/es-abstract/2018/SameValueZero.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero - -module.exports = function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); -}; diff --git a/node_modules/es-abstract/2018/SecFromTime.js b/node_modules/es-abstract/2018/SecFromTime.js deleted file mode 100644 index fc2e44560..000000000 --- a/node_modules/es-abstract/2018/SecFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var SecondsPerMinute = timeConstants.SecondsPerMinute; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function SecFromTime(t) { - return modulo(floor(t / msPerSecond), SecondsPerMinute); -}; diff --git a/node_modules/es-abstract/2018/Set.js b/node_modules/es-abstract/2018/Set.js deleted file mode 100644 index ea49e813f..000000000 --- a/node_modules/es-abstract/2018/Set.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// IE 9 does not throw in strict mode when writability/configurability/extensibility is violated -var noThrowOnStrictViolation = (function () { - try { - delete [].length; - return true; - } catch (e) { - return false; - } -}()); - -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - -module.exports = function Set(O, P, V, Throw) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - if (Type(Throw) !== 'Boolean') { - throw new $TypeError('Assertion failed: `Throw` must be a Boolean'); - } - if (Throw) { - O[P] = V; // eslint-disable-line no-param-reassign - if (noThrowOnStrictViolation && !SameValue(O[P], V)) { - throw new $TypeError('Attempted to assign to readonly property.'); - } - return true; - } else { - try { - O[P] = V; // eslint-disable-line no-param-reassign - return noThrowOnStrictViolation ? SameValue(O[P], V) : true; - } catch (e) { - return false; - } - } -}; diff --git a/node_modules/es-abstract/2018/SetFunctionLength.js b/node_modules/es-abstract/2018/SetFunctionLength.js deleted file mode 100644 index c1160c8c0..000000000 --- a/node_modules/es-abstract/2018/SetFunctionLength.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var HasOwnProperty = require('./HasOwnProperty'); -var IsExtensible = require('./IsExtensible'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-setfunctionlength - -module.exports = function SetFunctionLength(F, length) { - if (typeof F !== 'function' || !IsExtensible(F) || HasOwnProperty(F, 'length')) { - throw new $TypeError('Assertion failed: `F` must be an extensible function and lack an own `length` property'); - } - if (Type(length) !== 'Number') { - throw new $TypeError('Assertion failed: `length` must be a Number'); - } - if (length < 0 || !IsInteger(length)) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0'); - } - return DefinePropertyOrThrow(F, 'length', { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); -}; diff --git a/node_modules/es-abstract/2018/SetFunctionName.js b/node_modules/es-abstract/2018/SetFunctionName.js deleted file mode 100644 index f59cb7b9e..000000000 --- a/node_modules/es-abstract/2018/SetFunctionName.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var has = require('has'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getSymbolDescription = require('../helpers/getSymbolDescription'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsExtensible = require('./IsExtensible'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname - -module.exports = function SetFunctionName(F, name) { - if (typeof F !== 'function') { - throw new $TypeError('Assertion failed: `F` must be a function'); - } - if (!IsExtensible(F) || has(F, 'name')) { - throw new $TypeError('Assertion failed: `F` must be extensible, and must not have a `name` own property'); - } - var nameType = Type(name); - if (nameType !== 'Symbol' && nameType !== 'String') { - throw new $TypeError('Assertion failed: `name` must be a Symbol or a String'); - } - if (nameType === 'Symbol') { - var description = getSymbolDescription(name); - // eslint-disable-next-line no-param-reassign - name = typeof description === 'undefined' ? '' : '[' + description + ']'; - } - if (arguments.length > 2) { - var prefix = arguments[2]; - // eslint-disable-next-line no-param-reassign - name = prefix + ' ' + name; - } - return DefinePropertyOrThrow(F, 'name', { - '[[Value]]': name, - '[[Writable]]': false, - '[[Enumerable]]': false, - '[[Configurable]]': true - }); -}; diff --git a/node_modules/es-abstract/2018/SetIntegrityLevel.js b/node_modules/es-abstract/2018/SetIntegrityLevel.js deleted file mode 100644 index 1ac7d61e2..000000000 --- a/node_modules/es-abstract/2018/SetIntegrityLevel.js +++ /dev/null @@ -1,57 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); -var $preventExtensions = GetIntrinsic('%Object.preventExtensions%'); -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); - -var forEach = require('../helpers/forEach'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel - -module.exports = function SetIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - if (!$preventExtensions) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.preventExtensions` support'); - } - var status = $preventExtensions(O); - if (!status) { - return false; - } - if (!$gOPN) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.getOwnPropertyNames` support'); - } - var theKeys = $gOPN(O); - if (level === 'sealed') { - forEach(theKeys, function (k) { - DefinePropertyOrThrow(O, k, { configurable: false }); - }); - } else if (level === 'frozen') { - forEach(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - var desc; - if (IsAccessorDescriptor(ToPropertyDescriptor(currentDesc))) { - desc = { configurable: false }; - } else { - desc = { configurable: false, writable: false }; - } - DefinePropertyOrThrow(O, k, desc); - } - }); - } - return true; -}; diff --git a/node_modules/es-abstract/2018/SpeciesConstructor.js b/node_modules/es-abstract/2018/SpeciesConstructor.js deleted file mode 100644 index 491eb9b87..000000000 --- a/node_modules/es-abstract/2018/SpeciesConstructor.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - -module.exports = function SpeciesConstructor(O, defaultConstructor) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (Type(C) !== 'Object') { - throw new $TypeError('O.constructor is not an Object'); - } - var S = $species ? C[$species] : void 0; - if (S == null) { - return defaultConstructor; - } - if (IsConstructor(S)) { - return S; - } - throw new $TypeError('no constructor found'); -}; diff --git a/node_modules/es-abstract/2018/SplitMatch.js b/node_modules/es-abstract/2018/SplitMatch.js deleted file mode 100644 index 8ab05355e..000000000 --- a/node_modules/es-abstract/2018/SplitMatch.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var $charAt = callBound('String.prototype.charAt'); - -// https://262.ecma-international.org/6.0/#sec-splitmatch - -module.exports = function SplitMatch(S, q, R) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(q)) { - throw new $TypeError('Assertion failed: `q` must be an integer'); - } - if (Type(R) !== 'String') { - throw new $TypeError('Assertion failed: `R` must be a String'); - } - var r = R.length; - var s = S.length; - if (q + r > s) { - return false; - } - - for (var i = 0; i < r; i += 1) { - if ($charAt(S, q + i) !== $charAt(R, i)) { - return false; - } - } - - return q + r; -}; diff --git a/node_modules/es-abstract/2018/StrictEqualityComparison.js b/node_modules/es-abstract/2018/StrictEqualityComparison.js deleted file mode 100644 index f3435ba9d..000000000 --- a/node_modules/es-abstract/2018/StrictEqualityComparison.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.9.6 - -module.exports = function StrictEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType !== yType) { - return false; - } - if (xType === 'Undefined' || xType === 'Null') { - return true; - } - return x === y; // shortcut for steps 4-7 -}; diff --git a/node_modules/es-abstract/2018/StringCreate.js b/node_modules/es-abstract/2018/StringCreate.js deleted file mode 100644 index da0c0ea06..000000000 --- a/node_modules/es-abstract/2018/StringCreate.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); -var $StringPrototype = GetIntrinsic('%String.prototype%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var Type = require('./Type'); - -var setProto = require('../helpers/setProto'); - -// https://262.ecma-international.org/6.0/#sec-stringcreate - -module.exports = function StringCreate(value, prototype) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - - var S = $Object(value); - if (S !== $StringPrototype) { - if (setProto) { - setProto(S, prototype); - } else { - throw new $SyntaxError('StringCreate: a `proto` argument that is not `String.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - } - - var length = value.length; - DefinePropertyOrThrow(S, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); - - return S; -}; diff --git a/node_modules/es-abstract/2018/StringGetOwnProperty.js b/node_modules/es-abstract/2018/StringGetOwnProperty.js deleted file mode 100644 index b6f904ec3..000000000 --- a/node_modules/es-abstract/2018/StringGetOwnProperty.js +++ /dev/null @@ -1,48 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var $charAt = callBound('String.prototype.charAt'); -var $stringToString = callBound('String.prototype.toString'); - -var CanonicalNumericIndexString = require('./CanonicalNumericIndexString'); -var IsInteger = require('./IsInteger'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -var isNegativeZero = require('is-negative-zero'); - -// https://262.ecma-international.org/8.0/#sec-stringgetownproperty - -module.exports = function StringGetOwnProperty(S, P) { - var str; - if (Type(S) === 'Object') { - try { - str = $stringToString(S); - } catch (e) { /**/ } - } - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a boxed string object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - if (Type(P) !== 'String') { - return void undefined; - } - var index = CanonicalNumericIndexString(P); - var len = str.length; - if (typeof index === 'undefined' || !IsInteger(index) || isNegativeZero(index) || index < 0 || len <= index) { - return void undefined; - } - var resultStr = $charAt(S, index); - return { - '[[Configurable]]': false, - '[[Enumerable]]': true, - '[[Value]]': resultStr, - '[[Writable]]': false - }; -}; diff --git a/node_modules/es-abstract/2018/SymbolDescriptiveString.js b/node_modules/es-abstract/2018/SymbolDescriptiveString.js deleted file mode 100644 index 1efd1316b..000000000 --- a/node_modules/es-abstract/2018/SymbolDescriptiveString.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $SymbolToString = callBound('Symbol.prototype.toString', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring - -module.exports = function SymbolDescriptiveString(sym) { - if (Type(sym) !== 'Symbol') { - throw new $TypeError('Assertion failed: `sym` must be a Symbol'); - } - return $SymbolToString(sym); -}; diff --git a/node_modules/es-abstract/2018/TestIntegrityLevel.js b/node_modules/es-abstract/2018/TestIntegrityLevel.js deleted file mode 100644 index cf1649c1b..000000000 --- a/node_modules/es-abstract/2018/TestIntegrityLevel.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var every = require('../helpers/every'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel - -module.exports = function TestIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - var status = IsExtensible(O); - if (status) { - return false; - } - var theKeys = $gOPN(O); - return theKeys.length === 0 || every(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - if (currentDesc.configurable) { - return false; - } - if (level === 'frozen' && IsDataDescriptor(ToPropertyDescriptor(currentDesc)) && currentDesc.writable) { - return false; - } - } - return true; - }); -}; diff --git a/node_modules/es-abstract/2018/TimeClip.js b/node_modules/es-abstract/2018/TimeClip.js deleted file mode 100644 index e416cab4b..000000000 --- a/node_modules/es-abstract/2018/TimeClip.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); -var $Number = GetIntrinsic('%Number%'); - -var $isFinite = require('../helpers/isFinite'); - -var abs = require('./abs'); -var ToNumber = require('./ToNumber'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.14 - -module.exports = function TimeClip(time) { - if (!$isFinite(time) || abs(time) > 8.64e15) { - return NaN; - } - return $Number(new $Date(ToNumber(time))); -}; - diff --git a/node_modules/es-abstract/2018/TimeFromYear.js b/node_modules/es-abstract/2018/TimeFromYear.js deleted file mode 100644 index f3518a41a..000000000 --- a/node_modules/es-abstract/2018/TimeFromYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -var DayFromYear = require('./DayFromYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function TimeFromYear(y) { - return msPerDay * DayFromYear(y); -}; diff --git a/node_modules/es-abstract/2018/TimeString.js b/node_modules/es-abstract/2018/TimeString.js deleted file mode 100644 index 051c4728e..000000000 --- a/node_modules/es-abstract/2018/TimeString.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var padTimeComponent = require('../helpers/padTimeComponent'); - -var HourFromTime = require('./HourFromTime'); -var MinFromTime = require('./MinFromTime'); -var SecFromTime = require('./SecFromTime'); -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-timestring - -module.exports = function TimeString(tv) { - if (Type(tv) !== 'Number' || $isNaN(tv)) { - throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number'); - } - var hour = HourFromTime(tv); - var minute = MinFromTime(tv); - var second = SecFromTime(tv); - return padTimeComponent(hour) + ':' + padTimeComponent(minute) + ':' + padTimeComponent(second) + '\x20GMT'; -}; diff --git a/node_modules/es-abstract/2018/TimeWithinDay.js b/node_modules/es-abstract/2018/TimeWithinDay.js deleted file mode 100644 index 2bba83386..000000000 --- a/node_modules/es-abstract/2018/TimeWithinDay.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function TimeWithinDay(t) { - return modulo(t, msPerDay); -}; - diff --git a/node_modules/es-abstract/2018/ToBoolean.js b/node_modules/es-abstract/2018/ToBoolean.js deleted file mode 100644 index 466404bf9..000000000 --- a/node_modules/es-abstract/2018/ToBoolean.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.2 - -module.exports = function ToBoolean(value) { return !!value; }; diff --git a/node_modules/es-abstract/2018/ToDateString.js b/node_modules/es-abstract/2018/ToDateString.js deleted file mode 100644 index e636a9ba6..000000000 --- a/node_modules/es-abstract/2018/ToDateString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Date = GetIntrinsic('%Date%'); - -var $isNaN = require('../helpers/isNaN'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring - -module.exports = function ToDateString(tv) { - if (Type(tv) !== 'Number') { - throw new $TypeError('Assertion failed: `tv` must be a Number'); - } - if ($isNaN(tv)) { - return 'Invalid Date'; - } - return $Date(tv); -}; diff --git a/node_modules/es-abstract/2018/ToIndex.js b/node_modules/es-abstract/2018/ToIndex.js deleted file mode 100644 index 7c9d746d5..000000000 --- a/node_modules/es-abstract/2018/ToIndex.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); - -var ToInteger = require('./ToInteger'); -var ToLength = require('./ToLength'); -var SameValueZero = require('./SameValueZero'); - -// https://262.ecma-international.org/8.0/#sec-toindex - -module.exports = function ToIndex(value) { - if (typeof value === 'undefined') { - return 0; - } - var integerIndex = ToInteger(value); - if (integerIndex < 0) { - throw new $RangeError('index must be >= 0'); - } - var index = ToLength(integerIndex); - if (!SameValueZero(integerIndex, index)) { - throw new $RangeError('index must be >= 0 and < 2 ** 53 - 1'); - } - return index; -}; diff --git a/node_modules/es-abstract/2018/ToInt16.js b/node_modules/es-abstract/2018/ToInt16.js deleted file mode 100644 index cb8e7934b..000000000 --- a/node_modules/es-abstract/2018/ToInt16.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint16 = require('./ToUint16'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 - -module.exports = function ToInt16(argument) { - var int16bit = ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; -}; diff --git a/node_modules/es-abstract/2018/ToInt32.js b/node_modules/es-abstract/2018/ToInt32.js deleted file mode 100644 index b879ccc47..000000000 --- a/node_modules/es-abstract/2018/ToInt32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.5 - -module.exports = function ToInt32(x) { - return ToNumber(x) >> 0; -}; diff --git a/node_modules/es-abstract/2018/ToInt8.js b/node_modules/es-abstract/2018/ToInt8.js deleted file mode 100644 index bc452d826..000000000 --- a/node_modules/es-abstract/2018/ToInt8.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint8 = require('./ToUint8'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 - -module.exports = function ToInt8(argument) { - var int8bit = ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; -}; diff --git a/node_modules/es-abstract/2018/ToInteger.js b/node_modules/es-abstract/2018/ToInteger.js deleted file mode 100644 index 297581809..000000000 --- a/node_modules/es-abstract/2018/ToInteger.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5ToInteger = require('../5/ToInteger'); - -var ToNumber = require('./ToNumber'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger - -module.exports = function ToInteger(value) { - var number = ToNumber(value); - return ES5ToInteger(number); -}; diff --git a/node_modules/es-abstract/2018/ToLength.js b/node_modules/es-abstract/2018/ToLength.js deleted file mode 100644 index 1bef9bed7..000000000 --- a/node_modules/es-abstract/2018/ToLength.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var ToInteger = require('./ToInteger'); - -module.exports = function ToLength(argument) { - var len = ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; -}; diff --git a/node_modules/es-abstract/2018/ToNumber.js b/node_modules/es-abstract/2018/ToNumber.js deleted file mode 100644 index e776bb2b7..000000000 --- a/node_modules/es-abstract/2018/ToNumber.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Number = GetIntrinsic('%Number%'); -var $RegExp = GetIntrinsic('%RegExp%'); -var $parseInteger = GetIntrinsic('%parseInt%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var isPrimitive = require('../helpers/isPrimitive'); - -var $strSlice = callBound('String.prototype.slice'); -var isBinary = regexTester(/^0b[01]+$/i); -var isOctal = regexTester(/^0o[0-7]+$/i); -var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = regexTester(nonWSregex); - -// whitespace from: https://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var $replace = callBound('String.prototype.replace'); -var $trim = function (value) { - return $replace(value, trimRegex, ''); -}; - -var ToPrimitive = require('./ToPrimitive'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber - -module.exports = function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = $trim(value); - if (trimmed !== value) { - return ToNumber(trimmed); - } - } - } - return $Number(value); -}; diff --git a/node_modules/es-abstract/2018/ToObject.js b/node_modules/es-abstract/2018/ToObject.js deleted file mode 100644 index cb26bac06..000000000 --- a/node_modules/es-abstract/2018/ToObject.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toobject - -module.exports = function ToObject(value) { - RequireObjectCoercible(value); - return $Object(value); -}; diff --git a/node_modules/es-abstract/2018/ToPrimitive.js b/node_modules/es-abstract/2018/ToPrimitive.js deleted file mode 100644 index 0fbe9b807..000000000 --- a/node_modules/es-abstract/2018/ToPrimitive.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var toPrimitive = require('es-to-primitive/es2015'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive - -module.exports = function ToPrimitive(input) { - if (arguments.length > 1) { - return toPrimitive(input, arguments[1]); - } - return toPrimitive(input); -}; diff --git a/node_modules/es-abstract/2018/ToPropertyDescriptor.js b/node_modules/es-abstract/2018/ToPropertyDescriptor.js deleted file mode 100644 index 53db87450..000000000 --- a/node_modules/es-abstract/2018/ToPropertyDescriptor.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var has = require('has'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); -var ToBoolean = require('./ToBoolean'); -var IsCallable = require('./IsCallable'); - -// https://262.ecma-international.org/5.1/#sec-8.10.5 - -module.exports = function ToPropertyDescriptor(Obj) { - if (Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !IsCallable(getter)) { - throw new $TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; -}; diff --git a/node_modules/es-abstract/2018/ToPropertyKey.js b/node_modules/es-abstract/2018/ToPropertyKey.js deleted file mode 100644 index fc1bf7d86..000000000 --- a/node_modules/es-abstract/2018/ToPropertyKey.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); - -var ToPrimitive = require('./ToPrimitive'); -var ToString = require('./ToString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey - -module.exports = function ToPropertyKey(argument) { - var key = ToPrimitive(argument, $String); - return typeof key === 'symbol' ? key : ToString(key); -}; diff --git a/node_modules/es-abstract/2018/ToString.js b/node_modules/es-abstract/2018/ToString.js deleted file mode 100644 index 4d494e1e2..000000000 --- a/node_modules/es-abstract/2018/ToString.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tostring - -module.exports = function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); -}; diff --git a/node_modules/es-abstract/2018/ToUint16.js b/node_modules/es-abstract/2018/ToUint16.js deleted file mode 100644 index 633ca8464..000000000 --- a/node_modules/es-abstract/2018/ToUint16.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -// http://262.ecma-international.org/5.1/#sec-9.7 - -module.exports = function ToUint16(value) { - var number = ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x10000); -}; diff --git a/node_modules/es-abstract/2018/ToUint32.js b/node_modules/es-abstract/2018/ToUint32.js deleted file mode 100644 index 2a8e9dd6a..000000000 --- a/node_modules/es-abstract/2018/ToUint32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.6 - -module.exports = function ToUint32(x) { - return ToNumber(x) >>> 0; -}; diff --git a/node_modules/es-abstract/2018/ToUint8.js b/node_modules/es-abstract/2018/ToUint8.js deleted file mode 100644 index 2dfd97cb3..000000000 --- a/node_modules/es-abstract/2018/ToUint8.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 - -module.exports = function ToUint8(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x100); -}; diff --git a/node_modules/es-abstract/2018/ToUint8Clamp.js b/node_modules/es-abstract/2018/ToUint8Clamp.js deleted file mode 100644 index b0b8ce8ed..000000000 --- a/node_modules/es-abstract/2018/ToUint8Clamp.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp - -module.exports = function ToUint8Clamp(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; -}; diff --git a/node_modules/es-abstract/2018/Type.js b/node_modules/es-abstract/2018/Type.js deleted file mode 100644 index 0bd11659c..000000000 --- a/node_modules/es-abstract/2018/Type.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5Type = require('../5/Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values - -module.exports = function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5Type(x); -}; diff --git a/node_modules/es-abstract/2018/UTF16Decode.js b/node_modules/es-abstract/2018/UTF16Decode.js deleted file mode 100644 index 86927b478..000000000 --- a/node_modules/es-abstract/2018/UTF16Decode.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -// https://262.ecma-international.org/7.0/#sec-utf16decode - -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -// https://262.ecma-international.org/11.0/#sec-utf16decodesurrogatepair - -module.exports = function UTF16Decode(lead, trail) { - if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) { - throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code'); - } - // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000; - return $fromCharCode(lead) + $fromCharCode(trail); -}; diff --git a/node_modules/es-abstract/2018/UTF16Encoding.js b/node_modules/es-abstract/2018/UTF16Encoding.js deleted file mode 100644 index f381595fd..000000000 --- a/node_modules/es-abstract/2018/UTF16Encoding.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var isCodePoint = require('../helpers/isCodePoint'); - -// https://262.ecma-international.org/7.0/#sec-utf16encoding - -module.exports = function UTF16Encoding(cp) { - if (!isCodePoint(cp)) { - throw new $TypeError('Assertion failed: `cp` must be >= 0 and <= 0x10FFFF'); - } - if (cp <= 65535) { - return $fromCharCode(cp); - } - var cu1 = floor((cp - 65536) / 1024) + 0xD800; - var cu2 = modulo(cp - 65536, 1024) + 0xDC00; - return $fromCharCode(cu1) + $fromCharCode(cu2); -}; diff --git a/node_modules/es-abstract/2018/UnicodeEscape.js b/node_modules/es-abstract/2018/UnicodeEscape.js deleted file mode 100644 index db7163f77..000000000 --- a/node_modules/es-abstract/2018/UnicodeEscape.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); -var $numberToString = callBound('Number.prototype.toString'); -var $toLowerCase = callBound('String.prototype.toLowerCase'); -var $strSlice = callBound('String.prototype.slice'); - -// https://262.ecma-international.org/9.0/#sec-unicodeescape - -module.exports = function UnicodeEscape(C) { - if (typeof C !== 'string' || C.length !== 1) { - throw new $TypeError('Assertion failed: `C` must be a single code unit'); - } - var n = $charCodeAt(C, 0); - if (n > 0xFFFF) { - throw new $TypeError('`Assertion failed: numeric value of `C` must be <= 0xFFFF'); - } - - return '\\u' + $strSlice('0000' + $toLowerCase($numberToString(n, 16)), -4); -}; diff --git a/node_modules/es-abstract/2018/ValidateAndApplyPropertyDescriptor.js b/node_modules/es-abstract/2018/ValidateAndApplyPropertyDescriptor.js deleted file mode 100644 index a7fd218ad..000000000 --- a/node_modules/es-abstract/2018/ValidateAndApplyPropertyDescriptor.js +++ /dev/null @@ -1,170 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var isSamePropertyDescriptor = require('../helpers/isSamePropertyDescriptor'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor - -// eslint-disable-next-line max-lines-per-function, max-statements, max-params -module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { - // this uses the ES2017+ logic, since it fixes a number of bugs in the ES2015 logic. - var oType = Type(O); - if (oType !== 'Undefined' && oType !== 'Object') { - throw new $TypeError('Assertion failed: O must be undefined or an Object'); - } - if (Type(extensible) !== 'Boolean') { - throw new $TypeError('Assertion failed: extensible must be a Boolean'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (Type(current) !== 'Undefined' && !isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, current)) { - throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined'); - } - if (oType !== 'Undefined' && !IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: if O is not undefined, P must be a Property Key'); - } - if (Type(current) === 'Undefined') { - if (!extensible) { - return false; - } - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': Desc['[[Configurable]]'], - '[[Enumerable]]': Desc['[[Enumerable]]'], - '[[Value]]': Desc['[[Value]]'], - '[[Writable]]': Desc['[[Writable]]'] - } - ); - } - } else { - if (!IsAccessorDescriptor(Desc)) { - throw new $TypeError('Assertion failed: Desc is not an accessor descriptor'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - } - return true; - } - if (IsGenericDescriptor(Desc) && !('[[Configurable]]' in Desc) && !('[[Enumerable]]' in Desc)) { - return true; - } - if (isSamePropertyDescriptor({ SameValue: SameValue }, Desc, current)) { - return true; // removed by ES2017, but should still be correct - } - // "if every field in Desc is absent, return true" can't really match the assertion that it's a Property Descriptor - if (!current['[[Configurable]]']) { - if (Desc['[[Configurable]]']) { - return false; - } - if ('[[Enumerable]]' in Desc && !Desc['[[Enumerable]]'] === !!current['[[Enumerable]]']) { - return false; - } - } - if (IsGenericDescriptor(Desc)) { - // no further validation is required. - } else if (IsDataDescriptor(current) !== IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - return false; - } - if (IsDataDescriptor(current)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Get]]': undefined - } - ); - } - } else if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Value]]': undefined - } - ); - } - } else if (IsDataDescriptor(current) && IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]'] && !current['[[Writable]]']) { - if ('[[Writable]]' in Desc && Desc['[[Writable]]']) { - return false; - } - if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) { - return false; - } - return true; - } - } else if (IsAccessorDescriptor(current) && IsAccessorDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) { - return false; - } - if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) { - return false; - } - return true; - } - } else { - throw new $TypeError('Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - return true; -}; diff --git a/node_modules/es-abstract/2018/WeekDay.js b/node_modules/es-abstract/2018/WeekDay.js deleted file mode 100644 index 17cf94ca3..000000000 --- a/node_modules/es-abstract/2018/WeekDay.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.6 - -module.exports = function WeekDay(t) { - return modulo(Day(t) + 4, 7); -}; diff --git a/node_modules/es-abstract/2018/YearFromTime.js b/node_modules/es-abstract/2018/YearFromTime.js deleted file mode 100644 index be06ecbc3..000000000 --- a/node_modules/es-abstract/2018/YearFromTime.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); - -var callBound = require('call-bind/callBound'); - -var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function YearFromTime(t) { - // largest y such that this.TimeFromYear(y) <= t - return $getUTCFullYear(new $Date(t)); -}; diff --git a/node_modules/es-abstract/2018/abs.js b/node_modules/es-abstract/2018/abs.js deleted file mode 100644 index 8bc45434d..000000000 --- a/node_modules/es-abstract/2018/abs.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $abs = GetIntrinsic('%Math.abs%'); - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function abs(x) { - return $abs(x); -}; diff --git a/node_modules/es-abstract/2018/floor.js b/node_modules/es-abstract/2018/floor.js deleted file mode 100644 index 8439df064..000000000 --- a/node_modules/es-abstract/2018/floor.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -// var modulo = require('./modulo'); -var $floor = Math.floor; - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function floor(x) { - // return x - modulo(x, 1); - return $floor(x); -}; diff --git a/node_modules/es-abstract/2018/modulo.js b/node_modules/es-abstract/2018/modulo.js deleted file mode 100644 index b94bb52bb..000000000 --- a/node_modules/es-abstract/2018/modulo.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var mod = require('../helpers/mod'); - -// https://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function modulo(x, y) { - return mod(x, y); -}; diff --git a/node_modules/es-abstract/2018/msFromTime.js b/node_modules/es-abstract/2018/msFromTime.js deleted file mode 100644 index a6bae767a..000000000 --- a/node_modules/es-abstract/2018/msFromTime.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerSecond = require('../helpers/timeConstants').msPerSecond; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function msFromTime(t) { - return modulo(t, msPerSecond); -}; diff --git a/node_modules/es-abstract/2018/thisBooleanValue.js b/node_modules/es-abstract/2018/thisBooleanValue.js deleted file mode 100644 index 27075b9c4..000000000 --- a/node_modules/es-abstract/2018/thisBooleanValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object - -module.exports = function thisBooleanValue(value) { - if (Type(value) === 'Boolean') { - return value; - } - - return $BooleanValueOf(value); -}; diff --git a/node_modules/es-abstract/2018/thisNumberValue.js b/node_modules/es-abstract/2018/thisNumberValue.js deleted file mode 100644 index 92968dcdf..000000000 --- a/node_modules/es-abstract/2018/thisNumberValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var Type = require('./Type'); - -var $NumberValueOf = callBound('Number.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object - -module.exports = function thisNumberValue(value) { - if (Type(value) === 'Number') { - return value; - } - - return $NumberValueOf(value); -}; - diff --git a/node_modules/es-abstract/2018/thisStringValue.js b/node_modules/es-abstract/2018/thisStringValue.js deleted file mode 100644 index 8e4274d81..000000000 --- a/node_modules/es-abstract/2018/thisStringValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object - -module.exports = function thisStringValue(value) { - if (Type(value) === 'String') { - return value; - } - - return $StringValueOf(value); -}; diff --git a/node_modules/es-abstract/2018/thisSymbolValue.js b/node_modules/es-abstract/2018/thisSymbolValue.js deleted file mode 100644 index 91a552542..000000000 --- a/node_modules/es-abstract/2018/thisSymbolValue.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $SymbolValueOf = callBound('Symbol.prototype.valueOf', true); - -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-thissymbolvalue - -module.exports = function thisSymbolValue(value) { - if (!$SymbolValueOf) { - throw new SyntaxError('Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object'); - } - if (Type(value) === 'Symbol') { - return value; - } - return $SymbolValueOf(value); -}; diff --git a/node_modules/es-abstract/2018/thisTimeValue.js b/node_modules/es-abstract/2018/thisTimeValue.js deleted file mode 100644 index 12548fa4f..000000000 --- a/node_modules/es-abstract/2018/thisTimeValue.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $DateValueOf = require('call-bind/callBound')('Date.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object - -module.exports = function thisTimeValue(value) { - return $DateValueOf(value); -}; diff --git a/node_modules/es-abstract/2019/AbstractEqualityComparison.js b/node_modules/es-abstract/2019/AbstractEqualityComparison.js deleted file mode 100644 index c776194c1..000000000 --- a/node_modules/es-abstract/2019/AbstractEqualityComparison.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-abstract-equality-comparison - -module.exports = function AbstractEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (xType === 'Boolean') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (yType === 'Boolean') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number' || xType === 'Symbol') && yType === 'Object') { - return AbstractEqualityComparison(x, ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number' || yType === 'Symbol')) { - return AbstractEqualityComparison(ToPrimitive(x), y); - } - return false; -}; diff --git a/node_modules/es-abstract/2019/AbstractRelationalComparison.js b/node_modules/es-abstract/2019/AbstractRelationalComparison.js deleted file mode 100644 index 0dfed5ffe..000000000 --- a/node_modules/es-abstract/2019/AbstractRelationalComparison.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Number = GetIntrinsic('%Number%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var isPrefixOf = require('../helpers/isPrefixOf'); - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.8.5 - -// eslint-disable-next-line max-statements -module.exports = function AbstractRelationalComparison(x, y, LeftFirst) { - if (Type(LeftFirst) !== 'Boolean') { - throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); - } - var px; - var py; - if (LeftFirst) { - px = ToPrimitive(x, $Number); - py = ToPrimitive(y, $Number); - } else { - py = ToPrimitive(y, $Number); - px = ToPrimitive(x, $Number); - } - var bothStrings = Type(px) === 'String' && Type(py) === 'String'; - if (!bothStrings) { - var nx = ToNumber(px); - var ny = ToNumber(py); - if ($isNaN(nx) || $isNaN(ny)) { - return undefined; - } - if ($isFinite(nx) && $isFinite(ny) && nx === ny) { - return false; - } - if (nx === Infinity) { - return false; - } - if (ny === Infinity) { - return true; - } - if (ny === -Infinity) { - return false; - } - if (nx === -Infinity) { - return true; - } - return nx < ny; // by now, these are both nonzero, finite, and not equal - } - if (isPrefixOf(py, px)) { - return false; - } - if (isPrefixOf(px, py)) { - return true; - } - return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f -}; diff --git a/node_modules/es-abstract/2019/AddEntriesFromIterable.js b/node_modules/es-abstract/2019/AddEntriesFromIterable.js deleted file mode 100644 index a0a5e71bd..000000000 --- a/node_modules/es-abstract/2019/AddEntriesFromIterable.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var inspect = require('object-inspect'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var Get = require('./Get'); -var GetIterator = require('./GetIterator'); -var IsCallable = require('./IsCallable'); -var IteratorClose = require('./IteratorClose'); -var IteratorStep = require('./IteratorStep'); -var IteratorValue = require('./IteratorValue'); -var Type = require('./Type'); - -// https://262.ecma-international.org/10.0//#sec-add-entries-from-iterable - -module.exports = function AddEntriesFromIterable(target, iterable, adder) { - if (!IsCallable(adder)) { - throw new $TypeError('Assertion failed: `adder` is not callable'); - } - if (iterable == null) { - throw new $TypeError('Assertion failed: `iterable` is present, and not nullish'); - } - var iteratorRecord = GetIterator(iterable); - while (true) { // eslint-disable-line no-constant-condition - var next = IteratorStep(iteratorRecord); - if (!next) { - return target; - } - var nextItem = IteratorValue(next); - if (Type(nextItem) !== 'Object') { - var error = new $TypeError('iterator next must return an Object, got ' + inspect(nextItem)); - return IteratorClose( - iteratorRecord, - function () { throw error; } // eslint-disable-line no-loop-func - ); - } - try { - var k = Get(nextItem, '0'); - var v = Get(nextItem, '1'); - Call(adder, target, [k, v]); - } catch (e) { - return IteratorClose( - iteratorRecord, - function () { throw e; } - ); - } - } -}; diff --git a/node_modules/es-abstract/2019/AdvanceStringIndex.js b/node_modules/es-abstract/2019/AdvanceStringIndex.js deleted file mode 100644 index 279602b4c..000000000 --- a/node_modules/es-abstract/2019/AdvanceStringIndex.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $charCodeAt = require('call-bind/callBound')('String.prototype.charCodeAt'); - -// https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex - -module.exports = function AdvanceStringIndex(S, index, unicode) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0 and <= 2**53'); - } - if (Type(unicode) !== 'Boolean') { - throw new $TypeError('Assertion failed: `unicode` must be a Boolean'); - } - if (!unicode) { - return index + 1; - } - var length = S.length; - if ((index + 1) >= length) { - return index + 1; - } - - var first = $charCodeAt(S, index); - if (!isLeadingSurrogate(first)) { - return index + 1; - } - - var second = $charCodeAt(S, index + 1); - if (!isTrailingSurrogate(second)) { - return index + 1; - } - - return index + 2; -}; diff --git a/node_modules/es-abstract/2019/ArrayCreate.js b/node_modules/es-abstract/2019/ArrayCreate.js deleted file mode 100644 index 4d20e2e5e..000000000 --- a/node_modules/es-abstract/2019/ArrayCreate.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ArrayPrototype = GetIntrinsic('%Array.prototype%'); -var $RangeError = GetIntrinsic('%RangeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); - -var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; - -var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || ( - // eslint-disable-next-line no-proto, no-negated-condition - [].__proto__ !== $ArrayPrototype - ? null - : function (O, proto) { - O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign - return O; - } -); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraycreate - -module.exports = function ArrayCreate(length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0'); - } - if (length > MAX_ARRAY_LENGTH) { - throw new $RangeError('length is greater than (2**32 - 1)'); - } - var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype; - var A = []; // steps 5 - 7, and 9 - if (proto !== $ArrayPrototype) { // step 8 - if (!$setProto) { - throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - $setProto(A, proto); - } - if (length !== 0) { // bypasses the need for step 2 - A.length = length; - } - /* step 10, the above as a shortcut for the below - OrdinaryDefineOwnProperty(A, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': true - }); - */ - return A; -}; diff --git a/node_modules/es-abstract/2019/ArraySetLength.js b/node_modules/es-abstract/2019/ArraySetLength.js deleted file mode 100644 index 08db9c2e9..000000000 --- a/node_modules/es-abstract/2019/ArraySetLength.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var assign = require('object.assign'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsArray = require('./IsArray'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var OrdinaryDefineOwnProperty = require('./OrdinaryDefineOwnProperty'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var ToUint32 = require('./ToUint32'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraysetlength - -// eslint-disable-next-line max-statements, max-lines-per-function -module.exports = function ArraySetLength(A, Desc) { - if (!IsArray(A)) { - throw new $TypeError('Assertion failed: A must be an Array'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!('[[Value]]' in Desc)) { - return OrdinaryDefineOwnProperty(A, 'length', Desc); - } - var newLenDesc = assign({}, Desc); - var newLen = ToUint32(Desc['[[Value]]']); - var numberLen = ToNumber(Desc['[[Value]]']); - if (newLen !== numberLen) { - throw new $RangeError('Invalid array length'); - } - newLenDesc['[[Value]]'] = newLen; - var oldLenDesc = OrdinaryGetOwnProperty(A, 'length'); - if (!IsDataDescriptor(oldLenDesc)) { - throw new $TypeError('Assertion failed: an array had a non-data descriptor on `length`'); - } - var oldLen = oldLenDesc['[[Value]]']; - if (newLen >= oldLen) { - return OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - } - if (!oldLenDesc['[[Writable]]']) { - return false; - } - var newWritable; - if (!('[[Writable]]' in newLenDesc) || newLenDesc['[[Writable]]']) { - newWritable = true; - } else { - newWritable = false; - newLenDesc['[[Writable]]'] = true; - } - var succeeded = OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - if (!succeeded) { - return false; - } - while (newLen < oldLen) { - oldLen -= 1; - // eslint-disable-next-line no-param-reassign - var deleteSucceeded = delete A[ToString(oldLen)]; - if (!deleteSucceeded) { - newLenDesc['[[Value]]'] = oldLen + 1; - if (!newWritable) { - newLenDesc['[[Writable]]'] = false; - OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - return false; - } - } - } - if (!newWritable) { - return OrdinaryDefineOwnProperty(A, 'length', { '[[Writable]]': false }); - } - return true; -}; diff --git a/node_modules/es-abstract/2019/ArraySpeciesCreate.js b/node_modules/es-abstract/2019/ArraySpeciesCreate.js deleted file mode 100644 index 26d63b5e2..000000000 --- a/node_modules/es-abstract/2019/ArraySpeciesCreate.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsConstructor = require('./IsConstructor'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - -module.exports = function ArraySpeciesCreate(originalArray, length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = IsArray(originalArray); - if (isArray) { - C = Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if ($species && Type(C) === 'Object') { - C = Get(C, $species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // Construct(C, len); -}; - diff --git a/node_modules/es-abstract/2019/Call.js b/node_modules/es-abstract/2019/Call.js deleted file mode 100644 index 4b238c691..000000000 --- a/node_modules/es-abstract/2019/Call.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsArray = require('./IsArray'); - -var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-call - -module.exports = function Call(F, V) { - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - return $apply(F, V, argumentsList); -}; diff --git a/node_modules/es-abstract/2019/CanonicalNumericIndexString.js b/node_modules/es-abstract/2019/CanonicalNumericIndexString.js deleted file mode 100644 index feb878c03..000000000 --- a/node_modules/es-abstract/2019/CanonicalNumericIndexString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - -module.exports = function CanonicalNumericIndexString(argument) { - if (Type(argument) !== 'String') { - throw new $TypeError('Assertion failed: `argument` must be a String'); - } - if (argument === '-0') { return -0; } - var n = ToNumber(argument); - if (SameValue(ToString(n), argument)) { return n; } - return void 0; -}; diff --git a/node_modules/es-abstract/2019/CompletePropertyDescriptor.js b/node_modules/es-abstract/2019/CompletePropertyDescriptor.js deleted file mode 100644 index 548bf415a..000000000 --- a/node_modules/es-abstract/2019/CompletePropertyDescriptor.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - -module.exports = function CompletePropertyDescriptor(Desc) { - /* eslint no-param-reassign: 0 */ - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; -}; diff --git a/node_modules/es-abstract/2019/CopyDataProperties.js b/node_modules/es-abstract/2019/CopyDataProperties.js deleted file mode 100644 index b8f2802bb..000000000 --- a/node_modules/es-abstract/2019/CopyDataProperties.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); -var OwnPropertyKeys = require('../helpers/OwnPropertyKeys'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var CreateDataProperty = require('./CreateDataProperty'); -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToObject = require('./ToObject'); -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-copydataproperties - -module.exports = function CopyDataProperties(target, source, excludedItems) { - if (Type(target) !== 'Object') { - throw new $TypeError('Assertion failed: "target" must be an Object'); - } - - if (!IsArray(excludedItems)) { - throw new $TypeError('Assertion failed: "excludedItems" must be a List of Property Keys'); - } - for (var i = 0; i < excludedItems.length; i += 1) { - if (!IsPropertyKey(excludedItems[i])) { - throw new $TypeError('Assertion failed: "excludedItems" must be a List of Property Keys'); - } - } - - if (typeof source === 'undefined' || source === null) { - return target; - } - - var fromObj = ToObject(source); - - var sourceKeys = OwnPropertyKeys(fromObj); - forEach(sourceKeys, function (nextKey) { - var excluded = false; - - forEach(excludedItems, function (e) { - if (SameValue(e, nextKey) === true) { - excluded = true; - } - }); - - var enumerable = $isEnumerable(fromObj, nextKey) || ( - // this is to handle string keys being non-enumerable in older engines - typeof source === 'string' - && nextKey >= 0 - && IsInteger(ToNumber(nextKey)) - ); - if (excluded === false && enumerable) { - var propValue = Get(fromObj, nextKey); - CreateDataProperty(target, nextKey, propValue); - } - }); - - return target; -}; diff --git a/node_modules/es-abstract/2019/CreateDataProperty.js b/node_modules/es-abstract/2019/CreateDataProperty.js deleted file mode 100644 index ff5ca3055..000000000 --- a/node_modules/es-abstract/2019/CreateDataProperty.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty - -module.exports = function CreateDataProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = OrdinaryGetOwnProperty(O, P); - var extensible = !oldDesc || IsExtensible(O); - var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']); - if (immutable || !extensible) { - return false; - } - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Value]]': V, - '[[Writable]]': true - } - ); -}; diff --git a/node_modules/es-abstract/2019/CreateDataPropertyOrThrow.js b/node_modules/es-abstract/2019/CreateDataPropertyOrThrow.js deleted file mode 100644 index 2f7c410ba..000000000 --- a/node_modules/es-abstract/2019/CreateDataPropertyOrThrow.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var CreateDataProperty = require('./CreateDataProperty'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - -module.exports = function CreateDataPropertyOrThrow(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; -}; diff --git a/node_modules/es-abstract/2019/CreateHTML.js b/node_modules/es-abstract/2019/CreateHTML.js deleted file mode 100644 index ccded1e65..000000000 --- a/node_modules/es-abstract/2019/CreateHTML.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $replace = callBound('String.prototype.replace'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createhtml - -module.exports = function CreateHTML(string, tag, attribute, value) { - if (Type(tag) !== 'String' || Type(attribute) !== 'String') { - throw new $TypeError('Assertion failed: `tag` and `attribute` must be strings'); - } - var str = RequireObjectCoercible(string); - var S = ToString(str); - var p1 = '<' + tag; - if (attribute !== '') { - var V = ToString(value); - var escapedV = $replace(V, /\x22/g, '"'); - p1 += '\x20' + attribute + '\x3D\x22' + escapedV + '\x22'; - } - return p1 + '>' + S + ''; -}; diff --git a/node_modules/es-abstract/2019/CreateIterResultObject.js b/node_modules/es-abstract/2019/CreateIterResultObject.js deleted file mode 100644 index eea77a512..000000000 --- a/node_modules/es-abstract/2019/CreateIterResultObject.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - -module.exports = function CreateIterResultObject(value, done) { - if (Type(done) !== 'Boolean') { - throw new $TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; -}; diff --git a/node_modules/es-abstract/2019/CreateListFromArrayLike.js b/node_modules/es-abstract/2019/CreateListFromArrayLike.js deleted file mode 100644 index d1bb8b658..000000000 --- a/node_modules/es-abstract/2019/CreateListFromArrayLike.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $indexOf = callBound('Array.prototype.indexOf', true) || callBound('String.prototype.indexOf'); -var $push = callBound('Array.prototype.push'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToLength = require('./ToLength'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createlistfromarraylike -module.exports = function CreateListFromArrayLike(obj) { - var elementTypes = arguments.length > 1 - ? arguments[1] - : ['Undefined', 'Null', 'Boolean', 'String', 'Symbol', 'Number', 'Object']; - - if (Type(obj) !== 'Object') { - throw new $TypeError('Assertion failed: `obj` must be an Object'); - } - if (!IsArray(elementTypes)) { - throw new $TypeError('Assertion failed: `elementTypes`, if provided, must be an array'); - } - var len = ToLength(Get(obj, 'length')); - var list = []; - var index = 0; - while (index < len) { - var indexName = ToString(index); - var next = Get(obj, indexName); - var nextType = Type(next); - if ($indexOf(elementTypes, nextType) < 0) { - throw new $TypeError('item type ' + nextType + ' is not a valid elementType'); - } - $push(list, next); - index += 1; - } - return list; -}; diff --git a/node_modules/es-abstract/2019/CreateMethodProperty.js b/node_modules/es-abstract/2019/CreateMethodProperty.js deleted file mode 100644 index 53274a561..000000000 --- a/node_modules/es-abstract/2019/CreateMethodProperty.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createmethodproperty - -module.exports = function CreateMethodProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var newDesc = { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': V, - '[[Writable]]': true - }; - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - newDesc - ); -}; diff --git a/node_modules/es-abstract/2019/DateFromTime.js b/node_modules/es-abstract/2019/DateFromTime.js deleted file mode 100644 index 20e4f2e4d..000000000 --- a/node_modules/es-abstract/2019/DateFromTime.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); -var MonthFromTime = require('./MonthFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.5 - -module.exports = function DateFromTime(t) { - var m = MonthFromTime(t); - var d = DayWithinYear(t); - if (m === 0) { - return d + 1; - } - if (m === 1) { - return d - 30; - } - var leap = InLeapYear(t); - if (m === 2) { - return d - 58 - leap; - } - if (m === 3) { - return d - 89 - leap; - } - if (m === 4) { - return d - 119 - leap; - } - if (m === 5) { - return d - 150 - leap; - } - if (m === 6) { - return d - 180 - leap; - } - if (m === 7) { - return d - 211 - leap; - } - if (m === 8) { - return d - 242 - leap; - } - if (m === 9) { - return d - 272 - leap; - } - if (m === 10) { - return d - 303 - leap; - } - if (m === 11) { - return d - 333 - leap; - } - throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); -}; diff --git a/node_modules/es-abstract/2019/DateString.js b/node_modules/es-abstract/2019/DateString.js deleted file mode 100644 index 939c14c0c..000000000 --- a/node_modules/es-abstract/2019/DateString.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var weekdays = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; -var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; - -var $isNaN = require('../helpers/isNaN'); -var padTimeComponent = require('../helpers/padTimeComponent'); - -var Type = require('./Type'); -var WeekDay = require('./WeekDay'); -var MonthFromTime = require('./MonthFromTime'); -var YearFromTime = require('./YearFromTime'); -var DateFromTime = require('./DateFromTime'); - -// https://262.ecma-international.org/9.0/#sec-datestring - -module.exports = function DateString(tv) { - if (Type(tv) !== 'Number' || $isNaN(tv)) { - throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number'); - } - var weekday = weekdays[WeekDay(tv)]; - var month = months[MonthFromTime(tv)]; - var day = padTimeComponent(DateFromTime(tv)); - var year = padTimeComponent(YearFromTime(tv), 4); - return weekday + '\x20' + month + '\x20' + day + '\x20' + year; -}; diff --git a/node_modules/es-abstract/2019/Day.js b/node_modules/es-abstract/2019/Day.js deleted file mode 100644 index 51d01033c..000000000 --- a/node_modules/es-abstract/2019/Day.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function Day(t) { - return floor(t / msPerDay); -}; diff --git a/node_modules/es-abstract/2019/DayFromYear.js b/node_modules/es-abstract/2019/DayFromYear.js deleted file mode 100644 index 341bf22a6..000000000 --- a/node_modules/es-abstract/2019/DayFromYear.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DayFromYear(y) { - return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400); -}; - diff --git a/node_modules/es-abstract/2019/DayWithinYear.js b/node_modules/es-abstract/2019/DayWithinYear.js deleted file mode 100644 index 4c580940a..000000000 --- a/node_modules/es-abstract/2019/DayWithinYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var DayFromYear = require('./DayFromYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function DayWithinYear(t) { - return Day(t) - DayFromYear(YearFromTime(t)); -}; diff --git a/node_modules/es-abstract/2019/DaysInYear.js b/node_modules/es-abstract/2019/DaysInYear.js deleted file mode 100644 index 7116c6902..000000000 --- a/node_modules/es-abstract/2019/DaysInYear.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DaysInYear(y) { - if (modulo(y, 4) !== 0) { - return 365; - } - if (modulo(y, 100) !== 0) { - return 366; - } - if (modulo(y, 400) !== 0) { - return 365; - } - return 366; -}; diff --git a/node_modules/es-abstract/2019/DefinePropertyOrThrow.js b/node_modules/es-abstract/2019/DefinePropertyOrThrow.js deleted file mode 100644 index 26f2714bb..000000000 --- a/node_modules/es-abstract/2019/DefinePropertyOrThrow.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow - -module.exports = function DefinePropertyOrThrow(O, P, desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var Desc = isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, desc) ? desc : ToPropertyDescriptor(desc); - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor'); - } - - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); -}; diff --git a/node_modules/es-abstract/2019/DeletePropertyOrThrow.js b/node_modules/es-abstract/2019/DeletePropertyOrThrow.js deleted file mode 100644 index 30d5e57c7..000000000 --- a/node_modules/es-abstract/2019/DeletePropertyOrThrow.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow - -module.exports = function DeletePropertyOrThrow(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // eslint-disable-next-line no-param-reassign - var success = delete O[P]; - if (!success) { - throw new $TypeError('Attempt to delete property failed.'); - } - return success; -}; diff --git a/node_modules/es-abstract/2019/EnumerableOwnPropertyNames.js b/node_modules/es-abstract/2019/EnumerableOwnPropertyNames.js deleted file mode 100644 index 44171b9eb..000000000 --- a/node_modules/es-abstract/2019/EnumerableOwnPropertyNames.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var objectKeys = require('object-keys'); - -var callBound = require('call-bind/callBound'); - -var callBind = require('call-bind'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); -var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%')); - -var forEach = require('../helpers/forEach'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/8.0/#sec-enumerableownproperties - -module.exports = function EnumerableOwnProperties(O, kind) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - var keys = objectKeys(O); - if (kind === 'key') { - return keys; - } - if (kind === 'value' || kind === 'key+value') { - var results = []; - forEach(keys, function (key) { - if ($isEnumerable(O, key)) { - $pushApply(results, [ - kind === 'value' ? O[key] : [key, O[key]] - ]); - } - }); - return results; - } - throw new $TypeError('Assertion failed: "kind" is not "key", "value", or "key+value": ' + kind); -}; diff --git a/node_modules/es-abstract/2019/FlattenIntoArray.js b/node_modules/es-abstract/2019/FlattenIntoArray.js deleted file mode 100644 index ffe5fcd56..000000000 --- a/node_modules/es-abstract/2019/FlattenIntoArray.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var Call = require('./Call'); -var CreateDataPropertyOrThrow = require('./CreateDataPropertyOrThrow'); -var Get = require('./Get'); -var HasProperty = require('./HasProperty'); -var IsArray = require('./IsArray'); -var ToLength = require('./ToLength'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/10.0/#sec-flattenintoarray - -// eslint-disable-next-line max-params -module.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) { - var mapperFunction; - if (arguments.length > 5) { - mapperFunction = arguments[5]; - } - - var targetIndex = start; - var sourceIndex = 0; - while (sourceIndex < sourceLen) { - var P = ToString(sourceIndex); - var exists = HasProperty(source, P); - if (exists === true) { - var element = Get(source, P); - if (typeof mapperFunction !== 'undefined') { - if (arguments.length <= 6) { - throw new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided'); - } - element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]); - } - var shouldFlatten = false; - if (depth > 0) { - shouldFlatten = IsArray(element); - } - if (shouldFlatten) { - var elementLen = ToLength(Get(element, 'length')); - targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1); - } else { - if (targetIndex >= MAX_SAFE_INTEGER) { - throw new $TypeError('index too large'); - } - CreateDataPropertyOrThrow(target, ToString(targetIndex), element); - targetIndex += 1; - } - } - sourceIndex += 1; - } - - return targetIndex; -}; diff --git a/node_modules/es-abstract/2019/FromPropertyDescriptor.js b/node_modules/es-abstract/2019/FromPropertyDescriptor.js deleted file mode 100644 index 9a69a2605..000000000 --- a/node_modules/es-abstract/2019/FromPropertyDescriptor.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor - -module.exports = function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - var obj = {}; - if ('[[Value]]' in Desc) { - obj.value = Desc['[[Value]]']; - } - if ('[[Writable]]' in Desc) { - obj.writable = Desc['[[Writable]]']; - } - if ('[[Get]]' in Desc) { - obj.get = Desc['[[Get]]']; - } - if ('[[Set]]' in Desc) { - obj.set = Desc['[[Set]]']; - } - if ('[[Enumerable]]' in Desc) { - obj.enumerable = Desc['[[Enumerable]]']; - } - if ('[[Configurable]]' in Desc) { - obj.configurable = Desc['[[Configurable]]']; - } - return obj; -}; diff --git a/node_modules/es-abstract/2019/Get.js b/node_modules/es-abstract/2019/Get.js deleted file mode 100644 index 681055a2f..000000000 --- a/node_modules/es-abstract/2019/Get.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var inspect = require('object-inspect'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -/** - * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - -module.exports = function Get(O, P) { - // 7.3.1.1 - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); - } - // 7.3.1.3 - return O[P]; -}; diff --git a/node_modules/es-abstract/2019/GetIterator.js b/node_modules/es-abstract/2019/GetIterator.js deleted file mode 100644 index a2d3b16cb..000000000 --- a/node_modules/es-abstract/2019/GetIterator.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getIteratorMethod = require('../helpers/getIteratorMethod'); -var AdvanceStringIndex = require('./AdvanceStringIndex'); -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsArray = require('./IsArray'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getiterator - -module.exports = function GetIterator(obj, method) { - var actualMethod = method; - if (arguments.length < 2) { - actualMethod = getIteratorMethod( - { - AdvanceStringIndex: AdvanceStringIndex, - GetMethod: GetMethod, - IsArray: IsArray, - Type: Type - }, - obj - ); - } - var iterator = Call(actualMethod, obj); - if (Type(iterator) !== 'Object') { - throw new $TypeError('iterator must return an object'); - } - - return iterator; -}; diff --git a/node_modules/es-abstract/2019/GetMethod.js b/node_modules/es-abstract/2019/GetMethod.js deleted file mode 100644 index 775d3fb95..000000000 --- a/node_modules/es-abstract/2019/GetMethod.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetV = require('./GetV'); -var IsCallable = require('./IsCallable'); -var IsPropertyKey = require('./IsPropertyKey'); - -/** - * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - -module.exports = function GetMethod(O, P) { - // 7.3.9.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return void 0; - } - - // 7.3.9.5 - if (!IsCallable(func)) { - throw new $TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; -}; diff --git a/node_modules/es-abstract/2019/GetOwnPropertyKeys.js b/node_modules/es-abstract/2019/GetOwnPropertyKeys.js deleted file mode 100644 index b8f4167f7..000000000 --- a/node_modules/es-abstract/2019/GetOwnPropertyKeys.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var hasSymbols = require('has-symbols')(); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $gOPS = hasSymbols && GetIntrinsic('%Object.getOwnPropertySymbols%'); -var keys = require('object-keys'); - -var esType = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys - -module.exports = function GetOwnPropertyKeys(O, Type) { - if (esType(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (Type === 'Symbol') { - return $gOPS ? $gOPS(O) : []; - } - if (Type === 'String') { - if (!$gOPN) { - return keys(O); - } - return $gOPN(O); - } - throw new $TypeError('Assertion failed: `Type` must be `"String"` or `"Symbol"`'); -}; diff --git a/node_modules/es-abstract/2019/GetPrototypeFromConstructor.js b/node_modules/es-abstract/2019/GetPrototypeFromConstructor.js deleted file mode 100644 index 5f369cad8..000000000 --- a/node_modules/es-abstract/2019/GetPrototypeFromConstructor.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Function = GetIntrinsic('%Function%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getprototypefromconstructor - -module.exports = function GetPrototypeFromConstructor(constructor, intrinsicDefaultProto) { - var intrinsic = GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - if (!IsConstructor(constructor)) { - throw new $TypeError('Assertion failed: `constructor` must be a constructor'); - } - var proto = Get(constructor, 'prototype'); - if (Type(proto) !== 'Object') { - if (!(constructor instanceof $Function)) { - // ignore other realms, for now - throw new $TypeError('cross-realm constructors not currently supported'); - } - proto = intrinsic; - } - return proto; -}; diff --git a/node_modules/es-abstract/2019/GetSubstitution.js b/node_modules/es-abstract/2019/GetSubstitution.js deleted file mode 100644 index a5a7a1bee..000000000 --- a/node_modules/es-abstract/2019/GetSubstitution.js +++ /dev/null @@ -1,128 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var every = require('../helpers/every'); - -var $charAt = callBound('String.prototype.charAt'); -var $strSlice = callBound('String.prototype.slice'); -var $indexOf = callBound('String.prototype.indexOf'); -var $parseInt = parseInt; - -var isDigit = regexTester(/^[0-9]$/); - -var inspect = require('object-inspect'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var ToObject = require('./ToObject'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -var canDistinguishSparseFromUndefined = 0 in [undefined]; // IE 6 - 8 have a bug where this returns false - -var isStringOrHole = function (capture, index, arr) { - return Type(capture) === 'String' || (canDistinguishSparseFromUndefined ? !(index in arr) : Type(capture) === 'Undefined'); -}; - -// http://262.ecma-international.org/9.0/#sec-getsubstitution - -// eslint-disable-next-line max-statements, max-params, max-lines-per-function -module.exports = function GetSubstitution(matched, str, position, captures, namedCaptures, replacement) { - if (Type(matched) !== 'String') { - throw new $TypeError('Assertion failed: `matched` must be a String'); - } - var matchLength = matched.length; - - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `str` must be a String'); - } - var stringLength = str.length; - - if (!IsInteger(position) || position < 0 || position > stringLength) { - throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got ' + inspect(position)); - } - - if (!IsArray(captures) || !every(captures, isStringOrHole)) { - throw new $TypeError('Assertion failed: `captures` must be a List of Strings, got ' + inspect(captures)); - } - - if (Type(replacement) !== 'String') { - throw new $TypeError('Assertion failed: `replacement` must be a String'); - } - - var tailPos = position + matchLength; - var m = captures.length; - if (Type(namedCaptures) !== 'Undefined') { - namedCaptures = ToObject(namedCaptures); // eslint-disable-line no-param-reassign - } - - var result = ''; - for (var i = 0; i < replacement.length; i += 1) { - // if this is a $, and it's not the end of the replacement - var current = $charAt(replacement, i); - var isLast = (i + 1) >= replacement.length; - var nextIsLast = (i + 2) >= replacement.length; - if (current === '$' && !isLast) { - var next = $charAt(replacement, i + 1); - if (next === '$') { - result += '$'; - i += 1; - } else if (next === '&') { - result += matched; - i += 1; - } else if (next === '`') { - result += position === 0 ? '' : $strSlice(str, 0, position - 1); - i += 1; - } else if (next === "'") { - result += tailPos >= stringLength ? '' : $strSlice(str, tailPos); - i += 1; - } else { - var nextNext = nextIsLast ? null : $charAt(replacement, i + 2); - if (isDigit(next) && next !== '0' && (nextIsLast || !isDigit(nextNext))) { - // $1 through $9, and not followed by a digit - var n = $parseInt(next, 10); - // if (n > m, impl-defined) - result += n <= m && Type(captures[n - 1]) === 'Undefined' ? '' : captures[n - 1]; - i += 1; - } else if (isDigit(next) && (nextIsLast || isDigit(nextNext))) { - // $00 through $99 - var nn = next + nextNext; - var nnI = $parseInt(nn, 10) - 1; - // if nn === '00' or nn > m, impl-defined - result += nn <= m && Type(captures[nnI]) === 'Undefined' ? '' : captures[nnI]; - i += 2; - } else if (next === '<') { - // eslint-disable-next-line max-depth - if (Type(namedCaptures) === 'Undefined') { - result += '$<'; - i += 2; - } else { - var endIndex = $indexOf(replacement, '>', i); - // eslint-disable-next-line max-depth - if (endIndex > -1) { - var groupName = $strSlice(replacement, i + '$<'.length, endIndex); - var capture = Get(namedCaptures, groupName); - // eslint-disable-next-line max-depth - if (Type(capture) !== 'Undefined') { - result += ToString(capture); - } - i += ('<' + groupName + '>').length; - } - } - } else { - result += '$'; - } - } - } else { - // the final $, or else not a $ - result += $charAt(replacement, i); - } - } - return result; -}; diff --git a/node_modules/es-abstract/2019/GetV.js b/node_modules/es-abstract/2019/GetV.js deleted file mode 100644 index 2d8cc8246..000000000 --- a/node_modules/es-abstract/2019/GetV.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var ToObject = require('./ToObject'); - -/** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - -module.exports = function GetV(V, P) { - // 7.3.2.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = ToObject(V); - - // 7.3.2.4 - return O[P]; -}; diff --git a/node_modules/es-abstract/2019/HasOwnProperty.js b/node_modules/es-abstract/2019/HasOwnProperty.js deleted file mode 100644 index 04d28495f..000000000 --- a/node_modules/es-abstract/2019/HasOwnProperty.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var has = require('has'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - -module.exports = function HasOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return has(O, P); -}; diff --git a/node_modules/es-abstract/2019/HasProperty.js b/node_modules/es-abstract/2019/HasProperty.js deleted file mode 100644 index b341654e7..000000000 --- a/node_modules/es-abstract/2019/HasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - -module.exports = function HasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2019/HourFromTime.js b/node_modules/es-abstract/2019/HourFromTime.js deleted file mode 100644 index f963bfb68..000000000 --- a/node_modules/es-abstract/2019/HourFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerHour = timeConstants.msPerHour; -var HoursPerDay = timeConstants.HoursPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function HourFromTime(t) { - return modulo(floor(t / msPerHour), HoursPerDay); -}; diff --git a/node_modules/es-abstract/2019/InLeapYear.js b/node_modules/es-abstract/2019/InLeapYear.js deleted file mode 100644 index bfe0c451f..000000000 --- a/node_modules/es-abstract/2019/InLeapYear.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DaysInYear = require('./DaysInYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function InLeapYear(t) { - var days = DaysInYear(YearFromTime(t)); - if (days === 365) { - return 0; - } - if (days === 366) { - return 1; - } - throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); -}; diff --git a/node_modules/es-abstract/2019/InstanceofOperator.js b/node_modules/es-abstract/2019/InstanceofOperator.js deleted file mode 100644 index a3c4d2375..000000000 --- a/node_modules/es-abstract/2019/InstanceofOperator.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $hasInstance = GetIntrinsic('Symbol.hasInstance', true); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var OrdinaryHasInstance = require('./OrdinaryHasInstance'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-instanceofoperator - -module.exports = function InstanceofOperator(O, C) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var instOfHandler = $hasInstance ? GetMethod(C, $hasInstance) : void 0; - if (typeof instOfHandler !== 'undefined') { - return ToBoolean(Call(instOfHandler, C, [O])); - } - if (!IsCallable(C)) { - throw new $TypeError('`C` is not Callable'); - } - return OrdinaryHasInstance(C, O); -}; diff --git a/node_modules/es-abstract/2019/Invoke.js b/node_modules/es-abstract/2019/Invoke.js deleted file mode 100644 index d4214ee51..000000000 --- a/node_modules/es-abstract/2019/Invoke.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var IsArray = require('./IsArray'); -var GetV = require('./GetV'); -var IsPropertyKey = require('./IsPropertyKey'); - -// https://ecma-international.org/ecma-262/6.0/#sec-invoke - -module.exports = function Invoke(O, P) { - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - var func = GetV(O, P); - return Call(func, O, argumentsList); -}; diff --git a/node_modules/es-abstract/2019/IsAccessorDescriptor.js b/node_modules/es-abstract/2019/IsAccessorDescriptor.js deleted file mode 100644 index 78563e7ec..000000000 --- a/node_modules/es-abstract/2019/IsAccessorDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor - -module.exports = function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2019/IsArray.js b/node_modules/es-abstract/2019/IsArray.js deleted file mode 100644 index f933cec03..000000000 --- a/node_modules/es-abstract/2019/IsArray.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); - -// eslint-disable-next-line global-require -var toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isarray - -module.exports = $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; -}; diff --git a/node_modules/es-abstract/2019/IsCallable.js b/node_modules/es-abstract/2019/IsCallable.js deleted file mode 100644 index 3a69b1926..000000000 --- a/node_modules/es-abstract/2019/IsCallable.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.11 - -module.exports = require('is-callable'); diff --git a/node_modules/es-abstract/2019/IsConcatSpreadable.js b/node_modules/es-abstract/2019/IsConcatSpreadable.js deleted file mode 100644 index 141b33414..000000000 --- a/node_modules/es-abstract/2019/IsConcatSpreadable.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $isConcatSpreadable = GetIntrinsic('%Symbol.isConcatSpreadable%', true); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - -module.exports = function IsConcatSpreadable(O) { - if (Type(O) !== 'Object') { - return false; - } - if ($isConcatSpreadable) { - var spreadable = Get(O, $isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return ToBoolean(spreadable); - } - } - return IsArray(O); -}; diff --git a/node_modules/es-abstract/2019/IsConstructor.js b/node_modules/es-abstract/2019/IsConstructor.js deleted file mode 100644 index fe626e183..000000000 --- a/node_modules/es-abstract/2019/IsConstructor.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('../GetIntrinsic.js'); - -var $construct = GetIntrinsic('%Reflect.construct%', true); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -try { - DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} }); -} catch (e) { - // Accessor properties aren't supported - DefinePropertyOrThrow = null; -} - -// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor - -if (DefinePropertyOrThrow && $construct) { - var isConstructorMarker = {}; - var badArrayLike = {}; - DefinePropertyOrThrow(badArrayLike, 'length', { - '[[Get]]': function () { - throw isConstructorMarker; - }, - '[[Enumerable]]': true - }); - - module.exports = function IsConstructor(argument) { - try { - // `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`: - $construct(argument, badArrayLike); - } catch (err) { - return err === isConstructorMarker; - } - }; -} else { - module.exports = function IsConstructor(argument) { - // unfortunately there's no way to truly check this without try/catch `new argument` in old environments - return typeof argument === 'function' && !!argument.prototype; - }; -} diff --git a/node_modules/es-abstract/2019/IsDataDescriptor.js b/node_modules/es-abstract/2019/IsDataDescriptor.js deleted file mode 100644 index 00d14a60e..000000000 --- a/node_modules/es-abstract/2019/IsDataDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor - -module.exports = function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2019/IsExtensible.js b/node_modules/es-abstract/2019/IsExtensible.js deleted file mode 100644 index 9df5b80b1..000000000 --- a/node_modules/es-abstract/2019/IsExtensible.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var isPrimitive = require('../helpers/isPrimitive'); - -var $preventExtensions = $Object.preventExtensions; -var $isExtensible = $Object.isExtensible; - -// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o - -module.exports = $preventExtensions - ? function IsExtensible(obj) { - return !isPrimitive(obj) && $isExtensible(obj); - } - : function IsExtensible(obj) { - return !isPrimitive(obj); - }; diff --git a/node_modules/es-abstract/2019/IsGenericDescriptor.js b/node_modules/es-abstract/2019/IsGenericDescriptor.js deleted file mode 100644 index 95b1d353c..000000000 --- a/node_modules/es-abstract/2019/IsGenericDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isgenericdescriptor - -module.exports = function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) { - return true; - } - - return false; -}; diff --git a/node_modules/es-abstract/2019/IsInteger.js b/node_modules/es-abstract/2019/IsInteger.js deleted file mode 100644 index f4d1a2a7c..000000000 --- a/node_modules/es-abstract/2019/IsInteger.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isinteger - -module.exports = function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var absValue = abs(argument); - return floor(absValue) === absValue; -}; diff --git a/node_modules/es-abstract/2019/IsPromise.js b/node_modules/es-abstract/2019/IsPromise.js deleted file mode 100644 index a551ae0c8..000000000 --- a/node_modules/es-abstract/2019/IsPromise.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $PromiseThen = callBound('Promise.prototype.then', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ispromise - -module.exports = function IsPromise(x) { - if (Type(x) !== 'Object') { - return false; - } - if (!$PromiseThen) { // Promises are not supported - return false; - } - try { - $PromiseThen(x); // throws if not a promise - } catch (e) { - return false; - } - return true; -}; diff --git a/node_modules/es-abstract/2019/IsPropertyKey.js b/node_modules/es-abstract/2019/IsPropertyKey.js deleted file mode 100644 index f43ab581c..000000000 --- a/node_modules/es-abstract/2019/IsPropertyKey.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey - -module.exports = function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; -}; diff --git a/node_modules/es-abstract/2019/IsRegExp.js b/node_modules/es-abstract/2019/IsRegExp.js deleted file mode 100644 index e1054813f..000000000 --- a/node_modules/es-abstract/2019/IsRegExp.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $match = GetIntrinsic('%Symbol.match%', true); - -var hasRegExpMatcher = require('is-regex'); - -var ToBoolean = require('./ToBoolean'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isregexp - -module.exports = function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if ($match) { - var isRegExp = argument[$match]; - if (typeof isRegExp !== 'undefined') { - return ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); -}; diff --git a/node_modules/es-abstract/2019/IsStringPrefix.js b/node_modules/es-abstract/2019/IsStringPrefix.js deleted file mode 100644 index 4958544ce..000000000 --- a/node_modules/es-abstract/2019/IsStringPrefix.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPrefixOf = require('../helpers/isPrefixOf'); - -// var callBound = require('call-bind/callBound'); - -// var $charAt = callBound('String.prototype.charAt'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-isstringprefix - -module.exports = function IsStringPrefix(p, q) { - if (Type(p) !== 'String') { - throw new $TypeError('Assertion failed: "p" must be a String'); - } - - if (Type(q) !== 'String') { - throw new $TypeError('Assertion failed: "q" must be a String'); - } - - return isPrefixOf(p, q); - /* - if (p === q || p === '') { - return true; - } - - var pLength = p.length; - var qLength = q.length; - if (pLength >= qLength) { - return false; - } - - // assert: pLength < qLength - - for (var i = 0; i < pLength; i += 1) { - if ($charAt(p, i) !== $charAt(q, i)) { - return false; - } - } - return true; - */ -}; diff --git a/node_modules/es-abstract/2019/IterableToList.js b/node_modules/es-abstract/2019/IterableToList.js deleted file mode 100644 index 6a1a6be39..000000000 --- a/node_modules/es-abstract/2019/IterableToList.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var $arrayPush = callBound('Array.prototype.push'); - -var GetIterator = require('./GetIterator'); -var IteratorStep = require('./IteratorStep'); -var IteratorValue = require('./IteratorValue'); - -// https://262.ecma-international.org/8.0/#sec-iterabletolist - -module.exports = function IterableToList(items, method) { - var iterator = GetIterator(items, method); - var values = []; - var next = true; - while (next) { - next = IteratorStep(iterator); - if (next) { - var nextValue = IteratorValue(next); - $arrayPush(values, nextValue); - } - } - return values; -}; diff --git a/node_modules/es-abstract/2019/IteratorClose.js b/node_modules/es-abstract/2019/IteratorClose.js deleted file mode 100644 index dd1118df7..000000000 --- a/node_modules/es-abstract/2019/IteratorClose.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose - -module.exports = function IteratorClose(iterator, completion) { - if (Type(iterator) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterator) is not Object'); - } - if (!IsCallable(completion)) { - throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); - } - var completionThunk = completion; - - var iteratorReturn = GetMethod(iterator, 'return'); - - if (typeof iteratorReturn === 'undefined') { - return completionThunk(); - } - - var completionRecord; - try { - var innerResult = Call(iteratorReturn, iterator, []); - } catch (e) { - // if we hit here, then "e" is the innerResult completion that needs re-throwing - - // if the completion is of type "throw", this will throw. - completionThunk(); - completionThunk = null; // ensure it's not called twice. - - // if not, then return the innerResult completion - throw e; - } - completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does - completionThunk = null; // ensure it's not called twice. - - if (Type(innerResult) !== 'Object') { - throw new $TypeError('iterator .return must return an object'); - } - - return completionRecord; -}; diff --git a/node_modules/es-abstract/2019/IteratorComplete.js b/node_modules/es-abstract/2019/IteratorComplete.js deleted file mode 100644 index ed4efa37d..000000000 --- a/node_modules/es-abstract/2019/IteratorComplete.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete - -module.exports = function IteratorComplete(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return ToBoolean(Get(iterResult, 'done')); -}; diff --git a/node_modules/es-abstract/2019/IteratorNext.js b/node_modules/es-abstract/2019/IteratorNext.js deleted file mode 100644 index cf80655b9..000000000 --- a/node_modules/es-abstract/2019/IteratorNext.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Invoke = require('./Invoke'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratornext - -module.exports = function IteratorNext(iterator, value) { - var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); - if (Type(result) !== 'Object') { - throw new $TypeError('iterator next must return an object'); - } - return result; -}; diff --git a/node_modules/es-abstract/2019/IteratorStep.js b/node_modules/es-abstract/2019/IteratorStep.js deleted file mode 100644 index 41b9d1b25..000000000 --- a/node_modules/es-abstract/2019/IteratorStep.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var IteratorComplete = require('./IteratorComplete'); -var IteratorNext = require('./IteratorNext'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep - -module.exports = function IteratorStep(iterator) { - var result = IteratorNext(iterator); - var done = IteratorComplete(result); - return done === true ? false : result; -}; - diff --git a/node_modules/es-abstract/2019/IteratorValue.js b/node_modules/es-abstract/2019/IteratorValue.js deleted file mode 100644 index d15d8aebb..000000000 --- a/node_modules/es-abstract/2019/IteratorValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue - -module.exports = function IteratorValue(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return Get(iterResult, 'value'); -}; - diff --git a/node_modules/es-abstract/2019/MakeDate.js b/node_modules/es-abstract/2019/MakeDate.js deleted file mode 100644 index efeb6452e..000000000 --- a/node_modules/es-abstract/2019/MakeDate.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.13 - -module.exports = function MakeDate(day, time) { - if (!$isFinite(day) || !$isFinite(time)) { - return NaN; - } - return (day * msPerDay) + time; -}; diff --git a/node_modules/es-abstract/2019/MakeDay.js b/node_modules/es-abstract/2019/MakeDay.js deleted file mode 100644 index 13f568633..000000000 --- a/node_modules/es-abstract/2019/MakeDay.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $DateUTC = GetIntrinsic('%Date.UTC%'); - -var $isFinite = require('../helpers/isFinite'); - -var DateFromTime = require('./DateFromTime'); -var Day = require('./Day'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var MonthFromTime = require('./MonthFromTime'); -var ToInteger = require('./ToInteger'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.12 - -module.exports = function MakeDay(year, month, date) { - if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { - return NaN; - } - var y = ToInteger(year); - var m = ToInteger(month); - var dt = ToInteger(date); - var ym = y + floor(m / 12); - var mn = modulo(m, 12); - var t = $DateUTC(ym, mn, 1); - if (YearFromTime(t) !== ym || MonthFromTime(t) !== mn || DateFromTime(t) !== 1) { - return NaN; - } - return Day(t) + dt - 1; -}; diff --git a/node_modules/es-abstract/2019/MakeTime.js b/node_modules/es-abstract/2019/MakeTime.js deleted file mode 100644 index 34cb4dcca..000000000 --- a/node_modules/es-abstract/2019/MakeTime.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var msPerMinute = timeConstants.msPerMinute; -var msPerHour = timeConstants.msPerHour; - -var ToInteger = require('./ToInteger'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.11 - -module.exports = function MakeTime(hour, min, sec, ms) { - if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { - return NaN; - } - var h = ToInteger(hour); - var m = ToInteger(min); - var s = ToInteger(sec); - var milli = ToInteger(ms); - var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; - return t; -}; diff --git a/node_modules/es-abstract/2019/MinFromTime.js b/node_modules/es-abstract/2019/MinFromTime.js deleted file mode 100644 index a0c631d4c..000000000 --- a/node_modules/es-abstract/2019/MinFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerMinute = timeConstants.msPerMinute; -var MinutesPerHour = timeConstants.MinutesPerHour; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function MinFromTime(t) { - return modulo(floor(t / msPerMinute), MinutesPerHour); -}; diff --git a/node_modules/es-abstract/2019/MonthFromTime.js b/node_modules/es-abstract/2019/MonthFromTime.js deleted file mode 100644 index a482a7df9..000000000 --- a/node_modules/es-abstract/2019/MonthFromTime.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function MonthFromTime(t) { - var day = DayWithinYear(t); - if (0 <= day && day < 31) { - return 0; - } - var leap = InLeapYear(t); - if (31 <= day && day < (59 + leap)) { - return 1; - } - if ((59 + leap) <= day && day < (90 + leap)) { - return 2; - } - if ((90 + leap) <= day && day < (120 + leap)) { - return 3; - } - if ((120 + leap) <= day && day < (151 + leap)) { - return 4; - } - if ((151 + leap) <= day && day < (181 + leap)) { - return 5; - } - if ((181 + leap) <= day && day < (212 + leap)) { - return 6; - } - if ((212 + leap) <= day && day < (243 + leap)) { - return 7; - } - if ((243 + leap) <= day && day < (273 + leap)) { - return 8; - } - if ((273 + leap) <= day && day < (304 + leap)) { - return 9; - } - if ((304 + leap) <= day && day < (334 + leap)) { - return 10; - } - if ((334 + leap) <= day && day < (365 + leap)) { - return 11; - } -}; diff --git a/node_modules/es-abstract/2019/NumberToString.js b/node_modules/es-abstract/2019/NumberToString.js deleted file mode 100644 index b00c4bd59..000000000 --- a/node_modules/es-abstract/2019/NumberToString.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-tostring-applied-to-the-number-type - -module.exports = function NumberToString(m) { - if (Type(m) !== 'Number') { - throw new $TypeError('Assertion failed: "m" must be a String'); - } - - return $String(m); -}; - diff --git a/node_modules/es-abstract/2019/ObjectCreate.js b/node_modules/es-abstract/2019/ObjectCreate.js deleted file mode 100644 index 2851a646d..000000000 --- a/node_modules/es-abstract/2019/ObjectCreate.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ObjectCreate = GetIntrinsic('%Object.create%', true); -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); - -var Type = require('./Type'); - -var hasProto = !({ __proto__: null } instanceof Object); - -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate - -module.exports = function ObjectCreate(proto, internalSlotsList) { - if (proto !== null && Type(proto) !== 'Object') { - throw new $TypeError('Assertion failed: `proto` must be null or an object'); - } - var slots = arguments.length < 2 ? [] : internalSlotsList; - if (slots.length > 0) { - throw new $SyntaxError('es-abstract does not yet support internal slots'); - } - - if ($ObjectCreate) { - return $ObjectCreate(proto); - } - if (hasProto) { - return { __proto__: proto }; - } - - if (proto === null) { - throw new $SyntaxError('native Object.create support is required to create null objects'); - } - var T = function T() {}; - T.prototype = proto; - return new T(); -}; diff --git a/node_modules/es-abstract/2019/OrdinaryCreateFromConstructor.js b/node_modules/es-abstract/2019/OrdinaryCreateFromConstructor.js deleted file mode 100644 index e2a299eaa..000000000 --- a/node_modules/es-abstract/2019/OrdinaryCreateFromConstructor.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); -var IsArray = require('./IsArray'); -var ObjectCreate = require('./ObjectCreate'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor - -module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { - GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - var proto = GetPrototypeFromConstructor(constructor, intrinsicDefaultProto); - var slots = arguments.length < 3 ? [] : arguments[2]; - if (!IsArray(slots)) { - throw new $TypeError('Assertion failed: if provided, `internalSlotsList` must be a List'); - } - return ObjectCreate(proto, slots); -}; diff --git a/node_modules/es-abstract/2019/OrdinaryDefineOwnProperty.js b/node_modules/es-abstract/2019/OrdinaryDefineOwnProperty.js deleted file mode 100644 index 5d33aa6d6..000000000 --- a/node_modules/es-abstract/2019/OrdinaryDefineOwnProperty.js +++ /dev/null @@ -1,61 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); -var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty - -module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!$gOPD) { - // ES3/IE 8 fallback - if (IsAccessorDescriptor(Desc)) { - throw new $SyntaxError('This environment does not support accessor property descriptors.'); - } - var creatingNormalDataProperty = !(P in O) - && Desc['[[Writable]]'] - && Desc['[[Enumerable]]'] - && Desc['[[Configurable]]'] - && '[[Value]]' in Desc; - var settingExistingDataProperty = (P in O) - && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) - && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) - && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) - && '[[Value]]' in Desc; - if (creatingNormalDataProperty || settingExistingDataProperty) { - O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign - return SameValue(O[P], Desc['[[Value]]']); - } - throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties'); - } - var desc = $gOPD(O, P); - var current = desc && ToPropertyDescriptor(desc); - var extensible = IsExtensible(O); - return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current); -}; diff --git a/node_modules/es-abstract/2019/OrdinaryGetOwnProperty.js b/node_modules/es-abstract/2019/OrdinaryGetOwnProperty.js deleted file mode 100644 index 3d11e9fad..000000000 --- a/node_modules/es-abstract/2019/OrdinaryGetOwnProperty.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var has = require('has'); - -var IsArray = require('./IsArray'); -var IsPropertyKey = require('./IsPropertyKey'); -var IsRegExp = require('./IsRegExp'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty - -module.exports = function OrdinaryGetOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!has(O, P)) { - return void 0; - } - if (!$gOPD) { - // ES3 / IE 8 fallback - var arrayLength = IsArray(O) && P === 'length'; - var regexLastIndex = IsRegExp(O) && P === 'lastIndex'; - return { - '[[Configurable]]': !(arrayLength || regexLastIndex), - '[[Enumerable]]': $isEnumerable(O, P), - '[[Value]]': O[P], - '[[Writable]]': true - }; - } - return ToPropertyDescriptor($gOPD(O, P)); -}; diff --git a/node_modules/es-abstract/2019/OrdinaryGetPrototypeOf.js b/node_modules/es-abstract/2019/OrdinaryGetPrototypeOf.js deleted file mode 100644 index ba17b9887..000000000 --- a/node_modules/es-abstract/2019/OrdinaryGetPrototypeOf.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $getProto = require('../helpers/getProto'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof - -module.exports = function OrdinaryGetPrototypeOf(O) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!$getProto) { - throw new $TypeError('This environment does not support fetching prototypes.'); - } - return $getProto(O); -}; diff --git a/node_modules/es-abstract/2019/OrdinaryHasInstance.js b/node_modules/es-abstract/2019/OrdinaryHasInstance.js deleted file mode 100644 index 85a240ca2..000000000 --- a/node_modules/es-abstract/2019/OrdinaryHasInstance.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance - -module.exports = function OrdinaryHasInstance(C, O) { - if (IsCallable(C) === false) { - return false; - } - if (Type(O) !== 'Object') { - return false; - } - var P = Get(C, 'prototype'); - if (Type(P) !== 'Object') { - throw new $TypeError('OrdinaryHasInstance called on an object with an invalid prototype property.'); - } - return O instanceof C; -}; diff --git a/node_modules/es-abstract/2019/OrdinaryHasProperty.js b/node_modules/es-abstract/2019/OrdinaryHasProperty.js deleted file mode 100644 index dd09ca3b1..000000000 --- a/node_modules/es-abstract/2019/OrdinaryHasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasproperty - -module.exports = function OrdinaryHasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2019/OrdinarySetPrototypeOf.js b/node_modules/es-abstract/2019/OrdinarySetPrototypeOf.js deleted file mode 100644 index d0ff7a7c2..000000000 --- a/node_modules/es-abstract/2019/OrdinarySetPrototypeOf.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $setProto = require('../helpers/setProto'); - -var OrdinaryGetPrototypeOf = require('./OrdinaryGetPrototypeOf'); -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof - -module.exports = function OrdinarySetPrototypeOf(O, V) { - if (Type(V) !== 'Object' && Type(V) !== 'Null') { - throw new $TypeError('Assertion failed: V must be Object or Null'); - } - /* - var extensible = IsExtensible(O); - var current = OrdinaryGetPrototypeOf(O); - if (SameValue(V, current)) { - return true; - } - if (!extensible) { - return false; - } - */ - try { - $setProto(O, V); - } catch (e) { - return false; - } - return OrdinaryGetPrototypeOf(O) === V; - /* - var p = V; - var done = false; - while (!done) { - if (p === null) { - done = true; - } else if (SameValue(p, O)) { - return false; - } else { - if (wat) { - done = true; - } else { - p = p.[[Prototype]]; - } - } - } - O.[[Prototype]] = V; - return true; - */ -}; diff --git a/node_modules/es-abstract/2019/PromiseResolve.js b/node_modules/es-abstract/2019/PromiseResolve.js deleted file mode 100644 index 6474b79c4..000000000 --- a/node_modules/es-abstract/2019/PromiseResolve.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBind = require('call-bind'); - -var $resolve = GetIntrinsic('%Promise.resolve%', true); -var $PromiseResolve = $resolve && callBind($resolve); - -// https://262.ecma-international.org/9.0/#sec-promise-resolve - -module.exports = function PromiseResolve(C, x) { - if (!$PromiseResolve) { - throw new SyntaxError('This environment does not support Promises.'); - } - return $PromiseResolve(C, x); -}; - diff --git a/node_modules/es-abstract/2019/QuoteJSONString.js b/node_modules/es-abstract/2019/QuoteJSONString.js deleted file mode 100644 index 350fd51cf..000000000 --- a/node_modules/es-abstract/2019/QuoteJSONString.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); -var $strSplit = callBound('String.prototype.split'); - -var Type = require('./Type'); -var UnicodeEscape = require('./UnicodeEscape'); -var UTF16Encoding = require('./UTF16Encoding'); - -var has = require('has'); - -// https://262.ecma-international.org/10.0/#sec-quotejsonstring - -var escapes = { - '\u0008': '\\b', - '\u0009': '\\t', - '\u000A': '\\n', - '\u000C': '\\f', - '\u000D': '\\r', - '\u0022': '\\"', - '\u005c': '\\\\' -}; - -module.exports = function QuoteJSONString(value) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `value` must be a String'); - } - var product = '"'; - if (value) { - forEach($strSplit(value), function (C) { - if (has(escapes, C)) { - product += escapes[C]; - } else { - var cCharCode = $charCodeAt(C, 0); - if (cCharCode < 0x20 || isLeadingSurrogate(C) || isTrailingSurrogate(C)) { - product += UnicodeEscape(C); - } else { - product += UTF16Encoding(cCharCode); - } - } - }); - } - product += '"'; - return product; -}; diff --git a/node_modules/es-abstract/2019/RegExpCreate.js b/node_modules/es-abstract/2019/RegExpCreate.js deleted file mode 100644 index 68e31605e..000000000 --- a/node_modules/es-abstract/2019/RegExpCreate.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RegExp = GetIntrinsic('%RegExp%'); - -// var RegExpAlloc = require('./RegExpAlloc'); -// var RegExpInitialize = require('./RegExpInitialize'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/6.0/#sec-regexpcreate - -module.exports = function RegExpCreate(P, F) { - // var obj = RegExpAlloc($RegExp); - // return RegExpInitialize(obj, P, F); - - // covers spec mechanics; bypass regex brand checking - var pattern = typeof P === 'undefined' ? '' : ToString(P); - var flags = typeof F === 'undefined' ? '' : ToString(F); - return new $RegExp(pattern, flags); -}; diff --git a/node_modules/es-abstract/2019/RegExpExec.js b/node_modules/es-abstract/2019/RegExpExec.js deleted file mode 100644 index 29fee1720..000000000 --- a/node_modules/es-abstract/2019/RegExpExec.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var regexExec = require('call-bind/callBound')('RegExp.prototype.exec'); - -var Call = require('./Call'); -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec - -module.exports = function RegExpExec(R, S) { - if (Type(R) !== 'Object') { - throw new $TypeError('Assertion failed: `R` must be an Object'); - } - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - var exec = Get(R, 'exec'); - if (IsCallable(exec)) { - var result = Call(exec, R, [S]); - if (result === null || Type(result) === 'Object') { - return result; - } - throw new $TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); -}; diff --git a/node_modules/es-abstract/2019/RequireObjectCoercible.js b/node_modules/es-abstract/2019/RequireObjectCoercible.js deleted file mode 100644 index 9008359db..000000000 --- a/node_modules/es-abstract/2019/RequireObjectCoercible.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../5/CheckObjectCoercible'); diff --git a/node_modules/es-abstract/2019/SameValue.js b/node_modules/es-abstract/2019/SameValue.js deleted file mode 100644 index b73939b20..000000000 --- a/node_modules/es-abstract/2019/SameValue.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// http://262.ecma-international.org/5.1/#sec-9.12 - -module.exports = function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); -}; diff --git a/node_modules/es-abstract/2019/SameValueNonNumber.js b/node_modules/es-abstract/2019/SameValueNonNumber.js deleted file mode 100644 index b6d2c4e64..000000000 --- a/node_modules/es-abstract/2019/SameValueNonNumber.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); - -// https://262.ecma-international.org/7.0/#sec-samevaluenonnumber - -module.exports = function SameValueNonNumber(x, y) { - if (typeof x === 'number' || typeof x !== typeof y) { - throw new $TypeError('SameValueNonNumber requires two non-number values of the same type.'); - } - return SameValue(x, y); -}; diff --git a/node_modules/es-abstract/2019/SameValueZero.js b/node_modules/es-abstract/2019/SameValueZero.js deleted file mode 100644 index bf1a1486a..000000000 --- a/node_modules/es-abstract/2019/SameValueZero.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero - -module.exports = function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); -}; diff --git a/node_modules/es-abstract/2019/SecFromTime.js b/node_modules/es-abstract/2019/SecFromTime.js deleted file mode 100644 index fc2e44560..000000000 --- a/node_modules/es-abstract/2019/SecFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var SecondsPerMinute = timeConstants.SecondsPerMinute; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function SecFromTime(t) { - return modulo(floor(t / msPerSecond), SecondsPerMinute); -}; diff --git a/node_modules/es-abstract/2019/Set.js b/node_modules/es-abstract/2019/Set.js deleted file mode 100644 index ea49e813f..000000000 --- a/node_modules/es-abstract/2019/Set.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// IE 9 does not throw in strict mode when writability/configurability/extensibility is violated -var noThrowOnStrictViolation = (function () { - try { - delete [].length; - return true; - } catch (e) { - return false; - } -}()); - -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - -module.exports = function Set(O, P, V, Throw) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - if (Type(Throw) !== 'Boolean') { - throw new $TypeError('Assertion failed: `Throw` must be a Boolean'); - } - if (Throw) { - O[P] = V; // eslint-disable-line no-param-reassign - if (noThrowOnStrictViolation && !SameValue(O[P], V)) { - throw new $TypeError('Attempted to assign to readonly property.'); - } - return true; - } else { - try { - O[P] = V; // eslint-disable-line no-param-reassign - return noThrowOnStrictViolation ? SameValue(O[P], V) : true; - } catch (e) { - return false; - } - } -}; diff --git a/node_modules/es-abstract/2019/SetFunctionLength.js b/node_modules/es-abstract/2019/SetFunctionLength.js deleted file mode 100644 index c1160c8c0..000000000 --- a/node_modules/es-abstract/2019/SetFunctionLength.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var HasOwnProperty = require('./HasOwnProperty'); -var IsExtensible = require('./IsExtensible'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-setfunctionlength - -module.exports = function SetFunctionLength(F, length) { - if (typeof F !== 'function' || !IsExtensible(F) || HasOwnProperty(F, 'length')) { - throw new $TypeError('Assertion failed: `F` must be an extensible function and lack an own `length` property'); - } - if (Type(length) !== 'Number') { - throw new $TypeError('Assertion failed: `length` must be a Number'); - } - if (length < 0 || !IsInteger(length)) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0'); - } - return DefinePropertyOrThrow(F, 'length', { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); -}; diff --git a/node_modules/es-abstract/2019/SetFunctionName.js b/node_modules/es-abstract/2019/SetFunctionName.js deleted file mode 100644 index f59cb7b9e..000000000 --- a/node_modules/es-abstract/2019/SetFunctionName.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var has = require('has'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getSymbolDescription = require('../helpers/getSymbolDescription'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsExtensible = require('./IsExtensible'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname - -module.exports = function SetFunctionName(F, name) { - if (typeof F !== 'function') { - throw new $TypeError('Assertion failed: `F` must be a function'); - } - if (!IsExtensible(F) || has(F, 'name')) { - throw new $TypeError('Assertion failed: `F` must be extensible, and must not have a `name` own property'); - } - var nameType = Type(name); - if (nameType !== 'Symbol' && nameType !== 'String') { - throw new $TypeError('Assertion failed: `name` must be a Symbol or a String'); - } - if (nameType === 'Symbol') { - var description = getSymbolDescription(name); - // eslint-disable-next-line no-param-reassign - name = typeof description === 'undefined' ? '' : '[' + description + ']'; - } - if (arguments.length > 2) { - var prefix = arguments[2]; - // eslint-disable-next-line no-param-reassign - name = prefix + ' ' + name; - } - return DefinePropertyOrThrow(F, 'name', { - '[[Value]]': name, - '[[Writable]]': false, - '[[Enumerable]]': false, - '[[Configurable]]': true - }); -}; diff --git a/node_modules/es-abstract/2019/SetIntegrityLevel.js b/node_modules/es-abstract/2019/SetIntegrityLevel.js deleted file mode 100644 index 1ac7d61e2..000000000 --- a/node_modules/es-abstract/2019/SetIntegrityLevel.js +++ /dev/null @@ -1,57 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); -var $preventExtensions = GetIntrinsic('%Object.preventExtensions%'); -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); - -var forEach = require('../helpers/forEach'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel - -module.exports = function SetIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - if (!$preventExtensions) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.preventExtensions` support'); - } - var status = $preventExtensions(O); - if (!status) { - return false; - } - if (!$gOPN) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.getOwnPropertyNames` support'); - } - var theKeys = $gOPN(O); - if (level === 'sealed') { - forEach(theKeys, function (k) { - DefinePropertyOrThrow(O, k, { configurable: false }); - }); - } else if (level === 'frozen') { - forEach(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - var desc; - if (IsAccessorDescriptor(ToPropertyDescriptor(currentDesc))) { - desc = { configurable: false }; - } else { - desc = { configurable: false, writable: false }; - } - DefinePropertyOrThrow(O, k, desc); - } - }); - } - return true; -}; diff --git a/node_modules/es-abstract/2019/SpeciesConstructor.js b/node_modules/es-abstract/2019/SpeciesConstructor.js deleted file mode 100644 index 491eb9b87..000000000 --- a/node_modules/es-abstract/2019/SpeciesConstructor.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - -module.exports = function SpeciesConstructor(O, defaultConstructor) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (Type(C) !== 'Object') { - throw new $TypeError('O.constructor is not an Object'); - } - var S = $species ? C[$species] : void 0; - if (S == null) { - return defaultConstructor; - } - if (IsConstructor(S)) { - return S; - } - throw new $TypeError('no constructor found'); -}; diff --git a/node_modules/es-abstract/2019/SplitMatch.js b/node_modules/es-abstract/2019/SplitMatch.js deleted file mode 100644 index 8ab05355e..000000000 --- a/node_modules/es-abstract/2019/SplitMatch.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var $charAt = callBound('String.prototype.charAt'); - -// https://262.ecma-international.org/6.0/#sec-splitmatch - -module.exports = function SplitMatch(S, q, R) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(q)) { - throw new $TypeError('Assertion failed: `q` must be an integer'); - } - if (Type(R) !== 'String') { - throw new $TypeError('Assertion failed: `R` must be a String'); - } - var r = R.length; - var s = S.length; - if (q + r > s) { - return false; - } - - for (var i = 0; i < r; i += 1) { - if ($charAt(S, q + i) !== $charAt(R, i)) { - return false; - } - } - - return q + r; -}; diff --git a/node_modules/es-abstract/2019/StrictEqualityComparison.js b/node_modules/es-abstract/2019/StrictEqualityComparison.js deleted file mode 100644 index f3435ba9d..000000000 --- a/node_modules/es-abstract/2019/StrictEqualityComparison.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.9.6 - -module.exports = function StrictEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType !== yType) { - return false; - } - if (xType === 'Undefined' || xType === 'Null') { - return true; - } - return x === y; // shortcut for steps 4-7 -}; diff --git a/node_modules/es-abstract/2019/StringCreate.js b/node_modules/es-abstract/2019/StringCreate.js deleted file mode 100644 index da0c0ea06..000000000 --- a/node_modules/es-abstract/2019/StringCreate.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); -var $StringPrototype = GetIntrinsic('%String.prototype%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var Type = require('./Type'); - -var setProto = require('../helpers/setProto'); - -// https://262.ecma-international.org/6.0/#sec-stringcreate - -module.exports = function StringCreate(value, prototype) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - - var S = $Object(value); - if (S !== $StringPrototype) { - if (setProto) { - setProto(S, prototype); - } else { - throw new $SyntaxError('StringCreate: a `proto` argument that is not `String.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - } - - var length = value.length; - DefinePropertyOrThrow(S, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); - - return S; -}; diff --git a/node_modules/es-abstract/2019/StringGetOwnProperty.js b/node_modules/es-abstract/2019/StringGetOwnProperty.js deleted file mode 100644 index b6f904ec3..000000000 --- a/node_modules/es-abstract/2019/StringGetOwnProperty.js +++ /dev/null @@ -1,48 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var $charAt = callBound('String.prototype.charAt'); -var $stringToString = callBound('String.prototype.toString'); - -var CanonicalNumericIndexString = require('./CanonicalNumericIndexString'); -var IsInteger = require('./IsInteger'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -var isNegativeZero = require('is-negative-zero'); - -// https://262.ecma-international.org/8.0/#sec-stringgetownproperty - -module.exports = function StringGetOwnProperty(S, P) { - var str; - if (Type(S) === 'Object') { - try { - str = $stringToString(S); - } catch (e) { /**/ } - } - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a boxed string object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - if (Type(P) !== 'String') { - return void undefined; - } - var index = CanonicalNumericIndexString(P); - var len = str.length; - if (typeof index === 'undefined' || !IsInteger(index) || isNegativeZero(index) || index < 0 || len <= index) { - return void undefined; - } - var resultStr = $charAt(S, index); - return { - '[[Configurable]]': false, - '[[Enumerable]]': true, - '[[Value]]': resultStr, - '[[Writable]]': false - }; -}; diff --git a/node_modules/es-abstract/2019/SymbolDescriptiveString.js b/node_modules/es-abstract/2019/SymbolDescriptiveString.js deleted file mode 100644 index 1efd1316b..000000000 --- a/node_modules/es-abstract/2019/SymbolDescriptiveString.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $SymbolToString = callBound('Symbol.prototype.toString', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring - -module.exports = function SymbolDescriptiveString(sym) { - if (Type(sym) !== 'Symbol') { - throw new $TypeError('Assertion failed: `sym` must be a Symbol'); - } - return $SymbolToString(sym); -}; diff --git a/node_modules/es-abstract/2019/TestIntegrityLevel.js b/node_modules/es-abstract/2019/TestIntegrityLevel.js deleted file mode 100644 index cf1649c1b..000000000 --- a/node_modules/es-abstract/2019/TestIntegrityLevel.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var every = require('../helpers/every'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel - -module.exports = function TestIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - var status = IsExtensible(O); - if (status) { - return false; - } - var theKeys = $gOPN(O); - return theKeys.length === 0 || every(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - if (currentDesc.configurable) { - return false; - } - if (level === 'frozen' && IsDataDescriptor(ToPropertyDescriptor(currentDesc)) && currentDesc.writable) { - return false; - } - } - return true; - }); -}; diff --git a/node_modules/es-abstract/2019/TimeClip.js b/node_modules/es-abstract/2019/TimeClip.js deleted file mode 100644 index e416cab4b..000000000 --- a/node_modules/es-abstract/2019/TimeClip.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); -var $Number = GetIntrinsic('%Number%'); - -var $isFinite = require('../helpers/isFinite'); - -var abs = require('./abs'); -var ToNumber = require('./ToNumber'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.14 - -module.exports = function TimeClip(time) { - if (!$isFinite(time) || abs(time) > 8.64e15) { - return NaN; - } - return $Number(new $Date(ToNumber(time))); -}; - diff --git a/node_modules/es-abstract/2019/TimeFromYear.js b/node_modules/es-abstract/2019/TimeFromYear.js deleted file mode 100644 index f3518a41a..000000000 --- a/node_modules/es-abstract/2019/TimeFromYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -var DayFromYear = require('./DayFromYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function TimeFromYear(y) { - return msPerDay * DayFromYear(y); -}; diff --git a/node_modules/es-abstract/2019/TimeString.js b/node_modules/es-abstract/2019/TimeString.js deleted file mode 100644 index 051c4728e..000000000 --- a/node_modules/es-abstract/2019/TimeString.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var padTimeComponent = require('../helpers/padTimeComponent'); - -var HourFromTime = require('./HourFromTime'); -var MinFromTime = require('./MinFromTime'); -var SecFromTime = require('./SecFromTime'); -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-timestring - -module.exports = function TimeString(tv) { - if (Type(tv) !== 'Number' || $isNaN(tv)) { - throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number'); - } - var hour = HourFromTime(tv); - var minute = MinFromTime(tv); - var second = SecFromTime(tv); - return padTimeComponent(hour) + ':' + padTimeComponent(minute) + ':' + padTimeComponent(second) + '\x20GMT'; -}; diff --git a/node_modules/es-abstract/2019/TimeWithinDay.js b/node_modules/es-abstract/2019/TimeWithinDay.js deleted file mode 100644 index 2bba83386..000000000 --- a/node_modules/es-abstract/2019/TimeWithinDay.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function TimeWithinDay(t) { - return modulo(t, msPerDay); -}; - diff --git a/node_modules/es-abstract/2019/ToBoolean.js b/node_modules/es-abstract/2019/ToBoolean.js deleted file mode 100644 index 466404bf9..000000000 --- a/node_modules/es-abstract/2019/ToBoolean.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.2 - -module.exports = function ToBoolean(value) { return !!value; }; diff --git a/node_modules/es-abstract/2019/ToDateString.js b/node_modules/es-abstract/2019/ToDateString.js deleted file mode 100644 index e636a9ba6..000000000 --- a/node_modules/es-abstract/2019/ToDateString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Date = GetIntrinsic('%Date%'); - -var $isNaN = require('../helpers/isNaN'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring - -module.exports = function ToDateString(tv) { - if (Type(tv) !== 'Number') { - throw new $TypeError('Assertion failed: `tv` must be a Number'); - } - if ($isNaN(tv)) { - return 'Invalid Date'; - } - return $Date(tv); -}; diff --git a/node_modules/es-abstract/2019/ToIndex.js b/node_modules/es-abstract/2019/ToIndex.js deleted file mode 100644 index 7c9d746d5..000000000 --- a/node_modules/es-abstract/2019/ToIndex.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); - -var ToInteger = require('./ToInteger'); -var ToLength = require('./ToLength'); -var SameValueZero = require('./SameValueZero'); - -// https://262.ecma-international.org/8.0/#sec-toindex - -module.exports = function ToIndex(value) { - if (typeof value === 'undefined') { - return 0; - } - var integerIndex = ToInteger(value); - if (integerIndex < 0) { - throw new $RangeError('index must be >= 0'); - } - var index = ToLength(integerIndex); - if (!SameValueZero(integerIndex, index)) { - throw new $RangeError('index must be >= 0 and < 2 ** 53 - 1'); - } - return index; -}; diff --git a/node_modules/es-abstract/2019/ToInt16.js b/node_modules/es-abstract/2019/ToInt16.js deleted file mode 100644 index cb8e7934b..000000000 --- a/node_modules/es-abstract/2019/ToInt16.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint16 = require('./ToUint16'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 - -module.exports = function ToInt16(argument) { - var int16bit = ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; -}; diff --git a/node_modules/es-abstract/2019/ToInt32.js b/node_modules/es-abstract/2019/ToInt32.js deleted file mode 100644 index b879ccc47..000000000 --- a/node_modules/es-abstract/2019/ToInt32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.5 - -module.exports = function ToInt32(x) { - return ToNumber(x) >> 0; -}; diff --git a/node_modules/es-abstract/2019/ToInt8.js b/node_modules/es-abstract/2019/ToInt8.js deleted file mode 100644 index bc452d826..000000000 --- a/node_modules/es-abstract/2019/ToInt8.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint8 = require('./ToUint8'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 - -module.exports = function ToInt8(argument) { - var int8bit = ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; -}; diff --git a/node_modules/es-abstract/2019/ToInteger.js b/node_modules/es-abstract/2019/ToInteger.js deleted file mode 100644 index 297581809..000000000 --- a/node_modules/es-abstract/2019/ToInteger.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5ToInteger = require('../5/ToInteger'); - -var ToNumber = require('./ToNumber'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger - -module.exports = function ToInteger(value) { - var number = ToNumber(value); - return ES5ToInteger(number); -}; diff --git a/node_modules/es-abstract/2019/ToLength.js b/node_modules/es-abstract/2019/ToLength.js deleted file mode 100644 index 1bef9bed7..000000000 --- a/node_modules/es-abstract/2019/ToLength.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var ToInteger = require('./ToInteger'); - -module.exports = function ToLength(argument) { - var len = ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; -}; diff --git a/node_modules/es-abstract/2019/ToNumber.js b/node_modules/es-abstract/2019/ToNumber.js deleted file mode 100644 index e776bb2b7..000000000 --- a/node_modules/es-abstract/2019/ToNumber.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Number = GetIntrinsic('%Number%'); -var $RegExp = GetIntrinsic('%RegExp%'); -var $parseInteger = GetIntrinsic('%parseInt%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var isPrimitive = require('../helpers/isPrimitive'); - -var $strSlice = callBound('String.prototype.slice'); -var isBinary = regexTester(/^0b[01]+$/i); -var isOctal = regexTester(/^0o[0-7]+$/i); -var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = regexTester(nonWSregex); - -// whitespace from: https://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var $replace = callBound('String.prototype.replace'); -var $trim = function (value) { - return $replace(value, trimRegex, ''); -}; - -var ToPrimitive = require('./ToPrimitive'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber - -module.exports = function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = $trim(value); - if (trimmed !== value) { - return ToNumber(trimmed); - } - } - } - return $Number(value); -}; diff --git a/node_modules/es-abstract/2019/ToObject.js b/node_modules/es-abstract/2019/ToObject.js deleted file mode 100644 index cb26bac06..000000000 --- a/node_modules/es-abstract/2019/ToObject.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toobject - -module.exports = function ToObject(value) { - RequireObjectCoercible(value); - return $Object(value); -}; diff --git a/node_modules/es-abstract/2019/ToPrimitive.js b/node_modules/es-abstract/2019/ToPrimitive.js deleted file mode 100644 index 0fbe9b807..000000000 --- a/node_modules/es-abstract/2019/ToPrimitive.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var toPrimitive = require('es-to-primitive/es2015'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive - -module.exports = function ToPrimitive(input) { - if (arguments.length > 1) { - return toPrimitive(input, arguments[1]); - } - return toPrimitive(input); -}; diff --git a/node_modules/es-abstract/2019/ToPropertyDescriptor.js b/node_modules/es-abstract/2019/ToPropertyDescriptor.js deleted file mode 100644 index 53db87450..000000000 --- a/node_modules/es-abstract/2019/ToPropertyDescriptor.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var has = require('has'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); -var ToBoolean = require('./ToBoolean'); -var IsCallable = require('./IsCallable'); - -// https://262.ecma-international.org/5.1/#sec-8.10.5 - -module.exports = function ToPropertyDescriptor(Obj) { - if (Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !IsCallable(getter)) { - throw new $TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; -}; diff --git a/node_modules/es-abstract/2019/ToPropertyKey.js b/node_modules/es-abstract/2019/ToPropertyKey.js deleted file mode 100644 index fc1bf7d86..000000000 --- a/node_modules/es-abstract/2019/ToPropertyKey.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); - -var ToPrimitive = require('./ToPrimitive'); -var ToString = require('./ToString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey - -module.exports = function ToPropertyKey(argument) { - var key = ToPrimitive(argument, $String); - return typeof key === 'symbol' ? key : ToString(key); -}; diff --git a/node_modules/es-abstract/2019/ToString.js b/node_modules/es-abstract/2019/ToString.js deleted file mode 100644 index 4d494e1e2..000000000 --- a/node_modules/es-abstract/2019/ToString.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tostring - -module.exports = function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); -}; diff --git a/node_modules/es-abstract/2019/ToUint16.js b/node_modules/es-abstract/2019/ToUint16.js deleted file mode 100644 index 633ca8464..000000000 --- a/node_modules/es-abstract/2019/ToUint16.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -// http://262.ecma-international.org/5.1/#sec-9.7 - -module.exports = function ToUint16(value) { - var number = ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x10000); -}; diff --git a/node_modules/es-abstract/2019/ToUint32.js b/node_modules/es-abstract/2019/ToUint32.js deleted file mode 100644 index 2a8e9dd6a..000000000 --- a/node_modules/es-abstract/2019/ToUint32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.6 - -module.exports = function ToUint32(x) { - return ToNumber(x) >>> 0; -}; diff --git a/node_modules/es-abstract/2019/ToUint8.js b/node_modules/es-abstract/2019/ToUint8.js deleted file mode 100644 index 2dfd97cb3..000000000 --- a/node_modules/es-abstract/2019/ToUint8.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 - -module.exports = function ToUint8(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x100); -}; diff --git a/node_modules/es-abstract/2019/ToUint8Clamp.js b/node_modules/es-abstract/2019/ToUint8Clamp.js deleted file mode 100644 index b0b8ce8ed..000000000 --- a/node_modules/es-abstract/2019/ToUint8Clamp.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp - -module.exports = function ToUint8Clamp(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; -}; diff --git a/node_modules/es-abstract/2019/TrimString.js b/node_modules/es-abstract/2019/TrimString.js deleted file mode 100644 index 113dcf82b..000000000 --- a/node_modules/es-abstract/2019/TrimString.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var trimStart = require('string.prototype.trimstart'); -var trimEnd = require('string.prototype.trimend'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/10.0/#sec-trimstring - -module.exports = function TrimString(string, where) { - var str = RequireObjectCoercible(string); - var S = ToString(str); - var T; - if (where === 'start') { - T = trimStart(S); - } else if (where === 'end') { - T = trimEnd(S); - } else if (where === 'start+end') { - T = trimStart(trimEnd(S)); - } else { - throw new $TypeError('Assertion failed: invalid `where` value; must be "start", "end", or "start+end"'); - } - return T; -}; diff --git a/node_modules/es-abstract/2019/Type.js b/node_modules/es-abstract/2019/Type.js deleted file mode 100644 index 0bd11659c..000000000 --- a/node_modules/es-abstract/2019/Type.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var ES5Type = require('../5/Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values - -module.exports = function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5Type(x); -}; diff --git a/node_modules/es-abstract/2019/UTF16Decode.js b/node_modules/es-abstract/2019/UTF16Decode.js deleted file mode 100644 index 86927b478..000000000 --- a/node_modules/es-abstract/2019/UTF16Decode.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -// https://262.ecma-international.org/7.0/#sec-utf16decode - -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -// https://262.ecma-international.org/11.0/#sec-utf16decodesurrogatepair - -module.exports = function UTF16Decode(lead, trail) { - if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) { - throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code'); - } - // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000; - return $fromCharCode(lead) + $fromCharCode(trail); -}; diff --git a/node_modules/es-abstract/2019/UTF16Encoding.js b/node_modules/es-abstract/2019/UTF16Encoding.js deleted file mode 100644 index f381595fd..000000000 --- a/node_modules/es-abstract/2019/UTF16Encoding.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var isCodePoint = require('../helpers/isCodePoint'); - -// https://262.ecma-international.org/7.0/#sec-utf16encoding - -module.exports = function UTF16Encoding(cp) { - if (!isCodePoint(cp)) { - throw new $TypeError('Assertion failed: `cp` must be >= 0 and <= 0x10FFFF'); - } - if (cp <= 65535) { - return $fromCharCode(cp); - } - var cu1 = floor((cp - 65536) / 1024) + 0xD800; - var cu2 = modulo(cp - 65536, 1024) + 0xDC00; - return $fromCharCode(cu1) + $fromCharCode(cu2); -}; diff --git a/node_modules/es-abstract/2019/UnicodeEscape.js b/node_modules/es-abstract/2019/UnicodeEscape.js deleted file mode 100644 index db7163f77..000000000 --- a/node_modules/es-abstract/2019/UnicodeEscape.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); -var $numberToString = callBound('Number.prototype.toString'); -var $toLowerCase = callBound('String.prototype.toLowerCase'); -var $strSlice = callBound('String.prototype.slice'); - -// https://262.ecma-international.org/9.0/#sec-unicodeescape - -module.exports = function UnicodeEscape(C) { - if (typeof C !== 'string' || C.length !== 1) { - throw new $TypeError('Assertion failed: `C` must be a single code unit'); - } - var n = $charCodeAt(C, 0); - if (n > 0xFFFF) { - throw new $TypeError('`Assertion failed: numeric value of `C` must be <= 0xFFFF'); - } - - return '\\u' + $strSlice('0000' + $toLowerCase($numberToString(n, 16)), -4); -}; diff --git a/node_modules/es-abstract/2019/ValidateAndApplyPropertyDescriptor.js b/node_modules/es-abstract/2019/ValidateAndApplyPropertyDescriptor.js deleted file mode 100644 index a7fd218ad..000000000 --- a/node_modules/es-abstract/2019/ValidateAndApplyPropertyDescriptor.js +++ /dev/null @@ -1,170 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var isSamePropertyDescriptor = require('../helpers/isSamePropertyDescriptor'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor - -// eslint-disable-next-line max-lines-per-function, max-statements, max-params -module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { - // this uses the ES2017+ logic, since it fixes a number of bugs in the ES2015 logic. - var oType = Type(O); - if (oType !== 'Undefined' && oType !== 'Object') { - throw new $TypeError('Assertion failed: O must be undefined or an Object'); - } - if (Type(extensible) !== 'Boolean') { - throw new $TypeError('Assertion failed: extensible must be a Boolean'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (Type(current) !== 'Undefined' && !isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, current)) { - throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined'); - } - if (oType !== 'Undefined' && !IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: if O is not undefined, P must be a Property Key'); - } - if (Type(current) === 'Undefined') { - if (!extensible) { - return false; - } - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': Desc['[[Configurable]]'], - '[[Enumerable]]': Desc['[[Enumerable]]'], - '[[Value]]': Desc['[[Value]]'], - '[[Writable]]': Desc['[[Writable]]'] - } - ); - } - } else { - if (!IsAccessorDescriptor(Desc)) { - throw new $TypeError('Assertion failed: Desc is not an accessor descriptor'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - } - return true; - } - if (IsGenericDescriptor(Desc) && !('[[Configurable]]' in Desc) && !('[[Enumerable]]' in Desc)) { - return true; - } - if (isSamePropertyDescriptor({ SameValue: SameValue }, Desc, current)) { - return true; // removed by ES2017, but should still be correct - } - // "if every field in Desc is absent, return true" can't really match the assertion that it's a Property Descriptor - if (!current['[[Configurable]]']) { - if (Desc['[[Configurable]]']) { - return false; - } - if ('[[Enumerable]]' in Desc && !Desc['[[Enumerable]]'] === !!current['[[Enumerable]]']) { - return false; - } - } - if (IsGenericDescriptor(Desc)) { - // no further validation is required. - } else if (IsDataDescriptor(current) !== IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - return false; - } - if (IsDataDescriptor(current)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Get]]': undefined - } - ); - } - } else if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Value]]': undefined - } - ); - } - } else if (IsDataDescriptor(current) && IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]'] && !current['[[Writable]]']) { - if ('[[Writable]]' in Desc && Desc['[[Writable]]']) { - return false; - } - if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) { - return false; - } - return true; - } - } else if (IsAccessorDescriptor(current) && IsAccessorDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) { - return false; - } - if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) { - return false; - } - return true; - } - } else { - throw new $TypeError('Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - return true; -}; diff --git a/node_modules/es-abstract/2019/WeekDay.js b/node_modules/es-abstract/2019/WeekDay.js deleted file mode 100644 index 17cf94ca3..000000000 --- a/node_modules/es-abstract/2019/WeekDay.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.6 - -module.exports = function WeekDay(t) { - return modulo(Day(t) + 4, 7); -}; diff --git a/node_modules/es-abstract/2019/YearFromTime.js b/node_modules/es-abstract/2019/YearFromTime.js deleted file mode 100644 index be06ecbc3..000000000 --- a/node_modules/es-abstract/2019/YearFromTime.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); - -var callBound = require('call-bind/callBound'); - -var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function YearFromTime(t) { - // largest y such that this.TimeFromYear(y) <= t - return $getUTCFullYear(new $Date(t)); -}; diff --git a/node_modules/es-abstract/2019/abs.js b/node_modules/es-abstract/2019/abs.js deleted file mode 100644 index 8bc45434d..000000000 --- a/node_modules/es-abstract/2019/abs.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $abs = GetIntrinsic('%Math.abs%'); - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function abs(x) { - return $abs(x); -}; diff --git a/node_modules/es-abstract/2019/floor.js b/node_modules/es-abstract/2019/floor.js deleted file mode 100644 index 8439df064..000000000 --- a/node_modules/es-abstract/2019/floor.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -// var modulo = require('./modulo'); -var $floor = Math.floor; - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function floor(x) { - // return x - modulo(x, 1); - return $floor(x); -}; diff --git a/node_modules/es-abstract/2019/modulo.js b/node_modules/es-abstract/2019/modulo.js deleted file mode 100644 index b94bb52bb..000000000 --- a/node_modules/es-abstract/2019/modulo.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var mod = require('../helpers/mod'); - -// https://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function modulo(x, y) { - return mod(x, y); -}; diff --git a/node_modules/es-abstract/2019/msFromTime.js b/node_modules/es-abstract/2019/msFromTime.js deleted file mode 100644 index a6bae767a..000000000 --- a/node_modules/es-abstract/2019/msFromTime.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerSecond = require('../helpers/timeConstants').msPerSecond; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function msFromTime(t) { - return modulo(t, msPerSecond); -}; diff --git a/node_modules/es-abstract/2019/thisBooleanValue.js b/node_modules/es-abstract/2019/thisBooleanValue.js deleted file mode 100644 index 27075b9c4..000000000 --- a/node_modules/es-abstract/2019/thisBooleanValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object - -module.exports = function thisBooleanValue(value) { - if (Type(value) === 'Boolean') { - return value; - } - - return $BooleanValueOf(value); -}; diff --git a/node_modules/es-abstract/2019/thisNumberValue.js b/node_modules/es-abstract/2019/thisNumberValue.js deleted file mode 100644 index 92968dcdf..000000000 --- a/node_modules/es-abstract/2019/thisNumberValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var Type = require('./Type'); - -var $NumberValueOf = callBound('Number.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object - -module.exports = function thisNumberValue(value) { - if (Type(value) === 'Number') { - return value; - } - - return $NumberValueOf(value); -}; - diff --git a/node_modules/es-abstract/2019/thisStringValue.js b/node_modules/es-abstract/2019/thisStringValue.js deleted file mode 100644 index 8e4274d81..000000000 --- a/node_modules/es-abstract/2019/thisStringValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object - -module.exports = function thisStringValue(value) { - if (Type(value) === 'String') { - return value; - } - - return $StringValueOf(value); -}; diff --git a/node_modules/es-abstract/2019/thisSymbolValue.js b/node_modules/es-abstract/2019/thisSymbolValue.js deleted file mode 100644 index 91a552542..000000000 --- a/node_modules/es-abstract/2019/thisSymbolValue.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $SymbolValueOf = callBound('Symbol.prototype.valueOf', true); - -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-thissymbolvalue - -module.exports = function thisSymbolValue(value) { - if (!$SymbolValueOf) { - throw new SyntaxError('Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object'); - } - if (Type(value) === 'Symbol') { - return value; - } - return $SymbolValueOf(value); -}; diff --git a/node_modules/es-abstract/2019/thisTimeValue.js b/node_modules/es-abstract/2019/thisTimeValue.js deleted file mode 100644 index a9a47ace2..000000000 --- a/node_modules/es-abstract/2019/thisTimeValue.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../2018/thisTimeValue'); diff --git a/node_modules/es-abstract/2020/AbstractEqualityComparison.js b/node_modules/es-abstract/2020/AbstractEqualityComparison.js deleted file mode 100644 index c776194c1..000000000 --- a/node_modules/es-abstract/2020/AbstractEqualityComparison.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-abstract-equality-comparison - -module.exports = function AbstractEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (xType === 'Boolean') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (yType === 'Boolean') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number' || xType === 'Symbol') && yType === 'Object') { - return AbstractEqualityComparison(x, ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number' || yType === 'Symbol')) { - return AbstractEqualityComparison(ToPrimitive(x), y); - } - return false; -}; diff --git a/node_modules/es-abstract/2020/AbstractRelationalComparison.js b/node_modules/es-abstract/2020/AbstractRelationalComparison.js deleted file mode 100644 index 0dfed5ffe..000000000 --- a/node_modules/es-abstract/2020/AbstractRelationalComparison.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Number = GetIntrinsic('%Number%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var isPrefixOf = require('../helpers/isPrefixOf'); - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.8.5 - -// eslint-disable-next-line max-statements -module.exports = function AbstractRelationalComparison(x, y, LeftFirst) { - if (Type(LeftFirst) !== 'Boolean') { - throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); - } - var px; - var py; - if (LeftFirst) { - px = ToPrimitive(x, $Number); - py = ToPrimitive(y, $Number); - } else { - py = ToPrimitive(y, $Number); - px = ToPrimitive(x, $Number); - } - var bothStrings = Type(px) === 'String' && Type(py) === 'String'; - if (!bothStrings) { - var nx = ToNumber(px); - var ny = ToNumber(py); - if ($isNaN(nx) || $isNaN(ny)) { - return undefined; - } - if ($isFinite(nx) && $isFinite(ny) && nx === ny) { - return false; - } - if (nx === Infinity) { - return false; - } - if (ny === Infinity) { - return true; - } - if (ny === -Infinity) { - return false; - } - if (nx === -Infinity) { - return true; - } - return nx < ny; // by now, these are both nonzero, finite, and not equal - } - if (isPrefixOf(py, px)) { - return false; - } - if (isPrefixOf(px, py)) { - return true; - } - return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f -}; diff --git a/node_modules/es-abstract/2020/AddEntriesFromIterable.js b/node_modules/es-abstract/2020/AddEntriesFromIterable.js deleted file mode 100644 index a0a5e71bd..000000000 --- a/node_modules/es-abstract/2020/AddEntriesFromIterable.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var inspect = require('object-inspect'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var Get = require('./Get'); -var GetIterator = require('./GetIterator'); -var IsCallable = require('./IsCallable'); -var IteratorClose = require('./IteratorClose'); -var IteratorStep = require('./IteratorStep'); -var IteratorValue = require('./IteratorValue'); -var Type = require('./Type'); - -// https://262.ecma-international.org/10.0//#sec-add-entries-from-iterable - -module.exports = function AddEntriesFromIterable(target, iterable, adder) { - if (!IsCallable(adder)) { - throw new $TypeError('Assertion failed: `adder` is not callable'); - } - if (iterable == null) { - throw new $TypeError('Assertion failed: `iterable` is present, and not nullish'); - } - var iteratorRecord = GetIterator(iterable); - while (true) { // eslint-disable-line no-constant-condition - var next = IteratorStep(iteratorRecord); - if (!next) { - return target; - } - var nextItem = IteratorValue(next); - if (Type(nextItem) !== 'Object') { - var error = new $TypeError('iterator next must return an Object, got ' + inspect(nextItem)); - return IteratorClose( - iteratorRecord, - function () { throw error; } // eslint-disable-line no-loop-func - ); - } - try { - var k = Get(nextItem, '0'); - var v = Get(nextItem, '1'); - Call(adder, target, [k, v]); - } catch (e) { - return IteratorClose( - iteratorRecord, - function () { throw e; } - ); - } - } -}; diff --git a/node_modules/es-abstract/2020/AdvanceStringIndex.js b/node_modules/es-abstract/2020/AdvanceStringIndex.js deleted file mode 100644 index 0e62c4a4a..000000000 --- a/node_modules/es-abstract/2020/AdvanceStringIndex.js +++ /dev/null @@ -1,34 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var CodePointAt = require('./CodePointAt'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://262.ecma-international.org/6.0/#sec-advancestringindex - -module.exports = function AdvanceStringIndex(S, index, unicode) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0 and <= 2**53'); - } - if (Type(unicode) !== 'Boolean') { - throw new $TypeError('Assertion failed: `unicode` must be a Boolean'); - } - if (!unicode) { - return index + 1; - } - var length = S.length; - if ((index + 1) >= length) { - return index + 1; - } - var cp = CodePointAt(S, index); - return index + cp['[[CodeUnitCount]]']; -}; diff --git a/node_modules/es-abstract/2020/ArrayCreate.js b/node_modules/es-abstract/2020/ArrayCreate.js deleted file mode 100644 index 4d20e2e5e..000000000 --- a/node_modules/es-abstract/2020/ArrayCreate.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ArrayPrototype = GetIntrinsic('%Array.prototype%'); -var $RangeError = GetIntrinsic('%RangeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); - -var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; - -var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || ( - // eslint-disable-next-line no-proto, no-negated-condition - [].__proto__ !== $ArrayPrototype - ? null - : function (O, proto) { - O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign - return O; - } -); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraycreate - -module.exports = function ArrayCreate(length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0'); - } - if (length > MAX_ARRAY_LENGTH) { - throw new $RangeError('length is greater than (2**32 - 1)'); - } - var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype; - var A = []; // steps 5 - 7, and 9 - if (proto !== $ArrayPrototype) { // step 8 - if (!$setProto) { - throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - $setProto(A, proto); - } - if (length !== 0) { // bypasses the need for step 2 - A.length = length; - } - /* step 10, the above as a shortcut for the below - OrdinaryDefineOwnProperty(A, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': true - }); - */ - return A; -}; diff --git a/node_modules/es-abstract/2020/ArraySetLength.js b/node_modules/es-abstract/2020/ArraySetLength.js deleted file mode 100644 index 08db9c2e9..000000000 --- a/node_modules/es-abstract/2020/ArraySetLength.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var assign = require('object.assign'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsArray = require('./IsArray'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var OrdinaryDefineOwnProperty = require('./OrdinaryDefineOwnProperty'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var ToUint32 = require('./ToUint32'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arraysetlength - -// eslint-disable-next-line max-statements, max-lines-per-function -module.exports = function ArraySetLength(A, Desc) { - if (!IsArray(A)) { - throw new $TypeError('Assertion failed: A must be an Array'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!('[[Value]]' in Desc)) { - return OrdinaryDefineOwnProperty(A, 'length', Desc); - } - var newLenDesc = assign({}, Desc); - var newLen = ToUint32(Desc['[[Value]]']); - var numberLen = ToNumber(Desc['[[Value]]']); - if (newLen !== numberLen) { - throw new $RangeError('Invalid array length'); - } - newLenDesc['[[Value]]'] = newLen; - var oldLenDesc = OrdinaryGetOwnProperty(A, 'length'); - if (!IsDataDescriptor(oldLenDesc)) { - throw new $TypeError('Assertion failed: an array had a non-data descriptor on `length`'); - } - var oldLen = oldLenDesc['[[Value]]']; - if (newLen >= oldLen) { - return OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - } - if (!oldLenDesc['[[Writable]]']) { - return false; - } - var newWritable; - if (!('[[Writable]]' in newLenDesc) || newLenDesc['[[Writable]]']) { - newWritable = true; - } else { - newWritable = false; - newLenDesc['[[Writable]]'] = true; - } - var succeeded = OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - if (!succeeded) { - return false; - } - while (newLen < oldLen) { - oldLen -= 1; - // eslint-disable-next-line no-param-reassign - var deleteSucceeded = delete A[ToString(oldLen)]; - if (!deleteSucceeded) { - newLenDesc['[[Value]]'] = oldLen + 1; - if (!newWritable) { - newLenDesc['[[Writable]]'] = false; - OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - return false; - } - } - } - if (!newWritable) { - return OrdinaryDefineOwnProperty(A, 'length', { '[[Writable]]': false }); - } - return true; -}; diff --git a/node_modules/es-abstract/2020/ArraySpeciesCreate.js b/node_modules/es-abstract/2020/ArraySpeciesCreate.js deleted file mode 100644 index 26d63b5e2..000000000 --- a/node_modules/es-abstract/2020/ArraySpeciesCreate.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsConstructor = require('./IsConstructor'); -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - -module.exports = function ArraySpeciesCreate(originalArray, length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = IsArray(originalArray); - if (isArray) { - C = Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if ($species && Type(C) === 'Object') { - C = Get(C, $species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // Construct(C, len); -}; - diff --git a/node_modules/es-abstract/2020/BigInt/add.js b/node_modules/es-abstract/2020/BigInt/add.js deleted file mode 100644 index 22b5db4b3..000000000 --- a/node_modules/es-abstract/2020/BigInt/add.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-add - -module.exports = function BigIntAdd(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - // shortcut for the actual spec mechanics - return x + y; -}; diff --git a/node_modules/es-abstract/2020/BigInt/bitwiseAND.js b/node_modules/es-abstract/2020/BigInt/bitwiseAND.js deleted file mode 100644 index 83cd2c3ca..000000000 --- a/node_modules/es-abstract/2020/BigInt/bitwiseAND.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var BigIntBitwiseOp = require('../BigIntBitwiseOp'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseAND - -module.exports = function BigIntBitwiseAND(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - return BigIntBitwiseOp('&', x, y); -}; diff --git a/node_modules/es-abstract/2020/BigInt/bitwiseNOT.js b/node_modules/es-abstract/2020/BigInt/bitwiseNOT.js deleted file mode 100644 index 9a444dfea..000000000 --- a/node_modules/es-abstract/2020/BigInt/bitwiseNOT.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $BigInt = GetIntrinsic('%BigInt%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseNOT - -module.exports = function BigIntBitwiseNOT(x) { - if (Type(x) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` argument must be a BigInt'); - } - return -x - $BigInt(1); -}; diff --git a/node_modules/es-abstract/2020/BigInt/bitwiseOR.js b/node_modules/es-abstract/2020/BigInt/bitwiseOR.js deleted file mode 100644 index 3c1b57193..000000000 --- a/node_modules/es-abstract/2020/BigInt/bitwiseOR.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var BigIntBitwiseOp = require('../BigIntBitwiseOp'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseOR - -module.exports = function BigIntBitwiseOR(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - return BigIntBitwiseOp('|', x, y); -}; diff --git a/node_modules/es-abstract/2020/BigInt/bitwiseXOR.js b/node_modules/es-abstract/2020/BigInt/bitwiseXOR.js deleted file mode 100644 index 45f8217ef..000000000 --- a/node_modules/es-abstract/2020/BigInt/bitwiseXOR.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var BigIntBitwiseOp = require('../BigIntBitwiseOp'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseXOR - -module.exports = function BigIntBitwiseXOR(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - return BigIntBitwiseOp('^', x, y); -}; diff --git a/node_modules/es-abstract/2020/BigInt/divide.js b/node_modules/es-abstract/2020/BigInt/divide.js deleted file mode 100644 index 5706e7d72..000000000 --- a/node_modules/es-abstract/2020/BigInt/divide.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $BigInt = GetIntrinsic('%BigInt%', true); -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-divide - -module.exports = function BigIntDivide(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - if (y === $BigInt(0)) { - throw new $RangeError('Division by zero'); - } - // shortcut for the actual spec mechanics - return x / y; -}; diff --git a/node_modules/es-abstract/2020/BigInt/equal.js b/node_modules/es-abstract/2020/BigInt/equal.js deleted file mode 100644 index a28826d67..000000000 --- a/node_modules/es-abstract/2020/BigInt/equal.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-equal - -module.exports = function BigIntEqual(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - // shortcut for the actual spec mechanics - return x === y; -}; diff --git a/node_modules/es-abstract/2020/BigInt/exponentiate.js b/node_modules/es-abstract/2020/BigInt/exponentiate.js deleted file mode 100644 index 2365838c2..000000000 --- a/node_modules/es-abstract/2020/BigInt/exponentiate.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $BigInt = GetIntrinsic('%BigInt%', true); -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-exponentiate - -module.exports = function BigIntExponentiate(base, exponent) { - if (Type(base) !== 'BigInt' || Type(exponent) !== 'BigInt') { - throw new $TypeError('Assertion failed: `base` and `exponent` arguments must be BigInts'); - } - if (exponent < $BigInt(0)) { - throw new $RangeError('Exponent must be positive'); - } - if (/* base === $BigInt(0) && */ exponent === $BigInt(0)) { - return $BigInt(1); - } - - var square = base; - var remaining = exponent; - while (remaining > $BigInt(0)) { - square += exponent; - --remaining; // eslint-disable-line no-plusplus - } - return square; -}; diff --git a/node_modules/es-abstract/2020/BigInt/index.js b/node_modules/es-abstract/2020/BigInt/index.js deleted file mode 100644 index 63ec52da6..000000000 --- a/node_modules/es-abstract/2020/BigInt/index.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var add = require('./add'); -var bitwiseAND = require('./bitwiseAND'); -var bitwiseNOT = require('./bitwiseNOT'); -var bitwiseOR = require('./bitwiseOR'); -var bitwiseXOR = require('./bitwiseXOR'); -var divide = require('./divide'); -var equal = require('./equal'); -var exponentiate = require('./exponentiate'); -var leftShift = require('./leftShift'); -var lessThan = require('./lessThan'); -var multiply = require('./multiply'); -var remainder = require('./remainder'); -var sameValue = require('./sameValue'); -var sameValueZero = require('./sameValueZero'); -var signedRightShift = require('./signedRightShift'); -var subtract = require('./subtract'); -var toString = require('./toString'); -var unaryMinus = require('./unaryMinus'); -var unsignedRightShift = require('./unsignedRightShift'); - -module.exports = { - add: add, - bitwiseAND: bitwiseAND, - bitwiseNOT: bitwiseNOT, - bitwiseOR: bitwiseOR, - bitwiseXOR: bitwiseXOR, - divide: divide, - equal: equal, - exponentiate: exponentiate, - leftShift: leftShift, - lessThan: lessThan, - multiply: multiply, - remainder: remainder, - sameValue: sameValue, - sameValueZero: sameValueZero, - signedRightShift: signedRightShift, - subtract: subtract, - toString: toString, - unaryMinus: unaryMinus, - unsignedRightShift: unsignedRightShift -}; diff --git a/node_modules/es-abstract/2020/BigInt/leftShift.js b/node_modules/es-abstract/2020/BigInt/leftShift.js deleted file mode 100644 index d2a570223..000000000 --- a/node_modules/es-abstract/2020/BigInt/leftShift.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-leftShift - -module.exports = function BigIntLeftShift(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - // shortcut for the actual spec mechanics - return x << y; -}; diff --git a/node_modules/es-abstract/2020/BigInt/lessThan.js b/node_modules/es-abstract/2020/BigInt/lessThan.js deleted file mode 100644 index 0b3cd6ba0..000000000 --- a/node_modules/es-abstract/2020/BigInt/lessThan.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-lessThan - -module.exports = function BigIntLessThan(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - // shortcut for the actual spec mechanics - return x < y; -}; diff --git a/node_modules/es-abstract/2020/BigInt/multiply.js b/node_modules/es-abstract/2020/BigInt/multiply.js deleted file mode 100644 index 6e5d56c83..000000000 --- a/node_modules/es-abstract/2020/BigInt/multiply.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-multiply - -module.exports = function BigIntMultiply(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - // shortcut for the actual spec mechanics - return x * y; -}; diff --git a/node_modules/es-abstract/2020/BigInt/remainder.js b/node_modules/es-abstract/2020/BigInt/remainder.js deleted file mode 100644 index d2dc678ca..000000000 --- a/node_modules/es-abstract/2020/BigInt/remainder.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $BigInt = GetIntrinsic('%BigInt%', true); -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -var zero = $BigInt && $BigInt(0); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-remainder - -module.exports = function BigIntRemainder(n, d) { - if (Type(n) !== 'BigInt' || Type(d) !== 'BigInt') { - throw new $TypeError('Assertion failed: `n` and `d` arguments must be BigInts'); - } - - if (d === zero) { - throw new $RangeError('Division by zero'); - } - - if (n === zero) { - return zero; - } - - // shortcut for the actual spec mechanics - return n % d; -}; diff --git a/node_modules/es-abstract/2020/BigInt/sameValue.js b/node_modules/es-abstract/2020/BigInt/sameValue.js deleted file mode 100644 index 63ff06393..000000000 --- a/node_modules/es-abstract/2020/BigInt/sameValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); -var BigIntEqual = require('./equal'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-sameValue - -module.exports = function BigIntSameValue(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - return BigIntEqual(x, y); -}; diff --git a/node_modules/es-abstract/2020/BigInt/sameValueZero.js b/node_modules/es-abstract/2020/BigInt/sameValueZero.js deleted file mode 100644 index 39f262c6d..000000000 --- a/node_modules/es-abstract/2020/BigInt/sameValueZero.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); -var BigIntEqual = require('./equal'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-sameValueZero - -module.exports = function BigIntSameValueZero(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - return BigIntEqual(x, y); -}; diff --git a/node_modules/es-abstract/2020/BigInt/signedRightShift.js b/node_modules/es-abstract/2020/BigInt/signedRightShift.js deleted file mode 100644 index f63c642f0..000000000 --- a/node_modules/es-abstract/2020/BigInt/signedRightShift.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); -var BigIntLeftShift = require('./leftShift'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-signedRightShift - -module.exports = function BigIntSignedRightShift(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - return BigIntLeftShift(x, -y); -}; diff --git a/node_modules/es-abstract/2020/BigInt/subtract.js b/node_modules/es-abstract/2020/BigInt/subtract.js deleted file mode 100644 index 0490784f6..000000000 --- a/node_modules/es-abstract/2020/BigInt/subtract.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-subtract - -module.exports = function BigIntSubtract(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - // shortcut for the actual spec mechanics - return x - y; -}; diff --git a/node_modules/es-abstract/2020/BigInt/toString.js b/node_modules/es-abstract/2020/BigInt/toString.js deleted file mode 100644 index 858d95545..000000000 --- a/node_modules/es-abstract/2020/BigInt/toString.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-tostring - -module.exports = function BigIntToString(x) { - if (Type(x) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` must be a BigInt'); - } - - return $String(x); -}; diff --git a/node_modules/es-abstract/2020/BigInt/unaryMinus.js b/node_modules/es-abstract/2020/BigInt/unaryMinus.js deleted file mode 100644 index ee0f7ef19..000000000 --- a/node_modules/es-abstract/2020/BigInt/unaryMinus.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $BigInt = GetIntrinsic('%BigInt%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -var zero = $BigInt && $BigInt(0); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-unaryMinus - -module.exports = function BigIntUnaryMinus(x) { - if (Type(x) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` argument must be a BigInt'); - } - - if (x === zero) { - return zero; - } - - return -x; -}; diff --git a/node_modules/es-abstract/2020/BigInt/unsignedRightShift.js b/node_modules/es-abstract/2020/BigInt/unsignedRightShift.js deleted file mode 100644 index 7ad94f7a8..000000000 --- a/node_modules/es-abstract/2020/BigInt/unsignedRightShift.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-unsignedRightShift - -module.exports = function BigIntUnsignedRightShift(x, y) { - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); - } - - throw new $TypeError('BigInts have no unsigned right shift, use >> instead'); -}; diff --git a/node_modules/es-abstract/2020/BigIntBitwiseOp.js b/node_modules/es-abstract/2020/BigIntBitwiseOp.js deleted file mode 100644 index 1af4cad88..000000000 --- a/node_modules/es-abstract/2020/BigIntBitwiseOp.js +++ /dev/null @@ -1,66 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -// var $BigInt = GetIntrinsic('%BigInt%', true); -// var $pow = GetIntrinsic('%Math.pow%'); - -// var BinaryAnd = require('./BinaryAnd'); -// var BinaryOr = require('./BinaryOr'); -// var BinaryXor = require('./BinaryXor'); -var Type = require('./Type'); -// var modulo = require('./modulo'); - -// var zero = $BigInt && $BigInt(0); -// var negOne = $BigInt && $BigInt(-1); -// var two = $BigInt && $BigInt(2); - -// https://262.ecma-international.org/11.0/#sec-bigintbitwiseop - -module.exports = function BigIntBitwiseOp(op, x, y) { - if (op !== '&' && op !== '|' && op !== '^') { - throw new $TypeError('Assertion failed: `op` must be `&`, `|`, or `^`'); - } - if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { - throw new $TypeError('`x` and `y` must be BigInts'); - } - - if (op === '&') { - return x & y; - } - if (op === '|') { - return x | y; - } - return x ^ y; - /* - var result = zero; - var shift = 0; - while (x !== zero && x !== negOne && y !== zero && y !== negOne) { - var xDigit = modulo(x, two); - var yDigit = modulo(y, two); - if (op === '&') { - result += $pow(2, shift) * BinaryAnd(xDigit, yDigit); - } else if (op === '|') { - result += $pow(2, shift) * BinaryOr(xDigit, yDigit); - } else if (op === '^') { - result += $pow(2, shift) * BinaryXor(xDigit, yDigit); - } - shift += 1; - x = (x - xDigit) / two; - y = (y - yDigit) / two; - } - var tmp; - if (op === '&') { - tmp = BinaryAnd(modulo(x, two), modulo(y, two)); - } else if (op === '|') { - tmp = BinaryAnd(modulo(x, two), modulo(y, two)); - } else { - tmp = BinaryXor(modulo(x, two), modulo(y, two)); - } - if (tmp !== 0) { - result -= $pow(2, shift); - } - return result; - */ -}; diff --git a/node_modules/es-abstract/2020/BinaryAnd.js b/node_modules/es-abstract/2020/BinaryAnd.js deleted file mode 100644 index c617f388d..000000000 --- a/node_modules/es-abstract/2020/BinaryAnd.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://262.ecma-international.org/11.0/#sec-binaryand - -module.exports = function BinaryAnd(x, y) { - if ((x !== 0 && x !== 1) || (y !== 0 && y !== 1)) { - throw new $TypeError('Assertion failed: `x` and `y` must be either 0 or 1'); - } - return x & y; -}; diff --git a/node_modules/es-abstract/2020/BinaryOr.js b/node_modules/es-abstract/2020/BinaryOr.js deleted file mode 100644 index 6de0955f1..000000000 --- a/node_modules/es-abstract/2020/BinaryOr.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://262.ecma-international.org/11.0/#sec-binaryor - -module.exports = function BinaryOr(x, y) { - if ((x !== 0 && x !== 1) || (y !== 0 && y !== 1)) { - throw new $TypeError('Assertion failed: `x` and `y` must be either 0 or 1'); - } - return x | y; -}; diff --git a/node_modules/es-abstract/2020/BinaryXor.js b/node_modules/es-abstract/2020/BinaryXor.js deleted file mode 100644 index 189d7d846..000000000 --- a/node_modules/es-abstract/2020/BinaryXor.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://262.ecma-international.org/11.0/#sec-binaryxor - -module.exports = function BinaryXor(x, y) { - if ((x !== 0 && x !== 1) || (y !== 0 && y !== 1)) { - throw new $TypeError('Assertion failed: `x` and `y` must be either 0 or 1'); - } - return x ^ y; -}; diff --git a/node_modules/es-abstract/2020/Call.js b/node_modules/es-abstract/2020/Call.js deleted file mode 100644 index 4b238c691..000000000 --- a/node_modules/es-abstract/2020/Call.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsArray = require('./IsArray'); - -var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-call - -module.exports = function Call(F, V) { - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - return $apply(F, V, argumentsList); -}; diff --git a/node_modules/es-abstract/2020/CanonicalNumericIndexString.js b/node_modules/es-abstract/2020/CanonicalNumericIndexString.js deleted file mode 100644 index feb878c03..000000000 --- a/node_modules/es-abstract/2020/CanonicalNumericIndexString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - -module.exports = function CanonicalNumericIndexString(argument) { - if (Type(argument) !== 'String') { - throw new $TypeError('Assertion failed: `argument` must be a String'); - } - if (argument === '-0') { return -0; } - var n = ToNumber(argument); - if (SameValue(ToString(n), argument)) { return n; } - return void 0; -}; diff --git a/node_modules/es-abstract/2020/CodePointAt.js b/node_modules/es-abstract/2020/CodePointAt.js deleted file mode 100644 index b887631bc..000000000 --- a/node_modules/es-abstract/2020/CodePointAt.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var callBound = require('call-bind/callBound'); -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -var Type = require('./Type'); -var UTF16DecodeSurrogatePair = require('./UTF16DecodeSurrogatePair'); - -var $charAt = callBound('String.prototype.charAt'); -var $charCodeAt = callBound('String.prototype.charCodeAt'); - -// https://262.ecma-international.org/11.0/#sec-codepointat - -module.exports = function CodePointAt(string, position) { - if (Type(string) !== 'String') { - throw new $TypeError('Assertion failed: `string` must be a String'); - } - var size = string.length; - if (position < 0 || position >= size) { - throw new $TypeError('Assertion failed: `position` must be >= 0, and < the length of `string`'); - } - var first = $charCodeAt(string, position); - var cp = $charAt(string, position); - var firstIsLeading = isLeadingSurrogate(first); - var firstIsTrailing = isTrailingSurrogate(first); - if (!firstIsLeading && !firstIsTrailing) { - return { - '[[CodePoint]]': cp, - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': false - }; - } - if (firstIsTrailing || (position + 1 === size)) { - return { - '[[CodePoint]]': cp, - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': true - }; - } - var second = $charCodeAt(string, position + 1); - if (!isTrailingSurrogate(second)) { - return { - '[[CodePoint]]': cp, - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': true - }; - } - - return { - '[[CodePoint]]': UTF16DecodeSurrogatePair(first, second), - '[[CodeUnitCount]]': 2, - '[[IsUnpairedSurrogate]]': false - }; -}; diff --git a/node_modules/es-abstract/2020/CompletePropertyDescriptor.js b/node_modules/es-abstract/2020/CompletePropertyDescriptor.js deleted file mode 100644 index 548bf415a..000000000 --- a/node_modules/es-abstract/2020/CompletePropertyDescriptor.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - -module.exports = function CompletePropertyDescriptor(Desc) { - /* eslint no-param-reassign: 0 */ - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; -}; diff --git a/node_modules/es-abstract/2020/CopyDataProperties.js b/node_modules/es-abstract/2020/CopyDataProperties.js deleted file mode 100644 index 7bd7ddaed..000000000 --- a/node_modules/es-abstract/2020/CopyDataProperties.js +++ /dev/null @@ -1,64 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); -var every = require('../helpers/every'); -var OwnPropertyKeys = require('../helpers/OwnPropertyKeys'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var CreateDataPropertyOrThrow = require('./CreateDataPropertyOrThrow'); -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToNumber = require('./ToNumber'); -var ToObject = require('./ToObject'); -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-copydataproperties - -module.exports = function CopyDataProperties(target, source, excludedItems) { - if (Type(target) !== 'Object') { - throw new $TypeError('Assertion failed: "target" must be an Object'); - } - - if (!IsArray(excludedItems) || !every(excludedItems, IsPropertyKey)) { - throw new $TypeError('Assertion failed: "excludedItems" must be a List of Property Keys'); - } - - if (typeof source === 'undefined' || source === null) { - return target; - } - - var from = ToObject(source); - - var sourceKeys = OwnPropertyKeys(from); - forEach(sourceKeys, function (nextKey) { - var excluded = false; - - forEach(excludedItems, function (e) { - if (SameValue(e, nextKey) === true) { - excluded = true; - } - }); - - var enumerable = $isEnumerable(from, nextKey) || ( - // this is to handle string keys being non-enumerable in older engines - typeof source === 'string' - && nextKey >= 0 - && IsInteger(ToNumber(nextKey)) - ); - if (excluded === false && enumerable) { - var propValue = Get(from, nextKey); - CreateDataPropertyOrThrow(target, nextKey, propValue); - } - }); - - return target; -}; diff --git a/node_modules/es-abstract/2020/CreateDataProperty.js b/node_modules/es-abstract/2020/CreateDataProperty.js deleted file mode 100644 index ff5ca3055..000000000 --- a/node_modules/es-abstract/2020/CreateDataProperty.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty - -module.exports = function CreateDataProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = OrdinaryGetOwnProperty(O, P); - var extensible = !oldDesc || IsExtensible(O); - var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']); - if (immutable || !extensible) { - return false; - } - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Value]]': V, - '[[Writable]]': true - } - ); -}; diff --git a/node_modules/es-abstract/2020/CreateDataPropertyOrThrow.js b/node_modules/es-abstract/2020/CreateDataPropertyOrThrow.js deleted file mode 100644 index 2f7c410ba..000000000 --- a/node_modules/es-abstract/2020/CreateDataPropertyOrThrow.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var CreateDataProperty = require('./CreateDataProperty'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - -module.exports = function CreateDataPropertyOrThrow(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; -}; diff --git a/node_modules/es-abstract/2020/CreateHTML.js b/node_modules/es-abstract/2020/CreateHTML.js deleted file mode 100644 index ccded1e65..000000000 --- a/node_modules/es-abstract/2020/CreateHTML.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $replace = callBound('String.prototype.replace'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createhtml - -module.exports = function CreateHTML(string, tag, attribute, value) { - if (Type(tag) !== 'String' || Type(attribute) !== 'String') { - throw new $TypeError('Assertion failed: `tag` and `attribute` must be strings'); - } - var str = RequireObjectCoercible(string); - var S = ToString(str); - var p1 = '<' + tag; - if (attribute !== '') { - var V = ToString(value); - var escapedV = $replace(V, /\x22/g, '"'); - p1 += '\x20' + attribute + '\x3D\x22' + escapedV + '\x22'; - } - return p1 + '>' + S + ''; -}; diff --git a/node_modules/es-abstract/2020/CreateIterResultObject.js b/node_modules/es-abstract/2020/CreateIterResultObject.js deleted file mode 100644 index eea77a512..000000000 --- a/node_modules/es-abstract/2020/CreateIterResultObject.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - -module.exports = function CreateIterResultObject(value, done) { - if (Type(done) !== 'Boolean') { - throw new $TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; -}; diff --git a/node_modules/es-abstract/2020/CreateListFromArrayLike.js b/node_modules/es-abstract/2020/CreateListFromArrayLike.js deleted file mode 100644 index 3e9f5f403..000000000 --- a/node_modules/es-abstract/2020/CreateListFromArrayLike.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $indexOf = callBound('Array.prototype.indexOf', true) || callBound('String.prototype.indexOf'); -var $push = callBound('Array.prototype.push'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var LengthOfArrayLike = require('./LengthOfArrayLike'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-createlistfromarraylike - -module.exports = function CreateListFromArrayLike(obj) { - var elementTypes = arguments.length > 1 - ? arguments[1] - : ['Undefined', 'Null', 'Boolean', 'String', 'Symbol', 'Number', 'Object']; - - if (Type(obj) !== 'Object') { - throw new $TypeError('Assertion failed: `obj` must be an Object'); - } - if (!IsArray(elementTypes)) { - throw new $TypeError('Assertion failed: `elementTypes`, if provided, must be an array'); - } - var len = LengthOfArrayLike(obj); - var list = []; - var index = 0; - while (index < len) { - var indexName = ToString(index); - var next = Get(obj, indexName); - var nextType = Type(next); - if ($indexOf(elementTypes, nextType) < 0) { - throw new $TypeError('item type ' + nextType + ' is not a valid elementType'); - } - $push(list, next); - index += 1; - } - return list; -}; diff --git a/node_modules/es-abstract/2020/CreateMethodProperty.js b/node_modules/es-abstract/2020/CreateMethodProperty.js deleted file mode 100644 index 53274a561..000000000 --- a/node_modules/es-abstract/2020/CreateMethodProperty.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-createmethodproperty - -module.exports = function CreateMethodProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var newDesc = { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': V, - '[[Writable]]': true - }; - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - newDesc - ); -}; diff --git a/node_modules/es-abstract/2020/DateFromTime.js b/node_modules/es-abstract/2020/DateFromTime.js deleted file mode 100644 index 20e4f2e4d..000000000 --- a/node_modules/es-abstract/2020/DateFromTime.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); -var MonthFromTime = require('./MonthFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.5 - -module.exports = function DateFromTime(t) { - var m = MonthFromTime(t); - var d = DayWithinYear(t); - if (m === 0) { - return d + 1; - } - if (m === 1) { - return d - 30; - } - var leap = InLeapYear(t); - if (m === 2) { - return d - 58 - leap; - } - if (m === 3) { - return d - 89 - leap; - } - if (m === 4) { - return d - 119 - leap; - } - if (m === 5) { - return d - 150 - leap; - } - if (m === 6) { - return d - 180 - leap; - } - if (m === 7) { - return d - 211 - leap; - } - if (m === 8) { - return d - 242 - leap; - } - if (m === 9) { - return d - 272 - leap; - } - if (m === 10) { - return d - 303 - leap; - } - if (m === 11) { - return d - 333 - leap; - } - throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); -}; diff --git a/node_modules/es-abstract/2020/DateString.js b/node_modules/es-abstract/2020/DateString.js deleted file mode 100644 index 939c14c0c..000000000 --- a/node_modules/es-abstract/2020/DateString.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var weekdays = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; -var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; - -var $isNaN = require('../helpers/isNaN'); -var padTimeComponent = require('../helpers/padTimeComponent'); - -var Type = require('./Type'); -var WeekDay = require('./WeekDay'); -var MonthFromTime = require('./MonthFromTime'); -var YearFromTime = require('./YearFromTime'); -var DateFromTime = require('./DateFromTime'); - -// https://262.ecma-international.org/9.0/#sec-datestring - -module.exports = function DateString(tv) { - if (Type(tv) !== 'Number' || $isNaN(tv)) { - throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number'); - } - var weekday = weekdays[WeekDay(tv)]; - var month = months[MonthFromTime(tv)]; - var day = padTimeComponent(DateFromTime(tv)); - var year = padTimeComponent(YearFromTime(tv), 4); - return weekday + '\x20' + month + '\x20' + day + '\x20' + year; -}; diff --git a/node_modules/es-abstract/2020/Day.js b/node_modules/es-abstract/2020/Day.js deleted file mode 100644 index 51d01033c..000000000 --- a/node_modules/es-abstract/2020/Day.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function Day(t) { - return floor(t / msPerDay); -}; diff --git a/node_modules/es-abstract/2020/DayFromYear.js b/node_modules/es-abstract/2020/DayFromYear.js deleted file mode 100644 index 341bf22a6..000000000 --- a/node_modules/es-abstract/2020/DayFromYear.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DayFromYear(y) { - return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400); -}; - diff --git a/node_modules/es-abstract/2020/DayWithinYear.js b/node_modules/es-abstract/2020/DayWithinYear.js deleted file mode 100644 index 4c580940a..000000000 --- a/node_modules/es-abstract/2020/DayWithinYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var DayFromYear = require('./DayFromYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function DayWithinYear(t) { - return Day(t) - DayFromYear(YearFromTime(t)); -}; diff --git a/node_modules/es-abstract/2020/DaysInYear.js b/node_modules/es-abstract/2020/DaysInYear.js deleted file mode 100644 index 7116c6902..000000000 --- a/node_modules/es-abstract/2020/DaysInYear.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DaysInYear(y) { - if (modulo(y, 4) !== 0) { - return 365; - } - if (modulo(y, 100) !== 0) { - return 366; - } - if (modulo(y, 400) !== 0) { - return 365; - } - return 366; -}; diff --git a/node_modules/es-abstract/2020/DefinePropertyOrThrow.js b/node_modules/es-abstract/2020/DefinePropertyOrThrow.js deleted file mode 100644 index 26f2714bb..000000000 --- a/node_modules/es-abstract/2020/DefinePropertyOrThrow.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow - -module.exports = function DefinePropertyOrThrow(O, P, desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var Desc = isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, desc) ? desc : ToPropertyDescriptor(desc); - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor'); - } - - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); -}; diff --git a/node_modules/es-abstract/2020/DeletePropertyOrThrow.js b/node_modules/es-abstract/2020/DeletePropertyOrThrow.js deleted file mode 100644 index 30d5e57c7..000000000 --- a/node_modules/es-abstract/2020/DeletePropertyOrThrow.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow - -module.exports = function DeletePropertyOrThrow(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // eslint-disable-next-line no-param-reassign - var success = delete O[P]; - if (!success) { - throw new $TypeError('Attempt to delete property failed.'); - } - return success; -}; diff --git a/node_modules/es-abstract/2020/EnumerableOwnPropertyNames.js b/node_modules/es-abstract/2020/EnumerableOwnPropertyNames.js deleted file mode 100644 index 44171b9eb..000000000 --- a/node_modules/es-abstract/2020/EnumerableOwnPropertyNames.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var objectKeys = require('object-keys'); - -var callBound = require('call-bind/callBound'); - -var callBind = require('call-bind'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); -var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%')); - -var forEach = require('../helpers/forEach'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/8.0/#sec-enumerableownproperties - -module.exports = function EnumerableOwnProperties(O, kind) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - var keys = objectKeys(O); - if (kind === 'key') { - return keys; - } - if (kind === 'value' || kind === 'key+value') { - var results = []; - forEach(keys, function (key) { - if ($isEnumerable(O, key)) { - $pushApply(results, [ - kind === 'value' ? O[key] : [key, O[key]] - ]); - } - }); - return results; - } - throw new $TypeError('Assertion failed: "kind" is not "key", "value", or "key+value": ' + kind); -}; diff --git a/node_modules/es-abstract/2020/FlattenIntoArray.js b/node_modules/es-abstract/2020/FlattenIntoArray.js deleted file mode 100644 index 6429ee797..000000000 --- a/node_modules/es-abstract/2020/FlattenIntoArray.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var Call = require('./Call'); -var CreateDataPropertyOrThrow = require('./CreateDataPropertyOrThrow'); -var Get = require('./Get'); -var HasProperty = require('./HasProperty'); -var IsArray = require('./IsArray'); -var LengthOfArrayLike = require('./LengthOfArrayLike'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/11.0/#sec-flattenintoarray - -// eslint-disable-next-line max-params -module.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) { - var mapperFunction; - if (arguments.length > 5) { - mapperFunction = arguments[5]; - } - - var targetIndex = start; - var sourceIndex = 0; - while (sourceIndex < sourceLen) { - var P = ToString(sourceIndex); - var exists = HasProperty(source, P); - if (exists === true) { - var element = Get(source, P); - if (typeof mapperFunction !== 'undefined') { - if (arguments.length <= 6) { - throw new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided'); - } - element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]); - } - var shouldFlatten = false; - if (depth > 0) { - shouldFlatten = IsArray(element); - } - if (shouldFlatten) { - var elementLen = LengthOfArrayLike(element); - targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1); - } else { - if (targetIndex >= MAX_SAFE_INTEGER) { - throw new $TypeError('index too large'); - } - CreateDataPropertyOrThrow(target, ToString(targetIndex), element); - targetIndex += 1; - } - } - sourceIndex += 1; - } - - return targetIndex; -}; diff --git a/node_modules/es-abstract/2020/FromPropertyDescriptor.js b/node_modules/es-abstract/2020/FromPropertyDescriptor.js deleted file mode 100644 index 9a69a2605..000000000 --- a/node_modules/es-abstract/2020/FromPropertyDescriptor.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor - -module.exports = function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - var obj = {}; - if ('[[Value]]' in Desc) { - obj.value = Desc['[[Value]]']; - } - if ('[[Writable]]' in Desc) { - obj.writable = Desc['[[Writable]]']; - } - if ('[[Get]]' in Desc) { - obj.get = Desc['[[Get]]']; - } - if ('[[Set]]' in Desc) { - obj.set = Desc['[[Set]]']; - } - if ('[[Enumerable]]' in Desc) { - obj.enumerable = Desc['[[Enumerable]]']; - } - if ('[[Configurable]]' in Desc) { - obj.configurable = Desc['[[Configurable]]']; - } - return obj; -}; diff --git a/node_modules/es-abstract/2020/Get.js b/node_modules/es-abstract/2020/Get.js deleted file mode 100644 index 681055a2f..000000000 --- a/node_modules/es-abstract/2020/Get.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var inspect = require('object-inspect'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -/** - * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - -module.exports = function Get(O, P) { - // 7.3.1.1 - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); - } - // 7.3.1.3 - return O[P]; -}; diff --git a/node_modules/es-abstract/2020/GetIterator.js b/node_modules/es-abstract/2020/GetIterator.js deleted file mode 100644 index 0e74c1736..000000000 --- a/node_modules/es-abstract/2020/GetIterator.js +++ /dev/null @@ -1,65 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $asyncIterator = GetIntrinsic('%Symbol.asyncIterator%', true); - -var inspect = require('object-inspect'); -var hasSymbols = require('has-symbols')(); - -var getIteratorMethod = require('../helpers/getIteratorMethod'); -var AdvanceStringIndex = require('./AdvanceStringIndex'); -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsArray = require('./IsArray'); -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-getiterator -module.exports = function GetIterator(obj, hint, method) { - var actualHint = hint; - if (arguments.length < 2) { - actualHint = 'sync'; - } - if (actualHint !== 'sync' && actualHint !== 'async') { - throw new $TypeError("Assertion failed: `hint` must be one of 'sync' or 'async', got " + inspect(hint)); - } - - var actualMethod = method; - if (arguments.length < 3) { - if (actualHint === 'async') { - if (hasSymbols && $asyncIterator) { - actualMethod = GetMethod(obj, $asyncIterator); - } - if (actualMethod === undefined) { - throw new $TypeError("async from sync iterators aren't currently supported"); - } - } else { - actualMethod = getIteratorMethod( - { - AdvanceStringIndex: AdvanceStringIndex, - GetMethod: GetMethod, - IsArray: IsArray, - Type: Type - }, - obj - ); - } - } - var iterator = Call(actualMethod, obj); - if (Type(iterator) !== 'Object') { - throw new $TypeError('iterator must return an object'); - } - - return iterator; - - // TODO: This should return an IteratorRecord - /* - var nextMethod = GetV(iterator, 'next'); - return { - '[[Iterator]]': iterator, - '[[NextMethod]]': nextMethod, - '[[Done]]': false - }; - */ -}; diff --git a/node_modules/es-abstract/2020/GetMethod.js b/node_modules/es-abstract/2020/GetMethod.js deleted file mode 100644 index 775d3fb95..000000000 --- a/node_modules/es-abstract/2020/GetMethod.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetV = require('./GetV'); -var IsCallable = require('./IsCallable'); -var IsPropertyKey = require('./IsPropertyKey'); - -/** - * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - -module.exports = function GetMethod(O, P) { - // 7.3.9.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return void 0; - } - - // 7.3.9.5 - if (!IsCallable(func)) { - throw new $TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; -}; diff --git a/node_modules/es-abstract/2020/GetOwnPropertyKeys.js b/node_modules/es-abstract/2020/GetOwnPropertyKeys.js deleted file mode 100644 index b8f4167f7..000000000 --- a/node_modules/es-abstract/2020/GetOwnPropertyKeys.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var hasSymbols = require('has-symbols')(); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $gOPS = hasSymbols && GetIntrinsic('%Object.getOwnPropertySymbols%'); -var keys = require('object-keys'); - -var esType = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys - -module.exports = function GetOwnPropertyKeys(O, Type) { - if (esType(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (Type === 'Symbol') { - return $gOPS ? $gOPS(O) : []; - } - if (Type === 'String') { - if (!$gOPN) { - return keys(O); - } - return $gOPN(O); - } - throw new $TypeError('Assertion failed: `Type` must be `"String"` or `"Symbol"`'); -}; diff --git a/node_modules/es-abstract/2020/GetPrototypeFromConstructor.js b/node_modules/es-abstract/2020/GetPrototypeFromConstructor.js deleted file mode 100644 index 5f369cad8..000000000 --- a/node_modules/es-abstract/2020/GetPrototypeFromConstructor.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Function = GetIntrinsic('%Function%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-getprototypefromconstructor - -module.exports = function GetPrototypeFromConstructor(constructor, intrinsicDefaultProto) { - var intrinsic = GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - if (!IsConstructor(constructor)) { - throw new $TypeError('Assertion failed: `constructor` must be a constructor'); - } - var proto = Get(constructor, 'prototype'); - if (Type(proto) !== 'Object') { - if (!(constructor instanceof $Function)) { - // ignore other realms, for now - throw new $TypeError('cross-realm constructors not currently supported'); - } - proto = intrinsic; - } - return proto; -}; diff --git a/node_modules/es-abstract/2020/GetSubstitution.js b/node_modules/es-abstract/2020/GetSubstitution.js deleted file mode 100644 index a5a7a1bee..000000000 --- a/node_modules/es-abstract/2020/GetSubstitution.js +++ /dev/null @@ -1,128 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var every = require('../helpers/every'); - -var $charAt = callBound('String.prototype.charAt'); -var $strSlice = callBound('String.prototype.slice'); -var $indexOf = callBound('String.prototype.indexOf'); -var $parseInt = parseInt; - -var isDigit = regexTester(/^[0-9]$/); - -var inspect = require('object-inspect'); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var IsInteger = require('./IsInteger'); -var ToObject = require('./ToObject'); -var ToString = require('./ToString'); -var Type = require('./Type'); - -var canDistinguishSparseFromUndefined = 0 in [undefined]; // IE 6 - 8 have a bug where this returns false - -var isStringOrHole = function (capture, index, arr) { - return Type(capture) === 'String' || (canDistinguishSparseFromUndefined ? !(index in arr) : Type(capture) === 'Undefined'); -}; - -// http://262.ecma-international.org/9.0/#sec-getsubstitution - -// eslint-disable-next-line max-statements, max-params, max-lines-per-function -module.exports = function GetSubstitution(matched, str, position, captures, namedCaptures, replacement) { - if (Type(matched) !== 'String') { - throw new $TypeError('Assertion failed: `matched` must be a String'); - } - var matchLength = matched.length; - - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `str` must be a String'); - } - var stringLength = str.length; - - if (!IsInteger(position) || position < 0 || position > stringLength) { - throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got ' + inspect(position)); - } - - if (!IsArray(captures) || !every(captures, isStringOrHole)) { - throw new $TypeError('Assertion failed: `captures` must be a List of Strings, got ' + inspect(captures)); - } - - if (Type(replacement) !== 'String') { - throw new $TypeError('Assertion failed: `replacement` must be a String'); - } - - var tailPos = position + matchLength; - var m = captures.length; - if (Type(namedCaptures) !== 'Undefined') { - namedCaptures = ToObject(namedCaptures); // eslint-disable-line no-param-reassign - } - - var result = ''; - for (var i = 0; i < replacement.length; i += 1) { - // if this is a $, and it's not the end of the replacement - var current = $charAt(replacement, i); - var isLast = (i + 1) >= replacement.length; - var nextIsLast = (i + 2) >= replacement.length; - if (current === '$' && !isLast) { - var next = $charAt(replacement, i + 1); - if (next === '$') { - result += '$'; - i += 1; - } else if (next === '&') { - result += matched; - i += 1; - } else if (next === '`') { - result += position === 0 ? '' : $strSlice(str, 0, position - 1); - i += 1; - } else if (next === "'") { - result += tailPos >= stringLength ? '' : $strSlice(str, tailPos); - i += 1; - } else { - var nextNext = nextIsLast ? null : $charAt(replacement, i + 2); - if (isDigit(next) && next !== '0' && (nextIsLast || !isDigit(nextNext))) { - // $1 through $9, and not followed by a digit - var n = $parseInt(next, 10); - // if (n > m, impl-defined) - result += n <= m && Type(captures[n - 1]) === 'Undefined' ? '' : captures[n - 1]; - i += 1; - } else if (isDigit(next) && (nextIsLast || isDigit(nextNext))) { - // $00 through $99 - var nn = next + nextNext; - var nnI = $parseInt(nn, 10) - 1; - // if nn === '00' or nn > m, impl-defined - result += nn <= m && Type(captures[nnI]) === 'Undefined' ? '' : captures[nnI]; - i += 2; - } else if (next === '<') { - // eslint-disable-next-line max-depth - if (Type(namedCaptures) === 'Undefined') { - result += '$<'; - i += 2; - } else { - var endIndex = $indexOf(replacement, '>', i); - // eslint-disable-next-line max-depth - if (endIndex > -1) { - var groupName = $strSlice(replacement, i + '$<'.length, endIndex); - var capture = Get(namedCaptures, groupName); - // eslint-disable-next-line max-depth - if (Type(capture) !== 'Undefined') { - result += ToString(capture); - } - i += ('<' + groupName + '>').length; - } - } - } else { - result += '$'; - } - } - } else { - // the final $, or else not a $ - result += $charAt(replacement, i); - } - } - return result; -}; diff --git a/node_modules/es-abstract/2020/GetV.js b/node_modules/es-abstract/2020/GetV.js deleted file mode 100644 index 2d8cc8246..000000000 --- a/node_modules/es-abstract/2020/GetV.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var ToObject = require('./ToObject'); - -/** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - -module.exports = function GetV(V, P) { - // 7.3.2.1 - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = ToObject(V); - - // 7.3.2.4 - return O[P]; -}; diff --git a/node_modules/es-abstract/2020/HasOwnProperty.js b/node_modules/es-abstract/2020/HasOwnProperty.js deleted file mode 100644 index 04d28495f..000000000 --- a/node_modules/es-abstract/2020/HasOwnProperty.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var has = require('has'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - -module.exports = function HasOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return has(O, P); -}; diff --git a/node_modules/es-abstract/2020/HasProperty.js b/node_modules/es-abstract/2020/HasProperty.js deleted file mode 100644 index b341654e7..000000000 --- a/node_modules/es-abstract/2020/HasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - -module.exports = function HasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2020/HourFromTime.js b/node_modules/es-abstract/2020/HourFromTime.js deleted file mode 100644 index f963bfb68..000000000 --- a/node_modules/es-abstract/2020/HourFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerHour = timeConstants.msPerHour; -var HoursPerDay = timeConstants.HoursPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function HourFromTime(t) { - return modulo(floor(t / msPerHour), HoursPerDay); -}; diff --git a/node_modules/es-abstract/2020/InLeapYear.js b/node_modules/es-abstract/2020/InLeapYear.js deleted file mode 100644 index bfe0c451f..000000000 --- a/node_modules/es-abstract/2020/InLeapYear.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DaysInYear = require('./DaysInYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function InLeapYear(t) { - var days = DaysInYear(YearFromTime(t)); - if (days === 365) { - return 0; - } - if (days === 366) { - return 1; - } - throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); -}; diff --git a/node_modules/es-abstract/2020/InstanceofOperator.js b/node_modules/es-abstract/2020/InstanceofOperator.js deleted file mode 100644 index a3c4d2375..000000000 --- a/node_modules/es-abstract/2020/InstanceofOperator.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $hasInstance = GetIntrinsic('Symbol.hasInstance', true); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var OrdinaryHasInstance = require('./OrdinaryHasInstance'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-instanceofoperator - -module.exports = function InstanceofOperator(O, C) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var instOfHandler = $hasInstance ? GetMethod(C, $hasInstance) : void 0; - if (typeof instOfHandler !== 'undefined') { - return ToBoolean(Call(instOfHandler, C, [O])); - } - if (!IsCallable(C)) { - throw new $TypeError('`C` is not Callable'); - } - return OrdinaryHasInstance(C, O); -}; diff --git a/node_modules/es-abstract/2020/Invoke.js b/node_modules/es-abstract/2020/Invoke.js deleted file mode 100644 index d4214ee51..000000000 --- a/node_modules/es-abstract/2020/Invoke.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var IsArray = require('./IsArray'); -var GetV = require('./GetV'); -var IsPropertyKey = require('./IsPropertyKey'); - -// https://ecma-international.org/ecma-262/6.0/#sec-invoke - -module.exports = function Invoke(O, P) { - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - var argumentsList = arguments.length > 2 ? arguments[2] : []; - if (!IsArray(argumentsList)) { - throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List'); - } - var func = GetV(O, P); - return Call(func, O, argumentsList); -}; diff --git a/node_modules/es-abstract/2020/IsAccessorDescriptor.js b/node_modules/es-abstract/2020/IsAccessorDescriptor.js deleted file mode 100644 index 78563e7ec..000000000 --- a/node_modules/es-abstract/2020/IsAccessorDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor - -module.exports = function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2020/IsArray.js b/node_modules/es-abstract/2020/IsArray.js deleted file mode 100644 index f933cec03..000000000 --- a/node_modules/es-abstract/2020/IsArray.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Array = GetIntrinsic('%Array%'); - -// eslint-disable-next-line global-require -var toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isarray - -module.exports = $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; -}; diff --git a/node_modules/es-abstract/2020/IsBigIntElementType.js b/node_modules/es-abstract/2020/IsBigIntElementType.js deleted file mode 100644 index e3f58a949..000000000 --- a/node_modules/es-abstract/2020/IsBigIntElementType.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -// https://262.ecma-international.org/11.0/#sec-isbigintelementtype - -module.exports = function IsBigIntElementType(type) { - return type === 'BigUint64' || type === 'BigInt64'; -}; diff --git a/node_modules/es-abstract/2020/IsCallable.js b/node_modules/es-abstract/2020/IsCallable.js deleted file mode 100644 index 3a69b1926..000000000 --- a/node_modules/es-abstract/2020/IsCallable.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.11 - -module.exports = require('is-callable'); diff --git a/node_modules/es-abstract/2020/IsConcatSpreadable.js b/node_modules/es-abstract/2020/IsConcatSpreadable.js deleted file mode 100644 index 141b33414..000000000 --- a/node_modules/es-abstract/2020/IsConcatSpreadable.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $isConcatSpreadable = GetIntrinsic('%Symbol.isConcatSpreadable%', true); - -var Get = require('./Get'); -var IsArray = require('./IsArray'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - -module.exports = function IsConcatSpreadable(O) { - if (Type(O) !== 'Object') { - return false; - } - if ($isConcatSpreadable) { - var spreadable = Get(O, $isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return ToBoolean(spreadable); - } - } - return IsArray(O); -}; diff --git a/node_modules/es-abstract/2020/IsConstructor.js b/node_modules/es-abstract/2020/IsConstructor.js deleted file mode 100644 index fe626e183..000000000 --- a/node_modules/es-abstract/2020/IsConstructor.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('../GetIntrinsic.js'); - -var $construct = GetIntrinsic('%Reflect.construct%', true); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -try { - DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} }); -} catch (e) { - // Accessor properties aren't supported - DefinePropertyOrThrow = null; -} - -// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor - -if (DefinePropertyOrThrow && $construct) { - var isConstructorMarker = {}; - var badArrayLike = {}; - DefinePropertyOrThrow(badArrayLike, 'length', { - '[[Get]]': function () { - throw isConstructorMarker; - }, - '[[Enumerable]]': true - }); - - module.exports = function IsConstructor(argument) { - try { - // `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`: - $construct(argument, badArrayLike); - } catch (err) { - return err === isConstructorMarker; - } - }; -} else { - module.exports = function IsConstructor(argument) { - // unfortunately there's no way to truly check this without try/catch `new argument` in old environments - return typeof argument === 'function' && !!argument.prototype; - }; -} diff --git a/node_modules/es-abstract/2020/IsDataDescriptor.js b/node_modules/es-abstract/2020/IsDataDescriptor.js deleted file mode 100644 index 00d14a60e..000000000 --- a/node_modules/es-abstract/2020/IsDataDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var assertRecord = require('../helpers/assertRecord'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor - -module.exports = function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/2020/IsExtensible.js b/node_modules/es-abstract/2020/IsExtensible.js deleted file mode 100644 index 9df5b80b1..000000000 --- a/node_modules/es-abstract/2020/IsExtensible.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var isPrimitive = require('../helpers/isPrimitive'); - -var $preventExtensions = $Object.preventExtensions; -var $isExtensible = $Object.isExtensible; - -// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o - -module.exports = $preventExtensions - ? function IsExtensible(obj) { - return !isPrimitive(obj) && $isExtensible(obj); - } - : function IsExtensible(obj) { - return !isPrimitive(obj); - }; diff --git a/node_modules/es-abstract/2020/IsGenericDescriptor.js b/node_modules/es-abstract/2020/IsGenericDescriptor.js deleted file mode 100644 index 95b1d353c..000000000 --- a/node_modules/es-abstract/2020/IsGenericDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var assertRecord = require('../helpers/assertRecord'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isgenericdescriptor - -module.exports = function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) { - return true; - } - - return false; -}; diff --git a/node_modules/es-abstract/2020/IsInteger.js b/node_modules/es-abstract/2020/IsInteger.js deleted file mode 100644 index f4d1a2a7c..000000000 --- a/node_modules/es-abstract/2020/IsInteger.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isinteger - -module.exports = function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var absValue = abs(argument); - return floor(absValue) === absValue; -}; diff --git a/node_modules/es-abstract/2020/IsNoTearConfiguration.js b/node_modules/es-abstract/2020/IsNoTearConfiguration.js deleted file mode 100644 index f0d280873..000000000 --- a/node_modules/es-abstract/2020/IsNoTearConfiguration.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var IsUnclampedIntegerElementType = require('./IsUnclampedIntegerElementType'); -var IsBigIntElementType = require('./IsBigIntElementType'); - -// https://262.ecma-international.org/11.0/#sec-isnotearconfiguration - -module.exports = function IsNoTearConfiguration(type, order) { - if (IsUnclampedIntegerElementType(type)) { - return true; - } - if (IsBigIntElementType(type) && order !== 'Init' && order !== 'Unordered') { - return true; - } - return false; -}; diff --git a/node_modules/es-abstract/2020/IsNonNegativeInteger.js b/node_modules/es-abstract/2020/IsNonNegativeInteger.js deleted file mode 100644 index ae1f69c96..000000000 --- a/node_modules/es-abstract/2020/IsNonNegativeInteger.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var IsInteger = require('./IsInteger'); - -// https://262.ecma-international.org/11.0/#sec-isnonnegativeinteger - -module.exports = function IsNonNegativeInteger(argument) { - return !!IsInteger(argument) && argument >= 0; -}; diff --git a/node_modules/es-abstract/2020/IsPromise.js b/node_modules/es-abstract/2020/IsPromise.js deleted file mode 100644 index a551ae0c8..000000000 --- a/node_modules/es-abstract/2020/IsPromise.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $PromiseThen = callBound('Promise.prototype.then', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ispromise - -module.exports = function IsPromise(x) { - if (Type(x) !== 'Object') { - return false; - } - if (!$PromiseThen) { // Promises are not supported - return false; - } - try { - $PromiseThen(x); // throws if not a promise - } catch (e) { - return false; - } - return true; -}; diff --git a/node_modules/es-abstract/2020/IsPropertyKey.js b/node_modules/es-abstract/2020/IsPropertyKey.js deleted file mode 100644 index f43ab581c..000000000 --- a/node_modules/es-abstract/2020/IsPropertyKey.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey - -module.exports = function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; -}; diff --git a/node_modules/es-abstract/2020/IsRegExp.js b/node_modules/es-abstract/2020/IsRegExp.js deleted file mode 100644 index e1054813f..000000000 --- a/node_modules/es-abstract/2020/IsRegExp.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $match = GetIntrinsic('%Symbol.match%', true); - -var hasRegExpMatcher = require('is-regex'); - -var ToBoolean = require('./ToBoolean'); - -// https://ecma-international.org/ecma-262/6.0/#sec-isregexp - -module.exports = function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if ($match) { - var isRegExp = argument[$match]; - if (typeof isRegExp !== 'undefined') { - return ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); -}; diff --git a/node_modules/es-abstract/2020/IsStringPrefix.js b/node_modules/es-abstract/2020/IsStringPrefix.js deleted file mode 100644 index 4958544ce..000000000 --- a/node_modules/es-abstract/2020/IsStringPrefix.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPrefixOf = require('../helpers/isPrefixOf'); - -// var callBound = require('call-bind/callBound'); - -// var $charAt = callBound('String.prototype.charAt'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-isstringprefix - -module.exports = function IsStringPrefix(p, q) { - if (Type(p) !== 'String') { - throw new $TypeError('Assertion failed: "p" must be a String'); - } - - if (Type(q) !== 'String') { - throw new $TypeError('Assertion failed: "q" must be a String'); - } - - return isPrefixOf(p, q); - /* - if (p === q || p === '') { - return true; - } - - var pLength = p.length; - var qLength = q.length; - if (pLength >= qLength) { - return false; - } - - // assert: pLength < qLength - - for (var i = 0; i < pLength; i += 1) { - if ($charAt(p, i) !== $charAt(q, i)) { - return false; - } - } - return true; - */ -}; diff --git a/node_modules/es-abstract/2020/IsUnclampedIntegerElementType.js b/node_modules/es-abstract/2020/IsUnclampedIntegerElementType.js deleted file mode 100644 index 15237b1f2..000000000 --- a/node_modules/es-abstract/2020/IsUnclampedIntegerElementType.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -// https://262.ecma-international.org/11.0/#sec-isunclampedintegerelementtype - -module.exports = function IsUnclampedIntegerElementType(type) { - return type === 'Int8' - || type === 'Uint8' - || type === 'Int16' - || type === 'Uint16' - || type === 'Int32' - || type === 'Uint32'; -}; diff --git a/node_modules/es-abstract/2020/IsUnsignedElementType.js b/node_modules/es-abstract/2020/IsUnsignedElementType.js deleted file mode 100644 index 5eb1e7c45..000000000 --- a/node_modules/es-abstract/2020/IsUnsignedElementType.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -// https://262.ecma-international.org/11.0/#sec-isunsignedelementtype - -module.exports = function IsUnsignedElementType(type) { - return type === 'Uint8' - || type === 'Uint8C' - || type === 'Uint16' - || type === 'Uint32' - || type === 'BigUint64'; -}; diff --git a/node_modules/es-abstract/2020/IterableToList.js b/node_modules/es-abstract/2020/IterableToList.js deleted file mode 100644 index d994d741a..000000000 --- a/node_modules/es-abstract/2020/IterableToList.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var $arrayPush = callBound('Array.prototype.push'); - -var GetIterator = require('./GetIterator'); -var IteratorStep = require('./IteratorStep'); -var IteratorValue = require('./IteratorValue'); - -// https://262.ecma-international.org/9.0/#sec-iterabletolist - -module.exports = function IterableToList(items, method) { - var iterator = GetIterator(items, 'sync', method); - var values = []; - var next = true; - while (next) { - next = IteratorStep(iterator); - if (next) { - var nextValue = IteratorValue(next); - $arrayPush(values, nextValue); - } - } - return values; -}; diff --git a/node_modules/es-abstract/2020/IteratorClose.js b/node_modules/es-abstract/2020/IteratorClose.js deleted file mode 100644 index dd1118df7..000000000 --- a/node_modules/es-abstract/2020/IteratorClose.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Call = require('./Call'); -var GetMethod = require('./GetMethod'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose - -module.exports = function IteratorClose(iterator, completion) { - if (Type(iterator) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterator) is not Object'); - } - if (!IsCallable(completion)) { - throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); - } - var completionThunk = completion; - - var iteratorReturn = GetMethod(iterator, 'return'); - - if (typeof iteratorReturn === 'undefined') { - return completionThunk(); - } - - var completionRecord; - try { - var innerResult = Call(iteratorReturn, iterator, []); - } catch (e) { - // if we hit here, then "e" is the innerResult completion that needs re-throwing - - // if the completion is of type "throw", this will throw. - completionThunk(); - completionThunk = null; // ensure it's not called twice. - - // if not, then return the innerResult completion - throw e; - } - completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does - completionThunk = null; // ensure it's not called twice. - - if (Type(innerResult) !== 'Object') { - throw new $TypeError('iterator .return must return an object'); - } - - return completionRecord; -}; diff --git a/node_modules/es-abstract/2020/IteratorComplete.js b/node_modules/es-abstract/2020/IteratorComplete.js deleted file mode 100644 index ed4efa37d..000000000 --- a/node_modules/es-abstract/2020/IteratorComplete.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var ToBoolean = require('./ToBoolean'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete - -module.exports = function IteratorComplete(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return ToBoolean(Get(iterResult, 'done')); -}; diff --git a/node_modules/es-abstract/2020/IteratorNext.js b/node_modules/es-abstract/2020/IteratorNext.js deleted file mode 100644 index cf80655b9..000000000 --- a/node_modules/es-abstract/2020/IteratorNext.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Invoke = require('./Invoke'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratornext - -module.exports = function IteratorNext(iterator, value) { - var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); - if (Type(result) !== 'Object') { - throw new $TypeError('iterator next must return an object'); - } - return result; -}; diff --git a/node_modules/es-abstract/2020/IteratorStep.js b/node_modules/es-abstract/2020/IteratorStep.js deleted file mode 100644 index 41b9d1b25..000000000 --- a/node_modules/es-abstract/2020/IteratorStep.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var IteratorComplete = require('./IteratorComplete'); -var IteratorNext = require('./IteratorNext'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep - -module.exports = function IteratorStep(iterator) { - var result = IteratorNext(iterator); - var done = IteratorComplete(result); - return done === true ? false : result; -}; - diff --git a/node_modules/es-abstract/2020/IteratorValue.js b/node_modules/es-abstract/2020/IteratorValue.js deleted file mode 100644 index d15d8aebb..000000000 --- a/node_modules/es-abstract/2020/IteratorValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue - -module.exports = function IteratorValue(iterResult) { - if (Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return Get(iterResult, 'value'); -}; - diff --git a/node_modules/es-abstract/2020/LengthOfArrayLike.js b/node_modules/es-abstract/2020/LengthOfArrayLike.js deleted file mode 100644 index 132c4d584..000000000 --- a/node_modules/es-abstract/2020/LengthOfArrayLike.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var ToLength = require('./ToLength'); -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-lengthofarraylike - -module.exports = function LengthOfArrayLike(obj) { - if (Type(obj) !== 'Object') { - throw new $TypeError('Assertion failed: `obj` must be an Object'); - } - return ToLength(Get(obj, 'length')); -}; - -// TODO: use this all over diff --git a/node_modules/es-abstract/2020/MakeDate.js b/node_modules/es-abstract/2020/MakeDate.js deleted file mode 100644 index efeb6452e..000000000 --- a/node_modules/es-abstract/2020/MakeDate.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.13 - -module.exports = function MakeDate(day, time) { - if (!$isFinite(day) || !$isFinite(time)) { - return NaN; - } - return (day * msPerDay) + time; -}; diff --git a/node_modules/es-abstract/2020/MakeDay.js b/node_modules/es-abstract/2020/MakeDay.js deleted file mode 100644 index 13f568633..000000000 --- a/node_modules/es-abstract/2020/MakeDay.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $DateUTC = GetIntrinsic('%Date.UTC%'); - -var $isFinite = require('../helpers/isFinite'); - -var DateFromTime = require('./DateFromTime'); -var Day = require('./Day'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var MonthFromTime = require('./MonthFromTime'); -var ToInteger = require('./ToInteger'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.12 - -module.exports = function MakeDay(year, month, date) { - if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { - return NaN; - } - var y = ToInteger(year); - var m = ToInteger(month); - var dt = ToInteger(date); - var ym = y + floor(m / 12); - var mn = modulo(m, 12); - var t = $DateUTC(ym, mn, 1); - if (YearFromTime(t) !== ym || MonthFromTime(t) !== mn || DateFromTime(t) !== 1) { - return NaN; - } - return Day(t) + dt - 1; -}; diff --git a/node_modules/es-abstract/2020/MakeTime.js b/node_modules/es-abstract/2020/MakeTime.js deleted file mode 100644 index 34cb4dcca..000000000 --- a/node_modules/es-abstract/2020/MakeTime.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var msPerMinute = timeConstants.msPerMinute; -var msPerHour = timeConstants.msPerHour; - -var ToInteger = require('./ToInteger'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.11 - -module.exports = function MakeTime(hour, min, sec, ms) { - if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { - return NaN; - } - var h = ToInteger(hour); - var m = ToInteger(min); - var s = ToInteger(sec); - var milli = ToInteger(ms); - var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; - return t; -}; diff --git a/node_modules/es-abstract/2020/MinFromTime.js b/node_modules/es-abstract/2020/MinFromTime.js deleted file mode 100644 index a0c631d4c..000000000 --- a/node_modules/es-abstract/2020/MinFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerMinute = timeConstants.msPerMinute; -var MinutesPerHour = timeConstants.MinutesPerHour; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function MinFromTime(t) { - return modulo(floor(t / msPerMinute), MinutesPerHour); -}; diff --git a/node_modules/es-abstract/2020/MonthFromTime.js b/node_modules/es-abstract/2020/MonthFromTime.js deleted file mode 100644 index a482a7df9..000000000 --- a/node_modules/es-abstract/2020/MonthFromTime.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function MonthFromTime(t) { - var day = DayWithinYear(t); - if (0 <= day && day < 31) { - return 0; - } - var leap = InLeapYear(t); - if (31 <= day && day < (59 + leap)) { - return 1; - } - if ((59 + leap) <= day && day < (90 + leap)) { - return 2; - } - if ((90 + leap) <= day && day < (120 + leap)) { - return 3; - } - if ((120 + leap) <= day && day < (151 + leap)) { - return 4; - } - if ((151 + leap) <= day && day < (181 + leap)) { - return 5; - } - if ((181 + leap) <= day && day < (212 + leap)) { - return 6; - } - if ((212 + leap) <= day && day < (243 + leap)) { - return 7; - } - if ((243 + leap) <= day && day < (273 + leap)) { - return 8; - } - if ((273 + leap) <= day && day < (304 + leap)) { - return 9; - } - if ((304 + leap) <= day && day < (334 + leap)) { - return 10; - } - if ((334 + leap) <= day && day < (365 + leap)) { - return 11; - } -}; diff --git a/node_modules/es-abstract/2020/Number/add.js b/node_modules/es-abstract/2020/Number/add.js deleted file mode 100644 index c2c206318..000000000 --- a/node_modules/es-abstract/2020/Number/add.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isNaN = require('../../helpers/isNaN'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-add - -module.exports = function NumberAdd(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - - if (isNaN(x) || isNaN(y) || (x === Infinity && y === -Infinity) || (x === -Infinity && y === Infinity)) { - return NaN; - } - - if ((x === Infinity && y === Infinity) || (x === -Infinity && y === -Infinity)) { - return x; - } - - if (x === Infinity) { - return x; - } - - if (y === Infinity) { - return y; - } - - if (x === y && x === 0) { - return Infinity / x === -Infinity && Infinity / y === -Infinity ? -0 : +0; - } - - if (x === -y || -x === y) { - return +0; - } - - // shortcut for the actual spec mechanics - return x + y; -}; diff --git a/node_modules/es-abstract/2020/Number/bitwiseAND.js b/node_modules/es-abstract/2020/Number/bitwiseAND.js deleted file mode 100644 index a7159802d..000000000 --- a/node_modules/es-abstract/2020/Number/bitwiseAND.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var NumberBitwiseOp = require('../NumberBitwiseOp'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseAND - -module.exports = function NumberBitwiseAND(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - return NumberBitwiseOp('&', x, y); -}; diff --git a/node_modules/es-abstract/2020/Number/bitwiseNOT.js b/node_modules/es-abstract/2020/Number/bitwiseNOT.js deleted file mode 100644 index ae8032a78..000000000 --- a/node_modules/es-abstract/2020/Number/bitwiseNOT.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var ToInt32 = require('../ToInt32'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseNOT - -module.exports = function NumberBitwiseNOT(x) { - if (Type(x) !== 'Number') { - throw new $TypeError('Assertion failed: `x` argument must be a Number'); - } - var oldValue = ToInt32(x); - // Return the result of applying the bitwise operator op to lnum and rnum. The result is a signed 32-bit integer. - return ~oldValue; -}; diff --git a/node_modules/es-abstract/2020/Number/bitwiseOR.js b/node_modules/es-abstract/2020/Number/bitwiseOR.js deleted file mode 100644 index c5e67b968..000000000 --- a/node_modules/es-abstract/2020/Number/bitwiseOR.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var NumberBitwiseOp = require('../NumberBitwiseOp'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseOR - -module.exports = function NumberBitwiseOR(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - return NumberBitwiseOp('|', x, y); -}; diff --git a/node_modules/es-abstract/2020/Number/bitwiseXOR.js b/node_modules/es-abstract/2020/Number/bitwiseXOR.js deleted file mode 100644 index a4030e9a4..000000000 --- a/node_modules/es-abstract/2020/Number/bitwiseXOR.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var NumberBitwiseOp = require('../NumberBitwiseOp'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseXOR - -module.exports = function NumberBitwiseXOR(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - return NumberBitwiseOp('^', x, y); -}; diff --git a/node_modules/es-abstract/2020/Number/divide.js b/node_modules/es-abstract/2020/Number/divide.js deleted file mode 100644 index 65244625d..000000000 --- a/node_modules/es-abstract/2020/Number/divide.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isFinite = require('../../helpers/isFinite'); -var isNaN = require('../../helpers/isNaN'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-divide - -module.exports = function NumberDivide(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - if (isNaN(x) || isNaN(y) || (!isFinite(x) && !isFinite(y))) { - return NaN; - } - // shortcut for the actual spec mechanics - return x / y; -}; diff --git a/node_modules/es-abstract/2020/Number/equal.js b/node_modules/es-abstract/2020/Number/equal.js deleted file mode 100644 index db68afa46..000000000 --- a/node_modules/es-abstract/2020/Number/equal.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isNaN = require('../../helpers/isNaN'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-equal - -module.exports = function NumberEqual(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - if (isNaN(x) || isNaN(y)) { - return false; - } - // shortcut for the actual spec mechanics - return x === y; -}; diff --git a/node_modules/es-abstract/2020/Number/exponentiate.js b/node_modules/es-abstract/2020/Number/exponentiate.js deleted file mode 100644 index bafa7b11f..000000000 --- a/node_modules/es-abstract/2020/Number/exponentiate.js +++ /dev/null @@ -1,77 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -// var isNegativeZero = require('is-negative-zero'); - -var $pow = GetIntrinsic('%Math.pow%'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -/* -var abs = require('../../helpers/abs'); -var isFinite = require('../../helpers/isFinite'); -var isNaN = require('../../helpers/isNaN'); - -var IsInteger = require('../IsInteger'); -*/ -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-exponentiate - -/* eslint max-lines-per-function: 0, max-statements: 0 */ - -module.exports = function NumberExponentiate(base, exponent) { - if (Type(base) !== 'Number' || Type(exponent) !== 'Number') { - throw new $TypeError('Assertion failed: `base` and `exponent` arguments must be Numbers'); - } - return $pow(base, exponent); - /* - if (isNaN(exponent)) { - return NaN; - } - if (exponent === 0) { - return 1; - } - if (isNaN(base)) { - return NaN; - } - var aB = abs(base); - if (aB > 1 && exponent === Infinity) { - return Infinity; - } - if (aB > 1 && exponent === -Infinity) { - return 0; - } - if (aB === 1 && (exponent === Infinity || exponent === -Infinity)) { - return NaN; - } - if (aB < 1 && exponent === Infinity) { - return +0; - } - if (aB < 1 && exponent === -Infinity) { - return Infinity; - } - if (base === Infinity) { - return exponent > 0 ? Infinity : 0; - } - if (base === -Infinity) { - var isOdd = true; - if (exponent > 0) { - return isOdd ? -Infinity : Infinity; - } - return isOdd ? -0 : 0; - } - if (exponent > 0) { - return isNegativeZero(base) ? Infinity : 0; - } - if (isNegativeZero(base)) { - if (exponent > 0) { - return isOdd ? -0 : 0; - } - return isOdd ? -Infinity : Infinity; - } - if (base < 0 && isFinite(base) && isFinite(exponent) && !IsInteger(exponent)) { - return NaN; - } - */ -}; diff --git a/node_modules/es-abstract/2020/Number/index.js b/node_modules/es-abstract/2020/Number/index.js deleted file mode 100644 index 63ec52da6..000000000 --- a/node_modules/es-abstract/2020/Number/index.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var add = require('./add'); -var bitwiseAND = require('./bitwiseAND'); -var bitwiseNOT = require('./bitwiseNOT'); -var bitwiseOR = require('./bitwiseOR'); -var bitwiseXOR = require('./bitwiseXOR'); -var divide = require('./divide'); -var equal = require('./equal'); -var exponentiate = require('./exponentiate'); -var leftShift = require('./leftShift'); -var lessThan = require('./lessThan'); -var multiply = require('./multiply'); -var remainder = require('./remainder'); -var sameValue = require('./sameValue'); -var sameValueZero = require('./sameValueZero'); -var signedRightShift = require('./signedRightShift'); -var subtract = require('./subtract'); -var toString = require('./toString'); -var unaryMinus = require('./unaryMinus'); -var unsignedRightShift = require('./unsignedRightShift'); - -module.exports = { - add: add, - bitwiseAND: bitwiseAND, - bitwiseNOT: bitwiseNOT, - bitwiseOR: bitwiseOR, - bitwiseXOR: bitwiseXOR, - divide: divide, - equal: equal, - exponentiate: exponentiate, - leftShift: leftShift, - lessThan: lessThan, - multiply: multiply, - remainder: remainder, - sameValue: sameValue, - sameValueZero: sameValueZero, - signedRightShift: signedRightShift, - subtract: subtract, - toString: toString, - unaryMinus: unaryMinus, - unsignedRightShift: unsignedRightShift -}; diff --git a/node_modules/es-abstract/2020/Number/leftShift.js b/node_modules/es-abstract/2020/Number/leftShift.js deleted file mode 100644 index 804fde4cd..000000000 --- a/node_modules/es-abstract/2020/Number/leftShift.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var ToInt32 = require('../ToInt32'); -var ToUint32 = require('../ToUint32'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-leftShift - -module.exports = function NumberLeftShift(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - - var lnum = ToInt32(x); - var rnum = ToUint32(y); - - var shiftCount = rnum & 0x1F; - - return lnum << shiftCount; -}; diff --git a/node_modules/es-abstract/2020/Number/lessThan.js b/node_modules/es-abstract/2020/Number/lessThan.js deleted file mode 100644 index 5fcac24e9..000000000 --- a/node_modules/es-abstract/2020/Number/lessThan.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isNaN = require('../../helpers/isNaN'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-lessThan - -module.exports = function NumberLessThan(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - - // If x is NaN, return undefined. - // If y is NaN, return undefined. - if (isNaN(x) || isNaN(y)) { - return void undefined; - } - - // shortcut for the actual spec mechanics - return x < y; -}; diff --git a/node_modules/es-abstract/2020/Number/multiply.js b/node_modules/es-abstract/2020/Number/multiply.js deleted file mode 100644 index 2a6c478a5..000000000 --- a/node_modules/es-abstract/2020/Number/multiply.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isNaN = require('../../helpers/isNaN'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-multiply - -module.exports = function NumberMultiply(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - - if (isNaN(x) || isNaN(y) || (x === 0 && !isFinite(y)) || (!isFinite(x) && y === 0)) { - return NaN; - } - if (!isFinite(x) && !isFinite(y)) { - return x === y ? Infinity : -Infinity; - } - if (!isFinite(x) && y !== 0) { - return x > 0 ? Infinity : -Infinity; - } - if (!isFinite(y) && x !== 0) { - return y > 0 ? Infinity : -Infinity; - } - - // shortcut for the actual spec mechanics - return x * y; -}; diff --git a/node_modules/es-abstract/2020/Number/remainder.js b/node_modules/es-abstract/2020/Number/remainder.js deleted file mode 100644 index bc6106402..000000000 --- a/node_modules/es-abstract/2020/Number/remainder.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isNaN = require('../../helpers/isNaN'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-remainder - -module.exports = function NumberRemainder(n, d) { - if (Type(n) !== 'Number' || Type(d) !== 'Number') { - throw new $TypeError('Assertion failed: `n` and `d` arguments must be Numbers'); - } - - // If either operand is NaN, the result is NaN. - // If the dividend is an infinity, or the divisor is a zero, or both, the result is NaN. - if (isNaN(n) || isNaN(d) || !isFinite(n) || d === 0) { - return NaN; - } - - // If the dividend is finite and the divisor is an infinity, the result equals the dividend. - // If the dividend is a zero and the divisor is nonzero and finite, the result is the same as the dividend. - if (!isFinite(d) || (n === 0 && d !== 0)) { - return n; - } - - // In the remaining cases, where neither an infinity, nor a zero, nor NaN is involved… - return n % d; -}; diff --git a/node_modules/es-abstract/2020/Number/sameValue.js b/node_modules/es-abstract/2020/Number/sameValue.js deleted file mode 100644 index 19efc379d..000000000 --- a/node_modules/es-abstract/2020/Number/sameValue.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var isNegativeZero = require('is-negative-zero'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); -var NumberSameValueZero = require('./sameValueZero'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-sameValue - -module.exports = function NumberSameValue(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - if (x === 0 && y === 0) { - return !(isNegativeZero(x) ^ isNegativeZero(y)); - } - return NumberSameValueZero(x, y); -}; diff --git a/node_modules/es-abstract/2020/Number/sameValueZero.js b/node_modules/es-abstract/2020/Number/sameValueZero.js deleted file mode 100644 index 5688198fe..000000000 --- a/node_modules/es-abstract/2020/Number/sameValueZero.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isNaN = require('../../helpers/isNaN'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-sameValueZero - -module.exports = function NumberSameValueZero(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - - var xNaN = isNaN(x); - var yNaN = isNaN(y); - if (xNaN || yNaN) { - return xNaN === yNaN; - } - return x === y; -}; diff --git a/node_modules/es-abstract/2020/Number/signedRightShift.js b/node_modules/es-abstract/2020/Number/signedRightShift.js deleted file mode 100644 index 043ca8934..000000000 --- a/node_modules/es-abstract/2020/Number/signedRightShift.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var ToInt32 = require('../ToInt32'); -var ToUint32 = require('../ToUint32'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-signedRightShift - -module.exports = function NumberSignedRightShift(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - - var lnum = ToInt32(x); - var rnum = ToUint32(y); - - var shiftCount = rnum & 0x1F; - - return lnum >> shiftCount; -}; diff --git a/node_modules/es-abstract/2020/Number/subtract.js b/node_modules/es-abstract/2020/Number/subtract.js deleted file mode 100644 index 3ff2dd24c..000000000 --- a/node_modules/es-abstract/2020/Number/subtract.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-subtract - -module.exports = function NumberSubtract(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - return x - y; -}; diff --git a/node_modules/es-abstract/2020/Number/toString.js b/node_modules/es-abstract/2020/Number/toString.js deleted file mode 100644 index 4f133160a..000000000 --- a/node_modules/es-abstract/2020/Number/toString.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-tostring - -module.exports = function NumberToString(x) { - if (Type(x) !== 'Number') { - throw new $TypeError('Assertion failed: `x` must be a Number'); - } - - return $String(x); -}; diff --git a/node_modules/es-abstract/2020/Number/unaryMinus.js b/node_modules/es-abstract/2020/Number/unaryMinus.js deleted file mode 100644 index 794582ad8..000000000 --- a/node_modules/es-abstract/2020/Number/unaryMinus.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var isNaN = require('../../helpers/isNaN'); - -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-unaryMinus - -module.exports = function NumberUnaryMinus(x) { - if (Type(x) !== 'Number') { - throw new $TypeError('Assertion failed: `x` argument must be a Number'); - } - if (isNaN(x)) { - return NaN; - } - return -x; -}; diff --git a/node_modules/es-abstract/2020/Number/unsignedRightShift.js b/node_modules/es-abstract/2020/Number/unsignedRightShift.js deleted file mode 100644 index 874439eea..000000000 --- a/node_modules/es-abstract/2020/Number/unsignedRightShift.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var ToInt32 = require('../ToInt32'); -var ToUint32 = require('../ToUint32'); -var Type = require('../Type'); - -// https://262.ecma-international.org/11.0/#sec-numeric-types-number-unsignedRightShift - -module.exports = function NumberUnsignedRightShift(x, y) { - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - - var lnum = ToInt32(x); - var rnum = ToUint32(y); - - var shiftCount = rnum & 0x1F; - - return lnum >>> shiftCount; -}; diff --git a/node_modules/es-abstract/2020/NumberBitwiseOp.js b/node_modules/es-abstract/2020/NumberBitwiseOp.js deleted file mode 100644 index 11425ffde..000000000 --- a/node_modules/es-abstract/2020/NumberBitwiseOp.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var ToInt32 = require('./ToInt32'); -var ToUint32 = require('./ToUint32'); -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-numberbitwiseop - -module.exports = function NumberBitwiseOp(op, x, y) { - if (op !== '&' && op !== '|' && op !== '^') { - throw new $TypeError('Assertion failed: `op` must be `&`, `|`, or `^`'); - } - if (Type(x) !== 'Number' || Type(y) !== 'Number') { - throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers'); - } - var lnum = ToInt32(x); - var rnum = ToUint32(y); - if (op === '&') { - return lnum & rnum; - } - if (op === '|') { - return lnum | rnum; - } - return lnum ^ rnum; -}; diff --git a/node_modules/es-abstract/2020/NumberToBigInt.js b/node_modules/es-abstract/2020/NumberToBigInt.js deleted file mode 100644 index a186988c1..000000000 --- a/node_modules/es-abstract/2020/NumberToBigInt.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $BigInt = GetIntrinsic('%BigInt%', true); -var $RangeError = GetIntrinsic('%RangeError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-numbertobigint - -module.exports = function NumberToBigInt(number) { - if (Type(number) !== 'Number') { - throw new $TypeError('Assertion failed: `number` must be a String'); - } - if (!IsInteger(number)) { - throw new $RangeError('The number ' + number + ' cannot be converted to a BigInt because it is not an integer'); - } - return $BigInt(number); -}; diff --git a/node_modules/es-abstract/2020/OrdinaryCreateFromConstructor.js b/node_modules/es-abstract/2020/OrdinaryCreateFromConstructor.js deleted file mode 100644 index 8f3bb829d..000000000 --- a/node_modules/es-abstract/2020/OrdinaryCreateFromConstructor.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); -var IsArray = require('./IsArray'); -var OrdinaryObjectCreate = require('./OrdinaryObjectCreate'); - -// https://262.ecma-international.org/6.0/#sec-ordinarycreatefromconstructor - -module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { - GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic - var proto = GetPrototypeFromConstructor(constructor, intrinsicDefaultProto); - var slots = arguments.length < 3 ? [] : arguments[2]; - if (!IsArray(slots)) { - throw new $TypeError('Assertion failed: if provided, `internalSlotsList` must be a List'); - } - return OrdinaryObjectCreate(proto, slots); -}; diff --git a/node_modules/es-abstract/2020/OrdinaryDefineOwnProperty.js b/node_modules/es-abstract/2020/OrdinaryDefineOwnProperty.js deleted file mode 100644 index 5d33aa6d6..000000000 --- a/node_modules/es-abstract/2020/OrdinaryDefineOwnProperty.js +++ /dev/null @@ -1,61 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var IsPropertyKey = require('./IsPropertyKey'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); -var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty - -module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!$gOPD) { - // ES3/IE 8 fallback - if (IsAccessorDescriptor(Desc)) { - throw new $SyntaxError('This environment does not support accessor property descriptors.'); - } - var creatingNormalDataProperty = !(P in O) - && Desc['[[Writable]]'] - && Desc['[[Enumerable]]'] - && Desc['[[Configurable]]'] - && '[[Value]]' in Desc; - var settingExistingDataProperty = (P in O) - && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) - && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) - && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) - && '[[Value]]' in Desc; - if (creatingNormalDataProperty || settingExistingDataProperty) { - O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign - return SameValue(O[P], Desc['[[Value]]']); - } - throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties'); - } - var desc = $gOPD(O, P); - var current = desc && ToPropertyDescriptor(desc); - var extensible = IsExtensible(O); - return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current); -}; diff --git a/node_modules/es-abstract/2020/OrdinaryGetOwnProperty.js b/node_modules/es-abstract/2020/OrdinaryGetOwnProperty.js deleted file mode 100644 index 3d11e9fad..000000000 --- a/node_modules/es-abstract/2020/OrdinaryGetOwnProperty.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -var has = require('has'); - -var IsArray = require('./IsArray'); -var IsPropertyKey = require('./IsPropertyKey'); -var IsRegExp = require('./IsRegExp'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty - -module.exports = function OrdinaryGetOwnProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!has(O, P)) { - return void 0; - } - if (!$gOPD) { - // ES3 / IE 8 fallback - var arrayLength = IsArray(O) && P === 'length'; - var regexLastIndex = IsRegExp(O) && P === 'lastIndex'; - return { - '[[Configurable]]': !(arrayLength || regexLastIndex), - '[[Enumerable]]': $isEnumerable(O, P), - '[[Value]]': O[P], - '[[Writable]]': true - }; - } - return ToPropertyDescriptor($gOPD(O, P)); -}; diff --git a/node_modules/es-abstract/2020/OrdinaryGetPrototypeOf.js b/node_modules/es-abstract/2020/OrdinaryGetPrototypeOf.js deleted file mode 100644 index ba17b9887..000000000 --- a/node_modules/es-abstract/2020/OrdinaryGetPrototypeOf.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $getProto = require('../helpers/getProto'); - -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof - -module.exports = function OrdinaryGetPrototypeOf(O) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!$getProto) { - throw new $TypeError('This environment does not support fetching prototypes.'); - } - return $getProto(O); -}; diff --git a/node_modules/es-abstract/2020/OrdinaryHasInstance.js b/node_modules/es-abstract/2020/OrdinaryHasInstance.js deleted file mode 100644 index 85a240ca2..000000000 --- a/node_modules/es-abstract/2020/OrdinaryHasInstance.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance - -module.exports = function OrdinaryHasInstance(C, O) { - if (IsCallable(C) === false) { - return false; - } - if (Type(O) !== 'Object') { - return false; - } - var P = Get(C, 'prototype'); - if (Type(P) !== 'Object') { - throw new $TypeError('OrdinaryHasInstance called on an object with an invalid prototype property.'); - } - return O instanceof C; -}; diff --git a/node_modules/es-abstract/2020/OrdinaryHasProperty.js b/node_modules/es-abstract/2020/OrdinaryHasProperty.js deleted file mode 100644 index dd09ca3b1..000000000 --- a/node_modules/es-abstract/2020/OrdinaryHasProperty.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasproperty - -module.exports = function OrdinaryHasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - return P in O; -}; diff --git a/node_modules/es-abstract/2020/OrdinaryObjectCreate.js b/node_modules/es-abstract/2020/OrdinaryObjectCreate.js deleted file mode 100644 index 34810cd11..000000000 --- a/node_modules/es-abstract/2020/OrdinaryObjectCreate.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $ObjectCreate = GetIntrinsic('%Object.create%', true); -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); - -var IsArray = require('./IsArray'); -var Type = require('./Type'); - -var hasProto = !({ __proto__: null } instanceof Object); - -// https://262.ecma-international.org/6.0/#sec-objectcreate - -module.exports = function OrdinaryObjectCreate(proto) { - if (proto !== null && Type(proto) !== 'Object') { - throw new $TypeError('Assertion failed: `proto` must be null or an object'); - } - var additionalInternalSlotsList = arguments.length < 2 ? [] : arguments[1]; - if (!IsArray(additionalInternalSlotsList)) { - throw new $TypeError('Assertion failed: `additionalInternalSlotsList` must be an Array'); - } - // var internalSlotsList = ['[[Prototype]]', '[[Extensible]]']; - if (additionalInternalSlotsList.length > 0) { - throw new $SyntaxError('es-abstract does not yet support internal slots'); - // internalSlotsList.push(...additionalInternalSlotsList); - } - // var O = MakeBasicObject(internalSlotsList); - // setProto(O, proto); - // return O; - - if ($ObjectCreate) { - return $ObjectCreate(proto); - } - if (hasProto) { - return { __proto__: proto }; - } - - if (proto === null) { - throw new $SyntaxError('native Object.create support is required to create null objects'); - } - var T = function T() {}; - T.prototype = proto; - return new T(); -}; diff --git a/node_modules/es-abstract/2020/OrdinarySetPrototypeOf.js b/node_modules/es-abstract/2020/OrdinarySetPrototypeOf.js deleted file mode 100644 index d0ff7a7c2..000000000 --- a/node_modules/es-abstract/2020/OrdinarySetPrototypeOf.js +++ /dev/null @@ -1,53 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $setProto = require('../helpers/setProto'); - -var OrdinaryGetPrototypeOf = require('./OrdinaryGetPrototypeOf'); -var Type = require('./Type'); - -// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof - -module.exports = function OrdinarySetPrototypeOf(O, V) { - if (Type(V) !== 'Object' && Type(V) !== 'Null') { - throw new $TypeError('Assertion failed: V must be Object or Null'); - } - /* - var extensible = IsExtensible(O); - var current = OrdinaryGetPrototypeOf(O); - if (SameValue(V, current)) { - return true; - } - if (!extensible) { - return false; - } - */ - try { - $setProto(O, V); - } catch (e) { - return false; - } - return OrdinaryGetPrototypeOf(O) === V; - /* - var p = V; - var done = false; - while (!done) { - if (p === null) { - done = true; - } else if (SameValue(p, O)) { - return false; - } else { - if (wat) { - done = true; - } else { - p = p.[[Prototype]]; - } - } - } - O.[[Prototype]] = V; - return true; - */ -}; diff --git a/node_modules/es-abstract/2020/PromiseResolve.js b/node_modules/es-abstract/2020/PromiseResolve.js deleted file mode 100644 index 6474b79c4..000000000 --- a/node_modules/es-abstract/2020/PromiseResolve.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBind = require('call-bind'); - -var $resolve = GetIntrinsic('%Promise.resolve%', true); -var $PromiseResolve = $resolve && callBind($resolve); - -// https://262.ecma-international.org/9.0/#sec-promise-resolve - -module.exports = function PromiseResolve(C, x) { - if (!$PromiseResolve) { - throw new SyntaxError('This environment does not support Promises.'); - } - return $PromiseResolve(C, x); -}; - diff --git a/node_modules/es-abstract/2020/QuoteJSONString.js b/node_modules/es-abstract/2020/QuoteJSONString.js deleted file mode 100644 index c7ac054e3..000000000 --- a/node_modules/es-abstract/2020/QuoteJSONString.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var forEach = require('../helpers/forEach'); -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); - -var Type = require('./Type'); -var UnicodeEscape = require('./UnicodeEscape'); -var UTF16Encoding = require('./UTF16Encoding'); -var UTF16DecodeString = require('./UTF16DecodeString'); - -var has = require('has'); - -// https://262.ecma-international.org/11.0/#sec-quotejsonstring - -var escapes = { - '\u0008': '\\b', - '\u0009': '\\t', - '\u000A': '\\n', - '\u000C': '\\f', - '\u000D': '\\r', - '\u0022': '\\"', - '\u005c': '\\\\' -}; - -module.exports = function QuoteJSONString(value) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `value` must be a String'); - } - var product = '"'; - if (value) { - forEach(UTF16DecodeString(value), function (C) { - if (has(escapes, C)) { - product += escapes[C]; - } else { - var cCharCode = $charCodeAt(C, 0); - if (cCharCode < 0x20 || isLeadingSurrogate(C) || isTrailingSurrogate(C)) { - product += UnicodeEscape(C); - } else { - product += UTF16Encoding(cCharCode); - } - } - }); - } - product += '"'; - return product; -}; diff --git a/node_modules/es-abstract/2020/RegExpCreate.js b/node_modules/es-abstract/2020/RegExpCreate.js deleted file mode 100644 index 68e31605e..000000000 --- a/node_modules/es-abstract/2020/RegExpCreate.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RegExp = GetIntrinsic('%RegExp%'); - -// var RegExpAlloc = require('./RegExpAlloc'); -// var RegExpInitialize = require('./RegExpInitialize'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/6.0/#sec-regexpcreate - -module.exports = function RegExpCreate(P, F) { - // var obj = RegExpAlloc($RegExp); - // return RegExpInitialize(obj, P, F); - - // covers spec mechanics; bypass regex brand checking - var pattern = typeof P === 'undefined' ? '' : ToString(P); - var flags = typeof F === 'undefined' ? '' : ToString(F); - return new $RegExp(pattern, flags); -}; diff --git a/node_modules/es-abstract/2020/RegExpExec.js b/node_modules/es-abstract/2020/RegExpExec.js deleted file mode 100644 index 29fee1720..000000000 --- a/node_modules/es-abstract/2020/RegExpExec.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var regexExec = require('call-bind/callBound')('RegExp.prototype.exec'); - -var Call = require('./Call'); -var Get = require('./Get'); -var IsCallable = require('./IsCallable'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec - -module.exports = function RegExpExec(R, S) { - if (Type(R) !== 'Object') { - throw new $TypeError('Assertion failed: `R` must be an Object'); - } - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - var exec = Get(R, 'exec'); - if (IsCallable(exec)) { - var result = Call(exec, R, [S]); - if (result === null || Type(result) === 'Object') { - return result; - } - throw new $TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); -}; diff --git a/node_modules/es-abstract/2020/RequireObjectCoercible.js b/node_modules/es-abstract/2020/RequireObjectCoercible.js deleted file mode 100644 index 9008359db..000000000 --- a/node_modules/es-abstract/2020/RequireObjectCoercible.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../5/CheckObjectCoercible'); diff --git a/node_modules/es-abstract/2020/SameValue.js b/node_modules/es-abstract/2020/SameValue.js deleted file mode 100644 index b73939b20..000000000 --- a/node_modules/es-abstract/2020/SameValue.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// http://262.ecma-international.org/5.1/#sec-9.12 - -module.exports = function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); -}; diff --git a/node_modules/es-abstract/2020/SameValueNonNumeric.js b/node_modules/es-abstract/2020/SameValueNonNumeric.js deleted file mode 100644 index f7ef12c01..000000000 --- a/node_modules/es-abstract/2020/SameValueNonNumeric.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-samevaluenonnumeric - -module.exports = function SameValueNonNumeric(x, y) { - var xType = Type(x); - if (xType === 'Number' || xType === 'Bigint') { - throw new $TypeError('Assertion failed: SameValueNonNumeric does not accept Number or BigInt values'); - } - if (xType !== Type(y)) { - throw new $TypeError('SameValueNonNumeric requires two non-numeric values of the same type.'); - } - return SameValue(x, y); -}; diff --git a/node_modules/es-abstract/2020/SameValueZero.js b/node_modules/es-abstract/2020/SameValueZero.js deleted file mode 100644 index bf1a1486a..000000000 --- a/node_modules/es-abstract/2020/SameValueZero.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero - -module.exports = function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); -}; diff --git a/node_modules/es-abstract/2020/SecFromTime.js b/node_modules/es-abstract/2020/SecFromTime.js deleted file mode 100644 index fc2e44560..000000000 --- a/node_modules/es-abstract/2020/SecFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var SecondsPerMinute = timeConstants.SecondsPerMinute; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function SecFromTime(t) { - return modulo(floor(t / msPerSecond), SecondsPerMinute); -}; diff --git a/node_modules/es-abstract/2020/Set.js b/node_modules/es-abstract/2020/Set.js deleted file mode 100644 index ea49e813f..000000000 --- a/node_modules/es-abstract/2020/Set.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// IE 9 does not throw in strict mode when writability/configurability/extensibility is violated -var noThrowOnStrictViolation = (function () { - try { - delete [].length; - return true; - } catch (e) { - return false; - } -}()); - -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - -module.exports = function Set(O, P, V, Throw) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - if (Type(Throw) !== 'Boolean') { - throw new $TypeError('Assertion failed: `Throw` must be a Boolean'); - } - if (Throw) { - O[P] = V; // eslint-disable-line no-param-reassign - if (noThrowOnStrictViolation && !SameValue(O[P], V)) { - throw new $TypeError('Attempted to assign to readonly property.'); - } - return true; - } else { - try { - O[P] = V; // eslint-disable-line no-param-reassign - return noThrowOnStrictViolation ? SameValue(O[P], V) : true; - } catch (e) { - return false; - } - } -}; diff --git a/node_modules/es-abstract/2020/SetFunctionLength.js b/node_modules/es-abstract/2020/SetFunctionLength.js deleted file mode 100644 index a471b0c47..000000000 --- a/node_modules/es-abstract/2020/SetFunctionLength.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var HasOwnProperty = require('./HasOwnProperty'); -var IsExtensible = require('./IsExtensible'); -var IsNonNegativeInteger = require('./IsNonNegativeInteger'); -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-setfunctionlength - -module.exports = function SetFunctionLength(F, length) { - if (typeof F !== 'function' || !IsExtensible(F) || HasOwnProperty(F, 'length')) { - throw new $TypeError('Assertion failed: `F` must be an extensible function and lack an own `length` property'); - } - if (Type(length) !== 'Number') { - throw new $TypeError('Assertion failed: `length` must be a Number'); - } - if (!IsNonNegativeInteger(length)) { - throw new $TypeError('Assertion failed: `length` must be an integer >= 0'); - } - return DefinePropertyOrThrow(F, 'length', { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); -}; diff --git a/node_modules/es-abstract/2020/SetFunctionName.js b/node_modules/es-abstract/2020/SetFunctionName.js deleted file mode 100644 index f59cb7b9e..000000000 --- a/node_modules/es-abstract/2020/SetFunctionName.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var has = require('has'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var getSymbolDescription = require('../helpers/getSymbolDescription'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsExtensible = require('./IsExtensible'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname - -module.exports = function SetFunctionName(F, name) { - if (typeof F !== 'function') { - throw new $TypeError('Assertion failed: `F` must be a function'); - } - if (!IsExtensible(F) || has(F, 'name')) { - throw new $TypeError('Assertion failed: `F` must be extensible, and must not have a `name` own property'); - } - var nameType = Type(name); - if (nameType !== 'Symbol' && nameType !== 'String') { - throw new $TypeError('Assertion failed: `name` must be a Symbol or a String'); - } - if (nameType === 'Symbol') { - var description = getSymbolDescription(name); - // eslint-disable-next-line no-param-reassign - name = typeof description === 'undefined' ? '' : '[' + description + ']'; - } - if (arguments.length > 2) { - var prefix = arguments[2]; - // eslint-disable-next-line no-param-reassign - name = prefix + ' ' + name; - } - return DefinePropertyOrThrow(F, 'name', { - '[[Value]]': name, - '[[Writable]]': false, - '[[Enumerable]]': false, - '[[Configurable]]': true - }); -}; diff --git a/node_modules/es-abstract/2020/SetIntegrityLevel.js b/node_modules/es-abstract/2020/SetIntegrityLevel.js deleted file mode 100644 index 1ac7d61e2..000000000 --- a/node_modules/es-abstract/2020/SetIntegrityLevel.js +++ /dev/null @@ -1,57 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); -var $preventExtensions = GetIntrinsic('%Object.preventExtensions%'); -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); - -var forEach = require('../helpers/forEach'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel - -module.exports = function SetIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - if (!$preventExtensions) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.preventExtensions` support'); - } - var status = $preventExtensions(O); - if (!status) { - return false; - } - if (!$gOPN) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.getOwnPropertyNames` support'); - } - var theKeys = $gOPN(O); - if (level === 'sealed') { - forEach(theKeys, function (k) { - DefinePropertyOrThrow(O, k, { configurable: false }); - }); - } else if (level === 'frozen') { - forEach(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - var desc; - if (IsAccessorDescriptor(ToPropertyDescriptor(currentDesc))) { - desc = { configurable: false }; - } else { - desc = { configurable: false, writable: false }; - } - DefinePropertyOrThrow(O, k, desc); - } - }); - } - return true; -}; diff --git a/node_modules/es-abstract/2020/SpeciesConstructor.js b/node_modules/es-abstract/2020/SpeciesConstructor.js deleted file mode 100644 index 491eb9b87..000000000 --- a/node_modules/es-abstract/2020/SpeciesConstructor.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsConstructor = require('./IsConstructor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - -module.exports = function SpeciesConstructor(O, defaultConstructor) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (Type(C) !== 'Object') { - throw new $TypeError('O.constructor is not an Object'); - } - var S = $species ? C[$species] : void 0; - if (S == null) { - return defaultConstructor; - } - if (IsConstructor(S)) { - return S; - } - throw new $TypeError('no constructor found'); -}; diff --git a/node_modules/es-abstract/2020/SplitMatch.js b/node_modules/es-abstract/2020/SplitMatch.js deleted file mode 100644 index 8ab05355e..000000000 --- a/node_modules/es-abstract/2020/SplitMatch.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsInteger = require('./IsInteger'); -var Type = require('./Type'); - -var $charAt = callBound('String.prototype.charAt'); - -// https://262.ecma-international.org/6.0/#sec-splitmatch - -module.exports = function SplitMatch(S, q, R) { - if (Type(S) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - if (!IsInteger(q)) { - throw new $TypeError('Assertion failed: `q` must be an integer'); - } - if (Type(R) !== 'String') { - throw new $TypeError('Assertion failed: `R` must be a String'); - } - var r = R.length; - var s = S.length; - if (q + r > s) { - return false; - } - - for (var i = 0; i < r; i += 1) { - if ($charAt(S, q + i) !== $charAt(R, i)) { - return false; - } - } - - return q + r; -}; diff --git a/node_modules/es-abstract/2020/StrictEqualityComparison.js b/node_modules/es-abstract/2020/StrictEqualityComparison.js deleted file mode 100644 index f3435ba9d..000000000 --- a/node_modules/es-abstract/2020/StrictEqualityComparison.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.9.6 - -module.exports = function StrictEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType !== yType) { - return false; - } - if (xType === 'Undefined' || xType === 'Null') { - return true; - } - return x === y; // shortcut for steps 4-7 -}; diff --git a/node_modules/es-abstract/2020/StringCreate.js b/node_modules/es-abstract/2020/StringCreate.js deleted file mode 100644 index da0c0ea06..000000000 --- a/node_modules/es-abstract/2020/StringCreate.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); -var $StringPrototype = GetIntrinsic('%String.prototype%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); -var Type = require('./Type'); - -var setProto = require('../helpers/setProto'); - -// https://262.ecma-international.org/6.0/#sec-stringcreate - -module.exports = function StringCreate(value, prototype) { - if (Type(value) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a String'); - } - - var S = $Object(value); - if (S !== $StringPrototype) { - if (setProto) { - setProto(S, prototype); - } else { - throw new $SyntaxError('StringCreate: a `proto` argument that is not `String.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - } - - var length = value.length; - DefinePropertyOrThrow(S, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': false - }); - - return S; -}; diff --git a/node_modules/es-abstract/2020/StringGetOwnProperty.js b/node_modules/es-abstract/2020/StringGetOwnProperty.js deleted file mode 100644 index b6f904ec3..000000000 --- a/node_modules/es-abstract/2020/StringGetOwnProperty.js +++ /dev/null @@ -1,48 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); -var $charAt = callBound('String.prototype.charAt'); -var $stringToString = callBound('String.prototype.toString'); - -var CanonicalNumericIndexString = require('./CanonicalNumericIndexString'); -var IsInteger = require('./IsInteger'); -var IsPropertyKey = require('./IsPropertyKey'); -var Type = require('./Type'); - -var isNegativeZero = require('is-negative-zero'); - -// https://262.ecma-international.org/8.0/#sec-stringgetownproperty - -module.exports = function StringGetOwnProperty(S, P) { - var str; - if (Type(S) === 'Object') { - try { - str = $stringToString(S); - } catch (e) { /**/ } - } - if (Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `S` must be a boxed string object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - if (Type(P) !== 'String') { - return void undefined; - } - var index = CanonicalNumericIndexString(P); - var len = str.length; - if (typeof index === 'undefined' || !IsInteger(index) || isNegativeZero(index) || index < 0 || len <= index) { - return void undefined; - } - var resultStr = $charAt(S, index); - return { - '[[Configurable]]': false, - '[[Enumerable]]': true, - '[[Value]]': resultStr, - '[[Writable]]': false - }; -}; diff --git a/node_modules/es-abstract/2020/StringPad.js b/node_modules/es-abstract/2020/StringPad.js deleted file mode 100644 index cdf69001b..000000000 --- a/node_modules/es-abstract/2020/StringPad.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var ToLength = require('./ToLength'); -var ToString = require('./ToString'); - -var $strSlice = callBound('String.prototype.slice'); - -// https://262.ecma-international.org/11.0/#sec-stringpad - -module.exports = function StringPad(O, maxLength, fillString, placement) { - if (placement !== 'start' && placement !== 'end') { - throw new $TypeError('Assertion failed: `placement` must be "start" or "end"'); - } - var S = ToString(O); - var intMaxLength = ToLength(maxLength); - var stringLength = S.length; - if (intMaxLength <= stringLength) { - return S; - } - var filler = typeof fillString === 'undefined' ? ' ' : ToString(fillString); - if (filler === '') { - return S; - } - var fillLen = intMaxLength - stringLength; - - // the String value consisting of repeated concatenations of filler truncated to length fillLen. - var truncatedStringFiller = ''; - while (truncatedStringFiller.length < fillLen) { - truncatedStringFiller += filler; - } - truncatedStringFiller = $strSlice(truncatedStringFiller, 0, fillLen); - - if (placement === 'start') { - return truncatedStringFiller + S; - } - return S + truncatedStringFiller; -}; diff --git a/node_modules/es-abstract/2020/SymbolDescriptiveString.js b/node_modules/es-abstract/2020/SymbolDescriptiveString.js deleted file mode 100644 index 1efd1316b..000000000 --- a/node_modules/es-abstract/2020/SymbolDescriptiveString.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $SymbolToString = callBound('Symbol.prototype.toString', true); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring - -module.exports = function SymbolDescriptiveString(sym) { - if (Type(sym) !== 'Symbol') { - throw new $TypeError('Assertion failed: `sym` must be a Symbol'); - } - return $SymbolToString(sym); -}; diff --git a/node_modules/es-abstract/2020/TestIntegrityLevel.js b/node_modules/es-abstract/2020/TestIntegrityLevel.js deleted file mode 100644 index cf1649c1b..000000000 --- a/node_modules/es-abstract/2020/TestIntegrityLevel.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var every = require('../helpers/every'); - -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsExtensible = require('./IsExtensible'); -var ToPropertyDescriptor = require('./ToPropertyDescriptor'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel - -module.exports = function TestIntegrityLevel(O, level) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - var status = IsExtensible(O); - if (status) { - return false; - } - var theKeys = $gOPN(O); - return theKeys.length === 0 || every(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - if (currentDesc.configurable) { - return false; - } - if (level === 'frozen' && IsDataDescriptor(ToPropertyDescriptor(currentDesc)) && currentDesc.writable) { - return false; - } - } - return true; - }); -}; diff --git a/node_modules/es-abstract/2020/TimeClip.js b/node_modules/es-abstract/2020/TimeClip.js deleted file mode 100644 index e416cab4b..000000000 --- a/node_modules/es-abstract/2020/TimeClip.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); -var $Number = GetIntrinsic('%Number%'); - -var $isFinite = require('../helpers/isFinite'); - -var abs = require('./abs'); -var ToNumber = require('./ToNumber'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.14 - -module.exports = function TimeClip(time) { - if (!$isFinite(time) || abs(time) > 8.64e15) { - return NaN; - } - return $Number(new $Date(ToNumber(time))); -}; - diff --git a/node_modules/es-abstract/2020/TimeFromYear.js b/node_modules/es-abstract/2020/TimeFromYear.js deleted file mode 100644 index f3518a41a..000000000 --- a/node_modules/es-abstract/2020/TimeFromYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -var DayFromYear = require('./DayFromYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function TimeFromYear(y) { - return msPerDay * DayFromYear(y); -}; diff --git a/node_modules/es-abstract/2020/TimeString.js b/node_modules/es-abstract/2020/TimeString.js deleted file mode 100644 index 051c4728e..000000000 --- a/node_modules/es-abstract/2020/TimeString.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var padTimeComponent = require('../helpers/padTimeComponent'); - -var HourFromTime = require('./HourFromTime'); -var MinFromTime = require('./MinFromTime'); -var SecFromTime = require('./SecFromTime'); -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-timestring - -module.exports = function TimeString(tv) { - if (Type(tv) !== 'Number' || $isNaN(tv)) { - throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number'); - } - var hour = HourFromTime(tv); - var minute = MinFromTime(tv); - var second = SecFromTime(tv); - return padTimeComponent(hour) + ':' + padTimeComponent(minute) + ':' + padTimeComponent(second) + '\x20GMT'; -}; diff --git a/node_modules/es-abstract/2020/TimeWithinDay.js b/node_modules/es-abstract/2020/TimeWithinDay.js deleted file mode 100644 index 2bba83386..000000000 --- a/node_modules/es-abstract/2020/TimeWithinDay.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function TimeWithinDay(t) { - return modulo(t, msPerDay); -}; - diff --git a/node_modules/es-abstract/2020/ToBoolean.js b/node_modules/es-abstract/2020/ToBoolean.js deleted file mode 100644 index 466404bf9..000000000 --- a/node_modules/es-abstract/2020/ToBoolean.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.2 - -module.exports = function ToBoolean(value) { return !!value; }; diff --git a/node_modules/es-abstract/2020/ToDateString.js b/node_modules/es-abstract/2020/ToDateString.js deleted file mode 100644 index e636a9ba6..000000000 --- a/node_modules/es-abstract/2020/ToDateString.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Date = GetIntrinsic('%Date%'); - -var $isNaN = require('../helpers/isNaN'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring - -module.exports = function ToDateString(tv) { - if (Type(tv) !== 'Number') { - throw new $TypeError('Assertion failed: `tv` must be a Number'); - } - if ($isNaN(tv)) { - return 'Invalid Date'; - } - return $Date(tv); -}; diff --git a/node_modules/es-abstract/2020/ToIndex.js b/node_modules/es-abstract/2020/ToIndex.js deleted file mode 100644 index c0185d151..000000000 --- a/node_modules/es-abstract/2020/ToIndex.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $RangeError = GetIntrinsic('%RangeError%'); - -var ToInteger = require('./ToInteger'); -var ToLength = require('./ToLength'); -var SameValue = require('./SameValue'); - -// https://262.ecma-international.org/12.0/#sec-toindex - -module.exports = function ToIndex(value) { - if (typeof value === 'undefined') { - return 0; - } - var integerIndex = ToInteger(value); - if (integerIndex < 0) { - throw new $RangeError('index must be >= 0'); - } - var index = ToLength(integerIndex); - if (!SameValue(integerIndex, index)) { - throw new $RangeError('index must be >= 0 and < 2 ** 53 - 1'); - } - return index; -}; diff --git a/node_modules/es-abstract/2020/ToInt16.js b/node_modules/es-abstract/2020/ToInt16.js deleted file mode 100644 index cb8e7934b..000000000 --- a/node_modules/es-abstract/2020/ToInt16.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint16 = require('./ToUint16'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 - -module.exports = function ToInt16(argument) { - var int16bit = ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; -}; diff --git a/node_modules/es-abstract/2020/ToInt32.js b/node_modules/es-abstract/2020/ToInt32.js deleted file mode 100644 index b879ccc47..000000000 --- a/node_modules/es-abstract/2020/ToInt32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.5 - -module.exports = function ToInt32(x) { - return ToNumber(x) >> 0; -}; diff --git a/node_modules/es-abstract/2020/ToInt8.js b/node_modules/es-abstract/2020/ToInt8.js deleted file mode 100644 index bc452d826..000000000 --- a/node_modules/es-abstract/2020/ToInt8.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var ToUint8 = require('./ToUint8'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 - -module.exports = function ToInt8(argument) { - var int8bit = ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; -}; diff --git a/node_modules/es-abstract/2020/ToInteger.js b/node_modules/es-abstract/2020/ToInteger.js deleted file mode 100644 index 9210af89e..000000000 --- a/node_modules/es-abstract/2020/ToInteger.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var ES5ToInteger = require('../5/ToInteger'); - -var ToNumber = require('./ToNumber'); - -// https://262.ecma-international.org/11.0/#sec-tointeger - -module.exports = function ToInteger(value) { - var number = ToNumber(value); - if (number !== 0) { - number = ES5ToInteger(number); - } - return number === 0 ? 0 : number; -}; diff --git a/node_modules/es-abstract/2020/ToLength.js b/node_modules/es-abstract/2020/ToLength.js deleted file mode 100644 index 1bef9bed7..000000000 --- a/node_modules/es-abstract/2020/ToLength.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); - -var ToInteger = require('./ToInteger'); - -module.exports = function ToLength(argument) { - var len = ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; -}; diff --git a/node_modules/es-abstract/2020/ToNumber.js b/node_modules/es-abstract/2020/ToNumber.js deleted file mode 100644 index fcddeb66f..000000000 --- a/node_modules/es-abstract/2020/ToNumber.js +++ /dev/null @@ -1,62 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $Number = GetIntrinsic('%Number%'); -var $RegExp = GetIntrinsic('%RegExp%'); -var $parseInteger = GetIntrinsic('%parseInt%'); - -var callBound = require('call-bind/callBound'); -var regexTester = require('../helpers/regexTester'); -var isPrimitive = require('../helpers/isPrimitive'); - -var $strSlice = callBound('String.prototype.slice'); -var isBinary = regexTester(/^0b[01]+$/i); -var isOctal = regexTester(/^0o[0-7]+$/i); -var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = regexTester(nonWSregex); - -// whitespace from: https://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var $replace = callBound('String.prototype.replace'); -var $trim = function (value) { - return $replace(value, trimRegex, ''); -}; - -var ToPrimitive = require('./ToPrimitive'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber - -module.exports = function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'bigint') { - throw new $TypeError('Conversion from \'BigInt\' to \'number\' is not allowed.'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = $trim(value); - if (trimmed !== value) { - return ToNumber(trimmed); - } - } - } - return $Number(value); -}; diff --git a/node_modules/es-abstract/2020/ToNumeric.js b/node_modules/es-abstract/2020/ToNumeric.js deleted file mode 100644 index c18776094..000000000 --- a/node_modules/es-abstract/2020/ToNumeric.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Number = GetIntrinsic('%Number%'); - -var isPrimitive = require('../helpers/isPrimitive'); - -var ToPrimitive = require('./ToPrimitive'); -var ToNumber = require('./ToNumber'); -var Type = require('./Type'); - -// https://262.ecma-international.org/6.0/#sec-tonumber - -module.exports = function ToNumeric(argument) { - var primValue = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); - if (Type(primValue) === 'BigInt') { - return primValue; - } - return ToNumber(primValue); -}; diff --git a/node_modules/es-abstract/2020/ToObject.js b/node_modules/es-abstract/2020/ToObject.js deleted file mode 100644 index cb26bac06..000000000 --- a/node_modules/es-abstract/2020/ToObject.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toobject - -module.exports = function ToObject(value) { - RequireObjectCoercible(value); - return $Object(value); -}; diff --git a/node_modules/es-abstract/2020/ToPrimitive.js b/node_modules/es-abstract/2020/ToPrimitive.js deleted file mode 100644 index 0fbe9b807..000000000 --- a/node_modules/es-abstract/2020/ToPrimitive.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var toPrimitive = require('es-to-primitive/es2015'); - -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive - -module.exports = function ToPrimitive(input) { - if (arguments.length > 1) { - return toPrimitive(input, arguments[1]); - } - return toPrimitive(input); -}; diff --git a/node_modules/es-abstract/2020/ToPropertyDescriptor.js b/node_modules/es-abstract/2020/ToPropertyDescriptor.js deleted file mode 100644 index 53db87450..000000000 --- a/node_modules/es-abstract/2020/ToPropertyDescriptor.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var has = require('has'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); -var ToBoolean = require('./ToBoolean'); -var IsCallable = require('./IsCallable'); - -// https://262.ecma-international.org/5.1/#sec-8.10.5 - -module.exports = function ToPropertyDescriptor(Obj) { - if (Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !IsCallable(getter)) { - throw new $TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; -}; diff --git a/node_modules/es-abstract/2020/ToPropertyKey.js b/node_modules/es-abstract/2020/ToPropertyKey.js deleted file mode 100644 index fc1bf7d86..000000000 --- a/node_modules/es-abstract/2020/ToPropertyKey.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); - -var ToPrimitive = require('./ToPrimitive'); -var ToString = require('./ToString'); - -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey - -module.exports = function ToPropertyKey(argument) { - var key = ToPrimitive(argument, $String); - return typeof key === 'symbol' ? key : ToString(key); -}; diff --git a/node_modules/es-abstract/2020/ToString.js b/node_modules/es-abstract/2020/ToString.js deleted file mode 100644 index 4d494e1e2..000000000 --- a/node_modules/es-abstract/2020/ToString.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://ecma-international.org/ecma-262/6.0/#sec-tostring - -module.exports = function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); -}; diff --git a/node_modules/es-abstract/2020/ToUint16.js b/node_modules/es-abstract/2020/ToUint16.js deleted file mode 100644 index 633ca8464..000000000 --- a/node_modules/es-abstract/2020/ToUint16.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -// http://262.ecma-international.org/5.1/#sec-9.7 - -module.exports = function ToUint16(value) { - var number = ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x10000); -}; diff --git a/node_modules/es-abstract/2020/ToUint32.js b/node_modules/es-abstract/2020/ToUint32.js deleted file mode 100644 index 2a8e9dd6a..000000000 --- a/node_modules/es-abstract/2020/ToUint32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.6 - -module.exports = function ToUint32(x) { - return ToNumber(x) >>> 0; -}; diff --git a/node_modules/es-abstract/2020/ToUint8.js b/node_modules/es-abstract/2020/ToUint8.js deleted file mode 100644 index 2dfd97cb3..000000000 --- a/node_modules/es-abstract/2020/ToUint8.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 - -module.exports = function ToUint8(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x100); -}; diff --git a/node_modules/es-abstract/2020/ToUint8Clamp.js b/node_modules/es-abstract/2020/ToUint8Clamp.js deleted file mode 100644 index b0b8ce8ed..000000000 --- a/node_modules/es-abstract/2020/ToUint8Clamp.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var floor = require('./floor'); - -var $isNaN = require('../helpers/isNaN'); - -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp - -module.exports = function ToUint8Clamp(argument) { - var number = ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; -}; diff --git a/node_modules/es-abstract/2020/TrimString.js b/node_modules/es-abstract/2020/TrimString.js deleted file mode 100644 index 113dcf82b..000000000 --- a/node_modules/es-abstract/2020/TrimString.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var trimStart = require('string.prototype.trimstart'); -var trimEnd = require('string.prototype.trimend'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var RequireObjectCoercible = require('./RequireObjectCoercible'); -var ToString = require('./ToString'); - -// https://262.ecma-international.org/10.0/#sec-trimstring - -module.exports = function TrimString(string, where) { - var str = RequireObjectCoercible(string); - var S = ToString(str); - var T; - if (where === 'start') { - T = trimStart(S); - } else if (where === 'end') { - T = trimEnd(S); - } else if (where === 'start+end') { - T = trimStart(trimEnd(S)); - } else { - throw new $TypeError('Assertion failed: invalid `where` value; must be "start", "end", or "start+end"'); - } - return T; -}; diff --git a/node_modules/es-abstract/2020/Type.js b/node_modules/es-abstract/2020/Type.js deleted file mode 100644 index 555ca74ea..000000000 --- a/node_modules/es-abstract/2020/Type.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var ES5Type = require('../5/Type'); - -// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values - -module.exports = function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - if (typeof x === 'bigint') { - return 'BigInt'; - } - return ES5Type(x); -}; diff --git a/node_modules/es-abstract/2020/UTF16DecodeString.js b/node_modules/es-abstract/2020/UTF16DecodeString.js deleted file mode 100644 index 8e27a21e8..000000000 --- a/node_modules/es-abstract/2020/UTF16DecodeString.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $push = callBound('Array.prototype.push'); - -var CodePointAt = require('./CodePointAt'); -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-utf16decodestring - -module.exports = function UTF16DecodeString(string) { - if (Type(string) !== 'String') { - throw new $TypeError('Assertion failed: `string` must be a String'); - } - var codePoints = []; - var size = string.length; - var position = 0; - while (position < size) { - var cp = CodePointAt(string, position); - $push(codePoints, cp['[[CodePoint]]']); - position += cp['[[CodeUnitCount]]']; - } - return codePoints; -}; diff --git a/node_modules/es-abstract/2020/UTF16DecodeSurrogatePair.js b/node_modules/es-abstract/2020/UTF16DecodeSurrogatePair.js deleted file mode 100644 index 2632e654c..000000000 --- a/node_modules/es-abstract/2020/UTF16DecodeSurrogatePair.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -var isLeadingSurrogate = require('../helpers/isLeadingSurrogate'); -var isTrailingSurrogate = require('../helpers/isTrailingSurrogate'); - -// https://262.ecma-international.org/11.0/#sec-utf16decodesurrogatepair - -module.exports = function UTF16DecodeSurrogatePair(lead, trail) { - if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) { - throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code'); - } - // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000; - return $fromCharCode(lead) + $fromCharCode(trail); -}; diff --git a/node_modules/es-abstract/2020/UTF16Encoding.js b/node_modules/es-abstract/2020/UTF16Encoding.js deleted file mode 100644 index f381595fd..000000000 --- a/node_modules/es-abstract/2020/UTF16Encoding.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $fromCharCode = GetIntrinsic('%String.fromCharCode%'); - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var isCodePoint = require('../helpers/isCodePoint'); - -// https://262.ecma-international.org/7.0/#sec-utf16encoding - -module.exports = function UTF16Encoding(cp) { - if (!isCodePoint(cp)) { - throw new $TypeError('Assertion failed: `cp` must be >= 0 and <= 0x10FFFF'); - } - if (cp <= 65535) { - return $fromCharCode(cp); - } - var cu1 = floor((cp - 65536) / 1024) + 0xD800; - var cu2 = modulo(cp - 65536, 1024) + 0xDC00; - return $fromCharCode(cu1) + $fromCharCode(cu2); -}; diff --git a/node_modules/es-abstract/2020/UnicodeEscape.js b/node_modules/es-abstract/2020/UnicodeEscape.js deleted file mode 100644 index b708c90df..000000000 --- a/node_modules/es-abstract/2020/UnicodeEscape.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var callBound = require('call-bind/callBound'); - -var $charCodeAt = callBound('String.prototype.charCodeAt'); -var $numberToString = callBound('Number.prototype.toString'); -var $toLowerCase = callBound('String.prototype.toLowerCase'); - -var StringPad = require('./StringPad'); - -// https://262.ecma-international.org/11.0/#sec-unicodeescape - -module.exports = function UnicodeEscape(C) { - if (typeof C !== 'string' || C.length !== 1) { - throw new $TypeError('Assertion failed: `C` must be a single code unit'); - } - var n = $charCodeAt(C, 0); - if (n > 0xFFFF) { - throw new $TypeError('`Assertion failed: numeric value of `C` must be <= 0xFFFF'); - } - - return '\\u' + StringPad($toLowerCase($numberToString(n, 16)), 4, '0', 'start'); -}; diff --git a/node_modules/es-abstract/2020/ValidateAndApplyPropertyDescriptor.js b/node_modules/es-abstract/2020/ValidateAndApplyPropertyDescriptor.js deleted file mode 100644 index a7fd218ad..000000000 --- a/node_modules/es-abstract/2020/ValidateAndApplyPropertyDescriptor.js +++ /dev/null @@ -1,170 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = require('../helpers/DefineOwnProperty'); -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); -var isSamePropertyDescriptor = require('../helpers/isSamePropertyDescriptor'); - -var FromPropertyDescriptor = require('./FromPropertyDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsGenericDescriptor = require('./IsGenericDescriptor'); -var IsPropertyKey = require('./IsPropertyKey'); -var SameValue = require('./SameValue'); -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor - -// eslint-disable-next-line max-lines-per-function, max-statements, max-params -module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { - // this uses the ES2017+ logic, since it fixes a number of bugs in the ES2015 logic. - var oType = Type(O); - if (oType !== 'Undefined' && oType !== 'Object') { - throw new $TypeError('Assertion failed: O must be undefined or an Object'); - } - if (Type(extensible) !== 'Boolean') { - throw new $TypeError('Assertion failed: extensible must be a Boolean'); - } - if (!isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (Type(current) !== 'Undefined' && !isPropertyDescriptor({ - Type: Type, - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor - }, current)) { - throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined'); - } - if (oType !== 'Undefined' && !IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: if O is not undefined, P must be a Property Key'); - } - if (Type(current) === 'Undefined') { - if (!extensible) { - return false; - } - if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': Desc['[[Configurable]]'], - '[[Enumerable]]': Desc['[[Enumerable]]'], - '[[Value]]': Desc['[[Value]]'], - '[[Writable]]': Desc['[[Writable]]'] - } - ); - } - } else { - if (!IsAccessorDescriptor(Desc)) { - throw new $TypeError('Assertion failed: Desc is not an accessor descriptor'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - } - return true; - } - if (IsGenericDescriptor(Desc) && !('[[Configurable]]' in Desc) && !('[[Enumerable]]' in Desc)) { - return true; - } - if (isSamePropertyDescriptor({ SameValue: SameValue }, Desc, current)) { - return true; // removed by ES2017, but should still be correct - } - // "if every field in Desc is absent, return true" can't really match the assertion that it's a Property Descriptor - if (!current['[[Configurable]]']) { - if (Desc['[[Configurable]]']) { - return false; - } - if ('[[Enumerable]]' in Desc && !Desc['[[Enumerable]]'] === !!current['[[Enumerable]]']) { - return false; - } - } - if (IsGenericDescriptor(Desc)) { - // no further validation is required. - } else if (IsDataDescriptor(current) !== IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - return false; - } - if (IsDataDescriptor(current)) { - if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Get]]': undefined - } - ); - } - } else if (oType !== 'Undefined') { - DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Value]]': undefined - } - ); - } - } else if (IsDataDescriptor(current) && IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]'] && !current['[[Writable]]']) { - if ('[[Writable]]' in Desc && Desc['[[Writable]]']) { - return false; - } - if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) { - return false; - } - return true; - } - } else if (IsAccessorDescriptor(current) && IsAccessorDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) { - return false; - } - if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) { - return false; - } - return true; - } - } else { - throw new $TypeError('Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - Desc - ); - } - return true; -}; diff --git a/node_modules/es-abstract/2020/WeekDay.js b/node_modules/es-abstract/2020/WeekDay.js deleted file mode 100644 index 17cf94ca3..000000000 --- a/node_modules/es-abstract/2020/WeekDay.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.6 - -module.exports = function WeekDay(t) { - return modulo(Day(t) + 4, 7); -}; diff --git a/node_modules/es-abstract/2020/YearFromTime.js b/node_modules/es-abstract/2020/YearFromTime.js deleted file mode 100644 index be06ecbc3..000000000 --- a/node_modules/es-abstract/2020/YearFromTime.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); - -var callBound = require('call-bind/callBound'); - -var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function YearFromTime(t) { - // largest y such that this.TimeFromYear(y) <= t - return $getUTCFullYear(new $Date(t)); -}; diff --git a/node_modules/es-abstract/2020/abs.js b/node_modules/es-abstract/2020/abs.js deleted file mode 100644 index 8bc45434d..000000000 --- a/node_modules/es-abstract/2020/abs.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $abs = GetIntrinsic('%Math.abs%'); - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function abs(x) { - return $abs(x); -}; diff --git a/node_modules/es-abstract/2020/floor.js b/node_modules/es-abstract/2020/floor.js deleted file mode 100644 index 8439df064..000000000 --- a/node_modules/es-abstract/2020/floor.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -// var modulo = require('./modulo'); -var $floor = Math.floor; - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function floor(x) { - // return x - modulo(x, 1); - return $floor(x); -}; diff --git a/node_modules/es-abstract/2020/modulo.js b/node_modules/es-abstract/2020/modulo.js deleted file mode 100644 index b94bb52bb..000000000 --- a/node_modules/es-abstract/2020/modulo.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var mod = require('../helpers/mod'); - -// https://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function modulo(x, y) { - return mod(x, y); -}; diff --git a/node_modules/es-abstract/2020/msFromTime.js b/node_modules/es-abstract/2020/msFromTime.js deleted file mode 100644 index a6bae767a..000000000 --- a/node_modules/es-abstract/2020/msFromTime.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerSecond = require('../helpers/timeConstants').msPerSecond; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function msFromTime(t) { - return modulo(t, msPerSecond); -}; diff --git a/node_modules/es-abstract/2020/thisBigIntValue.js b/node_modules/es-abstract/2020/thisBigIntValue.js deleted file mode 100644 index 1fd12980e..000000000 --- a/node_modules/es-abstract/2020/thisBigIntValue.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $bigIntValueOf = callBound('BigInt.prototype.valueOf', true); - -var Type = require('./Type'); - -// https://262.ecma-international.org/11.0/#sec-thisbigintvalue - -module.exports = function thisBigIntValue(value) { - var type = Type(value); - if (type === 'BigInt') { - return value; - } - if (!$bigIntValueOf) { - throw new $TypeError('BigInt is not supported'); - } - return $bigIntValueOf(value); -}; diff --git a/node_modules/es-abstract/2020/thisBooleanValue.js b/node_modules/es-abstract/2020/thisBooleanValue.js deleted file mode 100644 index 27075b9c4..000000000 --- a/node_modules/es-abstract/2020/thisBooleanValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object - -module.exports = function thisBooleanValue(value) { - if (Type(value) === 'Boolean') { - return value; - } - - return $BooleanValueOf(value); -}; diff --git a/node_modules/es-abstract/2020/thisNumberValue.js b/node_modules/es-abstract/2020/thisNumberValue.js deleted file mode 100644 index 92968dcdf..000000000 --- a/node_modules/es-abstract/2020/thisNumberValue.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var Type = require('./Type'); - -var $NumberValueOf = callBound('Number.prototype.valueOf'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object - -module.exports = function thisNumberValue(value) { - if (Type(value) === 'Number') { - return value; - } - - return $NumberValueOf(value); -}; - diff --git a/node_modules/es-abstract/2020/thisStringValue.js b/node_modules/es-abstract/2020/thisStringValue.js deleted file mode 100644 index 8e4274d81..000000000 --- a/node_modules/es-abstract/2020/thisStringValue.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); - -var Type = require('./Type'); - -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object - -module.exports = function thisStringValue(value) { - if (Type(value) === 'String') { - return value; - } - - return $StringValueOf(value); -}; diff --git a/node_modules/es-abstract/2020/thisSymbolValue.js b/node_modules/es-abstract/2020/thisSymbolValue.js deleted file mode 100644 index 91a552542..000000000 --- a/node_modules/es-abstract/2020/thisSymbolValue.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $SymbolValueOf = callBound('Symbol.prototype.valueOf', true); - -var Type = require('./Type'); - -// https://262.ecma-international.org/9.0/#sec-thissymbolvalue - -module.exports = function thisSymbolValue(value) { - if (!$SymbolValueOf) { - throw new SyntaxError('Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object'); - } - if (Type(value) === 'Symbol') { - return value; - } - return $SymbolValueOf(value); -}; diff --git a/node_modules/es-abstract/2020/thisTimeValue.js b/node_modules/es-abstract/2020/thisTimeValue.js deleted file mode 100644 index a9a47ace2..000000000 --- a/node_modules/es-abstract/2020/thisTimeValue.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../2018/thisTimeValue'); diff --git a/node_modules/es-abstract/5/AbstractEqualityComparison.js b/node_modules/es-abstract/5/AbstractEqualityComparison.js deleted file mode 100644 index 568bb4095..000000000 --- a/node_modules/es-abstract/5/AbstractEqualityComparison.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.9.3 - -module.exports = function AbstractEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (xType === 'Boolean') { - return AbstractEqualityComparison(ToNumber(x), y); - } - if (yType === 'Boolean') { - return AbstractEqualityComparison(x, ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number') && yType === 'Object') { - return AbstractEqualityComparison(x, ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number')) { - return AbstractEqualityComparison(ToPrimitive(x), y); - } - return false; -}; diff --git a/node_modules/es-abstract/5/AbstractRelationalComparison.js b/node_modules/es-abstract/5/AbstractRelationalComparison.js deleted file mode 100644 index 0dfed5ffe..000000000 --- a/node_modules/es-abstract/5/AbstractRelationalComparison.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Number = GetIntrinsic('%Number%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var isPrefixOf = require('../helpers/isPrefixOf'); - -var ToNumber = require('./ToNumber'); -var ToPrimitive = require('./ToPrimitive'); -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.8.5 - -// eslint-disable-next-line max-statements -module.exports = function AbstractRelationalComparison(x, y, LeftFirst) { - if (Type(LeftFirst) !== 'Boolean') { - throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); - } - var px; - var py; - if (LeftFirst) { - px = ToPrimitive(x, $Number); - py = ToPrimitive(y, $Number); - } else { - py = ToPrimitive(y, $Number); - px = ToPrimitive(x, $Number); - } - var bothStrings = Type(px) === 'String' && Type(py) === 'String'; - if (!bothStrings) { - var nx = ToNumber(px); - var ny = ToNumber(py); - if ($isNaN(nx) || $isNaN(ny)) { - return undefined; - } - if ($isFinite(nx) && $isFinite(ny) && nx === ny) { - return false; - } - if (nx === Infinity) { - return false; - } - if (ny === Infinity) { - return true; - } - if (ny === -Infinity) { - return false; - } - if (nx === -Infinity) { - return true; - } - return nx < ny; // by now, these are both nonzero, finite, and not equal - } - if (isPrefixOf(py, px)) { - return false; - } - if (isPrefixOf(px, py)) { - return true; - } - return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f -}; diff --git a/node_modules/es-abstract/5/CheckObjectCoercible.js b/node_modules/es-abstract/5/CheckObjectCoercible.js deleted file mode 100644 index 9083c717a..000000000 --- a/node_modules/es-abstract/5/CheckObjectCoercible.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -// http://262.ecma-international.org/5.1/#sec-9.10 - -module.exports = function CheckObjectCoercible(value, optMessage) { - if (value == null) { - throw new $TypeError(optMessage || ('Cannot call method on ' + value)); - } - return value; -}; diff --git a/node_modules/es-abstract/5/DateFromTime.js b/node_modules/es-abstract/5/DateFromTime.js deleted file mode 100644 index 20e4f2e4d..000000000 --- a/node_modules/es-abstract/5/DateFromTime.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); -var MonthFromTime = require('./MonthFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.5 - -module.exports = function DateFromTime(t) { - var m = MonthFromTime(t); - var d = DayWithinYear(t); - if (m === 0) { - return d + 1; - } - if (m === 1) { - return d - 30; - } - var leap = InLeapYear(t); - if (m === 2) { - return d - 58 - leap; - } - if (m === 3) { - return d - 89 - leap; - } - if (m === 4) { - return d - 119 - leap; - } - if (m === 5) { - return d - 150 - leap; - } - if (m === 6) { - return d - 180 - leap; - } - if (m === 7) { - return d - 211 - leap; - } - if (m === 8) { - return d - 242 - leap; - } - if (m === 9) { - return d - 272 - leap; - } - if (m === 10) { - return d - 303 - leap; - } - if (m === 11) { - return d - 333 - leap; - } - throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); -}; diff --git a/node_modules/es-abstract/5/Day.js b/node_modules/es-abstract/5/Day.js deleted file mode 100644 index 51d01033c..000000000 --- a/node_modules/es-abstract/5/Day.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function Day(t) { - return floor(t / msPerDay); -}; diff --git a/node_modules/es-abstract/5/DayFromYear.js b/node_modules/es-abstract/5/DayFromYear.js deleted file mode 100644 index 341bf22a6..000000000 --- a/node_modules/es-abstract/5/DayFromYear.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var floor = require('./floor'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DayFromYear(y) { - return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400); -}; - diff --git a/node_modules/es-abstract/5/DayWithinYear.js b/node_modules/es-abstract/5/DayWithinYear.js deleted file mode 100644 index 4c580940a..000000000 --- a/node_modules/es-abstract/5/DayWithinYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var DayFromYear = require('./DayFromYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function DayWithinYear(t) { - return Day(t) - DayFromYear(YearFromTime(t)); -}; diff --git a/node_modules/es-abstract/5/DaysInYear.js b/node_modules/es-abstract/5/DaysInYear.js deleted file mode 100644 index 7116c6902..000000000 --- a/node_modules/es-abstract/5/DaysInYear.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function DaysInYear(y) { - if (modulo(y, 4) !== 0) { - return 365; - } - if (modulo(y, 100) !== 0) { - return 366; - } - if (modulo(y, 400) !== 0) { - return 365; - } - return 366; -}; diff --git a/node_modules/es-abstract/5/FromPropertyDescriptor.js b/node_modules/es-abstract/5/FromPropertyDescriptor.js deleted file mode 100644 index 506f65c33..000000000 --- a/node_modules/es-abstract/5/FromPropertyDescriptor.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); - -var assertRecord = require('../helpers/assertRecord'); - -// https://262.ecma-international.org/5.1/#sec-8.10.4 - -module.exports = function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (IsDataDescriptor(Desc)) { - return { - value: Desc['[[Value]]'], - writable: !!Desc['[[Writable]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else if (IsAccessorDescriptor(Desc)) { - return { - get: Desc['[[Get]]'], - set: Desc['[[Set]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else { - throw new $TypeError('FromPropertyDescriptor must be called with a fully populated Property Descriptor'); - } -}; diff --git a/node_modules/es-abstract/5/HourFromTime.js b/node_modules/es-abstract/5/HourFromTime.js deleted file mode 100644 index f963bfb68..000000000 --- a/node_modules/es-abstract/5/HourFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerHour = timeConstants.msPerHour; -var HoursPerDay = timeConstants.HoursPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function HourFromTime(t) { - return modulo(floor(t / msPerHour), HoursPerDay); -}; diff --git a/node_modules/es-abstract/5/InLeapYear.js b/node_modules/es-abstract/5/InLeapYear.js deleted file mode 100644 index bfe0c451f..000000000 --- a/node_modules/es-abstract/5/InLeapYear.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $EvalError = GetIntrinsic('%EvalError%'); - -var DaysInYear = require('./DaysInYear'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function InLeapYear(t) { - var days = DaysInYear(YearFromTime(t)); - if (days === 365) { - return 0; - } - if (days === 366) { - return 1; - } - throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); -}; diff --git a/node_modules/es-abstract/5/IsAccessorDescriptor.js b/node_modules/es-abstract/5/IsAccessorDescriptor.js deleted file mode 100644 index da64a302a..000000000 --- a/node_modules/es-abstract/5/IsAccessorDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var Type = require('./Type'); - -var assertRecord = require('../helpers/assertRecord'); - -// https://262.ecma-international.org/5.1/#sec-8.10.1 - -module.exports = function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/5/IsCallable.js b/node_modules/es-abstract/5/IsCallable.js deleted file mode 100644 index 3a69b1926..000000000 --- a/node_modules/es-abstract/5/IsCallable.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.11 - -module.exports = require('is-callable'); diff --git a/node_modules/es-abstract/5/IsDataDescriptor.js b/node_modules/es-abstract/5/IsDataDescriptor.js deleted file mode 100644 index 9db441e96..000000000 --- a/node_modules/es-abstract/5/IsDataDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var has = require('has'); - -var Type = require('./Type'); - -var assertRecord = require('../helpers/assertRecord'); - -// https://262.ecma-international.org/5.1/#sec-8.10.2 - -module.exports = function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; -}; diff --git a/node_modules/es-abstract/5/IsGenericDescriptor.js b/node_modules/es-abstract/5/IsGenericDescriptor.js deleted file mode 100644 index b47bfc335..000000000 --- a/node_modules/es-abstract/5/IsGenericDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var Type = require('./Type'); - -var assertRecord = require('../helpers/assertRecord'); - -// https://262.ecma-international.org/5.1/#sec-8.10.3 - -module.exports = function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) { - return true; - } - - return false; -}; diff --git a/node_modules/es-abstract/5/IsPropertyDescriptor.js b/node_modules/es-abstract/5/IsPropertyDescriptor.js deleted file mode 100644 index 4cfe79bbe..000000000 --- a/node_modules/es-abstract/5/IsPropertyDescriptor.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -// TODO, semver-major: delete this - -var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); - -var Type = require('./Type'); -var IsDataDescriptor = require('./IsDataDescriptor'); -var IsAccessorDescriptor = require('./IsAccessorDescriptor'); - -// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type - -module.exports = function IsPropertyDescriptor(Desc) { - return isPropertyDescriptor({ - IsDataDescriptor: IsDataDescriptor, - IsAccessorDescriptor: IsAccessorDescriptor, - Type: Type - }, Desc); -}; diff --git a/node_modules/es-abstract/5/MakeDate.js b/node_modules/es-abstract/5/MakeDate.js deleted file mode 100644 index efeb6452e..000000000 --- a/node_modules/es-abstract/5/MakeDate.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.13 - -module.exports = function MakeDate(day, time) { - if (!$isFinite(day) || !$isFinite(time)) { - return NaN; - } - return (day * msPerDay) + time; -}; diff --git a/node_modules/es-abstract/5/MakeDay.js b/node_modules/es-abstract/5/MakeDay.js deleted file mode 100644 index 13f568633..000000000 --- a/node_modules/es-abstract/5/MakeDay.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $DateUTC = GetIntrinsic('%Date.UTC%'); - -var $isFinite = require('../helpers/isFinite'); - -var DateFromTime = require('./DateFromTime'); -var Day = require('./Day'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var MonthFromTime = require('./MonthFromTime'); -var ToInteger = require('./ToInteger'); -var YearFromTime = require('./YearFromTime'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.12 - -module.exports = function MakeDay(year, month, date) { - if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { - return NaN; - } - var y = ToInteger(year); - var m = ToInteger(month); - var dt = ToInteger(date); - var ym = y + floor(m / 12); - var mn = modulo(m, 12); - var t = $DateUTC(ym, mn, 1); - if (YearFromTime(t) !== ym || MonthFromTime(t) !== mn || DateFromTime(t) !== 1) { - return NaN; - } - return Day(t) + dt - 1; -}; diff --git a/node_modules/es-abstract/5/MakeTime.js b/node_modules/es-abstract/5/MakeTime.js deleted file mode 100644 index 34cb4dcca..000000000 --- a/node_modules/es-abstract/5/MakeTime.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var $isFinite = require('../helpers/isFinite'); -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var msPerMinute = timeConstants.msPerMinute; -var msPerHour = timeConstants.msPerHour; - -var ToInteger = require('./ToInteger'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.11 - -module.exports = function MakeTime(hour, min, sec, ms) { - if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { - return NaN; - } - var h = ToInteger(hour); - var m = ToInteger(min); - var s = ToInteger(sec); - var milli = ToInteger(ms); - var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; - return t; -}; diff --git a/node_modules/es-abstract/5/MinFromTime.js b/node_modules/es-abstract/5/MinFromTime.js deleted file mode 100644 index a0c631d4c..000000000 --- a/node_modules/es-abstract/5/MinFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerMinute = timeConstants.msPerMinute; -var MinutesPerHour = timeConstants.MinutesPerHour; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function MinFromTime(t) { - return modulo(floor(t / msPerMinute), MinutesPerHour); -}; diff --git a/node_modules/es-abstract/5/MonthFromTime.js b/node_modules/es-abstract/5/MonthFromTime.js deleted file mode 100644 index a482a7df9..000000000 --- a/node_modules/es-abstract/5/MonthFromTime.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; - -var DayWithinYear = require('./DayWithinYear'); -var InLeapYear = require('./InLeapYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.4 - -module.exports = function MonthFromTime(t) { - var day = DayWithinYear(t); - if (0 <= day && day < 31) { - return 0; - } - var leap = InLeapYear(t); - if (31 <= day && day < (59 + leap)) { - return 1; - } - if ((59 + leap) <= day && day < (90 + leap)) { - return 2; - } - if ((90 + leap) <= day && day < (120 + leap)) { - return 3; - } - if ((120 + leap) <= day && day < (151 + leap)) { - return 4; - } - if ((151 + leap) <= day && day < (181 + leap)) { - return 5; - } - if ((181 + leap) <= day && day < (212 + leap)) { - return 6; - } - if ((212 + leap) <= day && day < (243 + leap)) { - return 7; - } - if ((243 + leap) <= day && day < (273 + leap)) { - return 8; - } - if ((273 + leap) <= day && day < (304 + leap)) { - return 9; - } - if ((304 + leap) <= day && day < (334 + leap)) { - return 10; - } - if ((334 + leap) <= day && day < (365 + leap)) { - return 11; - } -}; diff --git a/node_modules/es-abstract/5/SameValue.js b/node_modules/es-abstract/5/SameValue.js deleted file mode 100644 index b73939b20..000000000 --- a/node_modules/es-abstract/5/SameValue.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $isNaN = require('../helpers/isNaN'); - -// http://262.ecma-international.org/5.1/#sec-9.12 - -module.exports = function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); -}; diff --git a/node_modules/es-abstract/5/SecFromTime.js b/node_modules/es-abstract/5/SecFromTime.js deleted file mode 100644 index fc2e44560..000000000 --- a/node_modules/es-abstract/5/SecFromTime.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var floor = require('./floor'); -var modulo = require('./modulo'); - -var timeConstants = require('../helpers/timeConstants'); -var msPerSecond = timeConstants.msPerSecond; -var SecondsPerMinute = timeConstants.SecondsPerMinute; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function SecFromTime(t) { - return modulo(floor(t / msPerSecond), SecondsPerMinute); -}; diff --git a/node_modules/es-abstract/5/StrictEqualityComparison.js b/node_modules/es-abstract/5/StrictEqualityComparison.js deleted file mode 100644 index f3435ba9d..000000000 --- a/node_modules/es-abstract/5/StrictEqualityComparison.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var Type = require('./Type'); - -// https://262.ecma-international.org/5.1/#sec-11.9.6 - -module.exports = function StrictEqualityComparison(x, y) { - var xType = Type(x); - var yType = Type(y); - if (xType !== yType) { - return false; - } - if (xType === 'Undefined' || xType === 'Null') { - return true; - } - return x === y; // shortcut for steps 4-7 -}; diff --git a/node_modules/es-abstract/5/TimeClip.js b/node_modules/es-abstract/5/TimeClip.js deleted file mode 100644 index e416cab4b..000000000 --- a/node_modules/es-abstract/5/TimeClip.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); -var $Number = GetIntrinsic('%Number%'); - -var $isFinite = require('../helpers/isFinite'); - -var abs = require('./abs'); -var ToNumber = require('./ToNumber'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.14 - -module.exports = function TimeClip(time) { - if (!$isFinite(time) || abs(time) > 8.64e15) { - return NaN; - } - return $Number(new $Date(ToNumber(time))); -}; - diff --git a/node_modules/es-abstract/5/TimeFromYear.js b/node_modules/es-abstract/5/TimeFromYear.js deleted file mode 100644 index f3518a41a..000000000 --- a/node_modules/es-abstract/5/TimeFromYear.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -var DayFromYear = require('./DayFromYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function TimeFromYear(y) { - return msPerDay * DayFromYear(y); -}; diff --git a/node_modules/es-abstract/5/TimeWithinDay.js b/node_modules/es-abstract/5/TimeWithinDay.js deleted file mode 100644 index 2bba83386..000000000 --- a/node_modules/es-abstract/5/TimeWithinDay.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerDay = require('../helpers/timeConstants').msPerDay; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.2 - -module.exports = function TimeWithinDay(t) { - return modulo(t, msPerDay); -}; - diff --git a/node_modules/es-abstract/5/ToBoolean.js b/node_modules/es-abstract/5/ToBoolean.js deleted file mode 100644 index 466404bf9..000000000 --- a/node_modules/es-abstract/5/ToBoolean.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.2 - -module.exports = function ToBoolean(value) { return !!value; }; diff --git a/node_modules/es-abstract/5/ToInt32.js b/node_modules/es-abstract/5/ToInt32.js deleted file mode 100644 index b879ccc47..000000000 --- a/node_modules/es-abstract/5/ToInt32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.5 - -module.exports = function ToInt32(x) { - return ToNumber(x) >> 0; -}; diff --git a/node_modules/es-abstract/5/ToInteger.js b/node_modules/es-abstract/5/ToInteger.js deleted file mode 100644 index d1c9b6162..000000000 --- a/node_modules/es-abstract/5/ToInteger.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -// http://262.ecma-international.org/5.1/#sec-9.4 - -module.exports = function ToInteger(value) { - var number = ToNumber(value); - if ($isNaN(number)) { return 0; } - if (number === 0 || !$isFinite(number)) { return number; } - return $sign(number) * floor(abs(number)); -}; diff --git a/node_modules/es-abstract/5/ToNumber.js b/node_modules/es-abstract/5/ToNumber.js deleted file mode 100644 index 2bfc74ca2..000000000 --- a/node_modules/es-abstract/5/ToNumber.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var ToPrimitive = require('./ToPrimitive'); - -// http://262.ecma-international.org/5.1/#sec-9.3 - -module.exports = function ToNumber(value) { - var prim = ToPrimitive(value, Number); - if (typeof prim !== 'string') { - return +prim; // eslint-disable-line no-implicit-coercion - } - - // eslint-disable-next-line no-control-regex - var trimmed = prim.replace(/^[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+|[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+$/g, ''); - if ((/^0[ob]|^[+-]0x/).test(trimmed)) { - return NaN; - } - - return +trimmed; // eslint-disable-line no-implicit-coercion -}; diff --git a/node_modules/es-abstract/5/ToObject.js b/node_modules/es-abstract/5/ToObject.js deleted file mode 100644 index 816e53756..000000000 --- a/node_modules/es-abstract/5/ToObject.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Object = GetIntrinsic('%Object%'); - -var CheckObjectCoercible = require('./CheckObjectCoercible'); - -// http://262.ecma-international.org/5.1/#sec-9.9 - -module.exports = function ToObject(value) { - CheckObjectCoercible(value); - return $Object(value); -}; diff --git a/node_modules/es-abstract/5/ToPrimitive.js b/node_modules/es-abstract/5/ToPrimitive.js deleted file mode 100644 index 56dfdb0cb..000000000 --- a/node_modules/es-abstract/5/ToPrimitive.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// http://262.ecma-international.org/5.1/#sec-9.1 - -module.exports = require('es-to-primitive/es5'); diff --git a/node_modules/es-abstract/5/ToPropertyDescriptor.js b/node_modules/es-abstract/5/ToPropertyDescriptor.js deleted file mode 100644 index 53db87450..000000000 --- a/node_modules/es-abstract/5/ToPropertyDescriptor.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var has = require('has'); - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var Type = require('./Type'); -var ToBoolean = require('./ToBoolean'); -var IsCallable = require('./IsCallable'); - -// https://262.ecma-international.org/5.1/#sec-8.10.5 - -module.exports = function ToPropertyDescriptor(Obj) { - if (Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !IsCallable(getter)) { - throw new $TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; -}; diff --git a/node_modules/es-abstract/5/ToString.js b/node_modules/es-abstract/5/ToString.js deleted file mode 100644 index c39faeb0d..000000000 --- a/node_modules/es-abstract/5/ToString.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $String = GetIntrinsic('%String%'); - -// http://262.ecma-international.org/5.1/#sec-9.8 - -module.exports = function ToString(value) { - return $String(value); -}; - diff --git a/node_modules/es-abstract/5/ToUint16.js b/node_modules/es-abstract/5/ToUint16.js deleted file mode 100644 index 633ca8464..000000000 --- a/node_modules/es-abstract/5/ToUint16.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var abs = require('./abs'); -var floor = require('./floor'); -var modulo = require('./modulo'); -var ToNumber = require('./ToNumber'); - -var $isNaN = require('../helpers/isNaN'); -var $isFinite = require('../helpers/isFinite'); -var $sign = require('../helpers/sign'); - -// http://262.ecma-international.org/5.1/#sec-9.7 - -module.exports = function ToUint16(value) { - var number = ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = $sign(number) * floor(abs(number)); - return modulo(posInt, 0x10000); -}; diff --git a/node_modules/es-abstract/5/ToUint32.js b/node_modules/es-abstract/5/ToUint32.js deleted file mode 100644 index 2a8e9dd6a..000000000 --- a/node_modules/es-abstract/5/ToUint32.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var ToNumber = require('./ToNumber'); - -// http://262.ecma-international.org/5.1/#sec-9.6 - -module.exports = function ToUint32(x) { - return ToNumber(x) >>> 0; -}; diff --git a/node_modules/es-abstract/5/Type.js b/node_modules/es-abstract/5/Type.js deleted file mode 100644 index f02303074..000000000 --- a/node_modules/es-abstract/5/Type.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -// https://262.ecma-international.org/5.1/#sec-8 - -module.exports = function Type(x) { - if (x === null) { - return 'Null'; - } - if (typeof x === 'undefined') { - return 'Undefined'; - } - if (typeof x === 'function' || typeof x === 'object') { - return 'Object'; - } - if (typeof x === 'number') { - return 'Number'; - } - if (typeof x === 'boolean') { - return 'Boolean'; - } - if (typeof x === 'string') { - return 'String'; - } -}; diff --git a/node_modules/es-abstract/5/WeekDay.js b/node_modules/es-abstract/5/WeekDay.js deleted file mode 100644 index 17cf94ca3..000000000 --- a/node_modules/es-abstract/5/WeekDay.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var Day = require('./Day'); -var modulo = require('./modulo'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.6 - -module.exports = function WeekDay(t) { - return modulo(Day(t) + 4, 7); -}; diff --git a/node_modules/es-abstract/5/YearFromTime.js b/node_modules/es-abstract/5/YearFromTime.js deleted file mode 100644 index be06ecbc3..000000000 --- a/node_modules/es-abstract/5/YearFromTime.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Date = GetIntrinsic('%Date%'); - -var callBound = require('call-bind/callBound'); - -var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); - -// https://262.ecma-international.org/5.1/#sec-15.9.1.3 - -module.exports = function YearFromTime(t) { - // largest y such that this.TimeFromYear(y) <= t - return $getUTCFullYear(new $Date(t)); -}; diff --git a/node_modules/es-abstract/5/abs.js b/node_modules/es-abstract/5/abs.js deleted file mode 100644 index 8bc45434d..000000000 --- a/node_modules/es-abstract/5/abs.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $abs = GetIntrinsic('%Math.abs%'); - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function abs(x) { - return $abs(x); -}; diff --git a/node_modules/es-abstract/5/floor.js b/node_modules/es-abstract/5/floor.js deleted file mode 100644 index 8439df064..000000000 --- a/node_modules/es-abstract/5/floor.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -// var modulo = require('./modulo'); -var $floor = Math.floor; - -// http://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function floor(x) { - // return x - modulo(x, 1); - return $floor(x); -}; diff --git a/node_modules/es-abstract/5/modulo.js b/node_modules/es-abstract/5/modulo.js deleted file mode 100644 index b94bb52bb..000000000 --- a/node_modules/es-abstract/5/modulo.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var mod = require('../helpers/mod'); - -// https://262.ecma-international.org/5.1/#sec-5.2 - -module.exports = function modulo(x, y) { - return mod(x, y); -}; diff --git a/node_modules/es-abstract/5/msFromTime.js b/node_modules/es-abstract/5/msFromTime.js deleted file mode 100644 index a6bae767a..000000000 --- a/node_modules/es-abstract/5/msFromTime.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var modulo = require('./modulo'); - -var msPerSecond = require('../helpers/timeConstants').msPerSecond; - -// https://262.ecma-international.org/5.1/#sec-15.9.1.10 - -module.exports = function msFromTime(t) { - return modulo(t, msPerSecond); -}; diff --git a/node_modules/es-abstract/CHANGELOG.md b/node_modules/es-abstract/CHANGELOG.md deleted file mode 100644 index c409f8416..000000000 --- a/node_modules/es-abstract/CHANGELOG.md +++ /dev/null @@ -1,486 +0,0 @@ -1.18.3 / 2021-05-27 -================= - * [Fix] `ES2020+`: `ToNumber`: ensure it throws on a BigInt (#130) - -1.18.2 / 2021-05-25 -================= - * [meta] add `helpers` to "exports" field, for back compat - -1.18.1 / 2021-05-25 -================= - * [readme] update and clarify entry points - * [meta] add "exports" field, with escape hatch - * [meta] add `sideEffects` field - * [meta] use `prepublishOnly`, for npm 7+ - * [eslint] clean up eslint rules - * [Deps] update `is-regex`, `is-string`, `object-inspect`, `unbox-primitive` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` - * [actions] disable fail-fast on matrix jobs - * [actions] use `node/install` action instead of `node/run` - * [actions] update codeql-analysis to new best practices - -1.18.0 / 2021-03-03 -================= - * [New] add `ES2020`, and a number of additional AOs: See the changelog entries for the prereleases for more information: - - [next.3](./CHANGELOG.md#1180-next3--2021-03-01) - - [next.2](./CHANGELOG.md#1180-next2--2021-01-17) - - [next.1](./CHANGELOG.md#1180-next1--2020-09-30) - - [next.0](./CHANGELOG.md#1180-next0--2020-08-14) - * [Refactor] `ES5+`: `Abstract Relational Comparison`: increase coverage - * [Tests] increase coverage - * [Tests] do not run coverage on node 0.6 - -1.18.0-next.3 / 2021-03-01 -================= - * [New] `ES2015`: add `StringGetIndexProperty` - * [New] `ES2015+`: add `RegExpCreate`, `SplitMatch`, `StringCreate` - * [New] `ES2016-ES2019`: add `UTF16Decode` - * [New] `ES2020+`: add `NumberToBigInt` - * [New] `ES2020+: add `BigInt::`/`Number::` methods: - * [Fix] `ES5`: `ToNumber`: properly refuse to parse ES6+ forms - * [Fix] `ES2015+`: `Invoke`: optional argumentsList must be a List of arguments, not a list of arguments - * [Fix] `ES2016+`: `UTF16Encoding`: properly return a string code point instead of a numeric code point - * [Fix] `ES2020`: `NumberBitwiseOp`: assert that x and y are Numbers - * [readme] remove travis/testling badge, fix repo URLs - * [meta] `ES2015`: add missing `CreateArrayIterator` AO - * [meta] `ES2015-ES2017`: add missing `DaylightSavingTA` AO - * [meta] rerun `npm run spackle` to update URLs left after 11d8c8df11c0d15d094a6035afed662e22b440ef - * [meta] update ecma URLs - * [meta] unignore 2020 operations list - * [meta] update operations scripts linting - * [meta] refactor getOps script to fetch all years at once - * [meta] refactor operations script to keep years in one place - * [meta] fix ES2015 spec URL - * [Deps] update `has-symbols`, `string.prototype.trimend`, `string.prototype.trimstart`, `get-intrinsic`, `is-callable`, `is-regex` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `array.prototype.indexof`, `aud`, `es-value-fixtures`, `object.fromentries`, `tape`, `diff` - * [operations] detect ES2020+ style `T::` numeric operations - * [Tests] increase coverage - * [Tests] `BigInt(1e17)` throws on node v10.4-v10.6 - * [Tests] improve coverage on `Number::` methods - * [Tests] `tape` v5 `.equal` now uses strict equality, so no more need for `is()` - * [Tests] improve BigInt:: and Number:: coverage - * [Tests] actually run all the helpers tests - * [Tests] ensure "expected missing" ops list is accurate - * [Tests] abstract away per-operation skips - * [Tests] skip BigInt:: tests on envs without BigInts - * [Tests] use `es-value-fixtures` - * [actions] update workflows - -1.18.0-next.2 / 2021-01-17 -================= - * [New] `helpers`: add `isByteValue`, `isCodePoint`, `some` - * [Fix] `ES2018+`: fix `GetSubstitution` with named captures - * [Fix] `ES2020`: `GetIterator`: add omitted `hint` parameter - * [Fix] `ES2018`/`ES2019`: `SetFunctionLength`: Infinities should throw - * [Fix] `ES2020`: `ToIndex` uses `SameValue` instead of `SameValueZero` - * [Fix] `ES2020`: `CopyDataProperties` uses `CreateDataPropertyOrThrow` instead of `CreateDataProperty` - * [Refactor] use extracted `call-bind` instead of local helpers - * [Refactor] use extracted `get-intrinsic` package - * [Deps] update `call-bind`, `get-intrinsic`, `is-callable`, `is-negative-zero`, `is-regex`, `object-inspect`, `object.assign`, `string.prototype.trimend`, `string.prototype.trimstart` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `array.prototype.indexof`, `aud`, `diff`, `functions-have-names`, `has-bigints`, `has-strict-mode`, `object-is`, `object.fromentries`, `tape` - * [actions] switch Automatic Rebase workflow to `pull_request_target` event - * [actions] add "Allow Edits" workflow - * [meta] pin cheerio to v1.0.0-rc.3, to fix getOps - * [meta] make all URLs consistent, and point to spec artifacts - * [meta] refactor `deltas` script; update eslint on operations scripts - * [meta] do not publish .github dir (#123) - * [Tests] add `v.notNonNegativeIntegers`, `v.nonConstructorFunctions` - * [Tests] migrate tests to Github Actions - * [Tests] run coverage on all tests - * [Tests] add `npm run test:ses` - -1.18.0-next.1 / 2020-09-30 -================= - * [Fix] `ES2020`: `ToInteger`: `-0` should always be normalized to `+0` (#116) - * [patch] `GetIntrinsic`: Adapt to override-mistake-fix pattern (#115) - * [Fix] `callBind`: ensure compatibility with SES - * [Deps] update `is-callable`, `object.assign` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config` - * [eslint] fix warning - * [Tests] temporarily allow SES tests to fail (#115) - * [Tests] ses-compat - initialize module after ses lockdown (#113) - * [Tests] [Refactor] use defineProperty helper rather than assignment - * [Tests] [Refactor] clean up defineProperty test helper - -1.18.0-next.0 / 2020-08-14 -================= - * [New] add `ES2020` - * [New] `GetIntrinsic`: add `%AggregateError%`, `%FinalizationRegistry%`, and `%WeakRef%` - * [New] `ES5`+: add `abs`, `floor`; use `modulo` consistently - * [New] `GetIntrinsic`: Cache accessed intrinsics (#98) - * [New] `GetIntrinsic`: Add ES201x function intrinsics (#97) - * [New] `ES2015`+: add `QuoteJSONString`, `OrdinaryCreateFromConstructor` - * [New] `ES2017`+: add `StringGetOwnProperty` - * [New] `ES2016`+: add `UTF16Encoding` - * [New] `ES2018`+: add `SetFunctionLength`, `UnicodeEscape` - * [New] add `isLeadingSurrogate`/`isTrailingSurrogate` helpers - * [Fix] `ES5`+: `ToPropertyDescriptor`: use intrinsic TypeError - * [Fix] `ES2018+`: `CopyDataProperties`/`NumberToString`: use intrinsic TypeError - * [Deps] update `is-regex`, `object-inspect` - * [Dev Deps] update `eslint` - -1.17.7 / 2020-09-30 -================= - * [Fix] `ES2020`: `ToInteger`: `-0` should always be normalized to `+0` (#116) - * [patch] `GetIntrinsic`: Adapt to override-mistake-fix pattern (#115) - * [Fix] `callBind`: ensure compatibility with SES - * [Deps] update `is-callable`, `is-regex`, `object-inspect`, `object.assign` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config` - -1.17.6 / 2020-06-13 -================= - * [Fix] `helpers/getSymbolDescription`: use the global Symbol registry when available (#92) - * [Fix] `ES2015+`: `IsConstructor`: when `Reflect.construct` is available, be spec-accurate (#93) - * [Fix] `ES2015+`: `Set`: Always return boolean value (#101) - * [Fix] `ES2015+`: `Set`: ensure exceptions are thrown in IE 9 when requested - * [Fix] Use `Reflect.apply(…)` if available (#99) - * [Fix] `helpers/floor`: module-cache `Math.floor` - * [Fix] `helpers/getSymbolDescription`: Prefer bound `description` getter when present - * [Fix] `2016`: Use `getIteratorMethod` in `IterableToArrayLike` (#94) - * [Fix] `helpers/OwnPropertyKeys`: Use `Reflect.ownKeys(…)` if available (#91) - * [Fix] `2018+`: Fix `CopyDataProperties` depending on `this` (#95) - * [meta] mark spackled files as autogenerated - * [meta] `Type`: fix spec URL - * [meta] `ES2015`: complete ops list - * [Deps] update `is‑callable`, `is‑regex` - * [Deps] switch from `string.prototype.trimleft`/`string.prototype.trimright` to `string.prototype.trimstart`/`string.prototype.trimend` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `in-publish`, `object-is`, `tape`; add `aud` - * [eslint] `helpers/isPropertyDescriptor`: fix indentation - * [Tests] `helpers/getSymbolDescription`: add test cases; some envs have `Symbol.for` but can not infer a name (#92) - * [Tests] try out CodeQL analysis - * [Tests] reformat expected missing ops - * [Tests] Run tests with `undefined` this (#96) - -1.17.5 / 2020-03-22 -================= - * [Fix] `CreateDataProperty`: update an existing property - * [Fix] run missing spackle from cd7504701879ddea0f5981e99cbcf93bfea9171d - * [Dev Deps] update `make-arrow-function`, `tape`, `@ljharb/eslint-config` - -1.17.4 / 2020-01-21 -================= - * [Fix] `2015+`: add code to handle IE 8’s problems - * [Tests] fix tests for IE 8 - -1.17.3 / 2020-01-19 -================= - * [Fix] `ObjectCreate` `2015+`: Fall back to `__proto__` and normal `new` in older browsers - * [Fix] `GetIntrinsic`: ensure the `allowMissing` property actually works on dotted intrinsics - -1.17.2 / 2020-01-14 -================= - * [Fix] `helpers/OwnPropertyKeys`: include non-enumerables too - -1.17.1 / 2020-01-14 -================= - * [Refactor] add `OwnPropertyKeys` helper, use it in `CopyDataProperties` - * [Refactor] `IteratorClose`: remove useless assignment - * [Dev Deps] update `eslint`, `tape`, `diff` - -1.17.0 / 2019-12-20 -================= - * [New] Split up each operation into its own file (prereleased) - * [Fix] `GetIntrinsic`: IE 8 has a broken `Object.getOwnPropertyDescriptor` - * [Fix] `object.assign` is a runtime dep (prereleased) - * [Refactor] `GetIntrinsic`: remove the internal property salts, since % already handles that - * [Refactor] `GetIntrinsic`: further simplification - * [Deps] update `is-callable`, `string.prototype.trimleft`, `string.prototype.trimright`, `is-regex` - * [Dev Deps] update `@ljharb/eslint-config`, `object-is`, `object.fromentries`, `tape` - * [Tests] add `.eslintignore` - * [meta] remove unused Makefile and associated utils - * [meta] only run spackle script in publish (#78) (prereleased) - -1.17.0-next.1 / 2019-12-11 -================= - * [Fix] `object.assign` is a runtime dep - * [meta] only run spackle script in publish (#78) - -1.17.0-next.0 / 2019-12-11 -================= - * [New] Split up each operation into its own file - -1.16.3 / 2019-12-04 -================= - * [Fix] `GetIntrinsic`: when given a path to a getter, return the actual getter - * [Dev Deps] update `eslint` - -1.16.2 / 2019-11-24 -================= - * [Fix] IE 6-7 lack JSON - * [Fix] IE 6-8 strings can’t use array slice, they need string slice - * [Dev Deps] update `eslint` - -1.16.1 / 2019-11-24 -================= - * [Fix] `GetIntrinsics`: turns out IE 8 throws when `Object.getOwnPropertyDescriptor(arguments);`, and does not throw on `callee` anyways - * [Deps] update `es-to-primitive`, `has-symbols`, `object-inspect` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest` - * [meta] re-include year files inside `operations` - * [meta] add `funding` field - * [actions] add Automatic Rebase github action - * [Tests] use shared travis-ci config - * [Tests] disable `check-coverage`, and let codecov do it - -1.16.0 / 2019-10-18 -================= - * [New] `ES2015+`: add `SetFunctionName` - * [New] `ES2015+`: add `GetPrototypeFromConstructor`, with caveats - * [New] `ES2015+`: add `CreateListFromArrayLike` - * [New] `ES2016+`: add `OrdinarySetPrototypeOf` - * [New] `ES2016+`: add `OrdinaryGetPrototypeOf` - * [New] add `getSymbolDescription` and `getInferredName` helpers - * [Fix] `GetIterator`: add fallback for pre-Symbol environments, tests - * [Dev Deps] update `object.fromentries` - * [Tests] add `node` `v12.2` - -1.15.0 / 2019-10-02 -================= - * [New] `ES2018`+: add `DateString`, `TimeString` - * [New] `ES2015`+: add `ToDateString` - * [New] `ES5`+: add `msFromTime`, `SecFromTime`, `MinFromTime`, `HourFromTime`, `TimeWithinDay`, `Day`, `DayFromYear`, `TimeFromYear`, `YearFromTime`, `WeekDay`, `DaysInYear`, `InLeapYear`, `DayWithinYear`, `MonthFromTime`, `DateFromTime`, `MakeDay`, `MakeDate`, `MakeTime`, `TimeClip`, `modulo` - * [New] add `regexTester` helper - * [New] add `callBound` helper - * [New] add ES2020’s intrinsic dot notation - * [New] add `isPrefixOf` helper - * [New] add `maxSafeInteger` helper - * [Deps] update `string.prototype.trimleft`, `string.prototype.trimright` - * [Dev Deps] update `eslint` - * [Tests] on `node` `v12.11` - * [meta] npmignore operations scripts; add "deltas" - -1.14.2 / 2019-09-08 -================= - * [Fix] `ES2016`: `IterableToArrayLike`: add proper fallback for strings, pre-Symbols - * [Tests] on `node` `v12.10` - -1.14.1 / 2019-09-03 -================= - * [meta] republish with some extra files removed - -1.14.0 / 2019-09-02 -================= - * [New] add ES2019 - * [New] `ES2017+`: add `IterableToList` - * [New] `ES2016`: add `IterableToArrayLike` - * [New] `ES2015+`: add `ArrayCreate`, `ArraySetLength`, `OrdinaryDefineOwnProperty`, `OrdinaryGetOwnProperty`, `OrdinaryHasProperty`, `CreateHTML`, `GetOwnPropertyKeys`, `InstanceofOperator`, `SymbolDescriptiveString`, `GetSubstitution`, `ValidateAndApplyPropertyDescriptor`, `IsPromise`, `OrdinaryHasInstance`, `TestIntegrityLevel`, `SetIntegrityLevel` - * [New] add `callBind` helper, and use it - * [New] add helpers: `isPropertyDescriptor`, `every` - * [New] ES5+: add `Abstract Relational Comparison` - * [New] ES5+: add `Abstract Equality Comparison`, `Strict Equality Comparison` - * [Fix] `ES2015+`: `GetIterator`: only require native Symbols when `method` is omitted - * [Fix] `ES2015`: `Call`: error message now properly displays Symbols using `object-inspect` - * [Fix] `ES2015+`: `ValidateAndApplyPropertyDescriptor`: use ES2017 logic to bypass spec bugs - * [Fix] `ES2015+`: `CreateDataProperty`, `DefinePropertyOrThrow`, `ValidateAndApplyPropertyDescriptor`: add fallbacks for ES3 - * [Fix] `ES2015+`: `FromPropertyDescriptor`: no longer requires a fully complete Property Descriptor - * [Fix] `ES5`: `IsPropertyDescriptor`: call into `IsDataDescriptor` and `IsAccessorDescriptor` - * [Refactor] use `has-symbols` for Symbol detection - * [Fix] `helpers/assertRecord`: remove `console.log` - * [Deps] update `object-keys` - * [readme] add security note - * [meta] change http URLs to https - * [meta] linter cleanup - * [meta] fix getOps script - * [meta] add FUNDING.yml - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `semver`, `replace`, `cheerio`, `tape` - * [Tests] up to `node` `v12.9`, `v11.15`, `v10.16`, `v8.16`, `v6.17` - * [Tests] temporarily allow node 0.6 to fail; segfaulting in travis - * [Tests] use the values helper more in es5 tests - * [Tests] fix linting to apply to all files - * [Tests] run `npx aud` only on prod deps - * [Tests] add v.descriptors helpers - * [Tests] use `npx aud` instead of `npm audit` with hoops - * [Tests] use `eclint` instead of `editorconfig-tools` - * [Tests] some intrinsic cleanup - * [Tests] migrate es5 tests to use values helper - * [Tests] add some missing ES2015 ops - -1.13.0 / 2019-01-02 -================= - * [New] add ES2018 - * [New] add ES2015/ES2016: EnumerableOwnNames; ES2017: EnumerableOwnProperties - * [New] `ES2015+`: add `thisBooleanValue`, `thisNumberValue`, `thisStringValue`, `thisTimeValue` - * [New] `ES2015+`: add `DefinePropertyOrThrow`, `DeletePropertyOrThrow`, `CreateMethodProperty` - * [New] add `assertRecord` helper - * [Deps] update `is-callable`, `has`, `object-keys`, `es-to-primitive` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `semver`, `safe-publish-latest`, `replace` - * [Tests] use `npm audit` instead of `nsp` - * [Tests] remove `jscs` - * [Tests] up to `node` `v11.6`, `v10.15`, `v8.15`, `v6.16` - * [Tests] move descriptor factories to `values` helper - * [Tests] add `getOps` to programmatically fetch abstract operation names - -1.12.0 / 2018-05-31 -================= - * [New] add `GetIntrinsic` entry point - * [New] `ES2015`+: add `ObjectCreate` - * [Robustness]: `ES2015+`: ensure `Math.{abs,floor}` and `Function.call` are cached - -1.11.0 / 2018-03-21 -================= - * [New] `ES2015+`: add iterator abstract ops - * [Dev Deps] update `eslint`, `nsp`, `object.assign`, `semver`, `tape` - * [Tests] up to `node` `v9.8`, `v8.10`, `v6.13` - -1.10.0 / 2017-11-24 -================= - * [New] ES2015+: `AdvanceStringIndex` - * [Dev Deps] update `eslint`, `nsp` - * [Tests] require node 0.6 to pass again - * [Tests] up to `node` `v9.2`, `v8.9`, `v6.12`; use `nvm install-latest-npm`; pin included builds to LTS - -1.9.0 / 2017-09-30 -================= - * [New] `es2015+`: add `ArraySpeciesCreate` - * [New] ES2015+: add `CreateDataProperty` and `CreateDataPropertyOrThrow` - * [Tests] consolidate duplicated tests - * [Tests] increase coverage - * [Dev Deps] update `nsp`, `eslint` - -1.8.2 / 2017-09-03 -================= - * [Fix] `es2015`+: `ToNumber`: provide the proper hint for Date objects (#27) - * [Dev Deps] update `eslint` - -1.8.1 / 2017-08-30 -================= - * [Fix] ES2015+: `ToPropertyKey`: should return a symbol for Symbols (#26) - * [Deps] update `function-bind` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config` - * [Docs] github broke markdown parsing - -1.8.0 / 2017-08-04 -================= - * [New] add ES2017 - * [New] move es6+ to es2015+; leave es6/es7 as aliases - * [New] ES5+: add `IsPropertyDescriptor`, `IsAccessorDescriptor`, `IsDataDescriptor`, `IsGenericDescriptor`, `FromPropertyDescriptor`, `ToPropertyDescriptor` - * [New] ES2015+: add `CompletePropertyDescriptor`, `Set`, `HasOwnProperty`, `HasProperty`, `IsConcatSpreadable`, `Invoke`, `CreateIterResultObject`, `RegExpExec` - * [Fix] es7/es2016: do not mutate ES6 - * [Fix] assign helper only supports one source - * [Deps] update `is-regex` - * [Dev Deps] update `nsp`, `eslint`, `@ljharb/eslint-config` - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `nsp`, `semver`, `tape` - * [Tests] add tests for missing and excess operations - * [Tests] add codecov for coverage - * [Tests] up to `node` `v8.2`, `v7.10`, `v6.11`, `v4.8`; newer npm breaks on older node - * [Tests] use same lists of value types across tests; ensure tests are the same when ops are the same - * [Tests] ES2015: add ToNumber symbol tests - * [Tests] switch to `nyc` for code coverage - * [Tests] make IsRegExp tests consistent across editions - -1.7.0 / 2017-01-22 -================= - * [New] ES6: Add `GetMethod` (#16) - * [New] ES6: Add `GetV` (#16) - * [New] ES6: Add `Get` (#17) - * [Tests] up to `node` `v7.4`, `v6.9`, `v4.6`; improve test matrix - * [Dev Deps] update `tape`, `nsp`, `eslint`, `@ljharb/eslint-config`, `safe-publish-latest` - -1.6.1 / 2016-08-21 -================= - * [Fix] ES6: IsConstructor should return true for `class` constructors. - -1.6.0 / 2016-08-20 -================= - * [New] ES5 / ES6: add `Type` - * [New] ES6: `SpeciesConstructor` - * [Dev Deps] update `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver`; add `safe-publish-latest` - * [Tests] up to `node` `v6.4`, `v5.12`, `v4.5` - -1.5.1 / 2016-05-30 -================= - * [Fix] `ES.IsRegExp`: actually look up `Symbol.match` on the argument - * [Refactor] create `isNaN` helper - * [Deps] update `is-callable`, `function-bind` - * [Deps] update `es-to-primitive`, fix ES5 tests - * [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config`, `tape`, `nsp` - * [Tests] up to `node` `v6.2`, `v5.11`, `v4.4` - * [Tests] use pretest/posttest for linting/security - -1.5.0 / 2015-12-27 -================= - * [New] adds `Symbol.toPrimitive` support via `es-to-primitive` - * [Deps] update `is-callable`, `es-to-primitive` - * [Dev Deps] update `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver`, `tape` - * [Tests] up to `node` `v5.3` - -1.4.3 / 2015-11-04 -================= - * [Fix] `ES6.ToNumber`: should give `NaN` for explicitly signed hex strings (#4) - * [Refactor] `ES6.ToNumber`: No need to double-trim - * [Refactor] group tests better - * [Tests] should still pass on `node` `v0.8` - -1.4.2 / 2015-11-02 -================= - * [Fix] ensure `ES.ToNumber` trims whitespace, and does not trim non-whitespace (#3) - -1.4.1 / 2015-10-31 -================= - * [Fix] ensure only 0-1 are valid binary and 0-7 are valid octal digits (#2) - * [Dev Deps] update `tape`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config` - * [Tests] on `node` `v5.0` - * [Tests] fix npm upgrades for older node versions - * package.json: use object form of "authors", add "contributors" - -1.4.0 / 2015-09-26 -================= - * [Deps] update `is-callable` - * [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` - * [Tests] on `node` `v4.2` - * [New] Add `SameValueNonNumber` to ES7 - -1.3.2 / 2015-09-26 -================= - * [Fix] Fix `ES6.IsRegExp` to properly handle `Symbol.match`, per spec. - * [Tests] up to `io.js` `v3.3`, `node` `v4.1` - * [Dev Deps] update `tape`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver` - -1.3.1 / 2015-08-15 -================= - * [Fix] Ensure that objects that `toString` to a binary or octal literal also convert properly - -1.3.0 / 2015-08-15 -================= - * [New] ES6’s ToNumber now supports binary and octal literals. - * [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config`, `tape` - * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG - * [Tests] up to `io.js` `v3.0` - -1.2.2 / 2015-07-28 -================= - * [Fix] Both `ES5.CheckObjectCoercible` and `ES6.RequireObjectCoercible` return the value if they don't throw. - * [Tests] Test on latest `io.js` versions. - * [Dev Deps] Update `eslint`, `jscs`, `tape`, `semver`, `covert`, `nsp` - -1.2.1 / 2015-03-20 -================= - * Fix `isFinite` helper. - -1.2.0 / 2015-03-19 -================= - * Use `es-to-primitive` for ToPrimitive methods. - * Test on latest `io.js` versions; allow failures on all but 2 latest `node`/`io.js` versions. - -1.1.2 / 2015-03-20 -================= - * Fix isFinite helper. - -1.1.1 / 2015-03-19 -================= - * Fix isPrimitive check for functions - * Update `eslint`, `editorconfig-tools`, `semver`, `nsp` - -1.1.0 / 2015-02-17 -================= - * Add ES7 export (non-default). - * All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`. - * Test on `iojs-v1.2`. - -1.0.1 / 2015-01-30 -================= - * Use `is-callable` instead of an internal function. - * Update `tape`, `jscs`, `nsp`, `eslint` - -1.0.0 / 2015-01-10 -================= - * v1.0.0 diff --git a/node_modules/es-abstract/GetIntrinsic.js b/node_modules/es-abstract/GetIntrinsic.js deleted file mode 100644 index d7e67b47d..000000000 --- a/node_modules/es-abstract/GetIntrinsic.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// TODO: remove, semver-major - -module.exports = require('get-intrinsic'); diff --git a/node_modules/es-abstract/LICENSE b/node_modules/es-abstract/LICENSE deleted file mode 100644 index 8c271c14b..000000000 --- a/node_modules/es-abstract/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (C) 2015 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/es-abstract/README.md b/node_modules/es-abstract/README.md deleted file mode 100644 index 2d76a5d44..000000000 --- a/node_modules/es-abstract/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# es-abstract [![Version Badge][npm-version-svg]][package-url] - -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -ECMAScript spec abstract operations. - -Every operation is available by edition/year and by name - for example, `es-abstract/2020/Call` gives you the `Call` operation from ES2020, `es-abstract/5/Type` gives you the `Type` operation from ES5. - -All abstract operations are also available under an `es5`/`es2015`/`es2016`/`es2017`/`es2018`/`es2019`/`es2020` entry point, and as a property on the `main` export, but using deep imports is highly encouraged for bundle size and performance reasons. Non-deep entry points will be removed in the next semver-major release. - -## Example - -```js -var ES = require('es-abstract'); -var assert = require('assert'); - -assert(ES.isCallable(function () {})); -assert(!ES.isCallable(/a/g)); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -## Security - -Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. - -[package-url]: https://npmjs.org/package/es-abstract -[npm-version-svg]: https://versionbadg.es/ljharb/es-abstract.svg -[deps-svg]: https://david-dm.org/ljharb/es-abstract.svg -[deps-url]: https://david-dm.org/ljharb/es-abstract -[dev-deps-svg]: https://david-dm.org/ljharb/es-abstract/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/es-abstract#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/es-abstract.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/es-abstract.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/es-abstract.svg -[downloads-url]: https://npm-stat.com/charts.html?package=es-abstract diff --git a/node_modules/es-abstract/es2015.js b/node_modules/es-abstract/es2015.js deleted file mode 100644 index 79be96740..000000000 --- a/node_modules/es-abstract/es2015.js +++ /dev/null @@ -1,123 +0,0 @@ -'use strict'; - -/* eslint global-require: 0 */ -// https://ecma-international.org/ecma-262/6.0/#sec-abstract-operations -var ES6 = { - 'Abstract Equality Comparison': require('./2015/AbstractEqualityComparison'), - 'Abstract Relational Comparison': require('./2015/AbstractRelationalComparison'), - 'Strict Equality Comparison': require('./2015/StrictEqualityComparison'), - abs: require('./2015/abs'), - AdvanceStringIndex: require('./2015/AdvanceStringIndex'), - ArrayCreate: require('./2015/ArrayCreate'), - ArraySetLength: require('./2015/ArraySetLength'), - ArraySpeciesCreate: require('./2015/ArraySpeciesCreate'), - Call: require('./2015/Call'), - CanonicalNumericIndexString: require('./2015/CanonicalNumericIndexString'), - CompletePropertyDescriptor: require('./2015/CompletePropertyDescriptor'), - CreateDataProperty: require('./2015/CreateDataProperty'), - CreateDataPropertyOrThrow: require('./2015/CreateDataPropertyOrThrow'), - CreateHTML: require('./2015/CreateHTML'), - CreateIterResultObject: require('./2015/CreateIterResultObject'), - CreateListFromArrayLike: require('./2015/CreateListFromArrayLike'), - CreateMethodProperty: require('./2015/CreateMethodProperty'), - DateFromTime: require('./2015/DateFromTime'), - Day: require('./2015/Day'), - DayFromYear: require('./2015/DayFromYear'), - DaysInYear: require('./2015/DaysInYear'), - DayWithinYear: require('./2015/DayWithinYear'), - DefinePropertyOrThrow: require('./2015/DefinePropertyOrThrow'), - DeletePropertyOrThrow: require('./2015/DeletePropertyOrThrow'), - EnumerableOwnNames: require('./2015/EnumerableOwnNames'), - floor: require('./2015/floor'), - FromPropertyDescriptor: require('./2015/FromPropertyDescriptor'), - Get: require('./2015/Get'), - GetIterator: require('./2015/GetIterator'), - GetMethod: require('./2015/GetMethod'), - GetOwnPropertyKeys: require('./2015/GetOwnPropertyKeys'), - GetPrototypeFromConstructor: require('./2015/GetPrototypeFromConstructor'), - GetSubstitution: require('./2015/GetSubstitution'), - GetV: require('./2015/GetV'), - HasOwnProperty: require('./2015/HasOwnProperty'), - HasProperty: require('./2015/HasProperty'), - HourFromTime: require('./2015/HourFromTime'), - InLeapYear: require('./2015/InLeapYear'), - InstanceofOperator: require('./2015/InstanceofOperator'), - Invoke: require('./2015/Invoke'), - IsAccessorDescriptor: require('./2015/IsAccessorDescriptor'), - IsArray: require('./2015/IsArray'), - IsCallable: require('./2015/IsCallable'), - IsConcatSpreadable: require('./2015/IsConcatSpreadable'), - IsConstructor: require('./2015/IsConstructor'), - IsDataDescriptor: require('./2015/IsDataDescriptor'), - IsExtensible: require('./2015/IsExtensible'), - IsGenericDescriptor: require('./2015/IsGenericDescriptor'), - IsInteger: require('./2015/IsInteger'), - IsPromise: require('./2015/IsPromise'), - IsPropertyDescriptor: require('./2015/IsPropertyDescriptor'), - IsPropertyKey: require('./2015/IsPropertyKey'), - IsRegExp: require('./2015/IsRegExp'), - IteratorClose: require('./2015/IteratorClose'), - IteratorComplete: require('./2015/IteratorComplete'), - IteratorNext: require('./2015/IteratorNext'), - IteratorStep: require('./2015/IteratorStep'), - IteratorValue: require('./2015/IteratorValue'), - MakeDate: require('./2015/MakeDate'), - MakeDay: require('./2015/MakeDay'), - MakeTime: require('./2015/MakeTime'), - MinFromTime: require('./2015/MinFromTime'), - modulo: require('./2015/modulo'), - MonthFromTime: require('./2015/MonthFromTime'), - msFromTime: require('./2015/msFromTime'), - ObjectCreate: require('./2015/ObjectCreate'), - OrdinaryCreateFromConstructor: require('./2015/OrdinaryCreateFromConstructor'), - OrdinaryDefineOwnProperty: require('./2015/OrdinaryDefineOwnProperty'), - OrdinaryGetOwnProperty: require('./2015/OrdinaryGetOwnProperty'), - OrdinaryHasInstance: require('./2015/OrdinaryHasInstance'), - OrdinaryHasProperty: require('./2015/OrdinaryHasProperty'), - QuoteJSONString: require('./2015/QuoteJSONString'), - RegExpCreate: require('./2015/RegExpCreate'), - RegExpExec: require('./2015/RegExpExec'), - RequireObjectCoercible: require('./2015/RequireObjectCoercible'), - SameValue: require('./2015/SameValue'), - SameValueZero: require('./2015/SameValueZero'), - SecFromTime: require('./2015/SecFromTime'), - Set: require('./2015/Set'), - SetFunctionName: require('./2015/SetFunctionName'), - SetIntegrityLevel: require('./2015/SetIntegrityLevel'), - SpeciesConstructor: require('./2015/SpeciesConstructor'), - SplitMatch: require('./2015/SplitMatch'), - StringCreate: require('./2015/StringCreate'), - StringGetIndexProperty: require('./2015/StringGetIndexProperty'), - SymbolDescriptiveString: require('./2015/SymbolDescriptiveString'), - TestIntegrityLevel: require('./2015/TestIntegrityLevel'), - thisBooleanValue: require('./2015/thisBooleanValue'), - thisNumberValue: require('./2015/thisNumberValue'), - thisStringValue: require('./2015/thisStringValue'), - thisTimeValue: require('./2015/thisTimeValue'), - TimeClip: require('./2015/TimeClip'), - TimeFromYear: require('./2015/TimeFromYear'), - TimeWithinDay: require('./2015/TimeWithinDay'), - ToBoolean: require('./2015/ToBoolean'), - ToDateString: require('./2015/ToDateString'), - ToInt16: require('./2015/ToInt16'), - ToInt32: require('./2015/ToInt32'), - ToInt8: require('./2015/ToInt8'), - ToInteger: require('./2015/ToInteger'), - ToLength: require('./2015/ToLength'), - ToNumber: require('./2015/ToNumber'), - ToObject: require('./2015/ToObject'), - ToPrimitive: require('./2015/ToPrimitive'), - ToPropertyDescriptor: require('./2015/ToPropertyDescriptor'), - ToPropertyKey: require('./2015/ToPropertyKey'), - ToString: require('./2015/ToString'), - ToUint16: require('./2015/ToUint16'), - ToUint32: require('./2015/ToUint32'), - ToUint8: require('./2015/ToUint8'), - ToUint8Clamp: require('./2015/ToUint8Clamp'), - Type: require('./2015/Type'), - ValidateAndApplyPropertyDescriptor: require('./2015/ValidateAndApplyPropertyDescriptor'), - WeekDay: require('./2015/WeekDay'), - YearFromTime: require('./2015/YearFromTime') -}; - -module.exports = ES6; diff --git a/node_modules/es-abstract/es2016.js b/node_modules/es-abstract/es2016.js deleted file mode 100644 index 6fbdb0cf1..000000000 --- a/node_modules/es-abstract/es2016.js +++ /dev/null @@ -1,128 +0,0 @@ -'use strict'; - -/* eslint global-require: 0 */ -// https://262.ecma-international.org/7.0/#sec-abstract-operations -var ES2016 = { - 'Abstract Equality Comparison': require('./2016/AbstractEqualityComparison'), - 'Abstract Relational Comparison': require('./2016/AbstractRelationalComparison'), - 'Strict Equality Comparison': require('./2016/StrictEqualityComparison'), - abs: require('./2016/abs'), - AdvanceStringIndex: require('./2016/AdvanceStringIndex'), - ArrayCreate: require('./2016/ArrayCreate'), - ArraySetLength: require('./2016/ArraySetLength'), - ArraySpeciesCreate: require('./2016/ArraySpeciesCreate'), - Call: require('./2016/Call'), - CanonicalNumericIndexString: require('./2016/CanonicalNumericIndexString'), - CompletePropertyDescriptor: require('./2016/CompletePropertyDescriptor'), - CreateDataProperty: require('./2016/CreateDataProperty'), - CreateDataPropertyOrThrow: require('./2016/CreateDataPropertyOrThrow'), - CreateHTML: require('./2016/CreateHTML'), - CreateIterResultObject: require('./2016/CreateIterResultObject'), - CreateListFromArrayLike: require('./2016/CreateListFromArrayLike'), - CreateMethodProperty: require('./2016/CreateMethodProperty'), - DateFromTime: require('./2016/DateFromTime'), - Day: require('./2016/Day'), - DayFromYear: require('./2016/DayFromYear'), - DaysInYear: require('./2016/DaysInYear'), - DayWithinYear: require('./2016/DayWithinYear'), - DefinePropertyOrThrow: require('./2016/DefinePropertyOrThrow'), - DeletePropertyOrThrow: require('./2016/DeletePropertyOrThrow'), - EnumerableOwnNames: require('./2016/EnumerableOwnNames'), - floor: require('./2016/floor'), - FromPropertyDescriptor: require('./2016/FromPropertyDescriptor'), - Get: require('./2016/Get'), - GetIterator: require('./2016/GetIterator'), - GetMethod: require('./2016/GetMethod'), - GetOwnPropertyKeys: require('./2016/GetOwnPropertyKeys'), - GetPrototypeFromConstructor: require('./2016/GetPrototypeFromConstructor'), - GetSubstitution: require('./2016/GetSubstitution'), - GetV: require('./2016/GetV'), - HasOwnProperty: require('./2016/HasOwnProperty'), - HasProperty: require('./2016/HasProperty'), - HourFromTime: require('./2016/HourFromTime'), - InLeapYear: require('./2016/InLeapYear'), - InstanceofOperator: require('./2016/InstanceofOperator'), - Invoke: require('./2016/Invoke'), - IsAccessorDescriptor: require('./2016/IsAccessorDescriptor'), - IsArray: require('./2016/IsArray'), - IsCallable: require('./2016/IsCallable'), - IsConcatSpreadable: require('./2016/IsConcatSpreadable'), - IsConstructor: require('./2016/IsConstructor'), - IsDataDescriptor: require('./2016/IsDataDescriptor'), - IsExtensible: require('./2016/IsExtensible'), - IsGenericDescriptor: require('./2016/IsGenericDescriptor'), - IsInteger: require('./2016/IsInteger'), - IsPromise: require('./2016/IsPromise'), - IsPropertyDescriptor: require('./2016/IsPropertyDescriptor'), - IsPropertyKey: require('./2016/IsPropertyKey'), - IsRegExp: require('./2016/IsRegExp'), - IterableToArrayLike: require('./2016/IterableToArrayLike'), - IteratorClose: require('./2016/IteratorClose'), - IteratorComplete: require('./2016/IteratorComplete'), - IteratorNext: require('./2016/IteratorNext'), - IteratorStep: require('./2016/IteratorStep'), - IteratorValue: require('./2016/IteratorValue'), - MakeDate: require('./2016/MakeDate'), - MakeDay: require('./2016/MakeDay'), - MakeTime: require('./2016/MakeTime'), - MinFromTime: require('./2016/MinFromTime'), - modulo: require('./2016/modulo'), - MonthFromTime: require('./2016/MonthFromTime'), - msFromTime: require('./2016/msFromTime'), - ObjectCreate: require('./2016/ObjectCreate'), - OrdinaryCreateFromConstructor: require('./2016/OrdinaryCreateFromConstructor'), - OrdinaryDefineOwnProperty: require('./2016/OrdinaryDefineOwnProperty'), - OrdinaryGetOwnProperty: require('./2016/OrdinaryGetOwnProperty'), - OrdinaryGetPrototypeOf: require('./2016/OrdinaryGetPrototypeOf'), - OrdinaryHasInstance: require('./2016/OrdinaryHasInstance'), - OrdinaryHasProperty: require('./2016/OrdinaryHasProperty'), - OrdinarySetPrototypeOf: require('./2016/OrdinarySetPrototypeOf'), - QuoteJSONString: require('./2016/QuoteJSONString'), - RegExpCreate: require('./2016/RegExpCreate'), - RegExpExec: require('./2016/RegExpExec'), - RequireObjectCoercible: require('./2016/RequireObjectCoercible'), - SameValue: require('./2016/SameValue'), - SameValueNonNumber: require('./2016/SameValueNonNumber'), - SameValueZero: require('./2016/SameValueZero'), - SecFromTime: require('./2016/SecFromTime'), - Set: require('./2016/Set'), - SetFunctionName: require('./2016/SetFunctionName'), - SetIntegrityLevel: require('./2016/SetIntegrityLevel'), - SpeciesConstructor: require('./2016/SpeciesConstructor'), - SplitMatch: require('./2016/SplitMatch'), - StringCreate: require('./2016/StringCreate'), - SymbolDescriptiveString: require('./2016/SymbolDescriptiveString'), - TestIntegrityLevel: require('./2016/TestIntegrityLevel'), - thisBooleanValue: require('./2016/thisBooleanValue'), - thisNumberValue: require('./2016/thisNumberValue'), - thisStringValue: require('./2016/thisStringValue'), - thisTimeValue: require('./2016/thisTimeValue'), - TimeClip: require('./2016/TimeClip'), - TimeFromYear: require('./2016/TimeFromYear'), - TimeWithinDay: require('./2016/TimeWithinDay'), - ToBoolean: require('./2016/ToBoolean'), - ToDateString: require('./2016/ToDateString'), - ToInt16: require('./2016/ToInt16'), - ToInt32: require('./2016/ToInt32'), - ToInt8: require('./2016/ToInt8'), - ToInteger: require('./2016/ToInteger'), - ToLength: require('./2016/ToLength'), - ToNumber: require('./2016/ToNumber'), - ToObject: require('./2016/ToObject'), - ToPrimitive: require('./2016/ToPrimitive'), - ToPropertyDescriptor: require('./2016/ToPropertyDescriptor'), - ToPropertyKey: require('./2016/ToPropertyKey'), - ToString: require('./2016/ToString'), - ToUint16: require('./2016/ToUint16'), - ToUint32: require('./2016/ToUint32'), - ToUint8: require('./2016/ToUint8'), - ToUint8Clamp: require('./2016/ToUint8Clamp'), - Type: require('./2016/Type'), - UTF16Decode: require('./2016/UTF16Decode'), - UTF16Encoding: require('./2016/UTF16Encoding'), - ValidateAndApplyPropertyDescriptor: require('./2016/ValidateAndApplyPropertyDescriptor'), - WeekDay: require('./2016/WeekDay'), - YearFromTime: require('./2016/YearFromTime') -}; - -module.exports = ES2016; diff --git a/node_modules/es-abstract/es2017.js b/node_modules/es-abstract/es2017.js deleted file mode 100644 index 3cf0c007a..000000000 --- a/node_modules/es-abstract/es2017.js +++ /dev/null @@ -1,130 +0,0 @@ -'use strict'; - -/* eslint global-require: 0 */ -// https://262.ecma-international.org/8.0/#sec-abstract-operations -var ES2017 = { - 'Abstract Equality Comparison': require('./2017/AbstractEqualityComparison'), - 'Abstract Relational Comparison': require('./2017/AbstractRelationalComparison'), - 'Strict Equality Comparison': require('./2017/StrictEqualityComparison'), - abs: require('./2017/abs'), - AdvanceStringIndex: require('./2017/AdvanceStringIndex'), - ArrayCreate: require('./2017/ArrayCreate'), - ArraySetLength: require('./2017/ArraySetLength'), - ArraySpeciesCreate: require('./2017/ArraySpeciesCreate'), - Call: require('./2017/Call'), - CanonicalNumericIndexString: require('./2017/CanonicalNumericIndexString'), - CompletePropertyDescriptor: require('./2017/CompletePropertyDescriptor'), - CreateDataProperty: require('./2017/CreateDataProperty'), - CreateDataPropertyOrThrow: require('./2017/CreateDataPropertyOrThrow'), - CreateHTML: require('./2017/CreateHTML'), - CreateIterResultObject: require('./2017/CreateIterResultObject'), - CreateListFromArrayLike: require('./2017/CreateListFromArrayLike'), - CreateMethodProperty: require('./2017/CreateMethodProperty'), - DateFromTime: require('./2017/DateFromTime'), - Day: require('./2017/Day'), - DayFromYear: require('./2017/DayFromYear'), - DaysInYear: require('./2017/DaysInYear'), - DayWithinYear: require('./2017/DayWithinYear'), - DefinePropertyOrThrow: require('./2017/DefinePropertyOrThrow'), - DeletePropertyOrThrow: require('./2017/DeletePropertyOrThrow'), - EnumerableOwnProperties: require('./2017/EnumerableOwnProperties'), - floor: require('./2017/floor'), - FromPropertyDescriptor: require('./2017/FromPropertyDescriptor'), - Get: require('./2017/Get'), - GetIterator: require('./2017/GetIterator'), - GetMethod: require('./2017/GetMethod'), - GetOwnPropertyKeys: require('./2017/GetOwnPropertyKeys'), - GetPrototypeFromConstructor: require('./2017/GetPrototypeFromConstructor'), - GetSubstitution: require('./2017/GetSubstitution'), - GetV: require('./2017/GetV'), - HasOwnProperty: require('./2017/HasOwnProperty'), - HasProperty: require('./2017/HasProperty'), - HourFromTime: require('./2017/HourFromTime'), - InLeapYear: require('./2017/InLeapYear'), - InstanceofOperator: require('./2017/InstanceofOperator'), - Invoke: require('./2017/Invoke'), - IsAccessorDescriptor: require('./2017/IsAccessorDescriptor'), - IsArray: require('./2017/IsArray'), - IsCallable: require('./2017/IsCallable'), - IsConcatSpreadable: require('./2017/IsConcatSpreadable'), - IsConstructor: require('./2017/IsConstructor'), - IsDataDescriptor: require('./2017/IsDataDescriptor'), - IsExtensible: require('./2017/IsExtensible'), - IsGenericDescriptor: require('./2017/IsGenericDescriptor'), - IsInteger: require('./2017/IsInteger'), - IsPromise: require('./2017/IsPromise'), - IsPropertyDescriptor: require('./2017/IsPropertyDescriptor'), - IsPropertyKey: require('./2017/IsPropertyKey'), - IsRegExp: require('./2017/IsRegExp'), - IterableToList: require('./2017/IterableToList'), - IteratorClose: require('./2017/IteratorClose'), - IteratorComplete: require('./2017/IteratorComplete'), - IteratorNext: require('./2017/IteratorNext'), - IteratorStep: require('./2017/IteratorStep'), - IteratorValue: require('./2017/IteratorValue'), - MakeDate: require('./2017/MakeDate'), - MakeDay: require('./2017/MakeDay'), - MakeTime: require('./2017/MakeTime'), - MinFromTime: require('./2017/MinFromTime'), - modulo: require('./2017/modulo'), - MonthFromTime: require('./2017/MonthFromTime'), - msFromTime: require('./2017/msFromTime'), - ObjectCreate: require('./2017/ObjectCreate'), - OrdinaryCreateFromConstructor: require('./2017/OrdinaryCreateFromConstructor'), - OrdinaryDefineOwnProperty: require('./2017/OrdinaryDefineOwnProperty'), - OrdinaryGetOwnProperty: require('./2017/OrdinaryGetOwnProperty'), - OrdinaryGetPrototypeOf: require('./2017/OrdinaryGetPrototypeOf'), - OrdinaryHasInstance: require('./2017/OrdinaryHasInstance'), - OrdinaryHasProperty: require('./2017/OrdinaryHasProperty'), - OrdinarySetPrototypeOf: require('./2017/OrdinarySetPrototypeOf'), - QuoteJSONString: require('./2017/QuoteJSONString'), - RegExpCreate: require('./2017/RegExpCreate'), - RegExpExec: require('./2017/RegExpExec'), - RequireObjectCoercible: require('./2017/RequireObjectCoercible'), - SameValue: require('./2017/SameValue'), - SameValueNonNumber: require('./2017/SameValueNonNumber'), - SameValueZero: require('./2017/SameValueZero'), - SecFromTime: require('./2017/SecFromTime'), - Set: require('./2017/Set'), - SetFunctionName: require('./2017/SetFunctionName'), - SetIntegrityLevel: require('./2017/SetIntegrityLevel'), - SpeciesConstructor: require('./2017/SpeciesConstructor'), - SplitMatch: require('./2017/SplitMatch'), - StringCreate: require('./2017/StringCreate'), - StringGetOwnProperty: require('./2017/StringGetOwnProperty'), - SymbolDescriptiveString: require('./2017/SymbolDescriptiveString'), - TestIntegrityLevel: require('./2017/TestIntegrityLevel'), - thisBooleanValue: require('./2017/thisBooleanValue'), - thisNumberValue: require('./2017/thisNumberValue'), - thisStringValue: require('./2017/thisStringValue'), - thisTimeValue: require('./2017/thisTimeValue'), - TimeClip: require('./2017/TimeClip'), - TimeFromYear: require('./2017/TimeFromYear'), - TimeWithinDay: require('./2017/TimeWithinDay'), - ToBoolean: require('./2017/ToBoolean'), - ToDateString: require('./2017/ToDateString'), - ToIndex: require('./2017/ToIndex'), - ToInt16: require('./2017/ToInt16'), - ToInt32: require('./2017/ToInt32'), - ToInt8: require('./2017/ToInt8'), - ToInteger: require('./2017/ToInteger'), - ToLength: require('./2017/ToLength'), - ToNumber: require('./2017/ToNumber'), - ToObject: require('./2017/ToObject'), - ToPrimitive: require('./2017/ToPrimitive'), - ToPropertyDescriptor: require('./2017/ToPropertyDescriptor'), - ToPropertyKey: require('./2017/ToPropertyKey'), - ToString: require('./2017/ToString'), - ToUint16: require('./2017/ToUint16'), - ToUint32: require('./2017/ToUint32'), - ToUint8: require('./2017/ToUint8'), - ToUint8Clamp: require('./2017/ToUint8Clamp'), - Type: require('./2017/Type'), - UTF16Decode: require('./2017/UTF16Decode'), - UTF16Encoding: require('./2017/UTF16Encoding'), - ValidateAndApplyPropertyDescriptor: require('./2017/ValidateAndApplyPropertyDescriptor'), - WeekDay: require('./2017/WeekDay'), - YearFromTime: require('./2017/YearFromTime') -}; - -module.exports = ES2017; diff --git a/node_modules/es-abstract/es2018.js b/node_modules/es-abstract/es2018.js deleted file mode 100644 index 2beb98903..000000000 --- a/node_modules/es-abstract/es2018.js +++ /dev/null @@ -1,138 +0,0 @@ -'use strict'; - -/* eslint global-require: 0 */ -// https://262.ecma-international.org/9.0/#sec-abstract-operations -var ES2018 = { - 'Abstract Equality Comparison': require('./2018/AbstractEqualityComparison'), - 'Abstract Relational Comparison': require('./2018/AbstractRelationalComparison'), - 'Strict Equality Comparison': require('./2018/StrictEqualityComparison'), - abs: require('./2018/abs'), - AdvanceStringIndex: require('./2018/AdvanceStringIndex'), - ArrayCreate: require('./2018/ArrayCreate'), - ArraySetLength: require('./2018/ArraySetLength'), - ArraySpeciesCreate: require('./2018/ArraySpeciesCreate'), - Call: require('./2018/Call'), - CanonicalNumericIndexString: require('./2018/CanonicalNumericIndexString'), - CompletePropertyDescriptor: require('./2018/CompletePropertyDescriptor'), - CopyDataProperties: require('./2018/CopyDataProperties'), - CreateDataProperty: require('./2018/CreateDataProperty'), - CreateDataPropertyOrThrow: require('./2018/CreateDataPropertyOrThrow'), - CreateHTML: require('./2018/CreateHTML'), - CreateIterResultObject: require('./2018/CreateIterResultObject'), - CreateListFromArrayLike: require('./2018/CreateListFromArrayLike'), - CreateMethodProperty: require('./2018/CreateMethodProperty'), - DateFromTime: require('./2018/DateFromTime'), - DateString: require('./2018/DateString'), - Day: require('./2018/Day'), - DayFromYear: require('./2018/DayFromYear'), - DaysInYear: require('./2018/DaysInYear'), - DayWithinYear: require('./2018/DayWithinYear'), - DefinePropertyOrThrow: require('./2018/DefinePropertyOrThrow'), - DeletePropertyOrThrow: require('./2018/DeletePropertyOrThrow'), - EnumerableOwnPropertyNames: require('./2018/EnumerableOwnPropertyNames'), - floor: require('./2018/floor'), - FromPropertyDescriptor: require('./2018/FromPropertyDescriptor'), - Get: require('./2018/Get'), - GetIterator: require('./2018/GetIterator'), - GetMethod: require('./2018/GetMethod'), - GetOwnPropertyKeys: require('./2018/GetOwnPropertyKeys'), - GetPrototypeFromConstructor: require('./2018/GetPrototypeFromConstructor'), - GetSubstitution: require('./2018/GetSubstitution'), - GetV: require('./2018/GetV'), - HasOwnProperty: require('./2018/HasOwnProperty'), - HasProperty: require('./2018/HasProperty'), - HourFromTime: require('./2018/HourFromTime'), - InLeapYear: require('./2018/InLeapYear'), - InstanceofOperator: require('./2018/InstanceofOperator'), - Invoke: require('./2018/Invoke'), - IsAccessorDescriptor: require('./2018/IsAccessorDescriptor'), - IsArray: require('./2018/IsArray'), - IsCallable: require('./2018/IsCallable'), - IsConcatSpreadable: require('./2018/IsConcatSpreadable'), - IsConstructor: require('./2018/IsConstructor'), - IsDataDescriptor: require('./2018/IsDataDescriptor'), - IsExtensible: require('./2018/IsExtensible'), - IsGenericDescriptor: require('./2018/IsGenericDescriptor'), - IsInteger: require('./2018/IsInteger'), - IsPromise: require('./2018/IsPromise'), - IsPropertyKey: require('./2018/IsPropertyKey'), - IsRegExp: require('./2018/IsRegExp'), - IsStringPrefix: require('./2018/IsStringPrefix'), - IterableToList: require('./2018/IterableToList'), - IteratorClose: require('./2018/IteratorClose'), - IteratorComplete: require('./2018/IteratorComplete'), - IteratorNext: require('./2018/IteratorNext'), - IteratorStep: require('./2018/IteratorStep'), - IteratorValue: require('./2018/IteratorValue'), - MakeDate: require('./2018/MakeDate'), - MakeDay: require('./2018/MakeDay'), - MakeTime: require('./2018/MakeTime'), - MinFromTime: require('./2018/MinFromTime'), - modulo: require('./2018/modulo'), - MonthFromTime: require('./2018/MonthFromTime'), - msFromTime: require('./2018/msFromTime'), - NumberToString: require('./2018/NumberToString'), - ObjectCreate: require('./2018/ObjectCreate'), - OrdinaryCreateFromConstructor: require('./2018/OrdinaryCreateFromConstructor'), - OrdinaryDefineOwnProperty: require('./2018/OrdinaryDefineOwnProperty'), - OrdinaryGetOwnProperty: require('./2018/OrdinaryGetOwnProperty'), - OrdinaryGetPrototypeOf: require('./2018/OrdinaryGetPrototypeOf'), - OrdinaryHasInstance: require('./2018/OrdinaryHasInstance'), - OrdinaryHasProperty: require('./2018/OrdinaryHasProperty'), - OrdinarySetPrototypeOf: require('./2018/OrdinarySetPrototypeOf'), - PromiseResolve: require('./2018/PromiseResolve'), - QuoteJSONString: require('./2018/QuoteJSONString'), - RegExpCreate: require('./2018/RegExpCreate'), - RegExpExec: require('./2018/RegExpExec'), - RequireObjectCoercible: require('./2018/RequireObjectCoercible'), - SameValue: require('./2018/SameValue'), - SameValueNonNumber: require('./2018/SameValueNonNumber'), - SameValueZero: require('./2018/SameValueZero'), - SecFromTime: require('./2018/SecFromTime'), - Set: require('./2018/Set'), - SetFunctionLength: require('./2018/SetFunctionLength'), - SetFunctionName: require('./2018/SetFunctionName'), - SetIntegrityLevel: require('./2018/SetIntegrityLevel'), - SpeciesConstructor: require('./2018/SpeciesConstructor'), - SplitMatch: require('./2018/SplitMatch'), - StringCreate: require('./2018/StringCreate'), - StringGetOwnProperty: require('./2018/StringGetOwnProperty'), - SymbolDescriptiveString: require('./2018/SymbolDescriptiveString'), - TestIntegrityLevel: require('./2018/TestIntegrityLevel'), - thisBooleanValue: require('./2018/thisBooleanValue'), - thisNumberValue: require('./2018/thisNumberValue'), - thisStringValue: require('./2018/thisStringValue'), - thisSymbolValue: require('./2018/thisSymbolValue'), - thisTimeValue: require('./2018/thisTimeValue'), - TimeClip: require('./2018/TimeClip'), - TimeFromYear: require('./2018/TimeFromYear'), - TimeString: require('./2018/TimeString'), - TimeWithinDay: require('./2018/TimeWithinDay'), - ToBoolean: require('./2018/ToBoolean'), - ToDateString: require('./2018/ToDateString'), - ToIndex: require('./2018/ToIndex'), - ToInt16: require('./2018/ToInt16'), - ToInt32: require('./2018/ToInt32'), - ToInt8: require('./2018/ToInt8'), - ToInteger: require('./2018/ToInteger'), - ToLength: require('./2018/ToLength'), - ToNumber: require('./2018/ToNumber'), - ToObject: require('./2018/ToObject'), - ToPrimitive: require('./2018/ToPrimitive'), - ToPropertyDescriptor: require('./2018/ToPropertyDescriptor'), - ToPropertyKey: require('./2018/ToPropertyKey'), - ToString: require('./2018/ToString'), - ToUint16: require('./2018/ToUint16'), - ToUint32: require('./2018/ToUint32'), - ToUint8: require('./2018/ToUint8'), - ToUint8Clamp: require('./2018/ToUint8Clamp'), - Type: require('./2018/Type'), - UnicodeEscape: require('./2018/UnicodeEscape'), - UTF16Decode: require('./2018/UTF16Decode'), - UTF16Encoding: require('./2018/UTF16Encoding'), - ValidateAndApplyPropertyDescriptor: require('./2018/ValidateAndApplyPropertyDescriptor'), - WeekDay: require('./2018/WeekDay'), - YearFromTime: require('./2018/YearFromTime') -}; - -module.exports = ES2018; diff --git a/node_modules/es-abstract/es2019.js b/node_modules/es-abstract/es2019.js deleted file mode 100644 index a49e11522..000000000 --- a/node_modules/es-abstract/es2019.js +++ /dev/null @@ -1,141 +0,0 @@ -'use strict'; - -/* eslint global-require: 0 */ -// https://262.ecma-international.org/10.0/#sec-abstract-operations -var ES2019 = { - 'Abstract Equality Comparison': require('./2019/AbstractEqualityComparison'), - 'Abstract Relational Comparison': require('./2019/AbstractRelationalComparison'), - 'Strict Equality Comparison': require('./2019/StrictEqualityComparison'), - abs: require('./2019/abs'), - AddEntriesFromIterable: require('./2019/AddEntriesFromIterable'), - AdvanceStringIndex: require('./2019/AdvanceStringIndex'), - ArrayCreate: require('./2019/ArrayCreate'), - ArraySetLength: require('./2019/ArraySetLength'), - ArraySpeciesCreate: require('./2019/ArraySpeciesCreate'), - Call: require('./2019/Call'), - CanonicalNumericIndexString: require('./2019/CanonicalNumericIndexString'), - CompletePropertyDescriptor: require('./2019/CompletePropertyDescriptor'), - CopyDataProperties: require('./2019/CopyDataProperties'), - CreateDataProperty: require('./2019/CreateDataProperty'), - CreateDataPropertyOrThrow: require('./2019/CreateDataPropertyOrThrow'), - CreateHTML: require('./2019/CreateHTML'), - CreateIterResultObject: require('./2019/CreateIterResultObject'), - CreateListFromArrayLike: require('./2019/CreateListFromArrayLike'), - CreateMethodProperty: require('./2019/CreateMethodProperty'), - DateFromTime: require('./2019/DateFromTime'), - DateString: require('./2019/DateString'), - Day: require('./2019/Day'), - DayFromYear: require('./2019/DayFromYear'), - DaysInYear: require('./2019/DaysInYear'), - DayWithinYear: require('./2019/DayWithinYear'), - DefinePropertyOrThrow: require('./2019/DefinePropertyOrThrow'), - DeletePropertyOrThrow: require('./2019/DeletePropertyOrThrow'), - EnumerableOwnPropertyNames: require('./2019/EnumerableOwnPropertyNames'), - FlattenIntoArray: require('./2019/FlattenIntoArray'), - floor: require('./2019/floor'), - FromPropertyDescriptor: require('./2019/FromPropertyDescriptor'), - Get: require('./2019/Get'), - GetIterator: require('./2019/GetIterator'), - GetMethod: require('./2019/GetMethod'), - GetOwnPropertyKeys: require('./2019/GetOwnPropertyKeys'), - GetPrototypeFromConstructor: require('./2019/GetPrototypeFromConstructor'), - GetSubstitution: require('./2019/GetSubstitution'), - GetV: require('./2019/GetV'), - HasOwnProperty: require('./2019/HasOwnProperty'), - HasProperty: require('./2019/HasProperty'), - HourFromTime: require('./2019/HourFromTime'), - InLeapYear: require('./2019/InLeapYear'), - InstanceofOperator: require('./2019/InstanceofOperator'), - Invoke: require('./2019/Invoke'), - IsAccessorDescriptor: require('./2019/IsAccessorDescriptor'), - IsArray: require('./2019/IsArray'), - IsCallable: require('./2019/IsCallable'), - IsConcatSpreadable: require('./2019/IsConcatSpreadable'), - IsConstructor: require('./2019/IsConstructor'), - IsDataDescriptor: require('./2019/IsDataDescriptor'), - IsExtensible: require('./2019/IsExtensible'), - IsGenericDescriptor: require('./2019/IsGenericDescriptor'), - IsInteger: require('./2019/IsInteger'), - IsPromise: require('./2019/IsPromise'), - IsPropertyKey: require('./2019/IsPropertyKey'), - IsRegExp: require('./2019/IsRegExp'), - IsStringPrefix: require('./2019/IsStringPrefix'), - IterableToList: require('./2019/IterableToList'), - IteratorClose: require('./2019/IteratorClose'), - IteratorComplete: require('./2019/IteratorComplete'), - IteratorNext: require('./2019/IteratorNext'), - IteratorStep: require('./2019/IteratorStep'), - IteratorValue: require('./2019/IteratorValue'), - MakeDate: require('./2019/MakeDate'), - MakeDay: require('./2019/MakeDay'), - MakeTime: require('./2019/MakeTime'), - MinFromTime: require('./2019/MinFromTime'), - modulo: require('./2019/modulo'), - MonthFromTime: require('./2019/MonthFromTime'), - msFromTime: require('./2019/msFromTime'), - NumberToString: require('./2019/NumberToString'), - ObjectCreate: require('./2019/ObjectCreate'), - OrdinaryCreateFromConstructor: require('./2019/OrdinaryCreateFromConstructor'), - OrdinaryDefineOwnProperty: require('./2019/OrdinaryDefineOwnProperty'), - OrdinaryGetOwnProperty: require('./2019/OrdinaryGetOwnProperty'), - OrdinaryGetPrototypeOf: require('./2019/OrdinaryGetPrototypeOf'), - OrdinaryHasInstance: require('./2019/OrdinaryHasInstance'), - OrdinaryHasProperty: require('./2019/OrdinaryHasProperty'), - OrdinarySetPrototypeOf: require('./2019/OrdinarySetPrototypeOf'), - PromiseResolve: require('./2019/PromiseResolve'), - QuoteJSONString: require('./2019/QuoteJSONString'), - RegExpCreate: require('./2019/RegExpCreate'), - RegExpExec: require('./2019/RegExpExec'), - RequireObjectCoercible: require('./2019/RequireObjectCoercible'), - SameValue: require('./2019/SameValue'), - SameValueNonNumber: require('./2019/SameValueNonNumber'), - SameValueZero: require('./2019/SameValueZero'), - SecFromTime: require('./2019/SecFromTime'), - Set: require('./2019/Set'), - SetFunctionLength: require('./2019/SetFunctionLength'), - SetFunctionName: require('./2019/SetFunctionName'), - SetIntegrityLevel: require('./2019/SetIntegrityLevel'), - SpeciesConstructor: require('./2019/SpeciesConstructor'), - SplitMatch: require('./2019/SplitMatch'), - StringCreate: require('./2019/StringCreate'), - StringGetOwnProperty: require('./2019/StringGetOwnProperty'), - SymbolDescriptiveString: require('./2019/SymbolDescriptiveString'), - TestIntegrityLevel: require('./2019/TestIntegrityLevel'), - thisBooleanValue: require('./2019/thisBooleanValue'), - thisNumberValue: require('./2019/thisNumberValue'), - thisStringValue: require('./2019/thisStringValue'), - thisSymbolValue: require('./2019/thisSymbolValue'), - thisTimeValue: require('./2019/thisTimeValue'), - TimeClip: require('./2019/TimeClip'), - TimeFromYear: require('./2019/TimeFromYear'), - TimeString: require('./2019/TimeString'), - TimeWithinDay: require('./2019/TimeWithinDay'), - ToBoolean: require('./2019/ToBoolean'), - ToDateString: require('./2019/ToDateString'), - ToIndex: require('./2019/ToIndex'), - ToInt16: require('./2019/ToInt16'), - ToInt32: require('./2019/ToInt32'), - ToInt8: require('./2019/ToInt8'), - ToInteger: require('./2019/ToInteger'), - ToLength: require('./2019/ToLength'), - ToNumber: require('./2019/ToNumber'), - ToObject: require('./2019/ToObject'), - ToPrimitive: require('./2019/ToPrimitive'), - ToPropertyDescriptor: require('./2019/ToPropertyDescriptor'), - ToPropertyKey: require('./2019/ToPropertyKey'), - ToString: require('./2019/ToString'), - ToUint16: require('./2019/ToUint16'), - ToUint32: require('./2019/ToUint32'), - ToUint8: require('./2019/ToUint8'), - ToUint8Clamp: require('./2019/ToUint8Clamp'), - TrimString: require('./2019/TrimString'), - Type: require('./2019/Type'), - UnicodeEscape: require('./2019/UnicodeEscape'), - UTF16Decode: require('./2019/UTF16Decode'), - UTF16Encoding: require('./2019/UTF16Encoding'), - ValidateAndApplyPropertyDescriptor: require('./2019/ValidateAndApplyPropertyDescriptor'), - WeekDay: require('./2019/WeekDay'), - YearFromTime: require('./2019/YearFromTime') -}; - -module.exports = ES2019; diff --git a/node_modules/es-abstract/es2020.js b/node_modules/es-abstract/es2020.js deleted file mode 100644 index e6d1c7941..000000000 --- a/node_modules/es-abstract/es2020.js +++ /dev/null @@ -1,159 +0,0 @@ -'use strict'; - -/* eslint global-require: 0 */ -// https://ecma-international.org/ecma-262/11.0/#sec-abstract-operations -var ES2020 = { - 'Abstract Equality Comparison': require('./2020/AbstractEqualityComparison'), - 'Abstract Relational Comparison': require('./2020/AbstractRelationalComparison'), - 'Strict Equality Comparison': require('./2020/StrictEqualityComparison'), - abs: require('./2020/abs'), - AddEntriesFromIterable: require('./2020/AddEntriesFromIterable'), - AdvanceStringIndex: require('./2020/AdvanceStringIndex'), - ArrayCreate: require('./2020/ArrayCreate'), - ArraySetLength: require('./2020/ArraySetLength'), - ArraySpeciesCreate: require('./2020/ArraySpeciesCreate'), - BigInt: require('./2020/BigInt'), - BigIntBitwiseOp: require('./2020/BigIntBitwiseOp'), - BinaryAnd: require('./2020/BinaryAnd'), - BinaryOr: require('./2020/BinaryOr'), - BinaryXor: require('./2020/BinaryXor'), - Call: require('./2020/Call'), - CanonicalNumericIndexString: require('./2020/CanonicalNumericIndexString'), - CodePointAt: require('./2020/CodePointAt'), - CompletePropertyDescriptor: require('./2020/CompletePropertyDescriptor'), - CopyDataProperties: require('./2020/CopyDataProperties'), - CreateDataProperty: require('./2020/CreateDataProperty'), - CreateDataPropertyOrThrow: require('./2020/CreateDataPropertyOrThrow'), - CreateHTML: require('./2020/CreateHTML'), - CreateIterResultObject: require('./2020/CreateIterResultObject'), - CreateListFromArrayLike: require('./2020/CreateListFromArrayLike'), - CreateMethodProperty: require('./2020/CreateMethodProperty'), - DateFromTime: require('./2020/DateFromTime'), - DateString: require('./2020/DateString'), - Day: require('./2020/Day'), - DayFromYear: require('./2020/DayFromYear'), - DaysInYear: require('./2020/DaysInYear'), - DayWithinYear: require('./2020/DayWithinYear'), - DefinePropertyOrThrow: require('./2020/DefinePropertyOrThrow'), - DeletePropertyOrThrow: require('./2020/DeletePropertyOrThrow'), - EnumerableOwnPropertyNames: require('./2020/EnumerableOwnPropertyNames'), - FlattenIntoArray: require('./2020/FlattenIntoArray'), - floor: require('./2020/floor'), - FromPropertyDescriptor: require('./2020/FromPropertyDescriptor'), - Get: require('./2020/Get'), - GetIterator: require('./2020/GetIterator'), - GetMethod: require('./2020/GetMethod'), - GetOwnPropertyKeys: require('./2020/GetOwnPropertyKeys'), - GetPrototypeFromConstructor: require('./2020/GetPrototypeFromConstructor'), - GetSubstitution: require('./2020/GetSubstitution'), - GetV: require('./2020/GetV'), - HasOwnProperty: require('./2020/HasOwnProperty'), - HasProperty: require('./2020/HasProperty'), - HourFromTime: require('./2020/HourFromTime'), - InLeapYear: require('./2020/InLeapYear'), - InstanceofOperator: require('./2020/InstanceofOperator'), - Invoke: require('./2020/Invoke'), - IsAccessorDescriptor: require('./2020/IsAccessorDescriptor'), - IsArray: require('./2020/IsArray'), - IsBigIntElementType: require('./2020/IsBigIntElementType'), - IsCallable: require('./2020/IsCallable'), - IsConcatSpreadable: require('./2020/IsConcatSpreadable'), - IsConstructor: require('./2020/IsConstructor'), - IsDataDescriptor: require('./2020/IsDataDescriptor'), - IsExtensible: require('./2020/IsExtensible'), - IsGenericDescriptor: require('./2020/IsGenericDescriptor'), - IsInteger: require('./2020/IsInteger'), - IsNonNegativeInteger: require('./2020/IsNonNegativeInteger'), - IsNoTearConfiguration: require('./2020/IsNoTearConfiguration'), - IsPromise: require('./2020/IsPromise'), - IsPropertyKey: require('./2020/IsPropertyKey'), - IsRegExp: require('./2020/IsRegExp'), - IsStringPrefix: require('./2020/IsStringPrefix'), - IsUnclampedIntegerElementType: require('./2020/IsUnclampedIntegerElementType'), - IsUnsignedElementType: require('./2020/IsUnsignedElementType'), - IterableToList: require('./2020/IterableToList'), - IteratorClose: require('./2020/IteratorClose'), - IteratorComplete: require('./2020/IteratorComplete'), - IteratorNext: require('./2020/IteratorNext'), - IteratorStep: require('./2020/IteratorStep'), - IteratorValue: require('./2020/IteratorValue'), - LengthOfArrayLike: require('./2020/LengthOfArrayLike'), - MakeDate: require('./2020/MakeDate'), - MakeDay: require('./2020/MakeDay'), - MakeTime: require('./2020/MakeTime'), - MinFromTime: require('./2020/MinFromTime'), - modulo: require('./2020/modulo'), - MonthFromTime: require('./2020/MonthFromTime'), - msFromTime: require('./2020/msFromTime'), - Number: require('./2020/Number'), - NumberBitwiseOp: require('./2020/NumberBitwiseOp'), - NumberToBigInt: require('./2020/NumberToBigInt'), - OrdinaryCreateFromConstructor: require('./2020/OrdinaryCreateFromConstructor'), - OrdinaryDefineOwnProperty: require('./2020/OrdinaryDefineOwnProperty'), - OrdinaryGetOwnProperty: require('./2020/OrdinaryGetOwnProperty'), - OrdinaryGetPrototypeOf: require('./2020/OrdinaryGetPrototypeOf'), - OrdinaryHasInstance: require('./2020/OrdinaryHasInstance'), - OrdinaryHasProperty: require('./2020/OrdinaryHasProperty'), - OrdinaryObjectCreate: require('./2020/OrdinaryObjectCreate'), - OrdinarySetPrototypeOf: require('./2020/OrdinarySetPrototypeOf'), - PromiseResolve: require('./2020/PromiseResolve'), - QuoteJSONString: require('./2020/QuoteJSONString'), - RegExpCreate: require('./2020/RegExpCreate'), - RegExpExec: require('./2020/RegExpExec'), - RequireObjectCoercible: require('./2020/RequireObjectCoercible'), - SameValue: require('./2020/SameValue'), - SameValueNonNumeric: require('./2020/SameValueNonNumeric'), - SameValueZero: require('./2020/SameValueZero'), - SecFromTime: require('./2020/SecFromTime'), - Set: require('./2020/Set'), - SetFunctionLength: require('./2020/SetFunctionLength'), - SetFunctionName: require('./2020/SetFunctionName'), - SetIntegrityLevel: require('./2020/SetIntegrityLevel'), - SpeciesConstructor: require('./2020/SpeciesConstructor'), - SplitMatch: require('./2020/SplitMatch'), - StringCreate: require('./2020/StringCreate'), - StringGetOwnProperty: require('./2020/StringGetOwnProperty'), - StringPad: require('./2020/StringPad'), - SymbolDescriptiveString: require('./2020/SymbolDescriptiveString'), - TestIntegrityLevel: require('./2020/TestIntegrityLevel'), - thisBigIntValue: require('./2020/thisBigIntValue'), - thisBooleanValue: require('./2020/thisBooleanValue'), - thisNumberValue: require('./2020/thisNumberValue'), - thisStringValue: require('./2020/thisStringValue'), - thisSymbolValue: require('./2020/thisSymbolValue'), - thisTimeValue: require('./2020/thisTimeValue'), - TimeClip: require('./2020/TimeClip'), - TimeFromYear: require('./2020/TimeFromYear'), - TimeString: require('./2020/TimeString'), - TimeWithinDay: require('./2020/TimeWithinDay'), - ToBoolean: require('./2020/ToBoolean'), - ToDateString: require('./2020/ToDateString'), - ToIndex: require('./2020/ToIndex'), - ToInt16: require('./2020/ToInt16'), - ToInt32: require('./2020/ToInt32'), - ToInt8: require('./2020/ToInt8'), - ToInteger: require('./2020/ToInteger'), - ToLength: require('./2020/ToLength'), - ToNumber: require('./2020/ToNumber'), - ToNumeric: require('./2020/ToNumeric'), - ToObject: require('./2020/ToObject'), - ToPrimitive: require('./2020/ToPrimitive'), - ToPropertyDescriptor: require('./2020/ToPropertyDescriptor'), - ToPropertyKey: require('./2020/ToPropertyKey'), - ToString: require('./2020/ToString'), - ToUint16: require('./2020/ToUint16'), - ToUint32: require('./2020/ToUint32'), - ToUint8: require('./2020/ToUint8'), - ToUint8Clamp: require('./2020/ToUint8Clamp'), - TrimString: require('./2020/TrimString'), - Type: require('./2020/Type'), - UnicodeEscape: require('./2020/UnicodeEscape'), - UTF16DecodeString: require('./2020/UTF16DecodeString'), - UTF16DecodeSurrogatePair: require('./2020/UTF16DecodeSurrogatePair'), - UTF16Encoding: require('./2020/UTF16Encoding'), - ValidateAndApplyPropertyDescriptor: require('./2020/ValidateAndApplyPropertyDescriptor'), - WeekDay: require('./2020/WeekDay'), - YearFromTime: require('./2020/YearFromTime') -}; - -module.exports = ES2020; diff --git a/node_modules/es-abstract/es5.js b/node_modules/es-abstract/es5.js deleted file mode 100644 index 46eb6e17b..000000000 --- a/node_modules/es-abstract/es5.js +++ /dev/null @@ -1,51 +0,0 @@ -'use strict'; - -/* eslint global-require: 0 */ - -// https://es5.github.io/#x9 -module.exports = { - 'Abstract Equality Comparison': require('./5/AbstractEqualityComparison'), - 'Abstract Relational Comparison': require('./5/AbstractRelationalComparison'), - 'Strict Equality Comparison': require('./5/StrictEqualityComparison'), - abs: require('./5/abs'), - CheckObjectCoercible: require('./5/CheckObjectCoercible'), - DateFromTime: require('./5/DateFromTime'), - Day: require('./5/Day'), - DayFromYear: require('./5/DayFromYear'), - DaysInYear: require('./5/DaysInYear'), - DayWithinYear: require('./5/DayWithinYear'), - floor: require('./5/floor'), - FromPropertyDescriptor: require('./5/FromPropertyDescriptor'), - HourFromTime: require('./5/HourFromTime'), - InLeapYear: require('./5/InLeapYear'), - IsAccessorDescriptor: require('./5/IsAccessorDescriptor'), - IsCallable: require('./5/IsCallable'), - IsDataDescriptor: require('./5/IsDataDescriptor'), - IsGenericDescriptor: require('./5/IsGenericDescriptor'), - IsPropertyDescriptor: require('./5/IsPropertyDescriptor'), - MakeDate: require('./5/MakeDate'), - MakeDay: require('./5/MakeDay'), - MakeTime: require('./5/MakeTime'), - MinFromTime: require('./5/MinFromTime'), - modulo: require('./5/modulo'), - MonthFromTime: require('./5/MonthFromTime'), - msFromTime: require('./5/msFromTime'), - SameValue: require('./5/SameValue'), - SecFromTime: require('./5/SecFromTime'), - TimeClip: require('./5/TimeClip'), - TimeFromYear: require('./5/TimeFromYear'), - TimeWithinDay: require('./5/TimeWithinDay'), - ToBoolean: require('./5/ToBoolean'), - ToInt32: require('./5/ToInt32'), - ToInteger: require('./5/ToInteger'), - ToNumber: require('./5/ToNumber'), - ToObject: require('./5/ToObject'), - ToPrimitive: require('./5/ToPrimitive'), - ToPropertyDescriptor: require('./5/ToPropertyDescriptor'), - ToString: require('./5/ToString'), - ToUint16: require('./5/ToUint16'), - ToUint32: require('./5/ToUint32'), - Type: require('./5/Type'), - WeekDay: require('./5/WeekDay'), - YearFromTime: require('./5/YearFromTime') -}; diff --git a/node_modules/es-abstract/es6.js b/node_modules/es-abstract/es6.js deleted file mode 100644 index 2d1f4dc92..000000000 --- a/node_modules/es-abstract/es6.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('./es2015'); diff --git a/node_modules/es-abstract/es7.js b/node_modules/es-abstract/es7.js deleted file mode 100644 index f2f15c0a8..000000000 --- a/node_modules/es-abstract/es7.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('./es2016'); diff --git a/node_modules/es-abstract/helpers/DefineOwnProperty.js b/node_modules/es-abstract/helpers/DefineOwnProperty.js deleted file mode 100644 index 1a378a41b..000000000 --- a/node_modules/es-abstract/helpers/DefineOwnProperty.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); - -if ($defineProperty) { - try { - $defineProperty({}, 'a', { value: 1 }); - } catch (e) { - // IE 8 has a broken defineProperty - $defineProperty = null; - } -} - -var callBound = require('call-bind/callBound'); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -// eslint-disable-next-line max-params -module.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) { - if (!$defineProperty) { - if (!IsDataDescriptor(desc)) { - // ES3 does not support getters/setters - return false; - } - if (!desc['[[Configurable]]'] || !desc['[[Writable]]']) { - return false; - } - - // fallback for ES3 - if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) { - // a non-enumerable existing property - return false; - } - - // property does not exist at all, or exists but is enumerable - var V = desc['[[Value]]']; - // eslint-disable-next-line no-param-reassign - O[P] = V; // will use [[Define]] - return SameValue(O[P], V); - } - $defineProperty(O, P, FromPropertyDescriptor(desc)); - return true; -}; diff --git a/node_modules/es-abstract/helpers/OwnPropertyKeys.js b/node_modules/es-abstract/helpers/OwnPropertyKeys.js deleted file mode 100644 index 6baa986fb..000000000 --- a/node_modules/es-abstract/helpers/OwnPropertyKeys.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBind = require('call-bind'); -var callBound = require('call-bind/callBound'); - -var $ownKeys = GetIntrinsic('%Reflect.ownKeys%', true); -var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%')); -var $SymbolValueOf = callBound('Symbol.prototype.valueOf', true); -var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%', true); -var $gOPS = $SymbolValueOf ? GetIntrinsic('%Object.getOwnPropertySymbols%') : null; - -var keys = require('object-keys'); - -module.exports = $ownKeys || function OwnPropertyKeys(source) { - var ownKeys = ($gOPN || keys)(source); - if ($gOPS) { - $pushApply(ownKeys, $gOPS(source)); - } - return ownKeys; -}; diff --git a/node_modules/es-abstract/helpers/assertRecord.js b/node_modules/es-abstract/helpers/assertRecord.js deleted file mode 100644 index 623bc56d1..000000000 --- a/node_modules/es-abstract/helpers/assertRecord.js +++ /dev/null @@ -1,48 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); - -var has = require('has'); - -var predicates = { - // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type - 'Property Descriptor': function isPropertyDescriptor(Type, Desc) { - if (Type(Desc) !== 'Object') { - return false; - } - var allowed = { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Get]]': true, - '[[Set]]': true, - '[[Value]]': true, - '[[Writable]]': true - }; - - for (var key in Desc) { // eslint-disable-line - if (has(Desc, key) && !allowed[key]) { - return false; - } - } - - var isData = has(Desc, '[[Value]]'); - var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]'); - if (isData && IsAccessor) { - throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); - } - return true; - } -}; - -module.exports = function assertRecord(Type, recordType, argumentName, value) { - var predicate = predicates[recordType]; - if (typeof predicate !== 'function') { - throw new $SyntaxError('unknown record type: ' + recordType); - } - if (!predicate(Type, value)) { - throw new $TypeError(argumentName + ' must be a ' + recordType); - } -}; diff --git a/node_modules/es-abstract/helpers/assign.js b/node_modules/es-abstract/helpers/assign.js deleted file mode 100644 index 56eeb1c1f..000000000 --- a/node_modules/es-abstract/helpers/assign.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var has = require('has'); - -var $assign = GetIntrinsic('%Object%').assign; - -module.exports = function assign(target, source) { - if ($assign) { - return $assign(target, source); - } - - // eslint-disable-next-line no-restricted-syntax - for (var key in source) { - if (has(source, key)) { - // eslint-disable-next-line no-param-reassign - target[key] = source[key]; - } - } - return target; -}; diff --git a/node_modules/es-abstract/helpers/callBind.js b/node_modules/es-abstract/helpers/callBind.js deleted file mode 100644 index 699dba706..000000000 --- a/node_modules/es-abstract/helpers/callBind.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// TODO; semver-major: remove - -module.exports = require('call-bind'); diff --git a/node_modules/es-abstract/helpers/callBound.js b/node_modules/es-abstract/helpers/callBound.js deleted file mode 100644 index 349030cbc..000000000 --- a/node_modules/es-abstract/helpers/callBound.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -// TODO; semver-major: remove - -module.exports = require('call-bind/callBound'); diff --git a/node_modules/es-abstract/helpers/every.js b/node_modules/es-abstract/helpers/every.js deleted file mode 100644 index 42a458211..000000000 --- a/node_modules/es-abstract/helpers/every.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -module.exports = function every(array, predicate) { - for (var i = 0; i < array.length; i += 1) { - if (!predicate(array[i], i, array)) { - return false; - } - } - return true; -}; diff --git a/node_modules/es-abstract/helpers/forEach.js b/node_modules/es-abstract/helpers/forEach.js deleted file mode 100644 index 35915a656..000000000 --- a/node_modules/es-abstract/helpers/forEach.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -module.exports = function forEach(array, callback) { - for (var i = 0; i < array.length; i += 1) { - callback(array[i], i, array); // eslint-disable-line callback-return - } -}; diff --git a/node_modules/es-abstract/helpers/getInferredName.js b/node_modules/es-abstract/helpers/getInferredName.js deleted file mode 100644 index 2dab6e77b..000000000 --- a/node_modules/es-abstract/helpers/getInferredName.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var getInferredName; -try { - // eslint-disable-next-line no-new-func - getInferredName = Function('s', 'return { [s]() {} }[s].name;'); -} catch (e) {} - -var inferred = function () {}; -module.exports = getInferredName && inferred.name === 'inferred' ? getInferredName : null; diff --git a/node_modules/es-abstract/helpers/getIteratorMethod.js b/node_modules/es-abstract/helpers/getIteratorMethod.js deleted file mode 100644 index fe581f414..000000000 --- a/node_modules/es-abstract/helpers/getIteratorMethod.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var hasSymbols = require('has-symbols')(); -var GetIntrinsic = require('get-intrinsic'); -var callBound = require('call-bind/callBound'); - -var $iterator = GetIntrinsic('%Symbol.iterator%', true); -var $stringSlice = callBound('String.prototype.slice'); - -module.exports = function getIteratorMethod(ES, iterable) { - var usingIterator; - if (hasSymbols) { - usingIterator = ES.GetMethod(iterable, $iterator); - } else if (ES.IsArray(iterable)) { - usingIterator = function () { - var i = -1; - var arr = this; // eslint-disable-line no-invalid-this - return { - next: function () { - i += 1; - return { - done: i >= arr.length, - value: arr[i] - }; - } - }; - }; - } else if (ES.Type(iterable) === 'String') { - usingIterator = function () { - var i = 0; - return { - next: function () { - var nextIndex = ES.AdvanceStringIndex(iterable, i, true); - var value = $stringSlice(iterable, i, nextIndex); - i = nextIndex; - return { - done: nextIndex > iterable.length, - value: value - }; - } - }; - }; - } - return usingIterator; -}; diff --git a/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js b/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js deleted file mode 100644 index 79cf0488e..000000000 --- a/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%'); -if ($gOPD) { - try { - $gOPD([], 'length'); - } catch (e) { - // IE 8 has a broken gOPD - $gOPD = null; - } -} - -module.exports = $gOPD; diff --git a/node_modules/es-abstract/helpers/getProto.js b/node_modules/es-abstract/helpers/getProto.js deleted file mode 100644 index c190c7bd0..000000000 --- a/node_modules/es-abstract/helpers/getProto.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var originalGetProto = GetIntrinsic('%Object.getPrototypeOf%', true); -var $ArrayProto = GetIntrinsic('%Array.prototype%'); - -module.exports = originalGetProto || ( - // eslint-disable-next-line no-proto - [].__proto__ === $ArrayProto - ? function (O) { - return O.__proto__; // eslint-disable-line no-proto - } - : null -); diff --git a/node_modules/es-abstract/helpers/getSymbolDescription.js b/node_modules/es-abstract/helpers/getSymbolDescription.js deleted file mode 100644 index e31cad274..000000000 --- a/node_modules/es-abstract/helpers/getSymbolDescription.js +++ /dev/null @@ -1,41 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBound = require('call-bind/callBound'); - -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var getGlobalSymbolDescription = GetIntrinsic('%Symbol.keyFor%', true); -var thisSymbolValue = callBound('%Symbol.prototype.valueOf%', true); -var symToStr = callBound('Symbol.prototype.toString', true); - -var getInferredName = require('./getInferredName'); - -/* eslint-disable consistent-return */ -module.exports = callBound('%Symbol.prototype.description%', true) || function getSymbolDescription(symbol) { - if (!thisSymbolValue) { - throw new $SyntaxError('Symbols are not supported in this environment'); - } - - // will throw if not a symbol primitive or wrapper object - var sym = thisSymbolValue(symbol); - - if (getInferredName) { - var name = getInferredName(sym); - if (name === '') { return; } - return name.slice(1, -1); // name.slice('['.length, -']'.length); - } - - var desc; - if (getGlobalSymbolDescription) { - desc = getGlobalSymbolDescription(sym); - if (typeof desc === 'string') { - return desc; - } - } - - desc = symToStr(sym).slice(7, -1); // str.slice('Symbol('.length, -')'.length); - if (desc) { - return desc; - } -}; diff --git a/node_modules/es-abstract/helpers/isByteValue.js b/node_modules/es-abstract/helpers/isByteValue.js deleted file mode 100644 index 1a7d0d353..000000000 --- a/node_modules/es-abstract/helpers/isByteValue.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function isByteValue(value) { - return typeof value === 'number' && value >= 0 && value <= 255 && (value | 0) === value; -}; diff --git a/node_modules/es-abstract/helpers/isCodePoint.js b/node_modules/es-abstract/helpers/isCodePoint.js deleted file mode 100644 index acda02e99..000000000 --- a/node_modules/es-abstract/helpers/isCodePoint.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function isCodePoint(cp) { - return typeof cp === 'number' && cp >= 0 && cp <= 0x10FFFF && (cp | 0) === cp; -}; diff --git a/node_modules/es-abstract/helpers/isFinite.js b/node_modules/es-abstract/helpers/isFinite.js deleted file mode 100644 index 9e7cd4f82..000000000 --- a/node_modules/es-abstract/helpers/isFinite.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var $isNaN = Number.isNaN || function (a) { return a !== a; }; - -module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; diff --git a/node_modules/es-abstract/helpers/isLeadingSurrogate.js b/node_modules/es-abstract/helpers/isLeadingSurrogate.js deleted file mode 100644 index fec61b2a5..000000000 --- a/node_modules/es-abstract/helpers/isLeadingSurrogate.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function isLeadingSurrogate(charCode) { - return typeof charCode === 'number' && charCode >= 0xD800 && charCode <= 0xDBFF; -}; diff --git a/node_modules/es-abstract/helpers/isNaN.js b/node_modules/es-abstract/helpers/isNaN.js deleted file mode 100644 index cb8631dca..000000000 --- a/node_modules/es-abstract/helpers/isNaN.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = Number.isNaN || function isNaN(a) { - return a !== a; -}; diff --git a/node_modules/es-abstract/helpers/isPrefixOf.js b/node_modules/es-abstract/helpers/isPrefixOf.js deleted file mode 100644 index 0f644d746..000000000 --- a/node_modules/es-abstract/helpers/isPrefixOf.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var $strSlice = require('call-bind/callBound')('String.prototype.slice'); - -module.exports = function isPrefixOf(prefix, string) { - if (prefix === string) { - return true; - } - if (prefix.length > string.length) { - return false; - } - return $strSlice(string, 0, prefix.length) === prefix; -}; diff --git a/node_modules/es-abstract/helpers/isPrimitive.js b/node_modules/es-abstract/helpers/isPrimitive.js deleted file mode 100644 index 06f0bf042..000000000 --- a/node_modules/es-abstract/helpers/isPrimitive.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; diff --git a/node_modules/es-abstract/helpers/isPropertyDescriptor.js b/node_modules/es-abstract/helpers/isPropertyDescriptor.js deleted file mode 100644 index 900964d7d..000000000 --- a/node_modules/es-abstract/helpers/isPropertyDescriptor.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var has = require('has'); -var $TypeError = GetIntrinsic('%TypeError%'); - -module.exports = function IsPropertyDescriptor(ES, Desc) { - if (ES.Type(Desc) !== 'Object') { - return false; - } - var allowed = { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Get]]': true, - '[[Set]]': true, - '[[Value]]': true, - '[[Writable]]': true - }; - - for (var key in Desc) { // eslint-disable-line no-restricted-syntax - if (has(Desc, key) && !allowed[key]) { - return false; - } - } - - if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) { - throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); - } - return true; -}; diff --git a/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js b/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js deleted file mode 100644 index a6162a1d3..000000000 --- a/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var every = require('./every'); - -module.exports = function isSamePropertyDescriptor(ES, D1, D2) { - var fields = [ - '[[Configurable]]', - '[[Enumerable]]', - '[[Get]]', - '[[Set]]', - '[[Value]]', - '[[Writable]]' - ]; - return every(fields, function (field) { - if ((field in D1) !== (field in D2)) { - return false; - } - return ES.SameValue(D1[field], D2[field]); - }); -}; diff --git a/node_modules/es-abstract/helpers/isTrailingSurrogate.js b/node_modules/es-abstract/helpers/isTrailingSurrogate.js deleted file mode 100644 index 002930acc..000000000 --- a/node_modules/es-abstract/helpers/isTrailingSurrogate.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function isTrailingSurrogate(charCode) { - return typeof charCode === 'number' && charCode >= 0xDC00 && charCode <= 0xDFFF; -}; diff --git a/node_modules/es-abstract/helpers/maxSafeInteger.js b/node_modules/es-abstract/helpers/maxSafeInteger.js deleted file mode 100644 index 89e5246f3..000000000 --- a/node_modules/es-abstract/helpers/maxSafeInteger.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $Math = GetIntrinsic('%Math%'); -var $Number = GetIntrinsic('%Number%'); - -module.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1; diff --git a/node_modules/es-abstract/helpers/mod.js b/node_modules/es-abstract/helpers/mod.js deleted file mode 100644 index 67c8b78a2..000000000 --- a/node_modules/es-abstract/helpers/mod.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -var $floor = Math.floor; - -module.exports = function mod(number, modulo) { - var remain = number % modulo; - return $floor(remain >= 0 ? remain : remain + modulo); -}; diff --git a/node_modules/es-abstract/helpers/padTimeComponent.js b/node_modules/es-abstract/helpers/padTimeComponent.js deleted file mode 100644 index 0d8afc059..000000000 --- a/node_modules/es-abstract/helpers/padTimeComponent.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); - -var $strSlice = callBound('String.prototype.slice'); - -module.exports = function padTimeComponent(c, count) { - return $strSlice('00' + c, -(count || 2)); -}; diff --git a/node_modules/es-abstract/helpers/regexTester.js b/node_modules/es-abstract/helpers/regexTester.js deleted file mode 100644 index b1699fb45..000000000 --- a/node_modules/es-abstract/helpers/regexTester.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var $test = GetIntrinsic('RegExp.prototype.test'); - -var callBind = require('call-bind'); - -module.exports = function regexTester(regex) { - return callBind($test, regex); -}; diff --git a/node_modules/es-abstract/helpers/setProto.js b/node_modules/es-abstract/helpers/setProto.js deleted file mode 100644 index 0ee884fbe..000000000 --- a/node_modules/es-abstract/helpers/setProto.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var originalSetProto = GetIntrinsic('%Object.setPrototypeOf%', true); -var $ArrayProto = GetIntrinsic('%Array.prototype%'); - -module.exports = originalSetProto || ( - // eslint-disable-next-line no-proto, no-negated-condition - [].__proto__ !== $ArrayProto - ? null - : function (O, proto) { - O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign - return O; - } -); diff --git a/node_modules/es-abstract/helpers/sign.js b/node_modules/es-abstract/helpers/sign.js deleted file mode 100644 index 598ea7d8b..000000000 --- a/node_modules/es-abstract/helpers/sign.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function sign(number) { - return number >= 0 ? 1 : -1; -}; diff --git a/node_modules/es-abstract/helpers/some.js b/node_modules/es-abstract/helpers/some.js deleted file mode 100644 index c0b440507..000000000 --- a/node_modules/es-abstract/helpers/some.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -module.exports = function some(array, predicate) { - for (var i = 0; i < array.length; i += 1) { - if (predicate(array[i], i, array)) { - return true; - } - } - return false; -}; diff --git a/node_modules/es-abstract/helpers/timeConstants.js b/node_modules/es-abstract/helpers/timeConstants.js deleted file mode 100644 index c275b40e7..000000000 --- a/node_modules/es-abstract/helpers/timeConstants.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -var HoursPerDay = 24; -var MinutesPerHour = 60; -var SecondsPerMinute = 60; -var msPerSecond = 1e3; -var msPerMinute = msPerSecond * SecondsPerMinute; -var msPerHour = msPerMinute * MinutesPerHour; -var msPerDay = 86400000; - -module.exports = { - HoursPerDay: HoursPerDay, - MinutesPerHour: MinutesPerHour, - SecondsPerMinute: SecondsPerMinute, - msPerSecond: msPerSecond, - msPerMinute: msPerMinute, - msPerHour: msPerHour, - msPerDay: msPerDay -}; diff --git a/node_modules/es-abstract/index.js b/node_modules/es-abstract/index.js deleted file mode 100644 index 5cd529294..000000000 --- a/node_modules/es-abstract/index.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var assign = require('./helpers/assign'); - -var ES5 = require('./es5'); -var ES2015 = require('./es2015'); -var ES2016 = require('./es2016'); -var ES2017 = require('./es2017'); -var ES2018 = require('./es2018'); -var ES2019 = require('./es2019'); -var ES2020 = require('./es2020'); - -var ES = { - ES5: ES5, - ES6: ES2015, - ES2015: ES2015, - ES7: ES2016, - ES2016: ES2016, - ES2017: ES2017, - ES2018: ES2018, - ES2019: ES2019, - ES2020: ES2020 -}; -assign(ES, ES5); -delete ES.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible -assign(ES, ES2015); - -module.exports = ES; diff --git a/node_modules/es-abstract/operations/.eslintrc b/node_modules/es-abstract/operations/.eslintrc deleted file mode 100644 index bcd76f767..000000000 --- a/node_modules/es-abstract/operations/.eslintrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "id-length": 0, - }, -} diff --git a/node_modules/es-abstract/operations/2015.js b/node_modules/es-abstract/operations/2015.js deleted file mode 100644 index 7607ef41d..000000000 --- a/node_modules/es-abstract/operations/2015.js +++ /dev/null @@ -1,251 +0,0 @@ -'use strict'; - -module.exports = { - IsPropertyDescriptor: 'https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type', // not actually an abstract op - - abs: 'https://262.ecma-international.org/6.0/#sec-algorithm-conventions', - 'Abstract Equality Comparison': 'https://262.ecma-international.org/6.0/#sec-abstract-equality-comparison', - 'Abstract Relational Comparison': 'https://262.ecma-international.org/6.0/#sec-abstract-relational-comparison', - AddRestrictedFunctionProperties: 'https://262.ecma-international.org/6.0/#sec-addrestrictedfunctionproperties', - AdvanceStringIndex: 'https://262.ecma-international.org/6.0/#sec-advancestringindex', - AllocateArrayBuffer: 'https://262.ecma-international.org/6.0/#sec-allocatearraybuffer', - AllocateTypedArray: 'https://262.ecma-international.org/6.0/#sec-allocatetypedarray', - ArrayCreate: 'https://262.ecma-international.org/6.0/#sec-arraycreate', - ArraySetLength: 'https://262.ecma-international.org/6.0/#sec-arraysetlength', - ArraySpeciesCreate: 'https://262.ecma-international.org/6.0/#sec-arrayspeciescreate', - BoundFunctionCreate: 'https://262.ecma-international.org/6.0/#sec-boundfunctioncreate', - Call: 'https://262.ecma-international.org/6.0/#sec-call', - Canonicalize: 'https://262.ecma-international.org/6.0/#sec-runtime-semantics-canonicalize-ch', - CanonicalNumericIndexString: 'https://262.ecma-international.org/6.0/#sec-canonicalnumericindexstring', - CharacterRange: 'https://262.ecma-international.org/6.0/#sec-runtime-semantics-characterrange-abstract-operation', - CharacterSetMatcher: 'https://262.ecma-international.org/6.0/#sec-runtime-semantics-charactersetmatcher-abstract-operation', - CloneArrayBuffer: 'https://262.ecma-international.org/6.0/#sec-clonearraybuffer', - CompletePropertyDescriptor: 'https://262.ecma-international.org/6.0/#sec-completepropertydescriptor', - Completion: 'https://262.ecma-international.org/6.0/#sec-implicit-completion-values', - Construct: 'https://262.ecma-international.org/6.0/#sec-construct', - CopyDataBlockBytes: 'https://262.ecma-international.org/6.0/#sec-copydatablockbytes', - CreateArrayFromList: 'https://262.ecma-international.org/6.0/#sec-createarrayfromlist', - CreateArrayIterator: 'https://262.ecma-international.org/6.0/#sec-createarrayiterator', - CreateBuiltinFunction: 'https://262.ecma-international.org/6.0/#sec-createbuiltinfunction', - CreateByteDataBlock: 'https://262.ecma-international.org/6.0/#sec-createbytedatablock', - CreateDataProperty: 'https://262.ecma-international.org/6.0/#sec-createdataproperty', - CreateDataPropertyOrThrow: 'https://262.ecma-international.org/6.0/#sec-createdatapropertyorthrow', - CreateDynamicFunction: 'https://262.ecma-international.org/6.0/#sec-createdynamicfunction', - CreateHTML: 'https://262.ecma-international.org/6.0/#sec-createhtml', - CreateIntrinsics: 'https://262.ecma-international.org/6.0/#sec-createintrinsics', - CreateIterResultObject: 'https://262.ecma-international.org/6.0/#sec-createiterresultobject', - CreateListFromArrayLike: 'https://262.ecma-international.org/6.0/#sec-createlistfromarraylike', - CreateListIterator: 'https://262.ecma-international.org/6.0/#sec-createlistiterator', - CreateMapIterator: 'https://262.ecma-international.org/6.0/#sec-createmapiterator', - CreateMappedArgumentsObject: 'https://262.ecma-international.org/6.0/#sec-createmappedargumentsobject', - CreateMethodProperty: 'https://262.ecma-international.org/6.0/#sec-createmethodproperty', - CreatePerIterationEnvironment: 'https://262.ecma-international.org/6.0/#sec-createperiterationenvironment', - CreateRealm: 'https://262.ecma-international.org/6.0/#sec-createrealm', - CreateSetIterator: 'https://262.ecma-international.org/6.0/#sec-createsetiterator', - CreateUnmappedArgumentsObject: 'https://262.ecma-international.org/6.0/#sec-createunmappedargumentsobject', - DateFromTime: 'https://262.ecma-international.org/6.0/#sec-date-number', - Day: 'https://262.ecma-international.org/6.0/#sec-day-number-and-time-within-day', - DayFromYear: 'https://262.ecma-international.org/6.0/#sec-year-number', - DaylightSavingTA: 'https://262.ecma-international.org/6.0/#sec-daylight-saving-time-adjustment', - DaysInYear: 'https://262.ecma-international.org/6.0/#sec-year-number', - DayWithinYear: 'https://262.ecma-international.org/6.0/#sec-month-number', - Decode: 'https://262.ecma-international.org/6.0/#sec-decode', - DefinePropertyOrThrow: 'https://262.ecma-international.org/6.0/#sec-definepropertyorthrow', - DeletePropertyOrThrow: 'https://262.ecma-international.org/6.0/#sec-deletepropertyorthrow', - DetachArrayBuffer: 'https://262.ecma-international.org/6.0/#sec-detacharraybuffer', - Encode: 'https://262.ecma-international.org/6.0/#sec-encode', - EnqueueJob: 'https://262.ecma-international.org/6.0/#sec-enqueuejob', - EnumerableOwnNames: 'https://262.ecma-international.org/6.0/#sec-enumerableownnames', - EscapeRegExpPattern: 'https://262.ecma-international.org/6.0/#sec-escaperegexppattern', - EvalDeclarationInstantiation: 'https://262.ecma-international.org/6.0/#sec-evaldeclarationinstantiation', - EvaluateCall: 'https://262.ecma-international.org/6.0/#sec-evaluatecall', - EvaluateDirectCall: 'https://262.ecma-international.org/6.0/#sec-evaluatedirectcall', - EvaluateNew: 'https://262.ecma-international.org/6.0/#sec-evaluatenew', - floor: 'https://262.ecma-international.org/6.0/#sec-algorithm-conventions', - ForBodyEvaluation: 'https://262.ecma-international.org/6.0/#sec-forbodyevaluation', - 'ForIn/OfBodyEvaluation': 'https://262.ecma-international.org/6.0/#sec-runtime-semantics-forin-div-ofbodyevaluation-lhs-stmt-iterator-lhskind-labelset', - 'ForIn/OfHeadEvaluation': 'https://262.ecma-international.org/6.0/#sec-runtime-semantics-forin-div-ofheadevaluation-tdznames-expr-iterationkind', - FromPropertyDescriptor: 'https://262.ecma-international.org/6.0/#sec-frompropertydescriptor', - FulfillPromise: 'https://262.ecma-international.org/6.0/#sec-fulfillpromise', - FunctionAllocate: 'https://262.ecma-international.org/6.0/#sec-functionallocate', - FunctionCreate: 'https://262.ecma-international.org/6.0/#sec-functioncreate', - FunctionInitialize: 'https://262.ecma-international.org/6.0/#sec-functioninitialize', - GeneratorFunctionCreate: 'https://262.ecma-international.org/6.0/#sec-generatorfunctioncreate', - GeneratorResume: 'https://262.ecma-international.org/6.0/#sec-generatorresume', - GeneratorResumeAbrupt: 'https://262.ecma-international.org/6.0/#sec-generatorresumeabrupt', - GeneratorStart: 'https://262.ecma-international.org/6.0/#sec-generatorstart', - GeneratorValidate: 'https://262.ecma-international.org/6.0/#sec-generatorvalidate', - GeneratorYield: 'https://262.ecma-international.org/6.0/#sec-generatoryield', - Get: 'https://262.ecma-international.org/6.0/#sec-get-o-p', - GetBase: 'https://262.ecma-international.org/6.0/#sec-jobs-and-job-queues', - GetFunctionRealm: 'https://262.ecma-international.org/6.0/#sec-getfunctionrealm', - GetGlobalObject: 'https://262.ecma-international.org/6.0/#sec-getglobalobject', - GetIdentifierReference: 'https://262.ecma-international.org/6.0/#sec-getidentifierreference', - GetIterator: 'https://262.ecma-international.org/6.0/#sec-getiterator', - GetMethod: 'https://262.ecma-international.org/6.0/#sec-getmethod', - GetModuleNamespace: 'https://262.ecma-international.org/6.0/#sec-getmodulenamespace', - GetNewTarget: 'https://262.ecma-international.org/6.0/#sec-getnewtarget', - GetOwnPropertyKeys: 'https://262.ecma-international.org/6.0/#sec-getownpropertykeys', - GetPrototypeFromConstructor: 'https://262.ecma-international.org/6.0/#sec-getprototypefromconstructor', - GetReferencedName: 'https://262.ecma-international.org/6.0/#sec-jobs-and-job-queues', - GetSubstitution: 'https://262.ecma-international.org/6.0/#sec-getsubstitution', - GetSuperConstructor: 'https://262.ecma-international.org/6.0/#sec-getsuperconstructor', - GetTemplateObject: 'https://262.ecma-international.org/6.0/#sec-gettemplateobject', - GetThisEnvironment: 'https://262.ecma-international.org/6.0/#sec-getthisenvironment', - GetThisValue: 'https://262.ecma-international.org/6.0/#sec-getthisvalue', - GetV: 'https://262.ecma-international.org/6.0/#sec-getv', - GetValue: 'https://262.ecma-international.org/6.0/#sec-getvalue', - GetValueFromBuffer: 'https://262.ecma-international.org/6.0/#sec-getvaluefrombuffer', - GetViewValue: 'https://262.ecma-international.org/6.0/#sec-getviewvalue', - HasOwnProperty: 'https://262.ecma-international.org/6.0/#sec-hasownproperty', - HasPrimitiveBase: 'https://262.ecma-international.org/6.0/#sec-jobs-and-job-queues', - HasProperty: 'https://262.ecma-international.org/6.0/#sec-hasproperty', - HostResolveImportedModule: 'sec-hostresolveimportedmodule', - HourFromTime: 'https://262.ecma-international.org/6.0/#sec-hours-minutes-second-and-milliseconds', - ImportedLocalNames: 'https://262.ecma-international.org/6.0/#sec-importedlocalnames', - InitializeHostDefinedRealm: 'https://262.ecma-international.org/6.0/#sec-initializehostdefinedrealm', - InitializeReferencedBinding: 'https://262.ecma-international.org/6.0/#sec-initializereferencedbinding', - InLeapYear: 'https://262.ecma-international.org/6.0/#sec-year-number', - InstanceofOperator: 'https://262.ecma-international.org/6.0/#sec-instanceofoperator', - IntegerIndexedElementGet: 'https://262.ecma-international.org/6.0/#sec-integerindexedelementget', - IntegerIndexedElementSet: 'https://262.ecma-international.org/6.0/#sec-integerindexedelementset', - IntegerIndexedObjectCreate: 'https://262.ecma-international.org/6.0/#sec-integerindexedobjectcreate', - InternalizeJSONProperty: 'https://262.ecma-international.org/6.0/#sec-internalizejsonproperty', - Invoke: 'https://262.ecma-international.org/6.0/#sec-invoke', - IsAccessorDescriptor: 'https://262.ecma-international.org/6.0/#sec-isaccessordescriptor', - IsAnonymousFunctionDefinition: 'https://262.ecma-international.org/6.0/#sec-isanonymousfunctiondefinition', - IsArray: 'https://262.ecma-international.org/6.0/#sec-isarray', - IsCallable: 'https://262.ecma-international.org/6.0/#sec-iscallable', - IsCompatiblePropertyDescriptor: 'https://262.ecma-international.org/6.0/#sec-iscompatiblepropertydescriptor', - IsConcatSpreadable: 'https://262.ecma-international.org/6.0/#sec-isconcatspreadable', - IsConstructor: 'https://262.ecma-international.org/6.0/#sec-isconstructor', - IsDataDescriptor: 'https://262.ecma-international.org/6.0/#sec-isdatadescriptor', - IsDetachedBuffer: 'https://262.ecma-international.org/6.0/#sec-isdetachedbuffer', - IsExtensible: 'https://262.ecma-international.org/6.0/#sec-isextensible-o', - IsGenericDescriptor: 'https://262.ecma-international.org/6.0/#sec-isgenericdescriptor', - IsInTailPosition: 'https://262.ecma-international.org/6.0/#sec-isintailposition', - IsInteger: 'https://262.ecma-international.org/6.0/#sec-isinteger', - IsLabelledFunction: 'https://262.ecma-international.org/6.0/#sec-islabelledfunction', - IsPromise: 'https://262.ecma-international.org/6.0/#sec-ispromise', - IsPropertyKey: 'https://262.ecma-international.org/6.0/#sec-ispropertykey', - IsPropertyReference: 'https://262.ecma-international.org/6.0/#sec-jobs-and-job-queues', - IsRegExp: 'https://262.ecma-international.org/6.0/#sec-isregexp', - IsStrictReference: 'https://262.ecma-international.org/6.0/#sec-jobs-and-job-queues', - IsSuperReference: 'https://262.ecma-international.org/6.0/#sec-jobs-and-job-queues', - IsUnresolvableReference: 'https://262.ecma-international.org/6.0/#sec-jobs-and-job-queues', - IsWordChar: 'https://262.ecma-international.org/6.0/#sec-runtime-semantics-iswordchar-abstract-operation', - IteratorClose: 'https://262.ecma-international.org/6.0/#sec-iteratorclose', - IteratorComplete: 'https://262.ecma-international.org/6.0/#sec-iteratorcomplete', - IteratorNext: 'https://262.ecma-international.org/6.0/#sec-iteratornext', - IteratorStep: 'https://262.ecma-international.org/6.0/#sec-iteratorstep', - IteratorValue: 'https://262.ecma-international.org/6.0/#sec-iteratorvalue', - LocalTime: 'https://262.ecma-international.org/6.0/#sec-localtime', - LoopContinues: 'https://262.ecma-international.org/6.0/#sec-loopcontinues', - MakeArgGetter: 'https://262.ecma-international.org/6.0/#sec-makearggetter', - MakeArgSetter: 'https://262.ecma-international.org/6.0/#sec-makeargsetter', - MakeClassConstructor: 'https://262.ecma-international.org/6.0/#sec-makeclassconstructor', - MakeConstructor: 'https://262.ecma-international.org/6.0/#sec-makeconstructor', - MakeDate: 'https://262.ecma-international.org/6.0/#sec-makedate', - MakeDay: 'https://262.ecma-international.org/6.0/#sec-makeday', - MakeMethod: 'https://262.ecma-international.org/6.0/#sec-makemethod', - MakeSuperPropertyReference: 'https://262.ecma-international.org/6.0/#sec-makesuperpropertyreference', - MakeTime: 'https://262.ecma-international.org/6.0/#sec-maketime', - max: 'https://262.ecma-international.org/6.0/#sec-algorithm-conventions', - min: 'https://262.ecma-international.org/6.0/#sec-algorithm-conventions', - MinFromTime: 'https://262.ecma-international.org/6.0/#sec-hours-minutes-second-and-milliseconds', - ModuleNamespaceCreate: 'https://262.ecma-international.org/6.0/#sec-modulenamespacecreate', - modulo: 'https://262.ecma-international.org/6.0/#sec-algorithm-conventions', - MonthFromTime: 'https://262.ecma-international.org/6.0/#sec-month-number', - msFromTime: 'https://262.ecma-international.org/6.0/#sec-hours-minutes-second-and-milliseconds', - msPerDay: 'https://262.ecma-international.org/6.0/#sec-day-number-and-time-within-day', - NewDeclarativeEnvironment: 'https://262.ecma-international.org/6.0/#sec-newdeclarativeenvironment', - NewFunctionEnvironment: 'https://262.ecma-international.org/6.0/#sec-newfunctionenvironment', - NewGlobalEnvironment: 'https://262.ecma-international.org/6.0/#sec-newglobalenvironment', - NewModuleEnvironment: 'https://262.ecma-international.org/6.0/#sec-newmoduleenvironment', - NewObjectEnvironment: 'https://262.ecma-international.org/6.0/#sec-newobjectenvironment', - NewPromiseCapability: 'https://262.ecma-international.org/6.0/#sec-newpromisecapability', - NormalCompletion: 'https://262.ecma-international.org/6.0/#sec-normalcompletion', - ObjectCreate: 'https://262.ecma-international.org/6.0/#sec-objectcreate', - ObjectDefineProperties: 'https://262.ecma-international.org/6.0/#sec-objectdefineproperties', - OrdinaryCallBindThis: 'https://262.ecma-international.org/6.0/#sec-ordinarycallbindthis', - OrdinaryCallEvaluateBody: 'https://262.ecma-international.org/6.0/#sec-ordinarycallevaluatebody', - OrdinaryCreateFromConstructor: 'https://262.ecma-international.org/6.0/#sec-ordinarycreatefromconstructor', - OrdinaryDefineOwnProperty: 'https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty', - OrdinaryGetOwnProperty: 'https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty', - OrdinaryHasInstance: 'https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance', - OrdinaryHasProperty: 'https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty', - ParseModule: 'https://262.ecma-international.org/6.0/#sec-parsemodule', - PerformEval: 'https://262.ecma-international.org/6.0/#sec-performeval', - PerformPromiseAll: 'https://262.ecma-international.org/6.0/#sec-performpromiseall', - PerformPromiseRace: 'https://262.ecma-international.org/6.0/#sec-performpromiserace', - PerformPromiseThen: 'https://262.ecma-international.org/6.0/#sec-performpromisethen', - PrepareForOrdinaryCall: 'https://262.ecma-international.org/6.0/#sec-prepareforordinarycall', - PrepareForTailCall: 'https://262.ecma-international.org/6.0/#sec-preparefortailcall', - ProxyCreate: 'https://262.ecma-international.org/6.0/#sec-proxycreate', - PutValue: 'https://262.ecma-international.org/6.0/#sec-putvalue', - QuoteJSONString: 'https://262.ecma-international.org/6.0/#sec-quotejsonstring', - RegExpAlloc: 'https://262.ecma-international.org/6.0/#sec-regexpalloc', - RegExpBuiltinExec: 'https://262.ecma-international.org/6.0/#sec-regexpbuiltinexec', - RegExpCreate: 'https://262.ecma-international.org/6.0/#sec-regexpcreate', - RegExpExec: 'https://262.ecma-international.org/6.0/#sec-regexpexec', - RegExpInitialize: 'https://262.ecma-international.org/6.0/#sec-regexpinitialize', - RejectPromise: 'https://262.ecma-international.org/6.0/#sec-rejectpromise', - RepeatMatcher: 'https://262.ecma-international.org/6.0/#sec-runtime-semantics-repeatmatcher-abstract-operation', - RequireObjectCoercible: 'https://262.ecma-international.org/6.0/#sec-requireobjectcoercible', - ResolveBinding: 'https://262.ecma-international.org/6.0/#sec-resolvebinding', - ResolveThisBinding: 'https://262.ecma-international.org/6.0/#sec-resolvethisbinding', - SameValue: 'https://262.ecma-international.org/6.0/#sec-samevalue', - SameValueZero: 'https://262.ecma-international.org/6.0/#sec-samevaluezero', - SecFromTime: 'https://262.ecma-international.org/6.0/#sec-hours-minutes-second-and-milliseconds', - SerializeJSONArray: 'https://262.ecma-international.org/6.0/#sec-serializejsonarray', - SerializeJSONObject: 'https://262.ecma-international.org/6.0/#sec-serializejsonobject', - SerializeJSONProperty: 'https://262.ecma-international.org/6.0/#sec-serializejsonproperty', - Set: 'https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw', - SetDefaultGlobalBindings: 'https://262.ecma-international.org/6.0/#sec-setdefaultglobalbindings', - SetFunctionName: 'https://262.ecma-international.org/6.0/#sec-setfunctionname', - SetIntegrityLevel: 'https://262.ecma-international.org/6.0/#sec-setintegritylevel', - SetRealmGlobalObject: 'https://262.ecma-international.org/6.0/#sec-setrealmglobalobject', - SetValueInBuffer: 'https://262.ecma-international.org/6.0/#sec-setvalueinbuffer', - SetViewValue: 'https://262.ecma-international.org/6.0/#sec-setviewvalue', - sign: 'https://262.ecma-international.org/6.0/#sec-algorithm-conventions', - SortCompare: 'https://262.ecma-international.org/6.0/#sec-sortcompare', - SpeciesConstructor: 'https://262.ecma-international.org/6.0/#sec-speciesconstructor', - SplitMatch: 'https://262.ecma-international.org/6.0/#sec-splitmatch', - 'Strict Equality Comparison': 'https://262.ecma-international.org/6.0/#sec-strict-equality-comparison', - StringCreate: 'https://262.ecma-international.org/6.0/#sec-stringcreate', - StringGetIndexProperty: 'https://262.ecma-international.org/6.0/#sec-stringgetindexproperty', - SymbolDescriptiveString: 'https://262.ecma-international.org/6.0/#sec-symboldescriptivestring', - TestIntegrityLevel: 'https://262.ecma-international.org/6.0/#sec-testintegritylevel', - thisBooleanValue: 'https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object', - thisNumberValue: 'https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object', - thisStringValue: 'https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object', - thisTimeValue: 'https://262.ecma-international.org/6.0/#sec-properties-of-the-date-prototype-object', - TimeClip: 'https://262.ecma-international.org/6.0/#sec-timeclip', - TimeFromYear: 'https://262.ecma-international.org/6.0/#sec-year-number', - TimeWithinDay: 'https://262.ecma-international.org/6.0/#sec-day-number-and-time-within-day', - ToBoolean: 'https://262.ecma-international.org/6.0/#sec-toboolean', - ToDateString: 'https://262.ecma-international.org/6.0/#sec-todatestring', - ToInt16: 'https://262.ecma-international.org/6.0/#sec-toint16', - ToInt32: 'https://262.ecma-international.org/6.0/#sec-toint32', - ToInt8: 'https://262.ecma-international.org/6.0/#sec-toint8', - ToInteger: 'https://262.ecma-international.org/6.0/#sec-tointeger', - ToLength: 'https://262.ecma-international.org/6.0/#sec-tolength', - ToNumber: 'https://262.ecma-international.org/6.0/#sec-tonumber', - ToObject: 'https://262.ecma-international.org/6.0/#sec-toobject', - ToPrimitive: 'https://262.ecma-international.org/6.0/#sec-toprimitive', - ToPropertyDescriptor: 'https://262.ecma-international.org/6.0/#sec-topropertydescriptor', - ToPropertyKey: 'https://262.ecma-international.org/6.0/#sec-topropertykey', - ToString: 'https://262.ecma-international.org/6.0/#sec-tostring', - ToUint16: 'https://262.ecma-international.org/6.0/#sec-touint16', - ToUint32: 'https://262.ecma-international.org/6.0/#sec-touint32', - ToUint8: 'https://262.ecma-international.org/6.0/#sec-touint8', - ToUint8Clamp: 'https://262.ecma-international.org/6.0/#sec-touint8clamp', - TriggerPromiseReactions: 'https://262.ecma-international.org/6.0/#sec-triggerpromisereactions', - Type: 'https://262.ecma-international.org/6.0/#sec-ecmascript-data-types-and-values', - TypedArrayFrom: 'https://262.ecma-international.org/6.0/#sec-typedarrayfrom', - UpdateEmpty: 'https://262.ecma-international.org/6.0/#sec-updateempty', - UTC: 'https://262.ecma-international.org/6.0/#sec-utc-t', - ValidateAndApplyPropertyDescriptor: 'https://262.ecma-international.org/6.0/#sec-validateandapplypropertydescriptor', - WeekDay: 'https://262.ecma-international.org/6.0/#sec-week-day', - YearFromTime: 'https://262.ecma-international.org/6.0/#sec-year-number' -}; diff --git a/node_modules/es-abstract/operations/2016.js b/node_modules/es-abstract/operations/2016.js deleted file mode 100644 index 3cfd8e7ac..000000000 --- a/node_modules/es-abstract/operations/2016.js +++ /dev/null @@ -1,277 +0,0 @@ -'use strict'; - -module.exports = { - IsPropertyDescriptor: 'https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type', // not actually an abstract op - - abs: 'https://262.ecma-international.org/7.0/#sec-algorithm-conventions', - 'Abstract Equality Comparison': 'https://262.ecma-international.org/7.0/#sec-abstract-equality-comparison', - 'Abstract Relational Comparison': 'https://262.ecma-international.org/7.0/#sec-abstract-relational-comparison', - AddRestrictedFunctionProperties: 'https://262.ecma-international.org/7.0/#sec-addrestrictedfunctionproperties', - AdvanceStringIndex: 'https://262.ecma-international.org/7.0/#sec-advancestringindex', - AllocateArrayBuffer: 'https://262.ecma-international.org/7.0/#sec-allocatearraybuffer', - AllocateTypedArray: 'https://262.ecma-international.org/7.0/#sec-allocatetypedarray', - AllocateTypedArrayBuffer: 'https://262.ecma-international.org/7.0/#sec-allocatetypedarraybuffer', - ArrayCreate: 'https://262.ecma-international.org/7.0/#sec-arraycreate', - ArraySetLength: 'https://262.ecma-international.org/7.0/#sec-arraysetlength', - ArraySpeciesCreate: 'https://262.ecma-international.org/7.0/#sec-arrayspeciescreate', - BlockDeclarationInstantiation: 'https://262.ecma-international.org/7.0/#sec-blockdeclarationinstantiation', - BoundFunctionCreate: 'https://262.ecma-international.org/7.0/#sec-boundfunctioncreate', - Call: 'https://262.ecma-international.org/7.0/#sec-call', - Canonicalize: 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-canonicalize-ch', - CanonicalNumericIndexString: 'https://262.ecma-international.org/7.0/#sec-canonicalnumericindexstring', - CharacterRange: 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-characterrange-abstract-operation', - CharacterRangeOrUnion: 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-characterrangeorunion-abstract-operation', - CharacterSetMatcher: 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-charactersetmatcher-abstract-operation', - CloneArrayBuffer: 'https://262.ecma-international.org/7.0/#sec-clonearraybuffer', - CompletePropertyDescriptor: 'https://262.ecma-international.org/7.0/#sec-completepropertydescriptor', - Completion: 'https://262.ecma-international.org/7.0/#sec-completion-record-specification-type', - Construct: 'https://262.ecma-international.org/7.0/#sec-construct', - CopyDataBlockBytes: 'https://262.ecma-international.org/7.0/#sec-copydatablockbytes', - CreateArrayFromList: 'https://262.ecma-international.org/7.0/#sec-createarrayfromlist', - CreateArrayIterator: 'https://262.ecma-international.org/7.0/#sec-createarrayiterator', - CreateBuiltinFunction: 'https://262.ecma-international.org/7.0/#sec-createbuiltinfunction', - CreateByteDataBlock: 'https://262.ecma-international.org/7.0/#sec-createbytedatablock', - CreateDataProperty: 'https://262.ecma-international.org/7.0/#sec-createdataproperty', - CreateDataPropertyOrThrow: 'https://262.ecma-international.org/7.0/#sec-createdatapropertyorthrow', - CreateDynamicFunction: 'https://262.ecma-international.org/7.0/#sec-createdynamicfunction', - CreateHTML: 'https://262.ecma-international.org/7.0/#sec-createhtml', - CreateIntrinsics: 'https://262.ecma-international.org/7.0/#sec-createintrinsics', - CreateIterResultObject: 'https://262.ecma-international.org/7.0/#sec-createiterresultobject', - CreateListFromArrayLike: 'https://262.ecma-international.org/7.0/#sec-createlistfromarraylike', - CreateListIterator: 'https://262.ecma-international.org/7.0/#sec-createlistiterator', - CreateMapIterator: 'https://262.ecma-international.org/7.0/#sec-createmapiterator', - CreateMappedArgumentsObject: 'https://262.ecma-international.org/7.0/#sec-createmappedargumentsobject', - CreateMethodProperty: 'https://262.ecma-international.org/7.0/#sec-createmethodproperty', - CreatePerIterationEnvironment: 'https://262.ecma-international.org/7.0/#sec-createperiterationenvironment', - CreateRealm: 'https://262.ecma-international.org/7.0/#sec-createrealm', - CreateResolvingFunctions: 'https://262.ecma-international.org/7.0/#sec-createresolvingfunctions', - CreateSetIterator: 'https://262.ecma-international.org/7.0/#sec-createsetiterator', - CreateStringIterator: 'https://262.ecma-international.org/7.0/#sec-createstringiterator', - CreateUnmappedArgumentsObject: 'https://262.ecma-international.org/7.0/#sec-createunmappedargumentsobject', - DateFromTime: 'https://262.ecma-international.org/7.0/#sec-date-number', - Day: 'https://262.ecma-international.org/7.0/#sec-day-number-and-time-within-day', - DayFromYear: 'https://262.ecma-international.org/7.0/#sec-year-number', - DaylightSavingTA: 'https://262.ecma-international.org/7.0/#sec-daylight-saving-time-adjustment', - DaysInYear: 'https://262.ecma-international.org/7.0/#sec-year-number', - DayWithinYear: 'https://262.ecma-international.org/7.0/#sec-month-number', - Decode: 'https://262.ecma-international.org/7.0/#sec-decode', - DefinePropertyOrThrow: 'https://262.ecma-international.org/7.0/#sec-definepropertyorthrow', - DeletePropertyOrThrow: 'https://262.ecma-international.org/7.0/#sec-deletepropertyorthrow', - DetachArrayBuffer: 'https://262.ecma-international.org/7.0/#sec-detacharraybuffer', - Encode: 'https://262.ecma-international.org/7.0/#sec-encode', - EnqueueJob: 'https://262.ecma-international.org/7.0/#sec-enqueuejob', - EnumerableOwnNames: 'https://262.ecma-international.org/7.0/#sec-enumerableownnames', - EnumerateObjectProperties: 'https://262.ecma-international.org/7.0/#sec-enumerate-object-properties', - EscapeRegExpPattern: 'https://262.ecma-international.org/7.0/#sec-escaperegexppattern', - EvalDeclarationInstantiation: 'https://262.ecma-international.org/7.0/#sec-evaldeclarationinstantiation', - EvaluateCall: 'https://262.ecma-international.org/7.0/#sec-evaluatecall', - EvaluateDirectCall: 'https://262.ecma-international.org/7.0/#sec-evaluatedirectcall', - EvaluateNew: 'https://262.ecma-international.org/7.0/#sec-evaluatenew', - floor: 'https://262.ecma-international.org/7.0/#sec-algorithm-conventions', - ForBodyEvaluation: 'https://262.ecma-international.org/7.0/#sec-forbodyevaluation', - 'ForIn/OfBodyEvaluation': 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-forin-div-ofbodyevaluation-lhs-stmt-iterator-lhskind-labelset', - 'ForIn/OfHeadEvaluation': 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-forin-div-ofheadevaluation-tdznames-expr-iterationkind', - FromPropertyDescriptor: 'https://262.ecma-international.org/7.0/#sec-frompropertydescriptor', - FulfillPromise: 'https://262.ecma-international.org/7.0/#sec-fulfillpromise', - FunctionAllocate: 'https://262.ecma-international.org/7.0/#sec-functionallocate', - FunctionCreate: 'https://262.ecma-international.org/7.0/#sec-functioncreate', - FunctionDeclarationInstantiation: 'https://262.ecma-international.org/7.0/#sec-functiondeclarationinstantiation', - FunctionInitialize: 'https://262.ecma-international.org/7.0/#sec-functioninitialize', - GeneratorFunctionCreate: 'https://262.ecma-international.org/7.0/#sec-generatorfunctioncreate', - GeneratorResume: 'https://262.ecma-international.org/7.0/#sec-generatorresume', - GeneratorResumeAbrupt: 'https://262.ecma-international.org/7.0/#sec-generatorresumeabrupt', - GeneratorStart: 'https://262.ecma-international.org/7.0/#sec-generatorstart', - GeneratorValidate: 'https://262.ecma-international.org/7.0/#sec-generatorvalidate', - GeneratorYield: 'https://262.ecma-international.org/7.0/#sec-generatoryield', - Get: 'https://262.ecma-international.org/7.0/#sec-get-o-p', - GetActiveScriptOrModule: 'https://262.ecma-international.org/7.0/#sec-getactivescriptormodule', - GetFunctionRealm: 'https://262.ecma-international.org/7.0/#sec-getfunctionrealm', - GetGlobalObject: 'https://262.ecma-international.org/7.0/#sec-getglobalobject', - GetIdentifierReference: 'https://262.ecma-international.org/7.0/#sec-getidentifierreference', - GetIterator: 'https://262.ecma-international.org/7.0/#sec-getiterator', - GetMethod: 'https://262.ecma-international.org/7.0/#sec-getmethod', - GetModuleNamespace: 'https://262.ecma-international.org/7.0/#sec-getmodulenamespace', - GetNewTarget: 'https://262.ecma-international.org/7.0/#sec-getnewtarget', - GetOwnPropertyKeys: 'https://262.ecma-international.org/7.0/#sec-getownpropertykeys', - GetPrototypeFromConstructor: 'https://262.ecma-international.org/7.0/#sec-getprototypefromconstructor', - GetSubstitution: 'https://262.ecma-international.org/7.0/#sec-getsubstitution', - GetSuperConstructor: 'https://262.ecma-international.org/7.0/#sec-getsuperconstructor', - GetTemplateObject: 'https://262.ecma-international.org/7.0/#sec-gettemplateobject', - GetThisEnvironment: 'https://262.ecma-international.org/7.0/#sec-getthisenvironment', - GetThisValue: 'https://262.ecma-international.org/7.0/#sec-getthisvalue', - GetV: 'https://262.ecma-international.org/7.0/#sec-getv', - GetValue: 'https://262.ecma-international.org/7.0/#sec-getvalue', - GetValueFromBuffer: 'https://262.ecma-international.org/7.0/#sec-getvaluefrombuffer', - GetViewValue: 'https://262.ecma-international.org/7.0/#sec-getviewvalue', - GlobalDeclarationInstantiation: 'https://262.ecma-international.org/7.0/#sec-globaldeclarationinstantiation', - HasOwnProperty: 'https://262.ecma-international.org/7.0/#sec-hasownproperty', - HasProperty: 'https://262.ecma-international.org/7.0/#sec-hasproperty', - HostPromiseRejectionTracker: 'https://262.ecma-international.org/7.0/#sec-host-promise-rejection-tracker', - HostReportErrors: 'https://262.ecma-international.org/7.0/#sec-host-report-errors', - HostResolveImportedModule: 'https://262.ecma-international.org/7.0/#sec-hostresolveimportedmodule', - HourFromTime: 'https://262.ecma-international.org/7.0/#sec-hours-minutes-second-and-milliseconds', - IfAbruptRejectPromise: 'https://262.ecma-international.org/7.0/#sec-ifabruptrejectpromise', - ImportedLocalNames: 'https://262.ecma-international.org/7.0/#sec-importedlocalnames', - InitializeBoundName: 'https://262.ecma-international.org/7.0/#sec-initializeboundname', - InitializeHostDefinedRealm: 'https://262.ecma-international.org/7.0/#sec-initializehostdefinedrealm', - InitializeReferencedBinding: 'https://262.ecma-international.org/7.0/#sec-initializereferencedbinding', - InLeapYear: 'https://262.ecma-international.org/7.0/#sec-year-number', - InstanceofOperator: 'https://262.ecma-international.org/7.0/#sec-instanceofoperator', - IntegerIndexedElementGet: 'https://262.ecma-international.org/7.0/#sec-integerindexedelementget', - IntegerIndexedElementSet: 'https://262.ecma-international.org/7.0/#sec-integerindexedelementset', - IntegerIndexedObjectCreate: 'https://262.ecma-international.org/7.0/#sec-integerindexedobjectcreate', - InternalizeJSONProperty: 'https://262.ecma-international.org/7.0/#sec-internalizejsonproperty', - Invoke: 'https://262.ecma-international.org/7.0/#sec-invoke', - IsAccessorDescriptor: 'https://262.ecma-international.org/7.0/#sec-isaccessordescriptor', - IsAnonymousFunctionDefinition: 'https://262.ecma-international.org/7.0/#sec-isanonymousfunctiondefinition', - IsArray: 'https://262.ecma-international.org/7.0/#sec-isarray', - IsCallable: 'https://262.ecma-international.org/7.0/#sec-iscallable', - IsCompatiblePropertyDescriptor: 'https://262.ecma-international.org/7.0/#sec-iscompatiblepropertydescriptor', - IsConcatSpreadable: 'https://262.ecma-international.org/7.0/#sec-isconcatspreadable', - IsConstructor: 'https://262.ecma-international.org/7.0/#sec-isconstructor', - IsDataDescriptor: 'https://262.ecma-international.org/7.0/#sec-isdatadescriptor', - IsDetachedBuffer: 'https://262.ecma-international.org/7.0/#sec-isdetachedbuffer', - IsExtensible: 'https://262.ecma-international.org/7.0/#sec-isextensible-o', - IsGenericDescriptor: 'https://262.ecma-international.org/7.0/#sec-isgenericdescriptor', - IsInTailPosition: 'https://262.ecma-international.org/7.0/#sec-isintailposition', - IsInteger: 'https://262.ecma-international.org/7.0/#sec-isinteger', - IsLabelledFunction: 'https://262.ecma-international.org/7.0/#sec-islabelledfunction', - IsPromise: 'https://262.ecma-international.org/7.0/#sec-ispromise', - IsPropertyKey: 'https://262.ecma-international.org/7.0/#sec-ispropertykey', - IsRegExp: 'https://262.ecma-international.org/7.0/#sec-isregexp', - IsWordChar: 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-iswordchar-abstract-operation', - IterableToArrayLike: 'https://262.ecma-international.org/7.0/#sec-iterabletoarraylike', - IteratorClose: 'https://262.ecma-international.org/7.0/#sec-iteratorclose', - IteratorComplete: 'https://262.ecma-international.org/7.0/#sec-iteratorcomplete', - IteratorNext: 'https://262.ecma-international.org/7.0/#sec-iteratornext', - IteratorStep: 'https://262.ecma-international.org/7.0/#sec-iteratorstep', - IteratorValue: 'https://262.ecma-international.org/7.0/#sec-iteratorvalue', - LocalTime: 'https://262.ecma-international.org/7.0/#sec-localtime', - LoopContinues: 'https://262.ecma-international.org/7.0/#sec-loopcontinues', - MakeArgGetter: 'https://262.ecma-international.org/7.0/#sec-makearggetter', - MakeArgSetter: 'https://262.ecma-international.org/7.0/#sec-makeargsetter', - MakeClassConstructor: 'https://262.ecma-international.org/7.0/#sec-makeclassconstructor', - MakeConstructor: 'https://262.ecma-international.org/7.0/#sec-makeconstructor', - MakeDate: 'https://262.ecma-international.org/7.0/#sec-makedate', - MakeDay: 'https://262.ecma-international.org/7.0/#sec-makeday', - MakeMethod: 'https://262.ecma-international.org/7.0/#sec-makemethod', - MakeSuperPropertyReference: 'https://262.ecma-international.org/7.0/#sec-makesuperpropertyreference', - MakeTime: 'https://262.ecma-international.org/7.0/#sec-maketime', - max: 'https://262.ecma-international.org/7.0/#sec-algorithm-conventions', - min: 'https://262.ecma-international.org/7.0/#sec-algorithm-conventions', - MinFromTime: 'https://262.ecma-international.org/7.0/#sec-hours-minutes-second-and-milliseconds', - ModuleNamespaceCreate: 'https://262.ecma-international.org/7.0/#sec-modulenamespacecreate', - modulo: 'https://262.ecma-international.org/7.0/#sec-algorithm-conventions', - MonthFromTime: 'https://262.ecma-international.org/7.0/#sec-month-number', - msFromTime: 'https://262.ecma-international.org/7.0/#sec-hours-minutes-second-and-milliseconds', - NewDeclarativeEnvironment: 'https://262.ecma-international.org/7.0/#sec-newdeclarativeenvironment', - NewFunctionEnvironment: 'https://262.ecma-international.org/7.0/#sec-newfunctionenvironment', - NewGlobalEnvironment: 'https://262.ecma-international.org/7.0/#sec-newglobalenvironment', - NewModuleEnvironment: 'https://262.ecma-international.org/7.0/#sec-newmoduleenvironment', - NewObjectEnvironment: 'https://262.ecma-international.org/7.0/#sec-newobjectenvironment', - NewPromiseCapability: 'https://262.ecma-international.org/7.0/#sec-newpromisecapability', - NextJob: 'https://262.ecma-international.org/7.0/#sec-nextjob-result', - NormalCompletion: 'https://262.ecma-international.org/7.0/#sec-normalcompletion', - ObjectCreate: 'https://262.ecma-international.org/7.0/#sec-objectcreate', - ObjectDefineProperties: 'https://262.ecma-international.org/7.0/#sec-objectdefineproperties', - OrdinaryCallBindThis: 'https://262.ecma-international.org/7.0/#sec-ordinarycallbindthis', - OrdinaryCallEvaluateBody: 'https://262.ecma-international.org/7.0/#sec-ordinarycallevaluatebody', - OrdinaryCreateFromConstructor: 'https://262.ecma-international.org/7.0/#sec-ordinarycreatefromconstructor', - OrdinaryDefineOwnProperty: 'https://262.ecma-international.org/7.0/#sec-ordinarydefineownproperty', - OrdinaryDelete: 'https://262.ecma-international.org/7.0/#sec-ordinarydelete', - OrdinaryGet: 'https://262.ecma-international.org/7.0/#sec-ordinaryget', - OrdinaryGetOwnProperty: 'https://262.ecma-international.org/7.0/#sec-ordinarygetownproperty', - OrdinaryGetPrototypeOf: 'https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof', - OrdinaryHasInstance: 'https://262.ecma-international.org/7.0/#sec-ordinaryhasinstance', - OrdinaryHasProperty: 'https://262.ecma-international.org/7.0/#sec-ordinaryhasproperty', - OrdinaryIsExtensible: 'https://262.ecma-international.org/7.0/#sec-ordinaryisextensible', - OrdinaryOwnPropertyKeys: 'https://262.ecma-international.org/7.0/#sec-ordinaryownpropertykeys', - OrdinaryPreventExtensions: 'https://262.ecma-international.org/7.0/#sec-ordinarypreventextensions', - OrdinarySet: 'https://262.ecma-international.org/7.0/#sec-ordinaryset', - OrdinarySetPrototypeOf: 'https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof', - ParseModule: 'https://262.ecma-international.org/7.0/#sec-parsemodule', - ParseScript: 'https://262.ecma-international.org/7.0/#sec-parse-script', - PerformEval: 'https://262.ecma-international.org/7.0/#sec-performeval', - PerformPromiseAll: 'https://262.ecma-international.org/7.0/#sec-performpromiseall', - PerformPromiseRace: 'https://262.ecma-international.org/7.0/#sec-performpromiserace', - PerformPromiseThen: 'https://262.ecma-international.org/7.0/#sec-performpromisethen', - PrepareForOrdinaryCall: 'https://262.ecma-international.org/7.0/#sec-prepareforordinarycall', - PrepareForTailCall: 'https://262.ecma-international.org/7.0/#sec-preparefortailcall', - PromiseReactionJob: 'https://262.ecma-international.org/7.0/#sec-promisereactionjob', - PromiseResolveThenableJob: 'https://262.ecma-international.org/7.0/#sec-promiseresolvethenablejob', - ProxyCreate: 'https://262.ecma-international.org/7.0/#sec-proxycreate', - PutValue: 'https://262.ecma-international.org/7.0/#sec-putvalue', - QuoteJSONString: 'https://262.ecma-international.org/7.0/#sec-quotejsonstring', - RegExpAlloc: 'https://262.ecma-international.org/7.0/#sec-regexpalloc', - RegExpBuiltinExec: 'https://262.ecma-international.org/7.0/#sec-regexpbuiltinexec', - RegExpCreate: 'https://262.ecma-international.org/7.0/#sec-regexpcreate', - RegExpExec: 'https://262.ecma-international.org/7.0/#sec-regexpexec', - RegExpInitialize: 'https://262.ecma-international.org/7.0/#sec-regexpinitialize', - RejectPromise: 'https://262.ecma-international.org/7.0/#sec-rejectpromise', - RepeatMatcher: 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-repeatmatcher-abstract-operation', - RequireObjectCoercible: 'https://262.ecma-international.org/7.0/#sec-requireobjectcoercible', - ResolveBinding: 'https://262.ecma-international.org/7.0/#sec-resolvebinding', - ResolveThisBinding: 'https://262.ecma-international.org/7.0/#sec-resolvethisbinding', - ReturnIfAbrupt: 'https://262.ecma-international.org/7.0/#sec-returnifabrupt', - SameValue: 'https://262.ecma-international.org/7.0/#sec-samevalue', - SameValueNonNumber: 'https://262.ecma-international.org/7.0/#sec-samevaluenonnumber', - SameValueZero: 'https://262.ecma-international.org/7.0/#sec-samevaluezero', - ScriptEvaluation: 'https://262.ecma-international.org/7.0/#sec-runtime-semantics-scriptevaluation', - ScriptEvaluationJob: 'https://262.ecma-international.org/7.0/#sec-scriptevaluationjob', - SecFromTime: 'https://262.ecma-international.org/7.0/#sec-hours-minutes-second-and-milliseconds', - SerializeJSONArray: 'https://262.ecma-international.org/7.0/#sec-serializejsonarray', - SerializeJSONObject: 'https://262.ecma-international.org/7.0/#sec-serializejsonobject', - SerializeJSONProperty: 'https://262.ecma-international.org/7.0/#sec-serializejsonproperty', - Set: 'https://262.ecma-international.org/7.0/#sec-set-o-p-v-throw', - SetDefaultGlobalBindings: 'https://262.ecma-international.org/7.0/#sec-setdefaultglobalbindings', - SetFunctionName: 'https://262.ecma-international.org/7.0/#sec-setfunctionname', - SetIntegrityLevel: 'https://262.ecma-international.org/7.0/#sec-setintegritylevel', - SetRealmGlobalObject: 'https://262.ecma-international.org/7.0/#sec-setrealmglobalobject', - SetValueInBuffer: 'https://262.ecma-international.org/7.0/#sec-setvalueinbuffer', - SetViewValue: 'https://262.ecma-international.org/7.0/#sec-setviewvalue', - SortCompare: 'https://262.ecma-international.org/7.0/#sec-sortcompare', - SpeciesConstructor: 'https://262.ecma-international.org/7.0/#sec-speciesconstructor', - SplitMatch: 'https://262.ecma-international.org/7.0/#sec-splitmatch', - 'Strict Equality Comparison': 'https://262.ecma-international.org/7.0/#sec-strict-equality-comparison', - StringCreate: 'https://262.ecma-international.org/7.0/#sec-stringcreate', - SymbolDescriptiveString: 'https://262.ecma-international.org/7.0/#sec-symboldescriptivestring', - TestIntegrityLevel: 'https://262.ecma-international.org/7.0/#sec-testintegritylevel', - thisBooleanValue: 'https://262.ecma-international.org/7.0/#sec-thisbooleanvalue', - thisNumberValue: 'https://262.ecma-international.org/7.0/#sec-properties-of-the-number-prototype-object', - thisStringValue: 'https://262.ecma-international.org/7.0/#sec-properties-of-the-string-prototype-object', - thisTimeValue: 'https://262.ecma-international.org/7.0/#sec-properties-of-the-date-prototype-object', - TimeClip: 'https://262.ecma-international.org/7.0/#sec-timeclip', - TimeFromYear: 'https://262.ecma-international.org/7.0/#sec-year-number', - TimeWithinDay: 'https://262.ecma-international.org/7.0/#sec-day-number-and-time-within-day', - ToBoolean: 'https://262.ecma-international.org/7.0/#sec-toboolean', - ToDateString: 'https://262.ecma-international.org/7.0/#sec-todatestring', - ToInt16: 'https://262.ecma-international.org/7.0/#sec-toint16', - ToInt32: 'https://262.ecma-international.org/7.0/#sec-toint32', - ToInt8: 'https://262.ecma-international.org/7.0/#sec-toint8', - ToInteger: 'https://262.ecma-international.org/7.0/#sec-tointeger', - ToLength: 'https://262.ecma-international.org/7.0/#sec-tolength', - ToNumber: 'https://262.ecma-international.org/7.0/#sec-tonumber', - ToObject: 'https://262.ecma-international.org/7.0/#sec-toobject', - TopLevelModuleEvaluationJob: 'https://262.ecma-international.org/7.0/#sec-toplevelmoduleevaluationjob', - ToPrimitive: 'https://262.ecma-international.org/7.0/#sec-toprimitive', - ToPropertyDescriptor: 'https://262.ecma-international.org/7.0/#sec-topropertydescriptor', - ToPropertyKey: 'https://262.ecma-international.org/7.0/#sec-topropertykey', - ToString: 'https://262.ecma-international.org/7.0/#sec-tostring', - 'ToString Applied to the Number Type': 'https://262.ecma-international.org/7.0/#sec-tostring-applied-to-the-number-type', - ToUint16: 'https://262.ecma-international.org/7.0/#sec-touint16', - ToUint32: 'https://262.ecma-international.org/7.0/#sec-touint32', - ToUint8: 'https://262.ecma-international.org/7.0/#sec-touint8', - ToUint8Clamp: 'https://262.ecma-international.org/7.0/#sec-touint8clamp', - TriggerPromiseReactions: 'https://262.ecma-international.org/7.0/#sec-triggerpromisereactions', - Type: 'https://262.ecma-international.org/7.0/#sec-ecmascript-data-types-and-values', - TypedArrayCreate: 'https://262.ecma-international.org/7.0/#typedarray-create', - TypedArraySpeciesCreate: 'https://262.ecma-international.org/7.0/#typedarray-species-create', - UpdateEmpty: 'https://262.ecma-international.org/7.0/#sec-updateempty', - UTC: 'https://262.ecma-international.org/7.0/#sec-utc-t', - UTF16Decode: 'https://262.ecma-international.org/7.0/#sec-utf16decode', - UTF16Encoding: 'https://262.ecma-international.org/7.0/#sec-utf16encoding', - ValidateAndApplyPropertyDescriptor: 'https://262.ecma-international.org/7.0/#sec-validateandapplypropertydescriptor', - ValidateTypedArray: 'https://262.ecma-international.org/7.0/#sec-validatetypedarray', - WeekDay: 'https://262.ecma-international.org/7.0/#sec-week-day', - YearFromTime: 'https://262.ecma-international.org/7.0/#sec-year-number' -}; diff --git a/node_modules/es-abstract/operations/2017.js b/node_modules/es-abstract/operations/2017.js deleted file mode 100644 index b3a313f5c..000000000 --- a/node_modules/es-abstract/operations/2017.js +++ /dev/null @@ -1,325 +0,0 @@ -'use strict'; - -module.exports = { - IsPropertyDescriptor: 'https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type', // not actually an abstract op - - abs: 'https://262.ecma-international.org/8.0/#eqn-abs', - 'Abstract Equality Comparison': 'https://262.ecma-international.org/8.0/#sec-abstract-equality-comparison', - 'Abstract Relational Comparison': 'https://262.ecma-international.org/8.0/#sec-abstract-relational-comparison', - AddRestrictedFunctionProperties: 'https://262.ecma-international.org/8.0/#sec-addrestrictedfunctionproperties', - AddWaiter: 'https://262.ecma-international.org/8.0/#sec-addwaiter', - AdvanceStringIndex: 'https://262.ecma-international.org/8.0/#sec-advancestringindex', - 'agent-order': 'https://262.ecma-international.org/8.0/#sec-agent-order', - AgentCanSuspend: 'https://262.ecma-international.org/8.0/#sec-agentcansuspend', - AgentSignifier: 'https://262.ecma-international.org/8.0/#sec-agentsignifier', - AllocateArrayBuffer: 'https://262.ecma-international.org/8.0/#sec-allocatearraybuffer', - AllocateSharedArrayBuffer: 'https://262.ecma-international.org/8.0/#sec-allocatesharedarraybuffer', - AllocateTypedArray: 'https://262.ecma-international.org/8.0/#sec-allocatetypedarray', - AllocateTypedArrayBuffer: 'https://262.ecma-international.org/8.0/#sec-allocatetypedarraybuffer', - ArrayCreate: 'https://262.ecma-international.org/8.0/#sec-arraycreate', - ArraySetLength: 'https://262.ecma-international.org/8.0/#sec-arraysetlength', - ArraySpeciesCreate: 'https://262.ecma-international.org/8.0/#sec-arrayspeciescreate', - AsyncFunctionAwait: 'https://262.ecma-international.org/8.0/#sec-async-functions-abstract-operations-async-function-await', - AsyncFunctionCreate: 'https://262.ecma-international.org/8.0/#sec-async-functions-abstract-operations-async-function-create', - AsyncFunctionStart: 'https://262.ecma-international.org/8.0/#sec-async-functions-abstract-operations-async-function-start', - AtomicLoad: 'https://262.ecma-international.org/8.0/#sec-atomicload', - AtomicReadModifyWrite: 'https://262.ecma-international.org/8.0/#sec-atomicreadmodifywrite', - BlockDeclarationInstantiation: 'https://262.ecma-international.org/8.0/#sec-blockdeclarationinstantiation', - BoundFunctionCreate: 'https://262.ecma-international.org/8.0/#sec-boundfunctioncreate', - Call: 'https://262.ecma-international.org/8.0/#sec-call', - Canonicalize: 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-canonicalize-ch', - CanonicalNumericIndexString: 'https://262.ecma-international.org/8.0/#sec-canonicalnumericindexstring', - CharacterRange: 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-characterrange-abstract-operation', - CharacterRangeOrUnion: 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-characterrangeorunion-abstract-operation', - CharacterSetMatcher: 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-charactersetmatcher-abstract-operation', - CloneArrayBuffer: 'https://262.ecma-international.org/8.0/#sec-clonearraybuffer', - CompletePropertyDescriptor: 'https://262.ecma-international.org/8.0/#sec-completepropertydescriptor', - Completion: 'https://262.ecma-international.org/8.0/#sec-completion-record-specification-type', - ComposeWriteEventBytes: 'https://262.ecma-international.org/8.0/#sec-composewriteeventbytes', - Construct: 'https://262.ecma-international.org/8.0/#sec-construct', - CopyDataBlockBytes: 'https://262.ecma-international.org/8.0/#sec-copydatablockbytes', - CreateArrayFromList: 'https://262.ecma-international.org/8.0/#sec-createarrayfromlist', - CreateArrayIterator: 'https://262.ecma-international.org/8.0/#sec-createarrayiterator', - CreateBuiltinFunction: 'https://262.ecma-international.org/8.0/#sec-createbuiltinfunction', - CreateByteDataBlock: 'https://262.ecma-international.org/8.0/#sec-createbytedatablock', - CreateDataProperty: 'https://262.ecma-international.org/8.0/#sec-createdataproperty', - CreateDataPropertyOrThrow: 'https://262.ecma-international.org/8.0/#sec-createdatapropertyorthrow', - CreateDynamicFunction: 'https://262.ecma-international.org/8.0/#sec-createdynamicfunction', - CreateHTML: 'https://262.ecma-international.org/8.0/#sec-createhtml', - CreateIntrinsics: 'https://262.ecma-international.org/8.0/#sec-createintrinsics', - CreateIterResultObject: 'https://262.ecma-international.org/8.0/#sec-createiterresultobject', - CreateListFromArrayLike: 'https://262.ecma-international.org/8.0/#sec-createlistfromarraylike', - CreateListIterator: 'https://262.ecma-international.org/8.0/#sec-createlistiterator', - CreateMapIterator: 'https://262.ecma-international.org/8.0/#sec-createmapiterator', - CreateMappedArgumentsObject: 'https://262.ecma-international.org/8.0/#sec-createmappedargumentsobject', - CreateMethodProperty: 'https://262.ecma-international.org/8.0/#sec-createmethodproperty', - CreatePerIterationEnvironment: 'https://262.ecma-international.org/8.0/#sec-createperiterationenvironment', - CreateRealm: 'https://262.ecma-international.org/8.0/#sec-createrealm', - CreateResolvingFunctions: 'https://262.ecma-international.org/8.0/#sec-createresolvingfunctions', - CreateSetIterator: 'https://262.ecma-international.org/8.0/#sec-createsetiterator', - CreateSharedByteDataBlock: 'https://262.ecma-international.org/8.0/#sec-createsharedbytedatablock', - CreateStringIterator: 'https://262.ecma-international.org/8.0/#sec-createstringiterator', - CreateUnmappedArgumentsObject: 'https://262.ecma-international.org/8.0/#sec-createunmappedargumentsobject', - DateFromTime: 'https://262.ecma-international.org/8.0/#sec-date-number', - Day: 'https://262.ecma-international.org/8.0/#eqn-Day', - DayFromYear: 'https://262.ecma-international.org/8.0/#eqn-DaysFromYear', - DaylightSavingTA: 'https://262.ecma-international.org/8.0/#sec-daylight-saving-time-adjustment', - DaysInYear: 'https://262.ecma-international.org/8.0/#eqn-DaysInYear', - DayWithinYear: 'https://262.ecma-international.org/8.0/#eqn-DayWithinYear', - Decode: 'https://262.ecma-international.org/8.0/#sec-decode', - DefinePropertyOrThrow: 'https://262.ecma-international.org/8.0/#sec-definepropertyorthrow', - DeletePropertyOrThrow: 'https://262.ecma-international.org/8.0/#sec-deletepropertyorthrow', - DetachArrayBuffer: 'https://262.ecma-international.org/8.0/#sec-detacharraybuffer', - Encode: 'https://262.ecma-international.org/8.0/#sec-encode', - EnqueueJob: 'https://262.ecma-international.org/8.0/#sec-enqueuejob', - EnterCriticalSection: 'https://262.ecma-international.org/8.0/#sec-entercriticalsection', - EnumerableOwnProperties: 'https://262.ecma-international.org/8.0/#sec-enumerableownproperties', - EnumerateObjectProperties: 'https://262.ecma-international.org/8.0/#sec-enumerate-object-properties', - EscapeRegExpPattern: 'https://262.ecma-international.org/8.0/#sec-escaperegexppattern', - EvalDeclarationInstantiation: 'https://262.ecma-international.org/8.0/#sec-evaldeclarationinstantiation', - EvaluateCall: 'https://262.ecma-international.org/8.0/#sec-evaluatecall', - EvaluateDirectCall: 'https://262.ecma-international.org/8.0/#sec-evaluatedirectcall', - EvaluateNew: 'https://262.ecma-international.org/8.0/#sec-evaluatenew', - EventSet: 'https://262.ecma-international.org/8.0/#sec-event-set', - floor: 'https://262.ecma-international.org/8.0/#eqn-floor', - ForBodyEvaluation: 'https://262.ecma-international.org/8.0/#sec-forbodyevaluation', - 'ForIn/OfBodyEvaluation': 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-forin-div-ofbodyevaluation-lhs-stmt-iterator-lhskind-labelset', - 'ForIn/OfHeadEvaluation': 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-forin-div-ofheadevaluation-tdznames-expr-iterationkind', - FromPropertyDescriptor: 'https://262.ecma-international.org/8.0/#sec-frompropertydescriptor', - FulfillPromise: 'https://262.ecma-international.org/8.0/#sec-fulfillpromise', - FunctionAllocate: 'https://262.ecma-international.org/8.0/#sec-functionallocate', - FunctionCreate: 'https://262.ecma-international.org/8.0/#sec-functioncreate', - FunctionDeclarationInstantiation: 'https://262.ecma-international.org/8.0/#sec-functiondeclarationinstantiation', - FunctionInitialize: 'https://262.ecma-international.org/8.0/#sec-functioninitialize', - GeneratorFunctionCreate: 'https://262.ecma-international.org/8.0/#sec-generatorfunctioncreate', - GeneratorResume: 'https://262.ecma-international.org/8.0/#sec-generatorresume', - GeneratorResumeAbrupt: 'https://262.ecma-international.org/8.0/#sec-generatorresumeabrupt', - GeneratorStart: 'https://262.ecma-international.org/8.0/#sec-generatorstart', - GeneratorValidate: 'https://262.ecma-international.org/8.0/#sec-generatorvalidate', - GeneratorYield: 'https://262.ecma-international.org/8.0/#sec-generatoryield', - Get: 'https://262.ecma-international.org/8.0/#sec-get-o-p', - GetActiveScriptOrModule: 'https://262.ecma-international.org/8.0/#sec-getactivescriptormodule', - GetBase: 'https://262.ecma-international.org/8.0/#ao-getbase', - GetFunctionRealm: 'https://262.ecma-international.org/8.0/#sec-getfunctionrealm', - GetGlobalObject: 'https://262.ecma-international.org/8.0/#sec-getglobalobject', - GetIdentifierReference: 'https://262.ecma-international.org/8.0/#sec-getidentifierreference', - GetIterator: 'https://262.ecma-international.org/8.0/#sec-getiterator', - GetMethod: 'https://262.ecma-international.org/8.0/#sec-getmethod', - GetModifySetValueInBuffer: 'https://262.ecma-international.org/8.0/#sec-getmodifysetvalueinbuffer', - GetModuleNamespace: 'https://262.ecma-international.org/8.0/#sec-getmodulenamespace', - GetNewTarget: 'https://262.ecma-international.org/8.0/#sec-getnewtarget', - GetOwnPropertyKeys: 'https://262.ecma-international.org/8.0/#sec-getownpropertykeys', - GetPrototypeFromConstructor: 'https://262.ecma-international.org/8.0/#sec-getprototypefromconstructor', - GetReferencedName: 'https://262.ecma-international.org/8.0/#ao-getreferencedname', - GetSubstitution: 'https://262.ecma-international.org/8.0/#sec-getsubstitution', - GetSuperConstructor: 'https://262.ecma-international.org/8.0/#sec-getsuperconstructor', - GetTemplateObject: 'https://262.ecma-international.org/8.0/#sec-gettemplateobject', - GetThisEnvironment: 'https://262.ecma-international.org/8.0/#sec-getthisenvironment', - GetThisValue: 'https://262.ecma-international.org/8.0/#sec-getthisvalue', - GetV: 'https://262.ecma-international.org/8.0/#sec-getv', - GetValue: 'https://262.ecma-international.org/8.0/#sec-getvalue', - GetValueFromBuffer: 'https://262.ecma-international.org/8.0/#sec-getvaluefrombuffer', - GetViewValue: 'https://262.ecma-international.org/8.0/#sec-getviewvalue', - GetWaiterList: 'https://262.ecma-international.org/8.0/#sec-getwaiterlist', - GlobalDeclarationInstantiation: 'https://262.ecma-international.org/8.0/#sec-globaldeclarationinstantiation', - 'happens-before': 'https://262.ecma-international.org/8.0/#sec-happens-before', - HasOwnProperty: 'https://262.ecma-international.org/8.0/#sec-hasownproperty', - HasPrimitiveBase: 'https://262.ecma-international.org/8.0/#ao-hasprimitivebase', - HasProperty: 'https://262.ecma-international.org/8.0/#sec-hasproperty', - 'host-synchronizes-with': 'https://262.ecma-international.org/8.0/#sec-host-synchronizes-with', - HostEnsureCanCompileStrings: 'https://262.ecma-international.org/8.0/#sec-hostensurecancompilestrings', - HostEventSet: 'https://262.ecma-international.org/8.0/#sec-hosteventset', - HostPromiseRejectionTracker: 'https://262.ecma-international.org/8.0/#sec-host-promise-rejection-tracker', - HostReportErrors: 'https://262.ecma-international.org/8.0/#sec-host-report-errors', - HostResolveImportedModule: 'https://262.ecma-international.org/8.0/#sec-hostresolveimportedmodule', - HourFromTime: 'https://262.ecma-international.org/8.0/#eqn-HourFromTime', - IfAbruptRejectPromise: 'https://262.ecma-international.org/8.0/#sec-ifabruptrejectpromise', - ImportedLocalNames: 'https://262.ecma-international.org/8.0/#sec-importedlocalnames', - InitializeBoundName: 'https://262.ecma-international.org/8.0/#sec-initializeboundname', - InitializeHostDefinedRealm: 'https://262.ecma-international.org/8.0/#sec-initializehostdefinedrealm', - InitializeReferencedBinding: 'https://262.ecma-international.org/8.0/#sec-initializereferencedbinding', - InLeapYear: 'https://262.ecma-international.org/8.0/#eqn-InLeapYear', - InstanceofOperator: 'https://262.ecma-international.org/8.0/#sec-instanceofoperator', - IntegerIndexedElementGet: 'https://262.ecma-international.org/8.0/#sec-integerindexedelementget', - IntegerIndexedElementSet: 'https://262.ecma-international.org/8.0/#sec-integerindexedelementset', - IntegerIndexedObjectCreate: 'https://262.ecma-international.org/8.0/#sec-integerindexedobjectcreate', - InternalizeJSONProperty: 'https://262.ecma-international.org/8.0/#sec-internalizejsonproperty', - Invoke: 'https://262.ecma-international.org/8.0/#sec-invoke', - IsAccessorDescriptor: 'https://262.ecma-international.org/8.0/#sec-isaccessordescriptor', - IsAnonymousFunctionDefinition: 'https://262.ecma-international.org/8.0/#sec-isanonymousfunctiondefinition', - IsArray: 'https://262.ecma-international.org/8.0/#sec-isarray', - IsCallable: 'https://262.ecma-international.org/8.0/#sec-iscallable', - IsCompatiblePropertyDescriptor: 'https://262.ecma-international.org/8.0/#sec-iscompatiblepropertydescriptor', - IsConcatSpreadable: 'https://262.ecma-international.org/8.0/#sec-isconcatspreadable', - IsConstructor: 'https://262.ecma-international.org/8.0/#sec-isconstructor', - IsDataDescriptor: 'https://262.ecma-international.org/8.0/#sec-isdatadescriptor', - IsDetachedBuffer: 'https://262.ecma-international.org/8.0/#sec-isdetachedbuffer', - IsExtensible: 'https://262.ecma-international.org/8.0/#sec-isextensible-o', - IsGenericDescriptor: 'https://262.ecma-international.org/8.0/#sec-isgenericdescriptor', - IsInTailPosition: 'https://262.ecma-international.org/8.0/#sec-isintailposition', - IsInteger: 'https://262.ecma-international.org/8.0/#sec-isinteger', - IsLabelledFunction: 'https://262.ecma-international.org/8.0/#sec-islabelledfunction', - IsPromise: 'https://262.ecma-international.org/8.0/#sec-ispromise', - IsPropertyKey: 'https://262.ecma-international.org/8.0/#sec-ispropertykey', - IsPropertyReference: 'https://262.ecma-international.org/8.0/#ao-ispropertyreference', - IsRegExp: 'https://262.ecma-international.org/8.0/#sec-isregexp', - IsSharedArrayBuffer: 'https://262.ecma-international.org/8.0/#sec-issharedarraybuffer', - IsStrictReference: 'https://262.ecma-international.org/8.0/#ao-isstrictreference', - IsSuperReference: 'https://262.ecma-international.org/8.0/#ao-issuperreference', - IsUnresolvableReference: 'https://262.ecma-international.org/8.0/#ao-isunresolvablereference', - IsWordChar: 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-iswordchar-abstract-operation', - IterableToList: 'https://262.ecma-international.org/8.0/#sec-iterabletolist', - IteratorClose: 'https://262.ecma-international.org/8.0/#sec-iteratorclose', - IteratorComplete: 'https://262.ecma-international.org/8.0/#sec-iteratorcomplete', - IteratorNext: 'https://262.ecma-international.org/8.0/#sec-iteratornext', - IteratorStep: 'https://262.ecma-international.org/8.0/#sec-iteratorstep', - IteratorValue: 'https://262.ecma-international.org/8.0/#sec-iteratorvalue', - LeaveCriticalSection: 'https://262.ecma-international.org/8.0/#sec-leavecriticalsection', - LocalTime: 'https://262.ecma-international.org/8.0/#sec-localtime', - LoopContinues: 'https://262.ecma-international.org/8.0/#sec-loopcontinues', - MakeArgGetter: 'https://262.ecma-international.org/8.0/#sec-makearggetter', - MakeArgSetter: 'https://262.ecma-international.org/8.0/#sec-makeargsetter', - MakeClassConstructor: 'https://262.ecma-international.org/8.0/#sec-makeclassconstructor', - MakeConstructor: 'https://262.ecma-international.org/8.0/#sec-makeconstructor', - MakeDate: 'https://262.ecma-international.org/8.0/#sec-makedate', - MakeDay: 'https://262.ecma-international.org/8.0/#sec-makeday', - MakeMethod: 'https://262.ecma-international.org/8.0/#sec-makemethod', - MakeSuperPropertyReference: 'https://262.ecma-international.org/8.0/#sec-makesuperpropertyreference', - MakeTime: 'https://262.ecma-international.org/8.0/#sec-maketime', - max: 'https://262.ecma-international.org/8.0/#eqn-max', - 'memory-order': 'https://262.ecma-international.org/8.0/#sec-memory-order', - min: 'https://262.ecma-international.org/8.0/#eqn-min', - MinFromTime: 'https://262.ecma-international.org/8.0/#eqn-MinFromTime', - ModuleNamespaceCreate: 'https://262.ecma-international.org/8.0/#sec-modulenamespacecreate', - modulo: 'https://262.ecma-international.org/8.0/#eqn-modulo', - MonthFromTime: 'https://262.ecma-international.org/8.0/#eqn-MonthFromTime', - msFromTime: 'https://262.ecma-international.org/8.0/#eqn-msFromTime', - NewDeclarativeEnvironment: 'https://262.ecma-international.org/8.0/#sec-newdeclarativeenvironment', - NewFunctionEnvironment: 'https://262.ecma-international.org/8.0/#sec-newfunctionenvironment', - NewGlobalEnvironment: 'https://262.ecma-international.org/8.0/#sec-newglobalenvironment', - NewModuleEnvironment: 'https://262.ecma-international.org/8.0/#sec-newmoduleenvironment', - NewObjectEnvironment: 'https://262.ecma-international.org/8.0/#sec-newobjectenvironment', - NewPromiseCapability: 'https://262.ecma-international.org/8.0/#sec-newpromisecapability', - NormalCompletion: 'https://262.ecma-international.org/8.0/#sec-normalcompletion', - NumberToRawBytes: 'https://262.ecma-international.org/8.0/#sec-numbertorawbytes', - ObjectCreate: 'https://262.ecma-international.org/8.0/#sec-objectcreate', - ObjectDefineProperties: 'https://262.ecma-international.org/8.0/#sec-objectdefineproperties', - OrdinaryCallBindThis: 'https://262.ecma-international.org/8.0/#sec-ordinarycallbindthis', - OrdinaryCallEvaluateBody: 'https://262.ecma-international.org/8.0/#sec-ordinarycallevaluatebody', - OrdinaryCreateFromConstructor: 'https://262.ecma-international.org/8.0/#sec-ordinarycreatefromconstructor', - OrdinaryDefineOwnProperty: 'https://262.ecma-international.org/8.0/#sec-ordinarydefineownproperty', - OrdinaryDelete: 'https://262.ecma-international.org/8.0/#sec-ordinarydelete', - OrdinaryGet: 'https://262.ecma-international.org/8.0/#sec-ordinaryget', - OrdinaryGetOwnProperty: 'https://262.ecma-international.org/8.0/#sec-ordinarygetownproperty', - OrdinaryGetPrototypeOf: 'https://262.ecma-international.org/8.0/#sec-ordinarygetprototypeof', - OrdinaryHasInstance: 'https://262.ecma-international.org/8.0/#sec-ordinaryhasinstance', - OrdinaryHasProperty: 'https://262.ecma-international.org/8.0/#sec-ordinaryhasproperty', - OrdinaryIsExtensible: 'https://262.ecma-international.org/8.0/#sec-ordinaryisextensible', - OrdinaryOwnPropertyKeys: 'https://262.ecma-international.org/8.0/#sec-ordinaryownpropertykeys', - OrdinaryPreventExtensions: 'https://262.ecma-international.org/8.0/#sec-ordinarypreventextensions', - OrdinarySet: 'https://262.ecma-international.org/8.0/#sec-ordinaryset', - OrdinarySetPrototypeOf: 'https://262.ecma-international.org/8.0/#sec-ordinarysetprototypeof', - OrdinaryToPrimitive: 'https://262.ecma-international.org/8.0/#sec-ordinarytoprimitive', - ParseModule: 'https://262.ecma-international.org/8.0/#sec-parsemodule', - ParseScript: 'https://262.ecma-international.org/8.0/#sec-parse-script', - PerformEval: 'https://262.ecma-international.org/8.0/#sec-performeval', - PerformPromiseAll: 'https://262.ecma-international.org/8.0/#sec-performpromiseall', - PerformPromiseRace: 'https://262.ecma-international.org/8.0/#sec-performpromiserace', - PerformPromiseThen: 'https://262.ecma-international.org/8.0/#sec-performpromisethen', - PrepareForOrdinaryCall: 'https://262.ecma-international.org/8.0/#sec-prepareforordinarycall', - PrepareForTailCall: 'https://262.ecma-international.org/8.0/#sec-preparefortailcall', - PromiseReactionJob: 'https://262.ecma-international.org/8.0/#sec-promisereactionjob', - PromiseResolveThenableJob: 'https://262.ecma-international.org/8.0/#sec-promiseresolvethenablejob', - ProxyCreate: 'https://262.ecma-international.org/8.0/#sec-proxycreate', - PutValue: 'https://262.ecma-international.org/8.0/#sec-putvalue', - QuoteJSONString: 'https://262.ecma-international.org/8.0/#sec-quotejsonstring', - RawBytesToNumber: 'https://262.ecma-international.org/8.0/#sec-rawbytestonumber', - 'reads-bytes-from': 'https://262.ecma-international.org/8.0/#sec-reads-bytes-from', - 'reads-from': 'https://262.ecma-international.org/8.0/#sec-reads-from', - RegExpAlloc: 'https://262.ecma-international.org/8.0/#sec-regexpalloc', - RegExpBuiltinExec: 'https://262.ecma-international.org/8.0/#sec-regexpbuiltinexec', - RegExpCreate: 'https://262.ecma-international.org/8.0/#sec-regexpcreate', - RegExpExec: 'https://262.ecma-international.org/8.0/#sec-regexpexec', - RegExpInitialize: 'https://262.ecma-international.org/8.0/#sec-regexpinitialize', - RejectPromise: 'https://262.ecma-international.org/8.0/#sec-rejectpromise', - RemoveWaiter: 'https://262.ecma-international.org/8.0/#sec-removewaiter', - RemoveWaiters: 'https://262.ecma-international.org/8.0/#sec-removewaiters', - RepeatMatcher: 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-repeatmatcher-abstract-operation', - RequireObjectCoercible: 'https://262.ecma-international.org/8.0/#sec-requireobjectcoercible', - ResolveBinding: 'https://262.ecma-international.org/8.0/#sec-resolvebinding', - ResolveThisBinding: 'https://262.ecma-international.org/8.0/#sec-resolvethisbinding', - ReturnIfAbrupt: 'https://262.ecma-international.org/8.0/#sec-returnifabrupt', - RunJobs: 'https://262.ecma-international.org/8.0/#sec-runjobs', - SameValue: 'https://262.ecma-international.org/8.0/#sec-samevalue', - SameValueNonNumber: 'https://262.ecma-international.org/8.0/#sec-samevaluenonnumber', - SameValueZero: 'https://262.ecma-international.org/8.0/#sec-samevaluezero', - ScriptEvaluation: 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-scriptevaluation', - ScriptEvaluationJob: 'https://262.ecma-international.org/8.0/#sec-scriptevaluationjob', - SecFromTime: 'https://262.ecma-international.org/8.0/#eqn-SecFromTime', - SerializeJSONArray: 'https://262.ecma-international.org/8.0/#sec-serializejsonarray', - SerializeJSONObject: 'https://262.ecma-international.org/8.0/#sec-serializejsonobject', - SerializeJSONProperty: 'https://262.ecma-international.org/8.0/#sec-serializejsonproperty', - Set: 'https://262.ecma-international.org/8.0/#sec-set-o-p-v-throw', - SetDefaultGlobalBindings: 'https://262.ecma-international.org/8.0/#sec-setdefaultglobalbindings', - SetFunctionName: 'https://262.ecma-international.org/8.0/#sec-setfunctionname', - SetImmutablePrototype: 'https://262.ecma-international.org/8.0/#sec-set-immutable-prototype', - SetIntegrityLevel: 'https://262.ecma-international.org/8.0/#sec-setintegritylevel', - SetRealmGlobalObject: 'https://262.ecma-international.org/8.0/#sec-setrealmglobalobject', - SetValueInBuffer: 'https://262.ecma-international.org/8.0/#sec-setvalueinbuffer', - SetViewValue: 'https://262.ecma-international.org/8.0/#sec-setviewvalue', - SharedDataBlockEventSet: 'https://262.ecma-international.org/8.0/#sec-sharedatablockeventset', - SortCompare: 'https://262.ecma-international.org/8.0/#sec-sortcompare', - SpeciesConstructor: 'https://262.ecma-international.org/8.0/#sec-speciesconstructor', - SplitMatch: 'https://262.ecma-international.org/8.0/#sec-splitmatch', - 'Strict Equality Comparison': 'https://262.ecma-international.org/8.0/#sec-strict-equality-comparison', - StringCreate: 'https://262.ecma-international.org/8.0/#sec-stringcreate', - StringGetOwnProperty: 'https://262.ecma-international.org/8.0/#sec-stringgetownproperty', - Suspend: 'https://262.ecma-international.org/8.0/#sec-suspend', - SymbolDescriptiveString: 'https://262.ecma-international.org/8.0/#sec-symboldescriptivestring', - 'synchronizes-with': 'https://262.ecma-international.org/8.0/#sec-synchronizes-with', - TestIntegrityLevel: 'https://262.ecma-international.org/8.0/#sec-testintegritylevel', - thisBooleanValue: 'https://262.ecma-international.org/8.0/#sec-thisbooleanvalue', - thisNumberValue: 'https://262.ecma-international.org/8.0/#sec-thisnumbervalue', - thisStringValue: 'https://262.ecma-international.org/8.0/#sec-thisstringvalue', - thisTimeValue: 'https://262.ecma-international.org/8.0/#sec-thistimevalue', - TimeClip: 'https://262.ecma-international.org/8.0/#sec-timeclip', - TimeFromYear: 'https://262.ecma-international.org/8.0/#eqn-TimeFromYear', - TimeWithinDay: 'https://262.ecma-international.org/8.0/#eqn-TimeWithinDay', - ToBoolean: 'https://262.ecma-international.org/8.0/#sec-toboolean', - ToDateString: 'https://262.ecma-international.org/8.0/#sec-todatestring', - ToIndex: 'https://262.ecma-international.org/8.0/#sec-toindex', - ToInt16: 'https://262.ecma-international.org/8.0/#sec-toint16', - ToInt32: 'https://262.ecma-international.org/8.0/#sec-toint32', - ToInt8: 'https://262.ecma-international.org/8.0/#sec-toint8', - ToInteger: 'https://262.ecma-international.org/8.0/#sec-tointeger', - ToLength: 'https://262.ecma-international.org/8.0/#sec-tolength', - ToNumber: 'https://262.ecma-international.org/8.0/#sec-tonumber', - ToObject: 'https://262.ecma-international.org/8.0/#sec-toobject', - TopLevelModuleEvaluationJob: 'https://262.ecma-international.org/8.0/#sec-toplevelmoduleevaluationjob', - ToPrimitive: 'https://262.ecma-international.org/8.0/#sec-toprimitive', - ToPropertyDescriptor: 'https://262.ecma-international.org/8.0/#sec-topropertydescriptor', - ToPropertyKey: 'https://262.ecma-international.org/8.0/#sec-topropertykey', - ToString: 'https://262.ecma-international.org/8.0/#sec-tostring', - 'ToString Applied to the Number Type': 'https://262.ecma-international.org/8.0/#sec-tostring-applied-to-the-number-type', - ToUint16: 'https://262.ecma-international.org/8.0/#sec-touint16', - ToUint32: 'https://262.ecma-international.org/8.0/#sec-touint32', - ToUint8: 'https://262.ecma-international.org/8.0/#sec-touint8', - ToUint8Clamp: 'https://262.ecma-international.org/8.0/#sec-touint8clamp', - TriggerPromiseReactions: 'https://262.ecma-international.org/8.0/#sec-triggerpromisereactions', - Type: 'https://262.ecma-international.org/8.0/#sec-ecmascript-data-types-and-values', - TypedArrayCreate: 'https://262.ecma-international.org/8.0/#typedarray-create', - TypedArraySpeciesCreate: 'https://262.ecma-international.org/8.0/#typedarray-species-create', - UpdateEmpty: 'https://262.ecma-international.org/8.0/#sec-updateempty', - UTC: 'https://262.ecma-international.org/8.0/#sec-utc-t', - UTF16Decode: 'https://262.ecma-international.org/8.0/#sec-utf16decode', - UTF16Encoding: 'https://262.ecma-international.org/8.0/#sec-utf16encoding', - ValidateAndApplyPropertyDescriptor: 'https://262.ecma-international.org/8.0/#sec-validateandapplypropertydescriptor', - ValidateAtomicAccess: 'https://262.ecma-international.org/8.0/#sec-validateatomicaccess', - ValidateSharedIntegerTypedArray: 'https://262.ecma-international.org/8.0/#sec-validatesharedintegertypedarray', - ValidateTypedArray: 'https://262.ecma-international.org/8.0/#sec-validatetypedarray', - ValueOfReadEvent: 'https://262.ecma-international.org/8.0/#sec-valueofreadevent', - WakeWaiter: 'https://262.ecma-international.org/8.0/#sec-wakewaiter', - WeekDay: 'https://262.ecma-international.org/8.0/#sec-week-day', - WordCharacters: 'https://262.ecma-international.org/8.0/#sec-runtime-semantics-wordcharacters-abstract-operation', - YearFromTime: 'https://262.ecma-international.org/8.0/#eqn-YearFromTime' -}; diff --git a/node_modules/es-abstract/operations/2018.js b/node_modules/es-abstract/operations/2018.js deleted file mode 100644 index 10d10f212..000000000 --- a/node_modules/es-abstract/operations/2018.js +++ /dev/null @@ -1,350 +0,0 @@ -'use strict'; - -module.exports = { - abs: 'https://262.ecma-international.org/9.0/#eqn-abs', - 'Abstract Equality Comparison': 'https://262.ecma-international.org/9.0/#sec-abstract-equality-comparison', - 'Abstract Relational Comparison': 'https://262.ecma-international.org/9.0/#sec-abstract-relational-comparison', - AddRestrictedFunctionProperties: 'https://262.ecma-international.org/9.0/#sec-addrestrictedfunctionproperties', - AddWaiter: 'https://262.ecma-international.org/9.0/#sec-addwaiter', - AdvanceStringIndex: 'https://262.ecma-international.org/9.0/#sec-advancestringindex', - 'agent-order': 'https://262.ecma-international.org/9.0/#sec-agent-order', - AgentCanSuspend: 'https://262.ecma-international.org/9.0/#sec-agentcansuspend', - AgentSignifier: 'https://262.ecma-international.org/9.0/#sec-agentsignifier', - AllocateArrayBuffer: 'https://262.ecma-international.org/9.0/#sec-allocatearraybuffer', - AllocateSharedArrayBuffer: 'https://262.ecma-international.org/9.0/#sec-allocatesharedarraybuffer', - AllocateTypedArray: 'https://262.ecma-international.org/9.0/#sec-allocatetypedarray', - AllocateTypedArrayBuffer: 'https://262.ecma-international.org/9.0/#sec-allocatetypedarraybuffer', - ArrayCreate: 'https://262.ecma-international.org/9.0/#sec-arraycreate', - ArraySetLength: 'https://262.ecma-international.org/9.0/#sec-arraysetlength', - ArraySpeciesCreate: 'https://262.ecma-international.org/9.0/#sec-arrayspeciescreate', - AsyncFunctionCreate: 'https://262.ecma-international.org/9.0/#sec-async-functions-abstract-operations-async-function-create', - AsyncFunctionStart: 'https://262.ecma-international.org/9.0/#sec-async-functions-abstract-operations-async-function-start', - AsyncGeneratorEnqueue: 'https://262.ecma-international.org/9.0/#sec-asyncgeneratorenqueue', - AsyncGeneratorFunctionCreate: 'https://262.ecma-international.org/9.0/#sec-asyncgeneratorfunctioncreate', - AsyncGeneratorReject: 'https://262.ecma-international.org/9.0/#sec-asyncgeneratorreject', - AsyncGeneratorResolve: 'https://262.ecma-international.org/9.0/#sec-asyncgeneratorresolve', - AsyncGeneratorResumeNext: 'https://262.ecma-international.org/9.0/#sec-asyncgeneratorresumenext', - AsyncGeneratorStart: 'https://262.ecma-international.org/9.0/#sec-asyncgeneratorstart', - AsyncGeneratorYield: 'https://262.ecma-international.org/9.0/#sec-asyncgeneratoryield', - AsyncIteratorClose: 'https://262.ecma-international.org/9.0/#sec-asynciteratorclose', - AtomicLoad: 'https://262.ecma-international.org/9.0/#sec-atomicload', - AtomicReadModifyWrite: 'https://262.ecma-international.org/9.0/#sec-atomicreadmodifywrite', - Await: 'https://262.ecma-international.org/9.0/#await', - BackreferenceMatcher: 'https://262.ecma-international.org/9.0/#sec-backreference-matcher', - BlockDeclarationInstantiation: 'https://262.ecma-international.org/9.0/#sec-blockdeclarationinstantiation', - BoundFunctionCreate: 'https://262.ecma-international.org/9.0/#sec-boundfunctioncreate', - Call: 'https://262.ecma-international.org/9.0/#sec-call', - Canonicalize: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-canonicalize-ch', - CanonicalNumericIndexString: 'https://262.ecma-international.org/9.0/#sec-canonicalnumericindexstring', - CaseClauseIsSelected: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-caseclauseisselected', - CharacterRange: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-characterrange-abstract-operation', - CharacterRangeOrUnion: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-characterrangeorunion-abstract-operation', - CharacterSetMatcher: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-charactersetmatcher-abstract-operation', - CloneArrayBuffer: 'https://262.ecma-international.org/9.0/#sec-clonearraybuffer', - CompletePropertyDescriptor: 'https://262.ecma-international.org/9.0/#sec-completepropertydescriptor', - Completion: 'https://262.ecma-international.org/9.0/#sec-completion-record-specification-type', - ComposeWriteEventBytes: 'https://262.ecma-international.org/9.0/#sec-composewriteeventbytes', - Construct: 'https://262.ecma-international.org/9.0/#sec-construct', - CopyDataBlockBytes: 'https://262.ecma-international.org/9.0/#sec-copydatablockbytes', - CopyDataProperties: 'https://262.ecma-international.org/9.0/#sec-copydataproperties', - CreateArrayFromList: 'https://262.ecma-international.org/9.0/#sec-createarrayfromlist', - CreateArrayIterator: 'https://262.ecma-international.org/9.0/#sec-createarrayiterator', - CreateAsyncFromSyncIterator: 'https://262.ecma-international.org/9.0/#sec-createasyncfromsynciterator', - CreateBuiltinFunction: 'https://262.ecma-international.org/9.0/#sec-createbuiltinfunction', - CreateByteDataBlock: 'https://262.ecma-international.org/9.0/#sec-createbytedatablock', - CreateDataProperty: 'https://262.ecma-international.org/9.0/#sec-createdataproperty', - CreateDataPropertyOrThrow: 'https://262.ecma-international.org/9.0/#sec-createdatapropertyorthrow', - CreateDynamicFunction: 'https://262.ecma-international.org/9.0/#sec-createdynamicfunction', - CreateHTML: 'https://262.ecma-international.org/9.0/#sec-createhtml', - CreateIntrinsics: 'https://262.ecma-international.org/9.0/#sec-createintrinsics', - CreateIterResultObject: 'https://262.ecma-international.org/9.0/#sec-createiterresultobject', - CreateListFromArrayLike: 'https://262.ecma-international.org/9.0/#sec-createlistfromarraylike', - CreateListIteratorRecord: 'https://262.ecma-international.org/9.0/#sec-createlistiteratorRecord', - CreateMapIterator: 'https://262.ecma-international.org/9.0/#sec-createmapiterator', - CreateMappedArgumentsObject: 'https://262.ecma-international.org/9.0/#sec-createmappedargumentsobject', - CreateMethodProperty: 'https://262.ecma-international.org/9.0/#sec-createmethodproperty', - CreatePerIterationEnvironment: 'https://262.ecma-international.org/9.0/#sec-createperiterationenvironment', - CreateRealm: 'https://262.ecma-international.org/9.0/#sec-createrealm', - CreateResolvingFunctions: 'https://262.ecma-international.org/9.0/#sec-createresolvingfunctions', - CreateSetIterator: 'https://262.ecma-international.org/9.0/#sec-createsetiterator', - CreateSharedByteDataBlock: 'https://262.ecma-international.org/9.0/#sec-createsharedbytedatablock', - CreateStringIterator: 'https://262.ecma-international.org/9.0/#sec-createstringiterator', - CreateUnmappedArgumentsObject: 'https://262.ecma-international.org/9.0/#sec-createunmappedargumentsobject', - DateFromTime: 'https://262.ecma-international.org/9.0/#sec-date-number', - DateString: 'https://262.ecma-international.org/9.0/#sec-datestring', - Day: 'https://262.ecma-international.org/9.0/#eqn-Day', - DayFromYear: 'https://262.ecma-international.org/9.0/#eqn-DaysFromYear', - DaysInYear: 'https://262.ecma-international.org/9.0/#eqn-DaysInYear', - DayWithinYear: 'https://262.ecma-international.org/9.0/#eqn-DayWithinYear', - Decode: 'https://262.ecma-international.org/9.0/#sec-decode', - DefinePropertyOrThrow: 'https://262.ecma-international.org/9.0/#sec-definepropertyorthrow', - DeletePropertyOrThrow: 'https://262.ecma-international.org/9.0/#sec-deletepropertyorthrow', - DetachArrayBuffer: 'https://262.ecma-international.org/9.0/#sec-detacharraybuffer', - Encode: 'https://262.ecma-international.org/9.0/#sec-encode', - EnqueueJob: 'https://262.ecma-international.org/9.0/#sec-enqueuejob', - EnterCriticalSection: 'https://262.ecma-international.org/9.0/#sec-entercriticalsection', - EnumerableOwnPropertyNames: 'https://262.ecma-international.org/9.0/#sec-enumerableownpropertynames', - EnumerateObjectProperties: 'https://262.ecma-international.org/9.0/#sec-enumerate-object-properties', - EscapeRegExpPattern: 'https://262.ecma-international.org/9.0/#sec-escaperegexppattern', - EvalDeclarationInstantiation: 'https://262.ecma-international.org/9.0/#sec-evaldeclarationinstantiation', - EvaluateCall: 'https://262.ecma-international.org/9.0/#sec-evaluatecall', - EvaluateNew: 'https://262.ecma-international.org/9.0/#sec-evaluatenew', - EventSet: 'https://262.ecma-international.org/9.0/#sec-event-set', - floor: 'https://262.ecma-international.org/9.0/#eqn-floor', - ForBodyEvaluation: 'https://262.ecma-international.org/9.0/#sec-forbodyevaluation', - 'ForIn/OfBodyEvaluation': 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-forin-div-ofbodyevaluation-lhs-stmt-iterator-lhskind-labelset', - 'ForIn/OfHeadEvaluation': 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-forin-div-ofheadevaluation-tdznames-expr-iterationkind', - FromPropertyDescriptor: 'https://262.ecma-international.org/9.0/#sec-frompropertydescriptor', - FulfillPromise: 'https://262.ecma-international.org/9.0/#sec-fulfillpromise', - FunctionAllocate: 'https://262.ecma-international.org/9.0/#sec-functionallocate', - FunctionCreate: 'https://262.ecma-international.org/9.0/#sec-functioncreate', - FunctionDeclarationInstantiation: 'https://262.ecma-international.org/9.0/#sec-functiondeclarationinstantiation', - FunctionInitialize: 'https://262.ecma-international.org/9.0/#sec-functioninitialize', - GeneratorFunctionCreate: 'https://262.ecma-international.org/9.0/#sec-generatorfunctioncreate', - GeneratorResume: 'https://262.ecma-international.org/9.0/#sec-generatorresume', - GeneratorResumeAbrupt: 'https://262.ecma-international.org/9.0/#sec-generatorresumeabrupt', - GeneratorStart: 'https://262.ecma-international.org/9.0/#sec-generatorstart', - GeneratorValidate: 'https://262.ecma-international.org/9.0/#sec-generatorvalidate', - GeneratorYield: 'https://262.ecma-international.org/9.0/#sec-generatoryield', - Get: 'https://262.ecma-international.org/9.0/#sec-get-o-p', - GetActiveScriptOrModule: 'https://262.ecma-international.org/9.0/#sec-getactivescriptormodule', - GetBase: 'https://262.ecma-international.org/9.0/#sec-getbase', - GetFunctionRealm: 'https://262.ecma-international.org/9.0/#sec-getfunctionrealm', - GetGeneratorKind: 'https://262.ecma-international.org/9.0/#sec-getgeneratorkind', - GetGlobalObject: 'https://262.ecma-international.org/9.0/#sec-getglobalobject', - GetIdentifierReference: 'https://262.ecma-international.org/9.0/#sec-getidentifierreference', - GetIterator: 'https://262.ecma-international.org/9.0/#sec-getiterator', - GetMethod: 'https://262.ecma-international.org/9.0/#sec-getmethod', - GetModifySetValueInBuffer: 'https://262.ecma-international.org/9.0/#sec-getmodifysetvalueinbuffer', - GetModuleNamespace: 'https://262.ecma-international.org/9.0/#sec-getmodulenamespace', - GetNewTarget: 'https://262.ecma-international.org/9.0/#sec-getnewtarget', - GetOwnPropertyKeys: 'https://262.ecma-international.org/9.0/#sec-getownpropertykeys', - GetPrototypeFromConstructor: 'https://262.ecma-international.org/9.0/#sec-getprototypefromconstructor', - GetReferencedName: 'https://262.ecma-international.org/9.0/#sec-getreferencedname', - GetSubstitution: 'https://262.ecma-international.org/9.0/#sec-getsubstitution', - GetSuperConstructor: 'https://262.ecma-international.org/9.0/#sec-getsuperconstructor', - GetTemplateObject: 'https://262.ecma-international.org/9.0/#sec-gettemplateobject', - GetThisEnvironment: 'https://262.ecma-international.org/9.0/#sec-getthisenvironment', - GetThisValue: 'https://262.ecma-international.org/9.0/#sec-getthisvalue', - GetV: 'https://262.ecma-international.org/9.0/#sec-getv', - GetValue: 'https://262.ecma-international.org/9.0/#sec-getvalue', - GetValueFromBuffer: 'https://262.ecma-international.org/9.0/#sec-getvaluefrombuffer', - GetViewValue: 'https://262.ecma-international.org/9.0/#sec-getviewvalue', - GetWaiterList: 'https://262.ecma-international.org/9.0/#sec-getwaiterlist', - GlobalDeclarationInstantiation: 'https://262.ecma-international.org/9.0/#sec-globaldeclarationinstantiation', - 'happens-before': 'https://262.ecma-international.org/9.0/#sec-happens-before', - HasOwnProperty: 'https://262.ecma-international.org/9.0/#sec-hasownproperty', - HasPrimitiveBase: 'https://262.ecma-international.org/9.0/#sec-hasprimitivebase', - HasProperty: 'https://262.ecma-international.org/9.0/#sec-hasproperty', - 'host-synchronizes-with': 'https://262.ecma-international.org/9.0/#sec-host-synchronizes-with', - HostEnsureCanCompileStrings: 'https://262.ecma-international.org/9.0/#sec-hostensurecancompilestrings', - HostEventSet: 'https://262.ecma-international.org/9.0/#sec-hosteventset', - HostPromiseRejectionTracker: 'https://262.ecma-international.org/9.0/#sec-host-promise-rejection-tracker', - HostReportErrors: 'https://262.ecma-international.org/9.0/#sec-host-report-errors', - HostResolveImportedModule: 'https://262.ecma-international.org/9.0/#sec-hostresolveimportedmodule', - HourFromTime: 'https://262.ecma-international.org/9.0/#eqn-HourFromTime', - IfAbruptRejectPromise: 'https://262.ecma-international.org/9.0/#sec-ifabruptrejectpromise', - ImportedLocalNames: 'https://262.ecma-international.org/9.0/#sec-importedlocalnames', - InitializeBoundName: 'https://262.ecma-international.org/9.0/#sec-initializeboundname', - InitializeHostDefinedRealm: 'https://262.ecma-international.org/9.0/#sec-initializehostdefinedrealm', - InitializeReferencedBinding: 'https://262.ecma-international.org/9.0/#sec-initializereferencedbinding', - InLeapYear: 'https://262.ecma-international.org/9.0/#eqn-InLeapYear', - InnerModuleEvaluation: 'https://262.ecma-international.org/9.0/#sec-innermoduleevaluation', - InnerModuleInstantiation: 'https://262.ecma-international.org/9.0/#sec-innermoduleinstantiation', - InstanceofOperator: 'https://262.ecma-international.org/9.0/#sec-instanceofoperator', - IntegerIndexedElementGet: 'https://262.ecma-international.org/9.0/#sec-integerindexedelementget', - IntegerIndexedElementSet: 'https://262.ecma-international.org/9.0/#sec-integerindexedelementset', - IntegerIndexedObjectCreate: 'https://262.ecma-international.org/9.0/#sec-integerindexedobjectcreate', - InternalizeJSONProperty: 'https://262.ecma-international.org/9.0/#sec-internalizejsonproperty', - Invoke: 'https://262.ecma-international.org/9.0/#sec-invoke', - IsAccessorDescriptor: 'https://262.ecma-international.org/9.0/#sec-isaccessordescriptor', - IsAnonymousFunctionDefinition: 'https://262.ecma-international.org/9.0/#sec-isanonymousfunctiondefinition', - IsArray: 'https://262.ecma-international.org/9.0/#sec-isarray', - IsCallable: 'https://262.ecma-international.org/9.0/#sec-iscallable', - IsCompatiblePropertyDescriptor: 'https://262.ecma-international.org/9.0/#sec-iscompatiblepropertydescriptor', - IsConcatSpreadable: 'https://262.ecma-international.org/9.0/#sec-isconcatspreadable', - IsConstructor: 'https://262.ecma-international.org/9.0/#sec-isconstructor', - IsDataDescriptor: 'https://262.ecma-international.org/9.0/#sec-isdatadescriptor', - IsDetachedBuffer: 'https://262.ecma-international.org/9.0/#sec-isdetachedbuffer', - IsExtensible: 'https://262.ecma-international.org/9.0/#sec-isextensible-o', - IsGenericDescriptor: 'https://262.ecma-international.org/9.0/#sec-isgenericdescriptor', - IsInTailPosition: 'https://262.ecma-international.org/9.0/#sec-isintailposition', - IsInteger: 'https://262.ecma-international.org/9.0/#sec-isinteger', - IsLabelledFunction: 'https://262.ecma-international.org/9.0/#sec-islabelledfunction', - IsPromise: 'https://262.ecma-international.org/9.0/#sec-ispromise', - IsPropertyKey: 'https://262.ecma-international.org/9.0/#sec-ispropertykey', - IsPropertyReference: 'https://262.ecma-international.org/9.0/#sec-ispropertyreference', - IsRegExp: 'https://262.ecma-international.org/9.0/#sec-isregexp', - IsSharedArrayBuffer: 'https://262.ecma-international.org/9.0/#sec-issharedarraybuffer', - IsStrictReference: 'https://262.ecma-international.org/9.0/#sec-isstrictreference', - IsStringPrefix: 'https://262.ecma-international.org/9.0/#sec-isstringprefix', - IsSuperReference: 'https://262.ecma-international.org/9.0/#sec-issuperreference', - IsUnresolvableReference: 'https://262.ecma-international.org/9.0/#sec-isunresolvablereference', - IsWordChar: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-iswordchar-abstract-operation', - IterableToList: 'https://262.ecma-international.org/9.0/#sec-iterabletolist', - IteratorClose: 'https://262.ecma-international.org/9.0/#sec-iteratorclose', - IteratorComplete: 'https://262.ecma-international.org/9.0/#sec-iteratorcomplete', - IteratorNext: 'https://262.ecma-international.org/9.0/#sec-iteratornext', - IteratorStep: 'https://262.ecma-international.org/9.0/#sec-iteratorstep', - IteratorValue: 'https://262.ecma-international.org/9.0/#sec-iteratorvalue', - LeaveCriticalSection: 'https://262.ecma-international.org/9.0/#sec-leavecriticalsection', - LocalTime: 'https://262.ecma-international.org/9.0/#sec-localtime', - LoopContinues: 'https://262.ecma-international.org/9.0/#sec-loopcontinues', - MakeArgGetter: 'https://262.ecma-international.org/9.0/#sec-makearggetter', - MakeArgSetter: 'https://262.ecma-international.org/9.0/#sec-makeargsetter', - MakeClassConstructor: 'https://262.ecma-international.org/9.0/#sec-makeclassconstructor', - MakeConstructor: 'https://262.ecma-international.org/9.0/#sec-makeconstructor', - MakeDate: 'https://262.ecma-international.org/9.0/#sec-makedate', - MakeDay: 'https://262.ecma-international.org/9.0/#sec-makeday', - MakeMethod: 'https://262.ecma-international.org/9.0/#sec-makemethod', - MakeSuperPropertyReference: 'https://262.ecma-international.org/9.0/#sec-makesuperpropertyreference', - MakeTime: 'https://262.ecma-international.org/9.0/#sec-maketime', - max: 'https://262.ecma-international.org/9.0/#eqn-max', - 'memory-order': 'https://262.ecma-international.org/9.0/#sec-memory-order', - min: 'https://262.ecma-international.org/9.0/#eqn-min', - MinFromTime: 'https://262.ecma-international.org/9.0/#eqn-MinFromTime', - ModuleDeclarationEnvironmentSetup: 'https://262.ecma-international.org/9.0/#sec-moduledeclarationenvironmentsetup', - ModuleExecution: 'https://262.ecma-international.org/9.0/#sec-moduleexecution', - ModuleNamespaceCreate: 'https://262.ecma-international.org/9.0/#sec-modulenamespacecreate', - modulo: 'https://262.ecma-international.org/9.0/#eqn-modulo', - MonthFromTime: 'https://262.ecma-international.org/9.0/#eqn-MonthFromTime', - msFromTime: 'https://262.ecma-international.org/9.0/#eqn-msFromTime', - NewDeclarativeEnvironment: 'https://262.ecma-international.org/9.0/#sec-newdeclarativeenvironment', - NewFunctionEnvironment: 'https://262.ecma-international.org/9.0/#sec-newfunctionenvironment', - NewGlobalEnvironment: 'https://262.ecma-international.org/9.0/#sec-newglobalenvironment', - NewModuleEnvironment: 'https://262.ecma-international.org/9.0/#sec-newmoduleenvironment', - NewObjectEnvironment: 'https://262.ecma-international.org/9.0/#sec-newobjectenvironment', - NewPromiseCapability: 'https://262.ecma-international.org/9.0/#sec-newpromisecapability', - NormalCompletion: 'https://262.ecma-international.org/9.0/#sec-normalcompletion', - NumberToRawBytes: 'https://262.ecma-international.org/9.0/#sec-numbertorawbytes', - NumberToString: 'https://262.ecma-international.org/9.0/#sec-tostring-applied-to-the-number-type', - ObjectCreate: 'https://262.ecma-international.org/9.0/#sec-objectcreate', - ObjectDefineProperties: 'https://262.ecma-international.org/9.0/#sec-objectdefineproperties', - OrdinaryCallBindThis: 'https://262.ecma-international.org/9.0/#sec-ordinarycallbindthis', - OrdinaryCallEvaluateBody: 'https://262.ecma-international.org/9.0/#sec-ordinarycallevaluatebody', - OrdinaryCreateFromConstructor: 'https://262.ecma-international.org/9.0/#sec-ordinarycreatefromconstructor', - OrdinaryDefineOwnProperty: 'https://262.ecma-international.org/9.0/#sec-ordinarydefineownproperty', - OrdinaryDelete: 'https://262.ecma-international.org/9.0/#sec-ordinarydelete', - OrdinaryGet: 'https://262.ecma-international.org/9.0/#sec-ordinaryget', - OrdinaryGetOwnProperty: 'https://262.ecma-international.org/9.0/#sec-ordinarygetownproperty', - OrdinaryGetPrototypeOf: 'https://262.ecma-international.org/9.0/#sec-ordinarygetprototypeof', - OrdinaryHasInstance: 'https://262.ecma-international.org/9.0/#sec-ordinaryhasinstance', - OrdinaryHasProperty: 'https://262.ecma-international.org/9.0/#sec-ordinaryhasproperty', - OrdinaryIsExtensible: 'https://262.ecma-international.org/9.0/#sec-ordinaryisextensible', - OrdinaryOwnPropertyKeys: 'https://262.ecma-international.org/9.0/#sec-ordinaryownpropertykeys', - OrdinaryPreventExtensions: 'https://262.ecma-international.org/9.0/#sec-ordinarypreventextensions', - OrdinarySet: 'https://262.ecma-international.org/9.0/#sec-ordinaryset', - OrdinarySetPrototypeOf: 'https://262.ecma-international.org/9.0/#sec-ordinarysetprototypeof', - OrdinarySetWithOwnDescriptor: 'https://262.ecma-international.org/9.0/#sec-ordinarysetwithowndescriptor', - OrdinaryToPrimitive: 'https://262.ecma-international.org/9.0/#sec-ordinarytoprimitive', - ParseModule: 'https://262.ecma-international.org/9.0/#sec-parsemodule', - ParseScript: 'https://262.ecma-international.org/9.0/#sec-parse-script', - PerformEval: 'https://262.ecma-international.org/9.0/#sec-performeval', - PerformPromiseAll: 'https://262.ecma-international.org/9.0/#sec-performpromiseall', - PerformPromiseRace: 'https://262.ecma-international.org/9.0/#sec-performpromiserace', - PerformPromiseThen: 'https://262.ecma-international.org/9.0/#sec-performpromisethen', - PrepareForOrdinaryCall: 'https://262.ecma-international.org/9.0/#sec-prepareforordinarycall', - PrepareForTailCall: 'https://262.ecma-international.org/9.0/#sec-preparefortailcall', - PromiseReactionJob: 'https://262.ecma-international.org/9.0/#sec-promisereactionjob', - PromiseResolve: 'https://262.ecma-international.org/9.0/#sec-promise-resolve', - PromiseResolveThenableJob: 'https://262.ecma-international.org/9.0/#sec-promiseresolvethenablejob', - ProxyCreate: 'https://262.ecma-international.org/9.0/#sec-proxycreate', - PutValue: 'https://262.ecma-international.org/9.0/#sec-putvalue', - QuoteJSONString: 'https://262.ecma-international.org/9.0/#sec-quotejsonstring', - RawBytesToNumber: 'https://262.ecma-international.org/9.0/#sec-rawbytestonumber', - 'reads-bytes-from': 'https://262.ecma-international.org/9.0/#sec-reads-bytes-from', - 'reads-from': 'https://262.ecma-international.org/9.0/#sec-reads-from', - RegExpAlloc: 'https://262.ecma-international.org/9.0/#sec-regexpalloc', - RegExpBuiltinExec: 'https://262.ecma-international.org/9.0/#sec-regexpbuiltinexec', - RegExpCreate: 'https://262.ecma-international.org/9.0/#sec-regexpcreate', - RegExpExec: 'https://262.ecma-international.org/9.0/#sec-regexpexec', - RegExpInitialize: 'https://262.ecma-international.org/9.0/#sec-regexpinitialize', - RejectPromise: 'https://262.ecma-international.org/9.0/#sec-rejectpromise', - RemoveWaiter: 'https://262.ecma-international.org/9.0/#sec-removewaiter', - RemoveWaiters: 'https://262.ecma-international.org/9.0/#sec-removewaiters', - RepeatMatcher: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-repeatmatcher-abstract-operation', - RequireObjectCoercible: 'https://262.ecma-international.org/9.0/#sec-requireobjectcoercible', - ResolveBinding: 'https://262.ecma-international.org/9.0/#sec-resolvebinding', - ResolveThisBinding: 'https://262.ecma-international.org/9.0/#sec-resolvethisbinding', - ReturnIfAbrupt: 'https://262.ecma-international.org/9.0/#sec-returnifabrupt', - RunJobs: 'https://262.ecma-international.org/9.0/#sec-runjobs', - SameValue: 'https://262.ecma-international.org/9.0/#sec-samevalue', - SameValueNonNumber: 'https://262.ecma-international.org/9.0/#sec-samevaluenonnumber', - SameValueZero: 'https://262.ecma-international.org/9.0/#sec-samevaluezero', - ScriptEvaluation: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-scriptevaluation', - ScriptEvaluationJob: 'https://262.ecma-international.org/9.0/#sec-scriptevaluationjob', - SecFromTime: 'https://262.ecma-international.org/9.0/#eqn-SecFromTime', - SerializeJSONArray: 'https://262.ecma-international.org/9.0/#sec-serializejsonarray', - SerializeJSONObject: 'https://262.ecma-international.org/9.0/#sec-serializejsonobject', - SerializeJSONProperty: 'https://262.ecma-international.org/9.0/#sec-serializejsonproperty', - Set: 'https://262.ecma-international.org/9.0/#sec-set-o-p-v-throw', - SetDefaultGlobalBindings: 'https://262.ecma-international.org/9.0/#sec-setdefaultglobalbindings', - SetFunctionLength: 'https://262.ecma-international.org/9.0/#sec-setfunctionlength', - SetFunctionName: 'https://262.ecma-international.org/9.0/#sec-setfunctionname', - SetImmutablePrototype: 'https://262.ecma-international.org/9.0/#sec-set-immutable-prototype', - SetIntegrityLevel: 'https://262.ecma-international.org/9.0/#sec-setintegritylevel', - SetRealmGlobalObject: 'https://262.ecma-international.org/9.0/#sec-setrealmglobalobject', - SetValueInBuffer: 'https://262.ecma-international.org/9.0/#sec-setvalueinbuffer', - SetViewValue: 'https://262.ecma-international.org/9.0/#sec-setviewvalue', - SharedDataBlockEventSet: 'https://262.ecma-international.org/9.0/#sec-sharedatablockeventset', - SortCompare: 'https://262.ecma-international.org/9.0/#sec-sortcompare', - SpeciesConstructor: 'https://262.ecma-international.org/9.0/#sec-speciesconstructor', - SplitMatch: 'https://262.ecma-international.org/9.0/#sec-splitmatch', - 'Strict Equality Comparison': 'https://262.ecma-international.org/9.0/#sec-strict-equality-comparison', - StringCreate: 'https://262.ecma-international.org/9.0/#sec-stringcreate', - StringGetOwnProperty: 'https://262.ecma-international.org/9.0/#sec-stringgetownproperty', - Suspend: 'https://262.ecma-international.org/9.0/#sec-suspend', - SymbolDescriptiveString: 'https://262.ecma-international.org/9.0/#sec-symboldescriptivestring', - 'synchronizes-with': 'https://262.ecma-international.org/9.0/#sec-synchronizes-with', - TestIntegrityLevel: 'https://262.ecma-international.org/9.0/#sec-testintegritylevel', - thisBooleanValue: 'https://262.ecma-international.org/9.0/#sec-thisbooleanvalue', - thisNumberValue: 'https://262.ecma-international.org/9.0/#sec-thisnumbervalue', - thisStringValue: 'https://262.ecma-international.org/9.0/#sec-thisstringvalue', - thisSymbolValue: 'https://262.ecma-international.org/9.0/#sec-thissymbolvalue', - thisTimeValue: 'https://262.ecma-international.org/9.0/#sec-thistimevalue', - ThrowCompletion: 'https://262.ecma-international.org/9.0/#sec-throwcompletion', - TimeClip: 'https://262.ecma-international.org/9.0/#sec-timeclip', - TimeFromYear: 'https://262.ecma-international.org/9.0/#eqn-TimeFromYear', - TimeString: 'https://262.ecma-international.org/9.0/#sec-timestring', - TimeWithinDay: 'https://262.ecma-international.org/9.0/#eqn-TimeWithinDay', - TimeZoneString: 'https://262.ecma-international.org/9.0/#sec-timezoneestring', - ToBoolean: 'https://262.ecma-international.org/9.0/#sec-toboolean', - ToDateString: 'https://262.ecma-international.org/9.0/#sec-todatestring', - ToIndex: 'https://262.ecma-international.org/9.0/#sec-toindex', - ToInt16: 'https://262.ecma-international.org/9.0/#sec-toint16', - ToInt32: 'https://262.ecma-international.org/9.0/#sec-toint32', - ToInt8: 'https://262.ecma-international.org/9.0/#sec-toint8', - ToInteger: 'https://262.ecma-international.org/9.0/#sec-tointeger', - ToLength: 'https://262.ecma-international.org/9.0/#sec-tolength', - ToNumber: 'https://262.ecma-international.org/9.0/#sec-tonumber', - ToObject: 'https://262.ecma-international.org/9.0/#sec-toobject', - TopLevelModuleEvaluationJob: 'https://262.ecma-international.org/9.0/#sec-toplevelmoduleevaluationjob', - ToPrimitive: 'https://262.ecma-international.org/9.0/#sec-toprimitive', - ToPropertyDescriptor: 'https://262.ecma-international.org/9.0/#sec-topropertydescriptor', - ToPropertyKey: 'https://262.ecma-international.org/9.0/#sec-topropertykey', - ToString: 'https://262.ecma-international.org/9.0/#sec-tostring', - ToUint16: 'https://262.ecma-international.org/9.0/#sec-touint16', - ToUint32: 'https://262.ecma-international.org/9.0/#sec-touint32', - ToUint8: 'https://262.ecma-international.org/9.0/#sec-touint8', - ToUint8Clamp: 'https://262.ecma-international.org/9.0/#sec-touint8clamp', - TriggerPromiseReactions: 'https://262.ecma-international.org/9.0/#sec-triggerpromisereactions', - Type: 'https://262.ecma-international.org/9.0/#sec-ecmascript-data-types-and-values', - TypedArrayCreate: 'https://262.ecma-international.org/9.0/#typedarray-create', - TypedArraySpeciesCreate: 'https://262.ecma-international.org/9.0/#typedarray-species-create', - UnicodeEscape: 'https://262.ecma-international.org/9.0/#sec-unicodeescape', - UnicodeMatchProperty: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-unicodematchproperty-p', - UnicodeMatchPropertyValue: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-unicodematchpropertyvalue-p-v', - UpdateEmpty: 'https://262.ecma-international.org/9.0/#sec-updateempty', - UTC: 'https://262.ecma-international.org/9.0/#sec-utc-t', - UTF16Decode: 'https://262.ecma-international.org/9.0/#sec-utf16decode', - UTF16Encoding: 'https://262.ecma-international.org/9.0/#sec-utf16encoding', - ValidateAndApplyPropertyDescriptor: 'https://262.ecma-international.org/9.0/#sec-validateandapplypropertydescriptor', - ValidateAtomicAccess: 'https://262.ecma-international.org/9.0/#sec-validateatomicaccess', - ValidateSharedIntegerTypedArray: 'https://262.ecma-international.org/9.0/#sec-validatesharedintegertypedarray', - ValidateTypedArray: 'https://262.ecma-international.org/9.0/#sec-validatetypedarray', - ValueOfReadEvent: 'https://262.ecma-international.org/9.0/#sec-valueofreadevent', - WakeWaiter: 'https://262.ecma-international.org/9.0/#sec-wakewaiter', - WeekDay: 'https://262.ecma-international.org/9.0/#sec-week-day', - WordCharacters: 'https://262.ecma-international.org/9.0/#sec-runtime-semantics-wordcharacters-abstract-operation', - YearFromTime: 'https://262.ecma-international.org/9.0/#eqn-YearFromTime' -}; diff --git a/node_modules/es-abstract/operations/2019.js b/node_modules/es-abstract/operations/2019.js deleted file mode 100644 index 57a4be4a9..000000000 --- a/node_modules/es-abstract/operations/2019.js +++ /dev/null @@ -1,355 +0,0 @@ -'use strict'; - -module.exports = { - abs: 'https://262.ecma-international.org/10.0/#eqn-abs', - 'Abstract Equality Comparison': 'https://262.ecma-international.org/10.0/#sec-abstract-equality-comparison', - 'Abstract Relational Comparison': 'https://262.ecma-international.org/10.0/#sec-abstract-relational-comparison', - AddEntriesFromIterable: 'https://262.ecma-international.org/10.0/#sec-add-entries-from-iterable', - AddRestrictedFunctionProperties: 'https://262.ecma-international.org/10.0/#sec-addrestrictedfunctionproperties', - AddWaiter: 'https://262.ecma-international.org/10.0/#sec-addwaiter', - AdvanceStringIndex: 'https://262.ecma-international.org/10.0/#sec-advancestringindex', - 'agent-order': 'https://262.ecma-international.org/10.0/#sec-agent-order', - AgentCanSuspend: 'https://262.ecma-international.org/10.0/#sec-agentcansuspend', - AgentSignifier: 'https://262.ecma-international.org/10.0/#sec-agentsignifier', - AllocateArrayBuffer: 'https://262.ecma-international.org/10.0/#sec-allocatearraybuffer', - AllocateSharedArrayBuffer: 'https://262.ecma-international.org/10.0/#sec-allocatesharedarraybuffer', - AllocateTypedArray: 'https://262.ecma-international.org/10.0/#sec-allocatetypedarray', - AllocateTypedArrayBuffer: 'https://262.ecma-international.org/10.0/#sec-allocatetypedarraybuffer', - ArrayCreate: 'https://262.ecma-international.org/10.0/#sec-arraycreate', - ArraySetLength: 'https://262.ecma-international.org/10.0/#sec-arraysetlength', - ArraySpeciesCreate: 'https://262.ecma-international.org/10.0/#sec-arrayspeciescreate', - AsyncFromSyncIteratorContinuation: 'https://262.ecma-international.org/10.0/#sec-asyncfromsynciteratorcontinuation', - AsyncFunctionCreate: 'https://262.ecma-international.org/10.0/#sec-async-functions-abstract-operations-async-function-create', - AsyncFunctionStart: 'https://262.ecma-international.org/10.0/#sec-async-functions-abstract-operations-async-function-start', - AsyncGeneratorEnqueue: 'https://262.ecma-international.org/10.0/#sec-asyncgeneratorenqueue', - AsyncGeneratorFunctionCreate: 'https://262.ecma-international.org/10.0/#sec-asyncgeneratorfunctioncreate', - AsyncGeneratorReject: 'https://262.ecma-international.org/10.0/#sec-asyncgeneratorreject', - AsyncGeneratorResolve: 'https://262.ecma-international.org/10.0/#sec-asyncgeneratorresolve', - AsyncGeneratorResumeNext: 'https://262.ecma-international.org/10.0/#sec-asyncgeneratorresumenext', - AsyncGeneratorStart: 'https://262.ecma-international.org/10.0/#sec-asyncgeneratorstart', - AsyncGeneratorYield: 'https://262.ecma-international.org/10.0/#sec-asyncgeneratoryield', - AsyncIteratorClose: 'https://262.ecma-international.org/10.0/#sec-asynciteratorclose', - AtomicLoad: 'https://262.ecma-international.org/10.0/#sec-atomicload', - AtomicReadModifyWrite: 'https://262.ecma-international.org/10.0/#sec-atomicreadmodifywrite', - Await: 'https://262.ecma-international.org/10.0/#await', - BackreferenceMatcher: 'https://262.ecma-international.org/10.0/#sec-backreference-matcher', - BlockDeclarationInstantiation: 'https://262.ecma-international.org/10.0/#sec-blockdeclarationinstantiation', - BoundFunctionCreate: 'https://262.ecma-international.org/10.0/#sec-boundfunctioncreate', - Call: 'https://262.ecma-international.org/10.0/#sec-call', - Canonicalize: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-canonicalize-ch', - CanonicalNumericIndexString: 'https://262.ecma-international.org/10.0/#sec-canonicalnumericindexstring', - CaseClauseIsSelected: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-caseclauseisselected', - CharacterRange: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-characterrange-abstract-operation', - CharacterRangeOrUnion: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-characterrangeorunion-abstract-operation', - CharacterSetMatcher: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-charactersetmatcher-abstract-operation', - CloneArrayBuffer: 'https://262.ecma-international.org/10.0/#sec-clonearraybuffer', - CompletePropertyDescriptor: 'https://262.ecma-international.org/10.0/#sec-completepropertydescriptor', - Completion: 'https://262.ecma-international.org/10.0/#sec-completion-record-specification-type', - ComposeWriteEventBytes: 'https://262.ecma-international.org/10.0/#sec-composewriteeventbytes', - Construct: 'https://262.ecma-international.org/10.0/#sec-construct', - CopyDataBlockBytes: 'https://262.ecma-international.org/10.0/#sec-copydatablockbytes', - CopyDataProperties: 'https://262.ecma-international.org/10.0/#sec-copydataproperties', - CreateArrayFromList: 'https://262.ecma-international.org/10.0/#sec-createarrayfromlist', - CreateArrayIterator: 'https://262.ecma-international.org/10.0/#sec-createarrayiterator', - CreateAsyncFromSyncIterator: 'https://262.ecma-international.org/10.0/#sec-createasyncfromsynciterator', - CreateBuiltinFunction: 'https://262.ecma-international.org/10.0/#sec-createbuiltinfunction', - CreateByteDataBlock: 'https://262.ecma-international.org/10.0/#sec-createbytedatablock', - CreateDataProperty: 'https://262.ecma-international.org/10.0/#sec-createdataproperty', - CreateDataPropertyOrThrow: 'https://262.ecma-international.org/10.0/#sec-createdatapropertyorthrow', - CreateDynamicFunction: 'https://262.ecma-international.org/10.0/#sec-createdynamicfunction', - CreateHTML: 'https://262.ecma-international.org/10.0/#sec-createhtml', - CreateIntrinsics: 'https://262.ecma-international.org/10.0/#sec-createintrinsics', - CreateIterResultObject: 'https://262.ecma-international.org/10.0/#sec-createiterresultobject', - CreateListFromArrayLike: 'https://262.ecma-international.org/10.0/#sec-createlistfromarraylike', - CreateListIteratorRecord: 'https://262.ecma-international.org/10.0/#sec-createlistiteratorRecord', - CreateMapIterator: 'https://262.ecma-international.org/10.0/#sec-createmapiterator', - CreateMappedArgumentsObject: 'https://262.ecma-international.org/10.0/#sec-createmappedargumentsobject', - CreateMethodProperty: 'https://262.ecma-international.org/10.0/#sec-createmethodproperty', - CreatePerIterationEnvironment: 'https://262.ecma-international.org/10.0/#sec-createperiterationenvironment', - CreateRealm: 'https://262.ecma-international.org/10.0/#sec-createrealm', - CreateResolvingFunctions: 'https://262.ecma-international.org/10.0/#sec-createresolvingfunctions', - CreateSetIterator: 'https://262.ecma-international.org/10.0/#sec-createsetiterator', - CreateSharedByteDataBlock: 'https://262.ecma-international.org/10.0/#sec-createsharedbytedatablock', - CreateStringIterator: 'https://262.ecma-international.org/10.0/#sec-createstringiterator', - CreateUnmappedArgumentsObject: 'https://262.ecma-international.org/10.0/#sec-createunmappedargumentsobject', - DateFromTime: 'https://262.ecma-international.org/10.0/#sec-date-number', - DateString: 'https://262.ecma-international.org/10.0/#sec-datestring', - Day: 'https://262.ecma-international.org/10.0/#eqn-Day', - DayFromYear: 'https://262.ecma-international.org/10.0/#eqn-DaysFromYear', - DaysInYear: 'https://262.ecma-international.org/10.0/#eqn-DaysInYear', - DayWithinYear: 'https://262.ecma-international.org/10.0/#eqn-DayWithinYear', - Decode: 'https://262.ecma-international.org/10.0/#sec-decode', - DefinePropertyOrThrow: 'https://262.ecma-international.org/10.0/#sec-definepropertyorthrow', - DeletePropertyOrThrow: 'https://262.ecma-international.org/10.0/#sec-deletepropertyorthrow', - DetachArrayBuffer: 'https://262.ecma-international.org/10.0/#sec-detacharraybuffer', - Encode: 'https://262.ecma-international.org/10.0/#sec-encode', - EnqueueJob: 'https://262.ecma-international.org/10.0/#sec-enqueuejob', - EnterCriticalSection: 'https://262.ecma-international.org/10.0/#sec-entercriticalsection', - EnumerableOwnPropertyNames: 'https://262.ecma-international.org/10.0/#sec-enumerableownpropertynames', - EnumerateObjectProperties: 'https://262.ecma-international.org/10.0/#sec-enumerate-object-properties', - EscapeRegExpPattern: 'https://262.ecma-international.org/10.0/#sec-escaperegexppattern', - EvalDeclarationInstantiation: 'https://262.ecma-international.org/10.0/#sec-evaldeclarationinstantiation', - EvaluateCall: 'https://262.ecma-international.org/10.0/#sec-evaluatecall', - EvaluateNew: 'https://262.ecma-international.org/10.0/#sec-evaluatenew', - EventSet: 'https://262.ecma-international.org/10.0/#sec-event-set', - ExecuteModule: 'https://262.ecma-international.org/10.0/#sec-source-text-module-record-execute-module', - FlattenIntoArray: 'https://262.ecma-international.org/10.0/#sec-flattenintoarray', - floor: 'https://262.ecma-international.org/10.0/#eqn-floor', - ForBodyEvaluation: 'https://262.ecma-international.org/10.0/#sec-forbodyevaluation', - 'ForIn/OfBodyEvaluation': 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-forin-div-ofbodyevaluation-lhs-stmt-iterator-lhskind-labelset', - 'ForIn/OfHeadEvaluation': 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-forin-div-ofheadevaluation-tdznames-expr-iterationkind', - FromPropertyDescriptor: 'https://262.ecma-international.org/10.0/#sec-frompropertydescriptor', - FulfillPromise: 'https://262.ecma-international.org/10.0/#sec-fulfillpromise', - FunctionAllocate: 'https://262.ecma-international.org/10.0/#sec-functionallocate', - FunctionCreate: 'https://262.ecma-international.org/10.0/#sec-functioncreate', - FunctionDeclarationInstantiation: 'https://262.ecma-international.org/10.0/#sec-functiondeclarationinstantiation', - FunctionInitialize: 'https://262.ecma-international.org/10.0/#sec-functioninitialize', - GeneratorFunctionCreate: 'https://262.ecma-international.org/10.0/#sec-generatorfunctioncreate', - GeneratorResume: 'https://262.ecma-international.org/10.0/#sec-generatorresume', - GeneratorResumeAbrupt: 'https://262.ecma-international.org/10.0/#sec-generatorresumeabrupt', - GeneratorStart: 'https://262.ecma-international.org/10.0/#sec-generatorstart', - GeneratorValidate: 'https://262.ecma-international.org/10.0/#sec-generatorvalidate', - GeneratorYield: 'https://262.ecma-international.org/10.0/#sec-generatoryield', - Get: 'https://262.ecma-international.org/10.0/#sec-get-o-p', - GetActiveScriptOrModule: 'https://262.ecma-international.org/10.0/#sec-getactivescriptormodule', - GetBase: 'https://262.ecma-international.org/10.0/#sec-getbase', - GetFunctionRealm: 'https://262.ecma-international.org/10.0/#sec-getfunctionrealm', - GetGeneratorKind: 'https://262.ecma-international.org/10.0/#sec-getgeneratorkind', - GetGlobalObject: 'https://262.ecma-international.org/10.0/#sec-getglobalobject', - GetIdentifierReference: 'https://262.ecma-international.org/10.0/#sec-getidentifierreference', - GetIterator: 'https://262.ecma-international.org/10.0/#sec-getiterator', - GetMethod: 'https://262.ecma-international.org/10.0/#sec-getmethod', - GetModifySetValueInBuffer: 'https://262.ecma-international.org/10.0/#sec-getmodifysetvalueinbuffer', - GetModuleNamespace: 'https://262.ecma-international.org/10.0/#sec-getmodulenamespace', - GetNewTarget: 'https://262.ecma-international.org/10.0/#sec-getnewtarget', - GetOwnPropertyKeys: 'https://262.ecma-international.org/10.0/#sec-getownpropertykeys', - GetPrototypeFromConstructor: 'https://262.ecma-international.org/10.0/#sec-getprototypefromconstructor', - GetReferencedName: 'https://262.ecma-international.org/10.0/#sec-getreferencedname', - GetSubstitution: 'https://262.ecma-international.org/10.0/#sec-getsubstitution', - GetSuperConstructor: 'https://262.ecma-international.org/10.0/#sec-getsuperconstructor', - GetTemplateObject: 'https://262.ecma-international.org/10.0/#sec-gettemplateobject', - GetThisEnvironment: 'https://262.ecma-international.org/10.0/#sec-getthisenvironment', - GetThisValue: 'https://262.ecma-international.org/10.0/#sec-getthisvalue', - GetV: 'https://262.ecma-international.org/10.0/#sec-getv', - GetValue: 'https://262.ecma-international.org/10.0/#sec-getvalue', - GetValueFromBuffer: 'https://262.ecma-international.org/10.0/#sec-getvaluefrombuffer', - GetViewValue: 'https://262.ecma-international.org/10.0/#sec-getviewvalue', - GetWaiterList: 'https://262.ecma-international.org/10.0/#sec-getwaiterlist', - GlobalDeclarationInstantiation: 'https://262.ecma-international.org/10.0/#sec-globaldeclarationinstantiation', - 'happens-before': 'https://262.ecma-international.org/10.0/#sec-happens-before', - HasOwnProperty: 'https://262.ecma-international.org/10.0/#sec-hasownproperty', - HasPrimitiveBase: 'https://262.ecma-international.org/10.0/#sec-hasprimitivebase', - HasProperty: 'https://262.ecma-international.org/10.0/#sec-hasproperty', - 'host-synchronizes-with': 'https://262.ecma-international.org/10.0/#sec-host-synchronizes-with', - HostEnsureCanCompileStrings: 'https://262.ecma-international.org/10.0/#sec-hostensurecancompilestrings', - HostEventSet: 'https://262.ecma-international.org/10.0/#sec-hosteventset', - HostPromiseRejectionTracker: 'https://262.ecma-international.org/10.0/#sec-host-promise-rejection-tracker', - HostReportErrors: 'https://262.ecma-international.org/10.0/#sec-host-report-errors', - HostResolveImportedModule: 'https://262.ecma-international.org/10.0/#sec-hostresolveimportedmodule', - HourFromTime: 'https://262.ecma-international.org/10.0/#eqn-HourFromTime', - IfAbruptRejectPromise: 'https://262.ecma-international.org/10.0/#sec-ifabruptrejectpromise', - ImportedLocalNames: 'https://262.ecma-international.org/10.0/#sec-importedlocalnames', - InitializeBoundName: 'https://262.ecma-international.org/10.0/#sec-initializeboundname', - InitializeEnvironment: 'https://262.ecma-international.org/10.0/#sec-source-text-module-record-initialize-environment', - InitializeHostDefinedRealm: 'https://262.ecma-international.org/10.0/#sec-initializehostdefinedrealm', - InitializeReferencedBinding: 'https://262.ecma-international.org/10.0/#sec-initializereferencedbinding', - InLeapYear: 'https://262.ecma-international.org/10.0/#eqn-InLeapYear', - InnerModuleEvaluation: 'https://262.ecma-international.org/10.0/#sec-innermoduleevaluation', - InnerModuleInstantiation: 'https://262.ecma-international.org/10.0/#sec-innermoduleinstantiation', - InstanceofOperator: 'https://262.ecma-international.org/10.0/#sec-instanceofoperator', - IntegerIndexedElementGet: 'https://262.ecma-international.org/10.0/#sec-integerindexedelementget', - IntegerIndexedElementSet: 'https://262.ecma-international.org/10.0/#sec-integerindexedelementset', - IntegerIndexedObjectCreate: 'https://262.ecma-international.org/10.0/#sec-integerindexedobjectcreate', - InternalizeJSONProperty: 'https://262.ecma-international.org/10.0/#sec-internalizejsonproperty', - Invoke: 'https://262.ecma-international.org/10.0/#sec-invoke', - IsAccessorDescriptor: 'https://262.ecma-international.org/10.0/#sec-isaccessordescriptor', - IsAnonymousFunctionDefinition: 'https://262.ecma-international.org/10.0/#sec-isanonymousfunctiondefinition', - IsArray: 'https://262.ecma-international.org/10.0/#sec-isarray', - IsCallable: 'https://262.ecma-international.org/10.0/#sec-iscallable', - IsCompatiblePropertyDescriptor: 'https://262.ecma-international.org/10.0/#sec-iscompatiblepropertydescriptor', - IsConcatSpreadable: 'https://262.ecma-international.org/10.0/#sec-isconcatspreadable', - IsConstructor: 'https://262.ecma-international.org/10.0/#sec-isconstructor', - IsDataDescriptor: 'https://262.ecma-international.org/10.0/#sec-isdatadescriptor', - IsDetachedBuffer: 'https://262.ecma-international.org/10.0/#sec-isdetachedbuffer', - IsExtensible: 'https://262.ecma-international.org/10.0/#sec-isextensible-o', - IsGenericDescriptor: 'https://262.ecma-international.org/10.0/#sec-isgenericdescriptor', - IsInTailPosition: 'https://262.ecma-international.org/10.0/#sec-isintailposition', - IsInteger: 'https://262.ecma-international.org/10.0/#sec-isinteger', - IsLabelledFunction: 'https://262.ecma-international.org/10.0/#sec-islabelledfunction', - IsPromise: 'https://262.ecma-international.org/10.0/#sec-ispromise', - IsPropertyKey: 'https://262.ecma-international.org/10.0/#sec-ispropertykey', - IsPropertyReference: 'https://262.ecma-international.org/10.0/#sec-ispropertyreference', - IsRegExp: 'https://262.ecma-international.org/10.0/#sec-isregexp', - IsSharedArrayBuffer: 'https://262.ecma-international.org/10.0/#sec-issharedarraybuffer', - IsStrictReference: 'https://262.ecma-international.org/10.0/#sec-isstrictreference', - IsStringPrefix: 'https://262.ecma-international.org/10.0/#sec-isstringprefix', - IsSuperReference: 'https://262.ecma-international.org/10.0/#sec-issuperreference', - IsUnresolvableReference: 'https://262.ecma-international.org/10.0/#sec-isunresolvablereference', - IsWordChar: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-iswordchar-abstract-operation', - IterableToList: 'https://262.ecma-international.org/10.0/#sec-iterabletolist', - IteratorClose: 'https://262.ecma-international.org/10.0/#sec-iteratorclose', - IteratorComplete: 'https://262.ecma-international.org/10.0/#sec-iteratorcomplete', - IteratorNext: 'https://262.ecma-international.org/10.0/#sec-iteratornext', - IteratorStep: 'https://262.ecma-international.org/10.0/#sec-iteratorstep', - IteratorValue: 'https://262.ecma-international.org/10.0/#sec-iteratorvalue', - LeaveCriticalSection: 'https://262.ecma-international.org/10.0/#sec-leavecriticalsection', - LocalTime: 'https://262.ecma-international.org/10.0/#sec-localtime', - LoopContinues: 'https://262.ecma-international.org/10.0/#sec-loopcontinues', - MakeArgGetter: 'https://262.ecma-international.org/10.0/#sec-makearggetter', - MakeArgSetter: 'https://262.ecma-international.org/10.0/#sec-makeargsetter', - MakeClassConstructor: 'https://262.ecma-international.org/10.0/#sec-makeclassconstructor', - MakeConstructor: 'https://262.ecma-international.org/10.0/#sec-makeconstructor', - MakeDate: 'https://262.ecma-international.org/10.0/#sec-makedate', - MakeDay: 'https://262.ecma-international.org/10.0/#sec-makeday', - MakeMethod: 'https://262.ecma-international.org/10.0/#sec-makemethod', - MakeSuperPropertyReference: 'https://262.ecma-international.org/10.0/#sec-makesuperpropertyreference', - MakeTime: 'https://262.ecma-international.org/10.0/#sec-maketime', - max: 'https://262.ecma-international.org/10.0/#eqn-max', - 'memory-order': 'https://262.ecma-international.org/10.0/#sec-memory-order', - min: 'https://262.ecma-international.org/10.0/#eqn-min', - MinFromTime: 'https://262.ecma-international.org/10.0/#eqn-MinFromTime', - ModuleNamespaceCreate: 'https://262.ecma-international.org/10.0/#sec-modulenamespacecreate', - modulo: 'https://262.ecma-international.org/10.0/#eqn-modulo', - MonthFromTime: 'https://262.ecma-international.org/10.0/#eqn-MonthFromTime', - msFromTime: 'https://262.ecma-international.org/10.0/#eqn-msFromTime', - NewDeclarativeEnvironment: 'https://262.ecma-international.org/10.0/#sec-newdeclarativeenvironment', - NewFunctionEnvironment: 'https://262.ecma-international.org/10.0/#sec-newfunctionenvironment', - NewGlobalEnvironment: 'https://262.ecma-international.org/10.0/#sec-newglobalenvironment', - NewModuleEnvironment: 'https://262.ecma-international.org/10.0/#sec-newmoduleenvironment', - NewObjectEnvironment: 'https://262.ecma-international.org/10.0/#sec-newobjectenvironment', - NewPromiseCapability: 'https://262.ecma-international.org/10.0/#sec-newpromisecapability', - NormalCompletion: 'https://262.ecma-international.org/10.0/#sec-normalcompletion', - NotifyWaiter: 'https://262.ecma-international.org/10.0/#sec-notifywaiter', - NumberToRawBytes: 'https://262.ecma-international.org/10.0/#sec-numbertorawbytes', - NumberToString: 'https://262.ecma-international.org/10.0/#sec-tostring-applied-to-the-number-type', - ObjectCreate: 'https://262.ecma-international.org/10.0/#sec-objectcreate', - ObjectDefineProperties: 'https://262.ecma-international.org/10.0/#sec-objectdefineproperties', - OrdinaryCallBindThis: 'https://262.ecma-international.org/10.0/#sec-ordinarycallbindthis', - OrdinaryCallEvaluateBody: 'https://262.ecma-international.org/10.0/#sec-ordinarycallevaluatebody', - OrdinaryCreateFromConstructor: 'https://262.ecma-international.org/10.0/#sec-ordinarycreatefromconstructor', - OrdinaryDefineOwnProperty: 'https://262.ecma-international.org/10.0/#sec-ordinarydefineownproperty', - OrdinaryDelete: 'https://262.ecma-international.org/10.0/#sec-ordinarydelete', - OrdinaryGet: 'https://262.ecma-international.org/10.0/#sec-ordinaryget', - OrdinaryGetOwnProperty: 'https://262.ecma-international.org/10.0/#sec-ordinarygetownproperty', - OrdinaryGetPrototypeOf: 'https://262.ecma-international.org/10.0/#sec-ordinarygetprototypeof', - OrdinaryHasInstance: 'https://262.ecma-international.org/10.0/#sec-ordinaryhasinstance', - OrdinaryHasProperty: 'https://262.ecma-international.org/10.0/#sec-ordinaryhasproperty', - OrdinaryIsExtensible: 'https://262.ecma-international.org/10.0/#sec-ordinaryisextensible', - OrdinaryOwnPropertyKeys: 'https://262.ecma-international.org/10.0/#sec-ordinaryownpropertykeys', - OrdinaryPreventExtensions: 'https://262.ecma-international.org/10.0/#sec-ordinarypreventextensions', - OrdinarySet: 'https://262.ecma-international.org/10.0/#sec-ordinaryset', - OrdinarySetPrototypeOf: 'https://262.ecma-international.org/10.0/#sec-ordinarysetprototypeof', - OrdinarySetWithOwnDescriptor: 'https://262.ecma-international.org/10.0/#sec-ordinarysetwithowndescriptor', - OrdinaryToPrimitive: 'https://262.ecma-international.org/10.0/#sec-ordinarytoprimitive', - ParseModule: 'https://262.ecma-international.org/10.0/#sec-parsemodule', - ParseScript: 'https://262.ecma-international.org/10.0/#sec-parse-script', - PerformEval: 'https://262.ecma-international.org/10.0/#sec-performeval', - PerformPromiseAll: 'https://262.ecma-international.org/10.0/#sec-performpromiseall', - PerformPromiseRace: 'https://262.ecma-international.org/10.0/#sec-performpromiserace', - PerformPromiseThen: 'https://262.ecma-international.org/10.0/#sec-performpromisethen', - PrepareForOrdinaryCall: 'https://262.ecma-international.org/10.0/#sec-prepareforordinarycall', - PrepareForTailCall: 'https://262.ecma-international.org/10.0/#sec-preparefortailcall', - PromiseReactionJob: 'https://262.ecma-international.org/10.0/#sec-promisereactionjob', - PromiseResolve: 'https://262.ecma-international.org/10.0/#sec-promise-resolve', - PromiseResolveThenableJob: 'https://262.ecma-international.org/10.0/#sec-promiseresolvethenablejob', - ProxyCreate: 'https://262.ecma-international.org/10.0/#sec-proxycreate', - PutValue: 'https://262.ecma-international.org/10.0/#sec-putvalue', - QuoteJSONString: 'https://262.ecma-international.org/10.0/#sec-quotejsonstring', - RawBytesToNumber: 'https://262.ecma-international.org/10.0/#sec-rawbytestonumber', - 'reads-bytes-from': 'https://262.ecma-international.org/10.0/#sec-reads-bytes-from', - 'reads-from': 'https://262.ecma-international.org/10.0/#sec-reads-from', - RegExpAlloc: 'https://262.ecma-international.org/10.0/#sec-regexpalloc', - RegExpBuiltinExec: 'https://262.ecma-international.org/10.0/#sec-regexpbuiltinexec', - RegExpCreate: 'https://262.ecma-international.org/10.0/#sec-regexpcreate', - RegExpExec: 'https://262.ecma-international.org/10.0/#sec-regexpexec', - RegExpInitialize: 'https://262.ecma-international.org/10.0/#sec-regexpinitialize', - RejectPromise: 'https://262.ecma-international.org/10.0/#sec-rejectpromise', - RemoveWaiter: 'https://262.ecma-international.org/10.0/#sec-removewaiter', - RemoveWaiters: 'https://262.ecma-international.org/10.0/#sec-removewaiters', - RepeatMatcher: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-repeatmatcher-abstract-operation', - RequireObjectCoercible: 'https://262.ecma-international.org/10.0/#sec-requireobjectcoercible', - ResolveBinding: 'https://262.ecma-international.org/10.0/#sec-resolvebinding', - ResolveThisBinding: 'https://262.ecma-international.org/10.0/#sec-resolvethisbinding', - ReturnIfAbrupt: 'https://262.ecma-international.org/10.0/#sec-returnifabrupt', - RunJobs: 'https://262.ecma-international.org/10.0/#sec-runjobs', - SameValue: 'https://262.ecma-international.org/10.0/#sec-samevalue', - SameValueNonNumber: 'https://262.ecma-international.org/10.0/#sec-samevaluenonnumber', - SameValueZero: 'https://262.ecma-international.org/10.0/#sec-samevaluezero', - ScriptEvaluation: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-scriptevaluation', - ScriptEvaluationJob: 'https://262.ecma-international.org/10.0/#sec-scriptevaluationjob', - SecFromTime: 'https://262.ecma-international.org/10.0/#eqn-SecFromTime', - SerializeJSONArray: 'https://262.ecma-international.org/10.0/#sec-serializejsonarray', - SerializeJSONObject: 'https://262.ecma-international.org/10.0/#sec-serializejsonobject', - SerializeJSONProperty: 'https://262.ecma-international.org/10.0/#sec-serializejsonproperty', - Set: 'https://262.ecma-international.org/10.0/#sec-set-o-p-v-throw', - SetDefaultGlobalBindings: 'https://262.ecma-international.org/10.0/#sec-setdefaultglobalbindings', - SetFunctionLength: 'https://262.ecma-international.org/10.0/#sec-setfunctionlength', - SetFunctionName: 'https://262.ecma-international.org/10.0/#sec-setfunctionname', - SetImmutablePrototype: 'https://262.ecma-international.org/10.0/#sec-set-immutable-prototype', - SetIntegrityLevel: 'https://262.ecma-international.org/10.0/#sec-setintegritylevel', - SetRealmGlobalObject: 'https://262.ecma-international.org/10.0/#sec-setrealmglobalobject', - SetValueInBuffer: 'https://262.ecma-international.org/10.0/#sec-setvalueinbuffer', - SetViewValue: 'https://262.ecma-international.org/10.0/#sec-setviewvalue', - SharedDataBlockEventSet: 'https://262.ecma-international.org/10.0/#sec-sharedatablockeventset', - SortCompare: 'https://262.ecma-international.org/10.0/#sec-sortcompare', - SpeciesConstructor: 'https://262.ecma-international.org/10.0/#sec-speciesconstructor', - SplitMatch: 'https://262.ecma-international.org/10.0/#sec-splitmatch', - 'Strict Equality Comparison': 'https://262.ecma-international.org/10.0/#sec-strict-equality-comparison', - StringCreate: 'https://262.ecma-international.org/10.0/#sec-stringcreate', - StringGetOwnProperty: 'https://262.ecma-international.org/10.0/#sec-stringgetownproperty', - Suspend: 'https://262.ecma-international.org/10.0/#sec-suspend', - SymbolDescriptiveString: 'https://262.ecma-international.org/10.0/#sec-symboldescriptivestring', - SynchronizeEventSet: 'https://262.ecma-international.org/10.0/#sec-synchronizeeventset', - 'synchronizes-with': 'https://262.ecma-international.org/10.0/#sec-synchronizes-with', - TestIntegrityLevel: 'https://262.ecma-international.org/10.0/#sec-testintegritylevel', - thisBooleanValue: 'https://262.ecma-international.org/10.0/#sec-thisbooleanvalue', - thisNumberValue: 'https://262.ecma-international.org/10.0/#sec-thisnumbervalue', - thisStringValue: 'https://262.ecma-international.org/10.0/#sec-thisstringvalue', - thisSymbolValue: 'https://262.ecma-international.org/10.0/#sec-thissymbolvalue', - thisTimeValue: 'https://262.ecma-international.org/10.0/#sec-thistimevalue', - ThrowCompletion: 'https://262.ecma-international.org/10.0/#sec-throwcompletion', - TimeClip: 'https://262.ecma-international.org/10.0/#sec-timeclip', - TimeFromYear: 'https://262.ecma-international.org/10.0/#eqn-TimeFromYear', - TimeString: 'https://262.ecma-international.org/10.0/#sec-timestring', - TimeWithinDay: 'https://262.ecma-international.org/10.0/#eqn-TimeWithinDay', - TimeZoneString: 'https://262.ecma-international.org/10.0/#sec-timezoneestring', - ToBoolean: 'https://262.ecma-international.org/10.0/#sec-toboolean', - ToDateString: 'https://262.ecma-international.org/10.0/#sec-todatestring', - ToIndex: 'https://262.ecma-international.org/10.0/#sec-toindex', - ToInt16: 'https://262.ecma-international.org/10.0/#sec-toint16', - ToInt32: 'https://262.ecma-international.org/10.0/#sec-toint32', - ToInt8: 'https://262.ecma-international.org/10.0/#sec-toint8', - ToInteger: 'https://262.ecma-international.org/10.0/#sec-tointeger', - ToLength: 'https://262.ecma-international.org/10.0/#sec-tolength', - ToNumber: 'https://262.ecma-international.org/10.0/#sec-tonumber', - ToObject: 'https://262.ecma-international.org/10.0/#sec-toobject', - TopLevelModuleEvaluationJob: 'https://262.ecma-international.org/10.0/#sec-toplevelmoduleevaluationjob', - ToPrimitive: 'https://262.ecma-international.org/10.0/#sec-toprimitive', - ToPropertyDescriptor: 'https://262.ecma-international.org/10.0/#sec-topropertydescriptor', - ToPropertyKey: 'https://262.ecma-international.org/10.0/#sec-topropertykey', - ToString: 'https://262.ecma-international.org/10.0/#sec-tostring', - ToUint16: 'https://262.ecma-international.org/10.0/#sec-touint16', - ToUint32: 'https://262.ecma-international.org/10.0/#sec-touint32', - ToUint8: 'https://262.ecma-international.org/10.0/#sec-touint8', - ToUint8Clamp: 'https://262.ecma-international.org/10.0/#sec-touint8clamp', - TriggerPromiseReactions: 'https://262.ecma-international.org/10.0/#sec-triggerpromisereactions', - TrimString: 'https://262.ecma-international.org/10.0/#sec-trimstring', - Type: 'https://262.ecma-international.org/10.0/#sec-ecmascript-data-types-and-values', - TypedArrayCreate: 'https://262.ecma-international.org/10.0/#typedarray-create', - TypedArraySpeciesCreate: 'https://262.ecma-international.org/10.0/#typedarray-species-create', - UnicodeEscape: 'https://262.ecma-international.org/10.0/#sec-unicodeescape', - UnicodeMatchProperty: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-unicodematchproperty-p', - UnicodeMatchPropertyValue: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-unicodematchpropertyvalue-p-v', - UpdateEmpty: 'https://262.ecma-international.org/10.0/#sec-updateempty', - UTC: 'https://262.ecma-international.org/10.0/#sec-utc-t', - UTF16Decode: 'https://262.ecma-international.org/10.0/#sec-utf16decode', - UTF16Encoding: 'https://262.ecma-international.org/10.0/#sec-utf16encoding', - ValidateAndApplyPropertyDescriptor: 'https://262.ecma-international.org/10.0/#sec-validateandapplypropertydescriptor', - ValidateAtomicAccess: 'https://262.ecma-international.org/10.0/#sec-validateatomicaccess', - ValidateSharedIntegerTypedArray: 'https://262.ecma-international.org/10.0/#sec-validatesharedintegertypedarray', - ValidateTypedArray: 'https://262.ecma-international.org/10.0/#sec-validatetypedarray', - ValueOfReadEvent: 'https://262.ecma-international.org/10.0/#sec-valueofreadevent', - WeekDay: 'https://262.ecma-international.org/10.0/#sec-week-day', - WordCharacters: 'https://262.ecma-international.org/10.0/#sec-runtime-semantics-wordcharacters-abstract-operation', - YearFromTime: 'https://262.ecma-international.org/10.0/#eqn-YearFromTime' -}; diff --git a/node_modules/es-abstract/operations/2020.js b/node_modules/es-abstract/operations/2020.js deleted file mode 100644 index 9464726c9..000000000 --- a/node_modules/es-abstract/operations/2020.js +++ /dev/null @@ -1,418 +0,0 @@ -'use strict'; - -module.exports = { - abs: 'https://262.ecma-international.org/11.0/#eqn-abs', - 'Abstract Equality Comparison': 'https://262.ecma-international.org/11.0/#sec-abstract-equality-comparison', - 'Abstract Relational Comparison': 'https://262.ecma-international.org/11.0/#sec-abstract-relational-comparison', - AddEntriesFromIterable: 'https://262.ecma-international.org/11.0/#sec-add-entries-from-iterable', - AddRestrictedFunctionProperties: 'https://262.ecma-international.org/11.0/#sec-addrestrictedfunctionproperties', - AddWaiter: 'https://262.ecma-international.org/11.0/#sec-addwaiter', - AdvanceStringIndex: 'https://262.ecma-international.org/11.0/#sec-advancestringindex', - 'agent-order': 'https://262.ecma-international.org/11.0/#sec-agent-order', - AgentCanSuspend: 'https://262.ecma-international.org/11.0/#sec-agentcansuspend', - AgentSignifier: 'https://262.ecma-international.org/11.0/#sec-agentsignifier', - AllocateArrayBuffer: 'https://262.ecma-international.org/11.0/#sec-allocatearraybuffer', - AllocateSharedArrayBuffer: 'https://262.ecma-international.org/11.0/#sec-allocatesharedarraybuffer', - AllocateTypedArray: 'https://262.ecma-international.org/11.0/#sec-allocatetypedarray', - AllocateTypedArrayBuffer: 'https://262.ecma-international.org/11.0/#sec-allocatetypedarraybuffer', - ArrayCreate: 'https://262.ecma-international.org/11.0/#sec-arraycreate', - ArraySetLength: 'https://262.ecma-international.org/11.0/#sec-arraysetlength', - ArraySpeciesCreate: 'https://262.ecma-international.org/11.0/#sec-arrayspeciescreate', - AsyncFromSyncIteratorContinuation: 'https://262.ecma-international.org/11.0/#sec-asyncfromsynciteratorcontinuation', - AsyncFunctionStart: 'https://262.ecma-international.org/11.0/#sec-async-functions-abstract-operations-async-function-start', - AsyncGeneratorEnqueue: 'https://262.ecma-international.org/11.0/#sec-asyncgeneratorenqueue', - AsyncGeneratorReject: 'https://262.ecma-international.org/11.0/#sec-asyncgeneratorreject', - AsyncGeneratorResolve: 'https://262.ecma-international.org/11.0/#sec-asyncgeneratorresolve', - AsyncGeneratorResumeNext: 'https://262.ecma-international.org/11.0/#sec-asyncgeneratorresumenext', - AsyncGeneratorStart: 'https://262.ecma-international.org/11.0/#sec-asyncgeneratorstart', - AsyncGeneratorYield: 'https://262.ecma-international.org/11.0/#sec-asyncgeneratoryield', - AsyncIteratorClose: 'https://262.ecma-international.org/11.0/#sec-asynciteratorclose', - AtomicLoad: 'https://262.ecma-international.org/11.0/#sec-atomicload', - AtomicReadModifyWrite: 'https://262.ecma-international.org/11.0/#sec-atomicreadmodifywrite', - Await: 'https://262.ecma-international.org/11.0/#await', - BackreferenceMatcher: 'https://262.ecma-international.org/11.0/#sec-backreference-matcher', - 'BigInt::add': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-add', - 'BigInt::bitwiseAND': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseAND', - 'BigInt::bitwiseNOT': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseNOT', - 'BigInt::bitwiseOR': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseOR', - 'BigInt::bitwiseXOR': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseXOR', - 'BigInt::divide': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-divide', - 'BigInt::equal': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-equal', - 'BigInt::exponentiate': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-exponentiate', - 'BigInt::leftShift': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-leftShift', - 'BigInt::lessThan': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-lessThan', - 'BigInt::multiply': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-multiply', - 'BigInt::remainder': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-remainder', - 'BigInt::sameValue': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-sameValue', - 'BigInt::sameValueZero': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-sameValueZero', - 'BigInt::signedRightShift': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-signedRightShift', - 'BigInt::subtract': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-subtract', - 'BigInt::toString': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-tostring', - 'BigInt::unaryMinus': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-unaryMinus', - 'BigInt::unsignedRightShift': 'https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-unsignedRightShift', - BigIntBitwiseOp: 'https://262.ecma-international.org/11.0/#sec-bigintbitwiseop', - BinaryAnd: 'https://262.ecma-international.org/11.0/#sec-binaryand', - BinaryOr: 'https://262.ecma-international.org/11.0/#sec-binaryor', - BinaryXor: 'https://262.ecma-international.org/11.0/#sec-binaryxor', - BlockDeclarationInstantiation: 'https://262.ecma-international.org/11.0/#sec-blockdeclarationinstantiation', - BoundFunctionCreate: 'https://262.ecma-international.org/11.0/#sec-boundfunctioncreate', - Call: 'https://262.ecma-international.org/11.0/#sec-call', - Canonicalize: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-canonicalize-ch', - CanonicalNumericIndexString: 'https://262.ecma-international.org/11.0/#sec-canonicalnumericindexstring', - CaseClauseIsSelected: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-caseclauseisselected', - CharacterRange: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-characterrange-abstract-operation', - CharacterRangeOrUnion: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-characterrangeorunion-abstract-operation', - CharacterSetMatcher: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-charactersetmatcher-abstract-operation', - CloneArrayBuffer: 'https://262.ecma-international.org/11.0/#sec-clonearraybuffer', - CodePointAt: 'https://262.ecma-international.org/11.0/#sec-codepointat', - CompletePropertyDescriptor: 'https://262.ecma-international.org/11.0/#sec-completepropertydescriptor', - Completion: 'https://262.ecma-international.org/11.0/#sec-completion-record-specification-type', - ComposeWriteEventBytes: 'https://262.ecma-international.org/11.0/#sec-composewriteeventbytes', - Construct: 'https://262.ecma-international.org/11.0/#sec-construct', - CopyDataBlockBytes: 'https://262.ecma-international.org/11.0/#sec-copydatablockbytes', - CopyDataProperties: 'https://262.ecma-international.org/11.0/#sec-copydataproperties', - CreateArrayFromList: 'https://262.ecma-international.org/11.0/#sec-createarrayfromlist', - CreateArrayIterator: 'https://262.ecma-international.org/11.0/#sec-createarrayiterator', - CreateAsyncFromSyncIterator: 'https://262.ecma-international.org/11.0/#sec-createasyncfromsynciterator', - CreateBuiltinFunction: 'https://262.ecma-international.org/11.0/#sec-createbuiltinfunction', - CreateByteDataBlock: 'https://262.ecma-international.org/11.0/#sec-createbytedatablock', - CreateDataProperty: 'https://262.ecma-international.org/11.0/#sec-createdataproperty', - CreateDataPropertyOrThrow: 'https://262.ecma-international.org/11.0/#sec-createdatapropertyorthrow', - CreateDynamicFunction: 'https://262.ecma-international.org/11.0/#sec-createdynamicfunction', - CreateForInIterator: 'https://262.ecma-international.org/11.0/#sec-createforiniterator', - CreateHTML: 'https://262.ecma-international.org/11.0/#sec-createhtml', - CreateIntrinsics: 'https://262.ecma-international.org/11.0/#sec-createintrinsics', - CreateIterResultObject: 'https://262.ecma-international.org/11.0/#sec-createiterresultobject', - CreateListFromArrayLike: 'https://262.ecma-international.org/11.0/#sec-createlistfromarraylike', - CreateListIteratorRecord: 'https://262.ecma-international.org/11.0/#sec-createlistiteratorRecord', - CreateMapIterator: 'https://262.ecma-international.org/11.0/#sec-createmapiterator', - CreateMappedArgumentsObject: 'https://262.ecma-international.org/11.0/#sec-createmappedargumentsobject', - CreateMethodProperty: 'https://262.ecma-international.org/11.0/#sec-createmethodproperty', - CreatePerIterationEnvironment: 'https://262.ecma-international.org/11.0/#sec-createperiterationenvironment', - CreateRealm: 'https://262.ecma-international.org/11.0/#sec-createrealm', - CreateRegExpStringIterator: 'https://262.ecma-international.org/11.0/#sec-createregexpstringiterator', - CreateResolvingFunctions: 'https://262.ecma-international.org/11.0/#sec-createresolvingfunctions', - CreateSetIterator: 'https://262.ecma-international.org/11.0/#sec-createsetiterator', - CreateSharedByteDataBlock: 'https://262.ecma-international.org/11.0/#sec-createsharedbytedatablock', - CreateStringIterator: 'https://262.ecma-international.org/11.0/#sec-createstringiterator', - CreateUnmappedArgumentsObject: 'https://262.ecma-international.org/11.0/#sec-createunmappedargumentsobject', - DateFromTime: 'https://262.ecma-international.org/11.0/#sec-date-number', - DateString: 'https://262.ecma-international.org/11.0/#sec-datestring', - Day: 'https://262.ecma-international.org/11.0/#eqn-Day', - DayFromYear: 'https://262.ecma-international.org/11.0/#eqn-DaysFromYear', - DaysInYear: 'https://262.ecma-international.org/11.0/#eqn-DaysInYear', - DayWithinYear: 'https://262.ecma-international.org/11.0/#eqn-DayWithinYear', - Decode: 'https://262.ecma-international.org/11.0/#sec-decode', - DefinePropertyOrThrow: 'https://262.ecma-international.org/11.0/#sec-definepropertyorthrow', - DeletePropertyOrThrow: 'https://262.ecma-international.org/11.0/#sec-deletepropertyorthrow', - DetachArrayBuffer: 'https://262.ecma-international.org/11.0/#sec-detacharraybuffer', - Encode: 'https://262.ecma-international.org/11.0/#sec-encode', - EnterCriticalSection: 'https://262.ecma-international.org/11.0/#sec-entercriticalsection', - EnumerableOwnPropertyNames: 'https://262.ecma-international.org/11.0/#sec-enumerableownpropertynames', - EnumerateObjectProperties: 'https://262.ecma-international.org/11.0/#sec-enumerate-object-properties', - EscapeRegExpPattern: 'https://262.ecma-international.org/11.0/#sec-escaperegexppattern', - EvalDeclarationInstantiation: 'https://262.ecma-international.org/11.0/#sec-evaldeclarationinstantiation', - EvaluateCall: 'https://262.ecma-international.org/11.0/#sec-evaluatecall', - EvaluateNew: 'https://262.ecma-international.org/11.0/#sec-evaluatenew', - EvaluatePropertyAccessWithExpressionKey: 'https://262.ecma-international.org/11.0/#sec-evaluate-property-access-with-expression-key', - EvaluatePropertyAccessWithIdentifierKey: 'https://262.ecma-international.org/11.0/#sec-evaluate-property-access-with-identifier-key', - EventSet: 'https://262.ecma-international.org/11.0/#sec-event-set', - ExecuteModule: 'https://262.ecma-international.org/11.0/#sec-source-text-module-record-execute-module', - FinishDynamicImport: 'https://262.ecma-international.org/11.0/#sec-finishdynamicimport', - FlattenIntoArray: 'https://262.ecma-international.org/11.0/#sec-flattenintoarray', - floor: 'https://262.ecma-international.org/11.0/#eqn-floor', - ForBodyEvaluation: 'https://262.ecma-international.org/11.0/#sec-forbodyevaluation', - 'ForIn/OfBodyEvaluation': 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-forin-div-ofbodyevaluation-lhs-stmt-iterator-lhskind-labelset', - 'ForIn/OfHeadEvaluation': 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-forinofheadevaluation', - FromPropertyDescriptor: 'https://262.ecma-international.org/11.0/#sec-frompropertydescriptor', - FulfillPromise: 'https://262.ecma-international.org/11.0/#sec-fulfillpromise', - FunctionDeclarationInstantiation: 'https://262.ecma-international.org/11.0/#sec-functiondeclarationinstantiation', - GeneratorResume: 'https://262.ecma-international.org/11.0/#sec-generatorresume', - GeneratorResumeAbrupt: 'https://262.ecma-international.org/11.0/#sec-generatorresumeabrupt', - GeneratorStart: 'https://262.ecma-international.org/11.0/#sec-generatorstart', - GeneratorValidate: 'https://262.ecma-international.org/11.0/#sec-generatorvalidate', - GeneratorYield: 'https://262.ecma-international.org/11.0/#sec-generatoryield', - Get: 'https://262.ecma-international.org/11.0/#sec-get-o-p', - GetActiveScriptOrModule: 'https://262.ecma-international.org/11.0/#sec-getactivescriptormodule', - GetBase: 'https://262.ecma-international.org/11.0/#sec-getbase', - GetFunctionRealm: 'https://262.ecma-international.org/11.0/#sec-getfunctionrealm', - GetGeneratorKind: 'https://262.ecma-international.org/11.0/#sec-getgeneratorkind', - GetGlobalObject: 'https://262.ecma-international.org/11.0/#sec-getglobalobject', - GetIdentifierReference: 'https://262.ecma-international.org/11.0/#sec-getidentifierreference', - GetIterator: 'https://262.ecma-international.org/11.0/#sec-getiterator', - GetMethod: 'https://262.ecma-international.org/11.0/#sec-getmethod', - GetModifySetValueInBuffer: 'https://262.ecma-international.org/11.0/#sec-getmodifysetvalueinbuffer', - GetModuleNamespace: 'https://262.ecma-international.org/11.0/#sec-getmodulenamespace', - GetNewTarget: 'https://262.ecma-international.org/11.0/#sec-getnewtarget', - GetOwnPropertyKeys: 'https://262.ecma-international.org/11.0/#sec-getownpropertykeys', - GetPrototypeFromConstructor: 'https://262.ecma-international.org/11.0/#sec-getprototypefromconstructor', - GetReferencedName: 'https://262.ecma-international.org/11.0/#sec-getreferencedname', - GetSubstitution: 'https://262.ecma-international.org/11.0/#sec-getsubstitution', - GetSuperConstructor: 'https://262.ecma-international.org/11.0/#sec-getsuperconstructor', - GetTemplateObject: 'https://262.ecma-international.org/11.0/#sec-gettemplateobject', - GetThisEnvironment: 'https://262.ecma-international.org/11.0/#sec-getthisenvironment', - GetThisValue: 'https://262.ecma-international.org/11.0/#sec-getthisvalue', - GetV: 'https://262.ecma-international.org/11.0/#sec-getv', - GetValue: 'https://262.ecma-international.org/11.0/#sec-getvalue', - GetValueFromBuffer: 'https://262.ecma-international.org/11.0/#sec-getvaluefrombuffer', - GetViewValue: 'https://262.ecma-international.org/11.0/#sec-getviewvalue', - GetWaiterList: 'https://262.ecma-international.org/11.0/#sec-getwaiterlist', - GlobalDeclarationInstantiation: 'https://262.ecma-international.org/11.0/#sec-globaldeclarationinstantiation', - 'happens-before': 'https://262.ecma-international.org/11.0/#sec-happens-before', - HasOwnProperty: 'https://262.ecma-international.org/11.0/#sec-hasownproperty', - HasPrimitiveBase: 'https://262.ecma-international.org/11.0/#sec-hasprimitivebase', - HasProperty: 'https://262.ecma-international.org/11.0/#sec-hasproperty', - 'host-synchronizes-with': 'https://262.ecma-international.org/11.0/#sec-host-synchronizes-with', - HostEnqueuePromiseJob: 'https://262.ecma-international.org/11.0/#sec-hostenqueuepromisejob', - HostEnsureCanCompileStrings: 'https://262.ecma-international.org/11.0/#sec-hostensurecancompilestrings', - HostEventSet: 'https://262.ecma-international.org/11.0/#sec-hosteventset', - HostFinalizeImportMeta: 'https://262.ecma-international.org/11.0/#sec-hostfinalizeimportmeta', - HostGetImportMetaProperties: 'https://262.ecma-international.org/11.0/#sec-hostgetimportmetaproperties', - HostImportModuleDynamically: 'https://262.ecma-international.org/11.0/#sec-hostimportmoduledynamically', - HostPromiseRejectionTracker: 'https://262.ecma-international.org/11.0/#sec-host-promise-rejection-tracker', - HostResolveImportedModule: 'https://262.ecma-international.org/11.0/#sec-hostresolveimportedmodule', - HourFromTime: 'https://262.ecma-international.org/11.0/#eqn-HourFromTime', - IfAbruptRejectPromise: 'https://262.ecma-international.org/11.0/#sec-ifabruptrejectpromise', - ImportedLocalNames: 'https://262.ecma-international.org/11.0/#sec-importedlocalnames', - InitializeBoundName: 'https://262.ecma-international.org/11.0/#sec-initializeboundname', - InitializeEnvironment: 'https://262.ecma-international.org/11.0/#sec-source-text-module-record-initialize-environment', - InitializeHostDefinedRealm: 'https://262.ecma-international.org/11.0/#sec-initializehostdefinedrealm', - InitializeReferencedBinding: 'https://262.ecma-international.org/11.0/#sec-initializereferencedbinding', - InLeapYear: 'https://262.ecma-international.org/11.0/#eqn-InLeapYear', - InnerModuleEvaluation: 'https://262.ecma-international.org/11.0/#sec-innermoduleevaluation', - InnerModuleLinking: 'https://262.ecma-international.org/11.0/#sec-InnerModuleLinking', - InstanceofOperator: 'https://262.ecma-international.org/11.0/#sec-instanceofoperator', - IntegerIndexedElementGet: 'https://262.ecma-international.org/11.0/#sec-integerindexedelementget', - IntegerIndexedElementSet: 'https://262.ecma-international.org/11.0/#sec-integerindexedelementset', - IntegerIndexedObjectCreate: 'https://262.ecma-international.org/11.0/#sec-integerindexedobjectcreate', - InternalizeJSONProperty: 'https://262.ecma-international.org/11.0/#sec-internalizejsonproperty', - Invoke: 'https://262.ecma-international.org/11.0/#sec-invoke', - IsAccessorDescriptor: 'https://262.ecma-international.org/11.0/#sec-isaccessordescriptor', - IsAnonymousFunctionDefinition: 'https://262.ecma-international.org/11.0/#sec-isanonymousfunctiondefinition', - IsArray: 'https://262.ecma-international.org/11.0/#sec-isarray', - IsBigIntElementType: 'https://262.ecma-international.org/11.0/#sec-isbigintelementtype', - IsCallable: 'https://262.ecma-international.org/11.0/#sec-iscallable', - IsCompatiblePropertyDescriptor: 'https://262.ecma-international.org/11.0/#sec-iscompatiblepropertydescriptor', - IsConcatSpreadable: 'https://262.ecma-international.org/11.0/#sec-isconcatspreadable', - IsConstructor: 'https://262.ecma-international.org/11.0/#sec-isconstructor', - IsDataDescriptor: 'https://262.ecma-international.org/11.0/#sec-isdatadescriptor', - IsDetachedBuffer: 'https://262.ecma-international.org/11.0/#sec-isdetachedbuffer', - IsExtensible: 'https://262.ecma-international.org/11.0/#sec-isextensible-o', - IsGenericDescriptor: 'https://262.ecma-international.org/11.0/#sec-isgenericdescriptor', - IsInTailPosition: 'https://262.ecma-international.org/11.0/#sec-isintailposition', - IsInteger: 'https://262.ecma-international.org/11.0/#sec-isinteger', - IsLabelledFunction: 'https://262.ecma-international.org/11.0/#sec-islabelledfunction', - IsNonNegativeInteger: 'https://262.ecma-international.org/11.0/#sec-isnonnegativeinteger', - IsNoTearConfiguration: 'https://262.ecma-international.org/11.0/#sec-isnotearconfiguration', - IsPromise: 'https://262.ecma-international.org/11.0/#sec-ispromise', - IsPropertyKey: 'https://262.ecma-international.org/11.0/#sec-ispropertykey', - IsPropertyReference: 'https://262.ecma-international.org/11.0/#sec-ispropertyreference', - IsRegExp: 'https://262.ecma-international.org/11.0/#sec-isregexp', - IsSharedArrayBuffer: 'https://262.ecma-international.org/11.0/#sec-issharedarraybuffer', - IsStrictReference: 'https://262.ecma-international.org/11.0/#sec-isstrictreference', - IsStringPrefix: 'https://262.ecma-international.org/11.0/#sec-isstringprefix', - IsSuperReference: 'https://262.ecma-international.org/11.0/#sec-issuperreference', - IsUnclampedIntegerElementType: 'https://262.ecma-international.org/11.0/#sec-isunclampedintegerelementtype', - IsUnresolvableReference: 'https://262.ecma-international.org/11.0/#sec-isunresolvablereference', - IsUnsignedElementType: 'https://262.ecma-international.org/11.0/#sec-isunsignedelementtype', - IsValidIntegerIndex: 'https://262.ecma-international.org/11.0/#sec-isvalidintegerindex', - IsValidRegularExpressionLiteral: 'https://262.ecma-international.org/11.0/#sec-isvalidregularexpressionliteral', - IsWordChar: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-iswordchar-abstract-operation', - IterableToList: 'https://262.ecma-international.org/11.0/#sec-iterabletolist', - IteratorClose: 'https://262.ecma-international.org/11.0/#sec-iteratorclose', - IteratorComplete: 'https://262.ecma-international.org/11.0/#sec-iteratorcomplete', - IteratorNext: 'https://262.ecma-international.org/11.0/#sec-iteratornext', - IteratorStep: 'https://262.ecma-international.org/11.0/#sec-iteratorstep', - IteratorValue: 'https://262.ecma-international.org/11.0/#sec-iteratorvalue', - LeaveCriticalSection: 'https://262.ecma-international.org/11.0/#sec-leavecriticalsection', - LengthOfArrayLike: 'https://262.ecma-international.org/11.0/#sec-lengthofarraylike', - LocalTime: 'https://262.ecma-international.org/11.0/#sec-localtime', - LocalTZA: 'https://262.ecma-international.org/11.0/#sec-local-time-zone-adjustment', - LoopContinues: 'https://262.ecma-international.org/11.0/#sec-loopcontinues', - MakeArgGetter: 'https://262.ecma-international.org/11.0/#sec-makearggetter', - MakeArgSetter: 'https://262.ecma-international.org/11.0/#sec-makeargsetter', - MakeBasicObject: 'https://262.ecma-international.org/11.0/#sec-makebasicobject', - MakeClassConstructor: 'https://262.ecma-international.org/11.0/#sec-makeclassconstructor', - MakeConstructor: 'https://262.ecma-international.org/11.0/#sec-makeconstructor', - MakeDate: 'https://262.ecma-international.org/11.0/#sec-makedate', - MakeDay: 'https://262.ecma-international.org/11.0/#sec-makeday', - MakeMethod: 'https://262.ecma-international.org/11.0/#sec-makemethod', - MakeSuperPropertyReference: 'https://262.ecma-international.org/11.0/#sec-makesuperpropertyreference', - MakeTime: 'https://262.ecma-international.org/11.0/#sec-maketime', - max: 'https://262.ecma-international.org/11.0/#eqn-max', - 'memory-order': 'https://262.ecma-international.org/11.0/#sec-memory-order', - min: 'https://262.ecma-international.org/11.0/#eqn-min', - MinFromTime: 'https://262.ecma-international.org/11.0/#eqn-MinFromTime', - ModuleNamespaceCreate: 'https://262.ecma-international.org/11.0/#sec-modulenamespacecreate', - modulo: 'https://262.ecma-international.org/11.0/#eqn-modulo', - MonthFromTime: 'https://262.ecma-international.org/11.0/#eqn-MonthFromTime', - msFromTime: 'https://262.ecma-international.org/11.0/#eqn-msFromTime', - NewDeclarativeEnvironment: 'https://262.ecma-international.org/11.0/#sec-newdeclarativeenvironment', - NewFunctionEnvironment: 'https://262.ecma-international.org/11.0/#sec-newfunctionenvironment', - NewGlobalEnvironment: 'https://262.ecma-international.org/11.0/#sec-newglobalenvironment', - NewModuleEnvironment: 'https://262.ecma-international.org/11.0/#sec-newmoduleenvironment', - NewObjectEnvironment: 'https://262.ecma-international.org/11.0/#sec-newobjectenvironment', - NewPromiseCapability: 'https://262.ecma-international.org/11.0/#sec-newpromisecapability', - NewPromiseReactionJob: 'https://262.ecma-international.org/11.0/#sec-newpromisereactionjob', - NewPromiseResolveThenableJob: 'https://262.ecma-international.org/11.0/#sec-newpromiseresolvethenablejob', - NormalCompletion: 'https://262.ecma-international.org/11.0/#sec-normalcompletion', - NotifyWaiter: 'https://262.ecma-international.org/11.0/#sec-notifywaiter', - 'Number::add': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-add', - 'Number::bitwiseAND': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseAND', - 'Number::bitwiseNOT': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseNOT', - 'Number::bitwiseOR': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseOR', - 'Number::bitwiseXOR': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseXOR', - 'Number::divide': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-divide', - 'Number::equal': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-equal', - 'Number::exponentiate': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-exponentiate', - 'Number::leftShift': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-leftShift', - 'Number::lessThan': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-lessThan', - 'Number::multiply': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-multiply', - 'Number::remainder': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-remainder', - 'Number::sameValue': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-sameValue', - 'Number::sameValueZero': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-sameValueZero', - 'Number::signedRightShift': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-signedRightShift', - 'Number::subtract': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-subtract', - 'Number::toString': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-tostring', - 'Number::unaryMinus': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-unaryMinus', - 'Number::unsignedRightShift': 'https://262.ecma-international.org/11.0/#sec-numeric-types-number-unsignedRightShift', - NumberBitwiseOp: 'https://262.ecma-international.org/11.0/#sec-numberbitwiseop', - NumberToBigInt: 'https://262.ecma-international.org/11.0/#sec-numbertobigint', - NumericToRawBytes: 'https://262.ecma-international.org/11.0/#sec-numerictorawbytes', - ObjectDefineProperties: 'https://262.ecma-international.org/11.0/#sec-objectdefineproperties', - OrdinaryCallBindThis: 'https://262.ecma-international.org/11.0/#sec-ordinarycallbindthis', - OrdinaryCallEvaluateBody: 'https://262.ecma-international.org/11.0/#sec-ordinarycallevaluatebody', - OrdinaryCreateFromConstructor: 'https://262.ecma-international.org/11.0/#sec-ordinarycreatefromconstructor', - OrdinaryDefineOwnProperty: 'https://262.ecma-international.org/11.0/#sec-ordinarydefineownproperty', - OrdinaryDelete: 'https://262.ecma-international.org/11.0/#sec-ordinarydelete', - OrdinaryFunctionCreate: 'https://262.ecma-international.org/11.0/#sec-ordinaryfunctioncreate', - OrdinaryGet: 'https://262.ecma-international.org/11.0/#sec-ordinaryget', - OrdinaryGetOwnProperty: 'https://262.ecma-international.org/11.0/#sec-ordinarygetownproperty', - OrdinaryGetPrototypeOf: 'https://262.ecma-international.org/11.0/#sec-ordinarygetprototypeof', - OrdinaryHasInstance: 'https://262.ecma-international.org/11.0/#sec-ordinaryhasinstance', - OrdinaryHasProperty: 'https://262.ecma-international.org/11.0/#sec-ordinaryhasproperty', - OrdinaryIsExtensible: 'https://262.ecma-international.org/11.0/#sec-ordinaryisextensible', - OrdinaryObjectCreate: 'https://262.ecma-international.org/11.0/#sec-ordinaryobjectcreate', - OrdinaryOwnPropertyKeys: 'https://262.ecma-international.org/11.0/#sec-ordinaryownpropertykeys', - OrdinaryPreventExtensions: 'https://262.ecma-international.org/11.0/#sec-ordinarypreventextensions', - OrdinarySet: 'https://262.ecma-international.org/11.0/#sec-ordinaryset', - OrdinarySetPrototypeOf: 'https://262.ecma-international.org/11.0/#sec-ordinarysetprototypeof', - OrdinarySetWithOwnDescriptor: 'https://262.ecma-international.org/11.0/#sec-ordinarysetwithowndescriptor', - OrdinaryToPrimitive: 'https://262.ecma-international.org/11.0/#sec-ordinarytoprimitive', - ParseModule: 'https://262.ecma-international.org/11.0/#sec-parsemodule', - ParseScript: 'https://262.ecma-international.org/11.0/#sec-parse-script', - PerformEval: 'https://262.ecma-international.org/11.0/#sec-performeval', - PerformPromiseAll: 'https://262.ecma-international.org/11.0/#sec-performpromiseall', - PerformPromiseAllSettled: 'https://262.ecma-international.org/11.0/#sec-performpromiseallsettled', - PerformPromiseRace: 'https://262.ecma-international.org/11.0/#sec-performpromiserace', - PerformPromiseThen: 'https://262.ecma-international.org/11.0/#sec-performpromisethen', - PrepareForOrdinaryCall: 'https://262.ecma-international.org/11.0/#sec-prepareforordinarycall', - PrepareForTailCall: 'https://262.ecma-international.org/11.0/#sec-preparefortailcall', - PromiseResolve: 'https://262.ecma-international.org/11.0/#sec-promise-resolve', - ProxyCreate: 'https://262.ecma-international.org/11.0/#sec-proxycreate', - PutValue: 'https://262.ecma-international.org/11.0/#sec-putvalue', - QuoteJSONString: 'https://262.ecma-international.org/11.0/#sec-quotejsonstring', - RawBytesToNumeric: 'https://262.ecma-international.org/11.0/#sec-rawbytestonumeric', - 'reads-bytes-from': 'https://262.ecma-international.org/11.0/#sec-reads-bytes-from', - 'reads-from': 'https://262.ecma-international.org/11.0/#sec-reads-from', - RegExpAlloc: 'https://262.ecma-international.org/11.0/#sec-regexpalloc', - RegExpBuiltinExec: 'https://262.ecma-international.org/11.0/#sec-regexpbuiltinexec', - RegExpCreate: 'https://262.ecma-international.org/11.0/#sec-regexpcreate', - RegExpExec: 'https://262.ecma-international.org/11.0/#sec-regexpexec', - RegExpInitialize: 'https://262.ecma-international.org/11.0/#sec-regexpinitialize', - RejectPromise: 'https://262.ecma-international.org/11.0/#sec-rejectpromise', - RemoveWaiter: 'https://262.ecma-international.org/11.0/#sec-removewaiter', - RemoveWaiters: 'https://262.ecma-international.org/11.0/#sec-removewaiters', - RepeatMatcher: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-repeatmatcher-abstract-operation', - RequireInternalSlot: 'https://262.ecma-international.org/11.0/#sec-requireinternalslot', - RequireObjectCoercible: 'https://262.ecma-international.org/11.0/#sec-requireobjectcoercible', - ResolveBinding: 'https://262.ecma-international.org/11.0/#sec-resolvebinding', - ResolveThisBinding: 'https://262.ecma-international.org/11.0/#sec-resolvethisbinding', - ReturnIfAbrupt: 'https://262.ecma-international.org/11.0/#sec-returnifabrupt', - SameValue: 'https://262.ecma-international.org/11.0/#sec-samevalue', - SameValueNonNumeric: 'https://262.ecma-international.org/11.0/#sec-samevaluenonnumeric', - SameValueZero: 'https://262.ecma-international.org/11.0/#sec-samevaluezero', - ScriptEvaluation: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-scriptevaluation', - SecFromTime: 'https://262.ecma-international.org/11.0/#eqn-SecFromTime', - SerializeJSONArray: 'https://262.ecma-international.org/11.0/#sec-serializejsonarray', - SerializeJSONObject: 'https://262.ecma-international.org/11.0/#sec-serializejsonobject', - SerializeJSONProperty: 'https://262.ecma-international.org/11.0/#sec-serializejsonproperty', - Set: 'https://262.ecma-international.org/11.0/#sec-set-o-p-v-throw', - SetDefaultGlobalBindings: 'https://262.ecma-international.org/11.0/#sec-setdefaultglobalbindings', - SetFunctionLength: 'https://262.ecma-international.org/11.0/#sec-setfunctionlength', - SetFunctionName: 'https://262.ecma-international.org/11.0/#sec-setfunctionname', - SetImmutablePrototype: 'https://262.ecma-international.org/11.0/#sec-set-immutable-prototype', - SetIntegrityLevel: 'https://262.ecma-international.org/11.0/#sec-setintegritylevel', - SetRealmGlobalObject: 'https://262.ecma-international.org/11.0/#sec-setrealmglobalobject', - SetValueInBuffer: 'https://262.ecma-international.org/11.0/#sec-setvalueinbuffer', - SetViewValue: 'https://262.ecma-international.org/11.0/#sec-setviewvalue', - SharedDataBlockEventSet: 'https://262.ecma-international.org/11.0/#sec-sharedatablockeventset', - SortCompare: 'https://262.ecma-international.org/11.0/#sec-sortcompare', - SpeciesConstructor: 'https://262.ecma-international.org/11.0/#sec-speciesconstructor', - SplitMatch: 'https://262.ecma-international.org/11.0/#sec-splitmatch', - 'Strict Equality Comparison': 'https://262.ecma-international.org/11.0/#sec-strict-equality-comparison', - StringCreate: 'https://262.ecma-international.org/11.0/#sec-stringcreate', - StringGetOwnProperty: 'https://262.ecma-international.org/11.0/#sec-stringgetownproperty', - StringPad: 'https://262.ecma-international.org/11.0/#sec-stringpad', - StringToBigInt: 'https://262.ecma-international.org/11.0/#sec-stringtobigint', - Suspend: 'https://262.ecma-international.org/11.0/#sec-suspend', - SymbolDescriptiveString: 'https://262.ecma-international.org/11.0/#sec-symboldescriptivestring', - 'synchronizes-with': 'https://262.ecma-international.org/11.0/#sec-synchronizes-with', - TestIntegrityLevel: 'https://262.ecma-international.org/11.0/#sec-testintegritylevel', - thisBigIntValue: 'https://262.ecma-international.org/11.0/#sec-thisbigintvalue', - thisBooleanValue: 'https://262.ecma-international.org/11.0/#sec-thisbooleanvalue', - thisNumberValue: 'https://262.ecma-international.org/11.0/#sec-thisnumbervalue', - thisStringValue: 'https://262.ecma-international.org/11.0/#sec-thisstringvalue', - thisSymbolValue: 'https://262.ecma-international.org/11.0/#sec-thissymbolvalue', - thisTimeValue: 'https://262.ecma-international.org/11.0/#sec-thistimevalue', - ThrowCompletion: 'https://262.ecma-international.org/11.0/#sec-throwcompletion', - TimeClip: 'https://262.ecma-international.org/11.0/#sec-timeclip', - TimeFromYear: 'https://262.ecma-international.org/11.0/#eqn-TimeFromYear', - TimeString: 'https://262.ecma-international.org/11.0/#sec-timestring', - TimeWithinDay: 'https://262.ecma-international.org/11.0/#eqn-TimeWithinDay', - TimeZoneString: 'https://262.ecma-international.org/11.0/#sec-timezoneestring', - ToBigInt: 'https://262.ecma-international.org/11.0/#sec-tobigint', - ToBigInt64: 'https://262.ecma-international.org/11.0/#sec-tobigint64', - ToBigUint64: 'https://262.ecma-international.org/11.0/#sec-tobiguint64', - ToBoolean: 'https://262.ecma-international.org/11.0/#sec-toboolean', - ToDateString: 'https://262.ecma-international.org/11.0/#sec-todatestring', - ToIndex: 'https://262.ecma-international.org/11.0/#sec-toindex', - ToInt16: 'https://262.ecma-international.org/11.0/#sec-toint16', - ToInt32: 'https://262.ecma-international.org/11.0/#sec-toint32', - ToInt8: 'https://262.ecma-international.org/11.0/#sec-toint8', - ToInteger: 'https://262.ecma-international.org/11.0/#sec-tointeger', - ToLength: 'https://262.ecma-international.org/11.0/#sec-tolength', - ToNumber: 'https://262.ecma-international.org/11.0/#sec-tonumber', - ToNumeric: 'https://262.ecma-international.org/11.0/#sec-tonumeric', - ToObject: 'https://262.ecma-international.org/11.0/#sec-toobject', - ToPrimitive: 'https://262.ecma-international.org/11.0/#sec-toprimitive', - ToPropertyDescriptor: 'https://262.ecma-international.org/11.0/#sec-topropertydescriptor', - ToPropertyKey: 'https://262.ecma-international.org/11.0/#sec-topropertykey', - ToString: 'https://262.ecma-international.org/11.0/#sec-tostring', - ToUint16: 'https://262.ecma-international.org/11.0/#sec-touint16', - ToUint32: 'https://262.ecma-international.org/11.0/#sec-touint32', - ToUint8: 'https://262.ecma-international.org/11.0/#sec-touint8', - ToUint8Clamp: 'https://262.ecma-international.org/11.0/#sec-touint8clamp', - TriggerPromiseReactions: 'https://262.ecma-international.org/11.0/#sec-triggerpromisereactions', - TrimString: 'https://262.ecma-international.org/11.0/#sec-trimstring', - Type: 'https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values', - TypedArrayCreate: 'https://262.ecma-international.org/11.0/#typedarray-create', - TypedArraySpeciesCreate: 'https://262.ecma-international.org/11.0/#typedarray-species-create', - UnicodeEscape: 'https://262.ecma-international.org/11.0/#sec-unicodeescape', - UnicodeMatchProperty: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-unicodematchproperty-p', - UnicodeMatchPropertyValue: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-unicodematchpropertyvalue-p-v', - UpdateEmpty: 'https://262.ecma-international.org/11.0/#sec-updateempty', - UTC: 'https://262.ecma-international.org/11.0/#sec-utc-t', - UTF16DecodeString: 'https://262.ecma-international.org/11.0/#sec-utf16decodestring', - UTF16DecodeSurrogatePair: 'https://262.ecma-international.org/11.0/#sec-utf16decodesurrogatepair', - UTF16Encode: 'https://262.ecma-international.org/11.0/#sec-utf16encode', - UTF16Encoding: 'https://262.ecma-international.org/11.0/#sec-utf16encoding', - ValidateAndApplyPropertyDescriptor: 'https://262.ecma-international.org/11.0/#sec-validateandapplypropertydescriptor', - ValidateAtomicAccess: 'https://262.ecma-international.org/11.0/#sec-validateatomicaccess', - ValidateSharedIntegerTypedArray: 'https://262.ecma-international.org/11.0/#sec-validatesharedintegertypedarray', - ValidateTypedArray: 'https://262.ecma-international.org/11.0/#sec-validatetypedarray', - ValueOfReadEvent: 'https://262.ecma-international.org/11.0/#sec-valueofreadevent', - WeekDay: 'https://262.ecma-international.org/11.0/#sec-week-day', - WordCharacters: 'https://262.ecma-international.org/11.0/#sec-runtime-semantics-wordcharacters-abstract-operation', - YearFromTime: 'https://262.ecma-international.org/11.0/#eqn-YearFromTime' -}; diff --git a/node_modules/es-abstract/package.json b/node_modules/es-abstract/package.json deleted file mode 100644 index a20aefe35..000000000 --- a/node_modules/es-abstract/package.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "name": "es-abstract", - "version": "1.18.3", - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - } - ], - "description": "ECMAScript spec abstract operations.", - "license": "MIT", - "main": "index.js", - "type": "commonjs", - "exports": { - ".": "./index.js", - "./package.json": "./package.json", - "./2020/*": "./2020/*.js", - "./2019/*": "./2019/*.js", - "./2018/*": "./2018/*.js", - "./2017/*": "./2017/*.js", - "./2016/*": "./2016/*.js", - "./2015/*": "./2015/*.js", - "./helpers/*": "./helpers/*.js", - "./5/*": "./5/*.js", - "./": "./" - }, - "sideEffects": false, - "scripts": { - "prespackle": "git ls-files | xargs git check-attr spackled | grep -v 'unspecified$' | cut -d: -f1 | xargs rm || true", - "spackle": "node operations/spackle 1", - "postspackle": "git ls-files | xargs git check-attr spackled | grep -v 'unspecified$' | cut -d: -f1 | xargs git add", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest && npm run spackle", - "pretest": "npm run lint", - "test": "npm run tests-only && npm run test:ses", - "test:ses": "node test/ses-compat", - "posttest": "aud --production", - "tests-only": "nyc node test", - "lint": "eslint .", - "eccheck": "eclint check *.js **/*.js > /dev/null" - }, - "repository": { - "type": "git", - "url": "git://github.com/ljharb/es-abstract.git" - }, - "keywords": [ - "ECMAScript", - "ES", - "abstract", - "operation", - "abstract operation", - "JavaScript", - "ES5", - "ES6", - "ES7" - ], - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.10.3", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - }, - "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "array.prototype.indexof": "^1.0.2", - "aud": "^1.1.5", - "cheerio": "=1.0.0-rc.3", - "diff": "^5.0.0", - "eclint": "^2.8.1", - "es-value-fixtures": "^1.2.1", - "eslint": "^7.27.0", - "foreach": "^2.0.5", - "functions-have-names": "^1.2.2", - "has-bigints": "^1.0.1", - "has-strict-mode": "^1.0.1", - "in-publish": "^2.0.1", - "make-arrow-function": "^1.2.0", - "make-async-function": "^1.0.0", - "make-async-generator-function": "^1.0.0", - "make-generator-function": "^2.0.0", - "nyc": "^10.3.2", - "object.fromentries": "^2.0.4", - "safe-publish-latest": "^1.1.4", - "ses": "^0.10.4", - "tape": "^5.2.2" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "greenkeeper": { - "//": "nyc is ignored because it requires node 4+, and we support older than that", - "ignore": [ - "nyc" - ] - } -} diff --git a/node_modules/es-abstract/test/GetIntrinsic.js b/node_modules/es-abstract/test/GetIntrinsic.js deleted file mode 100644 index 2f21e7647..000000000 --- a/node_modules/es-abstract/test/GetIntrinsic.js +++ /dev/null @@ -1,207 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var test = require('tape'); -var forEach = require('foreach'); -var debug = require('object-inspect'); -var generatorFns = require('make-generator-function')(); -var asyncFns = require('make-async-function').list(); -var asyncGenFns = require('make-async-generator-function')(); - -var callBound = require('call-bind/callBound'); -var v = require('es-value-fixtures'); -var $gOPD = require('../helpers/getOwnPropertyDescriptor'); -var defineProperty = require('./helpers/defineProperty'); - -var $isProto = callBound('%Object.prototype.isPrototypeOf%'); - -test('export', function (t) { - t.equal(typeof GetIntrinsic, 'function', 'it is a function'); - t.equal(GetIntrinsic.length, 2, 'function has length of 2'); - - t.end(); -}); - -test('throws', function (t) { - t['throws']( - function () { GetIntrinsic('not an intrinsic'); }, - SyntaxError, - 'nonexistent intrinsic throws a syntax error' - ); - - t['throws']( - function () { GetIntrinsic(''); }, - TypeError, - 'empty string intrinsic throws a type error' - ); - - t['throws']( - function () { GetIntrinsic('.'); }, - SyntaxError, - '"just a dot" intrinsic throws a syntax error' - ); - - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { GetIntrinsic(nonString); }, - TypeError, - debug(nonString) + ' is not a String' - ); - }); - - forEach(v.nonBooleans, function (nonBoolean) { - t['throws']( - function () { GetIntrinsic('%', nonBoolean); }, - TypeError, - debug(nonBoolean) + ' is not a Boolean' - ); - }); - - forEach([ - 'toString', - 'propertyIsEnumerable', - 'hasOwnProperty' - ], function (objectProtoMember) { - t['throws']( - function () { GetIntrinsic(objectProtoMember); }, - SyntaxError, - debug(objectProtoMember) + ' is not an intrinsic' - ); - }); - - t.end(); -}); - -test('base intrinsics', function (t) { - t.equal(GetIntrinsic('%Object%'), Object, '%Object% yields Object'); - t.equal(GetIntrinsic('Object'), Object, 'Object yields Object'); - t.equal(GetIntrinsic('%Array%'), Array, '%Array% yields Array'); - t.equal(GetIntrinsic('Array'), Array, 'Array yields Array'); - - t.end(); -}); - -test('dotted paths', function (t) { - t.equal(GetIntrinsic('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% yields Object.prototype.toString'); - t.equal(GetIntrinsic('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString yields Object.prototype.toString'); - t.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push, '%Array.prototype.push% yields Array.prototype.push'); - t.equal(GetIntrinsic('Array.prototype.push'), Array.prototype.push, 'Array.prototype.push yields Array.prototype.push'); - - test('underscore paths are aliases for dotted paths', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) { - var original = GetIntrinsic('%ObjProto_toString%'); - - forEach([ - '%Object.prototype.toString%', - 'Object.prototype.toString', - '%ObjectPrototype.toString%', - 'ObjectPrototype.toString', - '%ObjProto_toString%', - 'ObjProto_toString' - ], function (name) { - defineProperty(Object.prototype, 'toString', { - value: function toString() { - return original.apply(this, arguments); - } - }); - st.equal(GetIntrinsic(name), original, name + ' yields original Object.prototype.toString'); - }); - - defineProperty(Object.prototype, 'toString', { value: original }); - st.end(); - }); - - test('dotted paths cache', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) { - var original = GetIntrinsic('%Object.prototype.propertyIsEnumerable%'); - - forEach([ - '%Object.prototype.propertyIsEnumerable%', - 'Object.prototype.propertyIsEnumerable', - '%ObjectPrototype.propertyIsEnumerable%', - 'ObjectPrototype.propertyIsEnumerable' - ], function (name) { - // eslint-disable-next-line no-extend-native - Object.prototype.propertyIsEnumerable = function propertyIsEnumerable() { - return original.apply(this, arguments); - }; - st.equal(GetIntrinsic(name), original, name + ' yields cached Object.prototype.propertyIsEnumerable'); - }); - - // eslint-disable-next-line no-extend-native - Object.prototype.propertyIsEnumerable = original; - st.end(); - }); - - test('dotted path reports correct error', function (st) { - st['throws'](function () { - GetIntrinsic('%NonExistentIntrinsic.prototype.property%'); - }, /%NonExistentIntrinsic%/, 'The base intrinsic of %NonExistentIntrinsic.prototype.property% is %NonExistentIntrinsic%'); - - st['throws'](function () { - GetIntrinsic('%NonExistentIntrinsicPrototype.property%'); - }, /%NonExistentIntrinsicPrototype%/, 'The base intrinsic of %NonExistentIntrinsicPrototype.property% is %NonExistentIntrinsicPrototype%'); - - st.end(); - }); - - t.end(); -}); - -test('accessors', { skip: !$gOPD || typeof Map !== 'function' }, function (t) { - var actual = $gOPD(Map.prototype, 'size'); - t.ok(actual, 'Map.prototype.size has a descriptor'); - t.equal(typeof actual.get, 'function', 'Map.prototype.size has a getter function'); - t.equal(GetIntrinsic('%Map.prototype.size%'), actual.get, '%Map.prototype.size% yields the getter for it'); - t.equal(GetIntrinsic('Map.prototype.size'), actual.get, 'Map.prototype.size yields the getter for it'); - - t.end(); -}); - -test('generator functions', { skip: !generatorFns.length }, function (t) { - var $GeneratorFunction = GetIntrinsic('%GeneratorFunction%'); - var $GeneratorFunctionPrototype = GetIntrinsic('%Generator%'); - var $GeneratorPrototype = GetIntrinsic('%GeneratorPrototype%'); - - forEach(generatorFns, function (genFn) { - var fnName = genFn.name; - fnName = fnName ? "'" + fnName + "'" : 'genFn'; - - t.ok(genFn instanceof $GeneratorFunction, fnName + ' instanceof %GeneratorFunction%'); - t.ok($isProto($GeneratorFunctionPrototype, genFn), '%Generator% is prototype of ' + fnName); - t.ok($isProto($GeneratorPrototype, genFn.prototype), '%GeneratorPrototype% is prototype of ' + fnName + '.prototype'); - }); - - t.end(); -}); - -test('async functions', { skip: !asyncFns.length }, function (t) { - var $AsyncFunction = GetIntrinsic('%AsyncFunction%'); - var $AsyncFunctionPrototype = GetIntrinsic('%AsyncFunctionPrototype%'); - - forEach(asyncFns, function (asyncFn) { - var fnName = asyncFn.name; - fnName = fnName ? "'" + fnName + "'" : 'asyncFn'; - - t.ok(asyncFn instanceof $AsyncFunction, fnName + ' instanceof %AsyncFunction%'); - t.ok($isProto($AsyncFunctionPrototype, asyncFn), '%AsyncFunctionPrototype% is prototype of ' + fnName); - }); - - t.end(); -}); - -test('async generator functions', { skip: !asyncGenFns.length }, function (t) { - var $AsyncGeneratorFunction = GetIntrinsic('%AsyncGeneratorFunction%'); - var $AsyncGeneratorFunctionPrototype = GetIntrinsic('%AsyncGenerator%'); - var $AsyncGeneratorPrototype = GetIntrinsic('%AsyncGeneratorPrototype%'); - - forEach(asyncGenFns, function (asyncGenFn) { - var fnName = asyncGenFn.name; - fnName = fnName ? "'" + fnName + "'" : 'asyncGenFn'; - - t.ok(asyncGenFn instanceof $AsyncGeneratorFunction, fnName + ' instanceof %AsyncGeneratorFunction%'); - t.ok($isProto($AsyncGeneratorFunctionPrototype, asyncGenFn), '%AsyncGenerator% is prototype of ' + fnName); - t.ok($isProto($AsyncGeneratorPrototype, asyncGenFn.prototype), '%AsyncGeneratorPrototype% is prototype of ' + fnName + '.prototype'); - }); - - t.end(); -}); diff --git a/node_modules/es-abstract/test/diffOps.js b/node_modules/es-abstract/test/diffOps.js deleted file mode 100644 index 06641b187..000000000 --- a/node_modules/es-abstract/test/diffOps.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; - -var keys = require('object-keys'); -var forEach = require('foreach'); -var indexOf = require('array.prototype.indexof'); -var has = require('has'); - -module.exports = function diffOperations(actual, expected, expectedMissing) { - var actualKeys = keys(actual); - var expectedKeys = keys(expected); - - var extra = []; - var missing = []; - var extraMissing = []; - - forEach(actualKeys, function (op) { - if (!(op in expected)) { - if (actual[op] && typeof actual[op] === 'object') { - forEach(keys(actual[op]), function (nestedOp) { - var fullNestedOp = op + '::' + nestedOp; - if (!(fullNestedOp in expected)) { - extra.push(fullNestedOp); - } else if (indexOf(expectedMissing, fullNestedOp) !== -1) { - extra.push(fullNestedOp); - } - }); - } else { - extra.push(op); - } - } else if (indexOf(expectedMissing, op) !== -1) { - extra.push(op); - } - }); - var checkMissing = function checkMissing(op, actualValue) { - if (typeof actualValue !== 'function' && indexOf(expectedMissing, op) === -1) { - missing.push(op); - } - }; - forEach(expectedKeys, function (op) { - if (op.indexOf('::') > -1) { - var parts = op.split('::'); - var value = actual[parts[0]]; - if (value && typeof value === 'object' && typeof value[parts[1]] === 'function') { - checkMissing(op, value[parts[1]]); - } - } else { - checkMissing(op, actual[op]); - } - }); - - forEach(expectedMissing, function (expectedOp) { - if (!has(expected, expectedOp)) { - extraMissing.push(expectedOp); - } - }); - - return { missing: missing, extra: extra, extraMissing: extraMissing }; -}; diff --git a/node_modules/es-abstract/test/es2015.js b/node_modules/es-abstract/test/es2015.js deleted file mode 100644 index 33a8ead4c..000000000 --- a/node_modules/es-abstract/test/es2015.js +++ /dev/null @@ -1,144 +0,0 @@ -'use strict'; - -var ES = require('../').ES2015; -var boundES = require('./helpers/createBoundESNamespace')(ES); - -var ops = require('../operations/2015'); - -var expectedMissing = [ - 'AddRestrictedFunctionProperties', - 'AllocateArrayBuffer', - 'AllocateTypedArray', - 'BoundFunctionCreate', - 'Canonicalize', - 'CharacterRange', - 'CharacterSetMatcher', - 'CloneArrayBuffer', - 'Completion', - 'Construct', - 'CopyDataBlockBytes', - 'CreateArrayFromList', - 'CreateArrayIterator', - 'CreateBuiltinFunction', - 'CreateByteDataBlock', - 'CreateDynamicFunction', - 'CreateIntrinsics', - 'CreateListIterator', - 'CreateMapIterator', - 'CreateMappedArgumentsObject', - 'CreatePerIterationEnvironment', - 'CreateRealm', - 'CreateSetIterator', - 'CreateUnmappedArgumentsObject', - 'DaylightSavingTA', - 'Decode', - 'DetachArrayBuffer', - 'Encode', - 'EnqueueJob', - 'EscapeRegExpPattern', - 'EvalDeclarationInstantiation', - 'EvaluateCall', - 'EvaluateDirectCall', - 'EvaluateNew', - 'ForBodyEvaluation', - 'ForIn/OfBodyEvaluation', - 'ForIn/OfHeadEvaluation', - 'FulfillPromise', - 'FunctionAllocate', - 'FunctionCreate', - 'FunctionInitialize', - 'GeneratorFunctionCreate', - 'GeneratorResume', - 'GeneratorResumeAbrupt', - 'GeneratorStart', - 'GeneratorValidate', - 'GeneratorYield', - 'GetBase', - 'GetFunctionRealm', - 'GetGlobalObject', - 'GetIdentifierReference', - 'GetModuleNamespace', - 'GetNewTarget', - 'GetReferencedName', - 'GetSuperConstructor', - 'GetTemplateObject', - 'GetThisEnvironment', - 'GetThisValue', - 'GetValue', - 'GetValueFromBuffer', - 'GetViewValue', - 'HasPrimitiveBase', - 'HostResolveImportedModule', - 'ImportedLocalNames', - 'InitializeHostDefinedRealm', - 'InitializeReferencedBinding', - 'IntegerIndexedElementGet', - 'IntegerIndexedElementSet', - 'IntegerIndexedObjectCreate', - 'InternalizeJSONProperty', - 'IsAnonymousFunctionDefinition', - 'IsCompatiblePropertyDescriptor', - 'IsDetachedBuffer', - 'IsInTailPosition', - 'IsLabelledFunction', - 'IsPropertyReference', - 'IsStrictReference', - 'IsSuperReference', - 'IsUnresolvableReference', - 'IsWordChar', - 'LocalTime', - 'LoopContinues', - 'MakeArgGetter', - 'MakeArgSetter', - 'MakeClassConstructor', - 'MakeConstructor', - 'MakeMethod', - 'MakeSuperPropertyReference', - 'max', - 'min', - 'ModuleNamespaceCreate', - 'msPerDay', // constant - 'NewDeclarativeEnvironment', - 'NewFunctionEnvironment', - 'NewGlobalEnvironment', - 'NewModuleEnvironment', - 'NewObjectEnvironment', - 'NewPromiseCapability', - 'NormalCompletion', - 'ObjectDefineProperties', - 'OrdinaryCallBindThis', - 'OrdinaryCallEvaluateBody', - 'ParseModule', - 'PerformEval', - 'PerformPromiseAll', - 'PerformPromiseRace', - 'PerformPromiseThen', - 'PrepareForOrdinaryCall', - 'PrepareForTailCall', - 'ProxyCreate', - 'PutValue', // takes a Reference - 'RegExpAlloc', // creates a regex with uninitialized internal lots - 'RegExpBuiltinExec', - 'RegExpInitialize', // initializes allocated regex's internal slots - 'RejectPromise', - 'RepeatMatcher', - 'ResolveBinding', - 'ResolveThisBinding', - 'SerializeJSONArray', - 'SerializeJSONObject', - 'SerializeJSONProperty', - 'SetDefaultGlobalBindings', - 'SetRealmGlobalObject', - 'SetValueInBuffer', - 'SetViewValue', - 'sign', - 'SortCompare', // mystery access to `comparefn` arg - 'TriggerPromiseReactions', - 'TypedArrayFrom', - 'UpdateEmpty', // completion records - 'UTC' // depends on LocalTZA, DaylightSavingTA -]; - -require('./tests').es2015(boundES, ops, expectedMissing); - -require('./helpers/runManifestTest')(require('tape'), ES, 2015); diff --git a/node_modules/es-abstract/test/es2016.js b/node_modules/es-abstract/test/es2016.js deleted file mode 100644 index c813ac530..000000000 --- a/node_modules/es-abstract/test/es2016.js +++ /dev/null @@ -1,165 +0,0 @@ -'use strict'; - -var ES = require('../').ES2016; -var boundES = require('./helpers/createBoundESNamespace')(ES); - -var ops = require('../operations/2016'); - -var expectedMissing = [ - 'AddRestrictedFunctionProperties', - 'AllocateArrayBuffer', - 'AllocateTypedArray', - 'AllocateTypedArrayBuffer', - 'BlockDeclarationInstantiation', - 'BoundFunctionCreate', - 'Canonicalize', - 'CharacterRange', - 'CharacterRangeOrUnion', - 'CharacterSetMatcher', - 'CloneArrayBuffer', - 'Completion', - 'Construct', - 'CopyDataBlockBytes', - 'CreateArrayFromList', - 'CreateArrayIterator', - 'CreateBuiltinFunction', - 'CreateByteDataBlock', - 'CreateDynamicFunction', - 'CreateIntrinsics', - 'CreateListIterator', - 'CreateMapIterator', - 'CreateMappedArgumentsObject', - 'CreatePerIterationEnvironment', - 'CreateRealm', - 'CreateResolvingFunctions', - 'CreateSetIterator', - 'CreateStringIterator', - 'CreateUnmappedArgumentsObject', - 'DaylightSavingTA', - 'Decode', - 'DetachArrayBuffer', - 'Encode', - 'EnqueueJob', - 'EnumerateObjectProperties', - 'EscapeRegExpPattern', - 'EvalDeclarationInstantiation', - 'EvaluateCall', - 'EvaluateDirectCall', - 'EvaluateNew', - 'ForBodyEvaluation', - 'ForIn/OfBodyEvaluation', - 'ForIn/OfHeadEvaluation', - 'FulfillPromise', - 'FunctionAllocate', - 'FunctionCreate', - 'FunctionDeclarationInstantiation', - 'FunctionInitialize', - 'GeneratorFunctionCreate', - 'GeneratorResume', - 'GeneratorResumeAbrupt', - 'GeneratorStart', - 'GeneratorValidate', - 'GeneratorYield', - 'GetActiveScriptOrModule', - 'GetFunctionRealm', - 'GetGlobalObject', - 'GetIdentifierReference', - 'GetModuleNamespace', - 'GetNewTarget', - 'GetSuperConstructor', - 'GetTemplateObject', - 'GetThisEnvironment', - 'GetThisValue', - 'GetValue', - 'GetValueFromBuffer', - 'GetViewValue', - 'GlobalDeclarationInstantiation', - 'HostPromiseRejectionTracker', - 'HostReportErrors', - 'HostResolveImportedModule', - 'IfAbruptRejectPromise', - 'ImportedLocalNames', - 'InitializeBoundName', - 'InitializeHostDefinedRealm', - 'InitializeReferencedBinding', - 'IntegerIndexedElementGet', - 'IntegerIndexedElementSet', - 'IntegerIndexedObjectCreate', - 'InternalizeJSONProperty', - 'IsAnonymousFunctionDefinition', - 'IsCompatiblePropertyDescriptor', - 'IsDetachedBuffer', - 'IsInTailPosition', - 'IsLabelledFunction', - 'IsWordChar', - 'LocalTime', - 'LoopContinues', - 'MakeArgGetter', - 'MakeArgSetter', - 'MakeClassConstructor', - 'MakeConstructor', - 'MakeMethod', - 'MakeSuperPropertyReference', - 'max', - 'min', - 'ModuleNamespaceCreate', - 'NewDeclarativeEnvironment', - 'NewFunctionEnvironment', - 'NewGlobalEnvironment', - 'NewModuleEnvironment', - 'NewObjectEnvironment', - 'NewPromiseCapability', - 'NextJob', - 'NormalCompletion', - 'ObjectDefineProperties', - 'OrdinaryCallBindThis', - 'OrdinaryCallEvaluateBody', - 'OrdinaryDelete', - 'OrdinaryGet', - 'OrdinaryIsExtensible', - 'OrdinaryOwnPropertyKeys', - 'OrdinaryPreventExtensions', - 'OrdinarySet', - 'ParseModule', - 'ParseScript', - 'PerformEval', - 'PerformPromiseAll', - 'PerformPromiseRace', - 'PerformPromiseThen', - 'PrepareForOrdinaryCall', - 'PrepareForTailCall', - 'PromiseReactionJob', - 'PromiseResolveThenableJob', - 'ProxyCreate', - 'PutValue', // takes a Reference - 'RegExpAlloc', // creates a regex with uninitialized internal lots - 'RegExpBuiltinExec', - 'RegExpInitialize', // initializes allocated regex's internal slots - 'RejectPromise', - 'RepeatMatcher', - 'ResolveBinding', - 'ResolveThisBinding', - 'ReturnIfAbrupt', - 'ScriptEvaluation', - 'ScriptEvaluationJob', - 'SerializeJSONArray', - 'SerializeJSONObject', - 'SerializeJSONProperty', - 'SetDefaultGlobalBindings', - 'SetRealmGlobalObject', - 'SetValueInBuffer', - 'SetViewValue', - 'SortCompare', // mystery access to `comparefn` arg - 'TopLevelModuleEvaluationJob', - 'ToString Applied to the Number Type', - 'TriggerPromiseReactions', - 'TypedArrayCreate', - 'TypedArraySpeciesCreate', - 'UpdateEmpty', // completion records - 'UTC', // depends on LocalTZA, DaylightSavingTA - 'ValidateTypedArray' -]; - -require('./tests').es2016(boundES, ops, expectedMissing); - -require('./helpers/runManifestTest')(require('tape'), ES, 2016); diff --git a/node_modules/es-abstract/test/es2017.js b/node_modules/es-abstract/test/es2017.js deleted file mode 100644 index ab6ca6f9d..000000000 --- a/node_modules/es-abstract/test/es2017.js +++ /dev/null @@ -1,211 +0,0 @@ -'use strict'; - -var ES = require('../').ES2017; -var boundES = require('./helpers/createBoundESNamespace')(ES); - -var ops = require('../operations/2017'); - -var expectedMissing = [ - 'AddWaiter', - 'agent-order', - 'AgentCanSuspend', - 'AgentSignifier', - 'AllocateArrayBuffer', - 'AllocateSharedArrayBuffer', - 'AllocateTypedArray', - 'AllocateTypedArrayBuffer', - 'AsyncFunctionAwait', - 'AsyncFunctionCreate', - 'AsyncFunctionStart', - 'AtomicLoad', - 'AtomicReadModifyWrite', - 'BlockDeclarationInstantiation', - 'BoundFunctionCreate', - 'Canonicalize', - 'CharacterRange', - 'CharacterRangeOrUnion', - 'CharacterSetMatcher', - 'CloneArrayBuffer', - 'Completion', - 'ComposeWriteEventBytes', - 'Construct', - 'CopyDataBlockBytes', - 'CreateArrayFromList', - 'CreateArrayIterator', - 'CreateBuiltinFunction', - 'CreateByteDataBlock', - 'CreateDynamicFunction', - 'CreateIntrinsics', - 'CreateListIterator', - 'CreateMapIterator', - 'CreateMappedArgumentsObject', - 'CreatePerIterationEnvironment', - 'CreateRealm', - 'CreateResolvingFunctions', - 'CreateSetIterator', - 'CreateSharedByteDataBlock', - 'CreateStringIterator', - 'CreateUnmappedArgumentsObject', - 'DaylightSavingTA', - 'Decode', - 'DetachArrayBuffer', - 'Encode', - 'EnqueueJob', - 'EnterCriticalSection', - 'EnumerateObjectProperties', - 'EscapeRegExpPattern', - 'EvalDeclarationInstantiation', - 'EvaluateCall', - 'EvaluateDirectCall', - 'EvaluateNew', - 'EventSet', - 'ForBodyEvaluation', - 'ForIn/OfBodyEvaluation', - 'ForIn/OfHeadEvaluation', - 'FulfillPromise', - 'FunctionAllocate', - 'FunctionCreate', - 'FunctionDeclarationInstantiation', - 'FunctionInitialize', - 'GeneratorFunctionCreate', - 'GeneratorResume', - 'GeneratorResumeAbrupt', - 'GeneratorStart', - 'GeneratorValidate', - 'GeneratorYield', - 'GetActiveScriptOrModule', - 'GetBase', - 'GetFunctionRealm', - 'GetGlobalObject', - 'GetIdentifierReference', - 'GetModifySetValueInBuffer', - 'GetModuleNamespace', - 'GetNewTarget', - 'GetReferencedName', - 'GetSuperConstructor', - 'GetTemplateObject', - 'GetThisEnvironment', - 'GetThisValue', - 'GetValue', - 'GetValueFromBuffer', - 'GetViewValue', - 'GetWaiterList', - 'GlobalDeclarationInstantiation', - 'happens-before', - 'HasPrimitiveBase', - 'host-synchronizes-with', - 'HostEnsureCanCompileStrings', - 'HostEventSet', - 'HostPromiseRejectionTracker', - 'HostReportErrors', - 'HostResolveImportedModule', - 'IfAbruptRejectPromise', - 'ImportedLocalNames', - 'InitializeBoundName', - 'InitializeHostDefinedRealm', - 'InitializeReferencedBinding', - 'IntegerIndexedElementGet', - 'IntegerIndexedElementSet', - 'IntegerIndexedObjectCreate', - 'InternalizeJSONProperty', - 'IsAnonymousFunctionDefinition', - 'IsCompatiblePropertyDescriptor', - 'IsDetachedBuffer', - 'IsInTailPosition', - 'IsLabelledFunction', - 'IsPropertyReference', - 'IsSharedArrayBuffer', - 'IsStrictReference', - 'IsSuperReference', - 'IsUnresolvableReference', - 'IsWordChar', - 'LeaveCriticalSection', - 'LocalTime', - 'LoopContinues', - 'MakeArgGetter', - 'MakeArgSetter', - 'MakeClassConstructor', - 'MakeConstructor', - 'MakeMethod', - 'MakeSuperPropertyReference', - 'max', - 'memory-order', - 'min', - 'ModuleNamespaceCreate', - 'NewDeclarativeEnvironment', - 'NewFunctionEnvironment', - 'NewGlobalEnvironment', - 'NewModuleEnvironment', - 'NewObjectEnvironment', - 'NewPromiseCapability', - 'NormalCompletion', - 'NumberToRawBytes', - 'ObjectDefineProperties', - 'OrdinaryCallBindThis', - 'OrdinaryCallEvaluateBody', - 'OrdinaryDelete', - 'OrdinaryGet', - 'OrdinaryIsExtensible', - 'OrdinaryOwnPropertyKeys', - 'OrdinaryPreventExtensions', - 'OrdinarySet', - 'OrdinaryToPrimitive', - 'ParseModule', - 'ParseScript', - 'PerformEval', - 'PerformPromiseAll', - 'PerformPromiseRace', - 'PerformPromiseThen', - 'PrepareForOrdinaryCall', - 'PrepareForTailCall', - 'PromiseReactionJob', - 'PromiseResolveThenableJob', - 'ProxyCreate', - 'PutValue', // takes a Reference - 'RawBytesToNumber', - 'reads-bytes-from', - 'reads-from', - 'RegExpAlloc', // creates a regex with uninitialized internal lots - 'RegExpBuiltinExec', - 'RegExpInitialize', // initializes allocated regex's internal slots - 'RejectPromise', - 'RemoveWaiter', - 'RemoveWaiters', - 'RepeatMatcher', - 'ResolveBinding', - 'ResolveThisBinding', - 'ReturnIfAbrupt', - 'RunJobs', - 'ScriptEvaluation', - 'ScriptEvaluationJob', - 'SerializeJSONArray', - 'SerializeJSONObject', - 'SerializeJSONProperty', - 'SetDefaultGlobalBindings', - 'SetImmutablePrototype', - 'SetRealmGlobalObject', - 'SetValueInBuffer', - 'SetViewValue', - 'SharedDataBlockEventSet', - 'SortCompare', // mystery access to `comparefn` arg - 'Suspend', - 'TopLevelModuleEvaluationJob', - 'ToString Applied to the Number Type', - 'TriggerPromiseReactions', - 'TypedArrayCreate', - 'TypedArraySpeciesCreate', - 'UpdateEmpty', // completion records - 'UTC', // depends on LocalTZA, DaylightSavingTA - 'ValidateAtomicAccess', - 'ValidateSharedIntegerTypedArray', - 'ValidateTypedArray', - 'ValueOfReadEvent', - 'WakeWaiter', - 'WordCharacters', // depends on Canonicalize - 'AddRestrictedFunctionProperties', - 'synchronizes-with' -]; - -require('./tests').es2017(boundES, ops, expectedMissing); - -require('./helpers/runManifestTest')(require('tape'), ES, 2017); diff --git a/node_modules/es-abstract/test/es2018.js b/node_modules/es-abstract/test/es2018.js deleted file mode 100644 index 112e95891..000000000 --- a/node_modules/es-abstract/test/es2018.js +++ /dev/null @@ -1,229 +0,0 @@ -'use strict'; - -var ES = require('../').ES2018; -var boundES = require('./helpers/createBoundESNamespace')(ES); - -var ops = require('../operations/2018'); - -var expectedMissing = [ - 'AddRestrictedFunctionProperties', - 'AddWaiter', - 'agent-order', - 'AgentCanSuspend', - 'AgentSignifier', - 'AllocateArrayBuffer', - 'AllocateSharedArrayBuffer', - 'AllocateTypedArray', - 'AllocateTypedArrayBuffer', - 'AsyncFunctionCreate', - 'AsyncFunctionStart', - 'AsyncGeneratorEnqueue', - 'AsyncGeneratorFunctionCreate', - 'AsyncGeneratorReject', - 'AsyncGeneratorResolve', - 'AsyncGeneratorResumeNext', - 'AsyncGeneratorStart', - 'AsyncGeneratorYield', - 'AsyncIteratorClose', - 'AtomicLoad', - 'AtomicReadModifyWrite', - 'Await', - 'BackreferenceMatcher', - 'BlockDeclarationInstantiation', - 'BoundFunctionCreate', - 'Canonicalize', - 'CaseClauseIsSelected', - 'CharacterRange', - 'CharacterRangeOrUnion', - 'CharacterSetMatcher', - 'CloneArrayBuffer', - 'Completion', - 'ComposeWriteEventBytes', - 'Construct', - 'CopyDataBlockBytes', - 'CreateArrayFromList', - 'CreateArrayIterator', - 'CreateAsyncFromSyncIterator', - 'CreateBuiltinFunction', - 'CreateByteDataBlock', - 'CreateDynamicFunction', - 'CreateIntrinsics', - 'CreateListIteratorRecord', - 'CreateMapIterator', - 'CreateMappedArgumentsObject', - 'CreatePerIterationEnvironment', - 'CreateRealm', - 'CreateResolvingFunctions', - 'CreateSetIterator', - 'CreateSharedByteDataBlock', - 'CreateStringIterator', - 'CreateUnmappedArgumentsObject', - 'Decode', - 'DetachArrayBuffer', - 'Encode', - 'EnqueueJob', - 'EnterCriticalSection', - 'EnumerateObjectProperties', - 'EscapeRegExpPattern', - 'EvalDeclarationInstantiation', - 'EvaluateCall', - 'EvaluateNew', - 'EventSet', - 'ForBodyEvaluation', - 'ForIn/OfBodyEvaluation', - 'ForIn/OfHeadEvaluation', - 'FulfillPromise', - 'FunctionAllocate', - 'FunctionCreate', - 'FunctionDeclarationInstantiation', - 'FunctionInitialize', - 'GeneratorFunctionCreate', - 'GeneratorResume', - 'GeneratorResumeAbrupt', - 'GeneratorStart', - 'GeneratorValidate', - 'GeneratorYield', - 'GetActiveScriptOrModule', - 'GetBase', - 'GetFunctionRealm', - 'GetGeneratorKind', - 'GetGlobalObject', - 'GetIdentifierReference', - 'GetModifySetValueInBuffer', - 'GetModuleNamespace', - 'GetNewTarget', - 'GetReferencedName', - 'GetSuperConstructor', - 'GetTemplateObject', - 'GetThisEnvironment', - 'GetThisValue', - 'GetValue', - 'GetValueFromBuffer', - 'GetViewValue', - 'GetWaiterList', - 'GlobalDeclarationInstantiation', - 'happens-before', - 'HasPrimitiveBase', - 'host-synchronizes-with', - 'HostEnsureCanCompileStrings', - 'HostEventSet', - 'HostPromiseRejectionTracker', - 'HostReportErrors', - 'HostResolveImportedModule', - 'IfAbruptRejectPromise', - 'ImportedLocalNames', - 'InitializeBoundName', - 'InitializeHostDefinedRealm', - 'InitializeReferencedBinding', - 'InnerModuleEvaluation', - 'InnerModuleInstantiation', - 'IntegerIndexedElementGet', - 'IntegerIndexedElementSet', - 'IntegerIndexedObjectCreate', - 'InternalizeJSONProperty', - 'IsAnonymousFunctionDefinition', - 'IsCompatiblePropertyDescriptor', - 'IsDetachedBuffer', - 'IsInTailPosition', - 'IsLabelledFunction', - 'IsPropertyReference', - 'IsSharedArrayBuffer', - 'IsStrictReference', - 'IsSuperReference', - 'IsUnresolvableReference', - 'IsWordChar', - 'LeaveCriticalSection', - 'LocalTime', - 'LoopContinues', - 'MakeArgGetter', - 'MakeArgSetter', - 'MakeClassConstructor', - 'MakeConstructor', - 'MakeMethod', - 'MakeSuperPropertyReference', - 'max', - 'memory-order', - 'min', - 'ModuleDeclarationEnvironmentSetup', - 'ModuleExecution', - 'ModuleNamespaceCreate', - 'NewDeclarativeEnvironment', - 'NewFunctionEnvironment', - 'NewGlobalEnvironment', - 'NewModuleEnvironment', - 'NewObjectEnvironment', - 'NewPromiseCapability', - 'NormalCompletion', - 'NumberToRawBytes', - 'ObjectDefineProperties', - 'OrdinaryCallBindThis', - 'OrdinaryCallEvaluateBody', - 'OrdinaryDelete', - 'OrdinaryGet', - 'OrdinaryIsExtensible', - 'OrdinaryOwnPropertyKeys', - 'OrdinaryPreventExtensions', - 'OrdinarySet', - 'OrdinarySetWithOwnDescriptor', - 'OrdinaryToPrimitive', - 'ParseModule', - 'ParseScript', - 'PerformEval', - 'PerformPromiseAll', - 'PerformPromiseRace', - 'PerformPromiseThen', - 'PrepareForOrdinaryCall', - 'PrepareForTailCall', - 'PromiseReactionJob', - 'PromiseResolveThenableJob', - 'ProxyCreate', - 'PutValue', // takes a Reference - 'RawBytesToNumber', - 'reads-bytes-from', - 'reads-from', - 'RegExpAlloc', // creates a regex with uninitialized internal lots - 'RegExpBuiltinExec', - 'RegExpInitialize', // initializes allocated regex's internal slots - 'RejectPromise', - 'RemoveWaiter', - 'RemoveWaiters', - 'RepeatMatcher', - 'ResolveBinding', - 'ResolveThisBinding', - 'ReturnIfAbrupt', - 'RunJobs', - 'ScriptEvaluation', - 'ScriptEvaluationJob', - 'SerializeJSONArray', - 'SerializeJSONObject', - 'SerializeJSONProperty', - 'SetDefaultGlobalBindings', - 'SetImmutablePrototype', - 'SetRealmGlobalObject', - 'SetValueInBuffer', - 'SetViewValue', - 'SharedDataBlockEventSet', - 'SortCompare', // mystery access to `comparefn` arg - 'Suspend', - 'synchronizes-with', - 'ThrowCompletion', - 'TimeZoneString', - 'TopLevelModuleEvaluationJob', - 'TriggerPromiseReactions', - 'TypedArrayCreate', - 'TypedArraySpeciesCreate', - 'UnicodeMatchProperty', - 'UnicodeMatchPropertyValue', - 'UpdateEmpty', // completion records - 'UTC', // depends on LocalTZA - 'ValidateAtomicAccess', - 'ValidateSharedIntegerTypedArray', - 'ValidateTypedArray', - 'ValueOfReadEvent', - 'WakeWaiter', - 'WordCharacters' // depends on Canonicalize -]; - -require('./tests').es2018(boundES, ops, expectedMissing); - -require('./helpers/runManifestTest')(require('tape'), ES, 2018); diff --git a/node_modules/es-abstract/test/es2019.js b/node_modules/es-abstract/test/es2019.js deleted file mode 100644 index a7cc84af5..000000000 --- a/node_modules/es-abstract/test/es2019.js +++ /dev/null @@ -1,231 +0,0 @@ -'use strict'; - -var ES = require('../').ES2019; -var boundES = require('./helpers/createBoundESNamespace')(ES); - -var ops = require('../operations/2019'); - -var expectedMissing = [ - 'AddRestrictedFunctionProperties', - 'AddWaiter', - 'agent-order', - 'AgentCanSuspend', - 'AgentSignifier', - 'AllocateArrayBuffer', - 'AllocateSharedArrayBuffer', - 'AllocateTypedArray', - 'AllocateTypedArrayBuffer', - 'AsyncFromSyncIteratorContinuation', - 'AsyncFunctionCreate', - 'AsyncFunctionStart', - 'AsyncGeneratorEnqueue', - 'AsyncGeneratorFunctionCreate', - 'AsyncGeneratorReject', - 'AsyncGeneratorResolve', - 'AsyncGeneratorResumeNext', - 'AsyncGeneratorStart', - 'AsyncGeneratorYield', - 'AsyncIteratorClose', - 'AtomicLoad', - 'AtomicReadModifyWrite', - 'Await', - 'BackreferenceMatcher', - 'BlockDeclarationInstantiation', - 'BoundFunctionCreate', - 'Canonicalize', - 'CaseClauseIsSelected', - 'CharacterRange', - 'CharacterRangeOrUnion', - 'CharacterSetMatcher', - 'CloneArrayBuffer', - 'Completion', - 'ComposeWriteEventBytes', - 'Construct', - 'CopyDataBlockBytes', - 'CreateArrayFromList', - 'CreateArrayIterator', - 'CreateAsyncFromSyncIterator', - 'CreateBuiltinFunction', - 'CreateByteDataBlock', - 'CreateDynamicFunction', - 'CreateIntrinsics', - 'CreateListIteratorRecord', - 'CreateMapIterator', - 'CreateMappedArgumentsObject', - 'CreatePerIterationEnvironment', - 'CreateRealm', - 'CreateResolvingFunctions', - 'CreateSetIterator', - 'CreateSharedByteDataBlock', - 'CreateStringIterator', - 'CreateUnmappedArgumentsObject', - 'Decode', - 'DetachArrayBuffer', - 'Encode', - 'EnqueueJob', - 'EnterCriticalSection', - 'EnumerateObjectProperties', - 'EscapeRegExpPattern', - 'EvalDeclarationInstantiation', - 'EvaluateCall', - 'EvaluateNew', - 'EventSet', - 'ExecuteModule', - 'ForBodyEvaluation', - 'ForIn/OfBodyEvaluation', - 'ForIn/OfHeadEvaluation', - 'FulfillPromise', - 'FunctionAllocate', - 'FunctionCreate', - 'FunctionDeclarationInstantiation', - 'FunctionInitialize', - 'GeneratorFunctionCreate', - 'GeneratorResume', - 'GeneratorResumeAbrupt', - 'GeneratorStart', - 'GeneratorValidate', - 'GeneratorYield', - 'GetActiveScriptOrModule', - 'GetBase', - 'GetFunctionRealm', - 'GetGeneratorKind', - 'GetGlobalObject', - 'GetIdentifierReference', - 'GetModifySetValueInBuffer', - 'GetModuleNamespace', - 'GetNewTarget', - 'GetReferencedName', - 'GetSuperConstructor', - 'GetTemplateObject', - 'GetThisEnvironment', - 'GetThisValue', - 'GetValue', - 'GetValueFromBuffer', - 'GetViewValue', - 'GetWaiterList', - 'GlobalDeclarationInstantiation', - 'happens-before', - 'HasPrimitiveBase', - 'host-synchronizes-with', - 'HostEnsureCanCompileStrings', - 'HostEventSet', - 'HostPromiseRejectionTracker', - 'HostReportErrors', - 'HostResolveImportedModule', - 'IfAbruptRejectPromise', - 'ImportedLocalNames', - 'InitializeBoundName', - 'InitializeEnvironment', - 'InitializeHostDefinedRealm', - 'InitializeReferencedBinding', - 'InnerModuleEvaluation', - 'InnerModuleInstantiation', - 'IntegerIndexedElementGet', - 'IntegerIndexedElementSet', - 'IntegerIndexedObjectCreate', - 'InternalizeJSONProperty', - 'IsAnonymousFunctionDefinition', - 'IsCompatiblePropertyDescriptor', - 'IsDetachedBuffer', - 'IsInTailPosition', - 'IsLabelledFunction', - 'IsPropertyReference', - 'IsSharedArrayBuffer', - 'IsStrictReference', - 'IsSuperReference', - 'IsUnresolvableReference', - 'IsWordChar', - 'LeaveCriticalSection', - 'LocalTime', - 'LoopContinues', - 'MakeArgGetter', - 'MakeArgSetter', - 'MakeClassConstructor', - 'MakeConstructor', - 'MakeMethod', - 'MakeSuperPropertyReference', - 'max', - 'memory-order', - 'min', - 'ModuleNamespaceCreate', - 'NewDeclarativeEnvironment', - 'NewFunctionEnvironment', - 'NewGlobalEnvironment', - 'NewModuleEnvironment', - 'NewObjectEnvironment', - 'NewPromiseCapability', - 'NormalCompletion', - 'NotifyWaiter', - 'NumberToRawBytes', - 'ObjectDefineProperties', - 'OrdinaryCallBindThis', - 'OrdinaryCallEvaluateBody', - 'OrdinaryDelete', - 'OrdinaryGet', - 'OrdinaryIsExtensible', - 'OrdinaryOwnPropertyKeys', - 'OrdinaryPreventExtensions', - 'OrdinarySet', - 'OrdinarySetWithOwnDescriptor', - 'OrdinaryToPrimitive', - 'ParseModule', - 'ParseScript', - 'PerformEval', - 'PerformPromiseAll', - 'PerformPromiseRace', - 'PerformPromiseThen', - 'PrepareForOrdinaryCall', - 'PrepareForTailCall', - 'PromiseReactionJob', - 'PromiseResolveThenableJob', - 'ProxyCreate', - 'PutValue', // takes a Reference - 'RawBytesToNumber', - 'reads-bytes-from', - 'reads-from', - 'RegExpAlloc', // creates a regex with uninitialized internal lots - 'RegExpBuiltinExec', - 'RegExpInitialize', // initializes allocated regex's internal slots - 'RejectPromise', - 'RemoveWaiter', - 'RemoveWaiters', - 'RepeatMatcher', - 'ResolveBinding', - 'ResolveThisBinding', - 'ReturnIfAbrupt', - 'RunJobs', - 'ScriptEvaluation', - 'ScriptEvaluationJob', - 'SerializeJSONArray', - 'SerializeJSONObject', - 'SerializeJSONProperty', - 'SetDefaultGlobalBindings', - 'SetImmutablePrototype', - 'SetRealmGlobalObject', - 'SetValueInBuffer', - 'SetViewValue', - 'SharedDataBlockEventSet', - 'SortCompare', // mystery access to `comparefn` arg - 'Suspend', - 'SynchronizeEventSet', - 'synchronizes-with', - 'ThrowCompletion', - 'TimeZoneString', - 'TopLevelModuleEvaluationJob', - 'TriggerPromiseReactions', - 'TypedArrayCreate', - 'TypedArraySpeciesCreate', - 'UnicodeMatchProperty', - 'UnicodeMatchPropertyValue', - 'UpdateEmpty', // completion records - 'UTC', // depends on LocalTZA - 'ValidateAtomicAccess', - 'ValidateSharedIntegerTypedArray', - 'ValidateTypedArray', - 'ValueOfReadEvent', - 'WordCharacters' // depends on Canonicalize -]; - -require('./tests').es2019(boundES, ops, expectedMissing); - -require('./helpers/runManifestTest')(require('tape'), ES, 2019); diff --git a/node_modules/es-abstract/test/es2020.js b/node_modules/es-abstract/test/es2020.js deleted file mode 100644 index 83f0b3ae0..000000000 --- a/node_modules/es-abstract/test/es2020.js +++ /dev/null @@ -1,240 +0,0 @@ -'use strict'; - -var ES = require('../').ES2020; -var boundES = require('./helpers/createBoundESNamespace')(ES); - -var ops = require('../operations/2020'); - -var expectedMissing = [ - 'AddRestrictedFunctionProperties', - 'AddWaiter', - 'agent-order', - 'AgentCanSuspend', - 'AgentSignifier', - 'AllocateArrayBuffer', - 'AllocateSharedArrayBuffer', - 'AllocateTypedArray', - 'AllocateTypedArrayBuffer', - 'AsyncFromSyncIteratorContinuation', - 'AsyncFunctionStart', - 'AsyncGeneratorEnqueue', - 'AsyncGeneratorReject', - 'AsyncGeneratorResolve', - 'AsyncGeneratorResumeNext', - 'AsyncGeneratorStart', - 'AsyncGeneratorYield', - 'AsyncIteratorClose', - 'AtomicLoad', - 'AtomicReadModifyWrite', - 'Await', - 'BackreferenceMatcher', - 'BlockDeclarationInstantiation', - 'BoundFunctionCreate', - 'Canonicalize', - 'CaseClauseIsSelected', - 'CharacterRange', - 'CharacterRangeOrUnion', - 'CharacterSetMatcher', - 'CloneArrayBuffer', - 'Completion', - 'ComposeWriteEventBytes', - 'Construct', - 'CopyDataBlockBytes', - 'CreateArrayFromList', - 'CreateArrayIterator', - 'CreateAsyncFromSyncIterator', - 'CreateBuiltinFunction', - 'CreateByteDataBlock', - 'CreateDynamicFunction', - 'CreateForInIterator', - 'CreateIntrinsics', - 'CreateListIteratorRecord', - 'CreateMapIterator', - 'CreateMappedArgumentsObject', - 'CreatePerIterationEnvironment', - 'CreateRealm', - 'CreateRegExpStringIterator', - 'CreateResolvingFunctions', - 'CreateSetIterator', - 'CreateSharedByteDataBlock', - 'CreateStringIterator', - 'CreateUnmappedArgumentsObject', - 'Decode', - 'DetachArrayBuffer', - 'Encode', - 'EnterCriticalSection', - 'EnumerateObjectProperties', - 'EscapeRegExpPattern', - 'EvalDeclarationInstantiation', - 'EvaluateCall', - 'EvaluateNew', - 'EvaluatePropertyAccessWithExpressionKey', - 'EvaluatePropertyAccessWithIdentifierKey', - 'EventSet', - 'ExecuteModule', - 'FinishDynamicImport', - 'ForBodyEvaluation', - 'ForIn/OfBodyEvaluation', - 'ForIn/OfHeadEvaluation', - 'FulfillPromise', - 'FunctionDeclarationInstantiation', - 'GeneratorResume', - 'GeneratorResumeAbrupt', - 'GeneratorStart', - 'GeneratorValidate', - 'GeneratorYield', - 'GetActiveScriptOrModule', - 'GetBase', - 'GetFunctionRealm', - 'GetGeneratorKind', - 'GetGlobalObject', - 'GetIdentifierReference', - 'GetModifySetValueInBuffer', - 'GetModuleNamespace', - 'GetNewTarget', - 'GetReferencedName', - 'GetSuperConstructor', - 'GetTemplateObject', - 'GetThisEnvironment', - 'GetThisValue', - 'GetValue', - 'GetValueFromBuffer', - 'GetViewValue', - 'GetWaiterList', - 'GlobalDeclarationInstantiation', - 'happens-before', - 'HasPrimitiveBase', - 'host-synchronizes-with', - 'HostEnqueuePromiseJob', - 'HostEnsureCanCompileStrings', - 'HostEventSet', - 'HostFinalizeImportMeta', - 'HostGetImportMetaProperties', - 'HostImportModuleDynamically', - 'HostPromiseRejectionTracker', - 'HostResolveImportedModule', - 'IfAbruptRejectPromise', - 'ImportedLocalNames', - 'InitializeBoundName', - 'InitializeEnvironment', - 'InitializeHostDefinedRealm', - 'InitializeReferencedBinding', - 'InnerModuleEvaluation', - 'InnerModuleLinking', - 'IntegerIndexedElementGet', - 'IntegerIndexedElementSet', - 'IntegerIndexedObjectCreate', - 'InternalizeJSONProperty', - 'IsAnonymousFunctionDefinition', - 'IsCompatiblePropertyDescriptor', - 'IsDetachedBuffer', - 'IsInTailPosition', - 'IsLabelledFunction', - 'IsPropertyReference', - 'IsSharedArrayBuffer', - 'IsStrictReference', - 'IsSuperReference', - 'IsUnresolvableReference', - 'IsValidIntegerIndex', - 'IsValidRegularExpressionLiteral', - 'IsWordChar', - 'LeaveCriticalSection', - 'LocalTime', - 'LocalTZA', - 'LoopContinues', - 'MakeArgGetter', - 'MakeArgSetter', - 'MakeBasicObject', - 'MakeClassConstructor', - 'MakeConstructor', - 'MakeMethod', - 'MakeSuperPropertyReference', - 'max', - 'memory-order', - 'min', - 'ModuleNamespaceCreate', - 'NewDeclarativeEnvironment', - 'NewFunctionEnvironment', - 'NewGlobalEnvironment', - 'NewModuleEnvironment', - 'NewObjectEnvironment', - 'NewPromiseCapability', - 'NewPromiseReactionJob', - 'NewPromiseResolveThenableJob', - 'NormalCompletion', - 'NotifyWaiter', - 'NumericToRawBytes', - 'ObjectDefineProperties', - 'OrdinaryCallBindThis', - 'OrdinaryCallEvaluateBody', - 'OrdinaryDelete', - 'OrdinaryFunctionCreate', - 'OrdinaryGet', - 'OrdinaryIsExtensible', - 'OrdinaryOwnPropertyKeys', - 'OrdinaryPreventExtensions', - 'OrdinarySet', - 'OrdinarySetWithOwnDescriptor', - 'OrdinaryToPrimitive', - 'ParseModule', - 'ParseScript', - 'PerformEval', - 'PerformPromiseAll', - 'PerformPromiseAllSettled', - 'PerformPromiseRace', - 'PerformPromiseThen', - 'PrepareForOrdinaryCall', - 'PrepareForTailCall', - 'ProxyCreate', - 'PutValue', // takes a Reference - 'RawBytesToNumeric', - 'reads-bytes-from', - 'reads-from', - 'RegExpAlloc', // creates a regex with uninitialized internal lots - 'RegExpBuiltinExec', - 'RegExpInitialize', // initializes allocated regex's internal slots - 'RejectPromise', - 'RemoveWaiter', - 'RemoveWaiters', - 'RepeatMatcher', - 'RequireInternalSlot', - 'ResolveBinding', - 'ResolveThisBinding', - 'ReturnIfAbrupt', - 'ScriptEvaluation', - 'SerializeJSONArray', - 'SerializeJSONObject', - 'SerializeJSONProperty', - 'SetDefaultGlobalBindings', - 'SetImmutablePrototype', - 'SetRealmGlobalObject', - 'SetValueInBuffer', - 'SetViewValue', - 'SharedDataBlockEventSet', - 'SortCompare', // mystery access to `comparefn` arg - 'StringToBigInt', - 'Suspend', - 'synchronizes-with', - 'ThrowCompletion', - 'TimeZoneString', - 'ToBigInt', - 'ToBigInt64', - 'ToBigUint64', - 'TriggerPromiseReactions', - 'TypedArrayCreate', - 'TypedArraySpeciesCreate', - 'UnicodeMatchProperty', - 'UnicodeMatchPropertyValue', - 'UpdateEmpty', // completion records - 'UTC', // depends on LocalTZA - 'UTF16Encode', - 'ValidateAtomicAccess', - 'ValidateSharedIntegerTypedArray', - 'ValidateTypedArray', - 'ValueOfReadEvent', - 'WordCharacters' // depends on Canonicalize -]; - -require('./tests').es2020(boundES, ops, expectedMissing); - -require('./helpers/runManifestTest')(require('tape'), ES, 2020); diff --git a/node_modules/es-abstract/test/es5.js b/node_modules/es-abstract/test/es5.js deleted file mode 100644 index c4033f673..000000000 --- a/node_modules/es-abstract/test/es5.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var ES = require('../').ES5; -var boundES = require('./helpers/createBoundESNamespace')(ES); - -var ops = require('../operations/es5'); - -var expectedMissing = [ - 'SplitMatch' -]; - -require('./tests').es5(boundES, ops, expectedMissing); - -require('./helpers/runManifestTest')(require('tape'), ES, 5); diff --git a/node_modules/es-abstract/test/es6.js b/node_modules/es-abstract/test/es6.js deleted file mode 100644 index e7c9d98a2..000000000 --- a/node_modules/es-abstract/test/es6.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var test = require('tape'); - -var ES = require('../'); -var ES6 = ES.ES6; -var ES2015 = ES.ES2015; -var ES6entry = require('../es6'); - -test('legacy es6 export', function (t) { - t.equal(ES6, ES2015, 'main ES6 === main ES2015'); - t.end(); -}); - -test('legacy es6 entry point', function (t) { - t.equal(ES6, ES6entry, 'main ES6 === ES6 entry point'); - t.end(); -}); diff --git a/node_modules/es-abstract/test/es7.js b/node_modules/es-abstract/test/es7.js deleted file mode 100644 index ee57e153b..000000000 --- a/node_modules/es-abstract/test/es7.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var test = require('tape'); - -var ES = require('../'); -var ES7 = ES.ES7; -var ES2016 = ES.ES2016; -var ES7entry = require('../es7'); - -test('legacy es7 export', function (t) { - t.equal(ES7, ES2016, 'main ES7 === main ES2016'); - t.end(); -}); - -test('legacy es7 entry point', function (t) { - t.equal(ES7, ES7entry, 'main ES7 === ES7 entry point'); - t.end(); -}); diff --git a/node_modules/es-abstract/test/helpers/OwnPropertyKeys.js b/node_modules/es-abstract/test/helpers/OwnPropertyKeys.js deleted file mode 100644 index 9c2b4fc44..000000000 --- a/node_modules/es-abstract/test/helpers/OwnPropertyKeys.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -var test = require('tape'); -var hasSymbols = require('has-symbols')(); - -var OwnPropertyKeys = require('../../helpers/OwnPropertyKeys'); -var defineProperty = require('./defineProperty'); - -test('OwnPropertyKeys', function (t) { - t.deepEqual(OwnPropertyKeys({ a: 1, b: 2 }).sort(), ['a', 'b'].sort(), 'returns own string keys'); - - t.test('Symbols', { skip: !hasSymbols }, function (st) { - var o = { a: 1 }; - var sym = Symbol(); - o[sym] = 2; - - st.deepEqual(OwnPropertyKeys(o), ['a', sym], 'returns own string and symbol keys'); - - st.end(); - }); - - t.test('non-enumerables', { skip: !defineProperty.oDP }, function (st) { - var o = { a: 1, b: 42, c: NaN }; - defineProperty(o, 'b', { enumerable: false, value: 42 }); - defineProperty(o, 'c', { enumerable: false, get: function () { return NaN; } }); - - if (hasSymbols) { - defineProperty(o, 'd', { enumerable: false, value: true }); - defineProperty(o, 'e', { enumerable: false, get: function () { return true; } }); - } - - st.deepEqual( - OwnPropertyKeys(o).sort(), - (hasSymbols ? ['a', 'b', 'c', 'd', 'e'] : ['a', 'b', 'c']).sort(), - 'returns non-enumerable own keys, including accessors and symbols if available' - ); - - st.end(); - }); - - t.end(); -}); diff --git a/node_modules/es-abstract/test/helpers/assertRecord.js b/node_modules/es-abstract/test/helpers/assertRecord.js deleted file mode 100644 index 02311013f..000000000 --- a/node_modules/es-abstract/test/helpers/assertRecord.js +++ /dev/null @@ -1,60 +0,0 @@ -'use strict'; - -var forEach = require('foreach'); -var debug = require('object-inspect'); - -var assertRecord = require('../../helpers/assertRecord'); -var v = require('es-value-fixtures'); - -module.exports = function assertRecordTests(ES, test) { - test('Property Descriptor', function (t) { - var record = 'Property Descriptor'; - - forEach(v.nonUndefinedPrimitives, function (primitive) { - t['throws']( - function () { assertRecord(ES.Type, record, 'arg', primitive); }, - TypeError, - debug(primitive) + ' is not a Property Descriptor' - ); - }); - - t['throws']( - function () { assertRecord(ES.Type, record, 'arg', { invalid: true }); }, - TypeError, - 'invalid keys not allowed on a Property Descriptor' - ); - - t.doesNotThrow( - function () { assertRecord(ES.Type, record, 'arg', {}); }, - 'empty object is an incomplete Property Descriptor' - ); - - t.doesNotThrow( - function () { assertRecord(ES.Type, record, 'arg', v.accessorDescriptor()); }, - 'accessor descriptor is a Property Descriptor' - ); - - t.doesNotThrow( - function () { assertRecord(ES.Type, record, 'arg', v.mutatorDescriptor()); }, - 'mutator descriptor is a Property Descriptor' - ); - - t.doesNotThrow( - function () { assertRecord(ES.Type, record, 'arg', v.dataDescriptor()); }, - 'data descriptor is a Property Descriptor' - ); - - t.doesNotThrow( - function () { assertRecord(ES.Type, record, 'arg', v.genericDescriptor()); }, - 'generic descriptor is a Property Descriptor' - ); - - t['throws']( - function () { assertRecord(ES.Type, record, 'arg', v.bothDescriptor()); }, - TypeError, - 'a Property Descriptor can not be both a Data and an Accessor Descriptor' - ); - - t.end(); - }); -}; diff --git a/node_modules/es-abstract/test/helpers/createBoundESNamespace.js b/node_modules/es-abstract/test/helpers/createBoundESNamespace.js deleted file mode 100644 index 0150404d9..000000000 --- a/node_modules/es-abstract/test/helpers/createBoundESNamespace.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var bind = require('function-bind'); - -var OwnPropertyKeys = require('../../helpers/OwnPropertyKeys'); - -module.exports = function createBoundESNamespace(ES) { - var keys = OwnPropertyKeys(ES); - var result = {}; - - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var prop = ES[key]; - if (typeof prop === 'function') { - prop = bind.call(prop, undefined); - } else if (prop && typeof prop === 'object') { - prop = createBoundESNamespace(prop); - } - result[key] = prop; - } - - return result; -}; diff --git a/node_modules/es-abstract/test/helpers/defineProperty.js b/node_modules/es-abstract/test/helpers/defineProperty.js deleted file mode 100644 index 03102a839..000000000 --- a/node_modules/es-abstract/test/helpers/defineProperty.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('../../GetIntrinsic'); - -var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); - -if ($defineProperty) { - try { - $defineProperty({}, 'a', { value: 1 }); - } catch (e) { - // IE 8 has a broken defineProperty - $defineProperty = null; - } -} - -module.exports = function defineProperty(O, P, Desc) { - if ($defineProperty) { - return $defineProperty(O, P, Desc); - } - if ((Desc.enumerable && Desc.configurable && Desc.writable) || !(P in O)) { - O[P] = Desc.value; // eslint-disable-line no-param-reassign - return O; - } - - throw new SyntaxError('helper does not yet support this configuration'); -}; -module.exports.oDP = $defineProperty; diff --git a/node_modules/es-abstract/test/helpers/getSymbolDescription.js b/node_modules/es-abstract/test/helpers/getSymbolDescription.js deleted file mode 100644 index 05be3bbbf..000000000 --- a/node_modules/es-abstract/test/helpers/getSymbolDescription.js +++ /dev/null @@ -1,67 +0,0 @@ -'use strict'; - -var test = require('tape'); -var debug = require('object-inspect'); -var forEach = require('foreach'); -var has = require('has'); - -var v = require('es-value-fixtures'); -var getSymbolDescription = require('../../helpers/getSymbolDescription'); -var getInferredName = require('../../helpers/getInferredName'); - -test('getSymbolDescription', function (t) { - t.test('no symbols', { skip: v.hasSymbols }, function (st) { - st['throws']( - getSymbolDescription, - SyntaxError, - 'requires Symbol support' - ); - - st.end(); - }); - - forEach(v.nonSymbolPrimitives.concat(v.objects), function (nonSymbol) { - t['throws']( - function () { getSymbolDescription(nonSymbol); }, - v.hasSymbols ? TypeError : SyntaxError, - debug(nonSymbol) + ' is not a Symbol' - ); - }); - - t.test('with symbols', { skip: !v.hasSymbols }, function (st) { - forEach( - [ - [Symbol(), undefined], - [Symbol(undefined), undefined], - [Symbol(null), 'null'], - [Symbol.iterator, 'Symbol.iterator'], - [Symbol('foo'), 'foo'] - ], - function (pair) { - var sym = pair[0]; - var desc = pair[1]; - st.equal(getSymbolDescription(sym), desc, debug(sym) + ' description is ' + debug(desc)); - } - ); - - st.test('only possible when inference or native `Symbol.prototype.description` is supported', { - skip: !getInferredName && !has(Symbol.prototype, 'description') - }, function (s2t) { - s2t.equal(getSymbolDescription(Symbol('')), '', 'Symbol("") description is ""'); - - s2t.end(); - }); - - st.test('only possible when global symbols are supported', { - skip: !has(Symbol, 'for') || !has(Symbol, 'keyFor') - }, function (s2t) { - // eslint-disable-next-line no-restricted-properties - s2t.equal(getSymbolDescription(Symbol['for']('')), '', 'Symbol.for("") description is ""'); - s2t.end(); - }); - - st.end(); - }); - - t.end(); -}); diff --git a/node_modules/es-abstract/test/helpers/index.js b/node_modules/es-abstract/test/helpers/index.js deleted file mode 100644 index 4260bc2f5..000000000 --- a/node_modules/es-abstract/test/helpers/index.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -require('./getSymbolDescription'); -require('./isByteValue'); -require('./isCodePoint'); -require('./OwnPropertyKeys'); diff --git a/node_modules/es-abstract/test/helpers/isByteValue.js b/node_modules/es-abstract/test/helpers/isByteValue.js deleted file mode 100644 index f89491024..000000000 --- a/node_modules/es-abstract/test/helpers/isByteValue.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var test = require('tape'); -var forEach = require('foreach'); -var debug = require('object-inspect'); - -var isByteValue = require('../../helpers/isByteValue'); -var v = require('es-value-fixtures'); - -test('isByteValue', function (t) { - forEach([].concat( - v.notNonNegativeIntegers, - -1, - -42, - -Infinity, - Infinity, - v.nonIntegerNumbers - ), function (nonByteValue) { - t.equal(isByteValue(nonByteValue), false, debug(nonByteValue) + ' is not a byte value'); - }); - - for (var i = 0; i <= 255; i += 1) { - t.equal(isByteValue(i), true, i + ' is a byte value'); - } - t.equal(isByteValue(256), false, '256 is not a byte value'); - - t.end(); -}); diff --git a/node_modules/es-abstract/test/helpers/isCodePoint.js b/node_modules/es-abstract/test/helpers/isCodePoint.js deleted file mode 100644 index 9106615a5..000000000 --- a/node_modules/es-abstract/test/helpers/isCodePoint.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var test = require('tape'); -var forEach = require('foreach'); -var debug = require('object-inspect'); - -var isCodePoint = require('../../helpers/isCodePoint'); -var v = require('es-value-fixtures'); - -test('isCodePoint', function (t) { - forEach(v.notNonNegativeIntegers.concat(0x10FFFF + 1), function (nonCodePoints) { - t.equal(isCodePoint(nonCodePoints), false, debug(nonCodePoints) + ' is not a Code Point'); - }); - - forEach([-0, 0, 1, 7, 42, 0x10FFFF], function (codePoint) { - t.equal(isCodePoint(codePoint), true, debug(codePoint) + ' is a Code Point'); - }); - - t.end(); -}); diff --git a/node_modules/es-abstract/test/helpers/runManifestTest.js b/node_modules/es-abstract/test/helpers/runManifestTest.js deleted file mode 100644 index 2fdb4f216..000000000 --- a/node_modules/es-abstract/test/helpers/runManifestTest.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var path = require('path'); -var fs = require('fs'); - -var forEach = require('foreach'); -var keys = require('object-keys'); - -module.exports = function runManifestTest(test, ES, edition) { - test('ES' + edition + ' manifest', { skip: !fs.readdirSync }, function (t) { - var files = fs.readdirSync(path.join(__dirname, '../../' + edition), 'utf-8'); - var map = { - AbstractEqualityComparison: 'Abstract Equality Comparison', - AbstractRelationalComparison: 'Abstract Relational Comparison', - StrictEqualityComparison: 'Strict Equality Comparison' - }; - forEach(files, function (file) { - var name = path.basename(file, path.extname(file)); - var actual = ES[map[name] || name]; - var expected = require(path.join(__dirname, '../../' + edition + '/', file)); // eslint-disable-line global-require - t.equal(actual, expected, 'ES["' + name + '"] === ' + file); - }); - var actualCount = keys(ES).length; - t.equal(actualCount, files.length, 'expected ' + files.length + ' files, got ' + actualCount); - t.end(); - }); -}; diff --git a/node_modules/es-abstract/test/index.js b/node_modules/es-abstract/test/index.js deleted file mode 100644 index 5ebe3dbcc..000000000 --- a/node_modules/es-abstract/test/index.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var ES = require('../'); -var test = require('tape'); -var keys = require('object-keys'); -var forEach = require('foreach'); - -var ESkeys = keys(ES).sort(); -var ES6keys = keys(ES.ES6).sort(); - -test('exposed properties', function (t) { - t.deepEqual(ESkeys, ES6keys.concat(['ES2020', 'ES2019', 'ES2018', 'ES2017', 'ES7', 'ES2016', 'ES6', 'ES2015', 'ES5']).sort(), 'main ES object keys match ES6 keys'); - t.end(); -}); - -test('methods match', function (t) { - forEach(ES6keys, function (key) { - t.equal(ES.ES6[key], ES[key], 'method ' + key + ' on main ES object is ES6 method'); - }); - t.end(); -}); - -require('./GetIntrinsic'); - -require('./helpers'); - -require('./es5'); -require('./es6'); -require('./es2015'); -require('./es7'); -require('./es2016'); -require('./es2017'); -require('./es2018'); -require('./es2019'); -require('./es2020'); diff --git a/node_modules/es-abstract/test/ses-compat.js b/node_modules/es-abstract/test/ses-compat.js deleted file mode 100644 index c3e60f4ae..000000000 --- a/node_modules/es-abstract/test/ses-compat.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -/* globals lockdown */ -require('ses'); - -lockdown({ errorTaming: 'unsafe' }); - -require('.'); diff --git a/node_modules/es-abstract/test/tests.js b/node_modules/es-abstract/test/tests.js deleted file mode 100644 index e3ec4003a..000000000 --- a/node_modules/es-abstract/test/tests.js +++ /dev/null @@ -1,6962 +0,0 @@ -'use strict'; - -var tape = require('tape'); - -var forEach = require('foreach'); -var debug = require('object-inspect'); -var assign = require('object.assign'); -var keys = require('object-keys'); -var has = require('has'); -var arrowFns = require('make-arrow-function').list(); -var hasStrictMode = require('has-strict-mode')(); -var functionsHaveNames = require('functions-have-names')(); -var functionsHaveConfigurableNames = require('functions-have-names').functionsHaveConfigurableNames(); -var hasBigInts = require('has-bigints')(); - -var $getProto = require('../helpers/getProto'); -var $setProto = require('../helpers/setProto'); -var defineProperty = require('./helpers/defineProperty'); -var getInferredName = require('../helpers/getInferredName'); -var getOwnPropertyDescriptor = require('../helpers/getOwnPropertyDescriptor'); -var assertRecordTests = require('./helpers/assertRecord'); -var v = require('es-value-fixtures'); -var diffOps = require('./diffOps'); - -var $BigInt = hasBigInts ? BigInt : null; - -var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; - -var canDistinguishSparseFromUndefined = 0 in [undefined]; // IE 6 - 8 have a bug where this returns false - -// IE 9 does not throw in strict mode when writability/configurability/extensibility is violated -var noThrowOnStrictViolation = (function () { - try { - delete [].length; - return true; - } catch (e) { - } - return false; -}()); - -var makeTest = function makeTest(skips) { - return function test(opName, maybeOpts, maybeCb) { - var origOpts = arguments.length > 2 ? maybeOpts : {}; - var opts = assign( - {}, - origOpts, - { skip: (skips && skips[opName]) || origOpts.skip } - ); - var cb = arguments.length > 2 ? maybeCb : maybeOpts; - return tape(opName, opts, cb); - }; -}; - -var leadingPoo = '\uD83D'; -var trailingPoo = '\uDCA9'; -var wholePoo = leadingPoo + trailingPoo; - -var getArraySubclassWithSpeciesConstructor = function getArraySubclass(speciesConstructor) { - var Bar = function Bar() { - var inst = []; - Object.setPrototypeOf(inst, Bar.prototype); - defineProperty(inst, 'constructor', { value: Bar }); - return inst; - }; - Bar.prototype = Object.create(Array.prototype); - Object.setPrototypeOf(Bar, Array); - defineProperty(Bar, Symbol.species, { value: speciesConstructor }); - - return Bar; -}; - -var testIterator = function (t, iterator, expected) { - var resultCount = 0; - var result; - while (result = iterator.next(), !result.done) { // eslint-disable-line no-sequences - t.deepEqual(result, { done: false, value: expected[resultCount] }, 'result ' + resultCount); - resultCount += 1; - } - t.equal(resultCount, expected.length, 'expected ' + expected.length + ', got ' + resultCount); -}; - -var hasSpecies = v.hasSymbols && Symbol.species; - -var hasLastIndex = 'lastIndex' in (/a/).exec('a'); // IE 8 -var hasGroups = 'groups' in (/a/).exec('a'); // modern engines -var kludgeMatch = function kludgeMatch(R, matchObject) { - if (hasGroups) { - assign(matchObject, { groups: matchObject.groups }); - } - if (hasLastIndex) { - assign(matchObject, { lastIndex: R.lastIndex }); - } - return matchObject; -}; - -var testEnumerableOwnNames = function (t, enumerableOwnNames) { - forEach(v.primitives, function (nonObject) { - t['throws']( - function () { enumerableOwnNames(nonObject); }, - debug(nonObject) + ' is not an Object' - ); - }); - - var Child = function Child() { - this.own = {}; - }; - Child.prototype = { - inherited: {} - }; - - var obj = new Child(); - - t.equal('own' in obj, true, 'has "own"'); - t.equal(has(obj, 'own'), true, 'has own "own"'); - t.equal(Object.prototype.propertyIsEnumerable.call(obj, 'own'), true, 'has enumerable "own"'); - - t.equal('inherited' in obj, true, 'has "inherited"'); - t.equal(has(obj, 'inherited'), false, 'has non-own "inherited"'); - t.equal(has(Child.prototype, 'inherited'), true, 'Child.prototype has own "inherited"'); - t.equal(Child.prototype.inherited, obj.inherited, 'Child.prototype.inherited === obj.inherited'); - t.equal(Object.prototype.propertyIsEnumerable.call(Child.prototype, 'inherited'), true, 'has enumerable "inherited"'); - - t.equal('toString' in obj, true, 'has "toString"'); - t.equal(has(obj, 'toString'), false, 'has non-own "toString"'); - t.equal(has(Object.prototype, 'toString'), true, 'Object.prototype has own "toString"'); - t.equal(Object.prototype.toString, obj.toString, 'Object.prototype.toString === obj.toString'); - // eslint-disable-next-line no-useless-call - t.equal(Object.prototype.propertyIsEnumerable.call(Object.prototype, 'toString'), false, 'has non-enumerable "toString"'); - - return obj; -}; - -var testToNumber = function (t, ES, ToNumber) { - t.equal(NaN, ToNumber(undefined), 'undefined coerces to NaN'); - t.equal(ToNumber(null), 0, 'null coerces to +0'); - t.equal(ToNumber(false), 0, 'false coerces to +0'); - t.equal(1, ToNumber(true), 'true coerces to 1'); - - t.test('numbers', function (st) { - st.equal(NaN, ToNumber(NaN), 'NaN returns itself'); - forEach(v.zeroes.concat(v.infinities, 42), function (num) { - st.equal(num, ToNumber(num), num + ' returns itself'); - }); - forEach(['foo', '0', '4a', '2.0', 'Infinity', '-Infinity'], function (numString) { - st.equal(+numString, ToNumber(numString), '"' + numString + '" coerces to ' + Number(numString)); - }); - st.end(); - }); - - t.test('objects', function (st) { - forEach(v.objects, function (object) { - st.equal(ToNumber(object), ToNumber(ES.ToPrimitive(object)), 'object ' + object + ' coerces to same as ToPrimitive of object does'); - }); - st['throws'](function () { return ToNumber(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - st.end(); - }); - - // TODO: check if this applies to ES5 - t.test('binary literals', function (st) { - st.equal(ToNumber('0b10'), 2, '0b10 is 2'); - st.equal(ToNumber({ toString: function () { return '0b11'; } }), 3, 'Object that toStrings to 0b11 is 3'); - - st.equal(ToNumber('0b12'), NaN, '0b12 is NaN'); - st.equal(ToNumber({ toString: function () { return '0b112'; } }), NaN, 'Object that toStrings to 0b112 is NaN'); - st.end(); - }); - - // TODO: check if this applies to ES5 - t.test('octal literals', function (st) { - st.equal(ToNumber('0o10'), 8, '0o10 is 8'); - st.equal(ToNumber({ toString: function () { return '0o11'; } }), 9, 'Object that toStrings to 0o11 is 9'); - - st.equal(ToNumber('0o18'), NaN, '0o18 is NaN'); - st.equal(ToNumber({ toString: function () { return '0o118'; } }), NaN, 'Object that toStrings to 0o118 is NaN'); - st.end(); - }); - - // TODO: check if this applies to ES5 - t.test('signed hex numbers', function (st) { - st.equal(ToNumber('-0xF'), NaN, '-0xF is NaN'); - st.equal(ToNumber(' -0xF '), NaN, 'space-padded -0xF is NaN'); - st.equal(ToNumber('+0xF'), NaN, '+0xF is NaN'); - st.equal(ToNumber(' +0xF '), NaN, 'space-padded +0xF is NaN'); - - st.end(); - }); - - // TODO: check if this applies to ES5 - t.test('trimming of whitespace and non-whitespace characters', function (st) { - var whitespace = ' \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000'; - st.equal(0, ToNumber(whitespace + 0 + whitespace), 'whitespace is trimmed'); - - // Zero-width space (zws), next line character (nel), and non-character (bom) are not whitespace. - var nonWhitespaces = { - '\\u0085': '\u0085', - '\\u200b': '\u200b', - '\\ufffe': '\ufffe' - }; - - forEach(nonWhitespaces, function (desc, nonWS) { - st.equal(ToNumber(nonWS + 0 + nonWS), NaN, 'non-whitespace ' + desc + ' not trimmed'); - }); - - st.end(); - }); - - // TODO: skip for ES5 - forEach(v.symbols, function (symbol) { - t['throws']( - function () { ToNumber(symbol); }, - TypeError, - 'Symbols can’t be converted to a Number: ' + debug(symbol) - ); - - var boxed = Object(symbol); - t['throws']( - function () { ToNumber(boxed); }, - TypeError, - 'boxed Symbols can’t be converted to a Number: ' + debug(boxed) - ); - }); - - // TODO: check if this applies to ES5 - t.test('dates', function (st) { - var invalid = new Date(NaN); - st.equal(ToNumber(invalid), NaN, 'invalid Date coerces to NaN'); - var now = +new Date(); - st.equal(ToNumber(new Date(now)), now, 'Date coerces to timestamp'); - st.end(); - }); -}; - -var es5 = function ES5(ES, ops, expectedMissing, skips) { - var test = makeTest(skips); - - test('has expected operations', function (t) { - var diff = diffOps(ES, ops, expectedMissing); - - t.deepEqual(diff.extra, [], 'no extra ops'); - - t.deepEqual(diff.missing, [], 'no unexpected missing ops'); - - t.deepEqual(diff.extraMissing, [], 'no unexpected "expected missing" ops'); - - t.end(); - }); - - test('ToPrimitive', function (t) { - t.test('primitives', function (st) { - var testPrimitive = function (primitive) { - st.equal(ES.ToPrimitive(primitive), primitive, debug(primitive) + ' is returned correctly'); - }; - forEach(v.primitives, testPrimitive); - st.end(); - }); - - t.test('objects', function (st) { - st.equal(ES.ToPrimitive(v.coercibleObject), 3, 'coercibleObject with no hint coerces to valueOf'); - st.equal(ES.ToPrimitive({}), '[object Object]', '{} with no hint coerces to Object#toString'); - st.equal(ES.ToPrimitive(v.coercibleObject, Number), 3, 'coercibleObject with hint Number coerces to valueOf'); - st.equal(ES.ToPrimitive({}, Number), '[object Object]', '{} with hint Number coerces to NaN'); - st.equal(ES.ToPrimitive(v.coercibleObject, String), 42, 'coercibleObject with hint String coerces to nonstringified toString'); - st.equal(ES.ToPrimitive({}, String), '[object Object]', '{} with hint String coerces to Object#toString'); - st.equal(ES.ToPrimitive(v.coercibleFnObject), v.coercibleFnObject.toString(), 'coercibleFnObject coerces to toString'); - st.equal(ES.ToPrimitive(v.toStringOnlyObject), 7, 'toStringOnlyObject returns non-stringified toString'); - st.equal(ES.ToPrimitive(v.valueOfOnlyObject), 4, 'valueOfOnlyObject returns valueOf'); - st['throws'](function () { return ES.ToPrimitive(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws a TypeError'); - st['throws'](function () { return ES.ToPrimitive(v.uncoercibleFnObject); }, TypeError, 'uncoercibleFnObject throws a TypeError'); - st.end(); - }); - - t.test('dates', function (st) { - var invalid = new Date(NaN); - st.equal(ES.ToPrimitive(invalid), Date.prototype.toString.call(invalid), 'invalid Date coerces to Date#toString'); - var now = new Date(); - st.equal(ES.ToPrimitive(now), Date.prototype.toString.call(now), 'Date coerces to Date#toString'); - st.end(); - }); - - t.end(); - }); - - test('ToBoolean', function (t) { - t.equal(false, ES.ToBoolean(undefined), 'undefined coerces to false'); - t.equal(false, ES.ToBoolean(null), 'null coerces to false'); - t.equal(false, ES.ToBoolean(false), 'false returns false'); - t.equal(true, ES.ToBoolean(true), 'true returns true'); - - t.test('numbers', function (st) { - forEach(v.zeroes.concat(NaN), function (falsyNumber) { - st.equal(false, ES.ToBoolean(falsyNumber), 'falsy number ' + falsyNumber + ' coerces to false'); - }); - forEach(v.infinities.concat([42, 1]), function (truthyNumber) { - st.equal(true, ES.ToBoolean(truthyNumber), 'truthy number ' + truthyNumber + ' coerces to true'); - }); - - st.end(); - }); - - t.equal(false, ES.ToBoolean(''), 'empty string coerces to false'); - t.equal(true, ES.ToBoolean('foo'), 'nonempty string coerces to true'); - - t.test('objects', function (st) { - forEach(v.objects, function (obj) { - st.equal(true, ES.ToBoolean(obj), 'object coerces to true'); - }); - st.equal(true, ES.ToBoolean(v.uncoercibleObject), 'uncoercibleObject coerces to true'); - - st.end(); - }); - - t.end(); - }); - - test('ToNumber', function (t) { - t.equal(NaN, ES.ToNumber(undefined), 'undefined coerces to NaN'); - t.equal(ES.ToNumber(null), 0, 'null coerces to +0'); - t.equal(ES.ToNumber(false), 0, 'false coerces to +0'); - t.equal(1, ES.ToNumber(true), 'true coerces to 1'); - - t.test('numbers', function (st) { - st.equal(NaN, ES.ToNumber(NaN), 'NaN returns itself'); - forEach(v.zeroes.concat(v.infinities, 42), function (num) { - st.equal(num, ES.ToNumber(num), num + ' returns itself'); - }); - forEach(['foo', '0', '4a', '2.0', 'Infinity', '-Infinity'], function (numString) { - st.equal(+numString, ES.ToNumber(numString), '"' + numString + '" coerces to ' + Number(numString)); - }); - st.end(); - }); - - t.test('objects', function (st) { - forEach(v.objects, function (object) { - st.equal(ES.ToNumber(object), ES.ToNumber(ES.ToPrimitive(object)), 'object ' + object + ' coerces to same as ToPrimitive of object does'); - }); - st['throws'](function () { return ES.ToNumber(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - st.end(); - }); - - t.test('binary literals', function (st) { - st.equal(ES.ToNumber('0b10'), NaN, '0b10 is NaN'); - st.equal(ES.ToNumber({ toString: function () { return '0b11'; } }), NaN, 'Object that toStrings to 0b11 is NaN'); - - st.equal(ES.ToNumber('0b12'), NaN, '0b12 is NaN'); - st.equal(ES.ToNumber({ toString: function () { return '0b112'; } }), NaN, 'Object that toStrings to 0b112 is NaN'); - st.end(); - }); - - t.test('octal literals', function (st) { - st.equal(ES.ToNumber('0o10'), NaN, '0o10 is NaN'); - st.equal(ES.ToNumber({ toString: function () { return '0o11'; } }), NaN, 'Object that toStrings to 0o11 is NaN'); - - st.equal(ES.ToNumber('0o18'), NaN, '0o18 is NaN'); - st.equal(ES.ToNumber({ toString: function () { return '0o118'; } }), NaN, 'Object that toStrings to 0o118 is NaN'); - st.end(); - }); - - t.test('signed hex numbers', function (st) { - st.equal(ES.ToNumber('-0xF'), NaN, '-0xF is NaN'); - st.equal(ES.ToNumber(' -0xF '), NaN, 'space-padded -0xF is NaN'); - st.equal(ES.ToNumber('+0xF'), NaN, '+0xF is NaN'); - st.equal(ES.ToNumber(' +0xF '), NaN, 'space-padded +0xF is NaN'); - - st.end(); - }); - - // TODO: check if this applies to ES5 - t.test('trimming of whitespace and non-whitespace characters', function (st) { - var whitespace = ' \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085'; - st.equal(ES.ToNumber(whitespace + 0 + whitespace), 0, 'whitespace is trimmed'); - - // Zero-width space (zws), next line character (nel), and non-character (bom) are not whitespace. - var nonWhitespaces = { - '\\u200b': '\u200b', - '\\ufffe': '\ufffe' - }; - - forEach(nonWhitespaces, function (desc, nonWS) { - st.equal(ES.ToNumber(nonWS + 0 + nonWS), NaN, 'non-whitespace ' + desc + ' not trimmed'); - }); - - st.end(); - }); - - t.test('dates', function (st) { - var invalid = new Date(NaN); - st.equal(ES.ToNumber(invalid), NaN, 'invalid Date coerces to NaN'); - var now = +new Date(); - st.equal(ES.ToNumber(new Date(now)), now, 'Date coerces to timestamp'); - st.end(); - }); - - t.end(); - }); - - test('ToInteger', function (t) { - forEach([NaN], function (num) { - t.equal(0, ES.ToInteger(num), debug(num) + ' returns +0'); - }); - forEach(v.zeroes.concat(v.infinities, 42), function (num) { - t.equal(num, ES.ToInteger(num), debug(num) + ' returns itself'); - t.equal(-num, ES.ToInteger(-num), '-' + debug(num) + ' returns itself'); - }); - t.equal(3, ES.ToInteger(Math.PI), 'pi returns 3'); - t['throws'](function () { return ES.ToInteger(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - t.end(); - }); - - test('ToInt32', function (t) { - t.equal(ES.ToInt32(NaN), 0, 'NaN coerces to +0'); - forEach(v.zeroes.concat(v.infinities), function (num) { - t.equal(ES.ToInt32(num), 0, num + ' returns +0'); - t.equal(ES.ToInt32(-num), 0, '-' + num + ' returns +0'); - }); - t['throws'](function () { return ES.ToInt32(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - t.equal(ES.ToInt32(0x100000000), 0, '2^32 returns +0'); - t.equal(ES.ToInt32(0x100000000 - 1), -1, '2^32 - 1 returns -1'); - t.equal(ES.ToInt32(0x80000000), -0x80000000, '2^31 returns -2^31'); - t.equal(ES.ToInt32(0x80000000 - 1), 0x80000000 - 1, '2^31 - 1 returns 2^31 - 1'); - forEach([0, Infinity, NaN, 0x100000000, 0x80000000, 0x10000, 0x42], function (num) { - t.equal(ES.ToInt32(num), ES.ToInt32(ES.ToUint32(num)), 'ToInt32(x) === ToInt32(ToUint32(x)) for 0x' + num.toString(16)); - t.equal(ES.ToInt32(-num), ES.ToInt32(ES.ToUint32(-num)), 'ToInt32(x) === ToInt32(ToUint32(x)) for -0x' + num.toString(16)); - }); - t.end(); - }); - - test('ToUint32', function (t) { - t.equal(0, ES.ToUint32(NaN), 'NaN coerces to +0'); - forEach([0, Infinity], function (num) { - t.equal(0, ES.ToUint32(num), num + ' returns +0'); - t.equal(0, ES.ToUint32(-num), '-' + num + ' returns +0'); - }); - t['throws'](function () { return ES.ToUint32(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - t.equal(ES.ToUint32(0x100000000), 0, '2^32 returns +0'); - t.equal(ES.ToUint32(0x100000000 - 1), 0x100000000 - 1, '2^32 - 1 returns 2^32 - 1'); - t.equal(ES.ToUint32(0x80000000), 0x80000000, '2^31 returns 2^31'); - t.equal(ES.ToUint32(0x80000000 - 1), 0x80000000 - 1, '2^31 - 1 returns 2^31 - 1'); - forEach([0, Infinity, NaN, 0x100000000, 0x80000000, 0x10000, 0x42], function (num) { - t.equal(ES.ToUint32(num), ES.ToUint32(ES.ToInt32(num)), 'ToUint32(x) === ToUint32(ToInt32(x)) for 0x' + num.toString(16)); - t.equal(ES.ToUint32(-num), ES.ToUint32(ES.ToInt32(-num)), 'ToUint32(x) === ToUint32(ToInt32(x)) for -0x' + num.toString(16)); - }); - t.end(); - }); - - test('ToUint16', function (t) { - t.equal(0, ES.ToUint16(NaN), 'NaN coerces to +0'); - forEach([0, Infinity], function (num) { - t.equal(0, ES.ToUint16(num), num + ' returns +0'); - t.equal(0, ES.ToUint16(-num), '-' + num + ' returns +0'); - }); - t['throws'](function () { return ES.ToUint16(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - t.equal(ES.ToUint16(0x100000000), 0, '2^32 returns +0'); - t.equal(ES.ToUint16(0x100000000 - 1), 0x10000 - 1, '2^32 - 1 returns 2^16 - 1'); - t.equal(ES.ToUint16(0x80000000), 0, '2^31 returns +0'); - t.equal(ES.ToUint16(0x80000000 - 1), 0x10000 - 1, '2^31 - 1 returns 2^16 - 1'); - t.equal(ES.ToUint16(0x10000), 0, '2^16 returns +0'); - t.equal(ES.ToUint16(0x10000 - 1), 0x10000 - 1, '2^16 - 1 returns 2^16 - 1'); - t.end(); - }); - - test('ToString', function (t) { - forEach(v.objects.concat(v.nonSymbolPrimitives), function (item) { - t.equal(ES.ToString(item), String(item), 'ES.ToString(' + debug(item) + ') ToStrings to String(' + debug(item) + ')'); - }); - - t['throws'](function () { return ES.ToString(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - - t.end(); - }); - - test('ToObject', function (t) { - t['throws'](function () { return ES.ToObject(undefined); }, TypeError, 'undefined throws'); - t['throws'](function () { return ES.ToObject(null); }, TypeError, 'null throws'); - forEach(v.numbers, function (number) { - var obj = ES.ToObject(number); - t.equal(typeof obj, 'object', 'number ' + number + ' coerces to object'); - t.equal(true, obj instanceof Number, 'object of ' + number + ' is Number object'); - t.equal(obj.valueOf(), number, 'object of ' + number + ' coerces to ' + number); - }); - t.end(); - }); - - test('CheckObjectCoercible', function (t) { - t['throws'](function () { return ES.CheckObjectCoercible(undefined); }, TypeError, 'undefined throws'); - t['throws'](function () { return ES.CheckObjectCoercible(null); }, TypeError, 'null throws'); - var checkCoercible = function (value) { - t.doesNotThrow(function () { return ES.CheckObjectCoercible(value); }, debug(value) + ' does not throw'); - }; - forEach(v.objects.concat(v.nonNullPrimitives), checkCoercible); - t.end(); - }); - - test('IsCallable', function (t) { - t.equal(true, ES.IsCallable(function () {}), 'function is callable'); - var nonCallables = [/a/g, {}, Object.prototype, NaN].concat(v.nonFunctions); - forEach(nonCallables, function (nonCallable) { - t.equal(false, ES.IsCallable(nonCallable), debug(nonCallable) + ' is not callable'); - }); - t.end(); - }); - - test('SameValue', function (t) { - t.equal(true, ES.SameValue(NaN, NaN), 'NaN is SameValue as NaN'); - t.equal(false, ES.SameValue(0, -0), '+0 is not SameValue as -0'); - forEach(v.objects.concat(v.primitives), function (val) { - t.equal(val === val, ES.SameValue(val, val), debug(val) + ' is SameValue to itself'); - }); - t.end(); - }); - - test('Type', function (t) { - t.equal(ES.Type(), 'Undefined', 'Type() is Undefined'); - t.equal(ES.Type(undefined), 'Undefined', 'Type(undefined) is Undefined'); - t.equal(ES.Type(null), 'Null', 'Type(null) is Null'); - t.equal(ES.Type(true), 'Boolean', 'Type(true) is Boolean'); - t.equal(ES.Type(false), 'Boolean', 'Type(false) is Boolean'); - t.equal(ES.Type(0), 'Number', 'Type(0) is Number'); - t.equal(ES.Type(NaN), 'Number', 'Type(NaN) is Number'); - t.equal(ES.Type('abc'), 'String', 'Type("abc") is String'); - t.equal(ES.Type(function () {}), 'Object', 'Type(function () {}) is Object'); - t.equal(ES.Type({}), 'Object', 'Type({}) is Object'); - - t.end(); - }); - - assertRecordTests(ES, test); - - test('IsAccessorDescriptor', function (t) { - forEach(v.nonUndefinedPrimitives, function (primitive) { - t['throws']( - function () { ES.IsAccessorDescriptor(primitive); }, - TypeError, - debug(primitive) + ' is not a Property Descriptor' - ); - }); - - t.equal(ES.IsAccessorDescriptor(), false, 'no value is not an Accessor Descriptor'); - t.equal(ES.IsAccessorDescriptor(undefined), false, 'undefined value is not an Accessor Descriptor'); - - t.equal(ES.IsAccessorDescriptor(v.accessorDescriptor()), true, 'accessor descriptor is an Accessor Descriptor'); - t.equal(ES.IsAccessorDescriptor(v.mutatorDescriptor()), true, 'mutator descriptor is an Accessor Descriptor'); - t.equal(ES.IsAccessorDescriptor(v.dataDescriptor()), false, 'data descriptor is not an Accessor Descriptor'); - t.equal(ES.IsAccessorDescriptor(v.genericDescriptor()), false, 'generic descriptor is not an Accessor Descriptor'); - - t.end(); - }); - - test('IsDataDescriptor', function (t) { - forEach(v.nonUndefinedPrimitives, function (primitive) { - t['throws']( - function () { ES.IsDataDescriptor(primitive); }, - TypeError, - debug(primitive) + ' is not a Property Descriptor' - ); - }); - - t.equal(ES.IsDataDescriptor(), false, 'no value is not a Data Descriptor'); - t.equal(ES.IsDataDescriptor(undefined), false, 'undefined value is not a Data Descriptor'); - - t.equal(ES.IsDataDescriptor(v.accessorDescriptor()), false, 'accessor descriptor is not a Data Descriptor'); - t.equal(ES.IsDataDescriptor(v.mutatorDescriptor()), false, 'mutator descriptor is not a Data Descriptor'); - t.equal(ES.IsDataDescriptor(v.dataDescriptor()), true, 'data descriptor is a Data Descriptor'); - t.equal(ES.IsDataDescriptor(v.genericDescriptor()), false, 'generic descriptor is not a Data Descriptor'); - - t.end(); - }); - - test('IsGenericDescriptor', function (t) { - forEach(v.nonUndefinedPrimitives, function (primitive) { - t['throws']( - function () { ES.IsGenericDescriptor(primitive); }, - TypeError, - debug(primitive) + ' is not a Property Descriptor' - ); - }); - - t.equal(ES.IsGenericDescriptor(), false, 'no value is not a Data Descriptor'); - t.equal(ES.IsGenericDescriptor(undefined), false, 'undefined value is not a Data Descriptor'); - - t.equal(ES.IsGenericDescriptor(v.accessorDescriptor()), false, 'accessor descriptor is not a generic Descriptor'); - t.equal(ES.IsGenericDescriptor(v.mutatorDescriptor()), false, 'mutator descriptor is not a generic Descriptor'); - t.equal(ES.IsGenericDescriptor(v.dataDescriptor()), false, 'data descriptor is not a generic Descriptor'); - - t.equal(ES.IsGenericDescriptor(v.genericDescriptor()), true, 'generic descriptor is a generic Descriptor'); - - t.end(); - }); - - test('FromPropertyDescriptor', function (t) { - t.equal(ES.FromPropertyDescriptor(), undefined, 'no value begets undefined'); - t.equal(ES.FromPropertyDescriptor(undefined), undefined, 'undefined value begets undefined'); - - forEach(v.nonNullPrimitives.concat(null), function (primitive) { - t['throws']( - function () { ES.FromPropertyDescriptor(primitive); }, - TypeError, - debug(primitive) + ' is not a Property Descriptor' - ); - }); - - var accessor = v.accessorDescriptor(); - t.deepEqual(ES.FromPropertyDescriptor(accessor), { - get: accessor['[[Get]]'], - set: accessor['[[Set]]'], - enumerable: !!accessor['[[Enumerable]]'], - configurable: !!accessor['[[Configurable]]'] - }); - - var mutator = v.mutatorDescriptor(); - t.deepEqual(ES.FromPropertyDescriptor(mutator), { - get: mutator['[[Get]]'], - set: mutator['[[Set]]'], - enumerable: !!mutator['[[Enumerable]]'], - configurable: !!mutator['[[Configurable]]'] - }); - var data = v.dataDescriptor(); - t.deepEqual(ES.FromPropertyDescriptor(data), { - value: data['[[Value]]'], - writable: data['[[Writable]]'], - enumerable: !!data['[[Enumerable]]'], - configurable: !!data['[[Configurable]]'] - }); - - t['throws']( - function () { ES.FromPropertyDescriptor(v.genericDescriptor()); }, - TypeError, - 'a complete Property Descriptor is required' - ); - - t.end(); - }); - - test('ToPropertyDescriptor', function (t) { - forEach(v.nonUndefinedPrimitives, function (primitive) { - t['throws']( - function () { ES.ToPropertyDescriptor(primitive); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - - var accessor = v.accessorDescriptor(); - t.deepEqual(ES.ToPropertyDescriptor({ - get: accessor['[[Get]]'], - enumerable: !!accessor['[[Enumerable]]'], - configurable: !!accessor['[[Configurable]]'] - }), accessor); - - var mutator = v.mutatorDescriptor(); - t.deepEqual(ES.ToPropertyDescriptor({ - set: mutator['[[Set]]'], - enumerable: !!mutator['[[Enumerable]]'], - configurable: !!mutator['[[Configurable]]'] - }), mutator); - - var data = v.descriptors.nonConfigurable(v.dataDescriptor()); - t.deepEqual(ES.ToPropertyDescriptor({ - value: data['[[Value]]'], - writable: data['[[Writable]]'], - configurable: !!data['[[Configurable]]'] - }), data); - - var both = v.bothDescriptor(); - t['throws']( - function () { - ES.ToPropertyDescriptor({ get: both['[[Get]]'], value: both['[[Value]]'] }); - }, - TypeError, - 'data and accessor descriptors are mutually exclusive' - ); - - t['throws']( - function () { ES.ToPropertyDescriptor({ get: 'not callable' }); }, - TypeError, - '"get" must be undefined or callable' - ); - - t['throws']( - function () { ES.ToPropertyDescriptor({ set: 'not callable' }); }, - TypeError, - '"set" must be undefined or callable' - ); - - forEach(v.nonFunctions, function (nonFunction) { - if (typeof nonFunction !== 'undefined') { - t['throws']( - function () { ES.ToPropertyDescriptor({ get: nonFunction }); }, - TypeError, - '`.get` has ' + debug(nonFunction) + ', which is not a Function' - ); - t['throws']( - function () { ES.ToPropertyDescriptor({ set: nonFunction }); }, - TypeError, - '`.set` has ' + debug(nonFunction) + ', which is not a Function' - ); - } - }); - - forEach(['get', 'set'], function (accessorName) { - forEach(['value', 'writable'], function (dataName) { - var o = {}; - o[accessorName] = undefined; - o[dataName] = undefined; - - t['throws']( - function () { ES.ToPropertyDescriptor(o); }, - TypeError, - accessorName + ' + ' + dataName + ' is invalid' - ); - }); - }); - - t.end(); - }); - - test('Abstract Equality Comparison', function (t) { - t.test('same types use ===', function (st) { - forEach(v.primitives.concat(v.objects), function (value) { - st.equal(ES['Abstract Equality Comparison'](value, value), value === value, debug(value) + ' is abstractly equal to itself'); - }); - st.end(); - }); - - t.test('different types coerce', function (st) { - var pairs = [ - [null, undefined], - [3, '3'], - [true, '3'], - [true, 3], - [false, 0], - [false, '0'], - [3, [3]], - ['3', [3]], - [true, [1]], - [false, [0]], - [String(v.coercibleObject), v.coercibleObject], - [Number(String(v.coercibleObject)), v.coercibleObject], - [Number(v.coercibleObject), v.coercibleObject], - [String(Number(v.coercibleObject)), v.coercibleObject] - ]; - forEach(pairs, function (pair) { - var a = pair[0]; - var b = pair[1]; - // eslint-disable-next-line eqeqeq - st.equal(ES['Abstract Equality Comparison'](a, b), a == b, debug(a) + ' == ' + debug(b)); - // eslint-disable-next-line eqeqeq - st.equal(ES['Abstract Equality Comparison'](b, a), b == a, debug(b) + ' == ' + debug(a)); - }); - st.end(); - }); - - t.end(); - }); - - test('Strict Equality Comparison', function (t) { - t.test('same types use ===', function (st) { - forEach(v.primitives.concat(v.objects), function (value) { - st.equal(ES['Strict Equality Comparison'](value, value), value === value, debug(value) + ' is strictly equal to itself'); - }); - st.end(); - }); - - t.test('different types are not ===', function (st) { - var pairs = [ - [null, undefined], - [3, '3'], - [true, '3'], - [true, 3], - [false, 0], - [false, '0'], - [3, [3]], - ['3', [3]], - [true, [1]], - [false, [0]], - [String(v.coercibleObject), v.coercibleObject], - [Number(String(v.coercibleObject)), v.coercibleObject], - [Number(v.coercibleObject), v.coercibleObject], - [String(Number(v.coercibleObject)), v.coercibleObject] - ]; - forEach(pairs, function (pair) { - var a = pair[0]; - var b = pair[1]; - st.equal(ES['Strict Equality Comparison'](a, b), a === b, debug(a) + ' === ' + debug(b)); - st.equal(ES['Strict Equality Comparison'](b, a), b === a, debug(b) + ' === ' + debug(a)); - }); - st.end(); - }); - - t.end(); - }); - - test('Abstract Relational Comparison', function (t) { - t.test('at least one operand is NaN', function (st) { - st.equal(ES['Abstract Relational Comparison'](NaN, {}, true), undefined, 'LeftFirst: first is NaN, returns undefined'); - st.equal(ES['Abstract Relational Comparison']({}, NaN, true), undefined, 'LeftFirst: second is NaN, returns undefined'); - st.equal(ES['Abstract Relational Comparison'](NaN, {}, false), undefined, '!LeftFirst: first is NaN, returns undefined'); - st.equal(ES['Abstract Relational Comparison']({}, NaN, false), undefined, '!LeftFirst: second is NaN, returns undefined'); - st.end(); - }); - - forEach(v.nonBooleans, function (nonBoolean) { - t['throws']( - function () { ES['Abstract Relational Comparison'](3, 4, nonBoolean); }, - TypeError, - debug(nonBoolean) + ' is not a Boolean' - ); - }); - - forEach(v.zeroes, function (zero) { - t.equal(ES['Abstract Relational Comparison'](zero, 1, true), true, 'LeftFirst: ' + debug(zero) + ' is less than 1'); - t.equal(ES['Abstract Relational Comparison'](zero, 1, false), true, '!LeftFirst: ' + debug(zero) + ' is less than 1'); - t.equal(ES['Abstract Relational Comparison'](1, zero, true), false, 'LeftFirst: 1 is not less than ' + debug(zero)); - t.equal(ES['Abstract Relational Comparison'](1, zero, false), false, '!LeftFirst: 1 is not less than ' + debug(zero)); - - t.equal(ES['Abstract Relational Comparison'](zero, zero, true), false, 'LeftFirst: ' + debug(zero) + ' is not less than ' + debug(zero)); - t.equal(ES['Abstract Relational Comparison'](zero, zero, false), false, '!LeftFirst: ' + debug(zero) + ' is not less than ' + debug(zero)); - }); - - t.equal(ES['Abstract Relational Comparison'](Infinity, -Infinity, true), false, 'LeftFirst: ∞ is not less than -∞'); - t.equal(ES['Abstract Relational Comparison'](Infinity, -Infinity, false), false, '!LeftFirst: ∞ is not less than -∞'); - t.equal(ES['Abstract Relational Comparison'](-Infinity, Infinity, true), true, 'LeftFirst: -∞ is less than ∞'); - t.equal(ES['Abstract Relational Comparison'](-Infinity, Infinity, false), true, '!LeftFirst: -∞ is less than ∞'); - t.equal(ES['Abstract Relational Comparison'](-Infinity, 0, true), true, 'LeftFirst: -∞ is less than +0'); - t.equal(ES['Abstract Relational Comparison'](-Infinity, 0, false), true, '!LeftFirst: -∞ is less than +0'); - t.equal(ES['Abstract Relational Comparison'](0, -Infinity, true), false, 'LeftFirst: +0 is not less than -∞'); - t.equal(ES['Abstract Relational Comparison'](0, -Infinity, false), false, '!LeftFirst: +0 is not less than -∞'); - - t.equal(ES['Abstract Relational Comparison'](3, 4, true), true, 'LeftFirst: 3 is less than 4'); - t.equal(ES['Abstract Relational Comparison'](4, 3, true), false, 'LeftFirst: 3 is not less than 4'); - t.equal(ES['Abstract Relational Comparison'](3, 4, false), true, '!LeftFirst: 3 is less than 4'); - t.equal(ES['Abstract Relational Comparison'](4, 3, false), false, '!LeftFirst: 3 is not less than 4'); - - t.equal(ES['Abstract Relational Comparison']('3', '4', true), true, 'LeftFirst: "3" is less than "4"'); - t.equal(ES['Abstract Relational Comparison']('4', '3', true), false, 'LeftFirst: "3" is not less than "4"'); - t.equal(ES['Abstract Relational Comparison']('3', '4', false), true, '!LeftFirst: "3" is less than "4"'); - t.equal(ES['Abstract Relational Comparison']('4', '3', false), false, '!LeftFirst: "3" is not less than "4"'); - - t.equal(ES['Abstract Relational Comparison']('a', 'abc', true), true, 'LeftFirst: "a" is less than "abc"'); - t.equal(ES['Abstract Relational Comparison']('abc', 'a', true), false, 'LeftFirst: "abc" is not less than "a"'); - t.equal(ES['Abstract Relational Comparison']('a', 'abc', false), true, '!LeftFirst: "a" is less than "abc"'); - t.equal(ES['Abstract Relational Comparison']('abc', 'a', false), false, '!LeftFirst: "abc" is not less than "a"'); - - t.equal(ES['Abstract Relational Comparison'](v.coercibleObject, 42, true), true, 'LeftFirst: coercible object is less than 42'); - t.equal(ES['Abstract Relational Comparison'](42, v.coercibleObject, true), false, 'LeftFirst: 42 is not less than coercible object'); - t.equal(ES['Abstract Relational Comparison'](v.coercibleObject, 42, false), true, '!LeftFirst: coercible object is less than 42'); - t.equal(ES['Abstract Relational Comparison'](42, v.coercibleObject, false), false, '!LeftFirst: 42 is not less than coercible object'); - - t.equal(ES['Abstract Relational Comparison'](v.coercibleObject, '3', true), false, 'LeftFirst: coercible object is not less than "3"'); - t.equal(ES['Abstract Relational Comparison']('3', v.coercibleObject, true), false, 'LeftFirst: "3" is not less than coercible object'); - t.equal(ES['Abstract Relational Comparison'](v.coercibleObject, '3', false), false, '!LeftFirst: coercible object is not less than "3"'); - t.equal(ES['Abstract Relational Comparison']('3', v.coercibleObject, false), false, '!LeftFirst: "3" is not less than coercible object'); - - t.end(); - }); - - test('SecFromTime', function (t) { - var now = new Date(); - t.equal(ES.SecFromTime(now.getTime()), now.getUTCSeconds(), 'second from Date timestamp matches getUTCSeconds'); - t.end(); - }); - - test('MinFromTime', function (t) { - var now = new Date(); - t.equal(ES.MinFromTime(now.getTime()), now.getUTCMinutes(), 'minute from Date timestamp matches getUTCMinutes'); - t.end(); - }); - - test('HourFromTime', function (t) { - var now = new Date(); - t.equal(ES.HourFromTime(now.getTime()), now.getUTCHours(), 'hour from Date timestamp matches getUTCHours'); - t.end(); - }); - - test('msFromTime', function (t) { - var now = new Date(); - t.equal(ES.msFromTime(now.getTime()), now.getUTCMilliseconds(), 'ms from Date timestamp matches getUTCMilliseconds'); - t.end(); - }); - - var msPerSecond = 1e3; - var msPerMinute = 60 * msPerSecond; - var msPerHour = 60 * msPerMinute; - var msPerDay = 24 * msPerHour; - - test('Day', function (t) { - var time = Date.UTC(2019, 8, 10, 2, 3, 4, 5); - var add = 2.5; - var later = new Date(time + (add * msPerDay)); - - t.equal(ES.Day(later.getTime()), ES.Day(time) + Math.floor(add), 'adding 2.5 days worth of ms, gives a Day delta of 2'); - t.end(); - }); - - test('DayFromYear', function (t) { - t.equal(ES.DayFromYear(2021) - ES.DayFromYear(2020), 366, '2021 is a leap year, has 366 days'); - t.equal(ES.DayFromYear(2020) - ES.DayFromYear(2019), 365, '2020 is not a leap year, has 365 days'); - t.equal(ES.DayFromYear(2019) - ES.DayFromYear(2018), 365, '2019 is not a leap year, has 365 days'); - t.equal(ES.DayFromYear(2018) - ES.DayFromYear(2017), 365, '2018 is not a leap year, has 365 days'); - t.equal(ES.DayFromYear(2017) - ES.DayFromYear(2016), 366, '2017 is a leap year, has 366 days'); - - t.end(); - }); - - test('TimeWithinDay', function (t) { - var time = Date.UTC(2019, 8, 10, 2, 3, 4, 5); - var add = 2.5; - var later = new Date(time + (add * msPerDay)); - - t.equal(ES.TimeWithinDay(later.getTime()), ES.TimeWithinDay(time) + (0.5 * msPerDay), 'adding 2.5 days worth of ms, gives a TimeWithinDay delta of +0.5'); - t.end(); - }); - - test('TimeFromYear', function (t) { - for (var i = 1900; i < 2100; i += 1) { - t.equal(ES.TimeFromYear(i), Date.UTC(i, 0, 1), 'TimeFromYear matches a Date object’s year: ' + i); - } - t.end(); - }); - - test('YearFromTime', function (t) { - for (var i = 1900; i < 2100; i += 1) { - t.equal(ES.YearFromTime(Date.UTC(i, 0, 1)), i, 'YearFromTime matches a Date object’s year on 1/1: ' + i); - t.equal(ES.YearFromTime(Date.UTC(i, 10, 1)), i, 'YearFromTime matches a Date object’s year on 10/1: ' + i); - } - t.end(); - }); - - test('WeekDay', function (t) { - var now = new Date(); - var today = now.getUTCDay(); - for (var i = 0; i < 7; i += 1) { - var weekDay = ES.WeekDay(now.getTime() + (i * msPerDay)); - t.equal(weekDay, (today + i) % 7, i + ' days after today (' + today + '), WeekDay is ' + weekDay); - } - t.end(); - }); - - test('DaysInYear', function (t) { - t.equal(ES.DaysInYear(2021), 365, '2021 is not a leap year'); - t.equal(ES.DaysInYear(2020), 366, '2020 is a leap year'); - t.equal(ES.DaysInYear(2019), 365, '2019 is not a leap year'); - t.equal(ES.DaysInYear(2018), 365, '2018 is not a leap year'); - t.equal(ES.DaysInYear(2017), 365, '2017 is not a leap year'); - t.equal(ES.DaysInYear(2016), 366, '2016 is a leap year'); - t.equal(ES.DaysInYear(2000), 366, '2000 is a leap year'); - t.equal(ES.DaysInYear(1900), 365, '1900 is not a leap year'); - - t.end(); - }); - - test('InLeapYear', function (t) { - t.equal(ES.InLeapYear(Date.UTC(2021, 0, 1)), 0, '2021 is not a leap year'); - t.equal(ES.InLeapYear(Date.UTC(2020, 0, 1)), 1, '2020 is a leap year'); - t.equal(ES.InLeapYear(Date.UTC(2019, 0, 1)), 0, '2019 is not a leap year'); - t.equal(ES.InLeapYear(Date.UTC(2018, 0, 1)), 0, '2018 is not a leap year'); - t.equal(ES.InLeapYear(Date.UTC(2017, 0, 1)), 0, '2017 is not a leap year'); - t.equal(ES.InLeapYear(Date.UTC(2016, 0, 1)), 1, '2016 is a leap year'); - - t.end(); - }); - - test('DayWithinYear', function (t) { - t.equal(ES.DayWithinYear(Date.UTC(2019, 0, 1)), 0, '1/1 is the 1st day'); - t.equal(ES.DayWithinYear(Date.UTC(2019, 11, 31)), 364, '12/31 is the 365th day in a non leap year'); - t.equal(ES.DayWithinYear(Date.UTC(2016, 11, 31)), 365, '12/31 is the 366th day in a leap year'); - - t.end(); - }); - - test('MonthFromTime', function (t) { - t.equal(ES.MonthFromTime(Date.UTC(2019, 0, 1)), 0, 'non-leap: 1/1 gives January'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 0, 31)), 0, 'non-leap: 1/31 gives January'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 1, 1)), 1, 'non-leap: 2/1 gives February'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 1, 28)), 1, 'non-leap: 2/28 gives February'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 1, 29)), 2, 'non-leap: 2/29 gives March'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 2, 1)), 2, 'non-leap: 3/1 gives March'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 2, 31)), 2, 'non-leap: 3/31 gives March'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 3, 1)), 3, 'non-leap: 4/1 gives April'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 3, 30)), 3, 'non-leap: 4/30 gives April'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 4, 1)), 4, 'non-leap: 5/1 gives May'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 4, 31)), 4, 'non-leap: 5/31 gives May'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 5, 1)), 5, 'non-leap: 6/1 gives June'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 5, 30)), 5, 'non-leap: 6/30 gives June'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 6, 1)), 6, 'non-leap: 7/1 gives July'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 6, 31)), 6, 'non-leap: 7/31 gives July'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 7, 1)), 7, 'non-leap: 8/1 gives August'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 7, 30)), 7, 'non-leap: 8/30 gives August'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 8, 1)), 8, 'non-leap: 9/1 gives September'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 8, 30)), 8, 'non-leap: 9/30 gives September'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 9, 1)), 9, 'non-leap: 10/1 gives October'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 9, 31)), 9, 'non-leap: 10/31 gives October'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 10, 1)), 10, 'non-leap: 11/1 gives November'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 10, 30)), 10, 'non-leap: 11/30 gives November'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 11, 1)), 11, 'non-leap: 12/1 gives December'); - t.equal(ES.MonthFromTime(Date.UTC(2019, 11, 31)), 11, 'non-leap: 12/31 gives December'); - - t.equal(ES.MonthFromTime(Date.UTC(2016, 0, 1)), 0, 'leap: 1/1 gives January'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 0, 31)), 0, 'leap: 1/31 gives January'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 1, 1)), 1, 'leap: 2/1 gives February'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 1, 28)), 1, 'leap: 2/28 gives February'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 1, 29)), 1, 'leap: 2/29 gives February'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 2, 1)), 2, 'leap: 3/1 gives March'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 2, 31)), 2, 'leap: 3/31 gives March'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 3, 1)), 3, 'leap: 4/1 gives April'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 3, 30)), 3, 'leap: 4/30 gives April'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 4, 1)), 4, 'leap: 5/1 gives May'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 4, 31)), 4, 'leap: 5/31 gives May'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 5, 1)), 5, 'leap: 6/1 gives June'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 5, 30)), 5, 'leap: 6/30 gives June'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 6, 1)), 6, 'leap: 7/1 gives July'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 6, 31)), 6, 'leap: 7/31 gives July'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 7, 1)), 7, 'leap: 8/1 gives August'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 7, 30)), 7, 'leap: 8/30 gives August'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 8, 1)), 8, 'leap: 9/1 gives September'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 8, 30)), 8, 'leap: 9/30 gives September'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 9, 1)), 9, 'leap: 10/1 gives October'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 9, 31)), 9, 'leap: 10/31 gives October'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 10, 1)), 10, 'leap: 11/1 gives November'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 10, 30)), 10, 'leap: 11/30 gives November'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 11, 1)), 11, 'leap: 12/1 gives December'); - t.equal(ES.MonthFromTime(Date.UTC(2016, 11, 31)), 11, 'leap: 12/31 gives December'); - t.end(); - }); - - test('DateFromTime', function (t) { - var i; - for (i = 1; i <= 28; i += 1) { - t.equal(ES.DateFromTime(Date.UTC(2019, 1, i)), i, '2019.02.' + i + ' is date ' + i); - } - for (i = 1; i <= 29; i += 1) { - t.equal(ES.DateFromTime(Date.UTC(2016, 1, i)), i, '2016.02.' + i + ' is date ' + i); - } - for (i = 1; i <= 30; i += 1) { - t.equal(ES.DateFromTime(Date.UTC(2019, 2, i)), i, '2019.03.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 3, i)), i, '2019.04.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 5, i)), i, '2019.06.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 7, i)), i, '2019.08.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 8, i)), i, '2019.09.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 10, i)), i, '2019.11.' + i + ' is date ' + i); - } - for (i = 1; i <= 31; i += 1) { - t.equal(ES.DateFromTime(Date.UTC(2019, 0, i)), i, '2019.01.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 4, i)), i, '2019.05.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 6, i)), i, '2019.07.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 9, i)), i, '2019.10.' + i + ' is date ' + i); - t.equal(ES.DateFromTime(Date.UTC(2019, 11, i)), i, '2019.12.' + i + ' is date ' + i); - } - t.end(); - }); - - test('MakeDay', function (t) { - forEach([NaN, Infinity, -Infinity], function (nonFiniteNumber) { - t.equal(ES.MakeDay(nonFiniteNumber, 0, 0), NaN, 'year: ' + debug(nonFiniteNumber) + ' is not finite'); - t.equal(ES.MakeDay(0, nonFiniteNumber, 0), NaN, 'month: ' + debug(nonFiniteNumber) + ' is not finite'); - t.equal(ES.MakeDay(0, 0, nonFiniteNumber), NaN, 'date: ' + debug(nonFiniteNumber) + ' is not finite'); - }); - - var day2015 = 16687; - t.equal(ES.MakeDay(2015, 8, 9), day2015, '2015.09.09 is day 16687'); - var day2016 = day2015 + 366; // 2016 is a leap year - t.equal(ES.MakeDay(2016, 8, 9), day2016, '2015.09.09 is day 17053'); - var day2017 = day2016 + 365; - t.equal(ES.MakeDay(2017, 8, 9), day2017, '2017.09.09 is day 17418'); - var day2018 = day2017 + 365; - t.equal(ES.MakeDay(2018, 8, 9), day2018, '2018.09.09 is day 17783'); - var day2019 = day2018 + 365; - t.equal(ES.MakeDay(2019, 8, 9), day2019, '2019.09.09 is day 18148'); - - t.end(); - }); - - test('MakeDate', function (t) { - forEach(v.infinities.concat(NaN), function (nonFiniteNumber) { - t.equal(ES.MakeDate(nonFiniteNumber, 0), NaN, debug(nonFiniteNumber) + ' is not a finite `day`'); - t.equal(ES.MakeDate(0, nonFiniteNumber), NaN, debug(nonFiniteNumber) + ' is not a finite `time`'); - }); - t.equal(ES.MakeDate(0, 0), 0, 'zero day and zero time is zero date'); - t.equal(ES.MakeDate(0, 123), 123, 'zero day and nonzero time is a date of the "time"'); - t.equal(ES.MakeDate(1, 0), msPerDay, 'day of 1 and zero time is a date of "ms per day"'); - t.equal(ES.MakeDate(3, 0), 3 * msPerDay, 'day of 3 and zero time is a date of thrice "ms per day"'); - t.equal(ES.MakeDate(1, 123), msPerDay + 123, 'day of 1 and nonzero time is a date of "ms per day" plus the "time"'); - t.equal(ES.MakeDate(3, 123), (3 * msPerDay) + 123, 'day of 3 and nonzero time is a date of thrice "ms per day" plus the "time"'); - - t.end(); - }); - - test('MakeTime', function (t) { - forEach(v.infinities.concat(NaN), function (nonFiniteNumber) { - t.equal(ES.MakeTime(nonFiniteNumber, 0, 0, 0), NaN, debug(nonFiniteNumber) + ' is not a finite `hour`'); - t.equal(ES.MakeTime(0, nonFiniteNumber, 0, 0), NaN, debug(nonFiniteNumber) + ' is not a finite `min`'); - t.equal(ES.MakeTime(0, 0, nonFiniteNumber, 0), NaN, debug(nonFiniteNumber) + ' is not a finite `sec`'); - t.equal(ES.MakeTime(0, 0, 0, nonFiniteNumber), NaN, debug(nonFiniteNumber) + ' is not a finite `ms`'); - }); - - t.equal( - ES.MakeTime(1.2, 2.3, 3.4, 4.5), - (1 * msPerHour) + (2 * msPerMinute) + (3 * msPerSecond) + 4, - 'all numbers are converted to integer, multiplied by the right number of ms, and summed' - ); - - t.end(); - }); - - test('TimeClip', function (t) { - forEach(v.infinities.concat(NaN), function (nonFiniteNumber) { - t.equal(ES.TimeClip(nonFiniteNumber), NaN, debug(nonFiniteNumber) + ' is not a finite `time`'); - }); - t.equal(ES.TimeClip(8.64e15 + 1), NaN, '8.64e15 is the largest magnitude considered "finite"'); - t.equal(ES.TimeClip(-8.64e15 - 1), NaN, '-8.64e15 is the largest magnitude considered "finite"'); - - forEach(v.zeroes.concat([-10, 10, +new Date()]), function (time) { - t.looseEqual(ES.TimeClip(time), time, debug(time) + ' is a time of ' + debug(time)); - }); - - t.end(); - }); - - test('modulo', function (t) { - t.equal(3 % 2, 1, '+3 % 2 is +1'); - t.equal(ES.modulo(3, 2), 1, '+3 mod 2 is +1'); - - t.equal(-3 % 2, -1, '-3 % 2 is -1'); - t.equal(ES.modulo(-3, 2), 1, '-3 mod 2 is +1'); - t.end(); - }); -}; - -var es2015 = function ES2015(ES, ops, expectedMissing, skips) { - es5(ES, ops, expectedMissing, assign(assign({}, skips), { - CheckObjectCoercible: true, - FromPropertyDescriptor: true, - ToNumber: true, - ToString: true, - Type: true - })); - var test = makeTest(skips); - - var getNamelessFunction = function () { - var f = Object(function () {}); - try { - delete f.name; - } catch (e) { /**/ } - return f; - }; - - test('AdvanceStringIndex', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.AdvanceStringIndex(nonString); }, - TypeError, - '"S" argument must be a String; ' + debug(nonString) + ' is not' - ); - }); - - var notInts = v.nonNumbers.concat( - v.nonIntegerNumbers, - v.infinities, - [NaN, [], new Date(), Math.pow(2, 53), -1] - ); - forEach(notInts, function (nonInt) { - t['throws']( - function () { ES.AdvanceStringIndex('abc', nonInt); }, - TypeError, - '"index" argument must be an integer, ' + debug(nonInt) + ' is not.' - ); - }); - - forEach(v.nonBooleans, function (nonBoolean) { - t['throws']( - function () { ES.AdvanceStringIndex('abc', 0, nonBoolean); }, - TypeError, - debug(nonBoolean) + ' is not a Boolean' - ); - }); - - var str = 'a' + wholePoo + 'c'; - - t.test('non-unicode mode', function (st) { - for (var i = 0; i < str.length + 2; i += 1) { - st.equal(ES.AdvanceStringIndex(str, i, false), i + 1, i + ' advances to ' + (i + 1)); - } - - st.end(); - }); - - t.test('unicode mode', function (st) { - st.equal(ES.AdvanceStringIndex(str, 0, true), 1, '0 advances to 1'); - st.equal(ES.AdvanceStringIndex(str, 1, true), 3, '1 advances to 3'); - st.equal(ES.AdvanceStringIndex(str, 2, true), 3, '2 advances to 3'); - st.equal(ES.AdvanceStringIndex(str, 3, true), 4, '3 advances to 4'); - st.equal(ES.AdvanceStringIndex(str, 4, true), 5, '4 advances to 5'); - - st.end(); - }); - - t.test('lone surrogates', function (st) { - var halfPoo = 'a' + leadingPoo + 'c'; - - st.equal(ES.AdvanceStringIndex(halfPoo, 0, true), 1, '0 advances to 1'); - st.equal(ES.AdvanceStringIndex(halfPoo, 1, true), 2, '1 advances to 2'); - st.equal(ES.AdvanceStringIndex(halfPoo, 2, true), 3, '2 advances to 3'); - st.equal(ES.AdvanceStringIndex(halfPoo, 3, true), 4, '3 advances to 4'); - - st.end(); - }); - - t.test('surrogate pairs', function (st) { - var lowestPair = String.fromCharCode('0xD800') + String.fromCharCode('0xDC00'); - var highestPair = String.fromCharCode('0xDBFF') + String.fromCharCode('0xDFFF'); - - st.equal(ES.AdvanceStringIndex(lowestPair, 0, true), 2, 'lowest surrogate pair, 0 -> 2'); - st.equal(ES.AdvanceStringIndex(highestPair, 0, true), 2, 'highest surrogate pair, 0 -> 2'); - st.equal(ES.AdvanceStringIndex(wholePoo, 0, true), 2, 'poop, 0 -> 2'); - - st.end(); - }); - - t.end(); - }); - - test('ArrayCreate', function (t) { - forEach(v.nonIntegerNumbers.concat([-1]), function (nonIntegerNumber) { - t['throws']( - function () { ES.ArrayCreate(nonIntegerNumber); }, - TypeError, - 'length must be an integer number >= 0' - ); - }); - - t['throws']( - function () { ES.ArrayCreate(Math.pow(2, 32)); }, - RangeError, - 'length must be < 2**32' - ); - - t.deepEqual(ES.ArrayCreate(-0), [], 'length of -0 creates an empty array'); - t.deepEqual(ES.ArrayCreate(0), [], 'length of +0 creates an empty array'); - // eslint-disable-next-line no-sparse-arrays, comma-spacing - t.deepEqual(ES.ArrayCreate(1), [,], 'length of 1 creates a sparse array of length 1'); - // eslint-disable-next-line no-sparse-arrays, comma-spacing - t.deepEqual(ES.ArrayCreate(2), [,,], 'length of 2 creates a sparse array of length 2'); - - t.test('proto argument', { skip: !$setProto }, function (st) { - var fakeProto = { - push: { toString: function () { return 'not array push'; } } - }; - st.equal(ES.ArrayCreate(0, fakeProto).push, fakeProto.push, 'passing the proto argument works'); - st.end(); - }); - - t.end(); - }); - - test('ArraySetLength', function (t) { - forEach(v.primitives.concat(v.objects), function (nonArray) { - t['throws']( - function () { ES.ArraySetLength(nonArray, { '[[Value]]': 0 }); }, - TypeError, - 'A: ' + debug(nonArray) + ' is not an Array' - ); - }); - - forEach(v.nonUndefinedPrimitives, function (primitive) { - t['throws']( - function () { ES.ArraySetLength([], primitive); }, - TypeError, - 'Desc: ' + debug(primitive) + ' is not a Property Descriptor' - ); - }); - - t.test('making length nonwritable', { skip: !getOwnPropertyDescriptor }, function (st) { - var a = []; - ES.ArraySetLength(a, { '[[Writable]]': false }); - st.deepEqual( - getOwnPropertyDescriptor(a, 'length'), - { - configurable: false, - enumerable: false, - value: 0, - writable: false - }, - 'without a value, length becomes nonwritable' - ); - st.end(); - }); - - forEach([-1, Math.pow(2, 32)].concat(v.nonIntegerNumbers), function (nonLength) { - t['throws']( - function () { ES.ArraySetLength([], { '[[Value]]': nonLength }); }, - RangeError, - 'a non-integer, negative, or > (2**31 - 1) is not a valid length: ' + debug(nonLength) - ); - }); - - var arr = []; - ES.ArraySetLength(arr, { '[[Value]]': 7 }); - t.equal(arr.length, 7, 'array now has a length of 7'); - - t.end(); - }); - - test('ArraySpeciesCreate', function (t) { - t.test('errors', function (st) { - var testNonNumber = function (nonNumber) { - st['throws']( - function () { ES.ArraySpeciesCreate([], nonNumber); }, - TypeError, - debug(nonNumber) + ' is not a number' - ); - }; - forEach(v.nonNumbers, testNonNumber); - - st['throws']( - function () { ES.ArraySpeciesCreate([], -1); }, - TypeError, - '-1 is not >= 0' - ); - st['throws']( - function () { ES.ArraySpeciesCreate([], -Infinity); }, - TypeError, - '-Infinity is not >= 0' - ); - - var testNonIntegers = function (nonInteger) { - st['throws']( - function () { ES.ArraySpeciesCreate([], nonInteger); }, - TypeError, - debug(nonInteger) + ' is not an integer' - ); - }; - forEach(v.nonIntegerNumbers, testNonIntegers); - - st.end(); - }); - - t.test('works with a non-array', function (st) { - forEach(v.objects.concat(v.primitives), function (nonArray) { - var arr = ES.ArraySpeciesCreate(nonArray, 0); - st.ok(ES.IsArray(arr), 'is an array'); - st.equal(arr.length, 0, 'length is correct'); - st.equal(arr.constructor, Array, 'constructor is correct'); - }); - - st.end(); - }); - - t.test('works with a normal array', function (st) { - var len = 2; - var orig = [1, 2, 3]; - var arr = ES.ArraySpeciesCreate(orig, len); - - st.ok(ES.IsArray(arr), 'is an array'); - st.equal(arr.length, len, 'length is correct'); - st.equal(arr.constructor, orig.constructor, 'constructor is correct'); - - st.end(); - }); - - t.test('-0 length produces +0 length', function (st) { - var len = -0; - st.equal(len, -0, '-0 is negative zero'); - st.notEqual(len, 0, '-0 is not positive zero'); - - var orig = [1, 2, 3]; - var arr = ES.ArraySpeciesCreate(orig, len); - - st.equal(ES.IsArray(arr), true); - st.equal(arr.length, 0); - st.equal(arr.constructor, orig.constructor); - - st.end(); - }); - - t.test('works with species construtor', { skip: !hasSpecies }, function (st) { - var sentinel = {}; - var Foo = function Foo(len) { - this.length = len; - this.sentinel = sentinel; - }; - var Bar = getArraySubclassWithSpeciesConstructor(Foo); - var bar = new Bar(); - - st.equal(ES.IsArray(bar), true, 'Bar instance is an array'); - - var arr = ES.ArraySpeciesCreate(bar, 3); - st.equal(arr.constructor, Foo, 'result used species constructor'); - st.equal(arr.length, 3, 'length property is correct'); - st.equal(arr.sentinel, sentinel, 'Foo constructor was exercised'); - - st.end(); - }); - - t.test('works with null species constructor', { skip: !hasSpecies }, function (st) { - var Bar = getArraySubclassWithSpeciesConstructor(null); - var bar = new Bar(); - - st.equal(ES.IsArray(bar), true, 'Bar instance is an array'); - - var arr = ES.ArraySpeciesCreate(bar, 3); - st.equal(arr.constructor, Array, 'result used default constructor'); - st.equal(arr.length, 3, 'length property is correct'); - - st.end(); - }); - - t.test('works with undefined species constructor', { skip: !hasSpecies }, function (st) { - var Bar = getArraySubclassWithSpeciesConstructor(); - var bar = new Bar(); - - st.equal(ES.IsArray(bar), true, 'Bar instance is an array'); - - var arr = ES.ArraySpeciesCreate(bar, 3); - st.equal(arr.constructor, Array, 'result used default constructor'); - st.equal(arr.length, 3, 'length property is correct'); - - st.end(); - }); - - t.test('throws with object non-construtor species constructor', { skip: !hasSpecies }, function (st) { - forEach(v.objects, function (obj) { - var Bar = getArraySubclassWithSpeciesConstructor(obj); - var bar = new Bar(); - - st.equal(ES.IsArray(bar), true, 'Bar instance is an array'); - - st['throws']( - function () { ES.ArraySpeciesCreate(bar, 3); }, - TypeError, - debug(obj) + ' is not a constructor' - ); - }); - - st.end(); - }); - - t.end(); - }); - - test('Call', function (t) { - var receiver = {}; - var notFuncs = v.nonFunctions.concat([/a/g, new RegExp('a', 'g')]); - t.plan(notFuncs.length + v.nonArrays.length + 5); - - forEach(notFuncs, function (notFunc) { - t['throws']( - function () { return ES.Call(notFunc, receiver); }, - TypeError, - debug(notFunc) + ' (' + typeof notFunc + ') is not callable' - ); - }); - - forEach(v.nonArrays, function (nonArray) { - t['throws']( - function () { ES.Call(Function.prototype, null, nonArray); }, - TypeError, - debug(nonArray) + ' is not an array' - ); - }); - - ES.Call( - function (a, b) { - t.equal(this, receiver, 'context matches expected'); - t.deepEqual([a, b], [1, 2], 'named args are correct'); - t.equal(arguments.length, 3, 'extra argument was passed'); - t.equal(arguments[2], 3, 'extra argument was correct'); - }, - receiver, - [1, 2, 3] - ); - - t.test('Call doesn’t use func.apply', function (st) { - st.plan(4); - - var bad = function (a, b) { - st.equal(this, receiver, 'context matches expected'); - st.deepEqual([a, b], [1, 2], 'named args are correct'); - st.equal(arguments.length, 3, 'extra argument was passed'); - st.equal(arguments[2], 3, 'extra argument was correct'); - }; - - defineProperty(bad, 'apply', { - value: function () { - st.fail('bad.apply shouldn’t get called'); - } - }); - - ES.Call(bad, receiver, [1, 2, 3]); - st.end(); - }); - - t.end(); - }); - - test('CanonicalNumericIndexString', function (t) { - var throwsOnNonString = function (notString) { - t['throws']( - function () { return ES.CanonicalNumericIndexString(notString); }, - TypeError, - debug(notString) + ' is not a string' - ); - }; - forEach(v.objects.concat(v.numbers), throwsOnNonString); - t.equal(ES.CanonicalNumericIndexString('-0'), -0, '"-0" returns -0'); - for (var i = -50; i < 50; i += 10) { - t.equal(i, ES.CanonicalNumericIndexString(String(i)), '"' + i + '" returns ' + i); - t.equal(undefined, ES.CanonicalNumericIndexString(String(i) + 'a'), '"' + i + 'a" returns undefined'); - } - t.end(); - }); - - test('CompletePropertyDescriptor', function (t) { - forEach(v.nonUndefinedPrimitives, function (primitive) { - t['throws']( - function () { ES.CompletePropertyDescriptor(primitive); }, - TypeError, - debug(primitive) + ' is not a Property Descriptor' - ); - }); - - var generic = v.genericDescriptor(); - t.deepEqual( - ES.CompletePropertyDescriptor(generic), - { - '[[Configurable]]': !!generic['[[Configurable]]'], - '[[Enumerable]]': !!generic['[[Enumerable]]'], - '[[Value]]': undefined, - '[[Writable]]': false - }, - 'completes a Generic Descriptor' - ); - - var data = v.dataDescriptor(); - t.deepEqual( - ES.CompletePropertyDescriptor(data), - { - '[[Configurable]]': !!data['[[Configurable]]'], - '[[Enumerable]]': false, - '[[Value]]': data['[[Value]]'], - '[[Writable]]': !!data['[[Writable]]'] - }, - 'completes a Data Descriptor' - ); - - var accessor = v.accessorDescriptor(); - t.deepEqual( - ES.CompletePropertyDescriptor(accessor), - { - '[[Get]]': accessor['[[Get]]'], - '[[Enumerable]]': !!accessor['[[Enumerable]]'], - '[[Configurable]]': !!accessor['[[Configurable]]'], - '[[Set]]': undefined - }, - 'completes an Accessor Descriptor' - ); - - var mutator = v.mutatorDescriptor(); - t.deepEqual( - ES.CompletePropertyDescriptor(mutator), - { - '[[Set]]': mutator['[[Set]]'], - '[[Enumerable]]': !!mutator['[[Enumerable]]'], - '[[Configurable]]': !!mutator['[[Configurable]]'], - '[[Get]]': undefined - }, - 'completes a mutator Descriptor' - ); - - t['throws']( - function () { ES.CompletePropertyDescriptor(v.bothDescriptor()); }, - TypeError, - 'data and accessor descriptors are mutually exclusive' - ); - - t.end(); - }); - - test('CreateDataProperty', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.CreateDataProperty(primitive); }, - TypeError, - debug(primitive) + ' is not an object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.CreateDataProperty({}, nonPropertyKey); }, - TypeError, - debug(nonPropertyKey) + ' is not a property key' - ); - }); - - var sentinel = { id: 'sentinel' }; - var secondSentinel = { id: 'second sentinel' }; - forEach(v.propertyKeys, function (propertyKey) { - var obj = {}; - var status = ES.CreateDataProperty(obj, propertyKey, sentinel); - t.equal(status, true, 'status is true'); - t.equal( - obj[propertyKey], - sentinel, - debug(sentinel) + ' is installed on "' + debug(propertyKey) + '" on the object' - ); - var secondStatus = ES.CreateDataProperty(obj, propertyKey, secondSentinel); - t.equal(secondStatus, true, 'second status is true'); - t.equal( - obj[propertyKey], - secondSentinel, - debug(secondSentinel) + ' is installed on "' + debug(propertyKey) + '" on the object' - ); - - t.test('with defineProperty', { skip: !defineProperty.oDP }, function (st) { - var nonWritable = defineProperty({}, propertyKey, { configurable: true, writable: false }); - - var nonWritableStatus = ES.CreateDataProperty(nonWritable, propertyKey, sentinel); - st.equal(nonWritableStatus, false, 'create data property failed'); - st.notEqual( - nonWritable[propertyKey], - sentinel, - debug(sentinel) + ' is not installed on "' + debug(propertyKey) + '" on the object when key is nonwritable' - ); - - var nonConfigurable = defineProperty({}, propertyKey, { configurable: false, writable: true }); - - var nonConfigurableStatus = ES.CreateDataProperty(nonConfigurable, propertyKey, sentinel); - st.equal(nonConfigurableStatus, false, 'create data property failed'); - st.notEqual( - nonConfigurable[propertyKey], - sentinel, - debug(sentinel) + ' is not installed on "' + debug(propertyKey) + '" on the object when key is nonconfigurable' - ); - st.end(); - }); - }); - - t.end(); - }); - - test('CreateDataPropertyOrThrow', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.CreateDataPropertyOrThrow(primitive); }, - TypeError, - debug(primitive) + ' is not an object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.CreateDataPropertyOrThrow({}, nonPropertyKey); }, - TypeError, - debug(nonPropertyKey) + ' is not a property key' - ); - }); - - var sentinel = {}; - forEach(v.propertyKeys, function (propertyKey) { - var obj = {}; - var status = ES.CreateDataPropertyOrThrow(obj, propertyKey, sentinel); - t.equal(status, true, 'status is true'); - t.equal( - obj[propertyKey], - sentinel, - debug(sentinel) + ' is installed on "' + debug(propertyKey) + '" on the object' - ); - - if (typeof Object.preventExtensions === 'function') { - var notExtensible = {}; - Object.preventExtensions(notExtensible); - - t['throws']( - function () { ES.CreateDataPropertyOrThrow(notExtensible, propertyKey, sentinel); }, - TypeError, - 'can not install ' + debug(propertyKey) + ' on non-extensible object' - ); - t.notEqual( - notExtensible[propertyKey], - sentinel, - debug(sentinel) + ' is not installed on "' + debug(propertyKey) + '" on the object' - ); - } - }); - - t.end(); - }); - - test('CreateListFromArrayLike', function (t) { - forEach(v.primitives, function (nonObject) { - t['throws']( - function () { ES.CreateListFromArrayLike(nonObject); }, - TypeError, - debug(nonObject) + ' is not an Object' - ); - }); - forEach(v.nonArrays, function (nonArray) { - t['throws']( - function () { ES.CreateListFromArrayLike({}, nonArray); }, - TypeError, - debug(nonArray) + ' is not an Array' - ); - }); - - t.deepEqual( - ES.CreateListFromArrayLike({ length: 2, 0: 'a', 1: 'b', 2: 'c' }), - ['a', 'b'], - 'arraylike stops at the length' - ); - - t.end(); - }); - - test('CreateHTML', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.CreateHTML('', nonString, '', ''); }, - TypeError, - 'tag: ' + debug(nonString) + ' is not a String' - ); - t['throws']( - function () { ES.CreateHTML('', '', nonString, ''); }, - TypeError, - 'attribute: ' + debug(nonString) + ' is not a String' - ); - }); - - t.equal( - ES.CreateHTML( - { toString: function () { return 'the string'; } }, - 'some HTML tag!', - '' - ), - 'the string', - 'works with an empty string attribute value' - ); - - t.equal( - ES.CreateHTML( - { toString: function () { return 'the string'; } }, - 'some HTML tag!', - 'attr', - 'value "with quotes"' - ), - 'the string', - 'works with an attribute, and a value with quotes' - ); - - t.end(); - }); - - test('CreateMethodProperty', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.CreateMethodProperty(primitive, 'key'); }, - TypeError, - 'O must be an Object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.CreateMethodProperty({}, nonPropertyKey); }, - TypeError, - debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - t.test('defines correctly', function (st) { - var obj = {}; - var key = 'the key'; - var value = { foo: 'bar' }; - - st.equal(ES.CreateMethodProperty(obj, key, value), true, 'defines property successfully'); - st.test('property descriptor', { skip: !getOwnPropertyDescriptor }, function (s2t) { - s2t.deepEqual( - getOwnPropertyDescriptor(obj, key), - { - configurable: true, - enumerable: false, - value: value, - writable: true - }, - 'sets the correct property descriptor' - ); - - s2t.end(); - }); - st.equal(obj[key], value, 'sets the correct value'); - - st.end(); - }); - - t.test('fails as expected on a frozen object', { skip: !Object.freeze }, function (st) { - var obj = Object.freeze({ foo: 'bar' }); - st['throws']( - function () { ES.CreateMethodProperty(obj, 'foo', { value: 'baz' }); }, - TypeError, - 'nonconfigurable key can not be defined' - ); - - st.end(); - }); - - t.test('fails as expected on a function with a nonconfigurable name', { skip: !functionsHaveNames || functionsHaveConfigurableNames }, function (st) { - st['throws']( - function () { ES.CreateMethodProperty(function () {}, 'name', { value: 'baz' }); }, - TypeError, - 'nonconfigurable function name can not be defined' - ); - st.end(); - }); - - t.end(); - }); - - test('CreateIterResultObject', function (t) { - forEach(v.nonBooleans, function (nonBoolean) { - t['throws']( - function () { ES.CreateIterResultObject({}, nonBoolean); }, - TypeError, - '"done" argument must be a boolean; ' + debug(nonBoolean) + ' is not' - ); - }); - - var value = {}; - t.deepEqual( - ES.CreateIterResultObject(value, true), - { value: value, done: true }, - 'creates a "done" iteration result' - ); - t.deepEqual( - ES.CreateIterResultObject(value, false), - { value: value, done: false }, - 'creates a "not done" iteration result' - ); - - t.end(); - }); - - test('DefinePropertyOrThrow', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.DefinePropertyOrThrow(primitive, 'key', {}); }, - TypeError, - 'O must be an Object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.DefinePropertyOrThrow({}, nonPropertyKey, {}); }, - TypeError, - debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - t.test('defines correctly', function (st) { - var obj = {}; - var key = 'the key'; - var descriptor = { - configurable: true, - enumerable: false, - value: { foo: 'bar' }, - writable: true - }; - - st.equal(ES.DefinePropertyOrThrow(obj, key, descriptor), true, 'defines property successfully'); - st.test('property descriptor', { skip: !getOwnPropertyDescriptor }, function (s2t) { - s2t.deepEqual( - getOwnPropertyDescriptor(obj, key), - descriptor, - 'sets the correct property descriptor' - ); - - s2t.end(); - }); - st.deepEqual(obj[key], descriptor.value, 'sets the correct value'); - - st.end(); - }); - - t.test('fails as expected on a frozen object', { skip: !Object.freeze }, function (st) { - var obj = Object.freeze({ foo: 'bar' }); - st['throws']( - function () { - ES.DefinePropertyOrThrow(obj, 'foo', { configurable: true, value: 'baz' }); - }, - TypeError, - 'nonconfigurable key can not be defined' - ); - - st.end(); - }); - - t.test('fails as expected on a function with a nonconfigurable name', { skip: !functionsHaveNames || functionsHaveConfigurableNames }, function (st) { - st['throws']( - function () { - ES.DefinePropertyOrThrow(function () {}, 'name', { configurable: true, value: 'baz' }); - }, - TypeError, - 'nonconfigurable function name can not be defined' - ); - st.end(); - }); - - t.end(); - }); - - test('DeletePropertyOrThrow', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.DeletePropertyOrThrow(primitive, 'key', {}); }, - TypeError, - 'O must be an Object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.DeletePropertyOrThrow({}, nonPropertyKey, {}); }, - TypeError, - debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - t.test('defines correctly', function (st) { - var obj = { 'the key': 42 }; - var key = 'the key'; - - st.equal(ES.DeletePropertyOrThrow(obj, key), true, 'deletes property successfully'); - st.equal(key in obj, false, 'key is no longer in the object'); - - st.end(); - }); - - t.test('fails as expected on a frozen object', { skip: !Object.freeze }, function (st) { - var obj = Object.freeze({ foo: 'bar' }); - st['throws']( - function () { ES.DeletePropertyOrThrow(obj, 'foo'); }, - TypeError, - 'nonconfigurable key can not be deleted' - ); - - st.end(); - }); - - t.test('fails as expected on a function with a nonconfigurable name', { skip: !functionsHaveNames || functionsHaveConfigurableNames }, function (st) { - st['throws']( - function () { ES.DeletePropertyOrThrow(function () {}, 'name'); }, - TypeError, - 'nonconfigurable function name can not be deleted' - ); - st.end(); - }); - - t.end(); - }); - - test('EnumerableOwnNames', function (t) { - var obj = testEnumerableOwnNames(t, function (O) { return ES.EnumerableOwnNames(O); }); - - t.deepEqual( - ES.EnumerableOwnNames(obj), - ['own'], - 'returns enumerable own names' - ); - - t.end(); - }); - - test('FromPropertyDescriptor', function (t) { - t.equal(ES.FromPropertyDescriptor(), undefined, 'no value begets undefined'); - t.equal(ES.FromPropertyDescriptor(undefined), undefined, 'undefined value begets undefined'); - - forEach(v.nonUndefinedPrimitives, function (primitive) { - t['throws']( - function () { ES.FromPropertyDescriptor(primitive); }, - TypeError, - debug(primitive) + ' is not a Property Descriptor' - ); - }); - - var accessor = v.accessorDescriptor(); - t.deepEqual(ES.FromPropertyDescriptor(accessor), { - get: accessor['[[Get]]'], - enumerable: !!accessor['[[Enumerable]]'], - configurable: !!accessor['[[Configurable]]'] - }); - - var mutator = v.mutatorDescriptor(); - t.deepEqual(ES.FromPropertyDescriptor(mutator), { - set: mutator['[[Set]]'], - enumerable: !!mutator['[[Enumerable]]'], - configurable: !!mutator['[[Configurable]]'] - }); - var data = v.dataDescriptor(); - t.deepEqual(ES.FromPropertyDescriptor(data), { - value: data['[[Value]]'], - writable: data['[[Writable]]'] - }); - - t.deepEqual(ES.FromPropertyDescriptor(v.genericDescriptor()), { - enumerable: false, - configurable: true - }); - - var both = v.bothDescriptor(); - t['throws']( - function () { - ES.FromPropertyDescriptor({ get: both['[[Get]]'], value: both['[[Value]]'] }); - }, - TypeError, - 'data and accessor descriptors are mutually exclusive' - ); - - t.end(); - }); - - test('Get', function (t) { - t['throws'](function () { return ES.Get('a', 'a'); }, TypeError, 'Throws a TypeError if `O` is not an Object'); - t['throws'](function () { return ES.Get({ 7: 7 }, 7); }, TypeError, 'Throws a TypeError if `P` is not a property key'); - - var value = {}; - t.test('Symbols', { skip: !v.hasSymbols }, function (st) { - var sym = Symbol('sym'); - var obj = {}; - obj[sym] = value; - st.equal(ES.Get(obj, sym), value, 'returns property `P` if it exists on object `O`'); - st.end(); - }); - t.equal(ES.Get({ a: value }, 'a'), value, 'returns property `P` if it exists on object `O`'); - t.end(); - }); - - test('GetIterator', function (t) { - var arr = [1, 2]; - testIterator(t, ES.GetIterator(arr), arr); - - testIterator(t, ES.GetIterator('abc'), 'abc'.split('')); - - var sentinel = {}; - forEach(v.primitives, function (nonObject) { - var method = function () { - return nonObject; - }; - t['throws']( - function () { ES.GetIterator(sentinel, method); }, - TypeError, - debug(nonObject) + ' is not an Object; iterator method must return an Object' - ); - }); - - var i = 0; - var manualMethod = function () { - t.equal(this, sentinel, 'receiver is expected object'); - return { - next: function () { - var value = arr[i]; - i += 1; - return { - done: i > arr.length, - value: value - }; - } - }; - }; - testIterator(t, ES.GetIterator(sentinel, manualMethod), arr); - - t.test('Symbol.iterator', { skip: !v.hasSymbols }, function (st) { - var m = new Map(); - m.set(1, 'a'); - m.set(2, 'b'); - - testIterator(st, ES.GetIterator(m), [[1, 'a'], [2, 'b']]); - - forEach(v.primitives, function (nonObject) { - var badIterable = {}; - badIterable[Symbol.iterator] = function () { - return nonObject; - }; - st['throws']( - function () { return ES.GetIterator(badIterable); }, - TypeError, - debug(nonObject) + ' is not an Object; iterator method must return an Object' - ); - }); - - st.end(); - }); - - t.end(); - }); - - test('GetMethod', function (t) { - t['throws'](function () { return ES.GetMethod({ 7: 7 }, 7); }, TypeError, 'Throws a TypeError if `P` is not a property key'); - t.equal(ES.GetMethod({}, 'a'), undefined, 'returns undefined in property is undefined'); - t.equal(ES.GetMethod({ a: null }, 'a'), undefined, 'returns undefined if property is null'); - t.equal(ES.GetMethod({ a: undefined }, 'a'), undefined, 'returns undefined if property is undefined'); - var obj = { a: function () {} }; - t['throws'](function () { ES.GetMethod({ a: 'b' }, 'a'); }, TypeError, 'throws TypeError if property exists and is not callable'); - t.equal(ES.GetMethod(obj, 'a'), obj.a, 'returns property if it is callable'); - t.end(); - }); - - test('GetOwnPropertyKeys', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.GetOwnPropertyKeys(primitive, 'String'); }, - TypeError, - 'O: ' + debug(primitive) + ' is not an Object' - ); - }); - - t['throws']( - function () { ES.GetOwnPropertyKeys({}, 'not string or symbol'); }, - TypeError, - 'Type: must be "String" or "Symbol"' - ); - - t.test('Symbols', { skip: !v.hasSymbols }, function (st) { - var O = { a: 1 }; - O[Symbol.iterator] = true; - var s = Symbol('test'); - defineProperty(O, s, { enumerable: false, value: true }); - - st.deepEqual( - ES.GetOwnPropertyKeys(O, 'Symbol'), - [Symbol.iterator, s], - 'works with Symbols, enumerable or not' - ); - - st.end(); - }); - - t.test('non-enumerable names', { skip: !defineProperty.oDP }, function (st) { - var O = { a: 1 }; - defineProperty(O, 'b', { enumerable: false, value: 2 }); - if (v.hasSymbols) { - O[Symbol.iterator] = true; - } - - st.deepEqual( - ES.GetOwnPropertyKeys(O, 'String').sort(), - ['a', 'b'].sort(), - 'works with Strings, enumerable or not' - ); - - st.end(); - }); - - t.deepEqual( - ES.GetOwnPropertyKeys({ a: 1, b: 2 }, 'String').sort(), - ['a', 'b'].sort(), - 'works with enumerable keys' - ); - - t.end(); - }); - - test('GetPrototypeFromConstructor', function (t) { - forEach(v.nonFunctions, function (nonFunction) { - t['throws']( - function () { ES.GetPrototypeFromConstructor(nonFunction, '%Array%'); }, - TypeError, - debug(nonFunction) + ' is not a constructor' - ); - }); - - forEach(arrowFns, function (arrowFn) { - t['throws']( - function () { ES.GetPrototypeFromConstructor(arrowFn, '%Array%'); }, - TypeError, - debug(arrowFn) + ' is not a constructor' - ); - }); - - var f = function () {}; - t.equal( - ES.GetPrototypeFromConstructor(f, '%Array.prototype%'), - f.prototype, - 'function with normal `prototype` property returns it' - ); - forEach([true, 'foo', 42], function (truthyPrimitive) { - f.prototype = truthyPrimitive; - t.equal( - ES.GetPrototypeFromConstructor(f, '%Array.prototype%'), - Array.prototype, - 'function with non-object `prototype` property (' + debug(truthyPrimitive) + ') returns default intrinsic' - ); - }); - - t.end(); - }); - - test('GetSubstitution', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.GetSubstitution(nonString, '', 0, [], ''); }, - TypeError, - '`matched`: ' + debug(nonString) + ' is not a String' - ); - - t['throws']( - function () { ES.GetSubstitution('', nonString, 0, [], ''); }, - TypeError, - '`str`: ' + debug(nonString) + ' is not a String' - ); - - t['throws']( - function () { ES.GetSubstitution('', '', 0, [], nonString); }, - TypeError, - '`replacement`: ' + debug(nonString) + ' is not a String' - ); - - if (canDistinguishSparseFromUndefined || typeof nonString !== 'undefined') { - t['throws']( - function () { ES.GetSubstitution('', '', 0, [nonString], ''); }, - TypeError, - '`captures`: ' + debug([nonString]) + ' is not an Array of strings' - ); - } - }); - - forEach(v.notNonNegativeIntegers, function (nonNonNegativeInteger) { - t['throws']( - function () { ES.GetSubstitution('', '', nonNonNegativeInteger, [], ''); }, - TypeError, - '`position`: ' + debug(nonNonNegativeInteger) + ' is not a non-negative integer' - ); - }); - - forEach(v.nonArrays, function (nonArray) { - t['throws']( - function () { ES.GetSubstitution('', '', 0, nonArray, ''); }, - TypeError, - '`captures`: ' + debug(nonArray) + ' is not an Array' - ); - }); - - t.equal( - ES.GetSubstitution('def', 'abcdefghi', 3, [], '123'), - '123', - 'returns the substitution' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], '$$2$'), - '$2$', - 'supports $$, and trailing $' - ); - - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], '>$&<'), - '>abcdef<', - 'supports $&' - ); - - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], '>$`<'), - '><', - 'supports $` at position 0' - ); - t.equal( - ES.GetSubstitution('def', 'abcdefghi', 3, [], '>$`<'), - '>ab<', - 'supports $` at position > 0' - ); - - t.equal( - ES.GetSubstitution('def', 'abcdefghi', 7, [], ">$'<"), - '><', - "supports $' at a position where there's less than `matched.length` chars left" - ); - t.equal( - ES.GetSubstitution('def', 'abcdefghi', 3, [], ">$'<"), - '>ghi<', - "supports $' at a position where there's more than `matched.length` chars left" - ); - - for (var i = 0; i < 100; i += 1) { - var captures = []; - captures[i] = 'test'; - if (i > 0) { - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], '>$' + i + '<'), - '>undefined<', - 'supports $' + i + ' with no captures' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], '>$' + i), - '>undefined', - 'supports $' + i + ' at the end of the replacement, with no captures' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, '>$' + i + '<'), - '><', - 'supports $' + i + ' with a capture at that index' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, '>$' + i), - '>', - 'supports $' + i + ' at the end of the replacement, with a capture at that index' - ); - } - if (i < 10) { - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], '>$0' + i + '<'), - i === 0 ? '><' : '>undefined<', - 'supports $0' + i + ' with no captures' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], '>$0' + i), - i === 0 ? '>' : '>undefined', - 'supports $0' + i + ' at the end of the replacement, with no captures' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, '>$0' + i + '<'), - '><', - 'supports $0' + i + ' with a capture at that index' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, '>$0' + i), - '>', - 'supports $0' + i + ' at the end of the replacement, with a capture at that index' - ); - } - } - - t.end(); - }); - - test('GetV', function (t) { - t['throws'](function () { return ES.GetV({ 7: 7 }, 7); }, TypeError, 'Throws a TypeError if `P` is not a property key'); - var obj = { a: function () {} }; - t.equal(ES.GetV(obj, 'a'), obj.a, 'returns property if it exists'); - t.equal(ES.GetV(obj, 'b'), undefined, 'returns undefiend if property does not exist'); - t.end(); - }); - - test('HasOwnProperty', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.HasOwnProperty(primitive, 'key'); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonKey) { - t['throws']( - function () { ES.HasOwnProperty({}, nonKey); }, - TypeError, - debug(nonKey) + ' is not a Property Key' - ); - }); - - t.equal(ES.HasOwnProperty({}, 'toString'), false, 'inherited properties are not own'); - t.equal( - ES.HasOwnProperty({ toString: 1 }, 'toString'), - true, - 'shadowed inherited own properties are own' - ); - t.equal(ES.HasOwnProperty({ a: 1 }, 'a'), true, 'own properties are own'); - - t.end(); - }); - - test('HasProperty', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.HasProperty(primitive, 'key'); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonKey) { - t['throws']( - function () { ES.HasProperty({}, nonKey); }, - TypeError, - debug(nonKey) + ' is not a Property Key' - ); - }); - - t.equal(ES.HasProperty({}, 'nope'), false, 'object does not have nonexistent properties'); - t.equal(ES.HasProperty({}, 'toString'), true, 'object has inherited properties'); - t.equal( - ES.HasProperty({ toString: 1 }, 'toString'), - true, - 'object has shadowed inherited own properties' - ); - t.equal(ES.HasProperty({ a: 1 }, 'a'), true, 'object has own properties'); - - t.end(); - }); - - test('InstanceofOperator', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.InstanceofOperator(primitive, function () {}); }, - TypeError, - debug(primitive) + ' is not an object' - ); - }); - - forEach(v.nonFunctions, function (nonFunction) { - t['throws']( - function () { ES.InstanceofOperator({}, nonFunction); }, - TypeError, - debug(nonFunction) + ' is not callable' - ); - }); - - var C = function C() {}; - var D = function D() {}; - - t.equal(ES.InstanceofOperator(new C(), C), true, 'constructor function has an instance of itself'); - t.equal(ES.InstanceofOperator(new D(), C), false, 'constructor/instance mismatch is false'); - t.equal(ES.InstanceofOperator(new C(), D), false, 'instance/constructor mismatch is false'); - t.equal(ES.InstanceofOperator({}, C), false, 'plain object is not an instance of a constructor'); - t.equal(ES.InstanceofOperator({}, Object), true, 'plain object is an instance of Object'); - - t.test('Symbol.hasInstance', { skip: !v.hasSymbols || !Symbol.hasInstance }, function (st) { - st.plan(5); - - var O = {}; - var C2 = function () {}; - st.equal(ES.InstanceofOperator(O, C2), false, 'O is not an instance of C2'); - - defineProperty(C2, Symbol.hasInstance, { - configurable: true, - value: function (obj) { - st.equal(this, C2, 'hasInstance receiver is C2'); - st.equal(obj, O, 'hasInstance argument is O'); - - return {}; // testing coercion to boolean - } - }); - - st.equal(ES.InstanceofOperator(O, C2), true, 'O is now an instance of C2'); - - defineProperty(C2, Symbol.hasInstance, { - configurable: true, - value: undefined - }); - - st.equal(ES.InstanceofOperator(O, C2), false, 'O is no longer an instance of C2'); - - st.end(); - }); - - t.end(); - }); - - test('Invoke', function (t) { - forEach(v.nonPropertyKeys, function (nonKey) { - t['throws']( - function () { ES.Invoke({}, nonKey); }, - TypeError, - debug(nonKey) + ' is not a Property Key' - ); - }); - - t['throws']( - function () { ES.Invoke({ o: false }, 'o'); }, - TypeError, - 'fails on a non-function' - ); - - forEach(v.nonArrays, function (nonArray) { - t['throws']( - function () { ES.Invoke({}, '', nonArray); }, - TypeError, - debug(nonArray) + ' is not an Array' - ); - }); - - t.test('invoked callback', function (st) { - var aValue = {}; - var bValue = {}; - var obj = { - f: function (a) { - st.equal(arguments.length, 2, '2 args passed'); - st.equal(a, aValue, 'first arg is correct'); - st.equal(arguments[1], bValue, 'second arg is correct'); - } - }; - st.plan(3); - ES.Invoke(obj, 'f', [aValue, bValue]); - }); - - t.end(); - }); - - test('IsArray', function (t) { - t.equal(true, ES.IsArray([]), '[] is array'); - t.equal(false, ES.IsArray({}), '{} is not array'); - t.equal(false, ES.IsArray({ length: 1, 0: true }), 'arraylike object is not array'); - forEach(v.objects.concat(v.primitives), function (value) { - t.equal(false, ES.IsArray(value), debug(value) + ' is not array'); - }); - t.end(); - }); - - test('IsConcatSpreadable', function (t) { - forEach(v.primitives, function (primitive) { - t.equal(ES.IsConcatSpreadable(primitive), false, debug(primitive) + ' is not an Object'); - }); - - var hasSymbolConcatSpreadable = v.hasSymbols && Symbol.isConcatSpreadable; - t.test('Symbol.isConcatSpreadable', { skip: !hasSymbolConcatSpreadable }, function (st) { - forEach(v.falsies, function (falsy) { - var obj = {}; - obj[Symbol.isConcatSpreadable] = falsy; - st.equal( - ES.IsConcatSpreadable(obj), - false, - 'an object with ' + debug(falsy) + ' as Symbol.isConcatSpreadable is not concat spreadable' - ); - }); - - forEach(v.truthies, function (truthy) { - var obj = {}; - obj[Symbol.isConcatSpreadable] = truthy; - st.equal( - ES.IsConcatSpreadable(obj), - true, - 'an object with ' + debug(truthy) + ' as Symbol.isConcatSpreadable is concat spreadable' - ); - }); - - st.end(); - }); - - forEach(v.objects, function (object) { - t.equal( - ES.IsConcatSpreadable(object), - false, - 'non-array without Symbol.isConcatSpreadable is not concat spreadable' - ); - }); - - t.equal(ES.IsConcatSpreadable([]), true, 'arrays are concat spreadable'); - - t.end(); - }); - - test('IsConstructor', function (t) { - t.equal(true, ES.IsConstructor(function () {}), 'function is constructor'); - t.equal(false, ES.IsConstructor(/a/g), 'regex is not constructor'); - forEach(v.objects, function (object) { - t.equal(false, ES.IsConstructor(object), object + ' object is not constructor'); - }); - - try { - var arrow = Function('return () => {}')(); // eslint-disable-line no-new-func - t.equal(ES.IsConstructor(arrow), false, 'arrow function is not constructor'); - } catch (e) { - t.comment('SKIP: arrow function syntax not supported.'); - } - - try { - var foo = Function('return class Foo {}')(); // eslint-disable-line no-new-func - t.equal(ES.IsConstructor(foo), true, 'class is constructor'); - } catch (e) { - t.comment('SKIP: class syntax not supported.'); - } - - if (typeof Reflect !== 'object' || typeof Proxy !== 'function' || has(Proxy, 'prototype')) { - t.comment('SKIP: Proxy is constructor'); - } else { - t.equal(ES.IsConstructor(Proxy), true, 'Proxy is constructor'); - } - - t.end(); - }); - - test('IsExtensible', function (t) { - forEach(v.objects, function (object) { - t.equal(true, ES.IsExtensible(object), debug(object) + ' object is extensible'); - }); - forEach(v.primitives, function (primitive) { - t.equal(false, ES.IsExtensible(primitive), debug(primitive) + ' is not extensible'); - }); - if (Object.preventExtensions) { - t.equal(false, ES.IsExtensible(Object.preventExtensions({})), 'object with extensions prevented is not extensible'); - } - t.end(); - }); - - test('IsPromise', { skip: typeof Promise !== 'function' }, function (t) { - forEach(v.objects.concat(v.primitives), function (nonPromise) { - t.equal(ES.IsPromise(nonPromise), false, debug(nonPromise) + ' is not a Promise'); - }); - - var thenable = { then: Promise.prototype.then }; - t.equal(ES.IsPromise(thenable), false, 'generic thenable is not a Promise'); - - t.equal(ES.IsPromise(Promise.resolve()), true, 'Promise is a Promise'); - - t.end(); - }); - - test('IsPropertyDescriptor', function (t) { - forEach(v.primitives, function (primitive) { - t.equal( - ES.IsPropertyDescriptor(primitive), - false, - debug(primitive) + ' is not a Property Descriptor' - ); - }); - - t.equal(ES.IsPropertyDescriptor({ invalid: true }), false, 'invalid keys not allowed on a Property Descriptor'); - - t.equal(ES.IsPropertyDescriptor({}), true, 'empty object is an incomplete Property Descriptor'); - - t.equal(ES.IsPropertyDescriptor(v.accessorDescriptor()), true, 'accessor descriptor is a Property Descriptor'); - t.equal(ES.IsPropertyDescriptor(v.mutatorDescriptor()), true, 'mutator descriptor is a Property Descriptor'); - t.equal(ES.IsPropertyDescriptor(v.dataDescriptor()), true, 'data descriptor is a Property Descriptor'); - t.equal(ES.IsPropertyDescriptor(v.genericDescriptor()), true, 'generic descriptor is a Property Descriptor'); - - t['throws']( - function () { ES.IsPropertyDescriptor(v.bothDescriptor()); }, - TypeError, - 'a Property Descriptor can not be both a Data and an Accessor Descriptor' - ); - - t['throws']( - function () { ES.IsPropertyDescriptor(v.bothDescriptorWritable()); }, - TypeError, - 'a Property Descriptor can not be both a Data and an Accessor Descriptor' - ); - - t.end(); - }); - - test('IsPropertyKey', function (t) { - forEach(v.numbers.concat(v.objects), function (notKey) { - t.equal(false, ES.IsPropertyKey(notKey), debug(notKey) + ' is not property key'); - }); - - t.equal(true, ES.IsPropertyKey('foo'), 'string is property key'); - - forEach(v.symbols, function (symbol) { - t.equal(true, ES.IsPropertyKey(symbol), debug(symbol) + ' is property key'); - }); - t.end(); - }); - - test('IsRegExp', function (t) { - forEach([/a/g, new RegExp('a', 'g')], function (regex) { - t.equal(true, ES.IsRegExp(regex), regex + ' is regex'); - }); - - forEach(v.objects.concat(v.primitives), function (nonRegex) { - t.equal(false, ES.IsRegExp(nonRegex), debug(nonRegex) + ' is not regex'); - }); - - t.test('Symbol.match', { skip: !v.hasSymbols || !Symbol.match }, function (st) { - var obj = {}; - obj[Symbol.match] = true; - st.equal(true, ES.IsRegExp(obj), 'object with truthy Symbol.match is regex'); - - var regex = /a/; - defineProperty(regex, Symbol.match, { value: false }); - st.equal(false, ES.IsRegExp(regex), 'regex with falsy Symbol.match is not regex'); - - st.end(); - }); - - t.end(); - }); - - test('IsInteger', function (t) { - for (var i = -100; i < 100; i += 10) { - t.equal(true, ES.IsInteger(i), i + ' is integer'); - t.equal(false, ES.IsInteger(i + 0.2), (i + 0.2) + ' is not integer'); - } - t.equal(true, ES.IsInteger(-0), '-0 is integer'); - var notInts = v.nonNumbers.concat(v.nonIntegerNumbers, v.infinities, [NaN, [], new Date()]); - forEach(notInts, function (notInt) { - t.equal(false, ES.IsInteger(notInt), debug(notInt) + ' is not integer'); - }); - t.equal(false, ES.IsInteger(v.uncoercibleObject), 'uncoercibleObject is not integer'); - t.end(); - }); - - test('IteratorNext', function (t) { - forEach(v.primitives, function (nonObject) { - t['throws']( - function () { ES.IteratorNext(nonObject); }, - TypeError, - debug(nonObject) + ' is not an Object' - ); - - t['throws']( - function () { ES.IteratorNext({ next: function () { return nonObject; } }); }, - TypeError, - '`next()` returns ' + debug(nonObject) + ', which is not an Object' - ); - }); - - var iterator = { - next: function (value) { - return [arguments.length, value]; - } - }; - t.deepEqual( - ES.IteratorNext(iterator), - [0, undefined], - 'returns expected value from `.next()`; `next` receives expected 0 arguments' - ); - t.deepEqual( - ES.IteratorNext(iterator, iterator), - [1, iterator], - 'returns expected value from `.next()`; `next` receives expected 1 argument' - ); - - t.end(); - }); - - test('IteratorComplete', function (t) { - forEach(v.primitives, function (nonObject) { - t['throws']( - function () { ES.IteratorComplete(nonObject); }, - TypeError, - debug(nonObject) + ' is not an Object' - ); - }); - - forEach(v.truthies, function (truthy) { - t.equal(ES.IteratorComplete({ done: truthy }), true, '{ done: ' + debug(truthy) + ' } is true'); - }); - - forEach(v.falsies, function (falsy) { - t.equal(ES.IteratorComplete({ done: falsy }), false, '{ done: ' + debug(falsy) + ' } is false'); - }); - - t.end(); - }); - - test('IteratorValue', function (t) { - forEach(v.primitives, function (nonObject) { - t['throws']( - function () { ES.IteratorValue(nonObject); }, - TypeError, - debug(nonObject) + ' is not an Object' - ); - }); - - var sentinel = {}; - t.equal(ES.IteratorValue({ value: sentinel }), sentinel, 'Gets `.value` off the object'); - - t.end(); - }); - - test('IteratorStep', function (t) { - t.deepEqual( - ES.IteratorStep({ - next: function () { - return { - done: false, - value: [1, arguments.length] - }; - } - }), - { done: false, value: [1, 0] }, - 'not-done iterator result yields iterator result' - ); - t.deepEqual( - ES.IteratorStep({ - next: function () { - return { - done: true, - value: [2, arguments.length] - }; - } - }), - false, - 'done iterator result yields false' - ); - - t.end(); - }); - - test('IteratorClose', function (t) { - forEach(v.primitives, function (nonObject) { - t['throws']( - function () { ES.IteratorClose(nonObject); }, - TypeError, - debug(nonObject) + ' is not an Object' - ); - - t['throws']( - function () { ES.IteratorClose({ 'return': function () { return nonObject; } }, function () {}); }, - TypeError, - '`.return` returns ' + debug(nonObject) + ', which is not an Object' - ); - }); - - forEach(v.nonFunctions, function (nonFunction) { - t['throws']( - function () { ES.IteratorClose({}, nonFunction); }, - TypeError, - debug(nonFunction) + ' is not a thunk for a Completion Record' - ); - - if (nonFunction != null) { - t['throws']( - function () { ES.IteratorClose({ 'return': nonFunction }, function () {}); }, - TypeError, - '`.return` of ' + debug(nonFunction) + ' is not a Function' - ); - } - }); - - var sentinel = {}; - t.equal( - ES.IteratorClose({ 'return': undefined }, function () { return sentinel; }), - sentinel, - 'when `.return` is `undefined`, invokes and returns the completion thunk' - ); - - /* eslint no-throw-literal: 0 */ - t['throws']( - function () { ES.IteratorClose({ 'return': function () { throw sentinel; } }, function () {}); }, - sentinel, - '`.return` that throws, when completionThunk does not, throws exception from `.return`' - ); - t['throws']( - function () { ES.IteratorClose({ 'return': function () { throw sentinel; } }, function () { throw -1; }); }, - -1, - '`.return` that throws, when completionThunk does too, throws exception from completionThunk' - ); - t['throws']( - function () { ES.IteratorClose({ 'return': function () { } }, function () { throw -1; }); }, - -1, - '`.return` that does not throw, when completionThunk does, throws exception from completionThunk' - ); - - t.equal( - ES.IteratorClose({ 'return': function () { return sentinel; } }, function () { return 42; }), - 42, - 'when `.return` and completionThunk do not throw, and `.return` returns an Object, returns completionThunk' - ); - - t.end(); - }); - - test('ObjectCreate', function (t) { - forEach(v.nonNullPrimitives, function (value) { - t['throws']( - function () { ES.ObjectCreate(value); }, - TypeError, - debug(value) + ' is not null, or an object' - ); - }); - - t.test('proto arg', function (st) { - var Parent = function Parent() {}; - Parent.prototype.foo = {}; - var child = ES.ObjectCreate(Parent.prototype); - st.equal(child instanceof Parent, true, 'child is instanceof Parent'); - st.equal(child.foo, Parent.prototype.foo, 'child inherits properties from Parent.prototype'); - - st.end(); - }); - - t.test('internal slots arg', function (st) { - st.doesNotThrow(function () { ES.ObjectCreate({}, []); }, 'an empty slot list is valid'); - - st['throws']( - function () { ES.ObjectCreate({}, ['a']); }, - SyntaxError, - 'internal slots are not supported' - ); - - st.end(); - }); - - t.test('null proto', { skip: !Object.create && !$setProto }, function (st) { - st.equal('toString' in {}, true, 'normal objects have toString'); - st.equal('toString' in ES.ObjectCreate(null), false, 'makes a null object'); - - st.end(); - }); - - t.test('null proto when no native Object.create', { skip: Object.create || $setProto }, function (st) { - st['throws']( - function () { ES.ObjectCreate(null); }, - SyntaxError, - 'without a native Object.create, can not create null objects' - ); - - st.end(); - }); - - t.end(); - }); - - test('OrdinaryCreateFromConstructor', function (t) { - forEach(v.nonFunctions, function (nonFunction) { - t['throws']( - function () { ES.OrdinaryCreateFromConstructor(nonFunction, '%Array.prototype%'); }, - TypeError, - debug(nonFunction) + ' is not a constructor' - ); - }); - - forEach(arrowFns, function (arrowFn) { - t['throws']( - function () { ES.OrdinaryCreateFromConstructor(arrowFn, '%Array.prototype%'); }, - TypeError, - debug(arrowFn) + ' is not a constructor' - ); - }); - - t.test('proto arg', function (st) { - var Parent = function Parent() {}; - Parent.prototype.foo = {}; - var child = ES.OrdinaryCreateFromConstructor(Parent, '%Array.prototype%'); - st.equal(child instanceof Parent, true, 'child is instanceof Parent'); - st.equal(child instanceof Array, false, 'child is not instanceof Array'); - st.equal(child.foo, Parent.prototype.foo, 'child inherits properties from Parent.prototype'); - - st.end(); - }); - - t.test('internal slots arg', function (st) { - st.doesNotThrow( - function () { ES.OrdinaryCreateFromConstructor(function () {}, '%Array.prototype%', []); }, - 'an empty slot list is valid' - ); - - st['throws']( - function () { ES.OrdinaryCreateFromConstructor(function () {}, '%Array.prototype%', ['a']); }, - SyntaxError, - 'internal slots are not supported' - ); - - st.end(); - }); - - t.end(); - }); - - test('OrdinaryGetOwnProperty', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.OrdinaryGetOwnProperty(primitive, ''); }, - TypeError, - 'O: ' + debug(primitive) + ' is not an Object' - ); - }); - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.OrdinaryGetOwnProperty({}, nonPropertyKey); }, - TypeError, - 'P: ' + debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - t.equal(ES.OrdinaryGetOwnProperty({}, 'not in the object'), undefined, 'missing property yields undefined'); - t.equal(ES.OrdinaryGetOwnProperty({}, 'toString'), undefined, 'inherited non-own property yields undefined'); - - t.deepEqual( - ES.OrdinaryGetOwnProperty({ a: 1 }, 'a'), - ES.ToPropertyDescriptor({ - configurable: true, - enumerable: true, - value: 1, - writable: true - }), - 'own assigned data property yields expected descriptor' - ); - - t.deepEqual( - ES.OrdinaryGetOwnProperty(/a/, 'lastIndex'), - ES.ToPropertyDescriptor({ - configurable: false, - enumerable: false, - value: 0, - writable: true - }), - 'regex lastIndex yields expected descriptor' - ); - - t.deepEqual( - ES.OrdinaryGetOwnProperty([], 'length'), - ES.ToPropertyDescriptor({ - configurable: false, - enumerable: false, - value: 0, - writable: true - }), - 'array length yields expected descriptor' - ); - - if (!Object.isFrozen || !Object.isFrozen(Object.prototype)) { - t.deepEqual( - ES.OrdinaryGetOwnProperty(Object.prototype, 'toString'), - ES.ToPropertyDescriptor({ - configurable: true, - enumerable: false, - value: Object.prototype.toString, - writable: true - }), - 'own non-enumerable data property yields expected descriptor' - ); - } - - t.test('ES5+', { skip: !defineProperty.oDP }, function (st) { - var O = {}; - defineProperty(O, 'foo', { - configurable: false, - enumerable: false, - value: O, - writable: true - }); - - st.deepEqual( - ES.OrdinaryGetOwnProperty(O, 'foo'), - ES.ToPropertyDescriptor({ - configurable: false, - enumerable: false, - value: O, - writable: true - }), - 'defined own property yields expected descriptor' - ); - - st.end(); - }); - - t.end(); - }); - - test('OrdinaryDefineOwnProperty', { skip: !getOwnPropertyDescriptor }, function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.OrdinaryDefineOwnProperty(primitive, {}, []); }, - TypeError, - 'O: ' + debug(primitive) + ' is not an Object' - ); - }); - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.OrdinaryDefineOwnProperty({}, nonPropertyKey, v.genericDescriptor()); }, - TypeError, - 'P: ' + debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.OrdinaryDefineOwnProperty(primitive, '', v.genericDescriptor()); }, - TypeError, - 'Desc: ' + debug(primitive) + ' is not a Property Descriptor' - ); - }); - - var O = {}; - var P = 'property key'; - var Desc = v.accessorDescriptor(); - t.equal( - ES.OrdinaryDefineOwnProperty(O, P, Desc), - true, - 'operation is successful' - ); - t.deepEqual( - getOwnPropertyDescriptor(O, P), - ES.FromPropertyDescriptor(ES.CompletePropertyDescriptor(Desc)), - 'expected property descriptor is defined' - ); - - t.end(); - }); - - test('OrdinaryHasInstance', function (t) { - forEach(v.nonFunctions, function (nonFunction) { - t.equal(ES.OrdinaryHasInstance(nonFunction, {}), false, debug(nonFunction) + ' is not callable'); - }); - - forEach(v.primitives, function (primitive) { - t.equal(ES.OrdinaryHasInstance(function () {}, primitive), false, debug(primitive) + ' is not an object'); - }); - - var C = function C() {}; - var D = function D() {}; - t.equal(ES.OrdinaryHasInstance(C, new C()), true, 'constructor function has an instance of itself'); - t.equal(ES.OrdinaryHasInstance(C, new D()), false, 'constructor/instance mismatch is false'); - t.equal(ES.OrdinaryHasInstance(D, new C()), false, 'instance/constructor mismatch is false'); - t.equal(ES.OrdinaryHasInstance(C, {}), false, 'plain object is not an instance of a constructor'); - t.equal(ES.OrdinaryHasInstance(Object, {}), true, 'plain object is an instance of Object'); - - t.end(); - }); - - test('OrdinaryHasProperty', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.OrdinaryHasProperty(primitive, ''); }, - TypeError, - debug(primitive) + ' is not an object' - ); - }); - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.OrdinaryHasProperty({}, nonPropertyKey); }, - TypeError, - 'P: ' + debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - t.equal(ES.OrdinaryHasProperty({ a: 1 }, 'a'), true, 'own property is true'); - t.equal(ES.OrdinaryHasProperty({}, 'toString'), true, 'inherited property is true'); - t.equal(ES.OrdinaryHasProperty({}, 'nope'), false, 'absent property is false'); - - t.end(); - }); - - test('QuoteJSONString', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.QuoteJSONString(nonString); }, - TypeError, - debug(nonString) + ' is not a String' - ); - }); - - t.equal(ES.QuoteJSONString(''), '""', '"" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('a'), '"a"', '"a" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('"'), '"\\""', '"\\"" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('\b'), '"\\b"', '"\\b" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('\t'), '"\\t"', '"\\t" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('\n'), '"\\n"', '"\\n" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('\f'), '"\\f"', '"\\f" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('\r'), '"\\r"', '"\\r" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('\\'), '"\\\\"', '"\\\\" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('\\'), '"\\\\"', '"\\\\" gets properly JSON-quoted'); - t.equal(ES.QuoteJSONString('\u0019'), '"\\u0019"', '"\\u0019" gets properly JSON-quoted'); - - t.end(); - }); - - test('RegExpCreate', function (t) { - forEach(v.nonStrings, function (nonString) { - if (typeof nonString !== 'symbol') { - var p = typeof nonString === 'undefined' ? '' : nonString; - t.equal( - String(ES.RegExpCreate(p, 'g')), - '/' + (String(p) || '(?:)') + '/g', - debug(nonString) + ' becomes `/' + String(p) + '/g`' - ); - } - }); - - t.deepEqual(ES.RegExpCreate(), new RegExp(), 'undefined pattern and flags yields empty regex'); - - t.end(); - }); - - test('RegExpExec', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.RegExpExec(primitive); }, - TypeError, - '"R" argument must be an object; ' + debug(primitive) + ' is not' - ); - }); - - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.RegExpExec({}, nonString); }, - TypeError, - '"S" argument must be a String; ' + debug(nonString) + ' is not' - ); - }); - - t.test('gets and calls a callable "exec"', function (st) { - var str = '123'; - var o = { - exec: function (S) { - st.equal(this, o, '"exec" receiver is R'); - st.equal(S, str, '"exec" argument is S'); - - return null; - } - }; - st.plan(2); - ES.RegExpExec(o, str); - st.end(); - }); - - t.test('throws if a callable "exec" returns a non-null non-object', function (st) { - var str = '123'; - st.plan(v.nonNullPrimitives.length); - forEach(v.nonNullPrimitives, function (nonNullPrimitive) { - st['throws']( - function () { ES.RegExpExec({ exec: function () { return nonNullPrimitive; } }, str); }, - TypeError, - '"exec" method must return `null` or an Object; ' + debug(nonNullPrimitive) + ' is not' - ); - }); - st.end(); - }); - - t.test('actual regex that should match against a string', function (st) { - var S = 'aabc'; - var R = /a/g; - var match1 = ES.RegExpExec(R, S); - var expected1 = assign(['a'], kludgeMatch(R, { index: 0, input: S })); - var match2 = ES.RegExpExec(R, S); - var expected2 = assign(['a'], kludgeMatch(R, { index: 1, input: S })); - var match3 = ES.RegExpExec(R, S); - st.deepEqual(match1, expected1, 'match object 1 is as expected'); - st.deepEqual(match2, expected2, 'match object 2 is as expected'); - st.equal(match3, null, 'match 3 is null as expected'); - st.end(); - }); - - t.test('actual regex that should match against a string, with shadowed "exec"', function (st) { - var S = 'aabc'; - var R = /a/g; - defineProperty(R, 'exec', { value: undefined }); - var match1 = ES.RegExpExec(R, S); - var expected1 = assign(['a'], kludgeMatch(R, { index: 0, input: S })); - var match2 = ES.RegExpExec(R, S); - var expected2 = assign(['a'], kludgeMatch(R, { index: 1, input: S })); - var match3 = ES.RegExpExec(R, S); - st.deepEqual(match1, expected1, 'match object 1 is as expected'); - st.deepEqual(match2, expected2, 'match object 2 is as expected'); - st.equal(match3, null, 'match 3 is null as expected'); - st.end(); - }); - t.end(); - }); - - test('RequireObjectCoercible', function (t) { - t.equal(false, 'CheckObjectCoercible' in ES, 'CheckObjectCoercible -> RequireObjectCoercible in ES6'); - t['throws'](function () { return ES.RequireObjectCoercible(undefined); }, TypeError, 'undefined throws'); - t['throws'](function () { return ES.RequireObjectCoercible(null); }, TypeError, 'null throws'); - var isCoercible = function (value) { - t.doesNotThrow(function () { return ES.RequireObjectCoercible(value); }, debug(value) + ' does not throw'); - }; - forEach(v.objects.concat(v.nonNullPrimitives), isCoercible); - t.end(); - }); - - test('SameValueZero', function (t) { - t.equal(true, ES.SameValueZero(NaN, NaN), 'NaN is SameValueZero as NaN'); - t.equal(true, ES.SameValueZero(0, -0), '+0 is SameValueZero as -0'); - forEach(v.objects.concat(v.primitives), function (val) { - t.equal(val === val, ES.SameValueZero(val, val), debug(val) + ' is SameValueZero to itself'); - }); - t.end(); - }); - - test('Set', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.Set(primitive, '', null, false); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonKey) { - t['throws']( - function () { ES.Set({}, nonKey, null, false); }, - TypeError, - debug(nonKey) + ' is not a Property Key' - ); - }); - - forEach(v.nonBooleans, function (nonBoolean) { - t['throws']( - function () { ES.Set({}, '', null, nonBoolean); }, - TypeError, - debug(nonBoolean) + ' is not a Boolean' - ); - }); - - var o = {}; - var value = {}; - ES.Set(o, 'key', value, true); - t.deepEqual(o, { key: value }, 'key is set'); - - t.test('nonwritable', { skip: !defineProperty.oDP }, function (st) { - var obj = { a: value }; - defineProperty(obj, 'a', { writable: false }); - - st['throws']( - function () { ES.Set(obj, 'a', {}, true); }, - TypeError, - 'can not Set nonwritable property' - ); - - st.doesNotThrow( - function () { - st.equal(ES.Set(obj, 'a', {}, false), false, 'unsuccessful Set returns false'); - }, - 'setting Throw to false prevents an exception' - ); - - st.end(); - }); - - t.test('nonconfigurable', { skip: !defineProperty.oDP }, function (st) { - var obj = { a: value }; - defineProperty(obj, 'a', { configurable: false }); - - st.equal(ES.Set(obj, 'a', value, true), true, 'successful Set returns true'); - st.deepEqual(obj, { a: value }, 'key is set'); - - st.end(); - }); - - t.test('doesn’t call [[Get]] in conforming strict mode environments', { skip: noThrowOnStrictViolation }, function (st) { - var getterCalled = false; - var setterCalls = 0; - var obj = {}; - defineProperty(obj, 'a', { - get: function () { - getterCalled = true; - }, - set: function () { - setterCalls += 1; - } - }); - - st.equal(ES.Set(obj, 'a', value, false), true, 'successful Set returns true'); - st.equal(setterCalls, 1, 'setter was called once'); - st.equal(getterCalled, false, 'getter was not called'); - - st.end(); - }); - - t.end(); - }); - - test('SetFunctionName', function (t) { - forEach(v.nonFunctions, function (nonFunction) { - t['throws']( - function () { ES.SetFunctionName(nonFunction, ''); }, - TypeError, - debug(nonFunction) + ' is not a Function' - ); - }); - - t.test('non-extensible function', { skip: !Object.preventExtensions }, function (st) { - var f = getNamelessFunction(); - Object.preventExtensions(f); - st['throws']( - function () { ES.SetFunctionName(f, ''); }, - TypeError, - 'throws on a non-extensible function' - ); - st.end(); - }); - - t.test('has an own name property', { skip: !functionsHaveNames }, function (st) { - st['throws']( - function () { ES.SetFunctionName(function g() {}, ''); }, - TypeError, - 'throws if function has an own `name` property' - ); - st.end(); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.SetFunctionName(getNamelessFunction(), nonPropertyKey); }, - TypeError, - debug(nonPropertyKey) + ' is not a Symbol or String' - ); - }); - - t.test('symbols', { skip: !v.hasSymbols || has(getNamelessFunction(), 'name') }, function (st) { - var pairs = [ - [Symbol(), ''], - [Symbol(undefined), ''], - [Symbol(null), '[null]'], - [Symbol(''), getInferredName ? '[]' : ''], - [Symbol.iterator, '[Symbol.iterator]'], - [Symbol('foo'), '[foo]'] - ]; - forEach(pairs, function (pair) { - var sym = pair[0]; - var desc = pair[1]; - var f = getNamelessFunction(); - ES.SetFunctionName(f, sym); - st.equal(f.name, desc, debug(sym) + ' yields a name of ' + debug(desc)); - }); - - st.end(); - }); - - var f = getNamelessFunction(); - t.test('when names are configurable', { skip: !functionsHaveConfigurableNames || has(f, 'name') }, function (st) { - // without prefix - st.notEqual(f.name, 'foo', 'precondition'); - ES.SetFunctionName(f, 'foo'); - st.equal(f.name, 'foo', 'function name is set without a prefix'); - - // with prefix - var g = getNamelessFunction(); - st.notEqual(g.name, 'pre- foo', 'precondition'); - ES.SetFunctionName(g, 'foo', 'pre-'); - st.equal(g.name, 'pre- foo', 'function name is set with a prefix'); - - st.end(); - }); - - t.end(); - }); - - test('SetIntegrityLevel', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.SetIntegrityLevel(primitive); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - - t['throws']( - function () { ES.SetIntegrityLevel({}); }, - /^TypeError: Assertion failed: `level` must be `"sealed"` or `"frozen"`$/, - '`level` must be `"sealed"` or `"frozen"`' - ); - - var O = { a: 1 }; - t.test('sealed', { skip: !Object.preventExtensions || noThrowOnStrictViolation }, function (st) { - st.equal(ES.SetIntegrityLevel(O, 'sealed'), true); - st['throws']( - function () { O.b = 2; }, - /^TypeError: (Cannot|Can't) add property b, object is not extensible$/, - 'sealing prevent new properties from being added' - ); - O.a = 2; - st.equal(O.a, 2, 'pre-frozen, existing properties are mutable'); - st.end(); - }); - - t.test('frozen', { skip: !Object.freeze || noThrowOnStrictViolation }, function (st) { - st.equal(ES.SetIntegrityLevel(O, 'frozen'), true); - st['throws']( - function () { O.a = 3; }, - /^TypeError: Cannot assign to read only property 'a' of /, - 'freezing prevents existing properties from being mutated' - ); - st.end(); - }); - - t.end(); - }); - - test('SpeciesConstructor', function (t) { - t['throws'](function () { ES.SpeciesConstructor(null); }, TypeError); - t['throws'](function () { ES.SpeciesConstructor(undefined); }, TypeError); - - var defaultConstructor = function Foo() {}; - - t.equal( - ES.SpeciesConstructor({ constructor: undefined }, defaultConstructor), - defaultConstructor, - 'undefined constructor returns defaultConstructor' - ); - - t['throws']( - function () { return ES.SpeciesConstructor({ constructor: null }, defaultConstructor); }, - TypeError, - 'non-undefined non-object constructor throws' - ); - - t.test('with Symbol.species', { skip: !hasSpecies }, function (st) { - var Bar = function Bar() {}; - Bar[Symbol.species] = null; - - st.equal( - ES.SpeciesConstructor(new Bar(), defaultConstructor), - defaultConstructor, - 'undefined/null Symbol.species returns default constructor' - ); - - var Baz = function Baz() {}; - Baz[Symbol.species] = Bar; - st.equal( - ES.SpeciesConstructor(new Baz(), defaultConstructor), - Bar, - 'returns Symbol.species constructor value' - ); - - Baz[Symbol.species] = {}; - st['throws']( - function () { ES.SpeciesConstructor(new Baz(), defaultConstructor); }, - TypeError, - 'throws when non-constructor non-null non-undefined species value found' - ); - - st.end(); - }); - - t.end(); - }); - - test('SplitMatch', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.SplitMatch(nonString, 0, ''); }, - TypeError, - 'S: ' + debug(nonString) + ' is not a String' - ); - t['throws']( - function () { ES.SplitMatch('', 0, nonString); }, - TypeError, - 'R: ' + debug(nonString) + ' is not a String' - ); - }); - - forEach(v.nonNumbers.concat(v.nonIntegerNumbers), function (nonIntegerNumber) { - t['throws']( - function () { ES.SplitMatch('', nonIntegerNumber, ''); }, - TypeError, - 'q: ' + debug(nonIntegerNumber) + ' is not an integer' - ); - }); - - t.equal(ES.SplitMatch('abc', 0, 'a'), 1, '"a" is found at index 0, before index 1, in "abc"'); - t.equal(ES.SplitMatch('abc', 1, 'a'), false, '"a" is not found at index 1 in "abc"'); - t.equal(ES.SplitMatch('abc', 2, 'a'), false, '"a" is not found at index 2 in "abc"'); - - t.equal(ES.SplitMatch('abc', 0, 'b'), false, '"a" is not found at index 0 in "abc"'); - t.equal(ES.SplitMatch('abc', 1, 'b'), 2, '"b" is found at index 1, before index 2, in "abc"'); - t.equal(ES.SplitMatch('abc', 2, 'b'), false, '"a" is not found at index 2 in "abc"'); - - t.equal(ES.SplitMatch('abc', 0, 'c'), false, '"a" is not found at index 0 in "abc"'); - t.equal(ES.SplitMatch('abc', 1, 'c'), false, '"a" is not found at index 1 in "abc"'); - t.equal(ES.SplitMatch('abc', 2, 'c'), 3, '"c" is found at index 2, before index 3, in "abc"'); - - t.equal(ES.SplitMatch('a', 0, 'ab'), false, 'R longer than S yields false'); - - var s = 'a' + wholePoo + 'c'; - t.equal(ES.SplitMatch(s, 1, wholePoo), 3, debug(wholePoo) + ' is found at index 1, before index 3, in ' + debug(s)); - - t.end(); - }); - - test('StringCreate', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.StringCreate(nonString); }, - TypeError, - debug(nonString) + ' is not a String' - ); - }); - - t.deepEqual(ES.StringCreate('foo', String.prototype), Object('foo'), '"foo" with `String.prototype` makes `Object("foo")'); - - if ($setProto) { - var proto = {}; - t.equal($getProto(ES.StringCreate('', proto)), proto, '[[Prototype]] is set as expected'); - } else { - t['throws']( - function () { ES.StringCreate('', proto); }, - SyntaxError, - 'setting [[Prototype]] is not supported in this env' - ); - } - - t.equal(ES.StringCreate('a', String.prototype).length, 'a'.length, 'length is preserved'); - - t.end(); - }); - - test('StringGetIndexProperty', function (t) { - forEach(v.nonStrings.concat(v.strings), function (nonStringObjects) { - t['throws']( - function () { ES.StringGetIndexProperty(nonStringObjects); }, - TypeError, - debug(nonStringObjects) + ' is not a boxed String Object' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.StringGetIndexProperty('', nonPropertyKey); }, - TypeError, - debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - forEach(v.symbols, function (symbol) { - t.equal( - ES.StringGetIndexProperty(Object('a'), symbol), - undefined, - debug(symbol) + ' is a Property Key, but not a String' - ); - }); - - // a string where CanonicalNumericIndexString returns undefined, a non-integer, or -0 - forEach(['-1', '-0', 'undefined'].concat(v.nonIntegerNumbers), function (nonIndex) { - var S = Object('abc'); - t.equal( - ES.StringGetIndexProperty(S, String(nonIndex)), - undefined, - debug(nonIndex) + ' is not an index inside ' + debug(S) - ); - }); - - forEach(v.strings, function (str) { - var S = Object(str); - for (var i = 0; i < str.length; i += 1) { - var desc = { - '[[Configurable]]': false, - '[[Enumerable]]': true, - '[[Value]]': str.charAt(i), - '[[Writable]]': false - }; - t.deepEqual( - ES.StringGetIndexProperty(S, String(i)), - desc, - 'boxed String ' + debug(S) + ' at index ' + debug(i) + ' is ' + debug(desc) - ); - } - t.equal( - ES.StringGetIndexProperty(S, String(str.length)), - undefined, - 'boxed String ' + debug(S) + ' at OOB index ' + debug(str.length) + ' is `undefined' - ); - }); - - t.end(); - }); - - test('SymbolDescriptiveString', function (t) { - forEach(v.nonSymbolPrimitives.concat(v.objects), function (nonSymbol) { - t['throws']( - function () { ES.SymbolDescriptiveString(nonSymbol); }, - TypeError, - debug(nonSymbol) + ' is not a Symbol' - ); - }); - - t.test('Symbols', { skip: !v.hasSymbols }, function (st) { - st.equal(ES.SymbolDescriptiveString(Symbol()), 'Symbol()', 'undefined description'); - st.equal(ES.SymbolDescriptiveString(Symbol('')), 'Symbol()', 'empty string description'); - st.equal(ES.SymbolDescriptiveString(Symbol.iterator), 'Symbol(Symbol.iterator)', 'well-known symbol'); - st.equal(ES.SymbolDescriptiveString(Symbol('foo')), 'Symbol(foo)', 'string description'); - - st.end(); - }); - - t.end(); - }); - - test('TestIntegrityLevel', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.TestIntegrityLevel(primitive); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - - t['throws']( - function () { ES.TestIntegrityLevel({ a: 1 }); }, - /^TypeError: Assertion failed: `level` must be `"sealed"` or `"frozen"`$/, - '`level` must be `"sealed"` or `"frozen"`' - ); - - t.equal(ES.TestIntegrityLevel({ a: 1 }, 'sealed'), false, 'basic object is not sealed'); - t.equal(ES.TestIntegrityLevel({ a: 1 }, 'frozen'), false, 'basic object is not frozen'); - - t.test('preventExtensions', { skip: !Object.preventExtensions }, function (st) { - var o = Object.preventExtensions({ a: 1 }); - st.equal(ES.TestIntegrityLevel(o, 'sealed'), false, 'nonextensible object is not sealed'); - st.equal(ES.TestIntegrityLevel(o, 'frozen'), false, 'nonextensible object is not frozen'); - - var empty = Object.preventExtensions({}); - st.equal(ES.TestIntegrityLevel(empty, 'sealed'), true, 'empty nonextensible object is sealed'); - st.equal(ES.TestIntegrityLevel(empty, 'frozen'), true, 'empty nonextensible object is frozen'); - st.end(); - }); - - t.test('seal', { skip: !Object.seal }, function (st) { - var o = Object.seal({ a: 1 }); - st.equal(ES.TestIntegrityLevel(o, 'sealed'), true, 'sealed object is sealed'); - st.equal(ES.TestIntegrityLevel(o, 'frozen'), false, 'sealed object is not frozen'); - - var empty = Object.seal({}); - st.equal(ES.TestIntegrityLevel(empty, 'sealed'), true, 'empty sealed object is sealed'); - st.equal(ES.TestIntegrityLevel(empty, 'frozen'), true, 'empty sealed object is frozen'); - - st.end(); - }); - - t.test('freeze', { skip: !Object.freeze }, function (st) { - var o = Object.freeze({ a: 1 }); - st.equal(ES.TestIntegrityLevel(o, 'sealed'), true, 'frozen object is sealed'); - st.equal(ES.TestIntegrityLevel(o, 'frozen'), true, 'frozen object is frozen'); - - var empty = Object.freeze({}); - st.equal(ES.TestIntegrityLevel(empty, 'sealed'), true, 'empty frozen object is sealed'); - st.equal(ES.TestIntegrityLevel(empty, 'frozen'), true, 'empty frozen object is frozen'); - - st.end(); - }); - - t.end(); - }); - - test('thisNumberValue', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.thisNumberValue(nonNumber); }, - TypeError, - debug(nonNumber) + ' is not a Number' - ); - }); - - forEach(v.numbers, function (number) { - t.equal(ES.thisNumberValue(number), number, debug(number) + ' is its own thisNumberValue'); - var obj = Object(number); - t.equal(ES.thisNumberValue(obj), number, debug(obj) + ' is the boxed thisNumberValue'); - }); - - t.end(); - }); - - test('thisBooleanValue', function (t) { - forEach(v.nonBooleans, function (nonBoolean) { - t['throws']( - function () { ES.thisBooleanValue(nonBoolean); }, - TypeError, - debug(nonBoolean) + ' is not a Boolean' - ); - }); - - forEach(v.booleans, function (boolean) { - t.equal(ES.thisBooleanValue(boolean), boolean, debug(boolean) + ' is its own thisBooleanValue'); - var obj = Object(boolean); - t.equal(ES.thisBooleanValue(obj), boolean, debug(obj) + ' is the boxed thisBooleanValue'); - }); - - t.end(); - }); - - test('thisStringValue', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.thisStringValue(nonString); }, - TypeError, - debug(nonString) + ' is not a String' - ); - }); - - forEach(v.strings, function (string) { - t.equal(ES.thisStringValue(string), string, debug(string) + ' is its own thisStringValue'); - var obj = Object(string); - t.equal(ES.thisStringValue(obj), string, debug(obj) + ' is the boxed thisStringValue'); - }); - - t.end(); - }); - - test('thisTimeValue', function (t) { - forEach(v.primitives.concat(v.objects), function (nonDate) { - t['throws']( - function () { ES.thisTimeValue(nonDate); }, - TypeError, - debug(nonDate) + ' is not a Date' - ); - }); - - forEach(v.timestamps, function (timestamp) { - var date = new Date(timestamp); - - t.equal(ES.thisTimeValue(date), timestamp, debug(date) + ' is its own thisTimeValue'); - }); - - t.end(); - }); - - test('ToDateString', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.ToDateString(nonNumber); }, - TypeError, - debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.ToDateString(NaN), 'Invalid Date', 'NaN becomes "Invalid Date"'); - var now = +new Date(); - t.equal(ES.ToDateString(now), Date(now), 'any timestamp becomes `Date(timestamp)`'); - t.end(); - }); - - test('ToInt16', function (t) { - t.equal(0, ES.ToInt16(NaN), 'NaN coerces to +0'); - forEach([0, Infinity], function (num) { - t.equal(0, ES.ToInt16(num), num + ' returns +0'); - t.equal(0, ES.ToInt16(-num), '-' + num + ' returns +0'); - }); - t['throws'](function () { return ES.ToInt16(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - t.equal(ES.ToInt16(0x100000000), 0, '2^32 returns +0'); - t.equal(ES.ToInt16(0x100000000 - 1), -1, '2^32 - 1 returns -1'); - t.equal(ES.ToInt16(0x80000000), 0, '2^31 returns +0'); - t.equal(ES.ToInt16(0x80000000 - 1), -1, '2^31 - 1 returns -1'); - t.equal(ES.ToInt16(0x10000), 0, '2^16 returns +0'); - t.equal(ES.ToInt16(0x10000 - 1), -1, '2^16 - 1 returns -1'); - t.end(); - }); - - test('ToInt8', function (t) { - t.equal(0, ES.ToInt8(NaN), 'NaN coerces to +0'); - forEach([0, Infinity], function (num) { - t.equal(0, ES.ToInt8(num), num + ' returns +0'); - t.equal(0, ES.ToInt8(-num), '-' + num + ' returns +0'); - }); - t['throws'](function () { return ES.ToInt8(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - t.equal(ES.ToInt8(0x100000000), 0, '2^32 returns +0'); - t.equal(ES.ToInt8(0x100000000 - 1), -1, '2^32 - 1 returns -1'); - t.equal(ES.ToInt8(0x80000000), 0, '2^31 returns +0'); - t.equal(ES.ToInt8(0x80000000 - 1), -1, '2^31 - 1 returns -1'); - t.equal(ES.ToInt8(0x10000), 0, '2^16 returns +0'); - t.equal(ES.ToInt8(0x10000 - 1), -1, '2^16 - 1 returns -1'); - t.equal(ES.ToInt8(0x100), 0, '2^8 returns +0'); - t.equal(ES.ToInt8(0x100 - 1), -1, '2^8 - 1 returns -1'); - t.equal(ES.ToInt8(0x10), 0x10, '2^4 returns 2^4'); - t.end(); - }); - - test('ToNumber', function (t) { - testToNumber(t, ES, ES.ToNumber); - - t.end(); - }); - - test('ToUint8', function (t) { - t.equal(0, ES.ToUint8(NaN), 'NaN coerces to +0'); - forEach([0, Infinity], function (num) { - t.equal(0, ES.ToUint8(num), num + ' returns +0'); - t.equal(0, ES.ToUint8(-num), '-' + num + ' returns +0'); - }); - t['throws'](function () { return ES.ToUint8(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - t.equal(ES.ToUint8(0x100000000), 0, '2^32 returns +0'); - t.equal(ES.ToUint8(0x100000000 - 1), 0x100 - 1, '2^32 - 1 returns 2^8 - 1'); - t.equal(ES.ToUint8(0x80000000), 0, '2^31 returns +0'); - t.equal(ES.ToUint8(0x80000000 - 1), 0x100 - 1, '2^31 - 1 returns 2^8 - 1'); - t.equal(ES.ToUint8(0x10000), 0, '2^16 returns +0'); - t.equal(ES.ToUint8(0x10000 - 1), 0x100 - 1, '2^16 - 1 returns 2^8 - 1'); - t.equal(ES.ToUint8(0x100), 0, '2^8 returns +0'); - t.equal(ES.ToUint8(0x100 - 1), 0x100 - 1, '2^8 - 1 returns 2^16 - 1'); - t.equal(ES.ToUint8(0x10), 0x10, '2^4 returns 2^4'); - t.equal(ES.ToUint8(0x10 - 1), 0x10 - 1, '2^4 - 1 returns 2^4 - 1'); - t.end(); - }); - - test('ToUint8Clamp', function (t) { - t.equal(0, ES.ToUint8Clamp(NaN), 'NaN coerces to +0'); - t.equal(0, ES.ToUint8Clamp(0), '+0 returns +0'); - t.equal(0, ES.ToUint8Clamp(-0), '-0 returns +0'); - t.equal(0, ES.ToUint8Clamp(-Infinity), '-Infinity returns +0'); - t['throws'](function () { return ES.ToUint8Clamp(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - forEach([255, 256, 0x100000, Infinity], function (number) { - t.equal(255, ES.ToUint8Clamp(number), number + ' coerces to 255'); - }); - t.equal(1, ES.ToUint8Clamp(1.49), '1.49 coerces to 1'); - t.equal(2, ES.ToUint8Clamp(1.5), '1.5 coerces to 2, because 2 is even'); - t.equal(2, ES.ToUint8Clamp(1.51), '1.51 coerces to 2'); - - t.equal(2, ES.ToUint8Clamp(2.49), '2.49 coerces to 2'); - t.equal(2, ES.ToUint8Clamp(2.5), '2.5 coerces to 2, because 2 is even'); - t.equal(3, ES.ToUint8Clamp(2.51), '2.51 coerces to 3'); - t.end(); - }); - - test('ToLength', function (t) { - t['throws'](function () { return ES.ToLength(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws a TypeError'); - t.equal(3, ES.ToLength(v.coercibleObject), 'coercibleObject coerces to 3'); - t.equal(42, ES.ToLength('42.5'), '"42.5" coerces to 42'); - t.equal(7, ES.ToLength(7.3), '7.3 coerces to 7'); - forEach([-0, -1, -42, -Infinity], function (negative) { - t.equal(0, ES.ToLength(negative), negative + ' coerces to +0'); - }); - t.equal(MAX_SAFE_INTEGER, ES.ToLength(MAX_SAFE_INTEGER + 1), '2^53 coerces to 2^53 - 1'); - t.equal(MAX_SAFE_INTEGER, ES.ToLength(MAX_SAFE_INTEGER + 3), '2^53 + 2 coerces to 2^53 - 1'); - t.end(); - }); - - test('ToPropertyKey', function (t) { - forEach(v.objects.concat(v.nonSymbolPrimitives), function (value) { - t.equal(ES.ToPropertyKey(value), String(value), 'ToPropertyKey(value) === String(value) for non-Symbols'); - }); - - forEach(v.symbols, function (symbol) { - t.equal( - ES.ToPropertyKey(symbol), - symbol, - 'ToPropertyKey(' + debug(symbol) + ') === ' + debug(symbol) - ); - t.equal( - ES.ToPropertyKey(Object(symbol)), - symbol, - 'ToPropertyKey(' + debug(Object(symbol)) + ') === ' + debug(symbol) - ); - }); - - t.end(); - }); - - test('ToString', function (t) { - forEach(v.objects.concat(v.nonSymbolPrimitives), function (item) { - t.equal(ES.ToString(item), String(item), 'ES.ToString(' + debug(item) + ') ToStrings to String(' + debug(item) + ')'); - }); - - t['throws'](function () { return ES.ToString(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - - forEach(v.symbols, function (symbol) { - t['throws'](function () { return ES.ToString(symbol); }, TypeError, debug(symbol) + ' throws'); - }); - t.end(); - }); - - test('Type', function (t) { - t.equal(ES.Type(), 'Undefined', 'Type() is Undefined'); - t.equal(ES.Type(undefined), 'Undefined', 'Type(undefined) is Undefined'); - t.equal(ES.Type(null), 'Null', 'Type(null) is Null'); - t.equal(ES.Type(true), 'Boolean', 'Type(true) is Boolean'); - t.equal(ES.Type(false), 'Boolean', 'Type(false) is Boolean'); - t.equal(ES.Type(0), 'Number', 'Type(0) is Number'); - t.equal(ES.Type(NaN), 'Number', 'Type(NaN) is Number'); - t.equal(ES.Type('abc'), 'String', 'Type("abc") is String'); - t.equal(ES.Type(function () {}), 'Object', 'Type(function () {}) is Object'); - t.equal(ES.Type({}), 'Object', 'Type({}) is Object'); - - t.test('symbols', { skip: !v.hasSymbols }, function (st) { - st.equal(ES.Type(Symbol.iterator), 'Symbol', 'Type(Symbol.iterator) is Symbol'); - st.end(); - }); - - t.end(); - }); - - test('ValidateAndApplyPropertyDescriptor', function (t) { - forEach(v.nonUndefinedPrimitives, function (nonUndefinedPrimitive) { - t['throws']( - function () { ES.ValidateAndApplyPropertyDescriptor(nonUndefinedPrimitive, '', false, v.genericDescriptor(), v.genericDescriptor()); }, - TypeError, - 'O: ' + debug(nonUndefinedPrimitive) + ' is not undefined or an Object' - ); - }); - - forEach(v.nonBooleans, function (nonBoolean) { - t['throws']( - function () { - return ES.ValidateAndApplyPropertyDescriptor( - undefined, - null, - nonBoolean, - v.genericDescriptor(), - v.genericDescriptor() - ); - }, - TypeError, - 'extensible: ' + debug(nonBoolean) + ' is not a Boolean' - ); - }); - - forEach(v.primitives, function (primitive) { - // Desc must be a Property Descriptor - t['throws']( - function () { - return ES.ValidateAndApplyPropertyDescriptor( - undefined, - null, - false, - primitive, - v.genericDescriptor() - ); - }, - TypeError, - 'Desc: ' + debug(primitive) + ' is not a Property Descriptor' - ); - }); - - forEach(v.nonUndefinedPrimitives, function (primitive) { - // current must be undefined or a Property Descriptor - t['throws']( - function () { - return ES.ValidateAndApplyPropertyDescriptor( - undefined, - null, - false, - v.genericDescriptor(), - primitive - ); - }, - TypeError, - 'current: ' + debug(primitive) + ' is not a Property Descriptor or undefined' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - // if O is an object, P must be a property key - t['throws']( - function () { - return ES.ValidateAndApplyPropertyDescriptor( - {}, - nonPropertyKey, - false, - v.genericDescriptor(), - v.genericDescriptor() - ); - }, - TypeError, - 'P: ' + debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - t.test('current is undefined', function (st) { - var propertyKey = 'howdy'; - - st.test('generic descriptor', function (s2t) { - var generic = v.genericDescriptor(); - generic['[[Enumerable]]'] = true; - var O = {}; - ES.ValidateAndApplyPropertyDescriptor(undefined, propertyKey, true, generic); - s2t.equal( - ES.ValidateAndApplyPropertyDescriptor(O, propertyKey, false, generic), - false, - 'when extensible is false, nothing happens' - ); - s2t.deepEqual(O, {}, 'no changes applied when O is undefined or extensible is false'); - s2t.equal( - ES.ValidateAndApplyPropertyDescriptor(O, propertyKey, true, generic), - true, - 'operation is successful' - ); - var expected = {}; - expected[propertyKey] = undefined; - s2t.deepEqual(O, expected, 'generic descriptor has been defined as an own data property'); - s2t.end(); - }); - - st.test('data descriptor', function (s2t) { - var data = v.dataDescriptor(); - data['[[Enumerable]]'] = true; - - var O = {}; - s2t.equal( - ES.ValidateAndApplyPropertyDescriptor(undefined, propertyKey, true, data), - true, - 'noop when O is undefined' - ); - s2t.equal( - ES.ValidateAndApplyPropertyDescriptor(O, propertyKey, false, data), - false, - 'when extensible is false, nothing happens' - ); - s2t.deepEqual(O, {}, 'no changes applied when O is undefined or extensible is false'); - s2t.equal( - ES.ValidateAndApplyPropertyDescriptor(O, propertyKey, true, data), - true, - 'operation is successful' - ); - var expected = {}; - expected[propertyKey] = data['[[Value]]']; - s2t.deepEqual(O, expected, 'data descriptor has been defined as an own data property'); - s2t.end(); - }); - - st.test('accessor descriptor', { skip: !defineProperty.oDP }, function (s2t) { - var count = 0; - var accessor = v.accessorDescriptor(); - accessor['[[Enumerable]]'] = true; - accessor['[[Get]]'] = function () { - count += 1; - return count; - }; - - var O = {}; - ES.ValidateAndApplyPropertyDescriptor(undefined, propertyKey, true, accessor); - s2t.equal( - ES.ValidateAndApplyPropertyDescriptor(O, propertyKey, false, accessor), - false, - 'when extensible is false, nothing happens' - ); - s2t.deepEqual(O, {}, 'no changes applied when O is undefined or extensible is false'); - s2t.equal( - ES.ValidateAndApplyPropertyDescriptor(O, propertyKey, true, accessor), - true, - 'operation is successful' - ); - var expected = {}; - expected[propertyKey] = accessor['[[Get]]']() + 1; - s2t.deepEqual(O, expected, 'accessor descriptor has been defined as an own accessor property'); - s2t.end(); - }); - - st.end(); - }); - - t.test('every field in Desc is absent', { skip: 'it is unclear if having no fields qualifies Desc to be a Property Descriptor' }); - - forEach([v.dataDescriptor, v.accessorDescriptor, v.mutatorDescriptor], function (getDescriptor) { - t.equal( - ES.ValidateAndApplyPropertyDescriptor(undefined, 'property key', true, getDescriptor(), getDescriptor()), - true, - 'when Desc and current are the same, early return true' - ); - }); - - t.test('current is nonconfigurable', function (st) { - // note: these must not be generic descriptors, or else the algorithm returns an early true - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.descriptors.configurable(v.dataDescriptor()), - v.descriptors.nonConfigurable(v.dataDescriptor()) - ), - false, - 'false if Desc is configurable' - ); - - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.descriptors.enumerable(v.dataDescriptor()), - v.descriptors.nonEnumerable(v.dataDescriptor()) - ), - false, - 'false if Desc is Enumerable and current is not' - ); - - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.descriptors.nonEnumerable(v.dataDescriptor()), - v.descriptors.enumerable(v.dataDescriptor()) - ), - false, - 'false if Desc is not Enumerable and current is' - ); - - var descLackingEnumerable = v.accessorDescriptor(); - delete descLackingEnumerable['[[Enumerable]]']; - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - descLackingEnumerable, - v.descriptors.enumerable(v.accessorDescriptor()) - ), - true, - 'not false if Desc lacks Enumerable' - ); - - st.end(); - }); - - t.test('Desc and current: one is a data descriptor, one is not', { skip: !defineProperty || !getOwnPropertyDescriptor }, function (st) { - // note: Desc must be configurable if current is nonconfigurable, to hit this branch - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.descriptors.configurable(v.accessorDescriptor()), - v.descriptors.nonConfigurable(v.dataDescriptor()) - ), - false, - 'false if current (data) is nonconfigurable' - ); - - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.descriptors.configurable(v.dataDescriptor()), - v.descriptors.nonConfigurable(v.accessorDescriptor()) - ), - false, - 'false if current (not data) is nonconfigurable' - ); - - // one is data and one is not, - // // if current is data, convert to accessor - // // else convert to data - - var startsWithData = { - 'property key': 42 - }; - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - startsWithData, - 'property key', - true, - v.descriptors.enumerable(v.descriptors.configurable(v.accessorDescriptor())), - v.descriptors.enumerable(v.descriptors.configurable(v.dataDescriptor())) - ), - true, - 'operation is successful: current is data, Desc is accessor' - ); - var shouldBeAccessor = getOwnPropertyDescriptor(startsWithData, 'property key'); - st.equal(typeof shouldBeAccessor.get, 'function', 'has a getter'); - - var key = 'property key'; - var startsWithAccessor = {}; - defineProperty(startsWithAccessor, key, { - configurable: true, - enumerable: true, - get: function get() { return 42; } - }); - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - startsWithAccessor, - key, - true, - v.descriptors.enumerable(v.descriptors.configurable(v.dataDescriptor())), - v.descriptors.enumerable(v.descriptors.configurable(v.accessorDescriptor(42))) - ), - true, - 'operation is successful: current is accessor, Desc is data' - ); - var shouldBeData = getOwnPropertyDescriptor(startsWithAccessor, 'property key'); - st.deepEqual(shouldBeData, { configurable: true, enumerable: true, value: 42, writable: false }, 'is a data property'); - - st.end(); - }); - - t.test('Desc and current are both data descriptors', function (st) { - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.descriptors.writable(v.dataDescriptor()), - v.descriptors.nonWritable(v.descriptors.nonConfigurable(v.dataDescriptor())) - ), - false, - 'false if frozen current and writable Desc' - ); - - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.descriptors.configurable({ '[[Value]]': 42 }), - v.descriptors.nonWritable({ '[[Value]]': 7 }) - ), - false, - 'false if nonwritable current has a different value than Desc' - ); - - st.end(); - }); - - t.test('current is nonconfigurable; Desc and current are both accessor descriptors', function (st) { - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.mutatorDescriptor(), - v.descriptors.nonConfigurable(v.mutatorDescriptor()) - ), - false, - 'false if both Sets are not equal' - ); - - st.equal( - ES.ValidateAndApplyPropertyDescriptor( - undefined, - 'property key', - true, - v.accessorDescriptor(), - v.descriptors.nonConfigurable(v.accessorDescriptor()) - ), - false, - 'false if both Gets are not equal' - ); - - st.end(); - }); - - t.end(); - }); -}; - -var es2016 = function ES2016(ES, ops, expectedMissing, skips) { - es2015(ES, ops, expectedMissing, assign(assign({}, skips), { - StringGetIndexProperty: true - })); - var test = makeTest(skips); - - test('IterableToArrayLike', function (t) { - t.test('custom iterables', { skip: !v.hasSymbols }, function (st) { - var O = {}; - O[Symbol.iterator] = function () { - var i = -1; - return { - next: function () { - i += 1; - return { - done: i >= 5, - value: i - }; - } - }; - }; - st.deepEqual( - ES.IterableToArrayLike(O), - [0, 1, 2, 3, 4], - 'Symbol.iterator method is called and values collected' - ); - - st.end(); - }); - - t.deepEqual(ES.IterableToArrayLike('abc'), ['a', 'b', 'c'], 'a string of code units spreads'); - t.deepEqual(ES.IterableToArrayLike('💩'), ['💩'], 'a string of code points spreads'); - t.deepEqual(ES.IterableToArrayLike('a💩c'), ['a', '💩', 'c'], 'a string of code points and units spreads'); - - var arr = [1, 2, 3]; - t.deepEqual(ES.IterableToArrayLike(arr), arr, 'an array becomes a similar array'); - t.notEqual(ES.IterableToArrayLike(arr), arr, 'an array becomes a different, but similar, array'); - - var O = {}; - t.equal(ES.IterableToArrayLike(O), O, 'a non-iterable non-array non-string object is returned directly'); - - t.end(); - }); - - test('OrdinaryGetPrototypeOf', function (t) { - t.test('values', { skip: !$getProto }, function (st) { - st.equal(ES.OrdinaryGetPrototypeOf([]), Array.prototype, 'array [[Prototype]] is Array.prototype'); - st.equal(ES.OrdinaryGetPrototypeOf({}), Object.prototype, 'object [[Prototype]] is Object.prototype'); - st.equal(ES.OrdinaryGetPrototypeOf(/a/g), RegExp.prototype, 'regex [[Prototype]] is RegExp.prototype'); - st.equal(ES.OrdinaryGetPrototypeOf(Object('')), String.prototype, 'boxed string [[Prototype]] is String.prototype'); - st.equal(ES.OrdinaryGetPrototypeOf(Object(42)), Number.prototype, 'boxed number [[Prototype]] is Number.prototype'); - st.equal(ES.OrdinaryGetPrototypeOf(Object(true)), Boolean.prototype, 'boxed boolean [[Prototype]] is Boolean.prototype'); - if (v.hasSymbols) { - st.equal(ES.OrdinaryGetPrototypeOf(Object(Symbol.iterator)), Symbol.prototype, 'boxed symbol [[Prototype]] is Symbol.prototype'); - } - st.end(); - }); - - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.OrdinaryGetPrototypeOf(primitive); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - t.end(); - }); - - test('OrdinarySetPrototypeOf', { skip: !$getProto || !$setProto }, function (t) { - var a = []; - var proto = {}; - - t.equal(ES.OrdinaryGetPrototypeOf(a), Array.prototype, 'precondition'); - t.equal(ES.OrdinarySetPrototypeOf(a, proto), true, 'setting prototype is successful'); - t.equal(ES.OrdinaryGetPrototypeOf(a), proto, 'postcondition'); - - t.end(); - }); - - test('SameValueNonNumber', function (t) { - var willThrow = [ - [3, 4], - [NaN, 4], - [4, ''], - ['abc', true], - [{}, false] - ]; - forEach(willThrow, function (nums) { - t['throws'](function () { return ES.SameValueNonNumber.apply(ES, nums); }, TypeError, 'value must be same type and non-number'); - }); - - forEach(v.objects.concat(v.nonNumberPrimitives), function (val) { - t.equal(val === val, ES.SameValueNonNumber(val, val), debug(val) + ' is SameValueNonNumber to itself'); - }); - - t.end(); - }); - - test('UTF16Encoding', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.UTF16Encoding(nonNumber); }, - TypeError, - debug(nonNumber) + ' is not a Number' - ); - }); - - t['throws']( - function () { ES.UTF16Encoding(-1); }, - TypeError, - '-1 is < 0' - ); - - t['throws']( - function () { ES.UTF16Encoding(0x10FFFF + 1); }, - TypeError, - '0x10FFFF + 1 is > 0x10FFFF' - ); - - t.equal(ES.UTF16Encoding(0xD83D), leadingPoo, '0xD83D is the first half of ' + wholePoo); - t.equal(ES.UTF16Encoding(0xDCA9), trailingPoo, '0xDCA9 is the last half of ' + wholePoo); - t.equal(ES.UTF16Encoding(0x1F4A9), wholePoo, '0xDCA9 is the last half of ' + wholePoo); - - t.end(); - }); - - test('UTF16Decode', function (t) { - t['throws']( - function () { ES.UTF16Decode('a'.charCodeAt(0), trailingPoo.charCodeAt(0)); }, - TypeError, - '"a" is not a leading surrogate' - ); - t['throws']( - function () { ES.UTF16Decode(leadingPoo.charCodeAt(0), 'b'.charCodeAt(0)); }, - TypeError, - '"b" is not a trailing surrogate' - ); - - t.equal(ES.UTF16Decode(leadingPoo.charCodeAt(0), trailingPoo.charCodeAt(0)), wholePoo); - - t.end(); - }); -}; - -var es2017 = function ES2017(ES, ops, expectedMissing, skips) { - es2016(ES, ops, expectedMissing, assign({}, skips, { - EnumerableOwnNames: true, - IterableToArrayLike: true - })); - var test = makeTest(skips); - - test('EnumerableOwnProperties', function (t) { - var obj = testEnumerableOwnNames(t, function (O) { - return ES.EnumerableOwnProperties(O, 'key'); - }); - - t.deepEqual( - ES.EnumerableOwnProperties(obj, 'value'), - [obj.own], - 'returns enumerable own values' - ); - - t.deepEqual( - ES.EnumerableOwnProperties(obj, 'key+value'), - [['own', obj.own]], - 'returns enumerable own entries' - ); - - t.end(); - }); - - test('IterableToList', function (t) { - var customIterator = function () { - var i = -1; - return { - next: function () { - i += 1; - return { - done: i >= 5, - value: i - }; - } - }; - }; - - t.deepEqual( - ES.IterableToList({}, customIterator), - [0, 1, 2, 3, 4], - 'iterator method is called and values collected' - ); - - t.test('Symbol support', { skip: !v.hasSymbols }, function (st) { - st.deepEqual(ES.IterableToList('abc', String.prototype[Symbol.iterator]), ['a', 'b', 'c'], 'a string of code units spreads'); - st.deepEqual(ES.IterableToList('☃', String.prototype[Symbol.iterator]), ['☃'], 'a string of code points spreads'); - - var arr = [1, 2, 3]; - st.deepEqual(ES.IterableToList(arr, arr[Symbol.iterator]), arr, 'an array becomes a similar array'); - st.notEqual(ES.IterableToList(arr, arr[Symbol.iterator]), arr, 'an array becomes a different, but similar, array'); - - st.end(); - }); - - t['throws']( - function () { ES.IterableToList({}, void 0); }, - TypeError, - 'non-function iterator method' - ); - - t.end(); - }); - - test('StringGetOwnProperty', function (t) { - forEach(v.nonStrings.concat(v.strings), function (nonBoxedString) { - t['throws']( - function () { ES.StringGetOwnProperty(nonBoxedString, '0'); }, - TypeError, - debug(nonBoxedString) + ' is not a boxed String' - ); - }); - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - t['throws']( - function () { ES.StringGetOwnProperty(Object(''), nonPropertyKey); }, - TypeError, - debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - t.equal(ES.StringGetOwnProperty(Object(''), '0'), undefined, 'empty boxed string yields undefined'); - - forEach(v.strings, function (string) { - if (string) { - var S = Object(string); - for (var i = 0; i < string.length; i += 1) { - var descriptor = ES.StringGetOwnProperty(S, String(i)); - t.deepEqual( - descriptor, - { - '[[Configurable]]': false, - '[[Enumerable]]': true, - '[[Value]]': string.charAt(i), - '[[Writable]]': false - }, - debug(string) + ': property ' + debug(String(i)) + ': returns expected descriptor' - ); - } - } - }); - - t.end(); - }); - - test('ToIndex', function (t) { - t.equal(ES.ToIndex(), 0, 'no value gives +0'); - t.equal(ES.ToIndex(undefined), 0, 'undefined value gives +0'); - t.equal(ES.ToIndex(-0), 0, '-0 gives +0'); - - t['throws'](function () { ES.ToIndex(-1); }, RangeError, 'negative numbers throw'); - - t['throws'](function () { ES.ToIndex(MAX_SAFE_INTEGER + 1); }, RangeError, 'too large numbers throw'); - - t.equal(ES.ToIndex(3), 3, 'numbers work'); - t.equal(ES.ToIndex(v.valueOfOnlyObject), 4, 'coercible objects are coerced'); - - t.end(); - }); -}; - -var es2018 = function ES2018(ES, ops, expectedMissing, skips) { - es2017(ES, ops, expectedMissing, assign({}, skips, { - EnumerableOwnProperties: true, - GetSubstitution: true, - IsPropertyDescriptor: true - })); - var test = makeTest(skips); - - test('CopyDataProperties', function (t) { - t.test('first argument: target', function (st) { - forEach(v.primitives, function (primitive) { - st['throws']( - function () { ES.CopyDataProperties(primitive, {}, []); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - st.end(); - }); - - t.test('second argument: source', function (st) { - var frozenTarget = Object.freeze ? Object.freeze({}) : {}; - forEach(v.nullPrimitives, function (nullish) { - st.equal( - ES.CopyDataProperties(frozenTarget, nullish, []), - frozenTarget, - debug(nullish) + ' "source" yields identical, unmodified target' - ); - }); - - forEach(v.nonNullPrimitives, function (objectCoercible) { - var target = {}; - var result = ES.CopyDataProperties(target, objectCoercible, []); - st.equal(result, target, 'result === target'); - st.deepEqual(keys(result), keys(Object(objectCoercible)), 'target ends up with keys of ' + debug(objectCoercible)); - }); - - st.test('enumerable accessor property', { skip: !defineProperty.oDP }, function (s2t) { - var target = {}; - var source = {}; - defineProperty(source, 'a', { - enumerable: true, - get: function () { return 42; } - }); - var result = ES.CopyDataProperties(target, source, []); - s2t.equal(result, target, 'result === target'); - s2t.deepEqual(result, { a: 42 }, 'target ends up with enumerable accessor of source'); - s2t.end(); - }); - - st.end(); - }); - - t.test('third argument: excludedItems', function (st) { - forEach(v.objects.concat(v.primitives), function (nonArray) { - st['throws']( - function () { ES.CopyDataProperties({}, {}, nonArray); }, - TypeError, - debug(nonArray) + ' is not an Array' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - st['throws']( - function () { ES.CopyDataProperties({}, {}, [nonPropertyKey]); }, - TypeError, - debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - var result = ES.CopyDataProperties({}, { a: 1, b: 2, c: 3 }, ['b']); - st.deepEqual(keys(result).sort(), ['a', 'c'].sort(), 'excluded string keys are excluded'); - - st.test('excluding symbols', { skip: !v.hasSymbols }, function (s2t) { - var source = {}; - forEach(v.symbols, function (symbol) { - source[symbol] = true; - }); - - var includedSymbols = v.symbols.slice(1); - var excludedSymbols = v.symbols.slice(0, 1); - var target = ES.CopyDataProperties({}, source, excludedSymbols); - - forEach(includedSymbols, function (symbol) { - s2t.equal(has(target, symbol), true, debug(symbol) + ' is included'); - }); - - forEach(excludedSymbols, function (symbol) { - s2t.equal(has(target, symbol), false, debug(symbol) + ' is excluded'); - }); - - s2t.end(); - }); - - st.end(); - }); - - // TODO: CopyDataProperties does not throw when copying fails - - t.end(); - }); - - test('DateString', function (t) { - forEach(v.nonNumbers.concat(NaN), function (nonNumberOrNaN) { - t['throws']( - function () { ES.DateString(nonNumberOrNaN); }, - TypeError, - debug(nonNumberOrNaN) + ' is not a non-NaN Number' - ); - }); - - t.equal(ES.DateString(Date.UTC(2019, 8, 10, 7, 8, 9)), 'Tue Sep 10 2019'); - t.equal(ES.DateString(Date.UTC(2016, 1, 29, 7, 8, 9)), 'Mon Feb 29 2016'); // leap day - t.end(); - }); - - test('EnumerableOwnPropertyNames', function (t) { - var obj = testEnumerableOwnNames(t, function (O) { - return ES.EnumerableOwnPropertyNames(O, 'key'); - }); - - t.deepEqual( - ES.EnumerableOwnPropertyNames(obj, 'value'), - [obj.own], - 'returns enumerable own values' - ); - - t.deepEqual( - ES.EnumerableOwnPropertyNames(obj, 'key+value'), - [['own', obj.own]], - 'returns enumerable own entries' - ); - - t.end(); - }); - - test('GetSubstitution', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.GetSubstitution(nonString, '', 0, [], undefined, ''); }, - TypeError, - '`matched`: ' + debug(nonString) + ' is not a String' - ); - - t['throws']( - function () { ES.GetSubstitution('', nonString, 0, [], undefined, ''); }, - TypeError, - '`str`: ' + debug(nonString) + ' is not a String' - ); - - t['throws']( - function () { ES.GetSubstitution('', '', 0, [], undefined, nonString); }, - TypeError, - '`replacement`: ' + debug(nonString) + ' is not a String' - ); - - t['throws']( - function () { ES.GetSubstitution('', '', 0, [nonString], undefined, ''); }, - TypeError, - '`captures`: ' + debug([nonString]) + ' is not an Array of strings' - ); - }); - - forEach(v.notNonNegativeIntegers, function (nonNonNegativeInteger) { - t['throws']( - function () { ES.GetSubstitution('', '', nonNonNegativeInteger, [], undefined, ''); }, - TypeError, - '`position`: ' + debug(nonNonNegativeInteger) + ' is not a non-negative integer' - ); - }); - - forEach(v.nonArrays, function (nonArray) { - t['throws']( - function () { ES.GetSubstitution('', '', 0, nonArray, undefined, ''); }, - TypeError, - '`captures`: ' + debug(nonArray) + ' is not an Array' - ); - }); - - t.equal( - ES.GetSubstitution('def', 'abcdefghi', 3, [], undefined, '123'), - '123', - 'returns the substitution' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], undefined, '$$2$'), - '$2$', - 'supports $$, and trailing $' - ); - - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], undefined, '>$&<'), - '>abcdef<', - 'supports $&' - ); - - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], undefined, '>$`<'), - '><', - 'supports $` at position 0' - ); - t.equal( - ES.GetSubstitution('def', 'abcdefghi', 3, [], undefined, '>$`<'), - '>ab<', - 'supports $` at position > 0' - ); - - t.equal( - ES.GetSubstitution('def', 'abcdefghi', 7, [], undefined, ">$'<"), - '><', - "supports $' at a position where there's less than `matched.length` chars left" - ); - t.equal( - ES.GetSubstitution('def', 'abcdefghi', 3, [], undefined, ">$'<"), - '>ghi<', - "supports $' at a position where there's more than `matched.length` chars left" - ); - - for (var i = 0; i < 100; i += 1) { - var captures = []; - captures[i] = 'test'; - if (i > 0) { - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], undefined, '>$' + i + '<'), - '>undefined<', - 'supports $' + i + ' with no captures' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], undefined, '>$' + i), - '>undefined', - 'supports $' + i + ' at the end of the replacement, with no captures' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, undefined, '>$' + i + '<'), - '><', - 'supports $' + i + ' with a capture at that index' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, undefined, '>$' + i), - '>', - 'supports $' + i + ' at the end of the replacement, with a capture at that index' - ); - } - if (i < 10) { - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], undefined, '>$0' + i + '<'), - i === 0 ? '><' : '>undefined<', - 'supports $0' + i + ' with no captures' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, [], undefined, '>$0' + i), - i === 0 ? '>' : '>undefined', - 'supports $0' + i + ' at the end of the replacement, with no captures' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, undefined, '>$0' + i + '<'), - '><', - 'supports $0' + i + ' with a capture at that index' - ); - t.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, undefined, '>$0' + i), - '>', - 'supports $0' + i + ' at the end of the replacement, with a capture at that index' - ); - } - } - - t.test('named captures', function (st) { - var namedCaptures = { - foo: 'foo!' - }; - - st.equal( - ES.GetSubstitution('abcdef', 'abcdefghi', 0, captures, namedCaptures, 'a>$foo!> bitsN, - debug(bigInt32) + ' >> ' + debug(bitsN) + ' is ' + debug(bigInt32 >> bitsN) - ); - }); - }); - - t.end(); - }); - - test('BigInt::subtract', { skip: !hasBigInts }, function (t) { - forEach(v.nonBigInts, function (nonBigInt) { - t['throws']( - function () { ES.BigInt.subtract(nonBigInt, $BigInt(0)); }, - TypeError, - 'x: ' + debug(nonBigInt) + ' is not a BigInt' - ); - t['throws']( - function () { ES.BigInt.subtract($BigInt(0), nonBigInt); }, - TypeError, - 'y: ' + debug(nonBigInt) + ' is not a BigInt' - ); - }); - - t.equal(ES.BigInt.subtract($BigInt(0), $BigInt(0)), $BigInt(0), '0n - 0n is 0n'); - - forEach(v.bigints, function (bigint) { - t.equal(ES.BigInt.subtract(bigint, $BigInt(0)), bigint, debug(bigint) + ' - 0n produces ' + bigint); - t.equal(ES.BigInt.subtract(bigint, $BigInt(1)), bigint - $BigInt(1), debug(bigint) + ' - 1n produces ' + (bigint + $BigInt(1))); - t.equal(ES.BigInt.subtract(bigint, $BigInt(42)), bigint - $BigInt(42), debug(bigint) + ' - 42n produces ' + (bigint - $BigInt(42))); - }); - - t.end(); - }); - - test('BigInt::toString', function (t) { - forEach(v.nonBigInts, function (nonBigInt) { - t['throws']( - function () { ES.BigInt.toString(nonBigInt); }, - TypeError, - debug(nonBigInt) + ' is not a BigInt' - ); - }); - - forEach(v.bigints, function (bigint) { - t.equal(ES.BigInt.toString(bigint), String(bigint), debug(bigint) + ' stringifies to ' + bigint); - }); - - t.end(); - }); - - test('BigInt::unaryMinus', function (t) { - forEach(v.nonBigInts, function (nonBigInt) { - t['throws']( - function () { ES.BigInt.unaryMinus(nonBigInt); }, - TypeError, - debug(nonBigInt) + ' is not a BigInt' - ); - }); - - t.test('actual BigInts', { skip: !hasBigInts }, function (st) { - forEach(v.bigints, function (bigint) { - st.equal(ES.BigInt.unaryMinus(bigint), -bigint, debug(bigint) + ' produces -' + debug(bigint)); - }); - st.end(); - }); - - t.end(); - }); - - test('BigInt::unsignedRightShift', { skip: !hasBigInts }, function (t) { - forEach(v.nonBigInts, function (nonBigInt) { - t['throws']( - function () { ES.BigInt.unsignedRightShift(nonBigInt, $BigInt(0)); }, - TypeError, - 'x: ' + debug(nonBigInt) + ' is not a BigInt' - ); - t['throws']( - function () { ES.BigInt.unsignedRightShift($BigInt(0), nonBigInt); }, - TypeError, - 'y: ' + debug(nonBigInt) + ' is not a BigInt' - ); - }); - - forEach([0].concat(v.int32s), function (int32) { - var bigInt32 = $BigInt(int32); - forEach([1, 3, 5, 31, 32, 33], function (bits) { - var bitsN = $BigInt(bits); - t['throws']( - function () { ES.BigInt.unsignedRightShift(bigInt32, bitsN); }, - TypeError, - debug(bigInt32) + ' >>> ' + debug(bitsN) + ' throws' - ); - }); - }); - - t.end(); - }); - - test('BigIntBitwiseOp', { skip: !hasBigInts }, function (t) { - t['throws']( - function () { ES.BigIntBitwiseOp('invalid', BigInt(0), BigInt(0)); }, - TypeError, - 'throws with an invalid op' - ); - - t.equal(ES.BigIntBitwiseOp('&', BigInt(1), BigInt(2)), BigInt(1) & BigInt(2)); - t.equal(ES.BigIntBitwiseOp('|', BigInt(1), BigInt(2)), BigInt(1) | BigInt(2)); - t.equal(ES.BigIntBitwiseOp('^', BigInt(1), BigInt(2)), BigInt(1) ^ BigInt(2)); - - t.end(); - }); - - test('BinaryAnd', function (t) { - t.equal(ES.BinaryAnd(0, 0), 0); - t.equal(ES.BinaryAnd(0, 1), 0); - t.equal(ES.BinaryAnd(1, 0), 0); - t.equal(ES.BinaryAnd(1, 1), 1); - - forEach(v.nonIntegerNumbers.concat(v.nonNumberPrimitives, v.objects), function (nonBit) { - t['throws']( - function () { ES.BinaryAnd(0, nonBit); }, - TypeError - ); - t['throws']( - function () { ES.BinaryAnd(nonBit, 1); }, - TypeError - ); - }); - t.end(); - }); - - test('BinaryOr', function (t) { - t.equal(ES.BinaryOr(0, 0), 0); - t.equal(ES.BinaryOr(0, 1), 1); - t.equal(ES.BinaryOr(1, 0), 1); - t.equal(ES.BinaryOr(1, 1), 1); - - forEach(v.nonIntegerNumbers.concat(v.nonNumberPrimitives, v.objects), function (nonBit) { - t['throws']( - function () { ES.BinaryOr(0, nonBit); }, - TypeError - ); - t['throws']( - function () { ES.BinaryOr(nonBit, 1); }, - TypeError - ); - }); - t.end(); - }); - - test('BinaryXor', function (t) { - t.equal(ES.BinaryXor(0, 0), 0); - t.equal(ES.BinaryXor(0, 1), 1); - t.equal(ES.BinaryXor(1, 0), 1); - t.equal(ES.BinaryXor(1, 1), 0); - - forEach(v.nonIntegerNumbers.concat(v.nonNumberPrimitives, v.objects), function (nonBit) { - t['throws']( - function () { ES.BinaryXor(0, nonBit); }, - TypeError - ); - t['throws']( - function () { ES.BinaryXor(nonBit, 1); }, - TypeError - ); - }); - t.end(); - }); - - test('CodePointAt', function (t) { - t['throws']( - function () { ES.CodePointAt('abc', -1); }, - TypeError, - 'requires an index >= 0' - ); - t['throws']( - function () { ES.CodePointAt('abc', 3); }, - TypeError, - 'requires an index < string length' - ); - - t.deepEqual(ES.CodePointAt('abc', 0), { - '[[CodePoint]]': 'a', - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': false - }); - t.deepEqual(ES.CodePointAt('abc', 1), { - '[[CodePoint]]': 'b', - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': false - }); - t.deepEqual(ES.CodePointAt('abc', 2), { - '[[CodePoint]]': 'c', - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': false - }); - - var strWithHalfPoo = 'a' + leadingPoo + 'c'; - var strWithWholePoo = 'a' + wholePoo + 'd'; - - t.deepEqual(ES.CodePointAt(strWithHalfPoo, 0), { - '[[CodePoint]]': 'a', - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': false - }); - t.deepEqual(ES.CodePointAt(strWithHalfPoo, 1), { - '[[CodePoint]]': leadingPoo, - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': true - }); - t.deepEqual(ES.CodePointAt(strWithHalfPoo, 2), { - '[[CodePoint]]': 'c', - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': false - }); - - t.deepEqual(ES.CodePointAt(strWithWholePoo, 0), { - '[[CodePoint]]': 'a', - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': false - }); - t.deepEqual(ES.CodePointAt(strWithWholePoo, 1), { - '[[CodePoint]]': wholePoo, - '[[CodeUnitCount]]': 2, - '[[IsUnpairedSurrogate]]': false - }); - t.deepEqual(ES.CodePointAt(strWithWholePoo, 2), { - '[[CodePoint]]': trailingPoo, - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': true - }); - t.deepEqual(ES.CodePointAt(strWithWholePoo, 3), { - '[[CodePoint]]': 'd', - '[[CodeUnitCount]]': 1, - '[[IsUnpairedSurrogate]]': false - }); - - t.end(); - }); - - test('CopyDataProperties', function (t) { - t.test('first argument: target', function (st) { - forEach(v.primitives, function (primitive) { - st['throws']( - function () { ES.CopyDataProperties(primitive, {}, []); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - st.end(); - }); - - t.test('second argument: source', function (st) { - var frozenTarget = Object.freeze ? Object.freeze({}) : {}; - forEach(v.nullPrimitives, function (nullish) { - st.equal( - ES.CopyDataProperties(frozenTarget, nullish, []), - frozenTarget, - debug(nullish) + ' "source" yields identical, unmodified target' - ); - }); - - forEach(v.nonNullPrimitives, function (objectCoercible) { - var target = {}; - var result = ES.CopyDataProperties(target, objectCoercible, []); - st.equal(result, target, 'result === target'); - st.deepEqual(keys(result), keys(Object(objectCoercible)), 'target ends up with keys of ' + debug(objectCoercible)); - }); - - st.test('enumerable accessor property', { skip: !defineProperty.oDP }, function (s2t) { - var target = {}; - var source = {}; - defineProperty(source, 'a', { - enumerable: true, - get: function () { return 42; } - }); - var result = ES.CopyDataProperties(target, source, []); - s2t.equal(result, target, 'result === target'); - s2t.deepEqual(result, { a: 42 }, 'target ends up with enumerable accessor of source'); - s2t.end(); - }); - - st.end(); - }); - - t.test('third argument: excludedItems', function (st) { - forEach(v.objects.concat(v.primitives), function (nonArray) { - st['throws']( - function () { ES.CopyDataProperties({}, {}, nonArray); }, - TypeError, - debug(nonArray) + ' is not an Array' - ); - }); - - forEach(v.nonPropertyKeys, function (nonPropertyKey) { - st['throws']( - function () { ES.CopyDataProperties({}, {}, [nonPropertyKey]); }, - TypeError, - debug(nonPropertyKey) + ' is not a Property Key' - ); - }); - - var result = ES.CopyDataProperties({}, { a: 1, b: 2, c: 3 }, ['b']); - st.deepEqual(keys(result).sort(), ['a', 'c'].sort(), 'excluded string keys are excluded'); - - st.test('excluding symbols', { skip: !v.hasSymbols }, function (s2t) { - var source = {}; - forEach(v.symbols, function (symbol) { - source[symbol] = true; - }); - - var includedSymbols = v.symbols.slice(1); - var excludedSymbols = v.symbols.slice(0, 1); - var target = ES.CopyDataProperties({}, source, excludedSymbols); - - forEach(includedSymbols, function (symbol) { - s2t.equal(has(target, symbol), true, debug(symbol) + ' is included'); - }); - - forEach(excludedSymbols, function (symbol) { - s2t.equal(has(target, symbol), false, debug(symbol) + ' is excluded'); - }); - - s2t.end(); - }); - - st.end(); - }); - - // TODO: CopyDataProperties throws when copying fails - - t.end(); - }); - - test('GetIterator', function (t) { - try { - ES.GetIterator({}, null); - } catch (e) { - t.ok(e.message.indexOf('Assertion failed: `hint` must be one of \'sync\' or \'async\'' >= 0)); - } - - var arr = [1, 2]; - testIterator(t, ES.GetIterator(arr), arr); - - testIterator(t, ES.GetIterator('abc'), 'abc'.split('')); - - t.test('Symbol.iterator', { skip: !v.hasSymbols }, function (st) { - var m = new Map(); - m.set(1, 'a'); - m.set(2, 'b'); - - testIterator(st, ES.GetIterator(m), [[1, 'a'], [2, 'b']]); - - st.end(); - }); - - t.test('Symbol.asyncIterator', { skip: !v.hasSymbols || !Symbol.asyncIterator }, function (st) { - try { - ES.GetIterator(arr, 'async'); - } catch (e) { - st.ok(e.message.indexOf("async from sync iterators aren't currently supported") >= 0); - } - - var it = { - next: function () { - return Promise.resolve({ - done: true - }); - } - }; - var obj = {}; - obj[Symbol.asyncIterator] = function () { - return it; - }; - - st.equal(ES.GetIterator(obj, 'async'), it); - - st.end(); - }); - - t.end(); - }); - - var unclampedUnsignedIntegerTypes = [ - 'Int8', - 'Int16', - 'Int32' - ]; - var clampedTypes = [ - 'Uint8C' - ]; - var unclampedSignedIntegerTypes = [ - 'Uint8', - 'Uint16', - 'Uint32' - ]; - var unclampedIntegerTypes = unclampedUnsignedIntegerTypes.concat(unclampedSignedIntegerTypes); - var floatTypes = [ - 'Float32', - 'Float64' - ]; - var integerTypes = unclampedIntegerTypes.concat(clampedTypes, floatTypes); - var bigIntTypes = [ - 'BigInt64', - 'BigUint64' - ]; - var numberTypes = floatTypes.concat(integerTypes); - var nonIntegerTypes = floatTypes.concat(bigIntTypes); - var unsignedElementTypes = unclampedSignedIntegerTypes.concat([ - 'BigUint64' - ]); - var signedElementTypes = unclampedUnsignedIntegerTypes; - - test('IsBigIntElementType', function (t) { - forEach(bigIntTypes, function (type) { - t.equal( - ES.IsBigIntElementType(type), - true, - debug(type) + ' is a BigInt element type' - ); - }); - - forEach(numberTypes, function (type) { - t.equal( - ES.IsBigIntElementType(type), - false, - debug(type) + ' is not a BigInt element type' - ); - }); - - t.end(); - }); - - test('IsUnsignedElementType', function (t) { - forEach(unsignedElementTypes, function (type) { - t.equal( - ES.IsUnsignedElementType(type), - true, - debug(type) + ' is an unsigned element type' - ); - }); - - forEach(signedElementTypes, function (type) { - t.equal( - ES.IsUnsignedElementType(type), - false, - debug(type) + ' is not an unsigned element type' - ); - }); - - t.end(); - }); - - test('IsUnclampedIntegerElementType', function (t) { - forEach(unclampedIntegerTypes, function (type) { - t.equal( - ES.IsUnclampedIntegerElementType(type), - true, - debug(type) + ' is an unclamped integer element type' - ); - }); - - forEach(clampedTypes.concat(nonIntegerTypes), function (type) { - t.equal( - ES.IsUnclampedIntegerElementType(type), - false, - debug(type) + ' is not an unclamped integer element type' - ); - }); - - t.end(); - }); - - test('IsNonNegativeInteger', function (t) { - forEach(v.notNonNegativeIntegers, function (nonIntegerNumber) { - t.equal( - ES.IsNonNegativeInteger(nonIntegerNumber), - false, - debug(nonIntegerNumber) + ' is not a non-negative integer' - ); - }); - - forEach(v.zeroes.concat(v.integerNumbers), function (nonNegativeInteger) { - t.equal( - ES.IsNonNegativeInteger(nonNegativeInteger), - true, - debug(nonNegativeInteger) + ' is a non-negative integer' - ); - }); - - t.end(); - }); - - test('IsNoTearConfiguration', function (t) { - forEach(unclampedIntegerTypes, function (type) { - t.equal( - ES.IsNoTearConfiguration(type), - true, - debug(type) + ' with any order is a no-tear configuration' - ); - }); - - forEach(bigIntTypes, function (type) { - t.equal( - ES.IsNoTearConfiguration(type, 'Init'), - false, - debug(type) + ' with ' + debug('Init') + ' is not a no-tear configuration' - ); - - t.equal( - ES.IsNoTearConfiguration(type, 'Unordered'), - false, - debug(type) + ' with ' + debug('Unordered') + ' is not a no-tear configuration' - ); - - t.equal( - ES.IsNoTearConfiguration(type), - true, - debug(type) + ' with any other order is a no-tear configuration' - ); - }); - - forEach(clampedTypes, function (type) { - t.equal( - ES.IsNoTearConfiguration(type), - false, - debug(type) + ' with any order is not a no-tear configuration' - ); - }); - - t.end(); - }); - - test('LengthOfArrayLike', function (t) { - forEach(v.primitives, function (primitive) { - t['throws']( - function () { ES.LengthOfArrayLike(primitive); }, - TypeError, - debug(primitive) + ' is not an Object' - ); - }); - - t.equal(ES.LengthOfArrayLike([]), 0); - t.equal(ES.LengthOfArrayLike([1]), 1); - t.equal(ES.LengthOfArrayLike({ length: 42 }), 42); - - t.end(); - }); - - test('Number::add', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.add(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.add(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.add(+Infinity, +Infinity), +Infinity, '+∞ + +∞ is +∞'); - t.equal(ES.Number.add(-Infinity, -Infinity), -Infinity, '-∞ + -∞ is -∞'); - t.equal(ES.Number.add(+Infinity, -Infinity), NaN, '+∞ + -∞ is NaN'); - t.equal(ES.Number.add(-Infinity, +Infinity), NaN, '-∞ + +∞ is NaN'); - - t.equal(ES.Number.add(+0, +0), +0, '0 + 0 is +0'); - t.equal(ES.Number.add(+0, -0), +0, '0 + -0 is +0'); - t.equal(ES.Number.add(-0, +0), +0, '-0 + 0 is +0'); - t.equal(ES.Number.add(-0, -0), -0, '-0 + -0 is -0'); - - forEach(v.numbers, function (number) { - if (number !== 0) { - t.equal(ES.Number.add(number, 0), number, debug(number) + ' + 0 adds to ' + number); - } - t.equal(ES.Number.add(number, 1), number + 1, debug(number) + ' + 1 adds to ' + (number + 1)); - t.equal(ES.Number.add(1, number), number + 1, '1 + ' + debug(number) + ' adds to ' + (number + 1)); - t.equal(ES.Number.add(number, -42), number - 42, debug(number) + ' + -42 adds to ' + (number - 42)); - t.equal(ES.Number.add(-42, number), number - 42, '-42 + ' + debug(number) + ' adds to ' + (number - 42)); - }); - - t.end(); - }); - - test('Number::bitwiseAND', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.bitwiseAND(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.bitwiseAND(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.bitwiseAND(1, 2), 1 & 2); - - t.end(); - }); - - test('Number::bitwiseNOT', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.bitwiseNOT(nonNumber); }, - TypeError, - debug(nonNumber) + ' is not a Number' - ); - }); - - forEach(v.int32s, function (int32) { - t.equal(ES.Number.bitwiseNOT(int32), ~int32, debug(int32) + ' becomes ~' + debug(int32)); - }); - - t.end(); - }); - - test('Number::bitwiseOR', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.bitwiseOR(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.bitwiseOR(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.bitwiseOR(1, 2), 1 | 2); - - t.end(); - }); - - test('Number::bitwiseXOR', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.bitwiseXOR(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.bitwiseXOR(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.bitwiseXOR(1, 2), 1 ^ 2); - - t.end(); - }); - - test('Number::divide', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.divide(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.divide(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.divide(Infinity, Infinity), NaN, '∞ / ∞ is NaN'); - t.equal(ES.Number.divide(-Infinity, Infinity), NaN, '-∞ / ∞ is NaN'); - t.equal(ES.Number.divide(Infinity, -Infinity), NaN, '∞ / -∞ is NaN'); - t.equal(ES.Number.divide(-Infinity, -Infinity), NaN, '-∞ / -∞ is NaN'); - - t.equal(ES.Number.divide(NaN, NaN), NaN, 'NaN / NaN is NaN'); - - t.equal(ES.Number.divide(+Infinity, +0), +Infinity, '+∞ / +0 is +∞'); - t.equal(ES.Number.divide(-Infinity, -0), +Infinity, '-∞ / -0 is +∞'); - t.equal(ES.Number.divide(+Infinity, -0), -Infinity, '+∞ / -0 is -∞'); - t.equal(ES.Number.divide(-Infinity, +0), -Infinity, '-∞ / +0 is -∞'); - - t.equal(ES.Number.divide(+0, +Infinity), +0, '+0 / +∞ is +0'); - t.equal(ES.Number.divide(-0, -Infinity), +0, '-0 / -∞ is +0'); - t.equal(ES.Number.divide(-0, +Infinity), -0, '-0 / +∞ is -0'); - t.equal(ES.Number.divide(+0, -Infinity), -0, '+0 / -∞ is -0'); - - forEach(v.numbers, function (number) { - if (number !== 0 && isFinite(number)) { - t.equal(ES.Number.divide(number, number), 1, debug(number) + ' divided by itself is 1'); - t.equal(ES.Number.divide(number, 2), number / 2, debug(number) + ' divided by 2 is half itself'); - } - }); - - t.end(); - }); - - test('Number::equal', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.equal(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.equal(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.equal(Infinity, Infinity), true, '∞ === ∞'); - t.equal(ES.Number.equal(-Infinity, Infinity), false, '-∞ !== ∞'); - t.equal(ES.Number.equal(Infinity, -Infinity), false, '∞ !== -∞'); - t.equal(ES.Number.equal(-Infinity, -Infinity), true, '-∞ === -∞'); - - t.equal(ES.Number.equal(NaN, NaN), false, 'NaN !== NaN'); - - t.equal(ES.Number.equal(Infinity, 0), false, '∞ !== 0'); - t.equal(ES.Number.equal(-Infinity, -0), false, '-∞ !== -0'); - t.equal(ES.Number.equal(Infinity, -0), false, '∞ !== -0'); - t.equal(ES.Number.equal(-Infinity, 0), false, '-∞ !== 0'); - - t.equal(ES.Number.equal(+0, +0), true, '+0 === +0'); - t.equal(ES.Number.equal(+0, -0), true, '+0 === -0'); - t.equal(ES.Number.equal(-0, +0), true, '-0 === +0'); - t.equal(ES.Number.equal(-0, -0), true, '-0 === -0'); - - forEach(v.numbers, function (number) { - if (isFinite(number)) { - t.equal(ES.Number.equal(number, number), true, debug(number) + ' is equal to itself'); - t.equal(ES.Number.equal(number, number + 1), false, debug(number) + ' is not equal to itself plus 1'); - } - }); - - t.end(); - }); - - test('Number::exponentiate', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.exponentiate(nonNumber, 0); }, - TypeError, - 'base: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.exponentiate(0, nonNumber); }, - TypeError, - 'exponent: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.exponentiate(0, 42), 0, '+0 ** 42 is +0'); - t.equal(ES.Number.exponentiate(0, -42), Infinity, '+0 ** 42 is +∞'); - t.equal(ES.Number.exponentiate(-0, 42), 0, '-0 ** 42 is +0'); - t.equal(ES.Number.exponentiate(-0, 41), -0, '-0 ** 41 is -0'); - t.equal(ES.Number.exponentiate(-0, -42), Infinity, '-0 ** 42 is +∞'); - t.equal(ES.Number.exponentiate(-0, -41), -Infinity, '-0 ** 41 is -∞'); - - t.equal(ES.Number.exponentiate(Infinity, 0), 1, '+∞ ** 0 is 1'); - t.equal(ES.Number.exponentiate(Infinity, -0), 1, '+∞ ** -0 is 1'); - t.equal(ES.Number.exponentiate(-Infinity, 0), 1, '-∞ ** 0 is 1'); - t.equal(ES.Number.exponentiate(-Infinity, -0), 1, '-∞ ** -0 is 1'); - - t.equal(ES.Number.exponentiate(Infinity, 1), Infinity, '+∞ ** 1 is +∞'); - t.equal(ES.Number.exponentiate(Infinity, 2), Infinity, '+∞ ** 2 is +∞'); - t.equal(ES.Number.exponentiate(Infinity, -1), +0, '+∞ ** -1 is +0'); - t.equal(ES.Number.exponentiate(Infinity, -2), +0, '+∞ ** -2 is +0'); - - t.equal(ES.Number.exponentiate(-Infinity, 1), -Infinity, '-∞ ** 1 is -∞'); - t.equal(ES.Number.exponentiate(-Infinity, 2), Infinity, '-∞ ** 2 is +∞'); - t.equal(ES.Number.exponentiate(-Infinity, -1), -0, '-∞ ** --1 is -0'); - t.equal(ES.Number.exponentiate(-Infinity, -2), +0, '-∞ ** --2 is +0'); - - t.equal(ES.Number.exponentiate(1.1, Infinity), Infinity, '1.1 ** +∞ is +∞'); - t.equal(ES.Number.exponentiate(1.1, -Infinity), 0, '1.1 ** -∞ is +0'); - t.equal(ES.Number.exponentiate(-1.1, Infinity), Infinity, '-1.1 ** +∞ is +∞'); - t.equal(ES.Number.exponentiate(-1.1, -Infinity), 0, '-1.1 ** -∞ is +0'); - - t.equal(ES.Number.exponentiate(1, Infinity), NaN, '1 ** +∞ is NaN'); - t.equal(ES.Number.exponentiate(1, -Infinity), NaN, '1 ** -∞ is NaN'); - t.equal(ES.Number.exponentiate(-1, Infinity), NaN, '-1 ** +∞ is NaN'); - t.equal(ES.Number.exponentiate(-1, -Infinity), NaN, '-1 ** -∞ is NaN'); - - t.equal(ES.Number.exponentiate(0.9, Infinity), 0, '0.9 ** +∞ is +0'); - t.equal(ES.Number.exponentiate(0.9, -Infinity), Infinity, '0.9 ** -∞ is ∞'); - t.equal(ES.Number.exponentiate(-0.9, Infinity), 0, '-0.9 ** +∞ is +0'); - t.equal(ES.Number.exponentiate(-0.9, -Infinity), Infinity, '-0.9 ** -∞ is +∞'); - - forEach(v.numbers.concat(NaN), function (number) { - t.equal(ES.Number.exponentiate(number, NaN), NaN, debug(number) + ' ** NaN is NaN'); - - if (number !== 0) { - t.equal(ES.Number.exponentiate(number, 0), 1, debug(number) + ' ** +0 is 1'); - t.equal(ES.Number.exponentiate(number, -0), 1, debug(number) + ' ** -0 is 1'); - t.equal(ES.Number.exponentiate(NaN, number), NaN, 'NaN ** ' + debug(number) + ' is NaN'); - } - - if (number !== 0 && isFinite(number)) { - t.equal(ES.Number.equal(number, number), true, debug(number) + ' is equal to itself'); - t.equal(ES.Number.equal(number, number + 1), false, debug(number) + ' is not equal to itself plus 1'); - } - }); - - t.end(); - }); - - test('Number::leftShift', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.leftShift(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.leftShift(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - forEach([0].concat(v.int32s), function (int32) { - forEach([1, 3, 5, 31, 32, 33], function (bits) { - t.equal(ES.Number.leftShift(int32, bits), int32 << bits, debug(int32) + ' << ' + bits + ' is ' + debug(int32 << bits)); - }); - }); - - t.end(); - }); - - test('Number::lessThan', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.lessThan(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.lessThan(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.lessThan(+0, -0), false, '+0 < -0 is false'); - t.equal(ES.Number.lessThan(+0, +0), false, '+0 < +0 is false'); - t.equal(ES.Number.lessThan(-0, +0), false, '-0 < +0 is false'); - t.equal(ES.Number.lessThan(-0, -0), false, '-0 < -0 is false'); - - t.equal(ES.Number.lessThan(NaN, NaN), undefined, 'NaN < NaN is undefined'); - - t.equal(ES.Number.lessThan(+Infinity, +Infinity), false, '+∞ < +∞ is false'); - t.equal(ES.Number.lessThan(+Infinity, -Infinity), false, '+∞ < -∞ is false'); - t.equal(ES.Number.lessThan(-Infinity, +Infinity), true, '-∞ < +∞ is true'); - t.equal(ES.Number.lessThan(-Infinity, -Infinity), false, '-∞ < -∞ is false'); - - forEach(v.numbers.concat(v.infinities), function (number) { - t.equal(ES.Number.lessThan(NaN, number), undefined, 'NaN < ' + debug(number) + ' is undefined'); - t.equal(ES.Number.lessThan(number, NaN), undefined, debug(number) + ' < NaN is undefined'); - - t.equal(ES.Number.lessThan(number, number), false, debug(number) + ' is not less than itself'); - - if (isFinite(number)) { - t.equal(ES.Number.lessThan(number, number + 1), true, debug(number) + ' < ' + debug(number + 1) + ' is true'); - t.equal(ES.Number.lessThan(number + 1, number), false, debug(number + 1) + ' < ' + debug(number) + ' is false'); - - t.equal(ES.Number.lessThan(Infinity, number), false, '+∞ < ' + debug(number) + ' is false'); - t.equal(ES.Number.lessThan(number, Infinity), true, debug(number) + ' < +∞ is true'); - t.equal(ES.Number.lessThan(-Infinity, number), true, '-∞ < ' + debug(number) + ' is true'); - t.equal(ES.Number.lessThan(number, -Infinity), false, debug(number) + ' < -∞ is false'); - } - }); - - t.end(); - }); - - test('Number::multiply', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.multiply(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.multiply(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - forEach([+0, -0, 1, -1], function (x) { - var expected = x === 0 ? NaN : Infinity; - t.equal(ES.Number.multiply(Infinity, x), expected, '+∞ * ' + debug(x) + ' is ' + debug(expected)); - t.equal(ES.Number.multiply(x, Infinity), expected, debug(x) + ' * +∞ is ' + debug(expected)); - t.equal(ES.Number.multiply(-Infinity, x), -expected, '-∞ * ' + debug(x) + ' is ' + debug(expected)); - t.equal(ES.Number.multiply(x, -Infinity), -expected, debug(x) + ' * -∞ is ' + debug(expected)); - }); - - t.equal(ES.Number.multiply(Infinity, Infinity), Infinity, '+∞ * +∞ is +∞'); - t.equal(ES.Number.multiply(Infinity, -Infinity), -Infinity, '+∞ * -∞ is -∞'); - t.equal(ES.Number.multiply(-Infinity, Infinity), -Infinity, '-∞ * +∞ is -∞'); - t.equal(ES.Number.multiply(-Infinity, -Infinity), Infinity, '-∞ * -∞ is +∞'); - - t.equal(ES.Number.multiply(+0, +0), +0, '0 * 0 is +0'); - t.equal(ES.Number.multiply(+0, -0), -0, '0 * -0 is -0'); - t.equal(ES.Number.multiply(-0, +0), -0, '-0 * 0 is -0'); - t.equal(ES.Number.multiply(-0, -0), +0, '-0 * -0 is +0'); - - forEach(v.numbers.concat(NaN), function (number) { - t.equal(ES.Number.multiply(NaN, number), NaN, 'NaN * ' + debug(number) + ' is NaN'); - t.equal(ES.Number.multiply(number, NaN), NaN, debug(number) + ' * NaN is NaN'); - - if (number !== 0 && isFinite(number)) { - t.equal(ES.Number.multiply(number, 0), number > 0 ? 0 : -0, debug(number) + ' * +0 produces ' + (number > 0 ? '+0' : '-0')); - t.equal(ES.Number.multiply(0, number), number > 0 ? 0 : -0, '+0 * ' + debug(number) + ' produces ' + (number > 0 ? '+0' : '-0')); - t.equal(ES.Number.multiply(number, -0), number > 0 ? -0 : 0, debug(number) + ' * -0 produces ' + (number > 0 ? '-0' : '+0')); - t.equal(ES.Number.multiply(-0, number), number > 0 ? -0 : 0, '-0 * ' + debug(number) + ' produces ' + (number > 0 ? '-0' : '+0')); - t.equal(ES.Number.multiply(number, 1), number, debug(number) + ' * 1 produces itself'); - t.equal(ES.Number.multiply(number, -42), number * -42, debug(number) + ' * -42 produces ' + (number - 42)); - } - }); - - t.end(); - }); - - test('Number::remainder', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.remainder(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.remainder(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.remainder(NaN, NaN), NaN, 'NaN % NaN is NaN'); - - t.equal(ES.Number.remainder(+0, +0), NaN, '+0 % +0 is NaN'); - t.equal(ES.Number.remainder(+0, -0), NaN, '+0 % -0 is NaN'); - t.equal(ES.Number.remainder(-0, +0), NaN, '-0 % +0 is NaN'); - t.equal(ES.Number.remainder(-0, -0), NaN, '-0 % -0 is NaN'); - - forEach(v.numbers, function (number) { - t.equal(ES.Number.remainder(number, NaN), NaN, debug(number) + ' % NaN is NaN'); - t.equal(ES.Number.remainder(NaN, number), NaN, 'NaN % ' + debug(number) + ' is NaN'); - - t.equal(ES.Number.remainder(Infinity, number), NaN, '+∞ % ' + debug(number) + ' is NaN'); - t.equal(ES.Number.remainder(-Infinity, number), NaN, '-∞ % ' + debug(number) + ' is NaN'); - t.equal(ES.Number.remainder(number, 0), NaN, debug(number) + ' % +0 is NaN'); - t.equal(ES.Number.remainder(number, -0), NaN, debug(number) + ' % -0 is NaN'); - - if (isFinite(number)) { - t.equal(ES.Number.remainder(number, Infinity), number, debug(number) + ' % +∞ is ' + debug(number)); - t.equal(ES.Number.remainder(number, -Infinity), number, debug(number) + ' % -∞ is ' + debug(number)); - if (number !== 0) { - t.equal(ES.Number.remainder(0, number), 0, '+0 % ' + debug(number) + ' is ' + debug(number)); - t.equal(ES.Number.remainder(-0, number), -0, '-0 % ' + debug(number) + ' is ' + debug(number)); - t.looseEqual(ES.Number.remainder(number * 2, number), 0, debug(number) + ' % ' + debug(number * 2) + ' is 0'); - } - } - }); - - t.end(); - }); - - test('Number::sameValue', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.sameValue(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.sameValue(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.ok(ES.Number.sameValue(NaN, NaN), true, 'NaN is the sameValue as NaN'); - - t.equal(ES.Number.sameValue(+0, +0), true, '+0 is sameValue as +0'); - t.equal(ES.Number.sameValue(+0, -0), false, '+0 is not sameValue as -0'); - t.equal(ES.Number.sameValue(-0, +0), false, '-0 is not sameValue as +0'); - t.equal(ES.Number.sameValue(-0, -0), true, '-0 is sameValue as -0'); - - forEach(v.numbers, function (number) { - t.ok(ES.Number.sameValue(number, number), debug(number) + ' is the sameValue as itself'); - }); - - t.end(); - }); - - test('Number::sameValueZero', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.sameValueZero(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.sameValueZero(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.ok(ES.Number.sameValueZero(NaN, NaN), true, 'NaN is the sameValueZero as NaN'); - - t.equal(ES.Number.sameValueZero(+0, +0), true, '+0 is sameValueZero as +0'); - t.equal(ES.Number.sameValueZero(+0, -0), true, '+0 is sameValueZero as -0'); - t.equal(ES.Number.sameValueZero(-0, +0), true, '-0 is sameValueZero as +0'); - t.equal(ES.Number.sameValueZero(-0, -0), true, '-0 is sameValueZero as -0'); - - forEach(v.numbers, function (number) { - t.ok(ES.Number.sameValueZero(number, number), debug(number) + ' is the sameValueZero as itself'); - }); - - t.end(); - }); - - test('Number::signedRightShift', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.signedRightShift(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.signedRightShift(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - forEach([0].concat(v.int32s), function (int32) { - forEach([1, 3, 5, 31, 32, 33], function (bits) { - t.equal(ES.Number.signedRightShift(int32, bits), int32 >> bits, debug(int32) + ' >> ' + bits + ' is ' + debug(int32 >> bits)); - }); - }); - - t.end(); - }); - - test('Number::subtract', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.subtract(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.subtract(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.subtract(+0, +0), +0, '0 - 0 is +0'); - t.equal(ES.Number.subtract(+0, -0), +0, '0 - -0 is +0'); - t.equal(ES.Number.subtract(-0, +0), -0, '-0 - 0 is -0'); - t.equal(ES.Number.subtract(-0, -0), +0, '-0 - -0 is +0'); - - forEach(v.numbers, function (number) { - if (number !== 0) { - t.equal(ES.Number.subtract(number, 0), number, debug(number) + ' - 0 produces ' + number); - } - t.equal(ES.Number.subtract(number, 1), number - 1, debug(number) + ' - 1 produces ' + (number + 1)); - t.equal(ES.Number.subtract(number, 42), number - 42, debug(number) + ' - 42 produces ' + (number - 42)); - }); - - t.end(); - }); - - test('Number::toString', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.toString(nonNumber); }, - TypeError, - debug(nonNumber) + ' is not a Number' - ); - }); - - forEach(v.numbers, function (number) { - t.equal(ES.Number.toString(number), String(number), debug(number) + ' stringifies to ' + number); - }); - - t.end(); - }); - - test('Number::unaryMinus', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.unaryMinus(nonNumber); }, - TypeError, - debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.Number.unaryMinus(NaN), NaN, 'NaN produces NaN'); - - forEach(v.numbers, function (number) { - t.equal(ES.Number.unaryMinus(number), -number, debug(number) + ' produces -' + debug(number)); - }); - - t.end(); - }); - - test('Number::unsignedRightShift', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.Number.unsignedRightShift(nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.Number.unsignedRightShift(0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - forEach([0].concat(v.int32s), function (int32) { - forEach([1, 3, 5, 31, 32, 33], function (bits) { - t.equal(ES.Number.unsignedRightShift(int32, bits), int32 >>> bits, debug(int32) + ' >>> ' + bits + ' is ' + debug(int32 >>> bits)); - }); - }); - - t.end(); - }); - - test('NumberToBigInt', function (t) { - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.NumberToBigInt(nonNumber); }, - TypeError, - debug(nonNumber) + ' is not a Number' - ); - }); - - forEach(v.nonIntegerNumbers, function (nonIntegerNumber) { - t['throws']( - function () { ES.NumberToBigInt(nonIntegerNumber); }, - RangeError, - debug(nonIntegerNumber) + ' is not an integer' - ); - }); - - t.test('actual BigInts', { skip: !hasBigInts }, function (st) { - forEach(v.integerNumbers, function (int) { - if (int >= 1e17) { - // BigInt(1e17) throws on node v10.4 - v10.8 - try { - st.equal(ES.NumberToBigInt(int), $BigInt(int), debug(int) + ' becomes ' + debug($BigInt(int))); - } catch (e) { - st['throws']( - function () { $BigInt(int); }, - RangeError, - debug(int) + ' is too large on this engine to convert into a BigInt' - ); - } - } else { - st.equal(ES.NumberToBigInt(int), $BigInt(int), debug(int) + ' becomes ' + debug($BigInt(int))); - } - }); - st.end(); - }); - - t.end(); - }); - - test('OrdinaryObjectCreate', function (t) { - forEach(v.nonNullPrimitives, function (value) { - t['throws']( - function () { ES.OrdinaryObjectCreate(value); }, - TypeError, - debug(value) + ' is not null, or an object' - ); - }); - - t.test('proto arg', function (st) { - var Parent = function Parent() {}; - Parent.prototype.foo = {}; - var child = ES.OrdinaryObjectCreate(Parent.prototype); - st.equal(child instanceof Parent, true, 'child is instanceof Parent'); - st.equal(child.foo, Parent.prototype.foo, 'child inherits properties from Parent.prototype'); - - st.end(); - }); - - t.test('internal slots arg', function (st) { - st.doesNotThrow(function () { ES.OrdinaryObjectCreate({}, []); }, 'an empty slot list is valid'); - - st['throws']( - function () { ES.OrdinaryObjectCreate({}, ['a']); }, - SyntaxError, - 'internal slots are not supported' - ); - - st.end(); - }); - - t.test('null proto', { skip: !$setProto }, function (st) { - st.equal('toString' in {}, true, 'normal objects have toString'); - st.equal('toString' in ES.OrdinaryObjectCreate(null), false, 'makes a null object'); - - st.end(); - }); - - t.test('null proto when no native Object.create', { skip: $setProto }, function (st) { - st['throws']( - function () { ES.OrdinaryObjectCreate(null); }, - SyntaxError, - 'without a native Object.create, can not create null objects' - ); - - st.end(); - }); - - t.end(); - }); - - test('SameValueNonNumeric', function (t) { - var willThrow = [ - [3, 4], - [NaN, 4], - [4, ''], - ['abc', true], - [{}, false] - ]; - forEach(willThrow, function (nums) { - t['throws'](function () { return ES.SameValueNonNumeric.apply(ES, nums); }, TypeError, 'value must be same type and non-number'); - }); - - forEach(v.objects.concat(v.nonNumberPrimitives), function (val) { - t.equal(val === val, ES.SameValueNonNumeric(val, val), debug(val) + ' is SameValueNonNumeric to itself'); - }); - - t.end(); - }); - - test('StringPad', function (t) { - t.equal(ES.StringPad('a', 3, undefined, 'start'), ' a'); - t.equal(ES.StringPad('a', 3, undefined, 'end'), 'a '); - t.equal(ES.StringPad('a', 3, '0', 'start'), '00a'); - t.equal(ES.StringPad('a', 3, '0', 'end'), 'a00'); - t.equal(ES.StringPad('a', 3, '012', 'start'), '01a'); - t.equal(ES.StringPad('a', 3, '012', 'end'), 'a01'); - t.equal(ES.StringPad('a', 7, '012', 'start'), '012012a'); - t.equal(ES.StringPad('a', 7, '012', 'end'), 'a012012'); - - t.end(); - }); - - test('thisBigIntValue', { skip: !hasBigInts }, function (t) { - t.equal(ES.thisBigIntValue(BigInt(42)), BigInt(42)); - t.equal(ES.thisBigIntValue(Object(BigInt(42))), BigInt(42)); - - forEach(v.nonBigInts, function (nonBigInt) { - t['throws']( - function () { ES.thisBigIntValue(nonBigInt); }, - TypeError, - debug(nonBigInt) + ' is not a BigInt' - ); - }); - - t.end(); - }); - - test('ToInteger', function (t) { - forEach([0, -0, NaN], function (num) { - t.equal(0, ES.ToInteger(num), debug(num) + ' returns +0'); - }); - forEach([Infinity, 42], function (num) { - t.equal(num, ES.ToInteger(num), debug(num) + ' returns itself'); - t.equal(-num, ES.ToInteger(-num), '-' + debug(num) + ' returns itself'); - }); - t.equal(3, ES.ToInteger(Math.PI), 'pi returns 3'); - t['throws'](function () { return ES.ToInteger(v.uncoercibleObject); }, TypeError, 'uncoercibleObject throws'); - t.end(); - }); - - test('ToNumber', function (t) { - testToNumber(t, ES, ES.ToNumber); - - forEach(v.bigints, function (bigInt) { - t['throws']( - function () { ES.ToNumber(bigInt); }, - TypeError, - 'ToNumber of ' + debug(bigInt) + ' throws' - ); - - var boxed = Object(bigInt); - t['throws']( - function () { ES.ToNumber(boxed); }, - TypeError, - 'ToNumber of ' + debug(boxed) + ' throws' - ); - }); - - t.end(); - }); - - test('UTF16DecodeSurrogatePair', function (t) { - t['throws']( - function () { ES.UTF16DecodeSurrogatePair('a'.charCodeAt(0), trailingPoo.charCodeAt(0)); }, - TypeError, - '"a" is not a leading surrogate' - ); - t['throws']( - function () { ES.UTF16DecodeSurrogatePair(leadingPoo.charCodeAt(0), 'b'.charCodeAt(0)); }, - TypeError, - '"b" is not a trailing surrogate' - ); - - t.equal(ES.UTF16DecodeSurrogatePair(leadingPoo.charCodeAt(0), trailingPoo.charCodeAt(0)), wholePoo); - - t.end(); - }); - - test('NumberBitwiseOp', function (t) { - t['throws']( - function () { ES.NumberBitwiseOp('invalid', 0, 0); }, - TypeError, - 'throws with an invalid op' - ); - - forEach(v.nonNumbers, function (nonNumber) { - t['throws']( - function () { ES.NumberBitwiseOp('&', nonNumber, 0); }, - TypeError, - 'x: ' + debug(nonNumber) + ' is not a Number' - ); - t['throws']( - function () { ES.NumberBitwiseOp('&', 0, nonNumber); }, - TypeError, - 'y: ' + debug(nonNumber) + ' is not a Number' - ); - }); - - t.equal(ES.NumberBitwiseOp('&', 1, 2), 1 & 2); - t.equal(ES.NumberBitwiseOp('|', 1, 2), 1 | 2); - t.equal(ES.NumberBitwiseOp('^', 1, 2), 1 ^ 2); - - t.end(); - }); - - test('ToNumeric', function (t) { - testToNumber(t, ES, ES.ToNumeric); - - t.test('BigInts', { skip: !hasBigInts }, function (st) { - st.equal(ES.ToNumeric(BigInt(42)), BigInt(42), debug(BigInt(42)) + ' is ' + debug(BigInt(42))); - st.equal(ES.ToNumeric(Object(BigInt(42))), BigInt(42), debug(Object(BigInt(42))) + ' is ' + debug(BigInt(42))); - - var valueOf = { valueOf: function () { return BigInt(7); } }; - st.equal(ES.ToNumeric(valueOf), valueOf.valueOf(), debug(valueOf) + ' is ' + debug(valueOf.valueOf())); - - var toPrimitive = {}; - var value = BigInt(-2); - toPrimitive[Symbol.toPrimitive] = function () { return value; }; - st.equal(ES.ToNumeric(toPrimitive), value, debug(toPrimitive) + ' is ' + debug(value)); - - st.end(); - }); - - t.end(); - }); - - test('UTF16DecodeString', function (t) { - forEach(v.nonStrings, function (nonString) { - t['throws']( - function () { ES.UTF16DecodeString(nonString); }, - TypeError, - debug(nonString) + ' is not a String' - ); - }); - - t.deepEqual(ES.UTF16DecodeString('abc'), ['a', 'b', 'c'], 'code units get split'); - t.deepEqual(ES.UTF16DecodeString('a' + wholePoo + 'c'), ['a', wholePoo, 'c'], 'code points get split too'); - - t.end(); - }); -}; - -module.exports = { - es5: es5, - es2015: es2015, - es2016: es2016, - es2017: es2017, - es2018: es2018, - es2019: es2019, - es2020: es2020 -}; diff --git a/node_modules/es-to-primitive/.eslintrc b/node_modules/es-to-primitive/.eslintrc deleted file mode 100644 index b6639b96c..000000000 --- a/node_modules/es-to-primitive/.eslintrc +++ /dev/null @@ -1,22 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "complexity": [2, 14], - "func-name-matching": 0, - "id-length": [2, { "min": 1, "max": 24, "properties": "never" }], - "max-statements": [2, 20], - "new-cap": [2, { "capIsNewExceptions": ["GetMethod"] }] - }, - - "overrides": [ - { - "files": "test/**", - "rules": { - "max-lines-per-function": [2, { "max": 68 }], - }, - } - ], -} diff --git a/node_modules/es-to-primitive/.github/FUNDING.yml b/node_modules/es-to-primitive/.github/FUNDING.yml deleted file mode 100644 index 9f928ae80..000000000 --- a/node_modules/es-to-primitive/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/es-to-primitive -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/es-to-primitive/.travis.yml b/node_modules/es-to-primitive/.travis.yml deleted file mode 100644 index d4c5a842f..000000000 --- a/node_modules/es-to-primitive/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -version: ~> 1.0 -language: node_js -cache: - directories: - - "$(nvm cache dir)" -os: - - linux -import: - - ljharb/travis-ci:node/all.yml - - ljharb/travis-ci:node/pretest.yml - - ljharb/travis-ci:node/posttest.yml - - ljharb/travis-ci:node/coverage.yml -matrix: - allow_failures: - - env: COVERAGE=true diff --git a/node_modules/es-to-primitive/CHANGELOG.md b/node_modules/es-to-primitive/CHANGELOG.md deleted file mode 100644 index 0a5dda780..000000000 --- a/node_modules/es-to-primitive/CHANGELOG.md +++ /dev/null @@ -1,49 +0,0 @@ -1.2.1 / 2019-11-08 -================= - * [readme] remove testling URLs - * [meta] add `funding` field - * [meta] create FUNDING.yml - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `replace`, `semver`, `tape`, `function.prototype.name` - * [Tests] use shared travis-ci configs - * [Tests] Add es5 tests for `symbol` types (#45) - * [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops - * [Tests] remove `jscs` - -1.2.0 / 2018-09-27 -================= - * [New] create ES2015 entry point/property, to replace ES6 - * [Fix] Ensure optional arguments are not part of the length (#29) - * [Deps] update `is-callable` - * [Dev Deps] update `tape`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver`, `object-inspect`, `replace` - * [Tests] avoid util.inspect bug with `new Date(NaN)` on node v6.0 and v6.1. - * [Tests] up to `node` `v10.11`, `v9.11`, `v8.12`, `v6.14`, `v4.9` - -1.1.1 / 2016-01-03 -================= - * [Fix: ES5] fix coercion logic: ES5’s ToPrimitive does not coerce any primitive value, regardless of hint (#2) - -1.1.0 / 2015-12-27 -================= - * [New] add `Symbol.toPrimitive` support - * [Deps] update `is-callable`, `is-date-object` - * [Dev Deps] update `eslint`, `tape`, `semver`, `jscs`, `covert`, `nsp`, `@ljharb/eslint-config` - * [Dev Deps] remove unused deps - * [Tests] up to `node` `v5.3` - * [Tests] fix npm upgrades on older node versions - * [Tests] fix testling - * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG - -1.0.1 / 2016-01-03 -================= - * [Fix: ES5] fix coercion logic: ES5’s ToPrimitive does not coerce any primitive value, regardless of hint (#2) - * [Deps] update `is-callable`, `is-date-object` - * [Dev Deps] update `eslint`, `tape`, `semver`, `jscs`, `covert`, `nsp`, `@ljharb/eslint-config` - * [Dev Deps] remove unused deps - * [Tests] up to `node` `v5.3` - * [Tests] fix npm upgrades on older node versions - * [Tests] fix testling - * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG - -1.0.0 / 2015-03-19 -================= - * Initial release. diff --git a/node_modules/es-to-primitive/LICENSE b/node_modules/es-to-primitive/LICENSE deleted file mode 100644 index b43df444e..000000000 --- a/node_modules/es-to-primitive/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/node_modules/es-to-primitive/Makefile b/node_modules/es-to-primitive/Makefile deleted file mode 100644 index b9e4fe1aa..000000000 --- a/node_modules/es-to-primitive/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# Since we rely on paths relative to the makefile location, abort if make isn't being run from there. -$(if $(findstring /,$(MAKEFILE_LIST)),$(error Please only invoke this makefile from the directory it resides in)) - - # The files that need updating when incrementing the version number. -VERSIONED_FILES := *.js *.json README* - - -# Add the local npm packages' bin folder to the PATH, so that `make` can find them, when invoked directly. -# Note that rather than using `$(npm bin)` the 'node_modules/.bin' path component is hard-coded, so that invocation works even from an environment -# where npm is (temporarily) unavailable due to having deactivated an nvm instance loaded into the calling shell in order to avoid interference with tests. -export PATH := $(shell printf '%s' "$$PWD/node_modules/.bin:$$PATH") -UTILS := semver -# Make sure that all required utilities can be located. -UTIL_CHECK := $(or $(shell PATH="$(PATH)" which $(UTILS) >/dev/null && echo 'ok'),$(error Did you forget to run `npm install` after cloning the repo? At least one of the required supporting utilities not found: $(UTILS))) - -# Default target (by virtue of being the first non '.'-prefixed in the file). -.PHONY: _no-target-specified -_no-target-specified: - $(error Please specify the target to make - `make list` shows targets. Alternatively, use `npm test` to run the default tests; `npm run` shows all tests) - -# Lists all targets defined in this makefile. -.PHONY: list -list: - @$(MAKE) -pRrn : -f $(MAKEFILE_LIST) 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | command grep -v -e '^[^[:alnum:]]' -e '^$@$$command ' | sort - -# All-tests target: invokes the specified test suites for ALL shells defined in $(SHELLS). -.PHONY: test -test: - @npm test - -.PHONY: _ensure-tag -_ensure-tag: -ifndef TAG - $(error Please invoke with `make TAG= release`, where is either an increment specifier (patch, minor, major, prepatch, preminor, premajor, prerelease), or an explicit major.minor.patch version number) -endif - -CHANGELOG_ERROR = $(error No CHANGELOG specified) -.PHONY: _ensure-changelog -_ensure-changelog: - @ (git status -sb --porcelain | command grep -E '^( M|[MA] ) CHANGELOG.md' > /dev/null) || (echo no CHANGELOG.md specified && exit 2) - -# Ensures that the git workspace is clean. -.PHONY: _ensure-clean -_ensure-clean: - @[ -z "$$((git status --porcelain --untracked-files=no || echo err) | command grep -v 'CHANGELOG.md')" ] || { echo "Workspace is not clean; please commit changes first." >&2; exit 2; } - -# Makes a release; invoke with `make TAG= release`. -.PHONY: release -release: _ensure-tag _ensure-changelog _ensure-clean - @old_ver=`git describe --abbrev=0 --tags --match 'v[0-9]*.[0-9]*.[0-9]*'` || { echo "Failed to determine current version." >&2; exit 1; }; old_ver=$${old_ver#v}; \ - new_ver=`echo "$(TAG)" | sed 's/^v//'`; new_ver=$${new_ver:-patch}; \ - if printf "$$new_ver" | command grep -q '^[0-9]'; then \ - semver "$$new_ver" >/dev/null || { echo 'Invalid version number specified: $(TAG) - must be major.minor.patch' >&2; exit 2; }; \ - semver -r "> $$old_ver" "$$new_ver" >/dev/null || { echo 'Invalid version number specified: $(TAG) - must be HIGHER than current one.' >&2; exit 2; } \ - else \ - new_ver=`semver -i "$$new_ver" "$$old_ver"` || { echo 'Invalid version-increment specifier: $(TAG)' >&2; exit 2; } \ - fi; \ - printf "=== Bumping version **$$old_ver** to **$$new_ver** before committing and tagging:\n=== TYPE 'proceed' TO PROCEED, anything else to abort: " && read response && [ "$$response" = 'proceed' ] || { echo 'Aborted.' >&2; exit 2; }; \ - replace "$$old_ver" "$$new_ver" -- $(VERSIONED_FILES) && \ - git commit -m "v$$new_ver" $(VERSIONED_FILES) CHANGELOG.md && \ - git tag -a -m "v$$new_ver" "v$$new_ver" diff --git a/node_modules/es-to-primitive/README.md b/node_modules/es-to-primitive/README.md deleted file mode 100644 index 5ce322bfa..000000000 --- a/node_modules/es-to-primitive/README.md +++ /dev/null @@ -1,49 +0,0 @@ -# es-to-primitive [![Version Badge][npm-version-svg]][package-url] - -[![Build Status][travis-svg]][travis-url] -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions. -When different versions of the spec conflict, the default export will be the latest version of the abstract operation. -Alternative versions will also be available under an `es5`/`es2015` exported property if you require a specific version. - -## Example - -```js -var toPrimitive = require('es-to-primitive'); -var assert = require('assert'); - -assert(toPrimitive(function () {}) === String(function () {})); - -var date = new Date(); -assert(toPrimitive(date) === String(date)); - -assert(toPrimitive({ valueOf: function () { return 3; } }) === 3); - -assert(toPrimitive(['a', 'b', 3]) === String(['a', 'b', 3])); - -var sym = Symbol(); -assert(toPrimitive(Object(sym)) === sym); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.org/package/es-to-primitive -[npm-version-svg]: http://versionbadg.es/ljharb/es-to-primitive.svg -[travis-svg]: https://travis-ci.org/ljharb/es-to-primitive.svg -[travis-url]: https://travis-ci.org/ljharb/es-to-primitive -[deps-svg]: https://david-dm.org/ljharb/es-to-primitive.svg -[deps-url]: https://david-dm.org/ljharb/es-to-primitive -[dev-deps-svg]: https://david-dm.org/ljharb/es-to-primitive/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/es-to-primitive#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/es-to-primitive.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/es-to-primitive.svg -[license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/es-to-primitive.svg -[downloads-url]: http://npm-stat.com/charts.html?package=es-to-primitive diff --git a/node_modules/es-to-primitive/es2015.js b/node_modules/es-to-primitive/es2015.js deleted file mode 100644 index 4a11a346c..000000000 --- a/node_modules/es-to-primitive/es2015.js +++ /dev/null @@ -1,75 +0,0 @@ -'use strict'; - -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; - -var isPrimitive = require('./helpers/isPrimitive'); -var isCallable = require('is-callable'); -var isDate = require('is-date-object'); -var isSymbol = require('is-symbol'); - -var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { - if (typeof O === 'undefined' || O === null) { - throw new TypeError('Cannot call method on ' + O); - } - if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) { - throw new TypeError('hint must be "string" or "number"'); - } - var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var method, result, i; - for (i = 0; i < methodNames.length; ++i) { - method = O[methodNames[i]]; - if (isCallable(method)) { - result = method.call(O); - if (isPrimitive(result)) { - return result; - } - } - } - throw new TypeError('No default value'); -}; - -var GetMethod = function GetMethod(O, P) { - var func = O[P]; - if (func !== null && typeof func !== 'undefined') { - if (!isCallable(func)) { - throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function'); - } - return func; - } - return void 0; -}; - -// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive -module.exports = function ToPrimitive(input) { - if (isPrimitive(input)) { - return input; - } - var hint = 'default'; - if (arguments.length > 1) { - if (arguments[1] === String) { - hint = 'string'; - } else if (arguments[1] === Number) { - hint = 'number'; - } - } - - var exoticToPrim; - if (hasSymbols) { - if (Symbol.toPrimitive) { - exoticToPrim = GetMethod(input, Symbol.toPrimitive); - } else if (isSymbol(input)) { - exoticToPrim = Symbol.prototype.valueOf; - } - } - if (typeof exoticToPrim !== 'undefined') { - var result = exoticToPrim.call(input, hint); - if (isPrimitive(result)) { - return result; - } - throw new TypeError('unable to convert exotic object to primitive'); - } - if (hint === 'default' && (isDate(input) || isSymbol(input))) { - hint = 'string'; - } - return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint); -}; diff --git a/node_modules/es-to-primitive/es5.js b/node_modules/es-to-primitive/es5.js deleted file mode 100644 index 602aa362c..000000000 --- a/node_modules/es-to-primitive/es5.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -var toStr = Object.prototype.toString; - -var isPrimitive = require('./helpers/isPrimitive'); - -var isCallable = require('is-callable'); - -// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8 -var ES5internalSlots = { - '[[DefaultValue]]': function (O) { - var actualHint; - if (arguments.length > 1) { - actualHint = arguments[1]; - } else { - actualHint = toStr.call(O) === '[object Date]' ? String : Number; - } - - if (actualHint === String || actualHint === Number) { - var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var value, i; - for (i = 0; i < methods.length; ++i) { - if (isCallable(O[methods[i]])) { - value = O[methods[i]](); - if (isPrimitive(value)) { - return value; - } - } - } - throw new TypeError('No default value'); - } - throw new TypeError('invalid [[DefaultValue]] hint supplied'); - } -}; - -// http://ecma-international.org/ecma-262/5.1/#sec-9.1 -module.exports = function ToPrimitive(input) { - if (isPrimitive(input)) { - return input; - } - if (arguments.length > 1) { - return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]); - } - return ES5internalSlots['[[DefaultValue]]'](input); -}; diff --git a/node_modules/es-to-primitive/es6.js b/node_modules/es-to-primitive/es6.js deleted file mode 100644 index 2d1f4dc92..000000000 --- a/node_modules/es-to-primitive/es6.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('./es2015'); diff --git a/node_modules/es-to-primitive/helpers/isPrimitive.js b/node_modules/es-to-primitive/helpers/isPrimitive.js deleted file mode 100644 index 06f0bf042..000000000 --- a/node_modules/es-to-primitive/helpers/isPrimitive.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; diff --git a/node_modules/es-to-primitive/index.js b/node_modules/es-to-primitive/index.js deleted file mode 100644 index e60d912e1..000000000 --- a/node_modules/es-to-primitive/index.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var ES5 = require('./es5'); -var ES6 = require('./es6'); -var ES2015 = require('./es2015'); - -if (Object.defineProperty) { - Object.defineProperty(ES2015, 'ES5', { enumerable: false, value: ES5 }); - Object.defineProperty(ES2015, 'ES6', { enumerable: false, value: ES6 }); - Object.defineProperty(ES2015, 'ES2015', { enumerable: false, value: ES2015 }); -} else { - ES6.ES5 = ES5; - ES6.ES6 = ES6; - ES6.ES2015 = ES2015; -} - -module.exports = ES2015; diff --git a/node_modules/es-to-primitive/package.json b/node_modules/es-to-primitive/package.json deleted file mode 100644 index 136f87783..000000000 --- a/node_modules/es-to-primitive/package.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "name": "es-to-primitive", - "version": "1.2.1", - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "description": "ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.", - "license": "MIT", - "main": "index.js", - "scripts": { - "pretest": "npm run --silent lint", - "test": "npm run --silent tests-only", - "posttest": "npx aud", - "tests-only": "node --es-staging test", - "coverage": "covert test/*.js", - "coverage-quiet": "covert test/*.js --quiet", - "lint": "eslint ." - }, - "repository": { - "type": "git", - "url": "git://github.com/ljharb/es-to-primitive.git" - }, - "keywords": [ - "primitive", - "abstract", - "ecmascript", - "es5", - "es6", - "es2015", - "toPrimitive", - "coerce", - "type", - "object", - "string", - "number", - "boolean", - "symbol", - "null", - "undefined" - ], - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "devDependencies": { - "@ljharb/eslint-config": "^15.0.0", - "covert": "^1.1.1", - "eslint": "^6.6.0", - "foreach": "^2.0.5", - "function.prototype.name": "^1.1.1", - "has-symbols": "^1.0.0", - "object-inspect": "^1.6.0", - "object-is": "^1.0.1", - "replace": "^1.1.1", - "semver": "^6.3.0", - "tape": "^4.11.0" - }, - "testling": { - "files": "test", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/node_modules/es-to-primitive/test/es2015.js b/node_modules/es-to-primitive/test/es2015.js deleted file mode 100644 index 80f4083dd..000000000 --- a/node_modules/es-to-primitive/test/es2015.js +++ /dev/null @@ -1,151 +0,0 @@ -'use strict'; - -var test = require('tape'); -var toPrimitive = require('../es2015'); -var is = require('object-is'); -var forEach = require('foreach'); -var functionName = require('function.prototype.name'); -var debug = require('object-inspect'); - -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; -var hasSymbolToPrimitive = hasSymbols && typeof Symbol.toPrimitive === 'symbol'; - -test('function properties', function (t) { - t.equal(toPrimitive.length, 1, 'length is 1'); - t.equal(functionName(toPrimitive), 'ToPrimitive', 'name is ToPrimitive'); - - t.end(); -}); - -var primitives = [null, undefined, true, false, 0, -0, 42, NaN, Infinity, -Infinity, '', 'abc']; - -test('primitives', function (t) { - forEach(primitives, function (i) { - t.ok(is(toPrimitive(i), i), 'toPrimitive(' + debug(i) + ') returns the same value'); - t.ok(is(toPrimitive(i, String), i), 'toPrimitive(' + debug(i) + ', String) returns the same value'); - t.ok(is(toPrimitive(i, Number), i), 'toPrimitive(' + debug(i) + ', Number) returns the same value'); - }); - t.end(); -}); - -test('Symbols', { skip: !hasSymbols }, function (t) { - var symbols = [ - Symbol('foo'), - Symbol.iterator, - Symbol['for']('foo') // eslint-disable-line no-restricted-properties - ]; - forEach(symbols, function (sym) { - t.equal(toPrimitive(sym), sym, 'toPrimitive(' + debug(sym) + ') returns the same value'); - t.equal(toPrimitive(sym, String), sym, 'toPrimitive(' + debug(sym) + ', String) returns the same value'); - t.equal(toPrimitive(sym, Number), sym, 'toPrimitive(' + debug(sym) + ', Number) returns the same value'); - }); - - var primitiveSym = Symbol('primitiveSym'); - var objectSym = Object(primitiveSym); - t.equal(toPrimitive(objectSym), primitiveSym, 'toPrimitive(' + debug(objectSym) + ') returns ' + debug(primitiveSym)); - t.equal(toPrimitive(objectSym, String), primitiveSym, 'toPrimitive(' + debug(objectSym) + ', String) returns ' + debug(primitiveSym)); - t.equal(toPrimitive(objectSym, Number), primitiveSym, 'toPrimitive(' + debug(objectSym) + ', Number) returns ' + debug(primitiveSym)); - t.end(); -}); - -test('Arrays', function (t) { - var arrays = [[], ['a', 'b'], [1, 2]]; - forEach(arrays, function (arr) { - t.equal(toPrimitive(arr), String(arr), 'toPrimitive(' + debug(arr) + ') returns the string version of the array'); - t.equal(toPrimitive(arr, String), String(arr), 'toPrimitive(' + debug(arr) + ') returns the string version of the array'); - t.equal(toPrimitive(arr, Number), String(arr), 'toPrimitive(' + debug(arr) + ') returns the string version of the array'); - }); - t.end(); -}); - -test('Dates', function (t) { - var dates = [new Date(), new Date(0), new Date(NaN)]; - forEach(dates, function (date) { - t.equal(toPrimitive(date), String(date), 'toPrimitive(' + debug(date) + ') returns the string version of the date'); - t.equal(toPrimitive(date, String), String(date), 'toPrimitive(' + debug(date) + ') returns the string version of the date'); - t.ok(is(toPrimitive(date, Number), Number(date)), 'toPrimitive(' + debug(date) + ') returns the number version of the date'); - }); - t.end(); -}); - -var coercibleObject = { valueOf: function () { return 3; }, toString: function () { return 42; } }; -var valueOfOnlyObject = { valueOf: function () { return 4; }, toString: function () { return {}; } }; -var toStringOnlyObject = { valueOf: function () { return {}; }, toString: function () { return 7; } }; -var coercibleFnObject = { - valueOf: function () { return function valueOfFn() {}; }, - toString: function () { return 42; } -}; -var uncoercibleObject = { valueOf: function () { return {}; }, toString: function () { return {}; } }; -var uncoercibleFnObject = { - valueOf: function () { return function valueOfFn() {}; }, - toString: function () { return function toStrFn() {}; } -}; - -test('Objects', function (t) { - t.equal(toPrimitive(coercibleObject), coercibleObject.valueOf(), 'coercibleObject with no hint coerces to valueOf'); - t.equal(toPrimitive(coercibleObject, Number), coercibleObject.valueOf(), 'coercibleObject with hint Number coerces to valueOf'); - t.equal(toPrimitive(coercibleObject, String), coercibleObject.toString(), 'coercibleObject with hint String coerces to non-stringified toString'); - - t.equal(toPrimitive(coercibleFnObject), coercibleFnObject.toString(), 'coercibleFnObject coerces to non-stringified toString'); - t.equal(toPrimitive(coercibleFnObject, Number), coercibleFnObject.toString(), 'coercibleFnObject with hint Number coerces to non-stringified toString'); - t.equal(toPrimitive(coercibleFnObject, String), coercibleFnObject.toString(), 'coercibleFnObject with hint String coerces to non-stringified toString'); - - t.equal(toPrimitive({}), '[object Object]', '{} with no hint coerces to Object#toString'); - t.equal(toPrimitive({}, Number), '[object Object]', '{} with hint Number coerces to Object#toString'); - t.equal(toPrimitive({}, String), '[object Object]', '{} with hint String coerces to Object#toString'); - - t.equal(toPrimitive(toStringOnlyObject), toStringOnlyObject.toString(), 'toStringOnlyObject returns non-stringified toString'); - t.equal(toPrimitive(toStringOnlyObject, Number), toStringOnlyObject.toString(), 'toStringOnlyObject with hint Number returns non-stringified toString'); - t.equal(toPrimitive(toStringOnlyObject, String), toStringOnlyObject.toString(), 'toStringOnlyObject with hint String returns non-stringified toString'); - - t.equal(toPrimitive(valueOfOnlyObject), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject returns valueOf'); - t.equal(toPrimitive(valueOfOnlyObject, Number), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject with hint Number returns valueOf'); - t.equal(toPrimitive(valueOfOnlyObject, String), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject with hint String returns non-stringified valueOf'); - - t.test('Symbol.toPrimitive', { skip: !hasSymbolToPrimitive }, function (st) { - var overriddenObject = { toString: st.fail, valueOf: st.fail }; - overriddenObject[Symbol.toPrimitive] = function (hint) { return String(hint); }; - - st.equal(toPrimitive(overriddenObject), 'default', 'object with Symbol.toPrimitive + no hint invokes that'); - st.equal(toPrimitive(overriddenObject, Number), 'number', 'object with Symbol.toPrimitive + hint Number invokes that'); - st.equal(toPrimitive(overriddenObject, String), 'string', 'object with Symbol.toPrimitive + hint String invokes that'); - - var nullToPrimitive = { toString: coercibleObject.toString, valueOf: coercibleObject.valueOf }; - nullToPrimitive[Symbol.toPrimitive] = null; - st.equal(toPrimitive(nullToPrimitive), toPrimitive(coercibleObject), 'object with no hint + null Symbol.toPrimitive ignores it'); - st.equal(toPrimitive(nullToPrimitive, Number), toPrimitive(coercibleObject, Number), 'object with hint Number + null Symbol.toPrimitive ignores it'); - st.equal(toPrimitive(nullToPrimitive, String), toPrimitive(coercibleObject, String), 'object with hint String + null Symbol.toPrimitive ignores it'); - - st.test('exceptions', function (sst) { - var nonFunctionToPrimitive = { toString: sst.fail, valueOf: sst.fail }; - nonFunctionToPrimitive[Symbol.toPrimitive] = {}; - sst['throws'](toPrimitive.bind(null, nonFunctionToPrimitive), TypeError, 'Symbol.toPrimitive returning a non-function throws'); - - var uncoercibleToPrimitive = { toString: sst.fail, valueOf: sst.fail }; - uncoercibleToPrimitive[Symbol.toPrimitive] = function (hint) { - return { toString: function () { return hint; } }; - }; - sst['throws'](toPrimitive.bind(null, uncoercibleToPrimitive), TypeError, 'Symbol.toPrimitive returning an object throws'); - - var throwingToPrimitive = { toString: sst.fail, valueOf: sst.fail }; - throwingToPrimitive[Symbol.toPrimitive] = function (hint) { throw new RangeError(hint); }; - sst['throws'](toPrimitive.bind(null, throwingToPrimitive), RangeError, 'Symbol.toPrimitive throwing throws'); - - sst.end(); - }); - - st.end(); - }); - - t.test('exceptions', function (st) { - st['throws'](toPrimitive.bind(null, uncoercibleObject), TypeError, 'uncoercibleObject throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleObject, Number), TypeError, 'uncoercibleObject with hint Number throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleObject, String), TypeError, 'uncoercibleObject with hint String throws a TypeError'); - - st['throws'](toPrimitive.bind(null, uncoercibleFnObject), TypeError, 'uncoercibleFnObject throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleFnObject, Number), TypeError, 'uncoercibleFnObject with hint Number throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleFnObject, String), TypeError, 'uncoercibleFnObject with hint String throws a TypeError'); - st.end(); - }); - t.end(); -}); diff --git a/node_modules/es-to-primitive/test/es5.js b/node_modules/es-to-primitive/test/es5.js deleted file mode 100644 index 79444b0b4..000000000 --- a/node_modules/es-to-primitive/test/es5.js +++ /dev/null @@ -1,118 +0,0 @@ -'use strict'; - -var test = require('tape'); -var toPrimitive = require('../es5'); -var is = require('object-is'); -var forEach = require('foreach'); -var functionName = require('function.prototype.name'); -var debug = require('object-inspect'); -var hasSymbols = require('has-symbols')(); - -test('function properties', function (t) { - t.equal(toPrimitive.length, 1, 'length is 1'); - t.equal(functionName(toPrimitive), 'ToPrimitive', 'name is ToPrimitive'); - - t.end(); -}); - -var primitives = [null, undefined, true, false, 0, -0, 42, NaN, Infinity, -Infinity, '', 'abc']; - -test('primitives', function (t) { - forEach(primitives, function (i) { - t.ok(is(toPrimitive(i), i), 'toPrimitive(' + debug(i) + ') returns the same value'); - t.ok(is(toPrimitive(i, String), i), 'toPrimitive(' + debug(i) + ', String) returns the same value'); - t.ok(is(toPrimitive(i, Number), i), 'toPrimitive(' + debug(i) + ', Number) returns the same value'); - }); - t.end(); -}); - -test('Symbols', { skip: !hasSymbols }, function (t) { - var symbols = [ - Symbol('foo'), - Symbol.iterator, - Symbol['for']('foo') // eslint-disable-line no-restricted-properties - ]; - forEach(symbols, function (sym) { - t.equal(toPrimitive(sym), sym, 'toPrimitive(' + debug(sym) + ') returns the same value'); - t.equal(toPrimitive(sym, String), sym, 'toPrimitive(' + debug(sym) + ', String) returns the same value'); - t.equal(toPrimitive(sym, Number), sym, 'toPrimitive(' + debug(sym) + ', Number) returns the same value'); - }); - - var primitiveSym = Symbol('primitiveSym'); - var stringSym = Symbol.prototype.toString.call(primitiveSym); - var objectSym = Object(primitiveSym); - t.equal(toPrimitive(objectSym), primitiveSym, 'toPrimitive(' + debug(objectSym) + ') returns ' + debug(primitiveSym)); - - // This is different from ES2015, as the ES5 algorithm doesn't account for the existence of Symbols: - t.equal(toPrimitive(objectSym, String), stringSym, 'toPrimitive(' + debug(objectSym) + ', String) returns ' + debug(stringSym)); - t.equal(toPrimitive(objectSym, Number), primitiveSym, 'toPrimitive(' + debug(objectSym) + ', Number) returns ' + debug(primitiveSym)); - t.end(); -}); - -test('Arrays', function (t) { - var arrays = [[], ['a', 'b'], [1, 2]]; - forEach(arrays, function (arr) { - t.ok(is(toPrimitive(arr), arr.toString()), 'toPrimitive(' + debug(arr) + ') returns toString of the array'); - t.equal(toPrimitive(arr, String), arr.toString(), 'toPrimitive(' + debug(arr) + ') returns toString of the array'); - t.ok(is(toPrimitive(arr, Number), arr.toString()), 'toPrimitive(' + debug(arr) + ') returns toString of the array'); - }); - t.end(); -}); - -test('Dates', function (t) { - var dates = [new Date(), new Date(0), new Date(NaN)]; - forEach(dates, function (date) { - t.equal(toPrimitive(date), date.toString(), 'toPrimitive(' + debug(date) + ') returns toString of the date'); - t.equal(toPrimitive(date, String), date.toString(), 'toPrimitive(' + debug(date) + ') returns toString of the date'); - t.ok(is(toPrimitive(date, Number), date.valueOf()), 'toPrimitive(' + debug(date) + ') returns valueOf of the date'); - }); - t.end(); -}); - -var coercibleObject = { valueOf: function () { return 3; }, toString: function () { return 42; } }; -var valueOfOnlyObject = { valueOf: function () { return 4; }, toString: function () { return {}; } }; -var toStringOnlyObject = { valueOf: function () { return {}; }, toString: function () { return 7; } }; -var coercibleFnObject = { - valueOf: function () { return function valueOfFn() {}; }, - toString: function () { return 42; } -}; -var uncoercibleObject = { valueOf: function () { return {}; }, toString: function () { return {}; } }; -var uncoercibleFnObject = { - valueOf: function () { return function valueOfFn() {}; }, - toString: function () { return function toStrFn() {}; } -}; - -test('Objects', function (t) { - t.equal(toPrimitive(coercibleObject), coercibleObject.valueOf(), 'coercibleObject with no hint coerces to valueOf'); - t.equal(toPrimitive(coercibleObject, String), coercibleObject.toString(), 'coercibleObject with hint String coerces to toString'); - t.equal(toPrimitive(coercibleObject, Number), coercibleObject.valueOf(), 'coercibleObject with hint Number coerces to valueOf'); - - t.equal(toPrimitive(coercibleFnObject), coercibleFnObject.toString(), 'coercibleFnObject coerces to toString'); - t.equal(toPrimitive(coercibleFnObject, String), coercibleFnObject.toString(), 'coercibleFnObject with hint String coerces to toString'); - t.equal(toPrimitive(coercibleFnObject, Number), coercibleFnObject.toString(), 'coercibleFnObject with hint Number coerces to toString'); - - t.ok(is(toPrimitive({}), '[object Object]'), '{} with no hint coerces to Object#toString'); - t.equal(toPrimitive({}, String), '[object Object]', '{} with hint String coerces to Object#toString'); - t.ok(is(toPrimitive({}, Number), '[object Object]'), '{} with hint Number coerces to Object#toString'); - - t.equal(toPrimitive(toStringOnlyObject), toStringOnlyObject.toString(), 'toStringOnlyObject returns toString'); - t.equal(toPrimitive(toStringOnlyObject, String), toStringOnlyObject.toString(), 'toStringOnlyObject with hint String returns toString'); - t.equal(toPrimitive(toStringOnlyObject, Number), toStringOnlyObject.toString(), 'toStringOnlyObject with hint Number returns toString'); - - t.equal(toPrimitive(valueOfOnlyObject), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject returns valueOf'); - t.equal(toPrimitive(valueOfOnlyObject, String), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject with hint String returns valueOf'); - t.equal(toPrimitive(valueOfOnlyObject, Number), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject with hint Number returns valueOf'); - - t.test('exceptions', function (st) { - st['throws'](toPrimitive.bind(null, uncoercibleObject), TypeError, 'uncoercibleObject throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleObject, String), TypeError, 'uncoercibleObject with hint String throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleObject, Number), TypeError, 'uncoercibleObject with hint Number throws a TypeError'); - - st['throws'](toPrimitive.bind(null, uncoercibleFnObject), TypeError, 'uncoercibleFnObject throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleFnObject, String), TypeError, 'uncoercibleFnObject with hint String throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleFnObject, Number), TypeError, 'uncoercibleFnObject with hint Number throws a TypeError'); - st.end(); - }); - - t.end(); -}); diff --git a/node_modules/es-to-primitive/test/es6.js b/node_modules/es-to-primitive/test/es6.js deleted file mode 100644 index 16ea0e8f3..000000000 --- a/node_modules/es-to-primitive/test/es6.js +++ /dev/null @@ -1,151 +0,0 @@ -'use strict'; - -var test = require('tape'); -var toPrimitive = require('../es6'); -var is = require('object-is'); -var forEach = require('foreach'); -var functionName = require('function.prototype.name'); -var debug = require('object-inspect'); - -var hasSymbols = require('has-symbols')(); -var hasSymbolToPrimitive = hasSymbols && typeof Symbol.toPrimitive === 'symbol'; - -test('function properties', function (t) { - t.equal(toPrimitive.length, 1, 'length is 1'); - t.equal(functionName(toPrimitive), 'ToPrimitive', 'name is ToPrimitive'); - - t.end(); -}); - -var primitives = [null, undefined, true, false, 0, -0, 42, NaN, Infinity, -Infinity, '', 'abc']; - -test('primitives', function (t) { - forEach(primitives, function (i) { - t.ok(is(toPrimitive(i), i), 'toPrimitive(' + debug(i) + ') returns the same value'); - t.ok(is(toPrimitive(i, String), i), 'toPrimitive(' + debug(i) + ', String) returns the same value'); - t.ok(is(toPrimitive(i, Number), i), 'toPrimitive(' + debug(i) + ', Number) returns the same value'); - }); - t.end(); -}); - -test('Symbols', { skip: !hasSymbols }, function (t) { - var symbols = [ - Symbol('foo'), - Symbol.iterator, - Symbol['for']('foo') // eslint-disable-line no-restricted-properties - ]; - forEach(symbols, function (sym) { - t.equal(toPrimitive(sym), sym, 'toPrimitive(' + debug(sym) + ') returns the same value'); - t.equal(toPrimitive(sym, String), sym, 'toPrimitive(' + debug(sym) + ', String) returns the same value'); - t.equal(toPrimitive(sym, Number), sym, 'toPrimitive(' + debug(sym) + ', Number) returns the same value'); - }); - - var primitiveSym = Symbol('primitiveSym'); - var objectSym = Object(primitiveSym); - t.equal(toPrimitive(objectSym), primitiveSym, 'toPrimitive(' + debug(objectSym) + ') returns ' + debug(primitiveSym)); - t.equal(toPrimitive(objectSym, String), primitiveSym, 'toPrimitive(' + debug(objectSym) + ', String) returns ' + debug(primitiveSym)); - t.equal(toPrimitive(objectSym, Number), primitiveSym, 'toPrimitive(' + debug(objectSym) + ', Number) returns ' + debug(primitiveSym)); - t.end(); -}); - -test('Arrays', function (t) { - var arrays = [[], ['a', 'b'], [1, 2]]; - forEach(arrays, function (arr) { - t.equal(toPrimitive(arr), String(arr), 'toPrimitive(' + debug(arr) + ') returns the string version of the array'); - t.equal(toPrimitive(arr, String), String(arr), 'toPrimitive(' + debug(arr) + ') returns the string version of the array'); - t.equal(toPrimitive(arr, Number), String(arr), 'toPrimitive(' + debug(arr) + ') returns the string version of the array'); - }); - t.end(); -}); - -test('Dates', function (t) { - var dates = [new Date(), new Date(0), new Date(NaN)]; - forEach(dates, function (date) { - t.equal(toPrimitive(date), String(date), 'toPrimitive(' + debug(date) + ') returns the string version of the date'); - t.equal(toPrimitive(date, String), String(date), 'toPrimitive(' + debug(date) + ') returns the string version of the date'); - t.ok(is(toPrimitive(date, Number), Number(date)), 'toPrimitive(' + debug(date) + ') returns the number version of the date'); - }); - t.end(); -}); - -var coercibleObject = { valueOf: function () { return 3; }, toString: function () { return 42; } }; -var valueOfOnlyObject = { valueOf: function () { return 4; }, toString: function () { return {}; } }; -var toStringOnlyObject = { valueOf: function () { return {}; }, toString: function () { return 7; } }; -var coercibleFnObject = { - valueOf: function () { return function valueOfFn() {}; }, - toString: function () { return 42; } -}; -var uncoercibleObject = { valueOf: function () { return {}; }, toString: function () { return {}; } }; -var uncoercibleFnObject = { - valueOf: function () { return function valueOfFn() {}; }, - toString: function () { return function toStrFn() {}; } -}; - -test('Objects', function (t) { - t.equal(toPrimitive(coercibleObject), coercibleObject.valueOf(), 'coercibleObject with no hint coerces to valueOf'); - t.equal(toPrimitive(coercibleObject, Number), coercibleObject.valueOf(), 'coercibleObject with hint Number coerces to valueOf'); - t.equal(toPrimitive(coercibleObject, String), coercibleObject.toString(), 'coercibleObject with hint String coerces to non-stringified toString'); - - t.equal(toPrimitive(coercibleFnObject), coercibleFnObject.toString(), 'coercibleFnObject coerces to non-stringified toString'); - t.equal(toPrimitive(coercibleFnObject, Number), coercibleFnObject.toString(), 'coercibleFnObject with hint Number coerces to non-stringified toString'); - t.equal(toPrimitive(coercibleFnObject, String), coercibleFnObject.toString(), 'coercibleFnObject with hint String coerces to non-stringified toString'); - - t.equal(toPrimitive({}), '[object Object]', '{} with no hint coerces to Object#toString'); - t.equal(toPrimitive({}, Number), '[object Object]', '{} with hint Number coerces to Object#toString'); - t.equal(toPrimitive({}, String), '[object Object]', '{} with hint String coerces to Object#toString'); - - t.equal(toPrimitive(toStringOnlyObject), toStringOnlyObject.toString(), 'toStringOnlyObject returns non-stringified toString'); - t.equal(toPrimitive(toStringOnlyObject, Number), toStringOnlyObject.toString(), 'toStringOnlyObject with hint Number returns non-stringified toString'); - t.equal(toPrimitive(toStringOnlyObject, String), toStringOnlyObject.toString(), 'toStringOnlyObject with hint String returns non-stringified toString'); - - t.equal(toPrimitive(valueOfOnlyObject), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject returns valueOf'); - t.equal(toPrimitive(valueOfOnlyObject, Number), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject with hint Number returns valueOf'); - t.equal(toPrimitive(valueOfOnlyObject, String), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject with hint String returns non-stringified valueOf'); - - t.test('Symbol.toPrimitive', { skip: !hasSymbolToPrimitive }, function (st) { - var overriddenObject = { toString: st.fail, valueOf: st.fail }; - overriddenObject[Symbol.toPrimitive] = function (hint) { return String(hint); }; - - st.equal(toPrimitive(overriddenObject), 'default', 'object with Symbol.toPrimitive + no hint invokes that'); - st.equal(toPrimitive(overriddenObject, Number), 'number', 'object with Symbol.toPrimitive + hint Number invokes that'); - st.equal(toPrimitive(overriddenObject, String), 'string', 'object with Symbol.toPrimitive + hint String invokes that'); - - var nullToPrimitive = { toString: coercibleObject.toString, valueOf: coercibleObject.valueOf }; - nullToPrimitive[Symbol.toPrimitive] = null; - st.equal(toPrimitive(nullToPrimitive), toPrimitive(coercibleObject), 'object with no hint + null Symbol.toPrimitive ignores it'); - st.equal(toPrimitive(nullToPrimitive, Number), toPrimitive(coercibleObject, Number), 'object with hint Number + null Symbol.toPrimitive ignores it'); - st.equal(toPrimitive(nullToPrimitive, String), toPrimitive(coercibleObject, String), 'object with hint String + null Symbol.toPrimitive ignores it'); - - st.test('exceptions', function (sst) { - var nonFunctionToPrimitive = { toString: sst.fail, valueOf: sst.fail }; - nonFunctionToPrimitive[Symbol.toPrimitive] = {}; - sst['throws'](toPrimitive.bind(null, nonFunctionToPrimitive), TypeError, 'Symbol.toPrimitive returning a non-function throws'); - - var uncoercibleToPrimitive = { toString: sst.fail, valueOf: sst.fail }; - uncoercibleToPrimitive[Symbol.toPrimitive] = function (hint) { - return { toString: function () { return hint; } }; - }; - sst['throws'](toPrimitive.bind(null, uncoercibleToPrimitive), TypeError, 'Symbol.toPrimitive returning an object throws'); - - var throwingToPrimitive = { toString: sst.fail, valueOf: sst.fail }; - throwingToPrimitive[Symbol.toPrimitive] = function (hint) { throw new RangeError(hint); }; - sst['throws'](toPrimitive.bind(null, throwingToPrimitive), RangeError, 'Symbol.toPrimitive throwing throws'); - - sst.end(); - }); - - st.end(); - }); - - t.test('exceptions', function (st) { - st['throws'](toPrimitive.bind(null, uncoercibleObject), TypeError, 'uncoercibleObject throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleObject, Number), TypeError, 'uncoercibleObject with hint Number throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleObject, String), TypeError, 'uncoercibleObject with hint String throws a TypeError'); - - st['throws'](toPrimitive.bind(null, uncoercibleFnObject), TypeError, 'uncoercibleFnObject throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleFnObject, Number), TypeError, 'uncoercibleFnObject with hint Number throws a TypeError'); - st['throws'](toPrimitive.bind(null, uncoercibleFnObject, String), TypeError, 'uncoercibleFnObject with hint String throws a TypeError'); - st.end(); - }); - t.end(); -}); diff --git a/node_modules/es-to-primitive/test/index.js b/node_modules/es-to-primitive/test/index.js deleted file mode 100644 index ad71f39e2..000000000 --- a/node_modules/es-to-primitive/test/index.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var toPrimitive = require('../'); -var ES5 = require('../es5'); -var ES6 = require('../es6'); -var ES2015 = require('../es2015'); - -var test = require('tape'); - -test('default export', function (t) { - t.equal(toPrimitive, ES2015, 'default export is ES2015'); - t.equal(toPrimitive.ES5, ES5, 'ES5 property has ES5 method'); - t.equal(toPrimitive.ES6, ES6, 'ES6 property has ES6 method'); - t.equal(toPrimitive.ES2015, ES2015, 'ES2015 property has ES2015 method'); - t.end(); -}); - -require('./es5'); -require('./es6'); -require('./es2015'); diff --git a/node_modules/escodegen/node_modules/.bin/esparse b/node_modules/escodegen/node_modules/.bin/esparse index 7423b18b2..1cc1c96ff 120000 --- a/node_modules/escodegen/node_modules/.bin/esparse +++ b/node_modules/escodegen/node_modules/.bin/esparse @@ -1 +1,12 @@ -../esprima/bin/esparse.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@" +else + exec node "$basedir/../esprima/bin/esparse.js" "$@" +fi diff --git a/node_modules/escodegen/node_modules/.bin/esvalidate b/node_modules/escodegen/node_modules/.bin/esvalidate index 16069effb..91a4c9b5f 120000 --- a/node_modules/escodegen/node_modules/.bin/esvalidate +++ b/node_modules/escodegen/node_modules/.bin/esvalidate @@ -1 +1,12 @@ -../esprima/bin/esvalidate.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@" +else + exec node "$basedir/../esprima/bin/esvalidate.js" "$@" +fi diff --git a/node_modules/foreach/.npmignore b/node_modules/foreach/.npmignore deleted file mode 100644 index d135df67c..000000000 --- a/node_modules/foreach/.npmignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules -components -build \ No newline at end of file diff --git a/node_modules/foreach/LICENSE b/node_modules/foreach/LICENSE deleted file mode 100644 index 3032d6e34..000000000 --- a/node_modules/foreach/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -The MIT License - -Copyright (c) 2013 Manuel Stofer - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/foreach/Makefile b/node_modules/foreach/Makefile deleted file mode 100644 index eae411786..000000000 --- a/node_modules/foreach/Makefile +++ /dev/null @@ -1,11 +0,0 @@ - -build: components - @component build - -components: component.json - @component install --dev - -clean: - rm -fr build components template.js - -.PHONY: clean diff --git a/node_modules/foreach/Readme.md b/node_modules/foreach/Readme.md deleted file mode 100644 index 2752b5746..000000000 --- a/node_modules/foreach/Readme.md +++ /dev/null @@ -1,30 +0,0 @@ - -# foreach - -Iterate over the key value pairs of either an array-like object or a dictionary like object. - -[![browser support][1]][2] - -## API - -### foreach(object, function, [context]) - -```js -var each = require('foreach'); - -each([1,2,3], function (value, key, array) { - // value === 1, 2, 3 - // key === 0, 1, 2 - // array === [1, 2, 3] -}); - -each({0:1,1:2,2:3}, function (value, key, object) { - // value === 1, 2, 3 - // key === 0, 1, 2 - // object === {0:1,1:2,2:3} -}); -``` - -[1]: https://ci.testling.com/manuelstofer/foreach.png -[2]: https://ci.testling.com/manuelstofer/foreach - diff --git a/node_modules/foreach/component.json b/node_modules/foreach/component.json deleted file mode 100644 index 0eeecb513..000000000 --- a/node_modules/foreach/component.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "foreach", - "description": "foreach component + npm package", - "version": "2.0.5", - "keywords": [], - "dependencies": {}, - "scripts": [ - "index.js" - ], - "repo": "manuelstofer/foreach" -} diff --git a/node_modules/foreach/index.js b/node_modules/foreach/index.js deleted file mode 100644 index a961e4e12..000000000 --- a/node_modules/foreach/index.js +++ /dev/null @@ -1,22 +0,0 @@ - -var hasOwn = Object.prototype.hasOwnProperty; -var toString = Object.prototype.toString; - -module.exports = function forEach (obj, fn, ctx) { - if (toString.call(fn) !== '[object Function]') { - throw new TypeError('iterator must be a function'); - } - var l = obj.length; - if (l === +l) { - for (var i = 0; i < l; i++) { - fn.call(ctx, obj[i], i, obj); - } - } else { - for (var k in obj) { - if (hasOwn.call(obj, k)) { - fn.call(ctx, obj[k], k, obj); - } - } - } -}; - diff --git a/node_modules/foreach/package.json b/node_modules/foreach/package.json deleted file mode 100644 index b3e74f424..000000000 --- a/node_modules/foreach/package.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "name": "foreach", - "description": "foreach component + npm package", - "version": "2.0.5", - "author": "Manuel Stofer ", - "contributors": [ - { - "name": "Manuel Stofer" - }, - { - "name": "Jordan Harband", - "url": "https://github.com/ljharb" - } - ], - "license": "MIT", - "main": "index.js", - "scripts": { - "test": "node test.js", - "coverage": "covert test.js", - "coverage-quiet": "covert --quiet test.js" - }, - "repository": { - "type": "git", - "url": "git://github.com/manuelstofer/foreach" - }, - "keywords": [ - "shim", - "Array.prototype.forEach", - "forEach", - "Array#forEach", - "each" - ], - "dependencies": {}, - "devDependencies": { - "tape": "*", - "covert": "*" - }, - "testling": { - "files": "test.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0", - "chrome/22.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/5.0.5..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - } -} - diff --git a/node_modules/foreach/test.js b/node_modules/foreach/test.js deleted file mode 100644 index c6283c3c0..000000000 --- a/node_modules/foreach/test.js +++ /dev/null @@ -1,153 +0,0 @@ -var test = require('tape'); -var forEach = require('./index.js'); - - -test('second argument: iterator', function (t) { - var arr = []; - t.throws(function () { forEach(arr); }, TypeError, 'undefined is not a function'); - t.throws(function () { forEach(arr, null); }, TypeError, 'null is not a function'); - t.throws(function () { forEach(arr, ''); }, TypeError, 'string is not a function'); - t.throws(function () { forEach(arr, /a/); }, TypeError, 'regex is not a function'); - t.throws(function () { forEach(arr, true); }, TypeError, 'true is not a function'); - t.throws(function () { forEach(arr, false); }, TypeError, 'false is not a function'); - t.throws(function () { forEach(arr, NaN); }, TypeError, 'NaN is not a function'); - t.throws(function () { forEach(arr, 42); }, TypeError, '42 is not a function'); - t.doesNotThrow(function () { forEach(arr, function () {}); }, 'function is a function'); - t.end(); -}); - -test('array', function (t) { - var arr = [1, 2, 3]; - - t.test('iterates over every item', function (st) { - var index = 0; - forEach(arr, function () { index += 1; }); - st.equal(index, arr.length, 'iterates ' + arr.length + ' times'); - st.end(); - }); - - t.test('first iterator argument', function (st) { - var index = 0; - st.plan(arr.length); - forEach(arr, function (item) { - st.equal(arr[index], item, 'item ' + index + ' is passed as first argument'); - index += 1; - }); - st.end(); - }); - - t.test('second iterator argument', function (st) { - var counter = 0; - st.plan(arr.length); - forEach(arr, function (item, index) { - st.equal(counter, index, 'index ' + index + ' is passed as second argument'); - counter += 1; - }); - st.end(); - }); - - t.test('third iterator argument', function (st) { - st.plan(arr.length); - forEach(arr, function (item, index, array) { - st.deepEqual(arr, array, 'array is passed as third argument'); - }); - st.end(); - }); - - t.test('context argument', function (st) { - var context = {}; - st.plan(1); - forEach([1], function () { - st.equal(this, context, '"this" is the passed context'); - }, context); - st.end(); - }); - - t.end(); -}); - -test('object', function (t) { - var obj = { - a: 1, - b: 2, - c: 3 - }; - var keys = ['a', 'b', 'c']; - - var F = function () { - this.a = 1; - this.b = 2; - }; - F.prototype.c = 3; - var fKeys = ['a', 'b']; - - t.test('iterates over every object literal key', function (st) { - var counter = 0; - forEach(obj, function () { counter += 1; }); - st.equal(counter, keys.length, 'iterated ' + counter + ' times'); - st.end(); - }); - - t.test('iterates only over own keys', function (st) { - var counter = 0; - forEach(new F(), function () { counter += 1; }); - st.equal(counter, fKeys.length, 'iterated ' + fKeys.length + ' times'); - st.end(); - }); - - t.test('first iterator argument', function (st) { - var index = 0; - st.plan(keys.length); - forEach(obj, function (item) { - st.equal(obj[keys[index]], item, 'item at key ' + keys[index] + ' is passed as first argument'); - index += 1; - }); - st.end(); - }); - - t.test('second iterator argument', function (st) { - var counter = 0; - st.plan(keys.length); - forEach(obj, function (item, key) { - st.equal(keys[counter], key, 'key ' + key + ' is passed as second argument'); - counter += 1; - }); - st.end(); - }); - - t.test('third iterator argument', function (st) { - st.plan(keys.length); - forEach(obj, function (item, key, object) { - st.deepEqual(obj, object, 'object is passed as third argument'); - }); - st.end(); - }); - - t.test('context argument', function (st) { - var context = {}; - st.plan(1); - forEach({ a: 1 }, function () { - st.equal(this, context, '"this" is the passed context'); - }, context); - st.end(); - }); - - t.end(); -}); - - -test('string', function (t) { - var str = 'str'; - t.test('second iterator argument', function (st) { - var counter = 0; - st.plan(str.length * 2 + 1); - forEach(str, function (item, index) { - st.equal(counter, index, 'index ' + index + ' is passed as second argument'); - st.equal(str.charAt(index), item); - counter += 1; - }); - st.equal(counter, str.length, 'iterates ' + str.length + ' times'); - }); - t.end(); -}); - diff --git a/node_modules/get-intrinsic/.eslintignore b/node_modules/get-intrinsic/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/get-intrinsic/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/get-intrinsic/.eslintrc b/node_modules/get-intrinsic/.eslintrc index d04e4839f..837663623 100644 --- a/node_modules/get-intrinsic/.eslintrc +++ b/node_modules/get-intrinsic/.eslintrc @@ -8,26 +8,22 @@ "es2017": true, "es2020": true, "es2021": true, - }, - - "globals": { - "AggregateError": false, + "es2022": true, }, "rules": { "array-bracket-newline": 0, - "array-element-newline": 0, "complexity": 0, "eqeqeq": [2, "allow-null"], "func-name-matching": 0, "id-length": 0, - "max-lines-per-function": [2, 80], + "max-lines": 0, + "max-lines-per-function": [2, 90], "max-params": [2, 4], "max-statements": 0, "max-statements-per-line": [2, { "max": 2 }], "multiline-comment-style": 0, "no-magic-numbers": 0, - "operator-linebreak": [2, "before"], "sort-keys": 0, }, @@ -35,7 +31,6 @@ { "files": "test/**", "rules": { - "max-lines-per-function": 0, "new-cap": 0, }, }, diff --git a/node_modules/get-intrinsic/.nycrc b/node_modules/get-intrinsic/.nycrc index 1826526e0..bdd626ce9 100644 --- a/node_modules/get-intrinsic/.nycrc +++ b/node_modules/get-intrinsic/.nycrc @@ -2,10 +2,6 @@ "all": true, "check-coverage": false, "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, "exclude": [ "coverage", "test" diff --git a/node_modules/get-intrinsic/CHANGELOG.md b/node_modules/get-intrinsic/CHANGELOG.md index 32502ec1f..15e7a377d 100644 --- a/node_modules/get-intrinsic/CHANGELOG.md +++ b/node_modules/get-intrinsic/CHANGELOG.md @@ -5,6 +5,52 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.2.0](https://github.com/ljharb/get-intrinsic/compare/v1.1.3...v1.2.0) - 2023-01-19 + +### Commits + +- [actions] update checkout action [`ca6b12f`](https://github.com/ljharb/get-intrinsic/commit/ca6b12f31eaacea4ea3b055e744cd61623385ffb) +- [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `tape` [`41a3727`](https://github.com/ljharb/get-intrinsic/commit/41a3727d0026fa04273ae216a5f8e12eefd72da8) +- [Fix] ensure `Error.prototype` is undeniable [`c511e97`](https://github.com/ljharb/get-intrinsic/commit/c511e97ae99c764c4524b540dee7a70757af8da3) +- [Dev Deps] update `aud`, `es-abstract`, `tape` [`1bef8a8`](https://github.com/ljharb/get-intrinsic/commit/1bef8a8fd439ebb80863199b6189199e0851ac67) +- [Dev Deps] update `aud`, `es-abstract` [`0d41f16`](https://github.com/ljharb/get-intrinsic/commit/0d41f16bcd500bc28b7bfc98043ebf61ea081c26) +- [New] add `BigInt64Array` and `BigUint64Array` [`a6cca25`](https://github.com/ljharb/get-intrinsic/commit/a6cca25f29635889b7e9bd669baf9e04be90e48c) +- [Tests] use `gopd` [`ecf7722`](https://github.com/ljharb/get-intrinsic/commit/ecf7722240d15cfd16edda06acf63359c10fb9bd) + +## [v1.1.3](https://github.com/ljharb/get-intrinsic/compare/v1.1.2...v1.1.3) - 2022-09-12 + +### Commits + +- [Dev Deps] update `es-abstract`, `es-value-fixtures`, `tape` [`07ff291`](https://github.com/ljharb/get-intrinsic/commit/07ff291816406ebe5a12d7f16965bde0942dd688) +- [Fix] properly check for % signs [`50ac176`](https://github.com/ljharb/get-intrinsic/commit/50ac1760fe99c227e64eabde76e9c0e44cd881b5) + +## [v1.1.2](https://github.com/ljharb/get-intrinsic/compare/v1.1.1...v1.1.2) - 2022-06-08 + +### Fixed + +- [Fix] properly validate against extra % signs [`#16`](https://github.com/ljharb/get-intrinsic/issues/16) + +### Commits + +- [actions] reuse common workflows [`0972547`](https://github.com/ljharb/get-intrinsic/commit/0972547efd0abc863fe4c445a6ca7eb4f8c6901d) +- [meta] use `npmignore` to autogenerate an npmignore file [`5ba0b51`](https://github.com/ljharb/get-intrinsic/commit/5ba0b51d8d8d4f1c31d426d74abc0770fd106bad) +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`c364492`](https://github.com/ljharb/get-intrinsic/commit/c364492af4af51333e6f81c0bf21fd3d602c3661) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `es-abstract`, `object-inspect`, `tape` [`dc04dad`](https://github.com/ljharb/get-intrinsic/commit/dc04dad86f6e5608775a2640cb0db5927ae29ed9) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `safe-publish-latest`, `tape` [`1c14059`](https://github.com/ljharb/get-intrinsic/commit/1c1405984e86dd2dc9366c15d8a0294a96a146a5) +- [Tests] use `mock-property` [`b396ef0`](https://github.com/ljharb/get-intrinsic/commit/b396ef05bb73b1d699811abd64b0d9b97997fdda) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `tape` [`c2c758d`](https://github.com/ljharb/get-intrinsic/commit/c2c758d3b90af4fef0a76910d8d3c292ec8d1d3e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`29e3c09`](https://github.com/ljharb/get-intrinsic/commit/29e3c091c2bf3e17099969847e8729d0e46896de) +- [actions] update codecov uploader [`8cbc141`](https://github.com/ljharb/get-intrinsic/commit/8cbc1418940d7a8941f3a7985cbc4ac095c5e13d) +- [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`10b6f5c`](https://github.com/ljharb/get-intrinsic/commit/10b6f5c02593fb3680c581d696ac124e30652932) +- [readme] add github actions/codecov badges [`4e25400`](https://github.com/ljharb/get-intrinsic/commit/4e25400d9f51ae9eb059cbe22d9144e70ea214e8) +- [Tests] use `for-each` instead of `foreach` [`c05b957`](https://github.com/ljharb/get-intrinsic/commit/c05b957ad9a7bc7721af7cc9e9be1edbfe057496) +- [Dev Deps] update `es-abstract` [`29b05ae`](https://github.com/ljharb/get-intrinsic/commit/29b05aec3e7330e9ad0b8e0f685a9112c20cdd97) +- [meta] use `prepublishOnly` script for npm 7+ [`95c285d`](https://github.com/ljharb/get-intrinsic/commit/95c285da810516057d3bbfa871176031af38f05d) +- [Deps] update `has-symbols` [`593cb4f`](https://github.com/ljharb/get-intrinsic/commit/593cb4fb38e7922e40e42c183f45274b636424cd) +- [readme] fix repo URLs [`1c8305b`](https://github.com/ljharb/get-intrinsic/commit/1c8305b5365827c9b6fc785434aac0e1328ff2f5) +- [Deps] update `has-symbols` [`c7138b6`](https://github.com/ljharb/get-intrinsic/commit/c7138b6c6d73132d859471fb8c13304e1e7c8b20) +- [Dev Deps] remove unused `has-bigints` [`bd63aff`](https://github.com/ljharb/get-intrinsic/commit/bd63aff6ad8f3a986c557fcda2914187bdaab359) + ## [v1.1.1](https://github.com/ljharb/get-intrinsic/compare/v1.1.0...v1.1.1) - 2021-02-03 ### Fixed diff --git a/node_modules/get-intrinsic/README.md b/node_modules/get-intrinsic/README.md index 335a3b49b..3aa0bba40 100644 --- a/node_modules/get-intrinsic/README.md +++ b/node_modules/get-intrinsic/README.md @@ -1,5 +1,7 @@ # get-intrinsic [![Version Badge][npm-version-svg]][package-url] +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] @@ -53,7 +55,7 @@ Simply clone the repo, `npm install`, and run `npm test` Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. [package-url]: https://npmjs.org/package/get-intrinsic -[npm-version-svg]: http://versionbadg.es/ljharb/get-intrinsic.svg +[npm-version-svg]: https://versionbadg.es/ljharb/get-intrinsic.svg [deps-svg]: https://david-dm.org/ljharb/get-intrinsic.svg [deps-url]: https://david-dm.org/ljharb/get-intrinsic [dev-deps-svg]: https://david-dm.org/ljharb/get-intrinsic/dev-status.svg @@ -63,3 +65,7 @@ Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/se [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/get-intrinsic.svg [downloads-url]: https://npm-stat.com/charts.html?package=get-intrinsic +[codecov-image]: https://codecov.io/gh/ljharb/get-intrinsic/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/get-intrinsic/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-intrinsic +[actions-url]: https://github.com/ljharb/get-intrinsic/actions diff --git a/node_modules/get-intrinsic/index.js b/node_modules/get-intrinsic/index.js index d6c06c281..8fd7de0b9 100644 --- a/node_modules/get-intrinsic/index.js +++ b/node_modules/get-intrinsic/index.js @@ -62,6 +62,8 @@ var INTRINSICS = { '%AsyncIteratorPrototype%': needsEval, '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, '%Boolean%': Boolean, '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, '%Date%': Date, @@ -117,6 +119,14 @@ var INTRINSICS = { '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet }; +try { + null.error; // eslint-disable-line no-unused-expressions +} catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; +} + var doEval = function doEval(name) { var value; if (name === '%AsyncFunction%') { @@ -202,6 +212,7 @@ var $concat = bind.call(Function.call, Array.prototype.concat); var $spliceApply = bind.call(Function.apply, Array.prototype.splice); var $replace = bind.call(Function.call, String.prototype.replace); var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; @@ -257,6 +268,9 @@ module.exports = function GetIntrinsic(name, allowMissing) { throw new $TypeError('"allowMissing" argument must be a boolean'); } + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } var parts = stringToPath(name); var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; diff --git a/node_modules/get-intrinsic/package.json b/node_modules/get-intrinsic/package.json index d34894a06..fd7c4798f 100644 --- a/node_modules/get-intrinsic/package.json +++ b/node_modules/get-intrinsic/package.json @@ -1,6 +1,6 @@ { "name": "get-intrinsic", - "version": "1.1.1", + "version": "1.2.0", "description": "Get and robustly cache all JS language-level intrinsics at first require time", "main": "index.js", "exports": { @@ -13,6 +13,9 @@ "./package.json": "./package.json" }, "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", "prelint": "evalmd README.md", "lint": "eslint --ext=.js,.mjs .", "pretest": "npm run lint", @@ -45,22 +48,25 @@ }, "homepage": "https://github.com/ljharb/get-intrinsic#readme", "devDependencies": { - "@ljharb/eslint-config": "^17.5.0", - "aud": "^1.1.3", - "auto-changelog": "^2.2.1", + "@ljharb/eslint-config": "^21.0.1", + "aud": "^2.0.2", + "auto-changelog": "^2.4.0", "call-bind": "^1.0.2", - "es-abstract": "^1.18.0-next.2", - "es-value-fixtures": "^1.0.0", - "eslint": "^7.19.0", + "es-abstract": "^1.21.1", + "es-value-fixtures": "^1.4.2", + "eslint": "=8.8.0", "evalmd": "^0.0.19", - "foreach": "^2.0.5", - "has-bigints": "^1.0.1", + "for-each": "^0.3.3", + "gopd": "^1.0.1", "make-async-function": "^1.0.0", "make-async-generator-function": "^1.0.0", "make-generator-function": "^2.0.0", + "mock-property": "^1.0.0", + "npmignore": "^0.3.0", "nyc": "^10.3.2", - "object-inspect": "^1.9.0", - "tape": "^5.1.1" + "object-inspect": "^1.12.3", + "safe-publish-latest": "^2.0.0", + "tape": "^5.6.3" }, "auto-changelog": { "output": "CHANGELOG.md", @@ -73,6 +79,14 @@ "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.1" + "has-symbols": "^1.0.3" + }, + "testling": { + "files": "test/GetIntrinsic.js" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] } } diff --git a/node_modules/get-intrinsic/test/GetIntrinsic.js b/node_modules/get-intrinsic/test/GetIntrinsic.js index 695e3ad41..1cc08e00c 100644 --- a/node_modules/get-intrinsic/test/GetIntrinsic.js +++ b/node_modules/get-intrinsic/test/GetIntrinsic.js @@ -3,16 +3,17 @@ var GetIntrinsic = require('../'); var test = require('tape'); -var forEach = require('foreach'); +var forEach = require('for-each'); var debug = require('object-inspect'); var generatorFns = require('make-generator-function')(); var asyncFns = require('make-async-function').list(); var asyncGenFns = require('make-async-generator-function')(); +var mockProperty = require('mock-property'); var callBound = require('call-bind/callBound'); var v = require('es-value-fixtures'); -var $gOPD = require('es-abstract/helpers/getOwnPropertyDescriptor'); -var defineProperty = require('es-abstract/test/helpers/defineProperty'); +var $gOPD = require('gopd'); +var DefinePropertyOrThrow = require('es-abstract/2021/DefinePropertyOrThrow'); var $isProto = callBound('%Object.prototype.isPrototypeOf%'); @@ -66,6 +67,18 @@ test('throws', function (t) { "Throws when middle part doesn't exist (%Proxy.prototype.undefined%)" ); + t['throws']( + function () { GetIntrinsic('%Array.prototype%garbage%'); }, + SyntaxError, + 'Throws with extra percent signs' + ); + + t['throws']( + function () { GetIntrinsic('%Array.prototype%push%'); }, + SyntaxError, + 'Throws with extra percent signs, even on an existing intrinsic' + ); + forEach(v.nonStrings, function (nonString) { t['throws']( function () { GetIntrinsic(nonString); }, @@ -123,15 +136,15 @@ test('dotted paths', function (t) { '%ObjProto_toString%', 'ObjProto_toString' ], function (name) { - defineProperty(Object.prototype, 'toString', { - value: function toString() { + DefinePropertyOrThrow(Object.prototype, 'toString', { + '[[Value]]': function toString() { return original.apply(this, arguments); } }); st.equal(GetIntrinsic(name), original, name + ' yields original Object.prototype.toString'); }); - defineProperty(Object.prototype, 'toString', { value: original }); + DefinePropertyOrThrow(Object.prototype, 'toString', { '[[Value]]': original }); st.end(); }); @@ -144,15 +157,16 @@ test('dotted paths', function (t) { '%ObjectPrototype.propertyIsEnumerable%', 'ObjectPrototype.propertyIsEnumerable' ], function (name) { - // eslint-disable-next-line no-extend-native - Object.prototype.propertyIsEnumerable = function propertyIsEnumerable() { - return original.apply(this, arguments); - }; + var restore = mockProperty(Object.prototype, 'propertyIsEnumerable', { + value: function propertyIsEnumerable() { + return original.apply(this, arguments); + } + }); st.equal(GetIntrinsic(name), original, name + ' yields cached Object.prototype.propertyIsEnumerable'); + + restore(); }); - // eslint-disable-next-line no-extend-native - Object.prototype.propertyIsEnumerable = original; st.end(); }); diff --git a/node_modules/global-prefix/node_modules/.bin/which b/node_modules/global-prefix/node_modules/.bin/which index f62471c85..c51820f2f 120000 --- a/node_modules/global-prefix/node_modules/.bin/which +++ b/node_modules/global-prefix/node_modules/.bin/which @@ -1 +1,12 @@ -../which/bin/which \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../which/bin/which" "$@" +else + exec node "$basedir/../which/bin/which" "$@" +fi diff --git a/node_modules/has-bigints/.eslintignore b/node_modules/has-bigints/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/has-bigints/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/has-bigints/.eslintrc b/node_modules/has-bigints/.eslintrc deleted file mode 100644 index 699b23b6d..000000000 --- a/node_modules/has-bigints/.eslintrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "operator-linebreak": [2, "before"], - }, -} diff --git a/node_modules/has-bigints/.github/FUNDING.yml b/node_modules/has-bigints/.github/FUNDING.yml deleted file mode 100644 index 5b597c846..000000000 --- a/node_modules/has-bigints/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/has-bigints -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/has-bigints/.nycrc b/node_modules/has-bigints/.nycrc deleted file mode 100644 index 1826526e0..000000000 --- a/node_modules/has-bigints/.nycrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/has-bigints/CHANGELOG.md b/node_modules/has-bigints/CHANGELOG.md deleted file mode 100644 index 48f9dc239..000000000 --- a/node_modules/has-bigints/CHANGELOG.md +++ /dev/null @@ -1,43 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.1](https://github.com/inspect-js/has-bigints/compare/v1.0.0...v1.0.1) - 2020-12-13 - -### Commits - -- [Tests] use shared travis-ci configs [`46a0d6b`](https://github.com/inspect-js/has-bigints/commit/46a0d6be7ed83bd7f5ead11e4eab7fc91570a448) -- [Tests] migrate tests to Github Actions [`91a38fa`](https://github.com/inspect-js/has-bigints/commit/91a38fa4b85a420b8cf4926b3799e6ceb60d8690) -- [meta] do not publish github action workflow files [`69aacba`](https://github.com/inspect-js/has-bigints/commit/69aacba320c1221e7fee1c71bde600bce063f24b) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`64e2c08`](https://github.com/inspect-js/has-bigints/commit/64e2c0895b21ac91a137452fd2455932f62a2fc1) -- [Tests] run `nyc` on all tests; use `tape` runner [`8009375`](https://github.com/inspect-js/has-bigints/commit/8009375e5ec9faca6bbc09441002af5c5e59ff20) -- [actions] add automatic rebasing / merge commit blocking [`e599917`](https://github.com/inspect-js/has-bigints/commit/e599917fd1f751c9a6c0daac70acb243f8c3a01d) -- [actions] add "Allow Edits" workflow [`bd0126e`](https://github.com/inspect-js/has-bigints/commit/bd0126eba2d67e9b9d588bced34413f507698154) -- [readme] remove travis badge [`8e02a73`](https://github.com/inspect-js/has-bigints/commit/8e02a73db34827d24d2945f2db822973a0b49925) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `auto-changelog`, `safe-publish-latest` [`95859f2`](https://github.com/inspect-js/has-bigints/commit/95859f28f23f5733481c52a501063802cf64f75b) -- [Dev Deps] update `auto-changelog`, `in-publish`, `tape` [`0588f41`](https://github.com/inspect-js/has-bigints/commit/0588f415c6cc01d6b34668680044e03b2998e03f) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`5b024a6`](https://github.com/inspect-js/has-bigints/commit/5b024a664a8b7d2d2f750a4c11ce20c395b6f12a) -- [meta] add `version` scripts [`4788d61`](https://github.com/inspect-js/has-bigints/commit/4788d61101c009e4e2c1b4d944c263de06192c6a) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`be0e0de`](https://github.com/inspect-js/has-bigints/commit/be0e0de08298dfe483c5d7a2675e5133abeabc53) -- [Dev Deps] update `auto-changelog`; add `aud` [`13a8d1b`](https://github.com/inspect-js/has-bigints/commit/13a8d1bf1f661871d890bfa174de9514f016cdd9) -- [actions] fix action name [`f873d9a`](https://github.com/inspect-js/has-bigints/commit/f873d9a2f10718662528a755b12c61202f4e4afa) -- [meta] add `funding` field [`1b51f49`](https://github.com/inspect-js/has-bigints/commit/1b51f4921df1faf85d2679a0e4ba97ef015a73b7) -- [Dev Deps] update `auto-changelog` [`2322461`](https://github.com/inspect-js/has-bigints/commit/2322461789810434c447439f155eb3ca23eb29fb) -- [Tests] only audit prod deps [`aabdade`](https://github.com/inspect-js/has-bigints/commit/aabdadeaa1e126b91a2fbd82263cc49651ff5e7b) - -## v1.0.0 - 2019-08-10 - -### Commits - -- [Tests] add `.travis.yml` [`9730412`](https://github.com/inspect-js/has-bigints/commit/973041241dc172474bb9457aad41790fe54fec88) -- Initial commit [`65f7c38`](https://github.com/inspect-js/has-bigints/commit/65f7c3889d9a98e214e26d650723cbfc49338463) -- [Tests] add tests [`e374a78`](https://github.com/inspect-js/has-bigints/commit/e374a78033d457badcd47e06752fdec7f62e6c39) -- readme [`5d39092`](https://github.com/inspect-js/has-bigints/commit/5d3909249da442867180fb747eef27543627d250) -- npm init [`1be2e3d`](https://github.com/inspect-js/has-bigints/commit/1be2e3d69db6718901e6845cfc38a07cc46dfd96) -- implementation [`b7bc812`](https://github.com/inspect-js/has-bigints/commit/b7bc8121db1fb1a827625c4cb0608935e3dcbe31) -- [Tests] add linting [`04533be`](https://github.com/inspect-js/has-bigints/commit/04533bef57f60e322238f71f32ee3ae0c988bac4) -- [meta] create FUNDING.yml [`cf824a7`](https://github.com/inspect-js/has-bigints/commit/cf824a7d02e867957d8db17ee0a4c70c8ee5ff23) -- Only apps should have lockfiles [`64e8242`](https://github.com/inspect-js/has-bigints/commit/64e82429f1dca99f624dc971ff13516dee28d353) diff --git a/node_modules/has-bigints/LICENSE b/node_modules/has-bigints/LICENSE deleted file mode 100644 index 3900dd7e2..000000000 --- a/node_modules/has-bigints/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/has-bigints/README.md b/node_modules/has-bigints/README.md deleted file mode 100644 index 384707985..000000000 --- a/node_modules/has-bigints/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# has-bigints [![Version Badge][2]][1] - -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Determine if the JS environment has BigInt support. - -## Example - -```js -var hasBigInts = require('has-bigints'); - -hasBigInts() === true; // if the environment has native BigInt support. Not polyfillable, not forgeable. -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/has-bigints -[2]: https://versionbadg.es/ljharb/has-bigints.svg -[5]: https://david-dm.org/ljharb/has-bigints.svg -[6]: https://david-dm.org/ljharb/has-bigints -[7]: https://david-dm.org/ljharb/has-bigints/dev-status.svg -[8]: https://david-dm.org/ljharb/has-bigints#info=devDependencies -[9]: https://ci.testling.com/ljharb/has-bigints.png -[10]: https://ci.testling.com/ljharb/has-bigints -[11]: https://nodei.co/npm/has-bigints.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/has-bigints.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/has-bigints.svg -[downloads-url]: https://npm-stat.com/charts.html?package=has-bigints diff --git a/node_modules/has-bigints/index.js b/node_modules/has-bigints/index.js deleted file mode 100644 index dd9af1df5..000000000 --- a/node_modules/has-bigints/index.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var $BigInt = global.BigInt; - -module.exports = function hasNativeBigInts() { - return typeof $BigInt === 'function' - && typeof BigInt === 'function' - && typeof $BigInt(42) === 'bigint' // eslint-disable-line no-magic-numbers - && typeof BigInt(42) === 'bigint'; // eslint-disable-line no-magic-numbers -}; diff --git a/node_modules/has-bigints/package.json b/node_modules/has-bigints/package.json deleted file mode 100644 index 82144f0e7..000000000 --- a/node_modules/has-bigints/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "has-bigints", - "version": "1.0.1", - "description": "Determine if the JS environment has BigInt support.", - "main": "index.js", - "scripts": { - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", - "prepublish": "not-in-publish || safe-publish-latest", - "lint": "eslint --ext=js,mjs .", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "aud --production" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/has-bigints.git" - }, - "keywords": [ - "BigInt", - "bigints", - "typeof", - "ES2020" - ], - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/has-bigints/issues" - }, - "homepage": "https://github.com/ljharb/has-bigints#readme", - "devDependencies": { - "@ljharb/eslint-config": "^17.3.0", - "aud": "^1.1.3", - "auto-changelog": "^2.2.1", - "eslint": "^7.15.0", - "in-publish": "^2.0.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.0.1" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/has-bigints/test/index.js b/node_modules/has-bigints/test/index.js deleted file mode 100644 index efbc98b5b..000000000 --- a/node_modules/has-bigints/test/index.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -var test = require('tape'); -var hasBigInts = require('..'); - -test('interface', function (t) { - t.equal(typeof hasBigInts, 'function', 'is a function'); - t.equal(typeof hasBigInts(), 'boolean', 'returns a boolean'); - t.end(); -}); - -test('BigInts are supported', { skip: !hasBigInts() }, function (t) { - t.equal(typeof BigInt, 'function', 'global BigInt is a function'); - if (typeof BigInt !== 'function') { - return; - } - - t.equal(BigInt(42), BigInt(42), '42n === 42n'); - t['throws']( - function () { BigInt(NaN); }, - RangeError, - 'NaN is not an integer; BigInt(NaN) throws' - ); - - t['throws']( - function () { BigInt(Infinity); }, - RangeError, - 'Infinity is not an integer; BigInt(Infinity) throws' - ); - - t['throws']( - function () { BigInt(1.1); }, - RangeError, - '1.1 is not an integer; BigInt(1.1) throws' - ); - - t.end(); -}); - -test('BigInts are not supported', { skip: hasBigInts() }, function (t) { - t.equal(typeof BigInt, 'undefined', 'global BigInt is undefined'); - - t.end(); -}); diff --git a/node_modules/has-symbols/.eslintignore b/node_modules/has-symbols/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/has-symbols/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/has-symbols/.nycrc b/node_modules/has-symbols/.nycrc index 1826526e0..bdd626ce9 100644 --- a/node_modules/has-symbols/.nycrc +++ b/node_modules/has-symbols/.nycrc @@ -2,10 +2,6 @@ "all": true, "check-coverage": false, "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, "exclude": [ "coverage", "test" diff --git a/node_modules/has-symbols/CHANGELOG.md b/node_modules/has-symbols/CHANGELOG.md index 852ca0420..cd532a2b4 100644 --- a/node_modules/has-symbols/CHANGELOG.md +++ b/node_modules/has-symbols/CHANGELOG.md @@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.0.3](https://github.com/inspect-js/has-symbols/compare/v1.0.2...v1.0.3) - 2022-03-01 + +### Commits + +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`518b28f`](https://github.com/inspect-js/has-symbols/commit/518b28f6c5a516cbccae30794e40aa9f738b1693) +- [meta] add `bugs` and `homepage` fields; reorder package.json [`c480b13`](https://github.com/inspect-js/has-symbols/commit/c480b13fd6802b557e1cef9749872cb5fdeef744) +- [actions] reuse common workflows [`01d0ee0`](https://github.com/inspect-js/has-symbols/commit/01d0ee0a8d97c0947f5edb73eb722027a77b2b07) +- [actions] update codecov uploader [`6424ebe`](https://github.com/inspect-js/has-symbols/commit/6424ebe86b2c9c7c3d2e9bd4413a4e4f168cb275) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`dfa7e7f`](https://github.com/inspect-js/has-symbols/commit/dfa7e7ff38b594645d8c8222aab895157fa7e282) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`0c8d436`](https://github.com/inspect-js/has-symbols/commit/0c8d43685c45189cea9018191d4fd7eca91c9d02) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`9026554`](https://github.com/inspect-js/has-symbols/commit/902655442a1bf88e72b42345494ef0c60f5d36ab) +- [readme] add actions and codecov badges [`eaa9682`](https://github.com/inspect-js/has-symbols/commit/eaa9682f990f481d3acf7a1c7600bec36f7b3adc) +- [Dev Deps] update `eslint`, `tape` [`bc7a3ba`](https://github.com/inspect-js/has-symbols/commit/bc7a3ba46f27b7743f8a2579732d59d1b9ac791e) +- [Dev Deps] update `eslint`, `auto-changelog` [`0ace00a`](https://github.com/inspect-js/has-symbols/commit/0ace00af08a88cdd1e6ce0d60357d941c60c2d9f) +- [meta] use `prepublishOnly` script for npm 7+ [`093f72b`](https://github.com/inspect-js/has-symbols/commit/093f72bc2b0ed00c781f444922a5034257bf561d) +- [Tests] test on all 16 minors [`9b80d3d`](https://github.com/inspect-js/has-symbols/commit/9b80d3d9102529f04c20ec5b1fcc6e38426c6b03) + ## [v1.0.2](https://github.com/inspect-js/has-symbols/compare/v1.0.1...v1.0.2) - 2021-02-27 ### Fixed diff --git a/node_modules/has-symbols/README.md b/node_modules/has-symbols/README.md index 3875d7e58..33905f0fc 100644 --- a/node_modules/has-symbols/README.md +++ b/node_modules/has-symbols/README.md @@ -1,5 +1,7 @@ # has-symbols [![Version Badge][2]][1] +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] @@ -38,3 +40,7 @@ Simply clone the repo, `npm install`, and run `npm test` [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/has-symbols.svg [downloads-url]: https://npm-stat.com/charts.html?package=has-symbols +[codecov-image]: https://codecov.io/gh/inspect-js/has-symbols/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/has-symbols/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-symbols +[actions-url]: https://github.com/inspect-js/has-symbols/actions diff --git a/node_modules/has-symbols/package.json b/node_modules/has-symbols/package.json index 2c2f57278..fe7004a10 100644 --- a/node_modules/has-symbols/package.json +++ b/node_modules/has-symbols/package.json @@ -1,26 +1,11 @@ { "name": "has-symbols", - "version": "1.0.2", - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - } - ], + "version": "1.0.3", "description": "Determine if the JS environment has Symbol support. Supports spec, or shams.", - "license": "MIT", "main": "index.js", "scripts": { - "prepublish": "safe-publish-latest", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", "pretest": "npm run --silent lint", "test": "npm run tests-only", "posttest": "aud --production", @@ -48,16 +33,36 @@ "core-js", "ES6" ], + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/has-symbols/issues" + }, + "homepage": "https://github.com/ljharb/has-symbols#readme", "devDependencies": { - "@ljharb/eslint-config": "^17.5.1", - "aud": "^1.1.4", - "auto-changelog": "^2.2.1", + "@ljharb/eslint-config": "^20.2.3", + "aud": "^2.0.0", + "auto-changelog": "^2.4.0", "core-js": "^2.6.12", - "eslint": "^7.20.0", + "eslint": "=8.8.0", "get-own-property-symbols": "^0.9.5", "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.0" + "safe-publish-latest": "^2.0.0", + "tape": "^5.5.2" }, "testling": { "files": "test/index.js", diff --git a/node_modules/is-arguments/.github/workflows/node-4+.yml b/node_modules/is-arguments/.github/workflows/node-4+.yml deleted file mode 100644 index ba174e1d6..000000000 --- a/node_modules/is-arguments/.github/workflows/node-4+.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: 'Tests: node.js' - -on: [pull_request, push] - -jobs: - matrix: - runs-on: ubuntu-latest - outputs: - latest: ${{ steps.set-matrix.outputs.requireds }} - minors: ${{ steps.set-matrix.outputs.optionals }} - steps: - - uses: ljharb/actions/node/matrix@main - id: set-matrix - with: - preset: '>=4' - - latest: - needs: [matrix] - name: 'latest minors' - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.latest) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - minors: - needs: [matrix, latest] - name: 'non-latest minors' - continue-on-error: true - if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.minors) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - - node: - name: 'node 4+' - needs: [latest, minors] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/node_modules/is-arguments/.github/workflows/node-iojs.yml b/node_modules/is-arguments/.github/workflows/node-iojs.yml deleted file mode 100644 index f707c3cfc..000000000 --- a/node_modules/is-arguments/.github/workflows/node-iojs.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: 'Tests: node.js (io.js)' - -on: [pull_request, push] - -jobs: - matrix: - runs-on: ubuntu-latest - outputs: - latest: ${{ steps.set-matrix.outputs.requireds }} - minors: ${{ steps.set-matrix.outputs.optionals }} - steps: - - uses: ljharb/actions/node/matrix@main - id: set-matrix - with: - preset: 'iojs' - - latest: - needs: [matrix] - name: 'latest minors' - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.latest) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - skip-ls-check: true - - minors: - needs: [matrix, latest] - name: 'non-latest minors' - continue-on-error: true - if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.minors) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - skip-ls-check: true - - node: - name: 'io.js' - needs: [latest, minors] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/node_modules/is-arguments/.github/workflows/node-pretest.yml b/node_modules/is-arguments/.github/workflows/node-pretest.yml deleted file mode 100644 index 3921e0ae6..000000000 --- a/node_modules/is-arguments/.github/workflows/node-pretest.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: 'Tests: pretest/posttest' - -on: [pull_request, push] - -jobs: - pretest: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run pretest' - with: - node-version: 'lts/*' - command: 'pretest' - - posttest: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run posttest' - with: - node-version: 'lts/*' - command: 'posttest' diff --git a/node_modules/is-arguments/.github/workflows/node-zero.yml b/node_modules/is-arguments/.github/workflows/node-zero.yml deleted file mode 100644 index 2435bf2cc..000000000 --- a/node_modules/is-arguments/.github/workflows/node-zero.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: 'Tests: node.js (0.x)' - -on: [pull_request, push] - -jobs: - matrix: - runs-on: ubuntu-latest - outputs: - stable: ${{ steps.set-matrix.outputs.requireds }} - unstable: ${{ steps.set-matrix.outputs.optionals }} - steps: - - uses: ljharb/actions/node/matrix@main - id: set-matrix - with: - preset: '0.x' - - stable: - needs: [matrix] - name: 'stable minors' - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.stable) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }} - skip-ls-check: true - - unstable: - needs: [matrix, stable] - name: 'unstable minors' - continue-on-error: true - if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.unstable) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }} - skip-ls-check: true - - node: - name: 'node 0.x' - needs: [stable, unstable] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/node_modules/is-arguments/.github/workflows/rebase.yml b/node_modules/is-arguments/.github/workflows/rebase.yml deleted file mode 100644 index 027aed079..000000000 --- a/node_modules/is-arguments/.github/workflows/rebase.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Automatic Rebase - -on: [pull_request_target] - -jobs: - _: - name: "Automatic Rebase" - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/rebase@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/node_modules/is-arguments/.github/workflows/require-allow-edits.yml b/node_modules/is-arguments/.github/workflows/require-allow-edits.yml deleted file mode 100644 index 549d7b482..000000000 --- a/node_modules/is-arguments/.github/workflows/require-allow-edits.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Require “Allow Edits” - -on: [pull_request_target] - -jobs: - _: - name: "Require “Allow Edits”" - - runs-on: ubuntu-latest - - steps: - - uses: ljharb/require-allow-edits@main diff --git a/node_modules/is-arguments/.nycrc b/node_modules/is-arguments/.nycrc index 1826526e0..bdd626ce9 100644 --- a/node_modules/is-arguments/.nycrc +++ b/node_modules/is-arguments/.nycrc @@ -2,10 +2,6 @@ "all": true, "check-coverage": false, "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, "exclude": [ "coverage", "test" diff --git a/node_modules/is-arguments/CHANGELOG.md b/node_modules/is-arguments/CHANGELOG.md index 943fe35a3..a1ddafe34 100644 --- a/node_modules/is-arguments/CHANGELOG.md +++ b/node_modules/is-arguments/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.1.1](https://github.com/inspect-js/is-arguments/compare/v1.1.0...v1.1.1) - 2021-08-05 + +### Commits + +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`dd28b30`](https://github.com/inspect-js/is-arguments/commit/dd28b30f4237fac722f2ce05b0c1d7e63c4a81e4) +- [meta] do not publish github action workflow files [`87e489c`](https://github.com/inspect-js/is-arguments/commit/87e489cc77b709b96e73aaf9f9b2cd6da48f4960) +- [readme] fix repo URLs [`e2c2c6e`](https://github.com/inspect-js/is-arguments/commit/e2c2c6ee34ca21be4b19d282d96dd7ab75b63ae3) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`b9ae62b`](https://github.com/inspect-js/is-arguments/commit/b9ae62b3a08a5fe84519865192e6287d5b6966f7) +- [readme] add github actions/codecov badges [`504c0a5`](https://github.com/inspect-js/is-arguments/commit/504c0a508dc313eae5942b1e35b2d031948de143) +- [Fix] use `has-tostringtag` to behave correctly in the presence of symbol shams [`dc29e52`](https://github.com/inspect-js/is-arguments/commit/dc29e521d71da420414110919a1e0fde8ec6eba3) +- [Dev Deps] update `auto-changelog`, `eslint`, `tape` [`a966d25`](https://github.com/inspect-js/is-arguments/commit/a966d25535c5f050ca5ce43a1559f93698a7130b) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`1218944`](https://github.com/inspect-js/is-arguments/commit/12189445a195558fdccebe099c699272d2082aa8) +- [meta] use `prepublishOnly` script for npm 7+ [`757dbee`](https://github.com/inspect-js/is-arguments/commit/757dbee3ec6f6225d4c7c91582e045cc1183dbd8) +- [Deps] update `call-bind` [`b206f05`](https://github.com/inspect-js/is-arguments/commit/b206f059571c430375c632e40dd29249fa76a8fd) +- [actions] update workflows [`b89b2f1`](https://github.com/inspect-js/is-arguments/commit/b89b2f1ab98bedebdf97d2397246030a1132c84e) + ## [v1.1.0](https://github.com/inspect-js/is-arguments/compare/v1.0.4...v1.1.0) - 2020-12-04 ### Commits diff --git a/node_modules/is-arguments/README.md b/node_modules/is-arguments/README.md index 3872cbffa..b312512cc 100644 --- a/node_modules/is-arguments/README.md +++ b/node_modules/is-arguments/README.md @@ -1,5 +1,7 @@ -#is-arguments [![Version Badge][2]][1] +# is-arguments [![Version Badge][2]][1] +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] @@ -29,14 +31,17 @@ If you have modified an actual `arguments` object by giving it a `Symbol.toStrin Simply clone the repo, `npm install`, and run `npm test` [1]: https://npmjs.org/package/is-arguments -[2]: http://versionbadg.es/inspect-js/is-arguments.svg +[2]: https://versionbadg.es/inspect-js/is-arguments.svg [5]: https://david-dm.org/inspect-js/is-arguments.svg [6]: https://david-dm.org/inspect-js/is-arguments [7]: https://david-dm.org/inspect-js/is-arguments/dev-status.svg [8]: https://david-dm.org/inspect-js/is-arguments#info=devDependencies [11]: https://nodei.co/npm/is-arguments.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/is-arguments.svg +[license-image]: https://img.shields.io/npm/l/is-arguments.svg [license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/is-arguments.svg -[downloads-url]: http://npm-stat.com/charts.html?package=is-arguments - +[downloads-image]: https://img.shields.io/npm/dm/is-arguments.svg +[downloads-url]: https://npm-stat.com/charts.html?package=is-arguments +[codecov-image]: https://codecov.io/gh/inspect-js/is-arguments/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/is-arguments/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-arguments +[actions-url]: https://github.com/inspect-js/is-arguments/actions diff --git a/node_modules/is-arguments/index.js b/node_modules/is-arguments/index.js index 805f977e6..e17e906cd 100644 --- a/node_modules/is-arguments/index.js +++ b/node_modules/is-arguments/index.js @@ -1,6 +1,6 @@ 'use strict'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); var callBound = require('call-bind/callBound'); var $toString = callBound('Object.prototype.toString'); diff --git a/node_modules/is-arguments/package.json b/node_modules/is-arguments/package.json index 2cfb2d29b..b4ba9ae51 100644 --- a/node_modules/is-arguments/package.json +++ b/node_modules/is-arguments/package.json @@ -1,6 +1,6 @@ { "name": "is-arguments", - "version": "1.1.0", + "version": "1.1.1", "description": "Is this an arguments object? It's a harder question than you think.", "author": { "name": "Jordan Harband", @@ -20,7 +20,8 @@ "license": "MIT", "main": "index.js", "scripts": { - "prepublish": "safe-publish-latest", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", "pretest": "npm run --silent lint", "test": "npm run tests-only", "tests-only": "nyc tape 'test/**/*.js'", @@ -46,16 +47,17 @@ "object" ], "dependencies": { - "call-bind": "^1.0.0" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "devDependencies": { - "@ljharb/eslint-config": "^17.3.0", - "aud": "^1.1.3", - "auto-changelog": "^2.2.1", - "eslint": "^7.14.0", + "@ljharb/eslint-config": "^17.6.0", + "aud": "^1.1.5", + "auto-changelog": "^2.3.0", + "eslint": "^7.32.0", "nyc": "^10.3.2", "safe-publish-latest": "^1.1.4", - "tape": "^5.0.1" + "tape": "^5.3.0" }, "testling": { "files": "test.js", diff --git a/node_modules/is-arguments/test/index.js b/node_modules/is-arguments/test/index.js index 818b7b02c..6d7cd5ace 100644 --- a/node_modules/is-arguments/test/index.js +++ b/node_modules/is-arguments/test/index.js @@ -2,7 +2,7 @@ var test = require('tape'); var isArguments = require('../'); -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); test('primitives', function (t) { t.notOk(isArguments([]), 'array is not arguments'); diff --git a/node_modules/is-bigint/.eslintignore b/node_modules/is-bigint/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-bigint/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-bigint/.eslintrc b/node_modules/is-bigint/.eslintrc deleted file mode 100644 index c8872383e..000000000 --- a/node_modules/is-bigint/.eslintrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "globals": { - "BigInt": true, - }, - - "rules": { - "new-cap": [2, { "capIsNewExceptions": ["BigInt"] }], - "operator-linebreak": [2, "before"], - }, -} diff --git a/node_modules/is-bigint/.github/FUNDING.yml b/node_modules/is-bigint/.github/FUNDING.yml deleted file mode 100644 index 59d03ba7d..000000000 --- a/node_modules/is-bigint/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/is-bigint -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/is-bigint/.nycrc b/node_modules/is-bigint/.nycrc deleted file mode 100644 index bdd626ce9..000000000 --- a/node_modules/is-bigint/.nycrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/is-bigint/CHANGELOG.md b/node_modules/is-bigint/CHANGELOG.md deleted file mode 100644 index b62ddcf11..000000000 --- a/node_modules/is-bigint/CHANGELOG.md +++ /dev/null @@ -1,54 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.2](https://github.com/inspect-js/is-bigint/compare/v1.0.1...v1.0.2) - 2021-05-04 - -### Commits - -- [meta] do not publish github action workflow files [`276d677`](https://github.com/inspect-js/is-bigint/commit/276d677d1eac61e990a2f2b523c7cdef70784865) -- [actions] use `node/install` instead of `node/run`; use `codecov` action [`cea7fb6`](https://github.com/inspect-js/is-bigint/commit/cea7fb6e882ad7e2f550de2bd9317a4409bcd735) -- [readme] fix repo URLs; remove travis badge [`c8e7c36`](https://github.com/inspect-js/is-bigint/commit/c8e7c3651f3303fddafa61cf29cfbb79ea2d5d4b) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbols`, `object-inspect`, `tape` [`32f3d90`](https://github.com/inspect-js/is-bigint/commit/32f3d909363045fe5d40dde9e4db354344ab4d50) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `tape` [`c2f20f5`](https://github.com/inspect-js/is-bigint/commit/c2f20f577d84e68b4e3224abb51024fbc4b9b2ba) -- [meta] remove unneeded token; update checkout action [`94e46e9`](https://github.com/inspect-js/is-bigint/commit/94e46e92a1a85ec022c8febf8d5d3c2369b46e97) -- [meta] use `prepublishOnly` script for npm 7+ [`3e663ec`](https://github.com/inspect-js/is-bigint/commit/3e663ecb09bfdc5dbaaa37aaef4adf28b5e49035) - -## [v1.0.1](https://github.com/inspect-js/is-bigint/compare/v1.0.0...v1.0.1) - 2020-11-30 - -### Commits - -- [Tests] use shared travis-ci configs [`28f1211`](https://github.com/inspect-js/is-bigint/commit/28f1211132ad2a6495d816140680fa16c12eb6f3) -- [Tests] migrate tests to Github Actions [`0998c64`](https://github.com/inspect-js/is-bigint/commit/0998c6443d603028f8b988bcdd52d23dbf513031) -- [meta] add `auto-changelog` [`2352de6`](https://github.com/inspect-js/is-bigint/commit/2352de6df8385b256d75ce50c360947243a599f6) -- [Tests] run `nyc` on all tests [`9c16a9a`](https://github.com/inspect-js/is-bigint/commit/9c16a9a5ddaf7c2c578542ab8f00dd4e72eff541) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `auto-changelog`, `object-inspect`, `tape` [`4cd0edd`](https://github.com/inspect-js/is-bigint/commit/4cd0edd1917f789501291315c9eac5f895fd719e) -- [actions] add automatic rebasing / merge commit blocking [`f0f4b91`](https://github.com/inspect-js/is-bigint/commit/f0f4b91dba029dbca5b3cd27ef91c4fb8e3ec51a) -- [actions] add "Allow Edits" workflow [`7f4f46e`](https://github.com/inspect-js/is-bigint/commit/7f4f46ec07679c00e22287ec55b39ff1e4f809cf) -- [meta] create FUNDING.yml [`2d0cb9a`](https://github.com/inspect-js/is-bigint/commit/2d0cb9ae8ddf635f2c472ce49f95f717f2c432bf) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud` [`0ee110e`](https://github.com/inspect-js/is-bigint/commit/0ee110effdcaa96d90f21a0ec6e625941f77c45a) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `has-symbols`, `object-inspect`, `tape` [`5bb7f3a`](https://github.com/inspect-js/is-bigint/commit/5bb7f3a8de6ec5ee2aa573c22e41884f3d2d1cc3) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`d3d67d0`](https://github.com/inspect-js/is-bigint/commit/d3d67d05f8a3f4cb07085811629f56ef872949c3) -- [Dev Deps] update `auto-changelog`, `tape` [`54e270f`](https://github.com/inspect-js/is-bigint/commit/54e270fa29856dba90f86785fa61bffc79a2825d) -- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`d82bfe7`](https://github.com/inspect-js/is-bigint/commit/d82bfe75c63aeda40f7e473c57f26cea8790ba3a) -- [Dev Deps] update `auto-changelog`; add `aud` [`9c34bd1`](https://github.com/inspect-js/is-bigint/commit/9c34bd1873f08d77c82d8e54ad90c5a1a035e7ea) -- [Tests] add missing `posttest` script [`0690bd9`](https://github.com/inspect-js/is-bigint/commit/0690bd9868d4d8b43424b4224cdbb8659a1c6423) -- [meta] add `funding` field [`7ca36d0`](https://github.com/inspect-js/is-bigint/commit/7ca36d06ebcf6b01a592ecd6758bd2b39c0fb0db) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`5ffa8da`](https://github.com/inspect-js/is-bigint/commit/5ffa8dad9f634891cf739ee118f1b43142b0f01d) -- [Dev Deps] update `eslint` [`8512c2f`](https://github.com/inspect-js/is-bigint/commit/8512c2f29a9267fe8fe19209bcf77df94f127172) -- [Tests] only audit prod deps [`f2147dc`](https://github.com/inspect-js/is-bigint/commit/f2147dc54e72594985e8f6db3932a4f0819dc4db) -- [readme] fix header [`d6eff75`](https://github.com/inspect-js/is-bigint/commit/d6eff75d00471f465768deb92867e878c27733b3) - -## v1.0.0 - 2018-09-20 - -### Commits - -- [Tests] add tests [`847f12a`](https://github.com/inspect-js/is-bigint/commit/847f12af125fcefb75ed3517550feedf7dd73e88) -- Initial commit [`b53f3c6`](https://github.com/inspect-js/is-bigint/commit/b53f3c6754e7fd7a9982ff5b1466c4dc9799dad9) -- readme [`66c15fe`](https://github.com/inspect-js/is-bigint/commit/66c15fe1a0d965b8c78bf3a3bfc289dcfec53ee1) -- Implementation [`c2c0974`](https://github.com/inspect-js/is-bigint/commit/c2c0974397825a2a56e1ea8af0546171309d4805) -- package.json [`98b174c`](https://github.com/inspect-js/is-bigint/commit/98b174c24b070053f0548e58f9b87bc9dbdf922a) -- Only apps should have lockfiles [`a77c74b`](https://github.com/inspect-js/is-bigint/commit/a77c74bd8ca5f058f1e6165ae7b33bb84adef98c) diff --git a/node_modules/is-bigint/LICENSE b/node_modules/is-bigint/LICENSE deleted file mode 100644 index 9dd868f0f..000000000 --- a/node_modules/is-bigint/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/is-bigint/README.md b/node_modules/is-bigint/README.md deleted file mode 100644 index 1bf8c5f93..000000000 --- a/node_modules/is-bigint/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# is-bigint [![Version Badge][2]][1] - -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Is this an ES BigInt value? - -## Example - -```js -var isBigInt = require('is-bigint'); -assert(!isBigInt(function () {})); -assert(!isBigInt(null)); -assert(!isBigInt(function* () { yield 42; return Infinity; }); -assert(!isBigInt(Symbol('foo'))); - -assert(isBigInt(1n)); -assert(isBigInt(Object(1n))); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/is-bigint -[2]: https://versionbadg.es/inspect-js/is-bigint.svg -[5]: https://david-dm.org/inspect-js/is-bigint.svg -[6]: https://david-dm.org/inspect-js/is-bigint -[7]: https://david-dm.org/inspect-js/is-bigint/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-bigint#info=devDependencies -[11]: https://nodei.co/npm/is-bigint.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/is-bigint.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/is-bigint.svg -[downloads-url]: https://npm-stat.com/charts.html?package=is-bigint diff --git a/node_modules/is-bigint/index.js b/node_modules/is-bigint/index.js deleted file mode 100644 index 6ce59c8ac..000000000 --- a/node_modules/is-bigint/index.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -if (typeof BigInt === 'function') { - var bigIntValueOf = BigInt.prototype.valueOf; - var tryBigInt = function tryBigIntObject(value) { - try { - bigIntValueOf.call(value); - return true; - } catch (e) { - } - return false; - }; - - module.exports = function isBigInt(value) { - if ( - value === null - || typeof value === 'undefined' - || typeof value === 'boolean' - || typeof value === 'string' - || typeof value === 'number' - || typeof value === 'symbol' - || typeof value === 'function' - ) { - return false; - } - if (typeof value === 'bigint') { - return true; - } - - return tryBigInt(value); - }; -} else { - module.exports = function isBigInt(value) { - return false && value; - }; -} diff --git a/node_modules/is-bigint/package.json b/node_modules/is-bigint/package.json deleted file mode 100644 index b2786b6a0..000000000 --- a/node_modules/is-bigint/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "is-bigint", - "version": "1.0.2", - "description": "Is this value an ES BigInt?", - "main": "index.js", - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "lint": "eslint .", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "aud --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/inspect-js/is-bigint.git" - }, - "keywords": [ - "bigint", - "es", - "integer", - "is" - ], - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/inspect-js/is-bigint/issues" - }, - "homepage": "https://github.com/inspect-js/is-bigint#readme", - "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "aud": "^1.1.5", - "auto-changelog": "^2.2.1", - "eslint": "^7.25.0", - "has-symbols": "^1.0.2", - "nyc": "^10.3.2", - "object-inspect": "^1.10.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/is-bigint/test/.eslintrc b/node_modules/is-bigint/test/.eslintrc deleted file mode 100644 index 1ac0d47b3..000000000 --- a/node_modules/is-bigint/test/.eslintrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "rules": { - "max-statements-per-line": [2, { "max": 2 }], - "no-restricted-properties": 0, - "symbol-description": 0, - } -} diff --git a/node_modules/is-bigint/test/index.js b/node_modules/is-bigint/test/index.js deleted file mode 100644 index 069f73d76..000000000 --- a/node_modules/is-bigint/test/index.js +++ /dev/null @@ -1,80 +0,0 @@ -'use strict'; - -var test = require('tape'); -var inspect = require('object-inspect'); -var isBigInt = require('..'); - -var debug = function (v, m) { return inspect(v) + ' ' + m; }; - -var forEach = function (arr, func) { - var i; - for (i = 0; i < arr.length; ++i) { - func(arr[i], i, arr); - } -}; - -var hasSymbols = require('has-symbols')(); -var hasBigInts = typeof BigInt === 'function'; - -test('non-BigInt values', function (t) { - var nonBigInts = [ - true, - false, - Object(true), - Object(false), - null, - undefined, - {}, - [], - /a/g, - 'string', - 42, - new Date(), - function () {}, - NaN - ]; - if (hasSymbols) { - nonBigInts.push(Symbol.iterator, Symbol('foo')); - } - t.plan(nonBigInts.length); - forEach(nonBigInts, function (nonBigInt) { - t.equal(false, isBigInt(nonBigInt), debug(nonBigInt, 'is not a BigInt')); - }); - t.end(); -}); - -test('faked BigInt values', function (t) { - t.test('real BigInt valueOf', { skip: !hasBigInts }, function (st) { - var fakeBigInt = { valueOf: function () { return BigInt(42); } }; - st.equal(false, isBigInt(fakeBigInt), 'object with valueOf returning a BigInt is not a BigInt'); - st.end(); - }); - - t.test('faked @@toStringTag', { skip: !hasBigInts || !hasSymbols || !Symbol.toStringTag }, function (st) { - var fakeBigInt = { valueOf: function () { return BigInt(42); } }; - fakeBigInt[Symbol.toStringTag] = 'BigInt'; - st.equal(false, isBigInt(fakeBigInt), 'object with fake BigInt @@toStringTag and valueOf returning a BigInt is not a BigInt'); - - var notSoFakeBigInt = { valueOf: function () { return 42; } }; - notSoFakeBigInt[Symbol.toStringTag] = 'BigInt'; - st.equal(false, isBigInt(notSoFakeBigInt), 'object with fake BigInt @@toStringTag and valueOf not returning a BigInt is not a BigInt'); - st.end(); - }); - - var fakeBigIntString = { toString: function () { return '42n'; } }; - t.equal(false, isBigInt(fakeBigIntString), 'object with toString returning 42n is not a BigInt'); - - t.end(); -}); - -test('BigInt support', { skip: !hasBigInts }, function (t) { - forEach([ - Function('return 42n')(), // eslint-disable-line no-new-func - BigInt(42), - Object(BigInt(42)) - ], function (bigInt) { - t.equal(true, isBigInt(bigInt), debug(bigInt, 'is a BigInt')); - }); - - t.end(); -}); diff --git a/node_modules/is-boolean-object/.editorconfig b/node_modules/is-boolean-object/.editorconfig deleted file mode 100644 index 8d93cc1d1..000000000 --- a/node_modules/is-boolean-object/.editorconfig +++ /dev/null @@ -1,22 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[.github/workflows/*.yml] -indent_style = off -indent_size = off -max_line_length = off - -[{CHANGELOG.md,*.json}] -max_line_length = off diff --git a/node_modules/is-boolean-object/.eslintignore b/node_modules/is-boolean-object/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-boolean-object/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-boolean-object/.eslintrc b/node_modules/is-boolean-object/.eslintrc deleted file mode 100644 index a0729161e..000000000 --- a/node_modules/is-boolean-object/.eslintrc +++ /dev/null @@ -1,22 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "max-nested-callbacks": [2, 3] - }, - - "overrides": [ - { - "files": "test/**", - "rules": { - "prefer-regex-literals": 0, - }, - }, - { - "files": "test-corejs.js", - "extends": "@ljharb/eslint-config/tests", - }, - ], -} diff --git a/node_modules/is-boolean-object/.github/FUNDING.yml b/node_modules/is-boolean-object/.github/FUNDING.yml deleted file mode 100644 index fd049965b..000000000 --- a/node_modules/is-boolean-object/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/is-boolean-object -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/is-boolean-object/.nycrc b/node_modules/is-boolean-object/.nycrc deleted file mode 100644 index a69aa2d82..000000000 --- a/node_modules/is-boolean-object/.nycrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "exclude": [ - "coverage", - "test", - "test-corejs.js" - ] -} diff --git a/node_modules/is-boolean-object/CHANGELOG.md b/node_modules/is-boolean-object/CHANGELOG.md deleted file mode 100644 index 25a891ad0..000000000 --- a/node_modules/is-boolean-object/CHANGELOG.md +++ /dev/null @@ -1,100 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.1.1](https://github.com/inspect-js/is-boolean-object/compare/v1.1.0...v1.1.1) - 2021-05-07 - -### Commits - -- [actions] use `node/install` instead of `node/run`; use `codecov` action [`7201c41`](https://github.com/inspect-js/is-boolean-object/commit/7201c41fc1fd9d64b51716b80fc63d95064a4a59) -- [Tests] run tests with core-js as well [`9590e61`](https://github.com/inspect-js/is-boolean-object/commit/9590e6135505e2e3f69c6d8785a539fca1b1e594) -- [meta] do not publish github action workflow files [`341472b`](https://github.com/inspect-js/is-boolean-object/commit/341472bbe9855030c7eda9340ee4284244f0a4ad) -- [readme] update repo URLs; remove travis badge [`9fdbbc6`](https://github.com/inspect-js/is-boolean-object/commit/9fdbbc64b2a70ee93fcfd95fc6c94c7ec2bbedd4) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1cd35c9`](https://github.com/inspect-js/is-boolean-object/commit/1cd35c9b9b0b4af203f20bda0d7fd60798e57f99) -- [readme] add actions and codecov badges [`03769fe`](https://github.com/inspect-js/is-boolean-object/commit/03769feb1466f03b1345882ca0e4f8cacbbce9ce) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`db6598c`](https://github.com/inspect-js/is-boolean-object/commit/db6598c4cabcd0ffd2ba9b4525b53907f8b2ff1f) -- [Fix] do not use `Object.prototype.toString` when `Symbol.toStringTag` is shammed [`e0b8a9f`](https://github.com/inspect-js/is-boolean-object/commit/e0b8a9f0fc1290a0a29c75967d56bc1c17eb8d2d) -- [readme] remove defunct testling badge [`986a621`](https://github.com/inspect-js/is-boolean-object/commit/986a6217da7385f7063e1d4e4bf5be2892d00c20) -- [meta] use `prepublishOnly` script for npm 7+ [`7bb3b29`](https://github.com/inspect-js/is-boolean-object/commit/7bb3b2902008ca07af4185ca98bc41b3222d579f) -- [Deps] update `call-bind` [`3af6a71`](https://github.com/inspect-js/is-boolean-object/commit/3af6a71e1004c79567630ac9944b9f2cc184ac77) -- [meta] do not publish corejs test file [`d911f03`](https://github.com/inspect-js/is-boolean-object/commit/d911f0368b6922645d15b9e28f3ed92e1badcef4) -- [actions] update workflows [`9bb3d90`](https://github.com/inspect-js/is-boolean-object/commit/9bb3d9015f377280324b162a3062d21936707216) - -## [v1.1.0](https://github.com/inspect-js/is-boolean-object/compare/v1.0.1...v1.1.0) - 2020-12-05 - -### Commits - -- [Tests] migrate tests to Github Actions [`6cdb652`](https://github.com/inspect-js/is-boolean-object/commit/6cdb652add3c6e44c2f7fe07c5ca4c0d14ddc2c1) -- [Tests] run `nyc` on all tests [`9a33076`](https://github.com/inspect-js/is-boolean-object/commit/9a33076d14869bf5120a6ca3903bcb9a008cf2e5) -- [Tests] add .editorconfig [`bb401c0`](https://github.com/inspect-js/is-boolean-object/commit/bb401c084416b010d64e0c5a74465b37addab31f) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`5cb2405`](https://github.com/inspect-js/is-boolean-object/commit/5cb24052ca84d840e929f05cd1fe6c03b85ec032) -- [Robustness] use `call-bind` to avoid a dependency on `.call` [`76d87ae`](https://github.com/inspect-js/is-boolean-object/commit/76d87ae74235a9995d39bcf5783c04c744c34520) -- [actions] add "Allow Edits" workflow [`337206a`](https://github.com/inspect-js/is-boolean-object/commit/337206af74bd7c340bc938ab6dc0535c08490b3d) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`11f0481`](https://github.com/inspect-js/is-boolean-object/commit/11f0481efca28a241a35d384e2a302b1bcdc9a37) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`b9602c8`](https://github.com/inspect-js/is-boolean-object/commit/b9602c8ca11be138722187c1fb0a5b25a57a4edc) -- [Dev Deps] update `auto-changelog`, `tape`; add `aud` [`999e9e2`](https://github.com/inspect-js/is-boolean-object/commit/999e9e224d4eec8b20fc9c3431e9ba42caad79c9) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`bbb6728`](https://github.com/inspect-js/is-boolean-object/commit/bbb6728b9410f9d3e2d266523a477127e5e4c16f) - -## [v1.0.1](https://github.com/inspect-js/is-boolean-object/compare/v1.0.0...v1.0.1) - 2019-12-18 - -### Commits - -- [Tests] use shared travis-ci configs [`a1778b8`](https://github.com/inspect-js/is-boolean-object/commit/a1778b81ab4fe4479176de854e4e233cc441f183) -- Update `eslint`; use my personal shared `eslint` config. [`2c42c50`](https://github.com/inspect-js/is-boolean-object/commit/2c42c50a0654044b6c7e2a4ab18227e8c275464b) -- [Tests] remove `jscs` [`3807025`](https://github.com/inspect-js/is-boolean-object/commit/380702504fabc47fe22f61c4847379023d31a657) -- [Tests] up to `node` `v8.4`, `v7.10`, `v6.11`, `v5.12`, `v4.8`; improve matrix; newer npm breaks in older node; improve scripts. [`a02b986`](https://github.com/inspect-js/is-boolean-object/commit/a02b98682b285de09e2c5a895627771d6a7f552c) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `is`, `jscs`, `nsp`, `semver`, `tape` [`d9030a9`](https://github.com/inspect-js/is-boolean-object/commit/d9030a99b8e274c76ae5f23f31d9d085a7e25272) -- Update `eslint`, `nsp` [`a1b6388`](https://github.com/inspect-js/is-boolean-object/commit/a1b6388fabd0de51a02c567953826344ef05890c) -- [Tests] up to `node` `v10.0`, `v9.11`, `v8.11`, `v6.14`, `v4.9`; use `nvm install-latest-npm` [`17a0fd3`](https://github.com/inspect-js/is-boolean-object/commit/17a0fd391e32635ec3434baca0d062f8abeeb592) -- [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16`, `v6.17` [`0b1818f`](https://github.com/inspect-js/is-boolean-object/commit/0b1818fdcaebc6133e515dfe3b5a8930b38999b5) -- [meta] remove unused Makefile and associated utilities [`33dc0ae`](https://github.com/inspect-js/is-boolean-object/commit/33dc0ae35a03e91f81b1bb3db5ba763dacadbfa2) -- Update `covert`, `jscs`, `eslint`, `semver` [`7e513c1`](https://github.com/inspect-js/is-boolean-object/commit/7e513c12998a651c14f62b3ecfb7215a5cc5ee8f) -- [Tests] up to `node` `v11.4`, `v10.14`, `v8.14`, `v6.15` [`992b849`](https://github.com/inspect-js/is-boolean-object/commit/992b84933760e0fe6ba2cee74ad7fff507f28128) -- [meta] add `auto-changelog` [`63d71b8`](https://github.com/inspect-js/is-boolean-object/commit/63d71b8beb9aeb77cab3d2db2cf643f1b8b1a55c) -- Update `tape`, `eslint`, `semver` [`76aea69`](https://github.com/inspect-js/is-boolean-object/commit/76aea699fb315ac460799182d707c388b4a4e017) -- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`a6cbec0`](https://github.com/inspect-js/is-boolean-object/commit/a6cbec09940b6f2c7cf366526a94c0c4756508f5) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `replace`, `semver`, `tape`; add `safe-publish-latest` [`7cf6bb0`](https://github.com/inspect-js/is-boolean-object/commit/7cf6bb05ba7bac504df680dd9ca625fba6dccb5a) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest` [`57d713c`](https://github.com/inspect-js/is-boolean-object/commit/57d713cca2ccbbbf1da1142ee5e8236d12551f76) -- [actions] add automatic rebasing / merge commit blocking [`f7a2bdb`](https://github.com/inspect-js/is-boolean-object/commit/f7a2bdb905e07d75c65593359f81bfeda9fe9826) -- [meta] create FUNDING.yml [`9765e73`](https://github.com/inspect-js/is-boolean-object/commit/9765e738cccdd5ff6c89b21324119a2bf4064fbd) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `is`, `replace`, `semver`, `tape` [`5c16b56`](https://github.com/inspect-js/is-boolean-object/commit/5c16b56a5a2d36c6a70c1bd396b3a6c931f655db) -- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`5717aad`](https://github.com/inspect-js/is-boolean-object/commit/5717aadd8b0e8c76ccb194d1845ad8cc120f29c6) -- [Dev Deps] update `is`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver` [`80b924d`](https://github.com/inspect-js/is-boolean-object/commit/80b924dd270188e1e928f4141078bee14d810e9b) -- [Dev Deps] update `jscs` [`2e5479e`](https://github.com/inspect-js/is-boolean-object/commit/2e5479e56b6d33288582cfe8c254ca081e79500c) -- Test up to `io.js` `v2.2` [`93379a4`](https://github.com/inspect-js/is-boolean-object/commit/93379a4b48ba719113006ab08bbe6679c8a27293) -- [Tests] remove `nsp`; use `npm audit`; allow to fail for now [`36ae30a`](https://github.com/inspect-js/is-boolean-object/commit/36ae30acffe4a892ea0882a793b8a90f09d08fdf) -- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`ef76976`](https://github.com/inspect-js/is-boolean-object/commit/ef76976db22f2867fca2ee377fdbc9da81f0d142) -- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`a1182bd`](https://github.com/inspect-js/is-boolean-object/commit/a1182bd99e5d31e113107241f0d697e71b27bf7b) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`4f79b47`](https://github.com/inspect-js/is-boolean-object/commit/4f79b474f0643fd2c9dbc863949a61cf01255b6f) -- [Tests] up to `node` `v10.3` [`5e96464`](https://github.com/inspect-js/is-boolean-object/commit/5e96464fc08eacc45f5f58fe7800ddbc45e40cea) -- [Dev Deps] update `eslint`, `nsp`, `semver`, `tape` [`e1eb3fa`](https://github.com/inspect-js/is-boolean-object/commit/e1eb3fad8bad65140db3bd2381bb3bea6a9c6242) -- Only apps should have lockfiles. [`c7f301f`](https://github.com/inspect-js/is-boolean-object/commit/c7f301ff368f9e04f7f64a2ce9b6ae1aec803e69) -- [meta] add `funding` field [`fad0366`](https://github.com/inspect-js/is-boolean-object/commit/fad03662becea5db7cef29d816d173ad771be86a) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`80d39d9`](https://github.com/inspect-js/is-boolean-object/commit/80d39d90205d3bb564acb80b0625e90c267347fd) -- [Tests] use `eclint` instead of `editorconfig-tools` [`980e91b`](https://github.com/inspect-js/is-boolean-object/commit/980e91b186a728f77366ba16b7bebc813b9cc3b0) -- [Dev Deps] Update `tape`, `eslint` [`9960830`](https://github.com/inspect-js/is-boolean-object/commit/9960830876a3672686c569fde3d43bb7983955f1) -- Test up to `io.js` `v3.0` [`a3c3cd0`](https://github.com/inspect-js/is-boolean-object/commit/a3c3cd087d7fcefbf4f3525c05f4cee3b6e5b0ef) -- [Dev Deps] update `tape` [`217fbd6`](https://github.com/inspect-js/is-boolean-object/commit/217fbd6bb2989f9304ad95cd49697da7fe03b8d5) -- [Tests] only audit prod deps [`89284ee`](https://github.com/inspect-js/is-boolean-object/commit/89284ee17dce1d044df0ca9e006072f25742bbaf) -- [Performance] only use toStringTag code path when the value has that property [`2863bc5`](https://github.com/inspect-js/is-boolean-object/commit/2863bc5b72680f05ace8e66fddcf48966b942d55) -- [Dev Deps] update `replace` [`53e72a5`](https://github.com/inspect-js/is-boolean-object/commit/53e72a5ceca5b3a82e6407829f9227df9df6d329) -- [Enhancement] slight optimization for `null` [`a90a3c4`](https://github.com/inspect-js/is-boolean-object/commit/a90a3c4464d0300e23384d96fb4281b55b7fd723) -- [Dev Deps] update `tape` [`9377bd5`](https://github.com/inspect-js/is-boolean-object/commit/9377bd5110e99d8ec550f24ef3f6ead62a8f1f50) -- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG. [`3085530`](https://github.com/inspect-js/is-boolean-object/commit/30855304841854f79e406372f524efe4bc7d8c04) -- Test on `io.js` `v2.4` [`8af335c`](https://github.com/inspect-js/is-boolean-object/commit/8af335ca82a0eeba4a0a593775e4caf744834ec4) -- Test on `io.js` `v2.3` [`1eb3424`](https://github.com/inspect-js/is-boolean-object/commit/1eb3424bef528551f5c99a754281a51d92e40ab1) - -## v1.0.0 - 2015-04-28 - -### Commits - -- Dotfiles [`6b9b998`](https://github.com/inspect-js/is-boolean-object/commit/6b9b998bb238a32d4829c9f9bf274e5ca15023ee) -- `make release` [`d5e50b3`](https://github.com/inspect-js/is-boolean-object/commit/d5e50b33a3cd8d8abe7de8ae36e2944c24ce76ba) -- package.json [`117676a`](https://github.com/inspect-js/is-boolean-object/commit/117676a48609e636d4257c1b35c695ff20939211) -- Read me [`ef327a7`](https://github.com/inspect-js/is-boolean-object/commit/ef327a74c7f73e64cfa3c20a9620ef7accf8b762) -- Initial commit [`2346886`](https://github.com/inspect-js/is-boolean-object/commit/2346886252b9637c1af6851a3fc2cbc98bc986aa) -- Tests [`67211f8`](https://github.com/inspect-js/is-boolean-object/commit/67211f8bff1a49e5df219935765b83573c097353) -- Implementation [`2d88bd6`](https://github.com/inspect-js/is-boolean-object/commit/2d88bd6e1ef0f07f5a639775eb89f3b78e12eb65) diff --git a/node_modules/is-boolean-object/LICENSE b/node_modules/is-boolean-object/LICENSE deleted file mode 100644 index b43df444e..000000000 --- a/node_modules/is-boolean-object/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/node_modules/is-boolean-object/README.md b/node_modules/is-boolean-object/README.md deleted file mode 100644 index a77f3e9df..000000000 --- a/node_modules/is-boolean-object/README.md +++ /dev/null @@ -1,57 +0,0 @@ -# is-boolean-object [![Version Badge][2]][1] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag. - -## Example - -```js -var isBoolean = require('is-boolean-object'); -var assert = require('assert'); - -assert.notOk(isBoolean(undefined)); -assert.notOk(isBoolean(null)); -assert.notOk(isBoolean('foo')); -assert.notOk(isBoolean(function () {})); -assert.notOk(isBoolean([])); -assert.notOk(isBoolean({})); -assert.notOk(isBoolean(/a/g)); -assert.notOk(isBoolean(new RegExp('a', 'g'))); -assert.notOk(isBoolean(new Date())); -assert.notOk(isBoolean(42)); -assert.notOk(isBoolean(NaN)); -assert.notOk(isBoolean(Infinity)); - -assert.ok(isBoolean(new Boolean(42))); -assert.ok(isBoolean(false)); -assert.ok(isBoolean(Object(false))); -assert.ok(isBoolean(true)); -assert.ok(isBoolean(Object(true))); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/is-boolean-object -[2]: https://versionbadg.es/inspect-js/is-boolean-object.svg -[5]: https://david-dm.org/inspect-js/is-boolean-object.svg -[6]: https://david-dm.org/inspect-js/is-boolean-object -[7]: https://david-dm.org/inspect-js/is-boolean-object/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-boolean-object#info=devDependencies -[11]: https://nodei.co/npm/is-boolean-object.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/is-boolean-object.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/is-boolean-object.svg -[downloads-url]: https://npm-stat.com/charts.html?package=is-boolean-object -[codecov-image]: https://codecov.io/gh/inspect-js/is-boolean-object/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/is-boolean-object/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-boolean-object -[actions-url]: https://github.com/inspect-js/is-boolean-object/actions diff --git a/node_modules/is-boolean-object/index.js b/node_modules/is-boolean-object/index.js deleted file mode 100644 index 0cd8e7777..000000000 --- a/node_modules/is-boolean-object/index.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var $boolToStr = callBound('Boolean.prototype.toString'); -var $toString = callBound('Object.prototype.toString'); - -var tryBooleanObject = function booleanBrandCheck(value) { - try { - $boolToStr(value); - return true; - } catch (e) { - return false; - } -}; -var boolClass = '[object Boolean]'; -var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; - -module.exports = function isBoolean(value) { - if (typeof value === 'boolean') { - return true; - } - if (value === null || typeof value !== 'object') { - return false; - } - return hasToStringTag && Symbol.toStringTag in value ? tryBooleanObject(value) : $toString(value) === boolClass; -}; diff --git a/node_modules/is-boolean-object/package.json b/node_modules/is-boolean-object/package.json deleted file mode 100644 index 6ad211285..000000000 --- a/node_modules/is-boolean-object/package.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "name": "is-boolean-object", - "version": "1.1.1", - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "description": "Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", - "license": "MIT", - "main": "index.js", - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "test": "npm run tests-only && npm run test:harmony && npm run test:corejs", - "tests-only": "nyc tape 'test/**/*.js'", - "test:harmony": "node --harmony --es-staging test", - "test:corejs": "nyc tape test-corejs.js", - "posttest": "aud --production", - "prelint": "npm run eccheck", - "lint": "eslint --ext=js,mjs .", - "eccheck": "eclint check $(git ls-files)", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/is-boolean-object.git" - }, - "keywords": [ - "Boolean", - "ES6", - "toStringTag", - "@@toStringTag", - "Boolean object", - "true", - "false", - "is-boolean" - ], - "dependencies": { - "call-bind": "^1.0.2" - }, - "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "aud": "^1.1.5", - "auto-changelog": "^2.2.1", - "core-js": "^3.12.0", - "eclint": "^2.8.1", - "eslint": "^7.25.0", - "foreach": "^2.0.5", - "indexof": "^0.0.1", - "is": "^3.3.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" - }, - "testling": { - "files": "test.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/is-boolean-object/test/index.js b/node_modules/is-boolean-object/test/index.js deleted file mode 100644 index 9ca4b34ec..000000000 --- a/node_modules/is-boolean-object/test/index.js +++ /dev/null @@ -1,48 +0,0 @@ -'use strict'; - -var test = require('tape'); -var isBoolean = require('../'); -var hasSymbols = require('has-symbols/shams')(); - -test('not Booleans', function (t) { - t.test('primitives', function (st) { - st.notOk(isBoolean(), 'undefined is not Boolean'); - st.notOk(isBoolean(null), 'null is not Boolean'); - st.notOk(isBoolean(0), '0 is not Boolean'); - st.notOk(isBoolean(NaN), 'NaN is not Boolean'); - st.notOk(isBoolean(Infinity), 'Infinity is not Boolean'); - st.notOk(isBoolean('foo'), 'string is not Boolean'); - st.end(); - }); - - t.test('objects', function (st) { - st.notOk(isBoolean(Object(42)), 'number object is not Boolean'); - st.notOk(isBoolean([]), 'array is not Boolean'); - st.notOk(isBoolean({}), 'object is not Boolean'); - st.notOk(isBoolean(function () {}), 'function is not Boolean'); - st.notOk(isBoolean(/a/g), 'regex literal is not Boolean'); - st.notOk(isBoolean(new RegExp('a', 'g')), 'regex object is not Boolean'); - st.notOk(isBoolean(new Date()), 'new Date() is not Boolean'); - st.end(); - }); - - t.end(); -}); - -test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) { - var fakeBoolean = { - toString: function () { return 'true'; }, - valueOf: function () { return true; } - }; - fakeBoolean[Symbol.toStringTag] = 'Boolean'; - t.notOk(isBoolean(fakeBoolean), 'fake Boolean with @@toStringTag "Boolean" is not Boolean'); - t.end(); -}); - -test('Booleans', function (t) { - t.ok(isBoolean(true), 'true is Boolean'); - t.ok(isBoolean(false), 'false is Boolean'); - t.ok(isBoolean(Object(true)), 'Object(true) is Boolean'); - t.ok(isBoolean(Object(false)), 'Object(false) is Boolean'); - t.end(); -}); diff --git a/node_modules/is-callable/.editorconfig b/node_modules/is-callable/.editorconfig index 462363112..f5f56790d 100644 --- a/node_modules/is-callable/.editorconfig +++ b/node_modules/is-callable/.editorconfig @@ -14,8 +14,18 @@ indent_style = space indent_size = 2 max_line_length = off +[README.md] +indent_style = off +indent_size = off +max_line_length = off + [*.json] max_line_length = off [Makefile] max_line_length = off + +[coverage*/**/*] +indent_style = off +indent_size = off +max_line_length = off diff --git a/node_modules/is-callable/.eslintignore b/node_modules/is-callable/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-callable/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-callable/.eslintrc b/node_modules/is-callable/.eslintrc index 631b8f369..ce033bfe5 100644 --- a/node_modules/is-callable/.eslintrc +++ b/node_modules/is-callable/.eslintrc @@ -5,17 +5,6 @@ "rules": { "id-length": 0, - "max-statements": [2, 14], "max-statements-per-line": [2, { "max": 2 }], - "operator-linebreak": [2, "before"], }, - - "overrides": [ - { - "files": "test/**", - "rules": { - "no-throw-literal": 0, - }, - }, - ], } diff --git a/node_modules/is-callable/.github/main.workflow b/node_modules/is-callable/.github/main.workflow deleted file mode 100644 index 04944811f..000000000 --- a/node_modules/is-callable/.github/main.workflow +++ /dev/null @@ -1,14 +0,0 @@ -workflow "Autorebase branch on merge commits" { - on = "push" - resolves = ["rebase"] -} - -workflow "Autorebase PR on merge commits" { - on = "pull_request" - resolves = ["rebase"] -} - - action "rebase" { - uses = "ljharb/rebase@latest" - secrets = ["GITHUB_TOKEN"] -} diff --git a/node_modules/is-callable/.istanbul.yml b/node_modules/is-callable/.istanbul.yml deleted file mode 100644 index 9affe0bc3..000000000 --- a/node_modules/is-callable/.istanbul.yml +++ /dev/null @@ -1,47 +0,0 @@ -verbose: false -instrumentation: - root: . - extensions: - - .js - - .jsx - default-excludes: true - excludes: [] - variable: __coverage__ - compact: true - preserve-comments: false - complete-copy: false - save-baseline: false - baseline-file: ./coverage/coverage-baseline.raw.json - include-all-sources: false - include-pid: false - es-modules: false - auto-wrap: false -reporting: - print: summary - reports: - - html - dir: ./coverage - summarizer: pkg - report-config: {} - watermarks: - statements: [50, 80] - functions: [50, 80] - branches: [50, 80] - lines: [50, 80] -hooks: - hook-run-in-context: false - post-require-hook: null - handle-sigint: false -check: - global: - statements: 100 - lines: 100 - branches: 100 - functions: 100 - excludes: [] - each: - statements: 100 - lines: 100 - branches: 100 - functions: 100 - excludes: [] diff --git a/node_modules/is-callable/.nycrc b/node_modules/is-callable/.nycrc index 1826526e0..bdd626ce9 100644 --- a/node_modules/is-callable/.nycrc +++ b/node_modules/is-callable/.nycrc @@ -2,10 +2,6 @@ "all": true, "check-coverage": false, "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, "exclude": [ "coverage", "test" diff --git a/node_modules/is-callable/CHANGELOG.md b/node_modules/is-callable/CHANGELOG.md index 6b88f5b7f..32788cda9 100644 --- a/node_modules/is-callable/CHANGELOG.md +++ b/node_modules/is-callable/CHANGELOG.md @@ -1,3 +1,67 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.2.7](https://github.com/inspect-js/is-callable/compare/v1.2.6...v1.2.7) - 2022-09-23 + +### Commits + +- [Fix] recognize `document.all` in IE 6-10 [`06c1db2`](https://github.com/inspect-js/is-callable/commit/06c1db2b9b2e0f28428e1293eb572f8f93871ec7) +- [Tests] improve logic for FF 20-35 [`0f7d9b9`](https://github.com/inspect-js/is-callable/commit/0f7d9b9c7fe149ca87e71f0a125ade251a6a578c) +- [Fix] handle `document.all` in FF 27 (and +, probably) [`696c661`](https://github.com/inspect-js/is-callable/commit/696c661b8c0810c2d05ab172f1607f4e77ddf81e) +- [Tests] fix proxy tests in FF 42-63 [`985df0d`](https://github.com/inspect-js/is-callable/commit/985df0dd36f8cfe6f1993657b7c0f4cfc19dae30) +- [readme] update tested browsers [`389e919`](https://github.com/inspect-js/is-callable/commit/389e919493b1cb2010126b0411e5291bf76169bd) +- [Fix] detect `document.all` in Opera 12.16 [`b9f1022`](https://github.com/inspect-js/is-callable/commit/b9f1022b3d7e466b7f09080bd64c253caf644325) +- [Fix] HTML elements: properly report as callable in Opera 12.16 [`17391fe`](https://github.com/inspect-js/is-callable/commit/17391fe02b895777c4337be28dca3b364b743b34) +- [Tests] fix inverted logic in FF3 test [`056ebd4`](https://github.com/inspect-js/is-callable/commit/056ebd48790f46ca18ff5b12f51b44c08ccc3595) + +## [v1.2.6](https://github.com/inspect-js/is-callable/compare/v1.2.5...v1.2.6) - 2022-09-14 + +### Commits + +- [Fix] work for `document.all` in Firefox 3 and IE 6-8 [`015132a`](https://github.com/inspect-js/is-callable/commit/015132aaef886ec777b5b3593ef4ce461dd0c7d4) +- [Test] skip function toString check for nullish values [`8698116`](https://github.com/inspect-js/is-callable/commit/8698116f95eb59df8b48ec8e4585fc1cdd8cae9f) +- [readme] add "supported engines" section [`0442207`](https://github.com/inspect-js/is-callable/commit/0442207a89a1554d41ba36daf21862ef7ccbd500) +- [Tests] skip one of the fixture objects in FF 3.6 [`a501141`](https://github.com/inspect-js/is-callable/commit/a5011410bc6edb276c6ec8b47ce5c5d83c4bee15) +- [Tests] allow `class` constructor tests to fail in FF v45 - v54, which has undetectable classes [`b12e4a4`](https://github.com/inspect-js/is-callable/commit/b12e4a4d8c438678bd7710f9f896680150766b51) +- [Fix] Safari 4: regexes should not be considered callable [`4b732ff`](https://github.com/inspect-js/is-callable/commit/4b732ffa34346db3f0193ea4e46b7d4e637e6c82) +- [Fix] properly recognize `document.all` in Safari 4 [`3193735`](https://github.com/inspect-js/is-callable/commit/319373525dc4603346661641840cd9a3e0613136) + +## [v1.2.5](https://github.com/inspect-js/is-callable/compare/v1.2.4...v1.2.5) - 2022-09-11 + +### Commits + +- [actions] reuse common workflows [`5bb4b32`](https://github.com/inspect-js/is-callable/commit/5bb4b32dc93987328ab4f396601f751c4a7abd62) +- [meta] better `eccheck` command [`b9bd597`](https://github.com/inspect-js/is-callable/commit/b9bd597322b6e3a24c74c09881ca73e1d9f9f485) +- [meta] use `npmignore` to autogenerate an npmignore file [`3192d38`](https://github.com/inspect-js/is-callable/commit/3192d38527c7fc461d05d5aa93d47628e658bc45) +- [Fix] for HTML constructors, always use `tryFunctionObject` even in pre-toStringTag browsers [`3076ea2`](https://github.com/inspect-js/is-callable/commit/3076ea21d1f6ecc1cb711dcf1da08f257892c72b) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `available-typed-arrays`, `object-inspect`, `safe-publish-latest`, `tape` [`8986746`](https://github.com/inspect-js/is-callable/commit/89867464c42adc5cd375ee074a4574b0295442cb) +- [meta] add `auto-changelog` [`7dda9d0`](https://github.com/inspect-js/is-callable/commit/7dda9d04e670a69ae566c8fa596da4ff4371e615) +- [Fix] properly report `document.all` [`da90b2b`](https://github.com/inspect-js/is-callable/commit/da90b2b68dc4f33702c2e01ad07b4f89bcb60984) +- [actions] update codecov uploader [`c8f847c`](https://github.com/inspect-js/is-callable/commit/c8f847c90e04e54ff73c7cfae86e96e94990e324) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` [`899ae00`](https://github.com/inspect-js/is-callable/commit/899ae00b6abd10d81fc8bc7f02b345fd885d5f56) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `es-value-fixtures`, `object-inspect`, `tape` [`344e913`](https://github.com/inspect-js/is-callable/commit/344e913b149609bf741aa7345fa32dc0b90d8893) +- [meta] remove greenkeeper config [`737dce5`](https://github.com/inspect-js/is-callable/commit/737dce5590b1abb16183a63cb9d7d26920b3b394) +- [meta] npmignore coverage output [`680a883`](https://github.com/inspect-js/is-callable/commit/680a8839071bf36a419fe66e1ced7a3303c27b28) + + +1.2.4 / 2021-08-05 +================= + * [Fix] use `has-tostringtag` approach to behave correctly in the presence of symbol shams + * [readme] fix repo URLs + * [readme] add actions and codecov badges + * [readme] remove defunct badges + * [meta] ignore eclint checking coverage output + * [meta] use `prepublishOnly` script for npm 7+ + * [actions] use `node/install` instead of `node/run`; use `codecov` action + * [actions] remove unused workflow file + * [Tests] run `nyc` on all tests; use `tape` runner + * [Tests] use `available-typed-arrays`, `for-each`, `has-symbols`, `object-inspect` + * [Dev Deps] update `available-typed-arrays`, `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` + 1.2.3 / 2021-01-31 ================= * [Fix] `document.all` is callable (do not use `document.all`!) diff --git a/node_modules/is-callable/README.md b/node_modules/is-callable/README.md index b5c965c47..4f2b6d6f4 100644 --- a/node_modules/is-callable/README.md +++ b/node_modules/is-callable/README.md @@ -1,6 +1,7 @@ # is-callable [![Version Badge][2]][1] -[![Build Status][3]][4] +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] @@ -8,10 +9,24 @@ [![npm badge][11]][1] -[![browser support][9]][10] - Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag. +## Supported engines +Automatically tested in every minor version of node. + +Manually tested in: + - Safari: v4 - v15 (4, 5, 5.1, 6.0.5, 6.2, 7.1, 8, 9.1.3, 10.1.2, 11.1.2, 12.1, 13.1.2, 14.1.2, 15.3, 15.6.1) + - Note: Safari 9 has `class`, but `Function.prototype.toString` hides that progeny and makes them look like functions, so `class` constructors will be reported by this package as callable, when they are not in fact callable. + - Chrome: v15 - v81, v83 - v106(every integer version) + - Note: This includes Edge v80+ and Opera v15+, which matches Chrome + - Firefox: v3, v3.6, v4 - v105 (every integer version) + - Note: v45 - v54 has `class`, but `Function.prototype.toString` hides that progeny and makes them look like functions, so `class` constructors will be reported by this package as callable, when they are not in fact callable. + - Note: in v42 - v63, `Function.prototype.toString` throws on HTML element constructors, or a Proxy to a function + - Note: in v20 - v35, HTML element constructors are not callable, despite having typeof `function`. + - Note: in v19, `document.all` is not callable. + - IE: v6 - v11(every integer version + - Opera: v11.1, v11.5, v11.6, v12.1, v12.14, v12.15, v12.16, v15+ v15+ matches Chrome + ## Example ```js @@ -52,17 +67,17 @@ npm install is-callable Simply clone the repo, `npm install`, and run `npm test` [1]: https://npmjs.org/package/is-callable -[2]: http://versionbadg.es/ljharb/is-callable.svg -[3]: https://travis-ci.org/ljharb/is-callable.svg -[4]: https://travis-ci.org/ljharb/is-callable -[5]: https://david-dm.org/ljharb/is-callable.svg -[6]: https://david-dm.org/ljharb/is-callable -[7]: https://david-dm.org/ljharb/is-callable/dev-status.svg -[8]: https://david-dm.org/ljharb/is-callable#info=devDependencies -[9]: https://ci.testling.com/ljharb/is-callable.png -[10]: https://ci.testling.com/ljharb/is-callable +[2]: https://versionbadg.es/inspect-js/is-callable.svg +[5]: https://david-dm.org/inspect-js/is-callable.svg +[6]: https://david-dm.org/inspect-js/is-callable +[7]: https://david-dm.org/inspect-js/is-callable/dev-status.svg +[8]: https://david-dm.org/inspect-js/is-callable#info=devDependencies [11]: https://nodei.co/npm/is-callable.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/is-callable.svg +[license-image]: https://img.shields.io/npm/l/is-callable.svg [license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/is-callable.svg -[downloads-url]: http://npm-stat.com/charts.html?package=is-callable +[downloads-image]: https://img.shields.io/npm/dm/is-callable.svg +[downloads-url]: https://npm-stat.com/charts.html?package=is-callable +[codecov-image]: https://codecov.io/gh/inspect-js/is-callable/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/is-callable/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-callable +[actions-url]: https://github.com/inspect-js/is-callable/actions diff --git a/node_modules/is-callable/index.js b/node_modules/is-callable/index.js index f36d71db1..f2a89f848 100644 --- a/node_modules/is-callable/index.js +++ b/node_modules/is-callable/index.js @@ -43,32 +43,59 @@ var tryFunctionObject = function tryFunctionToStr(value) { } }; var toStr = Object.prototype.toString; +var objectClass = '[object Object]'; var fnClass = '[object Function]'; var genClass = '[object GeneratorFunction]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; -/* globals document: false */ -var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {}; +var ddaClass = '[object HTMLAllCollection]'; // IE 11 +var ddaClass2 = '[object HTML document.all class]'; +var ddaClass3 = '[object HTMLCollection]'; // IE 9-10 +var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag` + +var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing + +var isDDA = function isDocumentDotAll() { return false; }; +if (typeof document === 'object') { + // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly + var all = document.all; + if (toStr.call(all) === toStr.call(document.all)) { + isDDA = function isDocumentDotAll(value) { + /* globals document: false */ + // in IE 6-8, typeof document.all is "object" and it's truthy + if ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) { + try { + var str = toStr.call(value); + return ( + str === ddaClass + || str === ddaClass2 + || str === ddaClass3 // opera 12.16 + || str === objectClass // IE 6-8 + ) && value('') == null; // eslint-disable-line eqeqeq + } catch (e) { /**/ } + } + return false; + }; + } +} module.exports = reflectApply ? function isCallable(value) { - if (value === documentDotAll) { return true; } + if (isDDA(value)) { return true; } if (!value) { return false; } if (typeof value !== 'function' && typeof value !== 'object') { return false; } - if (typeof value === 'function' && !value.prototype) { return true; } try { reflectApply(value, null, badArrayLike); } catch (e) { if (e !== isCallableMarker) { return false; } } - return !isES6ClassFn(value); + return !isES6ClassFn(value) && tryFunctionObject(value); } : function isCallable(value) { - if (value === documentDotAll) { return true; } + if (isDDA(value)) { return true; } if (!value) { return false; } if (typeof value !== 'function' && typeof value !== 'object') { return false; } - if (typeof value === 'function' && !value.prototype) { return true; } if (hasToStringTag) { return tryFunctionObject(value); } if (isES6ClassFn(value)) { return false; } var strClass = toStr.call(value); - return strClass === fnClass || strClass === genClass; + if (strClass !== fnClass && strClass !== genClass && !(/^\[object HTML/).test(strClass)) { return false; } + return tryFunctionObject(value); }; diff --git a/node_modules/is-callable/package.json b/node_modules/is-callable/package.json index fe36c0a21..aa3e8df04 100644 --- a/node_modules/is-callable/package.json +++ b/node_modules/is-callable/package.json @@ -1,6 +1,6 @@ { "name": "is-callable", - "version": "1.2.3", + "version": "1.2.7", "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com", @@ -20,27 +20,21 @@ "license": "MIT", "main": "index.js", "scripts": { - "prepublish": "safe-publish-latest", + "prepack": "npmignore --auto --commentLines=autogenerated", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", "pretest": "npm run --silent lint", - "test": "npm run --silent tests-only", - "posttest": "npx aud --production", - "tests-only": "npm run --silent test:stock && npm run --silent test:staging", - "test:stock": "node test", - "test:staging": "node --es-staging test", - "coverage": "npm run --silent istanbul", - "covert": "covert test", - "covert:quiet": "covert test --quiet", - "istanbul": "npm run --silent istanbul:clean && npm run --silent istanbul:std && npm run --silent istanbul:harmony && npm run --silent istanbul:merge && istanbul check", - "istanbul:clean": "rimraf coverage coverage-std coverage-harmony", - "istanbul:merge": "istanbul-merge --out coverage/coverage.raw.json coverage-harmony/coverage.raw.json coverage-std/coverage.raw.json && istanbul report html", - "istanbul:harmony": "node --harmony ./node_modules/istanbul/lib/cli.js cover test --dir coverage-harmony", - "istanbul:std": "istanbul cover test --report html --dir coverage-std", - "prelint": "eclint check *", - "lint": "eslint ." + "test": "npm run tests-only --", + "posttest": "aud --production", + "tests-only": "nyc tape 'test/**/*.js'", + "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", + "lint": "eslint --ext=js,mjs ." }, "repository": { "type": "git", - "url": "git://github.com/ljharb/is-callable.git" + "url": "git://github.com/inspect-js/is-callable.git" }, "keywords": [ "Function", @@ -54,22 +48,25 @@ "toStringTag", "@@toStringTag" ], - "dependencies": {}, "devDependencies": { - "@ljharb/eslint-config": "^17.5.0", - "aud": "^1.1.3", - "covert": "^1.1.1", + "@ljharb/eslint-config": "^21.0.0", + "aud": "^2.0.0", + "auto-changelog": "^2.4.0", + "available-typed-arrays": "^1.0.5", "eclint": "^2.8.1", - "eslint": "^7.19.0", - "foreach": "^2.0.5", - "istanbul": "1.1.0-alpha.1", - "istanbul-merge": "^1.1.1", + "es-value-fixtures": "^1.4.2", + "eslint": "=8.8.0", + "for-each": "^0.3.3", + "has-tostringtag": "^1.0.0", "make-arrow-function": "^1.2.0", "make-async-function": "^1.0.0", "make-generator-function": "^2.0.0", + "npmignore": "^0.3.0", + "nyc": "^10.3.2", + "object-inspect": "^1.12.2", "rimraf": "^2.7.1", - "safe-publish-latest": "^1.1.4", - "tape": "^5.1.1" + "safe-publish-latest": "^2.0.0", + "tape": "^5.6.0" }, "testling": { "files": "test/index.js", @@ -92,9 +89,18 @@ "engines": { "node": ">= 0.4" }, - "greenkeeper": { + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true, + "startingVersion": "v1.2.5" + }, + "publishConfig": { "ignore": [ - "rimraf" + ".github/workflows" ] } } diff --git a/node_modules/is-callable/test/index.js b/node_modules/is-callable/test/index.js index 2eacb0ee5..bfe5db5c5 100644 --- a/node_modules/is-callable/test/index.js +++ b/node_modules/is-callable/test/index.js @@ -1,11 +1,14 @@ 'use strict'; -/* globals Proxy */ /* eslint no-magic-numbers: 1 */ var test = require('tape'); var isCallable = require('../'); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); +var v = require('es-value-fixtures'); +var forEach = require('for-each'); +var inspect = require('object-inspect'); +var typedArrayNames = require('available-typed-arrays')(); var generators = require('make-generator-function')(); var arrows = require('make-arrow-function').list(); var asyncs = require('make-async-function').list(); @@ -15,7 +18,16 @@ try { weirdlyCommentedArrowFn = Function('return cl/*/**/=>/**/ass - 1;')(); /* eslint-enable no-new-func */ } catch (e) { /**/ } -var forEach = require('foreach'); + +var isIE68 = !(0 in [undefined]); +var isFirefox = typeof window !== 'undefined' && ('netscape' in window) && (/ rv:/).test(navigator.userAgent); +var fnToStringCoerces; +try { + Function.prototype.toString.call(v.uncoercibleFnObject); + fnToStringCoerces = true; +} catch (e) { + fnToStringCoerces = false; +} var noop = function () {}; var classFake = function classFake() { }; // eslint-disable-line func-name-matching @@ -36,11 +48,8 @@ if (typeof Proxy === 'function') { proxy(); String(proxy); } catch (_) { - // If `Reflect` is supported, then `Function.prototype.toString` isn't used for callability detection. - if (typeof Reflect !== 'object') { - // Older engines throw a `TypeError` when `Function.prototype.toString` is called on a Proxy object. - proxy = null; - } + // Older engines throw a `TypeError` when `Function.prototype.toString` is called on a Proxy object. + proxy = null; } } @@ -56,6 +65,7 @@ var invokeFunction = function invokeFunctionString(str) { }; var classConstructor = invokeFunction('"use strict"; return class Foo {}'); +var hasDetectableClasses = classConstructor && Function.prototype.toString.call(classConstructor) === 'class Foo {}'; var commentedClass = invokeFunction('"use strict"; return class/*kkk*/\n//blah\n Bar\n//blah\n {}'); var commentedClassOneLine = invokeFunction('"use strict"; return class/**/A{}'); @@ -63,46 +73,51 @@ var classAnonymous = invokeFunction('"use strict"; return class{}'); var classAnonymousCommentedOneLine = invokeFunction('"use strict"; return class/*/*/{}'); test('not callables', function (t) { - t.test('non-number/string primitives', function (st) { - st.notOk(isCallable(), 'undefined is not callable'); - st.notOk(isCallable(null), 'null is not callable'); - st.notOk(isCallable(false), 'false is not callable'); - st.notOk(isCallable(true), 'true is not callable'); - st.end(); - }); - - t.notOk(isCallable([]), 'array is not callable'); - t.notOk(isCallable({}), 'object is not callable'); - t.notOk(isCallable(/a/g), 'regex literal is not callable'); - t.notOk(isCallable(new RegExp('a', 'g')), 'regex object is not callable'); - t.notOk(isCallable(new Date()), 'new Date() is not callable'); - - t.test('numbers', function (st) { - st.notOk(isCallable(42), 'number is not callable'); - st.notOk(isCallable(Object(42)), 'number object is not callable'); - st.notOk(isCallable(NaN), 'NaN is not callable'); - st.notOk(isCallable(Infinity), 'Infinity is not callable'); - st.end(); - }); - - t.test('strings', function (st) { - st.notOk(isCallable('foo'), 'string primitive is not callable'); - st.notOk(isCallable(Object('foo')), 'string object is not callable'); - st.end(); + t.notOk(isCallable(), 'implicit undefined is not callable'); + + forEach(v.nonFunctions.concat([ + Object(42), + Object('foo'), + NaN, + [], + /a/g, + new RegExp('a', 'g'), + new Date() + ]), function (nonFunction) { + if (fnToStringCoerces && nonFunction === v.coercibleFnObject) { + t.comment('FF 3.6 has a Function toString that coerces its receiver, so this test is skipped'); + return; + } + if (nonFunction != null) { // eslint-disable-line eqeqeq + if (isFirefox) { + // Firefox 3 throws some kind of *object* here instead of a proper error + t['throws']( + function () { Function.prototype.toString.call(nonFunction); }, + inspect(nonFunction) + ' can not be used with Function toString' + ); + } else { + t['throws']( + function () { Function.prototype.toString.call(nonFunction); }, + TypeError, + inspect(nonFunction) + ' can not be used with Function toString' + ); + } + } + t.equal(isCallable(nonFunction), false, inspect(nonFunction) + ' is not callable'); }); t.test('non-function with function in its [[Prototype]] chain', function (st) { var Foo = function Bar() {}; Foo.prototype = noop; - st.equal(true, isCallable(Foo), 'sanity check: Foo is callable'); - st.equal(false, isCallable(new Foo()), 'instance of Foo is not callable'); + st.equal(isCallable(Foo), true, 'sanity check: Foo is callable'); + st.equal(isCallable(new Foo()), false, 'instance of Foo is not callable'); st.end(); }); t.end(); }); -test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) { +test('@@toStringTag', { skip: !hasToStringTag }, function (t) { var fakeFunction = { toString: function () { return String(return3); }, valueOf: return3 @@ -114,18 +129,6 @@ test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) t.end(); }); -var typedArrayNames = [ - 'Int8Array', - 'Uint8Array', - 'Uint8ClampedArray', - 'Int16Array', - 'Uint16Array', - 'Int32Array', - 'Uint32Array', - 'Float32Array', - 'Float64Array' -]; - test('Functions', function (t) { t.ok(isCallable(noop), 'function is callable'); t.ok(isCallable(classFake), 'function with name containing "class" is callable'); @@ -134,14 +137,9 @@ test('Functions', function (t) { t.end(); }); -test('Typed Arrays', function (st) { +test('Typed Arrays', { skip: typedArrayNames.length === 0 }, function (st) { forEach(typedArrayNames, function (typedArray) { - /* istanbul ignore if : covered in node 0.6 */ - if (typeof global[typedArray] === 'undefined') { - st.comment('# SKIP typed array "' + typedArray + '" not supported'); - } else { - st.ok(isCallable(global[typedArray]), typedArray + ' is callable'); - } + st.ok(isCallable(global[typedArray]), typedArray + ' is callable'); }); st.end(); }); @@ -161,7 +159,12 @@ test('Arrow functions', { skip: arrows.length === 0 }, function (t) { t.end(); }); -test('"Class" constructors', { skip: !classConstructor || !commentedClass || !commentedClassOneLine || !classAnonymous }, function (t) { +test('"Class" constructors', { + skip: !classConstructor || !commentedClass || !commentedClassOneLine || !classAnonymous, todo: !hasDetectableClasses +}, function (t) { + if (!hasDetectableClasses) { + t.comment('WARNING: This engine does not support detectable classes'); + } t.notOk(isCallable(classConstructor), 'class constructors are not callable'); t.notOk(isCallable(commentedClass), 'class constructors with comments in the signature are not callable'); t.notOk(isCallable(commentedClassOneLine), 'one-line class constructors with comments in the signature are not callable'); @@ -178,7 +181,7 @@ test('`async function`s', { skip: asyncs.length === 0 }, function (t) { }); test('proxies of functions', { skip: !proxy }, function (t) { - t.ok(isCallable(proxy), 'proxies of functions are callable'); + t.equal(isCallable(proxy), true, 'proxies of functions are callable'); t.end(); }); @@ -189,10 +192,53 @@ test('throwing functions', function (t) { t.ok(isCallable(thrower), 'a function that throws is callable'); }); -/* globals document: false */ -test('document.all', { skip: typeof document !== 'object' }, function (t) { - t.notOk(isCallable(document), 'document is not callable'); - t.ok(isCallable(document.all), 'document.all is callable'); +test('DOM', function (t) { + /* eslint-env browser */ + + t.test('document.all', { skip: typeof document !== 'object' }, function (st) { + st.notOk(isCallable(document), 'document is not callable'); + + var all = document.all; + var isFF3 = !isIE68 && Object.prototype.toString(all) === Object.prototype.toString.call(document.all); // this test is true in IE 6-8 also + var expected = false; + if (!isFF3) { + try { + expected = document.all('') == null; // eslint-disable-line eqeqeq + } catch (e) { /**/ } + } + st.equal(isCallable(document.all), expected, 'document.all is ' + (isFF3 ? 'not ' : '') + 'callable'); + + st.end(); + }); + + forEach([ + 'HTMLElement', + 'HTMLAnchorElement' + ], function (name) { + var constructor = global[name]; + + t.test(name, { skip: !constructor }, function (st) { + st.match(typeof constructor, /^(?:function|object)$/, name + ' is a function or object'); + + var callable = isCallable(constructor); + st.equal(typeof callable, 'boolean'); + + if (callable) { + st.doesNotThrow( + function () { Function.prototype.toString.call(constructor); }, + 'anything this library claims is callable should be accepted by Function toString' + ); + } else { + st['throws']( + function () { Function.prototype.toString.call(constructor); }, + TypeError, + 'anything this library claims is not callable should not be accepted by Function toString' + ); + } + + st.end(); + }); + }); t.end(); }); diff --git a/node_modules/is-date-object/.editorconfig b/node_modules/is-date-object/.editorconfig deleted file mode 100644 index bc228f826..000000000 --- a/node_modules/is-date-object/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off diff --git a/node_modules/is-date-object/.eslintignore b/node_modules/is-date-object/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-date-object/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-date-object/.eslintrc b/node_modules/is-date-object/.eslintrc deleted file mode 100644 index 1228f975c..000000000 --- a/node_modules/is-date-object/.eslintrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "max-statements": [2, 12] - } -} diff --git a/node_modules/is-date-object/.github/FUNDING.yml b/node_modules/is-date-object/.github/FUNDING.yml deleted file mode 100644 index 9cfa9fde0..000000000 --- a/node_modules/is-date-object/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/is-date-object -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/is-date-object/.jscs.json b/node_modules/is-date-object/.jscs.json deleted file mode 100644 index b4d9b8b40..000000000 --- a/node_modules/is-date-object/.jscs.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "es3": true, - - "additionalRules": [], - - "requireSemicolons": true, - - "disallowMultipleSpaces": true, - - "disallowIdentifierNames": [], - - "requireCurlyBraces": { - "allExcept": [], - "keywords": ["if", "else", "for", "while", "do", "try", "catch"] - }, - - "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"], - - "disallowSpaceAfterKeywords": [], - - "disallowSpaceBeforeComma": true, - "disallowSpaceAfterComma": false, - "disallowSpaceBeforeSemicolon": true, - - "disallowNodeTypes": [ - "DebuggerStatement", - "ForInStatement", - "LabeledStatement", - "SwitchCase", - "SwitchStatement", - "WithStatement" - ], - - "requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] }, - - "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true }, - "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, - "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, - "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, - "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true }, - - "requireSpaceBetweenArguments": true, - - "disallowSpacesInsideParentheses": true, - - "disallowSpacesInsideArrayBrackets": true, - - "disallowQuotedKeysInObjects": { "allExcept": ["reserved"] }, - - "disallowSpaceAfterObjectKeys": true, - - "requireCommaBeforeLineBreak": true, - - "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], - "requireSpaceAfterPrefixUnaryOperators": [], - - "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], - "requireSpaceBeforePostfixUnaryOperators": [], - - "disallowSpaceBeforeBinaryOperators": [], - "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], - - "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], - "disallowSpaceAfterBinaryOperators": [], - - "disallowImplicitTypeConversion": ["binary", "string"], - - "disallowKeywords": ["with", "eval"], - - "requireKeywordsOnNewLine": [], - "disallowKeywordsOnNewLine": ["else"], - - "requireLineFeedAtFileEnd": true, - - "disallowTrailingWhitespace": true, - - "disallowTrailingComma": true, - - "excludeFiles": ["node_modules/**", "vendor/**"], - - "disallowMultipleLineStrings": true, - - "requireDotNotation": { "allExcept": ["keywords"] }, - - "requireParenthesesAroundIIFE": true, - - "validateLineBreaks": "LF", - - "validateQuoteMarks": { - "escape": true, - "mark": "'" - }, - - "disallowOperatorBeforeLineBreak": [], - - "requireSpaceBeforeKeywords": [ - "do", - "for", - "if", - "else", - "switch", - "case", - "try", - "catch", - "finally", - "while", - "with", - "return" - ], - - "validateAlignedFunctionParameters": { - "lineBreakAfterOpeningBraces": true, - "lineBreakBeforeClosingBraces": true - }, - - "requirePaddingNewLinesBeforeExport": true, - - "validateNewlineAfterArrayElements": { - "maximum": 1 - }, - - "requirePaddingNewLinesAfterUseStrict": true, - - "disallowArrowFunctions": true, - - "disallowMultiLineTernary": true, - - "validateOrderInObjectKeys": "asc-insensitive", - - "disallowIdenticalDestructuringNames": true, - - "disallowNestedTernaries": { "maxLevel": 1 }, - - "requireSpaceAfterComma": { "allExcept": ["trailing"] }, - "requireAlignedMultilineParams": false, - - "requireSpacesInGenerator": { - "afterStar": true - }, - - "disallowSpacesInGenerator": { - "beforeStar": true - }, - - "disallowVar": false, - - "requireArrayDestructuring": false, - - "requireEnhancedObjectLiterals": false, - - "requireObjectDestructuring": false, - - "requireEarlyReturn": false, - - "requireCapitalizedConstructorsNew": { - "allExcept": ["Function", "String", "Object", "Symbol", "Number", "Date", "RegExp", "Error", "Boolean", "Array"] - }, - - "requireImportAlphabetized": false, - - "requireSpaceBeforeObjectValues": true, - "requireSpaceBeforeDestructuredValues": true, - - "disallowSpacesInsideTemplateStringPlaceholders": true, - - "disallowArrayDestructuringReturn": false, - - "requireNewlineBeforeSingleStatementsInIf": false, - - "disallowUnusedVariables": true, - - "requireSpacesInsideImportedObjectBraces": true, - - "requireUseStrict": true -} - diff --git a/node_modules/is-date-object/.nycrc b/node_modules/is-date-object/.nycrc deleted file mode 100644 index a69aa2d82..000000000 --- a/node_modules/is-date-object/.nycrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "exclude": [ - "coverage", - "test", - "test-corejs.js" - ] -} diff --git a/node_modules/is-date-object/CHANGELOG.md b/node_modules/is-date-object/CHANGELOG.md deleted file mode 100644 index 0f4fbbd95..000000000 --- a/node_modules/is-date-object/CHANGELOG.md +++ /dev/null @@ -1,106 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.4](https://github.com/inspect-js/is-date-object/compare/v1.0.3...v1.0.4) - 2021-05-07 - -### Commits - -- [Fix] do not use `Object.prototype.toString` when `Symbol.toStringTag` is shammed [`8943a4a`](https://github.com/inspect-js/is-date-object/commit/8943a4a5035b3f2c8cee9a5edabb55579c16983d) -- [readme] make all URLs https [`1d4d6cd`](https://github.com/inspect-js/is-date-object/commit/1d4d6cd37365c3a36f98e3f82cfe6262227437db) -- [Dev Deps] update `eslint` [`a7abeaa`](https://github.com/inspect-js/is-date-object/commit/a7abeaa2409d3a34fccebcb5b362e0b90d0a8883) - -## [v1.0.3](https://github.com/inspect-js/is-date-object/compare/v1.0.2...v1.0.3) - 2021-05-05 - -### Commits - -- [Tests] migrate tests to Github Actions [`023504f`](https://github.com/inspect-js/is-date-object/commit/023504f4d48fc8788ff52ee525a1d9ec74fa7df5) -- [readme] add actions and codecov badges [`e63305f`](https://github.com/inspect-js/is-date-object/commit/e63305f2fb9ff3eb0dab7e0716585507a4f95a75) -- [meta] do not publish github action workflow files [`017d906`](https://github.com/inspect-js/is-date-object/commit/017d90679b6b1c16b398c0157904f91f56160219) -- [Tests] run `nyc` on all tests [`0376b6f`](https://github.com/inspect-js/is-date-object/commit/0376b6fb7a0ffcc42107c3c579ba0b3ab635b9e4) -- [readme] fix repo URLs; remove defunct badges [`1c148c6`](https://github.com/inspect-js/is-date-object/commit/1c148c6cb6eb0892b3186e814df3367dabb9732d) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`c7a3f54`](https://github.com/inspect-js/is-date-object/commit/c7a3f54a207a6056ffafaa58178889ea1b1b77f7) -- [actions] add "Allow Edits" workflow [`e79b5b2`](https://github.com/inspect-js/is-date-object/commit/e79b5b25c173c3201e8b42a614d5f12c48b74a86) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`da28980`](https://github.com/inspect-js/is-date-object/commit/da28980c5fe86528585b2a420319ca8fc35f763a) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`5cabae9`](https://github.com/inspect-js/is-date-object/commit/5cabae9f00bf458a470bde68b734540b8ab78c3b) -- [readme] add actions and codecov badges [`33dfb88`](https://github.com/inspect-js/is-date-object/commit/33dfb881b7abf668cd3bf956e2947a1ece552f25) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`745eb04`](https://github.com/inspect-js/is-date-object/commit/745eb0462ef3838df65f41f4a95453cc4f0aa06e) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`466c62b`](https://github.com/inspect-js/is-date-object/commit/466c62b45af5a5a83963f6ef8617da887b0ab272) -- [actions] use checkout v2; remove unneeded env [`ff87a16`](https://github.com/inspect-js/is-date-object/commit/ff87a161e36d76d081d70933bf801a357c3b25fe) -- [Dev Deps] update `auto-changelog`, `tape` [`93188f5`](https://github.com/inspect-js/is-date-object/commit/93188f58e4b2c2b5e978a61a45380101d01f9838) -- [meta] use `prepublishOnly` script for npm 7+ [`1d0e3ea`](https://github.com/inspect-js/is-date-object/commit/1d0e3ea672971f02bb48c88b49079789ab41f574) -- [actions] update workflows [`4d1a235`](https://github.com/inspect-js/is-date-object/commit/4d1a2358de35a9fbe23a1dee10735748ed276301) -- [Dev Deps] update `auto-changelog`; add `aud` [`67be59a`](https://github.com/inspect-js/is-date-object/commit/67be59aa3c0ba44b982aaefb7e42adfb14eb279b) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`a6661c2`](https://github.com/inspect-js/is-date-object/commit/a6661c26af701a7782f6e06ad1b34587ce2b09bc) -- [Tests] only audit prod deps [`dd4a47f`](https://github.com/inspect-js/is-date-object/commit/dd4a47f8bcf82c3090826d890a7766f50d6f7af9) - -## [v1.0.2](https://github.com/inspect-js/is-date-object/compare/v1.0.1...v1.0.2) - 2019-12-18 - -### Commits - -- [Tests] use shared travis-ci configs [`8a378b8`](https://github.com/inspect-js/is-date-object/commit/8a378b8fd6a4202fffc9ec193aca02efe937bc35) -- [Tests] on all node minors; use `nvm install-latest-npm`; fix scripts; improve matrix [`6e97a21`](https://github.com/inspect-js/is-date-object/commit/6e97a21276cf448ce424fb9ea13edd4587f289f1) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `is`, `jscs`, `nsp`, `semver`, `tape` [`8472b90`](https://github.com/inspect-js/is-date-object/commit/8472b90f82e5153c22e7a8a7726a5cc6110e93d7) -- [Tests] up to `node` `v10.0`, `v9.11`, `v8.11`, `v6.14`, `v4.9` [`ae73e38`](https://github.com/inspect-js/is-date-object/commit/ae73e3890df7da0bc4449088e30340cb4df3294d) -- [meta] add `auto-changelog` [`82f8f47`](https://github.com/inspect-js/is-date-object/commit/82f8f473a6ee45e2b66810cb743e0122c18381c5) -- [meta] remove unused Makefile and associated utilities [`788a2cd`](https://github.com/inspect-js/is-date-object/commit/788a2cdfd0bc8f1903967219897f6d00c4c6a26b) -- [Tests] up to `node` `v11.4`, `v10.14`, `v8.14`, `v6.15` [`b9caf7c`](https://github.com/inspect-js/is-date-object/commit/b9caf7c814e5e2549454cb444f8b739f9ce1a388) -- [Tests] up to `node` `v12.4`, `v11.15`, `v10.15`, `v8.15`, `v6.17`; use `nvm install-latest-npm` [`cda0abc`](https://github.com/inspect-js/is-date-object/commit/cda0abc04a21c9b5ec72eabd010155c988032056) -- [Tests] up to `node` `v12.10`, `v10.16`, `v8.16` [`49bc482`](https://github.com/inspect-js/is-date-object/commit/49bc482fd9f71436b663c07144083a8423697299) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `semver`, `tape`; add `safe-publish-latest` [`f77fec4`](https://github.com/inspect-js/is-date-object/commit/f77fec48057e156b2276b4c14cf303306116b9f6) -- [actions] add automatic rebasing / merge commit blocking [`68605fc`](https://github.com/inspect-js/is-date-object/commit/68605fcb6bc0341ff0aae14a94bf5d18e1bc73be) -- [meta] create FUNDING.yml [`4f82d88`](https://github.com/inspect-js/is-date-object/commit/4f82d88e1e6ac1b97f0ce96aa0aa057ad758a581) -- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`3cbf28a`](https://github.com/inspect-js/is-date-object/commit/3cbf28a185ced940cfce8a09fa8479cc83575876) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config@`, `is`, `semver`, `tape` [`abf9fb0`](https://github.com/inspect-js/is-date-object/commit/abf9fb0d55ef0697e64e888d74f2e5fe53d7cdcb) -- [Tests] switch from `nsp` to `npm audit` [`6543c7d`](https://github.com/inspect-js/is-date-object/commit/6543c7d559d1fb79215b46c8b79e0e3e2a83f5de) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`ba5d2d7`](https://github.com/inspect-js/is-date-object/commit/ba5d2d7fc0975d7c03b8f2b7f43a09af93e365ba) -- [Dev Deps] update `eslint`, `nsp`, `semver`, `tape` [`c1e3525`](https://github.com/inspect-js/is-date-object/commit/c1e3525afa76a696f7cf1b58aab7f55d220b2c20) -- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`14e4824`](https://github.com/inspect-js/is-date-object/commit/14e4824188c85207ed3b86627b09e9f64b135db7) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest` [`68ead64`](https://github.com/inspect-js/is-date-object/commit/68ead64a07e0de282ea3cd38e12cc8b0e0f6d3cd) -- [Dev Deps] update `eslint`, semver`, `tape`, `semver` [`f55453f`](https://github.com/inspect-js/is-date-object/commit/f55453f200903277465d7e9307a9c49120a4f419) -- Only apps should have lockfiles [`6c848eb`](https://github.com/inspect-js/is-date-object/commit/6c848eba982cc58053d4cca08c01f12a433f3695) -- [Tests] remove `jscs` [`3fd3a62`](https://github.com/inspect-js/is-date-object/commit/3fd3a62121607ad074b7fc977f3fc6575b66f755) -- [Dev Deps] update `eslint`, `tape` [`77d3130`](https://github.com/inspect-js/is-date-object/commit/77d3130a0039e5dae24c17de790dd510c265edc6) -- [meta] add `funding` field [`9ef6d58`](https://github.com/inspect-js/is-date-object/commit/9ef6d5888bf829a5812b3b091dc99839d48c355e) - -## [v1.0.1](https://github.com/inspect-js/is-date-object/compare/v1.0.0...v1.0.1) - 2015-09-27 - -### Commits - -- Update `tape`, `semver`, `eslint`; use my personal shared `eslint` config. [`731aa13`](https://github.com/inspect-js/is-date-object/commit/731aa134b0b8dc84e302d0b2264a415cb456ccab) -- Update `is`, `tape`, `covert`, `jscs`, `editorconfig-tools`, `nsp`, `eslint`, `semver` [`53e43a6`](https://github.com/inspect-js/is-date-object/commit/53e43a627dd01757cf3d469599f3dffd9d72b150) -- Update `eslint` [`d2fc304`](https://github.com/inspect-js/is-date-object/commit/d2fc3046f087b0026448ffde0cf46b1f741cbd4e) -- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`c9568df`](https://github.com/inspect-js/is-date-object/commit/c9568df228fa698dc6fcc9553b5d612e7ee427aa) -- Test on latest `node` and `io.js` versions. [`a21d537`](https://github.com/inspect-js/is-date-object/commit/a21d537562166ebd18bde3a262fd157dd774ae17) -- Update `nsp`, `eslint`, `semver` [`9e1d908`](https://github.com/inspect-js/is-date-object/commit/9e1d9087c0c79c34fcb2abfc701cdfa1efcb327c) -- Update `covert`, `jscs`, `eslint`, `semver` [`f198f6b`](https://github.com/inspect-js/is-date-object/commit/f198f6b997912da10a3d821a089e1581edc730a0) -- [Dev Deps] update `tape`, `jscs`, `eslint` [`ab9bdbb`](https://github.com/inspect-js/is-date-object/commit/ab9bdbbc189cef033346508db47cd1feb04a69d3) -- If `@@toStringTag` is not present, use the old-school `Object#toString` test. [`c03afce`](https://github.com/inspect-js/is-date-object/commit/c03afce001368b29eb929900075749b113a252c8) -- [Dev Deps] update `jscs`, `nsp`, `tape`, `eslint`, `@ljharb/eslint-config` [`9d94ccb`](https://github.com/inspect-js/is-date-object/commit/9d94ccbab4160d2fa649123e37951d86b69a8b15) -- [Dev Deps] update `is`, `eslint`, `@ljharb/eslint-config`, `semver` [`35cbff7`](https://github.com/inspect-js/is-date-object/commit/35cbff7f7c8216fbb79c799f74b2336eaf0d726a) -- Test up to `io.js` `v2.3` [`be5d11e`](https://github.com/inspect-js/is-date-object/commit/be5d11e7ebd9473d7ae554179b3769082485f6f4) -- [Tests] on `io.js` `v3.3`, up to `node` `v4.1` [`20221a3`](https://github.com/inspect-js/is-date-object/commit/20221a34858d2b21e23bdc2c08df23f0bc08d11e) -- [Tests] up to `io.js` `v3.2 ` [`7009b4a`](https://github.com/inspect-js/is-date-object/commit/7009b4a9999e14eacbdf6068afd82f478473f007) -- Test on `io.js` `v2.1` [`68b29b1`](https://github.com/inspect-js/is-date-object/commit/68b29b19a07e6589a7ca37ab764be28f144ac88e) -- Remove `editorconfig-tools` [`8d3972c`](https://github.com/inspect-js/is-date-object/commit/8d3972c1795fdcfd337680e11ab610e4885fb079) -- [Dev Deps] update `tape` [`204945d`](https://github.com/inspect-js/is-date-object/commit/204945d8658a3513ca6315ddf795e4034adb4545) -- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG. [`7bff214`](https://github.com/inspect-js/is-date-object/commit/7bff214dcb2317b96219921476f990814afbb401) -- Test on `io.js` `v2.5` [`92f7bd6`](https://github.com/inspect-js/is-date-object/commit/92f7bd6747e3259b0ddc9c287876f46a9cd4c270) -- Test on `io.js` `v2.4` [`ebb34bf`](https://github.com/inspect-js/is-date-object/commit/ebb34bf1f58949768063f86ac012f1ca5d7cf6d9) -- Fix tests for faked @@toStringTag [`3b9c26c`](https://github.com/inspect-js/is-date-object/commit/3b9c26c15040af6a87f8d77ce6c85a7bef7a4304) -- Test on `io.js` `v3.0` [`5eedf4b`](https://github.com/inspect-js/is-date-object/commit/5eedf4bea76380a08813fd0977469c2480302a82) - -## v1.0.0 - 2015-01-28 - -### Commits - -- Dotfiles. [`5b6a929`](https://github.com/inspect-js/is-date-object/commit/5b6a9298c6f70882e78e66d64c9c019f85790f52) -- `make release` [`e8d40ce`](https://github.com/inspect-js/is-date-object/commit/e8d40ceca85acd0aa4b2753faa6e41c0c54cf6c3) -- package.json [`a107259`](https://github.com/inspect-js/is-date-object/commit/a1072591ea510a2998298be6cef827b123f4643f) -- Read me [`eb92695`](https://github.com/inspect-js/is-date-object/commit/eb92695664bdee8fc49891cd73aa2f41075f53cb) -- Initial commit [`4fc7755`](https://github.com/inspect-js/is-date-object/commit/4fc7755ff12f1d7a55cf841d486bf6b2350fe5a0) -- Tests. [`b6f432f`](https://github.com/inspect-js/is-date-object/commit/b6f432fb6801c5ff8d89cfec7601d59478e23dd1) -- Implementation. [`dd0fd96`](https://github.com/inspect-js/is-date-object/commit/dd0fd96c4016a66cec7cd59db0fde37c2ef3cdb5) diff --git a/node_modules/is-date-object/LICENSE b/node_modules/is-date-object/LICENSE deleted file mode 100644 index b43df444e..000000000 --- a/node_modules/is-date-object/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/node_modules/is-date-object/README.md b/node_modules/is-date-object/README.md deleted file mode 100644 index 1c084add9..000000000 --- a/node_modules/is-date-object/README.md +++ /dev/null @@ -1,52 +0,0 @@ -# is-date-object [![Version Badge][2]][1] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag. - -## Example - -```js -var isDate = require('is-date-object'); -var assert = require('assert'); - -assert.notOk(isDate(undefined)); -assert.notOk(isDate(null)); -assert.notOk(isDate(false)); -assert.notOk(isDate(true)); -assert.notOk(isDate(42)); -assert.notOk(isDate('foo')); -assert.notOk(isDate(function () {})); -assert.notOk(isDate([])); -assert.notOk(isDate({})); -assert.notOk(isDate(/a/g)); -assert.notOk(isDate(new RegExp('a', 'g'))); - -assert.ok(isDate(new Date())); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/is-date-object -[2]: https://versionbadg.es/inspect-js/is-date-object.svg -[5]: https://david-dm.org/inspect-js/is-date-object.svg -[6]: https://david-dm.org/inspect-js/is-date-object -[7]: https://david-dm.org/inspect-js/is-date-object/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-date-object#info=devDependencies -[11]: https://nodei.co/npm/is-date-object.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/is-date-object.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/is-date-object.svg -[downloads-url]: https://npm-stat.com/charts.html?package=is-date-object -[codecov-image]: https://codecov.io/gh/inspect-js/is-date-object/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/is-date-object/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-date-object -[actions-url]: https://github.com/inspect-js/is-date-object/actions diff --git a/node_modules/is-date-object/index.js b/node_modules/is-date-object/index.js deleted file mode 100644 index 996c5bb16..000000000 --- a/node_modules/is-date-object/index.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var getDay = Date.prototype.getDay; -var tryDateObject = function tryDateGetDayCall(value) { - try { - getDay.call(value); - return true; - } catch (e) { - return false; - } -}; - -var toStr = Object.prototype.toString; -var dateClass = '[object Date]'; -var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; - -module.exports = function isDateObject(value) { - if (typeof value !== 'object' || value === null) { - return false; - } - return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; -}; diff --git a/node_modules/is-date-object/package.json b/node_modules/is-date-object/package.json deleted file mode 100644 index 28c8f5c4a..000000000 --- a/node_modules/is-date-object/package.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "name": "is-date-object", - "version": "1.0.4", - "author": "Jordan Harband", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "description": "Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", - "license": "MIT", - "main": "index.js", - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "test": "npm run tests-only && npm run test:corejs", - "tests-only": "nyc tape 'test/**/*.js'", - "test:corejs": "nyc tape test-corejs.js", - "posttest": "aud --production", - "lint": "eslint .", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/is-date-object.git" - }, - "keywords": [ - "Date", - "ES6", - "toStringTag", - "@@toStringTag", - "Date object" - ], - "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "aud": "^1.1.5", - "auto-changelog": "^2.2.1", - "core-js": "^3.12.0", - "eslint": "^7.26.0", - "foreach": "^2.0.5", - "indexof": "^0.0.1", - "is": "^3.3.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/is-date-object/test/index.js b/node_modules/is-date-object/test/index.js deleted file mode 100644 index 3b2d93f5e..000000000 --- a/node_modules/is-date-object/test/index.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -var test = require('tape'); -var isDate = require('../'); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator !== 'undefined'; - -test('not Dates', function (t) { - t.notOk(isDate(), 'undefined is not Date'); - t.notOk(isDate(null), 'null is not Date'); - t.notOk(isDate(false), 'false is not Date'); - t.notOk(isDate(true), 'true is not Date'); - t.notOk(isDate(42), 'number is not Date'); - t.notOk(isDate('foo'), 'string is not Date'); - t.notOk(isDate([]), 'array is not Date'); - t.notOk(isDate({}), 'object is not Date'); - t.notOk(isDate(function () {}), 'function is not Date'); - t.notOk(isDate(/a/g), 'regex literal is not Date'); - t.notOk(isDate(new RegExp('a', 'g')), 'regex object is not Date'); - t.end(); -}); - -test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) { - var realDate = new Date(); - var fakeDate = { - toString: function () { return String(realDate); }, - valueOf: function () { return realDate.getTime(); } - }; - fakeDate[Symbol.toStringTag] = 'Date'; - t.notOk(isDate(fakeDate), 'fake Date with @@toStringTag "Date" is not Date'); - t.end(); -}); - -test('Dates', function (t) { - t.ok(isDate(new Date()), 'new Date() is Date'); - t.end(); -}); diff --git a/node_modules/is-generator-function/CHANGELOG.md b/node_modules/is-generator-function/CHANGELOG.md index 73b0fb18e..25b705ca5 100644 --- a/node_modules/is-generator-function/CHANGELOG.md +++ b/node_modules/is-generator-function/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.0.10](https://github.com/inspect-js/is-generator-function/compare/v1.0.9...v1.0.10) - 2021-08-05 + +### Commits + +- [Dev Deps] update `eslint`, `auto-changelog`, `core-js`, `tape` [`63cd935`](https://github.com/inspect-js/is-generator-function/commit/63cd9353eead5ad5eb8cf581fc4129841641bb43) +- [Fix] use `has-tostringtag` to behave correctly in the presence of symbol shams [`8c3fe76`](https://github.com/inspect-js/is-generator-function/commit/8c3fe76b546fbc5085381df65800e4fc67e25ede) +- [Dev Deps] unpin `core-js` v3 [`ebf2885`](https://github.com/inspect-js/is-generator-function/commit/ebf2885bc202b59f37e074f28951639873c6f38e) + ## [v1.0.9](https://github.com/inspect-js/is-generator-function/compare/v1.0.8...v1.0.9) - 2021-05-05 ### Fixed diff --git a/node_modules/is-generator-function/index.js b/node_modules/is-generator-function/index.js index a3873e136..9064e91fa 100644 --- a/node_modules/is-generator-function/index.js +++ b/node_modules/is-generator-function/index.js @@ -3,7 +3,7 @@ var toStr = Object.prototype.toString; var fnToStr = Function.prototype.toString; var isFnRegex = /^\s*(?:function)?\*/; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); var getProto = Object.getPrototypeOf; var getGeneratorFunc = function () { // eslint-disable-line consistent-return if (!hasToStringTag) { diff --git a/node_modules/is-generator-function/package.json b/node_modules/is-generator-function/package.json index e0234f594..d013d431e 100644 --- a/node_modules/is-generator-function/package.json +++ b/node_modules/is-generator-function/package.json @@ -1,6 +1,6 @@ { "name": "is-generator-function", - "version": "1.0.9", + "version": "1.0.10", "description": "Determine if a function is a native generator function.", "main": "index.js", "scripts": { @@ -40,16 +40,19 @@ "bugs": { "url": "https://github.com/inspect-js/is-generator-function/issues" }, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, "devDependencies": { "@ljharb/eslint-config": "^17.6.0", "aud": "^1.1.5", - "auto-changelog": "^2.2.1", - "core-js": "^2.6.5 || ^3 <3.9", - "eslint": "^7.25.0", + "auto-changelog": "^2.3.0", + "core-js": "^2.6.5 || ^3.16.0", + "eslint": "^7.32.0", "make-generator-function": "^2.0.0", "nyc": "^10.3.2", "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2", + "tape": "^5.3.0", "uglify-register": "^1.0.1" }, "testling": { diff --git a/node_modules/is-generator-function/test/index.js b/node_modules/is-generator-function/test/index.js index a7fab258b..cbaab5daf 100644 --- a/node_modules/is-generator-function/test/index.js +++ b/node_modules/is-generator-function/test/index.js @@ -5,7 +5,7 @@ var test = require('tape'); var isGeneratorFunction = require('../index'); var generatorFuncs = require('make-generator-function')(); -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); var forEach = function (arr, func) { var i; diff --git a/node_modules/is-negative-zero/.editorconfig b/node_modules/is-negative-zero/.editorconfig deleted file mode 100644 index aaac3258b..000000000 --- a/node_modules/is-negative-zero/.editorconfig +++ /dev/null @@ -1,8 +0,0 @@ -root = true - -[*] -indent_style = tab -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true diff --git a/node_modules/is-negative-zero/.eslintignore b/node_modules/is-negative-zero/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-negative-zero/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-negative-zero/.eslintrc b/node_modules/is-negative-zero/.eslintrc deleted file mode 100644 index 9079df723..000000000 --- a/node_modules/is-negative-zero/.eslintrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "max-statements": [2, 14], - "no-extra-parens": [1], - "no-magic-numbers": 0 - } -} diff --git a/node_modules/is-negative-zero/.github/workflows/node-4+.yml b/node_modules/is-negative-zero/.github/workflows/node-4+.yml deleted file mode 100644 index ba174e1d6..000000000 --- a/node_modules/is-negative-zero/.github/workflows/node-4+.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: 'Tests: node.js' - -on: [pull_request, push] - -jobs: - matrix: - runs-on: ubuntu-latest - outputs: - latest: ${{ steps.set-matrix.outputs.requireds }} - minors: ${{ steps.set-matrix.outputs.optionals }} - steps: - - uses: ljharb/actions/node/matrix@main - id: set-matrix - with: - preset: '>=4' - - latest: - needs: [matrix] - name: 'latest minors' - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.latest) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - minors: - needs: [matrix, latest] - name: 'non-latest minors' - continue-on-error: true - if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.minors) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - - node: - name: 'node 4+' - needs: [latest, minors] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/node_modules/is-negative-zero/.github/workflows/node-iojs.yml b/node_modules/is-negative-zero/.github/workflows/node-iojs.yml deleted file mode 100644 index f707c3cfc..000000000 --- a/node_modules/is-negative-zero/.github/workflows/node-iojs.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: 'Tests: node.js (io.js)' - -on: [pull_request, push] - -jobs: - matrix: - runs-on: ubuntu-latest - outputs: - latest: ${{ steps.set-matrix.outputs.requireds }} - minors: ${{ steps.set-matrix.outputs.optionals }} - steps: - - uses: ljharb/actions/node/matrix@main - id: set-matrix - with: - preset: 'iojs' - - latest: - needs: [matrix] - name: 'latest minors' - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.latest) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - skip-ls-check: true - - minors: - needs: [matrix, latest] - name: 'non-latest minors' - continue-on-error: true - if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.minors) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - skip-ls-check: true - - node: - name: 'io.js' - needs: [latest, minors] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/node_modules/is-negative-zero/.github/workflows/node-pretest.yml b/node_modules/is-negative-zero/.github/workflows/node-pretest.yml deleted file mode 100644 index 3921e0ae6..000000000 --- a/node_modules/is-negative-zero/.github/workflows/node-pretest.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: 'Tests: pretest/posttest' - -on: [pull_request, push] - -jobs: - pretest: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run pretest' - with: - node-version: 'lts/*' - command: 'pretest' - - posttest: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run posttest' - with: - node-version: 'lts/*' - command: 'posttest' diff --git a/node_modules/is-negative-zero/.github/workflows/node-zero.yml b/node_modules/is-negative-zero/.github/workflows/node-zero.yml deleted file mode 100644 index 2435bf2cc..000000000 --- a/node_modules/is-negative-zero/.github/workflows/node-zero.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: 'Tests: node.js (0.x)' - -on: [pull_request, push] - -jobs: - matrix: - runs-on: ubuntu-latest - outputs: - stable: ${{ steps.set-matrix.outputs.requireds }} - unstable: ${{ steps.set-matrix.outputs.optionals }} - steps: - - uses: ljharb/actions/node/matrix@main - id: set-matrix - with: - preset: '0.x' - - stable: - needs: [matrix] - name: 'stable minors' - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.stable) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }} - skip-ls-check: true - - unstable: - needs: [matrix, stable] - name: 'unstable minors' - continue-on-error: true - if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.matrix.outputs.unstable) }} - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/actions/node/run@main - name: 'npm install && npm run tests-only' - with: - node-version: ${{ matrix.node-version }} - command: 'tests-only' - cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }} - skip-ls-check: true - - node: - name: 'node 0.x' - needs: [stable, unstable] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/node_modules/is-negative-zero/.github/workflows/rebase.yml b/node_modules/is-negative-zero/.github/workflows/rebase.yml deleted file mode 100644 index 027aed079..000000000 --- a/node_modules/is-negative-zero/.github/workflows/rebase.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Automatic Rebase - -on: [pull_request_target] - -jobs: - _: - name: "Automatic Rebase" - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: ljharb/rebase@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/node_modules/is-negative-zero/.github/workflows/require-allow-edits.yml b/node_modules/is-negative-zero/.github/workflows/require-allow-edits.yml deleted file mode 100644 index 549d7b482..000000000 --- a/node_modules/is-negative-zero/.github/workflows/require-allow-edits.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Require “Allow Edits” - -on: [pull_request_target] - -jobs: - _: - name: "Require “Allow Edits”" - - runs-on: ubuntu-latest - - steps: - - uses: ljharb/require-allow-edits@main diff --git a/node_modules/is-negative-zero/.nycrc b/node_modules/is-negative-zero/.nycrc deleted file mode 100644 index 1826526e0..000000000 --- a/node_modules/is-negative-zero/.nycrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/is-negative-zero/CHANGELOG.md b/node_modules/is-negative-zero/CHANGELOG.md deleted file mode 100644 index 71d9b9a94..000000000 --- a/node_modules/is-negative-zero/CHANGELOG.md +++ /dev/null @@ -1,117 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v2.0.1](https://github.com/inspect-js/is-negative-zero/compare/v2.0.0...v2.0.1) - 2020-12-04 - -### Commits - -- [Tests] use shared travis-ci configs [`5b92482`](https://github.com/inspect-js/is-negative-zero/commit/5b92482ed26e55e1aafcc6b6310d279958af8204) -- [Tests] up to `node` `v11.7`, `v10.15`, `v9.11`, `v8.15`, `v7.10`, `v6.16`, `v5.12`, `v4.9`; use `nvm install-latest-npm`; fix test scripts [`0f5d2f8`](https://github.com/inspect-js/is-negative-zero/commit/0f5d2f85ea7fe83de47f39b6b35e489b866d88a7) -- [Tests] migrate tests to Github Actions [`b80f05a`](https://github.com/inspect-js/is-negative-zero/commit/b80f05adb11a6a3232860fb50272b101aacb504f) -- [Tests] remove `jscs` [`7ccaf41`](https://github.com/inspect-js/is-negative-zero/commit/7ccaf4100281b614d61d7c9122e6f87943a89295) -- [meta] add missing changelog [`992bdde`](https://github.com/inspect-js/is-negative-zero/commit/992bddee362cbae71f2cdfd8666f4774b252412e) -- [readme] fix repo URLs; remove defunct badges [`80fd18d`](https://github.com/inspect-js/is-negative-zero/commit/80fd18d2b0191321afe0e1b572200e4c025eb664) -- [Tests] run `nyc` on all tests [`df26f14`](https://github.com/inspect-js/is-negative-zero/commit/df26f14b0b854d82b0d3ca7b4949811c9f151357) -- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`d7723aa`](https://github.com/inspect-js/is-negative-zero/commit/d7723aa70e5b478adc36d98e1338abe741c1906a) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`9fdaabe`](https://github.com/inspect-js/is-negative-zero/commit/9fdaabecfdb25e6e860e5007a91b60ee0f20734f) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`f07eeb2`](https://github.com/inspect-js/is-negative-zero/commit/f07eeb2740037c53f270e95d2f62edc051cafc56) -- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`bd5c751`](https://github.com/inspect-js/is-negative-zero/commit/bd5c751fa4850ba8726dc1c197ed6c843a227b05) -- [actions] add automatic rebasing / merge commit blocking [`5666a91`](https://github.com/inspect-js/is-negative-zero/commit/5666a917db6bdcee63c0a3e28e5e281359975abc) -- [meta] add `auto-changelog` [`f70fb2b`](https://github.com/inspect-js/is-negative-zero/commit/f70fb2b5b9ea53dc52729310717553648292189e) -- [actions] add "Allow Edits" workflow [`2b040a8`](https://github.com/inspect-js/is-negative-zero/commit/2b040a87d362f17d8cab2b0d48058b80e426ad4e) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`; add `safe-publish-latest` [`09e2e53`](https://github.com/inspect-js/is-negative-zero/commit/09e2e537390225c1d1a6912be64267eaec6ea367) -- [Tests] use `npm audit` instead of `nsp` [`7df2669`](https://github.com/inspect-js/is-negative-zero/commit/7df2669013ac9328d424e9d8c82a53a0458f0888) -- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`4ff97c5`](https://github.com/inspect-js/is-negative-zero/commit/4ff97c5891c7a241a91c03fb54bd83e78570ef22) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`9e8cb7b`](https://github.com/inspect-js/is-negative-zero/commit/9e8cb7bca46d325ecf202187c0fde7da8722bcab) -- [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config`, `nsp` [`70b9888`](https://github.com/inspect-js/is-negative-zero/commit/70b988802a99c84ab7eb8da287bb8ff0efc5c055) -- [Dev Deps] update `jscs` [`59d0c42`](https://github.com/inspect-js/is-negative-zero/commit/59d0c42131020b74e68fd444798b9a3bf247fb2d) -- Add `npm run security` [`eb418ed`](https://github.com/inspect-js/is-negative-zero/commit/eb418ed7e79216808c206388fbd360cc7a75655f) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`86a758d`](https://github.com/inspect-js/is-negative-zero/commit/86a758d42eb7d17a18f7f584c337d8820b842758) -- Only apps should have lockfiles [`a0ab621`](https://github.com/inspect-js/is-negative-zero/commit/a0ab6215590bf6adb3eaf1ff9e7c036d72e807ec) -- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`5c51349`](https://github.com/inspect-js/is-negative-zero/commit/5c513498fc5a8b2fd06f5e0c1b38b8e93c3477ac) -- [meta] add `funding` field [`1d0b2f4`](https://github.com/inspect-js/is-negative-zero/commit/1d0b2f43bf5bf75176859a440346b3e338ee510e) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`9b12367`](https://github.com/inspect-js/is-negative-zero/commit/9b12367706f1c269a3df406c8e2c211558671a15) -- [Dev Deps] update `auto-changelog`, `tape` [`6d98b8d`](https://github.com/inspect-js/is-negative-zero/commit/6d98b8d1f512c3844d4062215c793070084d1164) -- [Dev Deps] Update `tape`, `eslint` [`a258cdb`](https://github.com/inspect-js/is-negative-zero/commit/a258cdb86691725482d1d43a1f9e7953c3c6733f) -- [Dev Deps] update `auto-changelog`; add `aud` [`2ca2afb`](https://github.com/inspect-js/is-negative-zero/commit/2ca2afb9efef4ebc8b3c19046ab1ab3ad516ea9a) -- Test up to `io.js` `v3.0` [`1254ae8`](https://github.com/inspect-js/is-negative-zero/commit/1254ae80b7706616331ac914654d7a17bff31039) -- [Dev Deps] update `auto-changelog` [`4b54722`](https://github.com/inspect-js/is-negative-zero/commit/4b547228fceaae8f9eccabc9ad8a49046492348d) -- [Tests] only audit prod deps [`86d298b`](https://github.com/inspect-js/is-negative-zero/commit/86d298b56db90f81617ee5d942476eda34afb374) -- [Dev Deps] update `tape` [`3a47e27`](https://github.com/inspect-js/is-negative-zero/commit/3a47e2730f889539f666ef0eb09a93fb9c80bfd1) -- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG. [`128d9bd`](https://github.com/inspect-js/is-negative-zero/commit/128d9bd4c12385fb5e478ac3dd3138fa4360a777) - -## [v2.0.0](https://github.com/inspect-js/is-negative-zero/compare/v1.0.0...v2.0.0) - 2015-07-24 - -### Commits - -- Update `tape`, `eslint`; use my personal shared `eslint` config. [`648d002`](https://github.com/inspect-js/is-negative-zero/commit/648d0029b177886428a11b07307f233ae2d3175b) -- Add `npm run eslint` [`5a52d80`](https://github.com/inspect-js/is-negative-zero/commit/5a52d80ab052e377044b9b181991a32afaaa3090) -- Using my standard jscs.json file [`5a667d9`](https://github.com/inspect-js/is-negative-zero/commit/5a667d9f8b7402ca3bd134080cd4435b5c7f1462) -- Adding `npm run lint` [`9a85ed9`](https://github.com/inspect-js/is-negative-zero/commit/9a85ed934da65d8733a38bf6ad3c89fd62115194) -- Update `tape`, `covert`, `jscs` [`c6cd3a6`](https://github.com/inspect-js/is-negative-zero/commit/c6cd3a64ea5b98100e10537549f50a9eeadc30ec) -- Update `eslint` [`e9c9b6e`](https://github.com/inspect-js/is-negative-zero/commit/e9c9b6e9623f021b7f3ae4091bf9ea2571ab02b4) -- Test on latest `io.js` [`2f7c8a9`](https://github.com/inspect-js/is-negative-zero/commit/2f7c8a9d174066400c072841d7bcf02cf90f8ebf) -- Adding license and downloads badges [`717087a`](https://github.com/inspect-js/is-negative-zero/commit/717087a013b4cfc9dc7847d3d4a64faf19341be4) -- Remove Number type coercion. [`481295d`](https://github.com/inspect-js/is-negative-zero/commit/481295dbd09dbf81d196dc77382f1b92f534de3f) -- Test up to `io.js` `v2.1` [`139a84a`](https://github.com/inspect-js/is-negative-zero/commit/139a84a3dbdec29682044c6e7ac884a7382ae6e1) -- Update `eslint` [`2f5fbfb`](https://github.com/inspect-js/is-negative-zero/commit/2f5fbfbc436ccd8676fc36fcd9f0edcdda33a1e7) -- Update `eslint` [`53cb4c5`](https://github.com/inspect-js/is-negative-zero/commit/53cb4c5eccecdf2d874e78e5c38cca762ed76a9d) -- Test on `io.js` `v2.2` [`98a1824`](https://github.com/inspect-js/is-negative-zero/commit/98a1824c86366f8a03cf303f46acecd67409f94b) -- All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`. [`772d6cd`](https://github.com/inspect-js/is-negative-zero/commit/772d6cdf397e6fc1b26e5ed5f279d07a5ead6df8) -- Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. [`3e6147e`](https://github.com/inspect-js/is-negative-zero/commit/3e6147ebb5ecdfda4a2bffa441572fe017c7bb73) -- Use SVG badges instead of PNG [`d986cb4`](https://github.com/inspect-js/is-negative-zero/commit/d986cb450e5bd4f373041255b69e18f47c252a1e) -- Update `tape`, `jscs` [`9f9d7e7`](https://github.com/inspect-js/is-negative-zero/commit/9f9d7e751bcf4ceeed8e36e75e31d29c76326b3f) -- Update `jscs` [`079eaf6`](https://github.com/inspect-js/is-negative-zero/commit/079eaf699d53e7e32c54e5233259a00f5f494d9a) -- Update `tape`, `jscs` [`cffe3fc`](https://github.com/inspect-js/is-negative-zero/commit/cffe3fc17c6bfaa6996bf7402446b160631a04b3) -- Update `tape`, `jscs` [`3a16616`](https://github.com/inspect-js/is-negative-zero/commit/3a166165ae8770d59c296794d28547379cebec58) -- Use consistent quotes [`9509a81`](https://github.com/inspect-js/is-negative-zero/commit/9509a8110027b12c5762ba48d03b649a921847d5) -- Test on `io.js` `v2.4` [`a9150a3`](https://github.com/inspect-js/is-negative-zero/commit/a9150a3397db339d992e9e4e6ddb52d1237fd617) -- Test on `io.js` `v2.3` [`36d7acf`](https://github.com/inspect-js/is-negative-zero/commit/36d7acf5bb9193a2b35585e2c49ae8be9f45a55e) -- Lock covert to v1.0.0. [`29d8917`](https://github.com/inspect-js/is-negative-zero/commit/29d89171c3aad69ace372edbf641ec3a5468c760) -- Updating jscs [`fe09c8a`](https://github.com/inspect-js/is-negative-zero/commit/fe09c8a6d16c637ecd83a9a8a7f6192faef0754a) -- Updating jscs [`5877bc7`](https://github.com/inspect-js/is-negative-zero/commit/5877bc7c2ed44c1ecc5d31e1c484c523450722d8) -- Running linter as part of tests [`9e77756`](https://github.com/inspect-js/is-negative-zero/commit/9e777563905f511d915ec7257e2637811b911bd6) -- Updating covert [`520a695`](https://github.com/inspect-js/is-negative-zero/commit/520a695164465b88c76860a638baafd4192bce5c) - -## [v1.0.0](https://github.com/inspect-js/is-negative-zero/compare/v0.1.1...v1.0.0) - 2014-08-08 - -### Commits - -- Updating tape [`31d1942`](https://github.com/inspect-js/is-negative-zero/commit/31d19422ecd9d453677851a9d5a8d9372a16fb39) -- Updating tape [`e7143bf`](https://github.com/inspect-js/is-negative-zero/commit/e7143bf3b67d8881b1b6ee0444637647d7bb1d2b) - -## [v0.1.1](https://github.com/inspect-js/is-negative-zero/compare/v0.1.0...v0.1.1) - 2014-05-13 - -### Merged - -- Simplify code [`#1`](https://github.com/inspect-js/is-negative-zero/pull/1) - -### Commits - -- Adding a trailing newline [`61fb37f`](https://github.com/inspect-js/is-negative-zero/commit/61fb37f677e871cca53d9309e765d808ddddfd5a) - -## [v0.1.0](https://github.com/inspect-js/is-negative-zero/compare/v0.0.0...v0.1.0) - 2014-05-13 - -### Commits - -- Make sure old and unstable nodes don't break Travis [`f627215`](https://github.com/inspect-js/is-negative-zero/commit/f627215527a95dc1ca014600650e00f15fe122c5) -- Updating deps [`b502f48`](https://github.com/inspect-js/is-negative-zero/commit/b502f48e807d7671cb07e2ca247ae2daa62e4165) -- Oops, negative numbers were negative zero! [`746cb97`](https://github.com/inspect-js/is-negative-zero/commit/746cb975d82c0fa0c5058e8e031807f9afcfd6db) -- Updating covert [`99ef4ed`](https://github.com/inspect-js/is-negative-zero/commit/99ef4ed97d2f76f2a5afbef029bf794f1b5bcffa) -- Updating tape [`ee9cfc2`](https://github.com/inspect-js/is-negative-zero/commit/ee9cfc2fd0039bdb65b6493ce0b8e47d18aa17cd) -- Testing on node 0.6 again [`6a9bf0a`](https://github.com/inspect-js/is-negative-zero/commit/6a9bf0a09e210cca09c7a8a225d08ef1e6789b5a) - -## v0.0.0 - 2014-01-19 - -### Commits - -- package.json [`8411d92`](https://github.com/inspect-js/is-negative-zero/commit/8411d92ec787fd522a1b5e65154ae88e9024a23f) -- read me [`5c8bf3c`](https://github.com/inspect-js/is-negative-zero/commit/5c8bf3ce4867dbf2997ef01ea6b712aa294ec959) -- Initial commit [`c06f7dc`](https://github.com/inspect-js/is-negative-zero/commit/c06f7dcf926f5b35ba678787a0f16cdd7b544054) -- Tests. [`5c554d4`](https://github.com/inspect-js/is-negative-zero/commit/5c554d405bfb323a7413fde395d8dc39c5316356) -- Travis CI [`334d000`](https://github.com/inspect-js/is-negative-zero/commit/334d000941fc926493cc7dbdb4e5f7ae481a311b) -- Implementation. [`4ef4491`](https://github.com/inspect-js/is-negative-zero/commit/4ef449189c36d471d283e40aa20a8ebfa4985882) diff --git a/node_modules/is-negative-zero/LICENSE b/node_modules/is-negative-zero/LICENSE deleted file mode 100644 index 47b7b5078..000000000 --- a/node_modules/is-negative-zero/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/is-negative-zero/README.md b/node_modules/is-negative-zero/README.md deleted file mode 100644 index b60b4d36f..000000000 --- a/node_modules/is-negative-zero/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# is-negative-zero [![Version Badge][2]][1] - -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Is this value negative zero? === will lie to you. - -## Example - -```js -var isNegativeZero = require('is-negative-zero'); -var assert = require('assert'); - -assert.notOk(isNegativeZero(undefined)); -assert.notOk(isNegativeZero(null)); -assert.notOk(isNegativeZero(false)); -assert.notOk(isNegativeZero(true)); -assert.notOk(isNegativeZero(0)); -assert.notOk(isNegativeZero(42)); -assert.notOk(isNegativeZero(Infinity)); -assert.notOk(isNegativeZero(-Infinity)); -assert.notOk(isNegativeZero(NaN)); -assert.notOk(isNegativeZero('foo')); -assert.notOk(isNegativeZero(function () {})); -assert.notOk(isNegativeZero([])); -assert.notOk(isNegativeZero({})); - -assert.ok(isNegativeZero(-0)); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/is-negative-zero -[2]: http://versionbadg.es/inspect-js/is-negative-zero.svg -[3]: https://travis-ci.org/inspect-js/is-negative-zero.svg -[4]: https://travis-ci.org/inspect-js/is-negative-zero -[5]: https://david-dm.org/inspect-js/is-negative-zero.svg -[6]: https://david-dm.org/inspect-js/is-negative-zero -[7]: https://david-dm.org/inspect-js/is-negative-zero/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-negative-zero#info=devDependencies -[11]: https://nodei.co/npm/is-negative-zero.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/is-negative-zero.svg -[license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/is-negative-zero.svg -[downloads-url]: http://npm-stat.com/charts.html?package=is-negative-zero - diff --git a/node_modules/is-negative-zero/index.js b/node_modules/is-negative-zero/index.js deleted file mode 100644 index 400e5d1f4..000000000 --- a/node_modules/is-negative-zero/index.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -module.exports = function isNegativeZero(number) { - return number === 0 && (1 / number) === -Infinity; -}; - diff --git a/node_modules/is-negative-zero/package.json b/node_modules/is-negative-zero/package.json deleted file mode 100644 index ca5fdc4b1..000000000 --- a/node_modules/is-negative-zero/package.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "name": "is-negative-zero", - "version": "2.0.1", - "description": "Is this value negative zero? === will lie to you", - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "main": "index.js", - "scripts": { - "prepublish": "safe-publish-latest", - "pretest": "npm run lint", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/**/*.js'", - "posttest": "npx aud --production", - "lint": "eslint .", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/is-negative-zero.git" - }, - "bugs": { - "url": "https://github.com/inspect-js/is-negative-zero/issues" - }, - "homepage": "https://github.com/inspect-js/is-negative-zero", - "keywords": [ - "is", - "negative", - "zero", - "negative zero", - "number", - "positive", - "0", - "-0" - ], - "dependencies": {}, - "devDependencies": { - "@ljharb/eslint-config": "^17.3.0", - "aud": "^1.1.3", - "auto-changelog": "^2.2.1", - "eslint": "^7.14.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.0.1" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..12.0", - "opera/15.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/is-negative-zero/test/index.js b/node_modules/is-negative-zero/test/index.js deleted file mode 100644 index 8fd7d16bf..000000000 --- a/node_modules/is-negative-zero/test/index.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var test = require('tape'); -var isNegativeZero = require('../'); - -test('not negative zero', function (t) { - t.notOk(isNegativeZero(), 'undefined is not negative zero'); - t.notOk(isNegativeZero(null), 'null is not negative zero'); - t.notOk(isNegativeZero(false), 'false is not negative zero'); - t.notOk(isNegativeZero(true), 'true is not negative zero'); - t.notOk(isNegativeZero(0), 'positive zero is not negative zero'); - t.notOk(isNegativeZero(Infinity), 'Infinity is not negative zero'); - t.notOk(isNegativeZero(-Infinity), '-Infinity is not negative zero'); - t.notOk(isNegativeZero(NaN), 'NaN is not negative zero'); - t.notOk(isNegativeZero('foo'), 'string is not negative zero'); - t.notOk(isNegativeZero([]), 'array is not negative zero'); - t.notOk(isNegativeZero({}), 'object is not negative zero'); - t.notOk(isNegativeZero(function () {}), 'function is not negative zero'); - t.notOk(isNegativeZero(-1), '-1 is not negative zero'); - - t.end(); -}); - -test('negative zero', function (t) { - t.ok(isNegativeZero(-0), 'negative zero is negative zero'); - t.end(); -}); - diff --git a/node_modules/is-number-object/.editorconfig b/node_modules/is-number-object/.editorconfig deleted file mode 100644 index bc228f826..000000000 --- a/node_modules/is-number-object/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off diff --git a/node_modules/is-number-object/.eslintignore b/node_modules/is-number-object/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-number-object/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-number-object/.eslintrc b/node_modules/is-number-object/.eslintrc deleted file mode 100644 index a6dec9472..000000000 --- a/node_modules/is-number-object/.eslintrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "func-name-matching": 0, - }, -} diff --git a/node_modules/is-number-object/.github/FUNDING.yml b/node_modules/is-number-object/.github/FUNDING.yml deleted file mode 100644 index 17f4dc55d..000000000 --- a/node_modules/is-number-object/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/is-number-object -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/is-number-object/.nycrc b/node_modules/is-number-object/.nycrc deleted file mode 100644 index bdd626ce9..000000000 --- a/node_modules/is-number-object/.nycrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/is-number-object/CHANGELOG.md b/node_modules/is-number-object/CHANGELOG.md deleted file mode 100644 index d6954eb12..000000000 --- a/node_modules/is-number-object/CHANGELOG.md +++ /dev/null @@ -1,105 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.5](https://github.com/inspect-js/is-number-object/compare/v1.0.4...v1.0.5) - 2021-05-07 - -### Commits - -- [Tests] migrate tests to Github Actions [`9666737`](https://github.com/inspect-js/is-number-object/commit/96667372f8e36f70516218f86318f957f8c175ad) -- [actions] use `node/install` instead of `node/run`; use `codecov` action [`7815ce2`](https://github.com/inspect-js/is-number-object/commit/7815ce21cb5662c2d1651b3ec302f186aa8a016b) -- [meta] do not publish github action workflow files [`80ccb75`](https://github.com/inspect-js/is-number-object/commit/80ccb7509f91732675b018cc1a636d649a92889e) -- [Tests] run `nyc` on all tests [`c9ffb74`](https://github.com/inspect-js/is-number-object/commit/c9ffb74443690ef22f9aa7dd35855fd1e3be5184) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`7e84161`](https://github.com/inspect-js/is-number-object/commit/7e84161d089c87ef42e3639ac1889642624ebd28) -- [readme] add actions and codecov badges [`0c5ec7a`](https://github.com/inspect-js/is-number-object/commit/0c5ec7aa87dac27bdcda2365124c3aa0ccf9c278) -- [actions] add Require Allow Edits workflow [`dd0fb74`](https://github.com/inspect-js/is-number-object/commit/dd0fb74b2ecb630ea7778a6f06dcc017323a3c1d) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbols`, `tape` [`2d36f80`](https://github.com/inspect-js/is-number-object/commit/2d36f809a7b9896958b0b0f3b69be0067caedb45) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`77d3140`](https://github.com/inspect-js/is-number-object/commit/77d3140557d483e467ce070b21bf384e9a7562d5) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`75d4abf`](https://github.com/inspect-js/is-number-object/commit/75d4abf34168e69d73f621c696a16179ddc0873c) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`0c2a917`](https://github.com/inspect-js/is-number-object/commit/0c2a917e4802b102888759fad912bd9faa5587f7) -- [Fix] do not use `Object.prototype.toString` when `Symbol.toStringTag` is shammed [`8b6ebc4`](https://github.com/inspect-js/is-number-object/commit/8b6ebc489db14a0c369214e081413f326fc0d598) -- [Dev Deps] update `auto-changelog`, `tape`; add `aud` [`62045fc`](https://github.com/inspect-js/is-number-object/commit/62045fcaddb9e4d3ef81068e99d07d21cd62023b) -- [actions] use checkout v2; remove unneeded env [`d48cd06`](https://github.com/inspect-js/is-number-object/commit/d48cd06720ea71f278a6d35c6f0a8ec04242a58f) -- [meta] use `prepublishOnly` script for npm 7+ [`827ab0d`](https://github.com/inspect-js/is-number-object/commit/827ab0d52d25f46d232ae7442ece270dec2de1df) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`bfed500`](https://github.com/inspect-js/is-number-object/commit/bfed500e6cc3cd3b9e7ffea78429c59857035791) -- [meta] remove explicit audit level config [`ce23e5e`](https://github.com/inspect-js/is-number-object/commit/ce23e5e49fbebe190267d8c99ddfd880a963b7ee) -- [meta] gitignore coverage output [`f1ad981`](https://github.com/inspect-js/is-number-object/commit/f1ad98106549c1c88322d8cb206068ea4c5bd424) - -## [v1.0.4](https://github.com/inspect-js/is-number-object/compare/v1.0.3...v1.0.4) - 2019-12-18 - -### Commits - -- [Tests] use shared travis-ci configs [`792b5aa`](https://github.com/inspect-js/is-number-object/commit/792b5aa5e7313ddf5507f7283bb7d5d5c646b11b) -- [Tests] up to `node` `v12.4`, `v11.15`, `v10.15`, `v9.11`, `v8.15`, `v7.10`, `v6.17`, `v5.12`, `v4.9`; use `nvm install-latest-npm` [`dc66db7`](https://github.com/inspect-js/is-number-object/commit/dc66db7dd1eca0263f6602597eb40601519e912e) -- Update `eslint`, `tape`, `semver`; use my personal shared `eslint` config [`7660fed`](https://github.com/inspect-js/is-number-object/commit/7660fed03a7060eb5c91e74b9a17303d4fac1056) -- [Tests] remove `jscs` [`f1fee97`](https://github.com/inspect-js/is-number-object/commit/f1fee97423478bcc653c844fadda55138d9b9a54) -- [meta] add `auto-changelog` [`4b1c225`](https://github.com/inspect-js/is-number-object/commit/4b1c2253770eb18761a1e8b157772028d6f742c4) -- [meta] remove unused Makefile and associated utilities [`379b979`](https://github.com/inspect-js/is-number-object/commit/379b9793d9c61d7889e53bd9de9578dca9964ebc) -- Update `covert`, `jscs`, `eslint`, `semver` [`16d2af8`](https://github.com/inspect-js/is-number-object/commit/16d2af82a6c93aee614f7a4b2c468411c743e95f) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `is`, `replace`, `semver`, `tape` [`21c0f04`](https://github.com/inspect-js/is-number-object/commit/21c0f0431984b87443c6acb9f003368feb7b4368) -- Update `is`, `tape`, `covert`, `jscs`, `editorconfig-tools`, `nsp`, `eslint`, `semver`. Add `replace`. Use `^` instead of `~`. [`19d6ee3`](https://github.com/inspect-js/is-number-object/commit/19d6ee3a3d4a87764d57316804fd8b882ba5197c) -- Update `eslint` [`d32754b`](https://github.com/inspect-js/is-number-object/commit/d32754bcca0033e01eba531c4353d1239e992203) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `replace` [`1df8165`](https://github.com/inspect-js/is-number-object/commit/1df8165dd63d9f2f78ccb78e905d0a6b3e302884) -- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`675372b`](https://github.com/inspect-js/is-number-object/commit/675372b115fb20b5034f40bcbb5560c6c0512746) -- [readme] clean up readme; remove testling; fix repo URLs [`80e29c4`](https://github.com/inspect-js/is-number-object/commit/80e29c4d6d0811fc361e95ee83b81280bf3ae3f5) -- [Tests] up to `node` `v12.7`, `v10.16`, `v8.16` [`287a968`](https://github.com/inspect-js/is-number-object/commit/287a9687b1fc3d091ec231c06f19a19ff7b0e8f6) -- Test on latest `iojs` and `node` versions. [`11c98a2`](https://github.com/inspect-js/is-number-object/commit/11c98a23b232cb21c7daab797fd63875c2970681) -- [actions] add automatic rebasing / merge commit blocking [`022d026`](https://github.com/inspect-js/is-number-object/commit/022d026129df445f239ba2ecd8d47a2786242d75) -- [meta] create FUNDING.yml [`7f52710`](https://github.com/inspect-js/is-number-object/commit/7f527107168aad7108b7c262d295dcf44e03214d) -- [Dev Deps] update `is`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver` [`bc8cd50`](https://github.com/inspect-js/is-number-object/commit/bc8cd508fe4440168f9b049be3ddf93c56c06c49) -- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`1f9200b`](https://github.com/inspect-js/is-number-object/commit/1f9200b7c56840dc23eeeca5d0ee4f64a0446e08) -- [Tests] up to `node` `v12.11` [`706d50a`](https://github.com/inspect-js/is-number-object/commit/706d50a779b90feb3f4d2ae88d8189d19b913073) -- [Dev Deps] update `jscs` [`e3591a4`](https://github.com/inspect-js/is-number-object/commit/e3591a445b1af25d46632eafea51efa07b4eb6dc) -- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`baf4ee7`](https://github.com/inspect-js/is-number-object/commit/baf4ee749fb65ec12e9cab102e77aa0e14312109) -- Update `nsp`, `eslint` [`61b18d5`](https://github.com/inspect-js/is-number-object/commit/61b18d5b44542fddf4950534d506b20d8c8b1f44) -- Update `eslint`, `semver` [`52e61bd`](https://github.com/inspect-js/is-number-object/commit/52e61bd4334c0a1afacd147fd0bc1e2c1be10df5) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `has-symbols`; add `safe-publish-latest` [`79db7f6`](https://github.com/inspect-js/is-number-object/commit/79db7f610d2bcf5f0d6e8ca834f7402504101072) -- Only apps should have lockfiles [`677b9b4`](https://github.com/inspect-js/is-number-object/commit/677b9b4fb6ad9d7b984cb0f89c8b5a6df143b29a) -- Test on `io.js` `v2.2` [`e8a38b2`](https://github.com/inspect-js/is-number-object/commit/e8a38b2fe73b841b0ed55d9f60573d460a4f2a62) -- [meta] add `funding` field [`85315e7`](https://github.com/inspect-js/is-number-object/commit/85315e75c119a2aef70a766f2ddc1079b64d006b) -- [Dev Deps] update `eslint`, `tape` [`f3581aa`](https://github.com/inspect-js/is-number-object/commit/f3581aaea310546f6ee4612990468d39f058d320) -- [Tests] use `eclint` instead of `editorconfig-tools` [`7b53680`](https://github.com/inspect-js/is-number-object/commit/7b5368071000eb1c715aeeee5ff47ffdbee9fe5c) -- [Dev Deps] update `semver`, `tape` [`d6b524a`](https://github.com/inspect-js/is-number-object/commit/d6b524ac2e8c0240c436cbe8828671e383d51fd5) -- [Dev Deps] Update `tape`, `eslint` [`be19203`](https://github.com/inspect-js/is-number-object/commit/be19203dee0aa70ff8f09823bf880a38b824e1ed) -- Test up to `io.js` `v2.1` [`feb7ba6`](https://github.com/inspect-js/is-number-object/commit/feb7ba63a0816f1d36419ce240f96e9b4e4c90ba) -- Test up to `io.js` `v3.0` [`7be1f0a`](https://github.com/inspect-js/is-number-object/commit/7be1f0a25dc59b6606be9ee1ace38cb7039a59d2) -- [Dev Deps] update `tape` [`d9a2318`](https://github.com/inspect-js/is-number-object/commit/d9a2318bc82477e9321e961def11e28d364e5562) -- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG. [`a6cd411`](https://github.com/inspect-js/is-number-object/commit/a6cd411c6bd92691a48b52683afce584c2c6b21b) -- Test on `io.js` `v2.4` [`46c2e7f`](https://github.com/inspect-js/is-number-object/commit/46c2e7f2ce8ad7f8ab3c1da827d93fc2780eff06) -- Test on `io.js` `v2.3` [`9c344b0`](https://github.com/inspect-js/is-number-object/commit/9c344b0df83628908a1f776a3f2e5fc4fae1d4d2) -- Fix tests for faked @@toStringTag [`f8c446e`](https://github.com/inspect-js/is-number-object/commit/f8c446e9fc320c23807717356e259529f494b9f3) - -## [v1.0.3](https://github.com/inspect-js/is-number-object/compare/v1.0.2...v1.0.3) - 2015-01-29 - -### Commits - -- If @@toStringTag is not present, use the old-school Object#toString test. [`9b2a4df`](https://github.com/inspect-js/is-number-object/commit/9b2a4df6ccf903e89198d4244eeb7f47a7056327) - -## [v1.0.2](https://github.com/inspect-js/is-number-object/compare/v1.0.1...v1.0.2) - 2015-01-29 - -### Commits - -- Improve optimizability of the non-try/catch part. [`7e6be2f`](https://github.com/inspect-js/is-number-object/commit/7e6be2fd2346557fc81bd544ac8745021c50e266) -- Fix package.json [`4f2ebea`](https://github.com/inspect-js/is-number-object/commit/4f2ebeae09c45e1eefeb2c10a011ff2ef0aca921) - -## [v1.0.1](https://github.com/inspect-js/is-number-object/compare/v1.0.0...v1.0.1) - 2015-01-29 - -### Commits - -- Use Object() instead of new Number() [`1aaa746`](https://github.com/inspect-js/is-number-object/commit/1aaa746c26878a0f698aabea4d88215311f2a38d) -- Add early exits for typeof number, or typeof not "object". [`eae4337`](https://github.com/inspect-js/is-number-object/commit/eae43375d3f88e04bb10eabd954e5a6b66ad5305) - -## v1.0.0 - 2015-01-28 - -### Commits - -- Dotfiles. [`9c74e3e`](https://github.com/inspect-js/is-number-object/commit/9c74e3eb2b10398d4022de7c4015531e874f06c8) -- `make release` [`a99e5ae`](https://github.com/inspect-js/is-number-object/commit/a99e5aeb3995a7d543fc5833722bc02011fabad6) -- package.json [`4fed9ef`](https://github.com/inspect-js/is-number-object/commit/4fed9ef7c35ccfc45ca8acd3c92c9cb91c7daa6d) -- Read me [`c91d6ba`](https://github.com/inspect-js/is-number-object/commit/c91d6ba00de79eaaac5fec7c9d8866d61d0abb62) -- Initial commit [`629fb96`](https://github.com/inspect-js/is-number-object/commit/629fb969f076e0802c799b368c7b02556bb0750e) -- Tests. [`a39de62`](https://github.com/inspect-js/is-number-object/commit/a39de624785cc204ed7c0ea5518f1c878870ceb1) -- Implementation. [`aedd91e`](https://github.com/inspect-js/is-number-object/commit/aedd91e6fc23f00852ad1266b6c19f32b7f93a22) diff --git a/node_modules/is-number-object/LICENSE b/node_modules/is-number-object/LICENSE deleted file mode 100644 index b43df444e..000000000 --- a/node_modules/is-number-object/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/node_modules/is-number-object/README.md b/node_modules/is-number-object/README.md deleted file mode 100644 index a5f1e5b1f..000000000 --- a/node_modules/is-number-object/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# is-number-object [![Version Badge][2]][1] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Is this value a JS Number object? This module works cross-realm/iframe, and despite ES6 @@toStringTag. - -## Example - -```js -var isNumber = require('is-number-object'); -var assert = require('assert'); - -assert.notOk(isNumber(undefined)); -assert.notOk(isNumber(null)); -assert.notOk(isNumber(false)); -assert.notOk(isNumber(true)); -assert.notOk(isNumber('foo')); -assert.notOk(isNumber(function () {})); -assert.notOk(isNumber([])); -assert.notOk(isNumber({})); -assert.notOk(isNumber(/a/g)); -assert.notOk(isNumber(new RegExp('a', 'g'))); -assert.notOk(isNumber(new Date())); - -assert.ok(isNumber(42)); -assert.ok(isNumber(NaN)); -assert.ok(isNumber(Infinity)); -assert.ok(isNumber(new Number(42))); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/is-number-object -[2]: https://versionbadg.es/inspect-js/is-number-object.svg -[5]: https://david-dm.org/inspect-js/is-number-object.svg -[6]: https://david-dm.org/inspect-js/is-number-object -[7]: https://david-dm.org/inspect-js/is-number-object/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-number-object#info=devDependencies -[11]: https://nodei.co/npm/is-number-object.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/is-number-object.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/is-number-object.svg -[downloads-url]: https://npm-stat.com/charts.html?package=is-number-object -[codecov-image]: https://codecov.io/gh/inspect-js/is-number-object/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/is-number-object/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-number-object -[actions-url]: https://github.com/inspect-js/is-number-object/actions diff --git a/node_modules/is-number-object/index.js b/node_modules/is-number-object/index.js deleted file mode 100644 index 637a4b98e..000000000 --- a/node_modules/is-number-object/index.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var numToStr = Number.prototype.toString; -var tryNumberObject = function tryNumberObject(value) { - try { - numToStr.call(value); - return true; - } catch (e) { - return false; - } -}; -var toStr = Object.prototype.toString; -var numClass = '[object Number]'; -var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; - -module.exports = function isNumberObject(value) { - if (typeof value === 'number') { - return true; - } - if (typeof value !== 'object') { - return false; - } - return hasToStringTag ? tryNumberObject(value) : toStr.call(value) === numClass; -}; diff --git a/node_modules/is-number-object/package.json b/node_modules/is-number-object/package.json deleted file mode 100644 index 3816d2fa4..000000000 --- a/node_modules/is-number-object/package.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "name": "is-number-object", - "version": "1.0.5", - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "description": "Is this value a JS Number object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", - "license": "MIT", - "main": "index.js", - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx aud --production", - "lint": "eslint .", - "eccheck": "eclint check *.js **/*.js > /dev/null", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/is-number-object.git" - }, - "keywords": [ - "Number", - "ES6", - "toStringTag", - "@@toStringTag", - "Number object" - ], - "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "aud": "^1.1.5", - "auto-changelog": "^2.2.1", - "core-js": "^3.12.0", - "eclint": "^2.8.1", - "eslint": "^7.25.0", - "foreach": "^2.0.5", - "has-symbols": "^1.0.2", - "indexof": "^0.0.1", - "is": "^3.3.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/is-number-object/test/corejs.js b/node_modules/is-number-object/test/corejs.js deleted file mode 100644 index 73f0c89cb..000000000 --- a/node_modules/is-number-object/test/corejs.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -require('core-js'); - -require('./'); diff --git a/node_modules/is-number-object/test/index.js b/node_modules/is-number-object/test/index.js deleted file mode 100644 index 04ada7dd2..000000000 --- a/node_modules/is-number-object/test/index.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var test = require('tape'); -var isNumber = require('../'); -var hasSymbols = require('has-symbols/shams')(); - -test('not Numbers', function (t) { - t.notOk(isNumber(), 'undefined is not Number'); - t.notOk(isNumber(null), 'null is not Number'); - t.notOk(isNumber(false), 'false is not Number'); - t.notOk(isNumber(true), 'true is not Number'); - t.notOk(isNumber('foo'), 'string is not Number'); - t.notOk(isNumber([]), 'array is not Number'); - t.notOk(isNumber({}), 'object is not Number'); - t.notOk(isNumber(function () {}), 'function is not Number'); - t.notOk(isNumber(/a/g), 'regex literal is not Number'); - t.notOk(isNumber(new RegExp('a', 'g')), 'regex object is not Number'); - t.notOk(isNumber(new Date()), 'new Date() is not Number'); - t.end(); -}); - -test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) { - var fakeNumber = { - toString: function () { return '7'; }, - valueOf: function () { return 42; } - }; - fakeNumber[Symbol.toStringTag] = 'Number'; - t.notOk(isNumber(fakeNumber), 'fake Number with @@toStringTag "Number" is not Number'); - t.end(); -}); - -test('Numbers', function (t) { - t.ok(isNumber(42), 'number is Number'); - t.ok(isNumber(Object(42)), 'number object is Number'); - t.ok(isNumber(NaN), 'NaN is Number'); - t.ok(isNumber(Infinity), 'Infinity is Number'); - t.end(); -}); diff --git a/node_modules/is-regex/.editorconfig b/node_modules/is-regex/.editorconfig deleted file mode 100644 index bc228f826..000000000 --- a/node_modules/is-regex/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off diff --git a/node_modules/is-regex/.eslintignore b/node_modules/is-regex/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-regex/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-regex/.eslintrc b/node_modules/is-regex/.eslintrc deleted file mode 100644 index 1f6f12773..000000000 --- a/node_modules/is-regex/.eslintrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "id-length": [1], - "operator-linebreak": [2, "before"], - }, - - "overrides": [ - { - "files": ["test/**/*.js"], - "globals": { - "Proxy": false, - }, - }, - ], -} diff --git a/node_modules/is-regex/.nycrc b/node_modules/is-regex/.nycrc deleted file mode 100644 index a69aa2d82..000000000 --- a/node_modules/is-regex/.nycrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "exclude": [ - "coverage", - "test", - "test-corejs.js" - ] -} diff --git a/node_modules/is-regex/CHANGELOG.md b/node_modules/is-regex/CHANGELOG.md deleted file mode 100644 index 3b2a48c0d..000000000 --- a/node_modules/is-regex/CHANGELOG.md +++ /dev/null @@ -1,190 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.1.3](https://github.com/inspect-js/is-regex/compare/v1.1.2...v1.1.3) - 2021-05-07 - -### Commits - -- [actions] use `node/install` instead of `node/run`; use `codecov` action [`c681ab9`](https://github.com/inspect-js/is-regex/commit/c681ab99c07f8b3b7ae5f652b3105a30bce94f69) -- [Fix] do not use `Object.prototype.toString` when `Symbol.toStringTag` is shammed [`ca019fd`](https://github.com/inspect-js/is-regex/commit/ca019fdb828dc7d32e323213403ac9995d8604e3) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`605a66f`](https://github.com/inspect-js/is-regex/commit/605a66f278900f1c8ae9d1dfcec31e5f61b10ad3) -- [readme] add actions and codecov badges [`8d7c6f0`](https://github.com/inspect-js/is-regex/commit/8d7c6f0e007bd982f21b958e0abc98b8a84e2a24) -- [meta] use `prepublishOnly` script for npm 7+ [`8e50e91`](https://github.com/inspect-js/is-regex/commit/8e50e91f51aa5038745526710ef2e030527982a7) -- [Deps] update `has-symbols` [`4742c81`](https://github.com/inspect-js/is-regex/commit/4742c81260c3db9a8c9ef57110981fb6175f58e0) - -## [v1.1.2](https://github.com/inspect-js/is-regex/compare/v1.1.1...v1.1.2) - 2021-02-01 - -### Commits - -- [Tests] migrate tests to Github Actions [`cc1686e`](https://github.com/inspect-js/is-regex/commit/cc1686e25f446ca6948f43b3f180d6e55e31fb4e) -- [readme] fix repo URLs; remove travis badge [`d1d1da6`](https://github.com/inspect-js/is-regex/commit/d1d1da647bb4e91589606f12470cd27a47b3bb81) -- [meta] do not publish github action workflow files [`9f84b99`](https://github.com/inspect-js/is-regex/commit/9f84b993a995f057b4d2d097ef47b1ff9c84115d) -- [Tests] run `nyc` on all tests [`c37aab9`](https://github.com/inspect-js/is-regex/commit/c37aab9d332c4834b08ada94736c45ab1d39cd2f) -- [Robustness] use `call-bind` [`fbb61bf`](https://github.com/inspect-js/is-regex/commit/fbb61bf3e19ccc178e6ed1e0d7ab9cc7c7167393) -- [actions] add "Allow Edits" workflow [`9022b53`](https://github.com/inspect-js/is-regex/commit/9022b53cb05b0f105cd179800cf96e055b249f08) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`d60f28f`](https://github.com/inspect-js/is-regex/commit/d60f28f7f2fb21dade7bce302b3e0246206423d3) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`2c35c43`](https://github.com/inspect-js/is-regex/commit/2c35c437edf3eeb37129eea2404d8f465d27620f) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`1009e25`](https://github.com/inspect-js/is-regex/commit/1009e259d49a63753dc6e79e2b876a30c00c6de6) -- [meta] gitignore coverage output [`3b5fa9e`](https://github.com/inspect-js/is-regex/commit/3b5fa9ed2882c65ee81dff979f79f1a2751d3772) -- [actions] update workflows [`1843ef6`](https://github.com/inspect-js/is-regex/commit/1843ef65b8b8c24a44e91bc4ed5ee60dffc31c2d) - -## [v1.1.1](https://github.com/inspect-js/is-regex/compare/v1.1.0...v1.1.1) - 2020-08-03 - -### Commits - -- [Performance] Re-add lastIndex check to improve performance [`d8495cd`](https://github.com/inspect-js/is-regex/commit/d8495cd22d475ddca250818921b6088f631c1972) -- [Dev Deps] update `auto-changelog`, `eslint` [`778fa6b`](https://github.com/inspect-js/is-regex/commit/778fa6b9d2b182ee6d73993e103532855e956f85) - -## [v1.1.0](https://github.com/inspect-js/is-regex/compare/v1.0.5...v1.1.0) - 2020-06-03 - -### Commits - -- [New] use `badStringifier`‑based RegExp detection [`31eff67`](https://github.com/inspect-js/is-regex/commit/31eff673243d65c3d6c05848c0eb52f5380f1be3) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`fc91458`](https://github.com/inspect-js/is-regex/commit/fc914588187b8bb00d8d792c84f06a6e15d883c1) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`; add `safe-publish-latest` [`d43ed83`](https://github.com/inspect-js/is-regex/commit/d43ed83db54ea727bb0b1b77a50af79d1edb8a6d) -- [Dev Deps] update `auto-changelog`, `tape`; add `aud` [`56647d1`](https://github.com/inspect-js/is-regex/commit/56647d196be34ef3c118ad67726e75169fbcb875) -- [meta] only run `aud` on prod deps [`e0865b8`](https://github.com/inspect-js/is-regex/commit/e0865b8360b0ac1b9d17b7b81ae5f339e5c9036b) - -## [v1.0.5](https://github.com/inspect-js/is-regex/compare/v1.0.4...v1.0.5) - 2019-12-15 - -### Commits - -- [Tests] use shared travis-ci configs [`af728b2`](https://github.com/inspect-js/is-regex/commit/af728b21c5cc9e41234fb4015594bffdcfff597c) -- [Tests] remove `jscs` [`1b8cfe8`](https://github.com/inspect-js/is-regex/commit/1b8cfe8cfb14820c196775f19d370276e4034791) -- [meta] add `auto-changelog` [`c3131d8`](https://github.com/inspect-js/is-regex/commit/c3131d8ab5d06ea5fa05a4bb2ad28bbfb81668ad) -- [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`, `v4.8`; newer npm fails on older nodes [`660b658`](https://github.com/inspect-js/is-regex/commit/660b6585d1a9607dbdae879b70ce2f6a5684616c) -- [Tests] up to `node` `v9.3`, `v8.9`, `v6.12`; use `nvm install-latest-npm`; pin included builds to LTS [`7c25218`](https://github.com/inspect-js/is-regex/commit/7c25218d540ab17c18e4ae333677c5725806a778) -- [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16`, `v6.17` [`fa95547`](https://github.com/inspect-js/is-regex/commit/fa955478950a5ba0a920010d5daaa29487500b30) -- [meta] remove unused Makefile and associated utilities [`9fd2a29`](https://github.com/inspect-js/is-regex/commit/9fd2a29dc57ed125f3d61e94f6254a9dd8ee0044) -- [Tests] up to `node` `v11.3`, `v10.14`, `v8.14`, `v6.15` [`7f2ac41`](https://github.com/inspect-js/is-regex/commit/7f2ac41ef5dc4d53bfe2fb1c24486c688a2537bd) -- [Tests] up to `node` `v10.0`, `v9.11`, `v8.11`, `v6.14`, `v4.9` [`6fa2b0f`](https://github.com/inspect-js/is-regex/commit/6fa2b0fe171a5b02086a06679a92d989e83a8b8e) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`697e1de`](https://github.com/inspect-js/is-regex/commit/697e1de1c9e69f08e591cc0040d81fdbbde6fe4e) -- [actions] add automatic rebasing / merge commit blocking [`ad86dc9`](https://github.com/inspect-js/is-regex/commit/ad86dc97a52e4f66fbfb3b8c9c78da3963588b54) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `jscs`, `nsp`, `replace`, `semver`, `tape` [`5c99c8e`](https://github.com/inspect-js/is-regex/commit/5c99c8e384d5ce2ef434be5853c301477cf35456) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `replace`, `semver`, `tape` [`bb63686`](https://github.com/inspect-js/is-regex/commit/bb63686a9d0fc586d121549cf484da95edec3b0a) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config@`, `replace`, `semver`, `tape` [`ddf3670`](https://github.com/inspect-js/is-regex/commit/ddf36705e5f7bd29832721e4a23abf06195032c6) -- [Dev Deps] update `tape`, `nsp`, `eslint`, `@ljharb/eslint-config` [`e7b5a62`](https://github.com/inspect-js/is-regex/commit/e7b5a626eef3b9648c7d52d4620ce2e2a98a9ab8) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`c803db5`](https://github.com/inspect-js/is-regex/commit/c803db5cd94cf9e0a559617adbc1e4c9d22007ff) -- [Tests] switch from `nsp` to `npm audit` [`b7239be`](https://github.com/inspect-js/is-regex/commit/b7239be9da263a0f7066f79d087eaf700a9613e9) -- [Dev Deps] update `eslint`, `nsp`, `semver`, `tape` [`347ee6c`](https://github.com/inspect-js/is-regex/commit/347ee6c67ba0f56b03f21a5abe743658f6515963) -- Only apps should have lockfiles. [`3866575`](https://github.com/inspect-js/is-regex/commit/38665755ecf028061f15816059e26023890a0dc7) -- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`d099a39`](https://github.com/inspect-js/is-regex/commit/d099a3943eb7e156a3e64fb8b74e11d7c83a4bec) -- [meta] add `funding` field [`741aecd`](https://github.com/inspect-js/is-regex/commit/741aecd92cd49868b3606c8cc99ce299e5f3c7d5) -- [Tests] use `eclint` instead of `editorconfig-tools` [`bc6aa75`](https://github.com/inspect-js/is-regex/commit/bc6aa7539e506788709b96f7bf3d7549850a81c3) -- [Tests] on `node` `v10.1` [`262226f`](https://github.com/inspect-js/is-regex/commit/262226f08fa34dff9a8dffd16daabb3dc6e262eb) -- [Dev Deps] update `eslint` [`31fd719`](https://github.com/inspect-js/is-regex/commit/31fd719dd59a6111ca710cdb0d19a8adadf9b8c6) -- [Deps] update `has` [`e9e25a3`](https://github.com/inspect-js/is-regex/commit/e9e25a3de7e89faaa6aadf5010477074140e8218) -- [Dev Deps] update `replace` [`aeeb968`](https://github.com/inspect-js/is-regex/commit/aeeb968bf5a4fc07f0fa6905f2c699fc563b6c32) -- [Tests] set audit level [`2a6290e`](https://github.com/inspect-js/is-regex/commit/2a6290e78b58bf14b734d7998fe53b4a84db5e44) -- [Tests] remove `nsp` [`fc74c2b`](https://github.com/inspect-js/is-regex/commit/fc74c2bb6970a7f3280abe6eff3b492d77d89c9f) - -## [v1.0.4](https://github.com/inspect-js/is-regex/compare/v1.0.3...v1.0.4) - 2017-02-18 - -### Fixed - -- [Fix] ensure that `lastIndex` is not mutated [`#3`](https://github.com/inspect-js/is-regex/issues/3) - -### Commits - -- Update `eslint`, `tape`, `semver`; use my personal shared `eslint` config [`c4a41c3`](https://github.com/inspect-js/is-regex/commit/c4a41c3a8203a3919b01cd0d1b577daadf30a452) -- [Tests] on all node minors; improve test matrix [`58d7508`](https://github.com/inspect-js/is-regex/commit/58d7508a36eb92bd76717486b9e78bde502ffe3e) -- [Dev Deps] update `tape`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver` [`7290076`](https://github.com/inspect-js/is-regex/commit/729007606e9ed162953d1f5812c37eb06c554ec2) -- Update `covert`, `jscs`, `eslint`, `semver` [`dabc729`](https://github.com/inspect-js/is-regex/commit/dabc729cfc4458264c6f7642004d41dd5c214bfd) -- Update `eslint` [`a946b05`](https://github.com/inspect-js/is-regex/commit/a946b051159396b4311c564880f96e3d00e8b8e2) -- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`1744dde`](https://github.com/inspect-js/is-regex/commit/1744dde77526841f216fa2c1c866c5a82b1638c0) -- [Refactor] when try/catch is needed, bail early if the value lacks an own `lastIndex` data property. [`288ad93`](https://github.com/inspect-js/is-regex/commit/288ad93dbfed9f6828de20de67105ee6d6504425) -- Update `editorconfig-tools`, `eslint`, `semver`, `replace` [`4d895c6`](https://github.com/inspect-js/is-regex/commit/4d895c68a0cdbb5803185928963c15147aad0404) -- Update `eslint`, `tape`, `semver` [`f387f03`](https://github.com/inspect-js/is-regex/commit/f387f03b260b56372bfca301d4e79c4067633854) -- All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`. [`55e480f`](https://github.com/inspect-js/is-regex/commit/55e480f407cafb6c21a6c32aef04ccaa3ba4216c) -- [Dev Deps] update `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver` [`89d9528`](https://github.com/inspect-js/is-regex/commit/89d95285b364913ebcd8ac7e0872570fe009a5d3) -- [Dev Deps] update `jscs` [`eb222a8`](https://github.com/inspect-js/is-regex/commit/eb222a8435e59909354f3700fd4880e4ce1cb13e) -- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`c65429c`](https://github.com/inspect-js/is-regex/commit/c65429cea0366508c10ad2ab773af7b83a34fc81) -- Update `nsp`, `eslint` [`c60fbd8`](https://github.com/inspect-js/is-regex/commit/c60fbd8680f7fb3508ec3c5be8ebb788672516c8) -- Update `eslint`, `semver` [`6a62116`](https://github.com/inspect-js/is-regex/commit/6a621168c63616bf004ca8b1f885b4eb8a58a3e5) -- [Tests] on `node` `v7.5`, `v4.7` [`e764651`](https://github.com/inspect-js/is-regex/commit/e764651336f5da5e239e9fe8869f3a3201c19d2b) -- Test up to `io.js` `v2.1` [`3bf326a`](https://github.com/inspect-js/is-regex/commit/3bf326a9bcd530fd16c9fc806e249a68e25ab7e3) -- Test on the latest `io.js` versions. [`693d047`](https://github.com/inspect-js/is-regex/commit/693d0477631c5d7671f6c99eca5594ffffa75771) -- [Refactor] use an early return instead of a ternary. [`31eaca2`](https://github.com/inspect-js/is-regex/commit/31eaca28b7d0aaac0599fe7a569b93b842f8ab16) -- Test on `io.js` `v2.2` [`c18c55a`](https://github.com/inspect-js/is-regex/commit/c18c55aee6358d70531f935e98851e42b698d93c) -- Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. [`a1c237d`](https://github.com/inspect-js/is-regex/commit/a1c237d35f880fe0bcbc9275254611a6a2300aaf) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`aa3ea0f`](https://github.com/inspect-js/is-regex/commit/aa3ea0f148af31d75f7ef8a800412729d82def04) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`d97831d`](https://github.com/inspect-js/is-regex/commit/d97831d0e2ccd3d00d1f7354b7f81e2575f90953) -- [Dev Deps] Update `tape`, `eslint` [`95e6def`](https://github.com/inspect-js/is-regex/commit/95e6defe3178c45dc9df16e474e558979d5f5c05) -- Update `eslint`, `nsp` [`3844c93`](https://github.com/inspect-js/is-regex/commit/3844c935cfe7c52fae0dc74d27e884c417cb4616) -- Update `tape`, `jscs` [`0d6dac8`](https://github.com/inspect-js/is-regex/commit/0d6dac818ed251910171965932f021291919e770) -- Fix tests for faked @@toStringTag [`2ebef9f`](https://github.com/inspect-js/is-regex/commit/2ebef9f0759843e9a063de7a512b46e3e7daea7e) -- Test up to `io.js` `v3.0` [`ec1d2d4`](https://github.com/inspect-js/is-regex/commit/ec1d2d44481fa0fa11448527da8030c99fe47a12) -- [Refactor] bail earlier when the value is falsy. [`a9e333e`](https://github.com/inspect-js/is-regex/commit/a9e333e2ac8912ca05b7e31d30e4eea683c0da4b) -- [Dev Deps] update `tape` [`8cdcaae`](https://github.com/inspect-js/is-regex/commit/8cdcaae07be8c790cdb99849e6076ea7702a4c84) -- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG. [`281c4ef`](https://github.com/inspect-js/is-regex/commit/281c4efeb71c86dd380e741bcaee3f7dbf956151) -- Test on `io.js` `v2.4` [`4d54c68`](https://github.com/inspect-js/is-regex/commit/4d54c68a81b5332a3b76259d8aa8f514be5efd13) -- Test on `io.js` `v2.3` [`23170f5`](https://github.com/inspect-js/is-regex/commit/23170f5cae632d0377de73bd2febc53db8aebbc9) -- Test on `iojs-v1.6` [`4487ad0`](https://github.com/inspect-js/is-regex/commit/4487ad0194a5684223bfa2690da4e0a441f7132a) - -## [v1.0.3](https://github.com/inspect-js/is-regex/compare/v1.0.2...v1.0.3) - 2015-01-29 - -### Commits - -- Update npm run scripts. [`dc528dd`](https://github.com/inspect-js/is-regex/commit/dc528dd25e775089bc0a3f5a8f7ae7ffc4cdf52a) -- Add toStringTag tests. [`f48a83a`](https://github.com/inspect-js/is-regex/commit/f48a83a78720b78ab60ca586c16f6f3dbcfec825) -- If @@toStringTag is not present, use the old-school Object#toString test. [`50b0ffd`](https://github.com/inspect-js/is-regex/commit/50b0ffd9c7fdbd54aee8cde1b07e680ae84f6a0d) - -## [v1.0.2](https://github.com/inspect-js/is-regex/compare/v1.0.1...v1.0.2) - 2015-01-29 - -### Commits - -- `make release` [`a1de7ec`](https://github.com/inspect-js/is-regex/commit/a1de7eca4cecc8015fd27804669f8fc61bd16a68) -- Improve optimization by separating the try/catch, and bailing out early when not typeof "object". [`5ab7632`](https://github.com/inspect-js/is-regex/commit/5ab76322a348487fa8b16761e83f6824c3c27d11) - -## [v1.0.1](https://github.com/inspect-js/is-regex/compare/v1.0.0...v1.0.1) - 2015-01-28 - -### Commits - -- Using my standard jscs.json file [`1f1733a`](https://github.com/inspect-js/is-regex/commit/1f1733ac8433cdcceb25356f86b74136a4477cb9) -- Adding `npm run lint` [`51ea70f`](https://github.com/inspect-js/is-regex/commit/51ea70fa7e461d022f611c195f343ea8d0333d71) -- Use RegExp#exec to test if something is a regex, which works even with ES6 @@toStringTag. [`042c8c7`](https://github.com/inspect-js/is-regex/commit/042c8c734faade9015932b61f1e8ea4f3a93b1b3) -- Adding license and downloads badges [`366d619`](https://github.com/inspect-js/is-regex/commit/366d61965d3a4119126e78e09b2166bbcddd0c5a) -- Use SVG badges instead of PNG [`6a32e4f`](https://github.com/inspect-js/is-regex/commit/6a32e4fc87d7d3a3787b800dd033c9293aead6df) -- Update `tape`, `jscs` [`f1b9462`](https://github.com/inspect-js/is-regex/commit/f1b9462f86d1b69de07176e7f277f668757ba964) -- Update `jscs` [`1bff23f`](https://github.com/inspect-js/is-regex/commit/1bff23ff0fe88c8263e8bf04cf99e290af96d5b0) -- Update `tape`, `jscs` [`c22ea2e`](https://github.com/inspect-js/is-regex/commit/c22ea2e7967f45618deed01ff5ea483f918be216) -- Update `tape`, `jscs` [`b0479db`](https://github.com/inspect-js/is-regex/commit/b0479db99a1b1b872d1618fb0a71f0c74a78b29b) -- Use consistent quotes [`1a6e347`](https://github.com/inspect-js/is-regex/commit/1a6e34730d9270f3f20519139faa4c4e6ec2e1f5) -- Make travis builds faster. [`090a4ea`](https://github.com/inspect-js/is-regex/commit/090a4ea7c5fa709d108d596e3bc304e6ce973dec) -- Update `tape` [`7d76129`](https://github.com/inspect-js/is-regex/commit/7d7612928bdd43230fbd835db71797249ca24f35) -- Lock covert to v1.0.0. [`9a90b03`](https://github.com/inspect-js/is-regex/commit/9a90b03fb390e66f874223a34c58ba2bb109edd3) -- Updating tape [`bfbc7f5`](https://github.com/inspect-js/is-regex/commit/bfbc7f593a007acd0411152bbb55f724dc4ca935) -- Updating jscs [`13ad511`](https://github.com/inspect-js/is-regex/commit/13ad511d80cd67300c2c0c5387fc4b3b423e2768) -- Updating jscs [`cda1945`](https://github.com/inspect-js/is-regex/commit/cda1945d603dfe99e24d5a909a931d366451bc4d) -- Updating jscs [`de96c99`](https://github.com/inspect-js/is-regex/commit/de96c99d4bf5787df671de6df9138b6547a6545b) -- Running linter as part of tests [`2cb6567`](https://github.com/inspect-js/is-regex/commit/2cb656733b1ed0af14ad11fb584006d22de0c69d) -- Updating covert [`a56ae74`](https://github.com/inspect-js/is-regex/commit/a56ae74ec8d5f0473295a8b10519a18580f16624) -- Updating tape [`ffe47f7`](https://github.com/inspect-js/is-regex/commit/ffe47f7fe9cf6d16896b4bdc286bd1d0805d5c49) - -## [v1.0.0](https://github.com/inspect-js/is-regex/compare/v0.0.0...v1.0.0) - 2014-05-19 - -### Commits - -- Make sure old and unstable nodes don't break Travis [`05da747`](https://github.com/inspect-js/is-regex/commit/05da7478f960dc131ec3ad864e27e8c6b7d74a80) -- toString is a reserved var name in old Opera [`885c48c`](https://github.com/inspect-js/is-regex/commit/885c48c120f921a55f1842b0607d3e7875379821) -- Updating deps [`2ca0e79`](https://github.com/inspect-js/is-regex/commit/2ca0e79a2443ca34d85e8b2ea2e26f55855b74a7) -- Updating tape. [`9678435`](https://github.com/inspect-js/is-regex/commit/96784355611deb0c23b9064be774216d76e3e457) -- Updating covert [`c3bb898`](https://github.com/inspect-js/is-regex/commit/c3bb8985a422e3e0c81f9c43899b6c19a72c755f) -- Updating tape [`7811708`](https://github.com/inspect-js/is-regex/commit/78117089688258b8f939b397b37897b5b3e30f74) -- Testing on node 0.6 again [`dec36ae`](https://github.com/inspect-js/is-regex/commit/dec36ae58a39a3f80e832b702c3e19406363c160) -- Run code coverage as part of tests [`e6f4ebe`](https://github.com/inspect-js/is-regex/commit/e6f4ebec26894543747603f2cb360e839f2ca290) - -## v0.0.0 - 2014-01-15 - -### Commits - -- package.json [`aa60d43`](https://github.com/inspect-js/is-regex/commit/aa60d43d2c8adb9fdd47f5898e5e1e570bd238d8) -- read me [`861e944`](https://github.com/inspect-js/is-regex/commit/861e944de88e84010eaa662ea9ea9f17c90cff8c) -- Initial commit [`d0cdd71`](https://github.com/inspect-js/is-regex/commit/d0cdd71a637d8490b7ee3eaaf75c7e31d0f9242f) -- Tests. [`b533f74`](https://github.com/inspect-js/is-regex/commit/b533f741a88dff002790fb7af054b2a74e72d4da) -- Implementation. [`3c9a8c0`](https://github.com/inspect-js/is-regex/commit/3c9a8c06994003cdfffeb3620f251f4c4cae7755) -- Travis CI [`742c440`](https://github.com/inspect-js/is-regex/commit/742c4407015f9108875fd108fde137f5245e9e7a) diff --git a/node_modules/is-regex/LICENSE b/node_modules/is-regex/LICENSE deleted file mode 100644 index 47b7b5078..000000000 --- a/node_modules/is-regex/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/is-regex/README.md b/node_modules/is-regex/README.md deleted file mode 100644 index d61332bd2..000000000 --- a/node_modules/is-regex/README.md +++ /dev/null @@ -1,52 +0,0 @@ -# is-regex [![Version Badge][2]][1] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Is this value a JS regex? -This module works cross-realm/iframe, and despite ES6 @@toStringTag. - -## Example - -```js -var isRegex = require('is-regex'); -var assert = require('assert'); - -assert.notOk(isRegex(undefined)); -assert.notOk(isRegex(null)); -assert.notOk(isRegex(false)); -assert.notOk(isRegex(true)); -assert.notOk(isRegex(42)); -assert.notOk(isRegex('foo')); -assert.notOk(isRegex(function () {})); -assert.notOk(isRegex([])); -assert.notOk(isRegex({})); - -assert.ok(isRegex(/a/g)); -assert.ok(isRegex(new RegExp('a', 'g'))); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/is-regex -[2]: https://versionbadg.es/inspect-js/is-regex.svg -[5]: https://david-dm.org/inspect-js/is-regex.svg -[6]: https://david-dm.org/inspect-js/is-regex -[7]: https://david-dm.org/inspect-js/is-regex/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-regex#info=devDependencies -[11]: https://nodei.co/npm/is-regex.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/is-regex.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/is-regex.svg -[downloads-url]: https://npm-stat.com/charts.html?package=is-regex -[codecov-image]: https://codecov.io/gh/inspect-js/is-regex/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/is-regex/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-regex -[actions-url]: https://github.com/inspect-js/is-regex/actions diff --git a/node_modules/is-regex/index.js b/node_modules/is-regex/index.js deleted file mode 100644 index 80a2d335f..000000000 --- a/node_modules/is-regex/index.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var hasSymbols = require('has-symbols/shams')(); -var hasToStringTag = hasSymbols && !!Symbol.toStringTag; -var has; -var $exec; -var isRegexMarker; -var badStringifier; - -if (hasToStringTag) { - has = callBound('Object.prototype.hasOwnProperty'); - $exec = callBound('RegExp.prototype.exec'); - isRegexMarker = {}; - - var throwRegexMarker = function () { - throw isRegexMarker; - }; - badStringifier = { - toString: throwRegexMarker, - valueOf: throwRegexMarker - }; - - if (typeof Symbol.toPrimitive === 'symbol') { - badStringifier[Symbol.toPrimitive] = throwRegexMarker; - } -} - -var $toString = callBound('Object.prototype.toString'); -var gOPD = Object.getOwnPropertyDescriptor; -var regexClass = '[object RegExp]'; - -module.exports = hasToStringTag - // eslint-disable-next-line consistent-return - ? function isRegex(value) { - if (!value || typeof value !== 'object') { - return false; - } - - var descriptor = gOPD(value, 'lastIndex'); - var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); - if (!hasLastIndexDataProperty) { - return false; - } - - try { - $exec(value, badStringifier); - } catch (e) { - return e === isRegexMarker; - } - } - : function isRegex(value) { - // In older browsers, typeof regex incorrectly returns 'function' - if (!value || (typeof value !== 'object' && typeof value !== 'function')) { - return false; - } - - return $toString(value) === regexClass; - }; diff --git a/node_modules/is-regex/package.json b/node_modules/is-regex/package.json deleted file mode 100644 index 7a6dc8aef..000000000 --- a/node_modules/is-regex/package.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "name": "is-regex", - "version": "1.1.3", - "description": "Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag", - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "main": "index.js", - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "test": "npm run tests-only && npm run test:harmony", - "tests-only": "nyc node test", - "test:harmony": "nyc node --harmony --es-staging test", - "test:corejs": "nyc tape test-corejs.js", - "posttest": "npx aud --production", - "lint": "eslint .", - "eccheck": "eclint check *.js **/*.js > /dev/null", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/is-regex.git" - }, - "bugs": { - "url": "https://github.com/inspect-js/is-regex/issues" - }, - "homepage": "https://github.com/inspect-js/is-regex", - "keywords": [ - "regex", - "regexp", - "is", - "regular expression", - "regular", - "expression" - ], - "dependencies": { - "call-bind": "^1.0.2", - "has-symbols": "^1.0.2" - }, - "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "aud": "^1.1.5", - "auto-changelog": "^2.2.1", - "core-js": "^3.12.0", - "eclint": "^2.8.1", - "eslint": "^7.26.0", - "foreach": "^2.0.5", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/is-regex/test/index.js b/node_modules/is-regex/test/index.js deleted file mode 100644 index 93ea4e4ac..000000000 --- a/node_modules/is-regex/test/index.js +++ /dev/null @@ -1,105 +0,0 @@ -'use strict'; - -var hasSymbols = require('has-symbols/shams')(); -var hasToStringTag = hasSymbols && !!Symbol.toStringTag; -var forEach = require('foreach'); -var test = require('tape'); -var isRegex = require('..'); - -test('not regexes', function (t) { - t.notOk(isRegex(), 'undefined is not regex'); - t.notOk(isRegex(null), 'null is not regex'); - t.notOk(isRegex(false), 'false is not regex'); - t.notOk(isRegex(true), 'true is not regex'); - t.notOk(isRegex(42), 'number is not regex'); - t.notOk(isRegex('foo'), 'string is not regex'); - t.notOk(isRegex([]), 'array is not regex'); - t.notOk(isRegex({}), 'object is not regex'); - t.notOk(isRegex(function () {}), 'function is not regex'); - t.end(); -}); - -test('@@toStringTag', { skip: !hasToStringTag }, function (t) { - var regex = /a/g; - var fakeRegex = { - toString: function () { return String(regex); }, - valueOf: function () { return regex; } - }; - fakeRegex[Symbol.toStringTag] = 'RegExp'; - t.notOk(isRegex(fakeRegex), 'fake RegExp with @@toStringTag "RegExp" is not regex'); - t.end(); -}); - -test('regexes', function (t) { - t.ok(isRegex(/a/g), 'regex literal is regex'); - t.ok(isRegex(new RegExp('a', 'g')), 'regex object is regex'); - t.end(); -}); - -test('does not mutate regexes', function (t) { - t.test('lastIndex is a marker object', function (st) { - var regex = /a/; - var marker = {}; - regex.lastIndex = marker; - st.equal(regex.lastIndex, marker, 'lastIndex is the marker object'); - st.ok(isRegex(regex), 'is regex'); - st.equal(regex.lastIndex, marker, 'lastIndex is the marker object after isRegex'); - st.end(); - }); - - t.test('lastIndex is nonzero', function (st) { - var regex = /a/; - regex.lastIndex = 3; - st.equal(regex.lastIndex, 3, 'lastIndex is 3'); - st.ok(isRegex(regex), 'is regex'); - st.equal(regex.lastIndex, 3, 'lastIndex is 3 after isRegex'); - st.end(); - }); - - t.end(); -}); - -test('does not perform operations observable to Proxies', { skip: typeof Proxy !== 'function' }, function (t) { - var Handler = function () { - this.trapCalls = []; - }; - - forEach([ - 'defineProperty', - 'deleteProperty', - 'get', - 'getOwnPropertyDescriptor', - 'getPrototypeOf', - 'has', - 'isExtensible', - 'ownKeys', - 'preventExtensions', - 'set', - 'setPrototypeOf' - ], function (trapName) { - Handler.prototype[trapName] = function () { - this.trapCalls.push(trapName); - return Reflect[trapName].apply(Reflect, arguments); - }; - }); - - t.test('proxy of object', function (st) { - var handler = new Handler(); - var proxy = new Proxy({ lastIndex: 0 }, handler); - - st.equal(isRegex(proxy), false, 'proxy of plain object is not regex'); - st.deepEqual(handler.trapCalls, ['getOwnPropertyDescriptor'], 'no unexpected proxy traps were triggered'); - st.end(); - }); - - t.test('proxy of RegExp instance', function (st) { - var handler = new Handler(); - var proxy = new Proxy(/a/, handler); - - st.equal(isRegex(proxy), false, 'proxy of RegExp instance is not regex'); - st.deepEqual(handler.trapCalls, ['getOwnPropertyDescriptor'], 'no unexpected proxy traps were triggered'); - st.end(); - }); - - t.end(); -}); diff --git a/node_modules/is-string/.eslintignore b/node_modules/is-string/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-string/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-string/.eslintrc b/node_modules/is-string/.eslintrc deleted file mode 100644 index 5bf1191f8..000000000 --- a/node_modules/is-string/.eslintrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "func-name-matching": 0, - "max-statements": [2, 15] - }, - - "overrides": [ - { - "files": ["test.js"], - "rules": { - "no-magic-numbers": 0, - }, - }, - ], -} diff --git a/node_modules/is-string/.github/FUNDING.yml b/node_modules/is-string/.github/FUNDING.yml deleted file mode 100644 index 519746be3..000000000 --- a/node_modules/is-string/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/is-string -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/is-string/.nycrc b/node_modules/is-string/.nycrc deleted file mode 100644 index a69aa2d82..000000000 --- a/node_modules/is-string/.nycrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "exclude": [ - "coverage", - "test", - "test-corejs.js" - ] -} diff --git a/node_modules/is-string/CHANGELOG.md b/node_modules/is-string/CHANGELOG.md deleted file mode 100644 index 9334c53a0..000000000 --- a/node_modules/is-string/CHANGELOG.md +++ /dev/null @@ -1,107 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - -## [v1.0.6](https://github.com/inspect-js/is-string/compare/v1.0.5...v1.0.6) - 2021-05-07 - -### Commits - -- [Tests] migrate tests to Github Actions [`c7790c8`](https://github.com/inspect-js/is-string/commit/c7790c89e5077251fe7ca32ac29eeee02f1b2751) -- [actions] use `node/install` instead of `node/run`; use `codecov` action [`1e52bbd`](https://github.com/inspect-js/is-string/commit/1e52bbd19b1608f6932c0335d9981824584c3186) -- [Fix] do not use `Object.prototype.toString` when `Symbol.toStringTag` is shammed [`83337eb`](https://github.com/inspect-js/is-string/commit/83337ebf55308b7bb9c1befae420760e0f8d8016) -- [meta] do not publish github action workflow files [`b25aea2`](https://github.com/inspect-js/is-string/commit/b25aea2e8a53ed9e9090cf96481590cdc00a0957) -- [readme] update badges [`759ccd9`](https://github.com/inspect-js/is-string/commit/759ccd94de4a2000231a179f91af6b5c12c11e00) -- [Tests] run `nyc` on all tests [`dc02f70`](https://github.com/inspect-js/is-string/commit/dc02f7080c355f0d24368c1622db09f7cc30cdbd) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `auto-changelog`, `tape`; add `aud` [`a0f76fa`](https://github.com/inspect-js/is-string/commit/a0f76fa1990bb580948f9e2daa89bdcda3fae7f0) -- [actions] add "Allow Edits" workflow [`9ec3902`](https://github.com/inspect-js/is-string/commit/9ec390295b4faef7744d2b579c1050be66168cb7) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`57fbe21`](https://github.com/inspect-js/is-string/commit/57fbe215da83a3b601855a9c6543ad1a96de5702) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`191e55f`](https://github.com/inspect-js/is-string/commit/191e55ff1fa782654ffcce2df922e23345b56690) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`1ea2b81`](https://github.com/inspect-js/is-string/commit/1ea2b81e866775a7890e75c44c742204124aa354) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`105d1b9`](https://github.com/inspect-js/is-string/commit/105d1b9851e366ef23c2a27d4064e0d36da25939) -- [Dev Deps] update `auto-changelog`, `tape`; add `aud` [`114cfad`](https://github.com/inspect-js/is-string/commit/114cfad854d8860421f847cd99a3bdb8ef1353dc) -- [meta] use `prepublishOnly` script for npm 7+ [`fc38f26`](https://github.com/inspect-js/is-string/commit/fc38f26adb486f50880c5771d145ab2bffb6247a) -- [meta] gitignore coverage output [`3419127`](https://github.com/inspect-js/is-string/commit/34191278f1fa09ba4da801a6fd7a32e31050e759) -- [actions] update rebase action to use checkout v2 [`334eca0`](https://github.com/inspect-js/is-string/commit/334eca02d40f4cf7dc15a8e7d5ff06852028abb5) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`7a332e9`](https://github.com/inspect-js/is-string/commit/7a332e963f1ab717fafa671e0fa8a1b20c53d861) -- [meta] remove explicit audit level config [`04630b1`](https://github.com/inspect-js/is-string/commit/04630b1b535084322ddeae8efb79a8810d7cf325) - -## [v1.0.5](https://github.com/inspect-js/is-string/compare/v1.0.4...v1.0.5) - 2019-12-18 - -### Commits - -- [Tests] use shared travis-ci configs [`4121d6b`](https://github.com/inspect-js/is-string/commit/4121d6b168ae1d54a81791ee6877f9813cab6253) -- [Tests] up to `node` `v12.4`, `v11.15`, `v10.15`, `v9.11`, `v8.15`, `v7.10`, `v6.17`, `v5.12`, `v4.9`; use `nvm install-latest-npm` [`e7a3e89`](https://github.com/inspect-js/is-string/commit/e7a3e89ccb9638d73f45dbcb2a42e509bd3153c4) -- Update `eslint`, `tape`, `semver`; use my personal shared `eslint` config [`6c380a7`](https://github.com/inspect-js/is-string/commit/6c380a70011714370e754fa0df95f56cdcaa3e60) -- [Tests] remove `jscs` [`3d49592`](https://github.com/inspect-js/is-string/commit/3d49592b9880fcb1a23b67286445281131a553e3) -- Update `is`, `tape`, `covert`, `jscs`, `editorconfig-tools`, `eslint`, `nsp`, `semver`. [`cc6983d`](https://github.com/inspect-js/is-string/commit/cc6983d06bc98f4ae9b7c9439d5d73c7318d8acd) -- [meta] add `auto-changelog` [`b857897`](https://github.com/inspect-js/is-string/commit/b85789723ce3a7064536598e0fcdd495257c6134) -- [meta] remove unused Makefile and associated utilities [`3f0f51c`](https://github.com/inspect-js/is-string/commit/3f0f51cbae1f97dbe1466eee88d105b3df0d2f0a) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `is`, `covert`, `tape`, `semver` [`9d4a95e`](https://github.com/inspect-js/is-string/commit/9d4a95e4473fe8195501878525b5af5948aa45c9) -- Update `eslint` [`e861b4b`](https://github.com/inspect-js/is-string/commit/e861b4bc71f5390670aebdff91119a1f8aeeb88a) -- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`172e2dd`](https://github.com/inspect-js/is-string/commit/172e2dd1a0b9eb042bcb9a80ff5e774a90ff0695) -- Test on `node` and `io.js` latest. [`fd426cd`](https://github.com/inspect-js/is-string/commit/fd426cd18b22b0d0e1731598125393dcfe0c5704) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest` [`23bdf83`](https://github.com/inspect-js/is-string/commit/23bdf83cf42138eba09f45bd0b040b069f9839d4) -- [actions] add automatic rebasing / merge commit blocking [`96153c0`](https://github.com/inspect-js/is-string/commit/96153c0d687a7fda2261f4c02add5d0b41e8aed7) -- [meta] create FUNDING.yml [`66ae246`](https://github.com/inspect-js/is-string/commit/66ae246d6cdaa4ccbc21f7c144b672139b8ccef6) -- [Dev Deps] update `is`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver` [`817361a`](https://github.com/inspect-js/is-string/commit/817361a9673cd1ec9854b52578a980159f7d8701) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `semver`, `tape` [`fc35d3f`](https://github.com/inspect-js/is-string/commit/fc35d3feb40921bb22e1639903cb7f2fab77814b) -- [Dev Deps] update `jscs` [`886767e`](https://github.com/inspect-js/is-string/commit/886767e04e5ad59ac0bc926a87233cc8546c8b4f) -- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`3410922`](https://github.com/inspect-js/is-string/commit/341092203c11a3b92eee55a7ecb7b8265e8fcecd) -- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`4d6c73b`](https://github.com/inspect-js/is-string/commit/4d6c73b507bcd39050ef71e554069f72fc5b222a) -- Update `nsp`, `eslint` [`b11de49`](https://github.com/inspect-js/is-string/commit/b11de4910beee1ffe1e67fbe25ec6707ca796b27) -- Update `eslint`, `semver` [`0777977`](https://github.com/inspect-js/is-string/commit/0777977757a85a1db75831d03a14b4b1fde05d7e) -- Only apps should have lockfiles [`78b49ff`](https://github.com/inspect-js/is-string/commit/78b49ffd04d4cd8c57d9e7b485421fbf3641b41b) -- [meta] add `funding` field [`81328a6`](https://github.com/inspect-js/is-string/commit/81328a6ef3eee989164127e4c0c82f1da73d3567) -- [Dev Deps] update `eslint`, `tape` [`fc9a225`](https://github.com/inspect-js/is-string/commit/fc9a225b27935f7c9c2704281d7fddd3614d3cb8) -- [Tests] use `eclint` instead of `editorconfig-tools` [`59c2c61`](https://github.com/inspect-js/is-string/commit/59c2c610dbd8e8ca1e4aa3fa9c9f93205cab9b07) -- [Dev Deps] Update `tape`, `eslint` [`a429816`](https://github.com/inspect-js/is-string/commit/a429816688e23c81948b4ae72324c26c27849b7c) -- Test on `io.js` `v2.2` [`08b476e`](https://github.com/inspect-js/is-string/commit/08b476ed0734a70e3091c04ddd2f173a2df21eb2) -- Test up to `io.js` `v3.0` [`22637ef`](https://github.com/inspect-js/is-string/commit/22637ef9e0030533df85cf1992fc099a88b1924c) -- [meta] add `safe-publish-latest` [`20ccb48`](https://github.com/inspect-js/is-string/commit/20ccb48fd85f0245eb893507d00003090da020d0) -- [Dev Deps] update `tape` [`06b58a0`](https://github.com/inspect-js/is-string/commit/06b58a048c2a820e5611ad2bd9ddfbe893295a57) -- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG. [`ea7cf84`](https://github.com/inspect-js/is-string/commit/ea7cf849b952c924d1687a302098251a7b827c80) -- Test on `io.js` `v2.4` [`66ec3ea`](https://github.com/inspect-js/is-string/commit/66ec3ea390b364583a792799b53857fd186ccc88) -- Test on `io.js` `v2.3` [`ca6e796`](https://github.com/inspect-js/is-string/commit/ca6e796f16ec433b88962162fde8012f28e18f1e) -- Fix tests for faked @@toStringTag [`3cce832`](https://github.com/inspect-js/is-string/commit/3cce8329133dfd233987359df151018b3b136be1) - -## [v1.0.4](https://github.com/inspect-js/is-string/compare/v1.0.3...v1.0.4) - 2015-01-29 - -### Commits - -- If @@toStringTag is not present, use the old-school Object#toString test. [`30675ec`](https://github.com/inspect-js/is-string/commit/30675ecb5c5cc43873918661a414a1d0f8b77325) - -## [v1.0.3](https://github.com/inspect-js/is-string/compare/v1.0.2...v1.0.3) - 2015-01-29 - -### Commits - -- Refactor to aid optimization of non-try/catch code. [`9b2772a`](https://github.com/inspect-js/is-string/commit/9b2772abe09ba8cbaa631322cc226ee906d2db22) - -## [v1.0.2](https://github.com/inspect-js/is-string/compare/v1.0.1...v1.0.2) - 2015-01-29 - -### Commits - -- Fix broken package.json [`dc921d3`](https://github.com/inspect-js/is-string/commit/dc921d332b64e4041162f04e4712b0dc687863a5) - -## [v1.0.1](https://github.com/inspect-js/is-string/compare/v1.0.0...v1.0.1) - 2015-01-29 - -### Commits - -- Fix eslint config. [`c4e05bd`](https://github.com/inspect-js/is-string/commit/c4e05bd171da6002d432e451fd48912db8b048e0) -- Add early exits for typeof "string", or typeof not "object". [`82f41d3`](https://github.com/inspect-js/is-string/commit/82f41d36a599bc6a06152792c84c7683e412c513) - -## v1.0.0 - 2015-01-29 - -### Commits - -- Dotfiles. [`45bc9dd`](https://github.com/inspect-js/is-string/commit/45bc9dd60201722344986a6c7536be9ea9ccefbf) -- `make release` [`23707f5`](https://github.com/inspect-js/is-string/commit/23707f5ecfdf00afb0e57c06ac07f7f49cdeb606) -- package.json [`575ad81`](https://github.com/inspect-js/is-string/commit/575ad811c61b156cfbcc60ff61947183c6ebe6a2) -- Read me [`3f67c9a`](https://github.com/inspect-js/is-string/commit/3f67c9a0725f811845d38646a19322895cd03981) -- Initial commit [`2c26a7a`](https://github.com/inspect-js/is-string/commit/2c26a7a2e41dec77be2c59d5847f29a6ab7c0b29) -- Tests. [`38c987b`](https://github.com/inspect-js/is-string/commit/38c987b8513b0ac03b0897e0fce7de8135d4ee0f) -- Implementation. [`0471d59`](https://github.com/inspect-js/is-string/commit/0471d59078d7f3f77619913ec21c57c0af27114c) diff --git a/node_modules/is-string/LICENSE b/node_modules/is-string/LICENSE deleted file mode 100644 index b43df444e..000000000 --- a/node_modules/is-string/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/node_modules/is-string/README.md b/node_modules/is-string/README.md deleted file mode 100644 index d9d7edf8a..000000000 --- a/node_modules/is-string/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# is-string [![Version Badge][2]][1] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag. - -## Example - -```js -var isString = require('is-string'); -var assert = require('assert'); - -assert.notOk(isString(undefined)); -assert.notOk(isString(null)); -assert.notOk(isString(false)); -assert.notOk(isString(true)); -assert.notOk(isString(function () {})); -assert.notOk(isString([])); -assert.notOk(isString({})); -assert.notOk(isString(/a/g)); -assert.notOk(isString(new RegExp('a', 'g'))); -assert.notOk(isString(new Date())); -assert.notOk(isString(42)); -assert.notOk(isString(NaN)); -assert.notOk(isString(Infinity)); -assert.notOk(isString(new Number(42))); - -assert.ok(isString('foo')); -assert.ok(isString(Object('foo'))); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/is-string -[2]: https://versionbadg.es/inspect-js/is-string.svg -[5]: https://david-dm.org/inspect-js/is-string.svg -[6]: https://david-dm.org/inspect-js/is-string -[7]: https://david-dm.org/inspect-js/is-string/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-string#info=devDependencies -[11]: https://nodei.co/npm/is-string.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/is-string.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/is-string.svg -[downloads-url]: https://npm-stat.com/charts.html?package=is-string -[codecov-image]: https://codecov.io/gh/inspect-js/is-string/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/is-string/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-string -[actions-url]: https://github.com/inspect-js/is-string/actions diff --git a/node_modules/is-string/index.js b/node_modules/is-string/index.js deleted file mode 100644 index 5f77f03d2..000000000 --- a/node_modules/is-string/index.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var strValue = String.prototype.valueOf; -var tryStringObject = function tryStringObject(value) { - try { - strValue.call(value); - return true; - } catch (e) { - return false; - } -}; -var toStr = Object.prototype.toString; -var strClass = '[object String]'; -var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; - -module.exports = function isString(value) { - if (typeof value === 'string') { - return true; - } - if (typeof value !== 'object') { - return false; - } - return hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass; -}; diff --git a/node_modules/is-string/package.json b/node_modules/is-string/package.json deleted file mode 100644 index ecb7855ef..000000000 --- a/node_modules/is-string/package.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "name": "is-string", - "version": "1.0.6", - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", - "license": "MIT", - "main": "index.js", - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test:corejs": "nyc tape test-corejs.js", - "test": "npm run tests-only && npm run test:corejs", - "posttest": "npx aud --production", - "lint": "eslint .", - "eccheck": "eclint check *.js **/*.js > /dev/null", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/ljharb/is-string.git" - }, - "keywords": [ - "String", - "string", - "ES6", - "toStringTag", - "@@toStringTag", - "String object" - ], - "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "aud": "^1.1.5", - "auto-changelog": "^2.2.1", - "core-js": "^3.12.0", - "eclint": "^2.8.1", - "eslint": "^7.26.0", - "foreach": "^2.0.5", - "indexof": "^0.0.1", - "is": "^3.3.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false - } -} diff --git a/node_modules/is-string/test/index.js b/node_modules/is-string/test/index.js deleted file mode 100644 index 8fbba42a6..000000000 --- a/node_modules/is-string/test/index.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var test = require('tape'); -var isString = require('../'); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator !== 'undefined'; - -test('not Strings', function (t) { - t.notOk(isString(), 'undefined is not String'); - t.notOk(isString(null), 'null is not String'); - t.notOk(isString(false), 'false is not String'); - t.notOk(isString(true), 'true is not String'); - t.notOk(isString([]), 'array is not String'); - t.notOk(isString({}), 'object is not String'); - t.notOk(isString(function () {}), 'function is not String'); - t.notOk(isString(/a/g), 'regex literal is not String'); - t.notOk(isString(new RegExp('a', 'g')), 'regex object is not String'); - t.notOk(isString(new Date()), 'new Date() is not String'); - t.notOk(isString(42), 'number is not String'); - t.notOk(isString(Object(42)), 'number object is not String'); - t.notOk(isString(NaN), 'NaN is not String'); - t.notOk(isString(Infinity), 'Infinity is not String'); - t.end(); -}); - -test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) { - var fakeString = { - toString: function () { return '7'; }, - valueOf: function () { return '42'; } - }; - fakeString[Symbol.toStringTag] = 'String'; - t.notOk(isString(fakeString), 'fake String with @@toStringTag "String" is not String'); - t.end(); -}); - -test('Strings', function (t) { - t.ok(isString('foo'), 'string primitive is String'); - t.ok(isString(Object('foo')), 'string object is String'); - t.end(); -}); diff --git a/node_modules/is-symbol/.editorconfig b/node_modules/is-symbol/.editorconfig deleted file mode 100644 index eaa214161..000000000 --- a/node_modules/is-symbol/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -root = true - -[*] -indent_style = tab; -insert_final_newline = true; -quote_type = auto; -space_after_anonymous_functions = true; -space_after_control_statements = true; -spaces_around_operators = true; -trim_trailing_whitespace = true; -spaces_in_brackets = false; -end_of_line = lf; - diff --git a/node_modules/is-symbol/.eslintignore b/node_modules/is-symbol/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-symbol/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-symbol/.eslintrc b/node_modules/is-symbol/.eslintrc deleted file mode 100644 index 046dd0714..000000000 --- a/node_modules/is-symbol/.eslintrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "overrides": [ - { - "files": "test/**", - "rules": { - "no-restricted-properties": 0, - }, - }, - ], -} diff --git a/node_modules/is-symbol/.github/FUNDING.yml b/node_modules/is-symbol/.github/FUNDING.yml deleted file mode 100644 index a65600e7f..000000000 --- a/node_modules/is-symbol/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/is-symbol -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/is-symbol/.nycrc b/node_modules/is-symbol/.nycrc deleted file mode 100644 index bdd626ce9..000000000 --- a/node_modules/is-symbol/.nycrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/is-symbol/CHANGELOG.md b/node_modules/is-symbol/CHANGELOG.md deleted file mode 100644 index ce8dd9912..000000000 --- a/node_modules/is-symbol/CHANGELOG.md +++ /dev/null @@ -1,113 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.4](https://github.com/inspect-js/is-symbol/compare/v1.0.3...v1.0.4) - 2021-05-08 - -### Commits - -- [Tests] migrate tests to Github Actions [`997d43c`](https://github.com/inspect-js/is-symbol/commit/997d43c091d1f8d3a2b3d7dfb17a73cdc5a75dde) -- [actions] use `node/install` instead of `node/run`; use `codecov` action [`fe0ccb7`](https://github.com/inspect-js/is-symbol/commit/fe0ccb7b7b64e74e095ef782dcc1d24d6c4b0be4) -- [meta] remove unused Makefile and associated utilities [`3ab2748`](https://github.com/inspect-js/is-symbol/commit/3ab2748ab6c2de21fc24f131bb880c68ba0b7b34) -- [meta] do not publish github action workflow files [`f20fafe`](https://github.com/inspect-js/is-symbol/commit/f20fafeb21585c7b4871ea19f104fd7696734fe8) -- [Tests] run `nyc` on all tests [`5c332fc`](https://github.com/inspect-js/is-symbol/commit/5c332fc92cecbed4a2041bc0c52b991b4a593f34) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `tape` [`c5a58a8`](https://github.com/inspect-js/is-symbol/commit/c5a58a8bea390a9b02e1c8c4aac30c223370297b) -- [readme] fix repo URLs; remove travis badge [`bcd9258`](https://github.com/inspect-js/is-symbol/commit/bcd9258d161fe709148fcc47962df3372c544727) -- [actions] add "Allow Edits" workflow [`33ae2d3`](https://github.com/inspect-js/is-symbol/commit/33ae2d3940e9daa6003a84c232874ee558b2fb44) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` [`e53def0`](https://github.com/inspect-js/is-symbol/commit/e53def0b77c38cbfae87fd8bbfd78953b845ea94) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect` [`ae36504`](https://github.com/inspect-js/is-symbol/commit/ae365048c0c1b13457faa78658b80561f5a0bcd0) -- [readme] add actions and codecov badges [`aae7f09`](https://github.com/inspect-js/is-symbol/commit/aae7f09bd59d36df69d3b66d9b351c39fe072330) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`d993fae`](https://github.com/inspect-js/is-symbol/commit/d993fae6d89856d4ab7818874be597249cb8a8cc) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`51808a5`](https://github.com/inspect-js/is-symbol/commit/51808a55f272023201f40a59b2459ec6305bf73a) -- [Dev Deps] update `auto-changelog`, `tape` [`c90040f`](https://github.com/inspect-js/is-symbol/commit/c90040f0aeded8d0071a78d5cd593b385f8828ee) -- [Dev Deps] update `eslint`, `tape` [`9fee159`](https://github.com/inspect-js/is-symbol/commit/9fee159403d499a5ed2f5cb5db03747d09ab1766) -- [meta] use `prepublishOnly` script for npm 7+ [`b166afc`](https://github.com/inspect-js/is-symbol/commit/b166afc3ae3c6d11721a9558ddb112a28261688d) -- [meta] gitignore coverage output [`4a0fe3a`](https://github.com/inspect-js/is-symbol/commit/4a0fe3aa074b933074fcc231ce739005e1fec195) -- [actions] update workflows [`fbcbc9e`](https://github.com/inspect-js/is-symbol/commit/fbcbc9eb5bfe2cf9a77d5bd86bb1dece8e5f81d0) -- [Dev Deps] update `auto-changelog`; add `aud` [`e66ab98`](https://github.com/inspect-js/is-symbol/commit/e66ab989e48b81b48bd443d35dba0071950c5d7a) -- [Deps] update `has-symbols` [`6ce7de5`](https://github.com/inspect-js/is-symbol/commit/6ce7de53c866c068de2c28d97b3a64cf6d5f6a76) -- [actions] update rebase action to use checkout v2 [`1173c79`](https://github.com/inspect-js/is-symbol/commit/1173c79914076d73aec9aebc22dce4122e7bd3ae) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`94a6348`](https://github.com/inspect-js/is-symbol/commit/94a6348f6274eac9bf4c5a6057b4f6120fc7d1d1) -- [Tests] only audit prod deps [`0692681`](https://github.com/inspect-js/is-symbol/commit/06926811fa029fe0fded5d0af4553a7808c143d1) -- [meta] do not publish .nvmrc file [`ed47833`](https://github.com/inspect-js/is-symbol/commit/ed478333c72384f8dbeb51e5fd501238f52a4972) - -## [v1.0.3](https://github.com/inspect-js/is-symbol/compare/v1.0.2...v1.0.3) - 2019-11-20 - -### Commits - -- [Tests] use shared travis-ci configs [`034afdd`](https://github.com/inspect-js/is-symbol/commit/034afdd677c1b72b76751f3e5131acc927a32916) -- [Tests] remove `jscs` [`0c026a0`](https://github.com/inspect-js/is-symbol/commit/0c026a06815e46a33a8a5b4b1be8965d32d38e5c) -- [meta] add `auto-changelog` [`9a1776b`](https://github.com/inspect-js/is-symbol/commit/9a1776bb49f3e6ac12a5b3a447edcc651216891b) -- [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16`, `v6.17` [`23a6db4`](https://github.com/inspect-js/is-symbol/commit/23a6db49a338d19eab19d876745513820bb6a9dc) -- [Tests] up to `node` `v11.7`, `v10.15`, `v8.15`, `v6.16` [`892d92e`](https://github.com/inspect-js/is-symbol/commit/892d92e7c40f3c0577583a98134106181c38bb7e) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `semver`, `tape` [`c2e6d6a`](https://github.com/inspect-js/is-symbol/commit/c2e6d6a71f839522bbd124b7419f5fc42ffff6d3) -- [readme] fix repo URLs [`655c288`](https://github.com/inspect-js/is-symbol/commit/655c288a815856e647dba4b6049b1743cec3533c) -- [actions] add automatic rebasing / merge commit blocking [`97b1229`](https://github.com/inspect-js/is-symbol/commit/97b12296bf8fa1ce0c6121bf3de56c413da10aae) -- [meta] add FUNDING.yml [`94c64a3`](https://github.com/inspect-js/is-symbol/commit/94c64a367a1c34f960cf6007fc65cfbbcba34ba3) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape`, `semver` [`71ab543`](https://github.com/inspect-js/is-symbol/commit/71ab543e09b820378362f4f66248addd410c6388) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `semver`, `tape` [`c6212f9`](https://github.com/inspect-js/is-symbol/commit/c6212f94e28622c94bb37189ffc241ee88b5b1dd) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `object-inspect` [`91bc802`](https://github.com/inspect-js/is-symbol/commit/91bc802e18e63f4e8230ee0148302ce849e2f733) -- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`8cbe69c`](https://github.com/inspect-js/is-symbol/commit/8cbe69c3fafe9cfbe7d27f710c88d02d2d2c6a00) -- [Tests] use `npm audit` instead of `nsp` [`741b51d`](https://github.com/inspect-js/is-symbol/commit/741b51dac868f6b22736c204910d257bcf4d5044) -- [meta] add `funding` field [`65b58d1`](https://github.com/inspect-js/is-symbol/commit/65b58d1e9fc572712d462d615e6b2418627d8fb9) -- [Deps] update `has-symbols` [`9cb5b2a`](https://github.com/inspect-js/is-symbol/commit/9cb5b2a9a3b89e8e0246be8df4fff3f5ceac7309) - -## [v1.0.2](https://github.com/inspect-js/is-symbol/compare/v1.0.1...v1.0.2) - 2018-09-20 - -### Commits - -- Update `eslint`, `tape`, `semver`; use my personal shared `eslint` config [`e86aaea`](https://github.com/inspect-js/is-symbol/commit/e86aaea8d81356801ecfc60540523e9b809a55f4) -- [Tests] on all node minors; improve test matrix [`50bc07f`](https://github.com/inspect-js/is-symbol/commit/50bc07f2ff73e5499b02a61f0a00ea48a84ae213) -- [Dev Deps] update `tape`, `jscs`, `nsp`, `semver`, `eslint`, `@ljharb/eslint-config` [`45e17bd`](https://github.com/inspect-js/is-symbol/commit/45e17bdf145846f30122348a94c5e506b90836ba) -- [Tests] up to `node` `v10.0`, `v9.11`, `v8.11`, `v6.14`, `v4.9`; use `nvm install-latest-npm` [`44402cb`](https://github.com/inspect-js/is-symbol/commit/44402cb82d4499e947b48b31b14667d1ebe7e2b4) -- [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`, `v4.8`; improve matrix; old npm breaks on newer nodes [`9047c23`](https://github.com/inspect-js/is-symbol/commit/9047c232857ecb80551a21cc0b1cc4c91d28da1f) -- Update `tape`, `covert`, `jscs`, `semver` [`d57d1ce`](https://github.com/inspect-js/is-symbol/commit/d57d1ce3fc0b740885a1ed5c0738d4a27b29ab07) -- Add `npm run eslint` [`0d75a66`](https://github.com/inspect-js/is-symbol/commit/0d75a6638ad6f7ff7d5bc958531a6328fb13e3fe) -- Update `eslint` [`042fb3a`](https://github.com/inspect-js/is-symbol/commit/042fb3aec590f0c0d205b15812b285ad95cfff6b) -- [Refactor] use `has-symbols` and `object-inspect` [`129bc68`](https://github.com/inspect-js/is-symbol/commit/129bc68dd619b789b9956ac9b63b46257ee1060c) -- [Tests] up to `node` `v10.11`, `v8.12` [`c1822e8`](https://github.com/inspect-js/is-symbol/commit/c1822e84d6cc0cee9f1c2893e91b1aa999ad41db) -- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`089d2cf`](https://github.com/inspect-js/is-symbol/commit/089d2cf7cad87b75aa534769af11524ad2e79080) -- [Tests] up to `node` `v8.4`; newer npm breaks on older node [`05ce701`](https://github.com/inspect-js/is-symbol/commit/05ce701e3c1be8b3266ffac49806832e410491c1) -- All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`. [`241e6a6`](https://github.com/inspect-js/is-symbol/commit/241e6a655c0e19e9dcf0ae88e7fddd4cde394c5c) -- Test on latest `node` and `io.js` versions. [`5c8d5de`](https://github.com/inspect-js/is-symbol/commit/5c8d5deb9b7c01a8cdf959082a3d619c19751b0a) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `nsp`, `semver`, `tape` [`06047bf`](https://github.com/inspect-js/is-symbol/commit/06047bf72b20a66c0b455e80856b2d00b1910391) -- [Dev Deps] update `jscs`, `nsp`, `semver`, `eslint`, `@ljharb/eslint-config` [`9d25dd7`](https://github.com/inspect-js/is-symbol/commit/9d25dd79347c89f98207a3bad39f667f1f8a410e) -- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`ce173bd`](https://github.com/inspect-js/is-symbol/commit/ce173bda6e146907e3061a0e70463107d955de35) -- Update `nsp`, `eslint` [`29e5214`](https://github.com/inspect-js/is-symbol/commit/29e52140fac2049b4a32e175787bb3b184a1dd72) -- Update `semver`, `eslint` [`53be884`](https://github.com/inspect-js/is-symbol/commit/53be884c2811f7a4452581003d9cdaf6f9bddd3c) -- [Dev Deps] update `eslint`, `nsp`, `semver`, `tape` [`3bd149c`](https://github.com/inspect-js/is-symbol/commit/3bd149c869c099b07104b06c0692755a01f8298c) -- [Dev Deps] update `jscs` [`69b4231`](https://github.com/inspect-js/is-symbol/commit/69b4231632b170e5ddb350db2f0c59e6cad6f548) -- Test up to `io.js` `v2.1` [`0b61ac7`](https://github.com/inspect-js/is-symbol/commit/0b61ac7ac4de390296aeefb9395549592ea87da4) -- [Dev Deps] update `tape` [`5e1b200`](https://github.com/inspect-js/is-symbol/commit/5e1b2008c910bcdabee299a1ac599143ea07c3f9) -- Only apps should have lockfiles. [`a191ff5`](https://github.com/inspect-js/is-symbol/commit/a191ff5f0320fc16db42fdaa40f0c21d4326255e) -- [Dev Deps] update `nsp`, `eslint`, `@ljharb/eslint-config` [`97c87ef`](https://github.com/inspect-js/is-symbol/commit/97c87ef52b966f211e231092a54ef6ed05c99a26) -- Test on `io.js` `v2.2` [`42560e4`](https://github.com/inspect-js/is-symbol/commit/42560e466e17cbbb9fa71c0121f4bbbcf266c887) -- [Dev Deps] Update `tape`, `eslint` [`149b2f2`](https://github.com/inspect-js/is-symbol/commit/149b2f20bde92b2da12ccfeb8988beb2dc95c37c) -- [Tests] fix test messages [`28bd1ed`](https://github.com/inspect-js/is-symbol/commit/28bd1eda310590e13ada19cbd718c85c25d8a0c5) -- Test up to `io.js` `v3.0` [`c0dcc98`](https://github.com/inspect-js/is-symbol/commit/c0dcc98313d17151ec043e5452df306618be865e) -- `node` now supports Symbols now. [`d1853ad`](https://github.com/inspect-js/is-symbol/commit/d1853adf6369ab9d4c4516bdb032c2e42f52f90a) -- [Dev Deps] update `tape` [`f7a6575`](https://github.com/inspect-js/is-symbol/commit/f7a6575fbdef13abcc412c63d22b56943ed85969) -- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG. [`aae9c6a`](https://github.com/inspect-js/is-symbol/commit/aae9c6a724578659976ea74e11ec9fe35608607b) -- Test on `io.js` `v2.4` [`ab8f449`](https://github.com/inspect-js/is-symbol/commit/ab8f4492115270cc00a479915b02ac1bac75dfed) -- Test on `io.js` `v2.3` [`58ce871`](https://github.com/inspect-js/is-symbol/commit/58ce871674e857955b333aa057eeecd68b40e988) - -## [v1.0.1](https://github.com/inspect-js/is-symbol/compare/v1.0.0...v1.0.1) - 2015-01-26 - -### Commits - -- Correct package description. [`f4d15b9`](https://github.com/inspect-js/is-symbol/commit/f4d15b928b4b754b097a84f7c3ceac73c486aceb) - -## v1.0.0 - 2015-01-24 - -### Commits - -- Dotfiles. [`5d9a744`](https://github.com/inspect-js/is-symbol/commit/5d9a7441f724630070e9bd74a995191cafa1064b) -- Tests. [`8af5663`](https://github.com/inspect-js/is-symbol/commit/8af56631950dcee48b36f517837273193a6ba119) -- `make release` [`6293446`](https://github.com/inspect-js/is-symbol/commit/629344654a72e7fc8059607d6a86c64b002c3e5d) -- package.json [`7d4082c`](https://github.com/inspect-js/is-symbol/commit/7d4082ca9502118e70d24f526704d45a1a7f2067) -- Initial commit [`cbb179f`](https://github.com/inspect-js/is-symbol/commit/cbb179f677bd3dcb56ac5e3f0a7a9af503fd8952) -- Read me. [`099a775`](https://github.com/inspect-js/is-symbol/commit/099a775e7e751706283ae1cab7a8635c094773a9) -- Implementation. [`cb51248`](https://github.com/inspect-js/is-symbol/commit/cb51248eedaf55e0b8ad7dacdab179db2d76e96e) diff --git a/node_modules/is-symbol/LICENSE b/node_modules/is-symbol/LICENSE deleted file mode 100644 index b43df444e..000000000 --- a/node_modules/is-symbol/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/node_modules/is-symbol/README.md b/node_modules/is-symbol/README.md deleted file mode 100644 index 5432594c7..000000000 --- a/node_modules/is-symbol/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# is-symbol [![Version Badge][2]][1] - -[![github actions][actions-image]][actions-url] -[![coverage][codecov-image]][codecov-url] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Is this an ES6 Symbol value? - -## Example - -```js -var isSymbol = require('is-symbol'); -assert(!isSymbol(function () {})); -assert(!isSymbol(null)); -assert(!isSymbol(function* () { yield 42; return Infinity; }); - -assert(isSymbol(Symbol.iterator)); -assert(isSymbol(Symbol('foo'))); -assert(isSymbol(Symbol.for('foo'))); -assert(isSymbol(Object(Symbol('foo')))); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/is-symbol -[2]: https://versionbadg.es/inspect-js/is-symbol.svg -[5]: https://david-dm.org/inspect-js/is-symbol.svg -[6]: https://david-dm.org/inspect-js/is-symbol -[7]: https://david-dm.org/inspect-js/is-symbol/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-symbol#info=devDependencies -[11]: https://nodei.co/npm/is-symbol.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/is-symbol.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/is-symbol.svg -[downloads-url]: https://npm-stat.com/charts.html?package=is-symbol -[codecov-image]: https://codecov.io/gh/inspect-js/is-symbol/branch/main/graphs/badge.svg -[codecov-url]: https://app.codecov.io/gh/inspect-js/is-symbol/ -[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-symbol -[actions-url]: https://github.com/inspect-js/is-symbol/actions diff --git a/node_modules/is-symbol/index.js b/node_modules/is-symbol/index.js deleted file mode 100644 index 3d653e27f..000000000 --- a/node_modules/is-symbol/index.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var toStr = Object.prototype.toString; -var hasSymbols = require('has-symbols')(); - -if (hasSymbols) { - var symToStr = Symbol.prototype.toString; - var symStringRegex = /^Symbol\(.*\)$/; - var isSymbolObject = function isRealSymbolObject(value) { - if (typeof value.valueOf() !== 'symbol') { - return false; - } - return symStringRegex.test(symToStr.call(value)); - }; - - module.exports = function isSymbol(value) { - if (typeof value === 'symbol') { - return true; - } - if (toStr.call(value) !== '[object Symbol]') { - return false; - } - try { - return isSymbolObject(value); - } catch (e) { - return false; - } - }; -} else { - - module.exports = function isSymbol(value) { - // this environment does not support Symbols. - return false && value; - }; -} diff --git a/node_modules/is-symbol/package.json b/node_modules/is-symbol/package.json deleted file mode 100644 index 4472b176f..000000000 --- a/node_modules/is-symbol/package.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "name": "is-symbol", - "version": "1.0.4", - "description": "Determine if a value is an ES6 Symbol or not.", - "main": "index.js", - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx aud --production", - "lint": "eslint .", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/is-symbol.git" - }, - "keywords": [ - "symbol", - "es6", - "is", - "Symbol" - ], - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/inspect-js/is-symbol/issues" - }, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "aud": "^1.1.5", - "auto-changelog": "^2.2.1", - "eslint": "^7.26.0", - "nyc": "^10.3.2", - "object-inspect": "^1.10.3", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/is-symbol/test/index.js b/node_modules/is-symbol/test/index.js deleted file mode 100644 index e01f035c8..000000000 --- a/node_modules/is-symbol/test/index.js +++ /dev/null @@ -1,92 +0,0 @@ -'use strict'; - -var test = require('tape'); -var isSymbol = require('../index'); - -var forEach = function (arr, func) { - var i; - for (i = 0; i < arr.length; ++i) { - func(arr[i], i, arr); - } -}; - -var hasSymbols = require('has-symbols')(); -var inspect = require('object-inspect'); -var debug = function (v, m) { return inspect(v) + ' ' + m; }; - -test('non-symbol values', function (t) { - var nonSymbols = [ - true, - false, - Object(true), - Object(false), - null, - undefined, - {}, - [], - /a/g, - 'string', - 42, - new Date(), - function () {}, - NaN - ]; - t.plan(nonSymbols.length); - forEach(nonSymbols, function (nonSymbol) { - t.equal(false, isSymbol(nonSymbol), debug(nonSymbol, 'is not a symbol')); - }); - t.end(); -}); - -test('faked symbol values', function (t) { - t.test('real symbol valueOf', { skip: !hasSymbols }, function (st) { - var fakeSymbol = { valueOf: function () { return Symbol('foo'); } }; - st.equal(false, isSymbol(fakeSymbol), 'object with valueOf returning a symbol is not a symbol'); - st.end(); - }); - - t.test('faked @@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (st) { - var fakeSymbol = { valueOf: function () { return Symbol('foo'); } }; - fakeSymbol[Symbol.toStringTag] = 'Symbol'; - st.equal(false, isSymbol(fakeSymbol), 'object with fake Symbol @@toStringTag and valueOf returning a symbol is not a symbol'); - var notSoFakeSymbol = { valueOf: function () { return 42; } }; - notSoFakeSymbol[Symbol.toStringTag] = 'Symbol'; - st.equal(false, isSymbol(notSoFakeSymbol), 'object with fake Symbol @@toStringTag and valueOf not returning a symbol is not a symbol'); - st.end(); - }); - - var fakeSymbolString = { toString: function () { return 'Symbol(foo)'; } }; - t.equal(false, isSymbol(fakeSymbolString), 'object with toString returning Symbol(foo) is not a symbol'); - - t.end(); -}); - -test('Symbol support', { skip: !hasSymbols }, function (t) { - t.test('well-known Symbols', function (st) { - var isWellKnown = function filterer(name) { - return name !== 'for' && name !== 'keyFor' && !(name in filterer); - }; - var wellKnownSymbols = Object.getOwnPropertyNames(Symbol).filter(isWellKnown); - wellKnownSymbols.forEach(function (name) { - var sym = Symbol[name]; - st.equal(true, isSymbol(sym), debug(sym, ' is a symbol')); - }); - st.end(); - }); - - t.test('user-created symbols', function (st) { - var symbols = [ - Symbol(), - Symbol('foo'), - Symbol['for']('foo'), - Object(Symbol('object')) - ]; - symbols.forEach(function (sym) { - st.equal(true, isSymbol(sym), debug(sym, ' is a symbol')); - }); - st.end(); - }); - - t.end(); -}); - diff --git a/node_modules/is-typed-array/.eslintignore b/node_modules/is-typed-array/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/is-typed-array/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/is-typed-array/.eslintrc b/node_modules/is-typed-array/.eslintrc index 344c5b65a..34a62620e 100644 --- a/node_modules/is-typed-array/.eslintrc +++ b/node_modules/is-typed-array/.eslintrc @@ -3,6 +3,10 @@ "extends": "@ljharb", + "globals": { + "globalThis": false + }, + "rules": { "max-statements-per-line": [2, { "max": 2 }] }, diff --git a/node_modules/is-typed-array/.nycrc b/node_modules/is-typed-array/.nycrc index 1826526e0..bdd626ce9 100644 --- a/node_modules/is-typed-array/.nycrc +++ b/node_modules/is-typed-array/.nycrc @@ -2,10 +2,6 @@ "all": true, "check-coverage": false, "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, "exclude": [ "coverage", "test" diff --git a/node_modules/is-typed-array/CHANGELOG.md b/node_modules/is-typed-array/CHANGELOG.md index e2f05739c..b01c3d99d 100644 --- a/node_modules/is-typed-array/CHANGELOG.md +++ b/node_modules/is-typed-array/CHANGELOG.md @@ -1,3 +1,52 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.10](https://github.com/inspect-js/is-typed-array/compare/v1.1.9...v1.1.10) - 2022-11-02 + +### Commits + +- [meta] add `auto-changelog` [`cf6d86b`](https://github.com/inspect-js/is-typed-array/commit/cf6d86bf2f693eca357439d4d12e76d641f91f92) +- [actions] update rebase action to use reusable workflow [`8da51a5`](https://github.com/inspect-js/is-typed-array/commit/8da51a5dce6d2442ae31ccbc2be136f2e04d6bef) +- [Dev Deps] update `aud`, `is-callable`, `object-inspect`, `tape` [`554e3de`](https://github.com/inspect-js/is-typed-array/commit/554e3deec59dec926d0badc628e589ab363e465b) +- [Refactor] use `gopd` instead of an `es-abstract` helper` [`cdaa465`](https://github.com/inspect-js/is-typed-array/commit/cdaa465d5f94bfc9e32475e31209e1c2458a9603) +- [Deps] update `es-abstract` [`677ae4b`](https://github.com/inspect-js/is-typed-array/commit/677ae4b3c8323b59d6650a9254ab945045c33f79) + + + +1.1.9 / 2022-05-13 +================= + * [Refactor] use `foreach` instead of `for-each` + * [readme] markdown URL cleanup + * [Deps] update `es-abstract` + * [meta] use `npmignore` to autogenerate an npmignore file + * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `safe-publish-latest`, `tape` + * [actions] reuse common workflows + * [actions] update codecov uploader + +1.1.8 / 2021-08-30 +================= + * [Refactor] use `globalThis` if available (#53) + * [Deps] update `available-typed-arrays` + * [Dev Deps] update `@ljharb/eslint-config` + +1.1.7 / 2021-08-07 +================= + * [Fix] if Symbol.toStringTag exists but is not present, use Object.prototype.toString + * [Dev Deps] update `is-callable`, `tape` + +1.1.6 / 2021-08-05 +================= + * [Fix] use `has-tostringtag` to behave correctly in the presence of symbol shams + * [readme] add actions and codecov badges + * [meta] use `prepublishOnly` script for npm 7+ + * [Deps] update `available-typed-arrays`, `es-abstract` + * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` + * [actions] use `node/install` instead of `node/run`; use `codecov` action + 1.1.5 / 2021-02-14 ================= * [meta] do not publish github action workflow files or nyc output diff --git a/node_modules/is-typed-array/README.md b/node_modules/is-typed-array/README.md index 9afdf8f5a..507525720 100644 --- a/node_modules/is-typed-array/README.md +++ b/node_modules/is-typed-array/README.md @@ -1,11 +1,13 @@ -# is-typed-array [![Version Badge][2]][1] +# is-typed-array [![Version Badge][npm-version-svg]][package-url] +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] -[![npm badge][11]][1] +[![npm badge][npm-badge-png]][package-url] Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag. @@ -51,14 +53,18 @@ assert.ok(isTypedArray(new BigUint64Array())); ## Tests Simply clone the repo, `npm install`, and run `npm test` -[1]: https://npmjs.org/package/is-typed-array -[2]: http://versionbadg.es/inspect-js/is-typed-array.svg -[5]: https://david-dm.org/inspect-js/is-typed-array.svg -[6]: https://david-dm.org/inspect-js/is-typed-array -[7]: https://david-dm.org/inspect-js/is-typed-array/dev-status.svg -[8]: https://david-dm.org/inspect-js/is-typed-array#info=devDependencies -[11]: https://nodei.co/npm/is-typed-array.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/is-typed-array.svg +[package-url]: https://npmjs.org/package/is-typed-array +[npm-version-svg]: https://versionbadg.es/inspect-js/is-typed-array.svg +[deps-svg]: https://david-dm.org/inspect-js/is-typed-array.svg +[deps-url]: https://david-dm.org/inspect-js/is-typed-array +[dev-deps-svg]: https://david-dm.org/inspect-js/is-typed-array/dev-status.svg +[dev-deps-url]: https://david-dm.org/inspect-js/is-typed-array#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/is-typed-array.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/is-typed-array.svg [license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/is-typed-array.svg -[downloads-url]: http://npm-stat.com/charts.html?package=is-typed-array +[downloads-image]: https://img.shields.io/npm/dm/is-typed-array.svg +[downloads-url]: https://npm-stat.com/charts.html?package=is-typed-array +[codecov-image]: https://codecov.io/gh/inspect-js/is-typed-array/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/is-typed-array/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-typed-array +[actions-url]: https://github.com/inspect-js/is-typed-array/actions diff --git a/node_modules/is-typed-array/index.js b/node_modules/is-typed-array/index.js index a769ced2d..befb8c523 100644 --- a/node_modules/is-typed-array/index.js +++ b/node_modules/is-typed-array/index.js @@ -1,13 +1,14 @@ 'use strict'; -var forEach = require('foreach'); +var forEach = require('for-each'); var availableTypedArrays = require('available-typed-arrays'); var callBound = require('call-bind/callBound'); var $toString = callBound('Object.prototype.toString'); -var hasSymbols = require('has-symbols')(); -var hasToStringTag = hasSymbols && typeof Symbol.toStringTag === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); +var gOPD = require('gopd'); +var g = typeof globalThis === 'undefined' ? global : globalThis; var typedArrays = availableTypedArrays(); var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) { @@ -20,21 +21,19 @@ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(ar }; var $slice = callBound('String.prototype.slice'); var toStrTags = {}; -var gOPD = require('es-abstract/helpers/getOwnPropertyDescriptor'); var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof'); if (hasToStringTag && gOPD && getPrototypeOf) { forEach(typedArrays, function (typedArray) { - var arr = new global[typedArray](); - if (!(Symbol.toStringTag in arr)) { - throw new EvalError('this engine has support for Symbol.toStringTag, but ' + typedArray + ' does not have the property! Please report this.'); + var arr = new g[typedArray](); + if (Symbol.toStringTag in arr) { + var proto = getPrototypeOf(arr); + var descriptor = gOPD(proto, Symbol.toStringTag); + if (!descriptor) { + var superProto = getPrototypeOf(proto); + descriptor = gOPD(superProto, Symbol.toStringTag); + } + toStrTags[typedArray] = descriptor.get; } - var proto = getPrototypeOf(arr); - var descriptor = gOPD(proto, Symbol.toStringTag); - if (!descriptor) { - var superProto = getPrototypeOf(proto); - descriptor = gOPD(superProto, Symbol.toStringTag); - } - toStrTags[typedArray] = descriptor.get; }); } @@ -52,7 +51,7 @@ var tryTypedArrays = function tryAllTypedArrays(value) { module.exports = function isTypedArray(value) { if (!value || typeof value !== 'object') { return false; } - if (!hasToStringTag) { + if (!hasToStringTag || !(Symbol.toStringTag in value)) { var tag = $slice($toString(value), 8, -1); return $indexOf(typedArrays, tag) > -1; } diff --git a/node_modules/is-typed-array/package.json b/node_modules/is-typed-array/package.json index 5bb6f564f..253778a29 100644 --- a/node_modules/is-typed-array/package.json +++ b/node_modules/is-typed-array/package.json @@ -1,6 +1,6 @@ { "name": "is-typed-array", - "version": "1.1.5", + "version": "1.1.10", "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com", @@ -20,14 +20,18 @@ "license": "MIT", "main": "index.js", "scripts": { - "prepublish": "safe-publish-latest", + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", "pretest": "npm run --silent lint", "test": "npm run tests-only && npm run test:harmony", "tests-only": "nyc tape test", "test:harmony": "nyc node --harmony --es-staging test", "posttest": "npx aud --production", - "prelint": "evalmd README.md", - "lint": "eslint ." + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" }, "repository": { "type": "git", @@ -54,24 +58,27 @@ "@@toStringTag" ], "dependencies": { - "available-typed-arrays": "^1.0.2", + "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", - "es-abstract": "^1.18.0-next.2", - "foreach": "^2.0.5", - "has-symbols": "^1.0.1" + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" }, "devDependencies": { - "@ljharb/eslint-config": "^17.5.1", - "aud": "^1.1.4", - "eslint": "^7.20.0", + "@ljharb/eslint-config": "^21.0.0", + "aud": "^2.0.1", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", "evalmd": "^0.0.19", - "is-callable": "^1.2.3", + "in-publish": "^2.0.1", + "is-callable": "^1.2.7", "make-arrow-function": "^1.2.0", "make-generator-function": "^2.0.0", + "npmignore": "^0.3.0", "nyc": "^10.3.2", - "object-inspect": "^1.9.0", - "safe-publish-latest": "^1.1.4", - "tape": "^5.1.1" + "object-inspect": "^1.12.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.6.1" }, "testling": { "files": "test/index.js", @@ -93,5 +100,19 @@ }, "engines": { "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true, + "startingVersion": "1.1.10" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] } } diff --git a/node_modules/is-typed-array/test/index.js b/node_modules/is-typed-array/test/index.js index e54700c81..8e7a16b08 100644 --- a/node_modules/is-typed-array/test/index.js +++ b/node_modules/is-typed-array/test/index.js @@ -3,10 +3,10 @@ var test = require('tape'); var isTypedArray = require('../'); var isCallable = require('is-callable'); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); var generators = require('make-generator-function')(); var arrowFn = require('make-arrow-function')(); -var forEach = require('foreach'); +var forEach = require('for-each'); var inspect = require('object-inspect'); var typedArrayNames = [ @@ -34,7 +34,6 @@ test('not arrays', function (t) { t.notOk(isTypedArray({}), 'object is not typed array'); t.notOk(isTypedArray(/a/g), 'regex literal is not typed array'); - // eslint-disable-next-line prefer-regex-literals t.notOk(isTypedArray(new RegExp('a', 'g')), 'regex object is not typed array'); t.notOk(isTypedArray(new Date()), 'new Date() is not typed array'); @@ -72,7 +71,7 @@ test('Arrow functions', { skip: !arrowFn }, function (t) { t.end(); }); -test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) { +test('@@toStringTag', { skip: !hasToStringTag }, function (t) { forEach(typedArrayNames, function (typedArray) { if (typeof global[typedArray] === 'function') { var fakeTypedArray = []; diff --git a/node_modules/js-yaml/node_modules/.bin/esparse b/node_modules/js-yaml/node_modules/.bin/esparse index 7423b18b2..1cc1c96ff 120000 --- a/node_modules/js-yaml/node_modules/.bin/esparse +++ b/node_modules/js-yaml/node_modules/.bin/esparse @@ -1 +1,12 @@ -../esprima/bin/esparse.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@" +else + exec node "$basedir/../esprima/bin/esparse.js" "$@" +fi diff --git a/node_modules/js-yaml/node_modules/.bin/esvalidate b/node_modules/js-yaml/node_modules/.bin/esvalidate index 16069effb..91a4c9b5f 120000 --- a/node_modules/js-yaml/node_modules/.bin/esvalidate +++ b/node_modules/js-yaml/node_modules/.bin/esvalidate @@ -1 +1,12 @@ -../esprima/bin/esvalidate.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@" +else + exec node "$basedir/../esprima/bin/esvalidate.js" "$@" +fi diff --git a/node_modules/node-notifier/node_modules/.bin/which b/node_modules/node-notifier/node_modules/.bin/which index f62471c85..c51820f2f 120000 --- a/node_modules/node-notifier/node_modules/.bin/which +++ b/node_modules/node-notifier/node_modules/.bin/which @@ -1 +1,12 @@ -../which/bin/which \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../which/bin/which" "$@" +else + exec node "$basedir/../which/bin/which" "$@" +fi diff --git a/node_modules/normalize-package-data/node_modules/.bin/semver b/node_modules/normalize-package-data/node_modules/.bin/semver index 317eb293d..86cee84b6 120000 --- a/node_modules/normalize-package-data/node_modules/.bin/semver +++ b/node_modules/normalize-package-data/node_modules/.bin/semver @@ -1 +1,12 @@ -../semver/bin/semver \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../semver/bin/semver" "$@" +else + exec node "$basedir/../semver/bin/semver" "$@" +fi diff --git a/node_modules/object-inspect/.eslintignore b/node_modules/object-inspect/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/object-inspect/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/object-inspect/.eslintrc b/node_modules/object-inspect/.eslintrc index 8a2d30ecf..21f903923 100644 --- a/node_modules/object-inspect/.eslintrc +++ b/node_modules/object-inspect/.eslintrc @@ -12,25 +12,14 @@ "max-statements-per-line": [2, { "max": 2 }], "no-magic-numbers": 0, "no-param-reassign": 1, - "operator-linebreak": [2, "before"], "strict": 0, // TODO }, - "globals": { - "BigInt": false, - "WeakSet": false, - "WeakMap": false, - }, "overrides": [ { "files": ["test/**", "test-*", "example/**"], + "extends": "@ljharb/eslint-config/tests", "rules": { - "array-bracket-newline": 0, "id-length": 0, - "max-params": 0, - "max-statements": 0, - "max-statements-per-line": 0, - "object-curly-newline": 0, - "sort-keys": 0, }, }, { diff --git a/node_modules/object-inspect/index.js b/node_modules/object-inspect/index.js index c85ca5a90..8496225cc 100644 --- a/node_modules/object-inspect/index.js +++ b/node_modules/object-inspect/index.js @@ -15,11 +15,24 @@ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; var booleanValueOf = Boolean.prototype.valueOf; var objectToString = Object.prototype.toString; var functionToString = Function.prototype.toString; -var match = String.prototype.match; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; var gOPS = Object.getOwnPropertySymbols; var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; var isEnumerable = Object.prototype.propertyIsEnumerable; var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( @@ -30,9 +43,31 @@ var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPr : null ); -var inspectCustom = require('./util.inspect').custom; -var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null; -var toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null; +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; + } + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } + } + return $replace.call(str, sepRegex, '$&_'); +} + +var utilInspect = require('./util.inspect'); +var inspectCustom = utilInspect.custom; +var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; module.exports = function inspect_(obj, options, depth, seen) { var opts = options || {}; @@ -49,8 +84,8 @@ module.exports = function inspect_(obj, options, depth, seen) { throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); } var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; - if (typeof customInspect !== 'boolean') { - throw new TypeError('option "customInspect", if provided, must be `true` or `false`'); + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); } if ( @@ -59,8 +94,12 @@ module.exports = function inspect_(obj, options, depth, seen) { && opts.indent !== '\t' && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) ) { - throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`'); + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); } + var numericSeparator = opts.numericSeparator; if (typeof obj === 'undefined') { return 'undefined'; @@ -79,10 +118,12 @@ module.exports = function inspect_(obj, options, depth, seen) { if (obj === 0) { return Infinity / obj > 0 ? '0' : '-0'; } - return String(obj); + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; } if (typeof obj === 'bigint') { - return String(obj) + 'n'; + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; } var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; @@ -101,7 +142,7 @@ module.exports = function inspect_(obj, options, depth, seen) { function inspect(value, from, noIndent) { if (from) { - seen = seen.slice(); + seen = $arrSlice.call(seen); seen.push(from); } if (noIndent) { @@ -116,24 +157,24 @@ module.exports = function inspect_(obj, options, depth, seen) { return inspect_(value, opts, depth + 1, seen); } - if (typeof obj === 'function') { + if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable var name = nameOf(obj); var keys = arrObjKeys(obj, inspect); - return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : ''); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); } if (isSymbol(obj)) { - var symString = hasShammedSymbols ? String(obj).replace(/^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; } if (isElement(obj)) { - var s = '<' + String(obj.nodeName).toLowerCase(); + var s = '<' + $toLowerCase.call(String(obj.nodeName)); var attrs = obj.attributes || []; for (var i = 0; i < attrs.length; i++) { s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); } s += '>'; if (obj.childNodes && obj.childNodes.length) { s += '...'; } - s += ''; + s += ''; return s; } if (isArray(obj)) { @@ -142,32 +183,39 @@ module.exports = function inspect_(obj, options, depth, seen) { if (indent && !singleLineValues(xs)) { return '[' + indentedJoin(xs, indent) + ']'; } - return '[ ' + xs.join(', ') + ' ]'; + return '[ ' + $join.call(xs, ', ') + ' ]'; } if (isError(obj)) { var parts = arrObjKeys(obj, inspect); + if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } if (parts.length === 0) { return '[' + String(obj) + ']'; } - return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }'; + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; } if (typeof obj === 'object' && customInspect) { - if (inspectSymbol && typeof obj[inspectSymbol] === 'function') { - return obj[inspectSymbol](); - } else if (typeof obj.inspect === 'function') { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { + return utilInspect(obj, { depth: maxDepth - depth }); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { return obj.inspect(); } } if (isMap(obj)) { var mapParts = []; - mapForEach.call(obj, function (value, key) { - mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); - }); + if (mapForEach) { + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + } return collectionOf('Map', mapSize.call(obj), mapParts, indent); } if (isSet(obj)) { var setParts = []; - setForEach.call(obj, function (value) { - setParts.push(inspect(value, obj)); - }); + if (setForEach) { + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + } return collectionOf('Set', setSize.call(obj), setParts, indent); } if (isWeakMap(obj)) { @@ -195,14 +243,14 @@ module.exports = function inspect_(obj, options, depth, seen) { var ys = arrObjKeys(obj, inspect); var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; var protoTag = obj instanceof Object ? '' : 'null prototype'; - var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr(obj).slice(8, -1) : protoTag ? 'Object' : ''; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; - var tag = constructorTag + (stringTag || protoTag ? '[' + [].concat(stringTag || [], protoTag || []).join(': ') + '] ' : ''); + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); if (ys.length === 0) { return tag + '{}'; } if (indent) { return tag + '{' + indentedJoin(ys, indent) + '}'; } - return tag + '{ ' + ys.join(', ') + ' }'; + return tag + '{ ' + $join.call(ys, ', ') + ' }'; } return String(obj); }; @@ -213,7 +261,7 @@ function wrapQuotes(s, defaultStyle, opts) { } function quote(s) { - return String(s).replace(/"/g, '"'); + return $replace.call(String(s), /"/g, '"'); } function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } @@ -264,7 +312,7 @@ function toStr(obj) { function nameOf(f) { if (f.name) { return f.name; } - var m = match.call(functionToString.call(f), /^function\s*([\w$]+)/); + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); if (m) { return m[1]; } return null; } @@ -364,10 +412,10 @@ function inspectString(str, opts) { if (str.length > opts.maxStringLength) { var remaining = str.length - opts.maxStringLength; var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); - return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer; + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; } // eslint-disable-next-line no-control-regex - var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte); + var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); return wrapQuotes(s, 'single', opts); } @@ -381,7 +429,7 @@ function lowbyte(c) { 13: 'r' }[n]; if (x) { return '\\' + x; } - return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase(); + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); } function markBoxed(str) { @@ -393,7 +441,7 @@ function weakCollectionOf(type) { } function collectionOf(type, size, entries, indent) { - var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', '); + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); return type + ' (' + size + ') {' + joinedEntries + '}'; } @@ -411,20 +459,20 @@ function getIndent(opts, depth) { if (opts.indent === '\t') { baseIndent = '\t'; } else if (typeof opts.indent === 'number' && opts.indent > 0) { - baseIndent = Array(opts.indent + 1).join(' '); + baseIndent = $join.call(Array(opts.indent + 1), ' '); } else { return null; } return { base: baseIndent, - prev: Array(depth + 1).join(baseIndent) + prev: $join.call(Array(depth + 1), baseIndent) }; } function indentedJoin(xs, indent) { if (xs.length === 0) { return ''; } var lineJoiner = '\n' + indent.prev + indent.base; - return lineJoiner + xs.join(',' + lineJoiner) + '\n' + indent.prev; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; } function arrObjKeys(obj, inspect) { @@ -451,7 +499,7 @@ function arrObjKeys(obj, inspect) { if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section continue; // eslint-disable-line no-restricted-syntax, no-continue - } else if ((/[^\w$]/).test(key)) { + } else if ($test.call(/[^\w$]/, key)) { xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); } else { xs.push(key + ': ' + inspect(obj[key], obj)); diff --git a/node_modules/object-inspect/package.json b/node_modules/object-inspect/package.json index 014e18999..5f6d5cf86 100644 --- a/node_modules/object-inspect/package.json +++ b/node_modules/object-inspect/package.json @@ -1,30 +1,43 @@ { "name": "object-inspect", - "version": "1.10.3", + "version": "1.12.3", "description": "string representations of objects in node and the browser", "main": "index.js", + "sideEffects": false, "devDependencies": { - "@ljharb/eslint-config": "^17.6.0", - "aud": "^1.1.5", + "@ljharb/eslint-config": "^21.0.1", + "@pkgjs/support": "^0.0.6", + "aud": "^2.0.2", + "auto-changelog": "^2.4.0", "core-js": "^2.6.12", - "eslint": "^7.26.0", + "error-cause": "^1.0.5", + "es-value-fixtures": "^1.4.2", + "eslint": "=8.8.0", "for-each": "^0.3.3", - "functions-have-names": "^1.2.2", + "functions-have-names": "^1.2.3", + "has-tostringtag": "^1.0.0", + "in-publish": "^2.0.1", "make-arrow-function": "^1.2.0", + "mock-property": "^1.0.0", + "npmignore": "^0.3.0", "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", + "safe-publish-latest": "^2.0.0", "string.prototype.repeat": "^1.0.0", - "tape": "^5.2.2" + "tape": "^5.6.1" }, "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", "prepublish": "not-in-publish || npm run prepublishOnly", "prepublishOnly": "safe-publish-latest", "pretest": "npm run lint", - "lint": "eslint .", + "lint": "eslint --ext=js,mjs .", + "postlint": "npx @pkgjs/support validate", "test": "npm run tests-only && npm run test:corejs", "tests-only": "nyc tape 'test/*.js'", "test:corejs": "nyc tape test-core-js.js 'test/*.js'", - "posttest": "npx aud --production" + "posttest": "npx aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" }, "testling": { "files": [ @@ -66,10 +79,19 @@ "browser": { "./util.inspect.js": false }, - "greenkeeper": { + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { "ignore": [ - "nyc", - "core-js" + ".github/workflows", + "./test-core-js.js" ] - } + }, + "support": true } diff --git a/node_modules/object-inspect/readme.markdown b/node_modules/object-inspect/readme.markdown index 00fdb7ef1..9ff6bec36 100644 --- a/node_modules/object-inspect/readme.markdown +++ b/node_modules/object-inspect/readme.markdown @@ -53,8 +53,9 @@ Return a string `s` with the string representation of `obj` up to a depth of `op Additional options: - `quoteStyle`: must be "single" or "double", if present. Default `'single'` for strings, `'double'` for HTML elements. - `maxStringLength`: must be `0`, a positive integer, `Infinity`, or `null`, if present. Default `Infinity`. - - `customInspect`: When `true`, a custom inspect method function will be invoked. Default `true`. + - `customInspect`: When `true`, a custom inspect method function will be invoked (either undere the `util.inspect.custom` symbol, or the `inspect` property). When the string `'symbol'`, only the symbol method will be invoked. Default `true`. - `indent`: must be "\t", `null`, or a positive integer. Default `null`. + - `numericSeparator`: must be a boolean, if present. Default `false`. If `true`, all numbers will be printed with numeric separators (eg, `1234.5678` will be printed as `'1_234.567_8'`) # install diff --git a/node_modules/object-inspect/test/bigint.js b/node_modules/object-inspect/test/bigint.js index 905643569..4ecc31df8 100644 --- a/node_modules/object-inspect/test/bigint.js +++ b/node_modules/object-inspect/test/bigint.js @@ -2,7 +2,7 @@ var inspect = require('../'); var test = require('tape'); -var hasSymbols = require('has-symbols/shams')(); +var hasToStringTag = require('has-tostringtag/shams')(); test('bigint', { skip: typeof BigInt === 'undefined' }, function (t) { t.test('primitives', function (st) { @@ -30,7 +30,7 @@ test('bigint', { skip: typeof BigInt === 'undefined' }, function (t) { st.equal(inspect(Function('return 256n')()), '256n'); }); - t.test('toStringTag', { skip: !hasSymbols || typeof Symbol.toStringTag === 'undefined' }, function (st) { + t.test('toStringTag', { skip: !hasToStringTag }, function (st) { st.plan(1); var faker = {}; @@ -42,5 +42,17 @@ test('bigint', { skip: typeof BigInt === 'undefined' }, function (t) { ); }); + t.test('numericSeparator', function (st) { + st.equal(inspect(BigInt(0), { numericSeparator: false }), '0n', '0n, numericSeparator false'); + st.equal(inspect(BigInt(0), { numericSeparator: true }), '0n', '0n, numericSeparator true'); + + st.equal(inspect(BigInt(1234), { numericSeparator: false }), '1234n', '1234n, numericSeparator false'); + st.equal(inspect(BigInt(1234), { numericSeparator: true }), '1_234n', '1234n, numericSeparator true'); + st.equal(inspect(BigInt(-1234), { numericSeparator: false }), '-1234n', '1234n, numericSeparator false'); + st.equal(inspect(BigInt(-1234), { numericSeparator: true }), '-1_234n', '1234n, numericSeparator true'); + + st.end(); + }); + t.end(); }); diff --git a/node_modules/object-inspect/test/err.js b/node_modules/object-inspect/test/err.js index db9633810..cc1d884ab 100644 --- a/node_modules/object-inspect/test/err.js +++ b/node_modules/object-inspect/test/err.js @@ -1,5 +1,7 @@ -var inspect = require('../'); var test = require('tape'); +var ErrorWithCause = require('error-cause/Error'); + +var inspect = require('../'); test('type error', function (t) { t.plan(1); @@ -14,18 +16,33 @@ test('type error', function (t) { cerr.message = 'whoa'; cerr['a-b'] = 5; + var withCause = new ErrorWithCause('foo', { cause: 'bar' }); + var withCausePlus = new ErrorWithCause('foo', { cause: 'bar' }); + withCausePlus.foo = 'bar'; + var withUndefinedCause = new ErrorWithCause('foo', { cause: undefined }); + var withEnumerableCause = new Error('foo'); + withEnumerableCause.cause = 'bar'; + var obj = [ new TypeError(), new TypeError('xxx'), aerr, berr, - cerr + cerr, + withCause, + withCausePlus, + withUndefinedCause, + withEnumerableCause ]; t.equal(inspect(obj), '[ ' + [ '[TypeError]', '[TypeError: xxx]', '{ [TypeError] foo: 555, bar: [ 1, 2, 3 ] }', '{ [TypeError: tuv] baz: 555 }', - '{ [SyntaxError: whoa] message: \'whoa\', \'a-b\': 5 }' + '{ [SyntaxError: whoa] message: \'whoa\', \'a-b\': 5 }', + 'cause' in Error.prototype ? '[Error: foo]' : '{ [Error: foo] [cause]: \'bar\' }', + '{ [Error: foo] ' + ('cause' in Error.prototype ? '' : '[cause]: \'bar\', ') + 'foo: \'bar\' }', + 'cause' in Error.prototype ? '[Error: foo]' : '{ [Error: foo] [cause]: undefined }', + '{ [Error: foo] cause: \'bar\' }' ].join(', ') + ' ]'); }); diff --git a/node_modules/object-inspect/test/fakes.js b/node_modules/object-inspect/test/fakes.js index 17225e2eb..a65c08c15 100644 --- a/node_modules/object-inspect/test/fakes.js +++ b/node_modules/object-inspect/test/fakes.js @@ -2,10 +2,10 @@ var inspect = require('../'); var test = require('tape'); -var hasSymbols = require('has-symbols/shams')(); +var hasToStringTag = require('has-tostringtag/shams')(); var forEach = require('for-each'); -test('fakes', { skip: !hasSymbols || typeof Symbol.toStringTag === 'undefined' }, function (t) { +test('fakes', { skip: !hasToStringTag }, function (t) { forEach([ 'Array', 'Boolean', diff --git a/node_modules/object-inspect/test/has.js b/node_modules/object-inspect/test/has.js index 026d6d5c3..01800dee6 100644 --- a/node_modules/object-inspect/test/has.js +++ b/node_modules/object-inspect/test/has.js @@ -1,34 +1,15 @@ +'use strict'; + var inspect = require('../'); var test = require('tape'); - -function withoutProperty(object, property, fn) { - var original; - if (Object.getOwnPropertyDescriptor) { - original = Object.getOwnPropertyDescriptor(object, property); - } else { - original = object[property]; - } - delete object[property]; - try { - fn(); - } finally { - if (Object.getOwnPropertyDescriptor) { - Object.defineProperty(object, property, original); - } else { - object[property] = original; - } - } -} +var mockProperty = require('mock-property'); test('when Object#hasOwnProperty is deleted', function (t) { t.plan(1); var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays - // eslint-disable-next-line no-extend-native - Array.prototype[1] = 2; // this is needed to account for "in" vs "hasOwnProperty" + t.teardown(mockProperty(Array.prototype, 1, { value: 2 })); // this is needed to account for "in" vs "hasOwnProperty" + t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true })); - withoutProperty(Object.prototype, 'hasOwnProperty', function () { - t.equal(inspect(arr), '[ 1, , 3 ]'); - }); - delete Array.prototype[1]; + t.equal(inspect(arr), '[ 1, , 3 ]'); }); diff --git a/node_modules/object-inspect/test/inspect.js b/node_modules/object-inspect/test/inspect.js index 54c6f46bb..1abf81b1f 100644 --- a/node_modules/object-inspect/test/inspect.js +++ b/node_modules/object-inspect/test/inspect.js @@ -6,30 +6,40 @@ var repeat = require('string.prototype.repeat'); var inspect = require('..'); test('inspect', function (t) { - t.plan(4); + t.plan(5); + var obj = [{ inspect: function xyzInspect() { return '!XYZ¡'; } }, []]; - t.equal(inspect(obj), '[ !XYZ¡, [] ]'); - t.equal(inspect(obj, { customInspect: true }), '[ !XYZ¡, [] ]'); - t.equal(inspect(obj, { customInspect: false }), '[ { inspect: [Function: xyzInspect] }, [] ]'); + var stringResult = '[ !XYZ¡, [] ]'; + var falseResult = '[ { inspect: [Function: xyzInspect] }, [] ]'; + + t.equal(inspect(obj), stringResult); + t.equal(inspect(obj, { customInspect: true }), stringResult); + t.equal(inspect(obj, { customInspect: 'symbol' }), falseResult); + t.equal(inspect(obj, { customInspect: false }), falseResult); t['throws']( - function () { inspect(obj, { customInspect: 'not a boolean' }); }, + function () { inspect(obj, { customInspect: 'not a boolean or "symbol"' }); }, TypeError, - '`customInspect` must be a boolean' + '`customInspect` must be a boolean or the string "symbol"' ); }); test('inspect custom symbol', { skip: !hasSymbols || !utilInspect || !utilInspect.custom }, function (t) { - t.plan(3); + t.plan(4); var obj = { inspect: function stringInspect() { return 'string'; } }; obj[utilInspect.custom] = function custom() { return 'symbol'; }; - t.equal(inspect([obj, []]), '[ ' + (utilInspect.custom ? 'symbol' : 'string') + ', [] ]'); - t.equal(inspect([obj, []], { customInspect: true }), '[ ' + (utilInspect.custom ? 'symbol' : 'string') + ', [] ]'); - t.equal( - inspect([obj, []], { customInspect: false }), - '[ { inspect: [Function: stringInspect]' + (utilInspect.custom ? ', [' + inspect(utilInspect.custom) + ']: [Function: custom]' : '') + ' }, [] ]' - ); + var symbolResult = '[ symbol, [] ]'; + var stringResult = '[ string, [] ]'; + var falseResult = '[ { inspect: [Function: stringInspect]' + (utilInspect.custom ? ', [' + inspect(utilInspect.custom) + ']: [Function: custom]' : '') + ' }, [] ]'; + + var symbolStringFallback = utilInspect.custom ? symbolResult : stringResult; + var symbolFalseFallback = utilInspect.custom ? symbolResult : falseResult; + + t.equal(inspect([obj, []]), symbolStringFallback); + t.equal(inspect([obj, []], { customInspect: true }), symbolStringFallback); + t.equal(inspect([obj, []], { customInspect: 'symbol' }), symbolFalseFallback); + t.equal(inspect([obj, []], { customInspect: false }), falseResult); }); test('symbols', { skip: !hasSymbols }, function (t) { @@ -90,3 +100,40 @@ test('maxStringLength', function (t) { t.end(); }); + +test('inspect options', { skip: !utilInspect.custom }, function (t) { + var obj = {}; + obj[utilInspect.custom] = function () { + return JSON.stringify(arguments); + }; + t.equal( + inspect(obj), + utilInspect(obj, { depth: 5 }), + 'custom symbols will use node\'s inspect' + ); + t.equal( + inspect(obj, { depth: 2 }), + utilInspect(obj, { depth: 2 }), + 'a reduced depth will be passed to node\'s inspect' + ); + t.equal( + inspect({ d1: obj }, { depth: 3 }), + '{ d1: ' + utilInspect(obj, { depth: 2 }) + ' }', + 'deep objects will receive a reduced depth' + ); + t.equal( + inspect({ d1: obj }, { depth: 1 }), + '{ d1: [Object] }', + 'unlike nodejs inspect, customInspect will not be used once the depth is exceeded.' + ); + t.end(); +}); + +test('inspect URL', { skip: typeof URL === 'undefined' }, function (t) { + t.match( + inspect(new URL('https://nodejs.org')), + /nodejs\.org/, // Different environments stringify it differently + 'url can be inspected' + ); + t.end(); +}); diff --git a/node_modules/object-inspect/test/number.js b/node_modules/object-inspect/test/number.js index 448304e59..8f287e8e2 100644 --- a/node_modules/object-inspect/test/number.js +++ b/node_modules/object-inspect/test/number.js @@ -1,5 +1,8 @@ -var inspect = require('../'); var test = require('tape'); +var v = require('es-value-fixtures'); +var forEach = require('for-each'); + +var inspect = require('../'); test('negative zero', function (t) { t.equal(inspect(0), '0', 'inspect(0) === "0"'); @@ -10,3 +13,46 @@ test('negative zero', function (t) { t.end(); }); + +test('numericSeparator', function (t) { + forEach(v.nonBooleans, function (nonBoolean) { + t['throws']( + function () { inspect(true, { numericSeparator: nonBoolean }); }, + TypeError, + inspect(nonBoolean) + ' is not a boolean' + ); + }); + + t.test('3 digit numbers', function (st) { + var failed = false; + for (var i = -999; i < 1000; i += 1) { + var actual = inspect(i); + var actualSepNo = inspect(i, { numericSeparator: false }); + var actualSepYes = inspect(i, { numericSeparator: true }); + var expected = String(i); + if (actual !== expected || actualSepNo !== expected || actualSepYes !== expected) { + failed = true; + t.equal(actual, expected); + t.equal(actualSepNo, expected); + t.equal(actualSepYes, expected); + } + } + + st.notOk(failed, 'all 3 digit numbers passed'); + + st.end(); + }); + + t.equal(inspect(1e3), '1000', '1000'); + t.equal(inspect(1e3, { numericSeparator: false }), '1000', '1000, numericSeparator false'); + t.equal(inspect(1e3, { numericSeparator: true }), '1_000', '1000, numericSeparator true'); + t.equal(inspect(-1e3), '-1000', '-1000'); + t.equal(inspect(-1e3, { numericSeparator: false }), '-1000', '-1000, numericSeparator false'); + t.equal(inspect(-1e3, { numericSeparator: true }), '-1_000', '-1000, numericSeparator true'); + + t.equal(inspect(1234.5678, { numericSeparator: true }), '1_234.567_8', 'fractional numbers get separators'); + t.equal(inspect(1234.56789, { numericSeparator: true }), '1_234.567_89', 'fractional numbers get separators'); + t.equal(inspect(1234.567891, { numericSeparator: true }), '1_234.567_891', 'fractional numbers get separators'); + + t.end(); +}); diff --git a/node_modules/object-inspect/test/toStringTag.js b/node_modules/object-inspect/test/toStringTag.js index b7ddad374..95f82703d 100644 --- a/node_modules/object-inspect/test/toStringTag.js +++ b/node_modules/object-inspect/test/toStringTag.js @@ -1,11 +1,11 @@ 'use strict'; var test = require('tape'); -var hasSymbols = require('has-symbols/shams')(); +var hasToStringTag = require('has-tostringtag/shams')(); var inspect = require('../'); -test('Symbol.toStringTag', { skip: !hasSymbols || typeof Symbol.toStringTag === 'undefined' }, function (t) { +test('Symbol.toStringTag', { skip: !hasToStringTag }, function (t) { t.plan(4); var obj = { a: 1 }; diff --git a/node_modules/object-inspect/test/values.js b/node_modules/object-inspect/test/values.js index ee64681b2..4832b9fe9 100644 --- a/node_modules/object-inspect/test/values.js +++ b/node_modules/object-inspect/test/values.js @@ -2,7 +2,9 @@ var inspect = require('../'); var test = require('tape'); +var mockProperty = require('mock-property'); var hasSymbols = require('has-symbols/shams')(); +var hasToStringTag = require('has-tostringtag/shams')(); test('values', function (t) { t.plan(1); @@ -22,10 +24,9 @@ test('arrays with properties', function (t) { test('has', function (t) { t.plan(1); - var has = Object.prototype.hasOwnProperty; - delete Object.prototype.hasOwnProperty; + t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true })); + t.equal(inspect({ a: 1, b: 2 }), '{ a: 1, b: 2 }'); - Object.prototype.hasOwnProperty = has; // eslint-disable-line no-extend-native }); test('indexOf seen', function (t) { @@ -76,7 +77,7 @@ test('symbols', { skip: !hasSymbols }, function (t) { t.equal(inspect(Object(sym)), 'Object(Symbol(foo))', 'Object(Symbol("foo")) should be "Object(Symbol(foo))"'); } - t.test('toStringTag', { skip: !hasSymbols || typeof Symbol.toStringTag === 'undefined' }, function (st) { + t.test('toStringTag', { skip: !hasToStringTag }, function (st) { st.plan(1); var faker = {}; diff --git a/node_modules/object-keys/.editorconfig b/node_modules/object-keys/.editorconfig deleted file mode 100644 index eaa214161..000000000 --- a/node_modules/object-keys/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -root = true - -[*] -indent_style = tab; -insert_final_newline = true; -quote_type = auto; -space_after_anonymous_functions = true; -space_after_control_statements = true; -spaces_around_operators = true; -trim_trailing_whitespace = true; -spaces_in_brackets = false; -end_of_line = lf; - diff --git a/node_modules/object-keys/.eslintrc b/node_modules/object-keys/.eslintrc deleted file mode 100644 index 9a8d5b0e9..000000000 --- a/node_modules/object-keys/.eslintrc +++ /dev/null @@ -1,17 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "complexity": [2, 23], - "id-length": [2, { "min": 1, "max": 40 }], - "max-params": [2, 3], - "max-statements": [2, 23], - "max-statements-per-line": [2, { "max": 2 }], - "no-extra-parens": [1], - "no-invalid-this": [1], - "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "LabeledStatement", "WithStatement"], - "operator-linebreak": [2, "after"] - } -} diff --git a/node_modules/object-keys/.travis.yml b/node_modules/object-keys/.travis.yml deleted file mode 100644 index 94a6ce42d..000000000 --- a/node_modules/object-keys/.travis.yml +++ /dev/null @@ -1,277 +0,0 @@ -language: node_js -os: - - linux -node_js: - - "11.8" - - "10.15" - - "9.11" - - "8.15" - - "7.10" - - "6.16" - - "5.12" - - "4.9" - - "iojs-v3.3" - - "iojs-v2.5" - - "iojs-v1.8" - - "0.12" - - "0.10" - - "0.8" -before_install: - - 'case "${TRAVIS_NODE_VERSION}" in 0.*) export NPM_CONFIG_STRICT_SSL=false ;; esac' - - 'nvm install-latest-npm' -install: - - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.9" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;' -script: - - 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi' - - 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi' - - 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi' - - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi' -sudo: false -env: - - TEST=true -matrix: - fast_finish: true - include: - - node_js: "lts/*" - env: PRETEST=true - - node_js: "lts/*" - env: POSTTEST=true - - node_js: "4" - env: COVERAGE=true - - node_js: "11.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "11.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "11.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "11.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "11.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "11.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "11.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "11.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.14" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.13" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.12" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.11" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "10.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "9.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.14" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.13" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.12" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.11" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "8.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "7.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.15" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.14" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.13" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.12" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.11" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "6.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.11" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.10" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "5.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.8" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "4.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v3.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v3.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v3.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v2.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.7" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.5" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.4" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.3" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.2" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.1" - env: TEST=true ALLOW_FAILURE=true - - node_js: "iojs-v1.0" - env: TEST=true ALLOW_FAILURE=true - - node_js: "0.11" - env: TEST=true ALLOW_FAILURE=true - - node_js: "0.9" - env: TEST=true ALLOW_FAILURE=true - - node_js: "0.6" - env: TEST=true ALLOW_FAILURE=true - - node_js: "0.4" - env: TEST=true ALLOW_FAILURE=true - allow_failures: - - os: osx - - env: TEST=true ALLOW_FAILURE=true - - env: COVERAGE=true - - env: POSTTEST=true diff --git a/node_modules/object-keys/CHANGELOG.md b/node_modules/object-keys/CHANGELOG.md deleted file mode 100644 index b7d92df24..000000000 --- a/node_modules/object-keys/CHANGELOG.md +++ /dev/null @@ -1,232 +0,0 @@ -1.1.1 / 2019-04-06 -================= - * [Fix] exclude deprecated Firefox keys (#53) - -1.1.0 / 2019-02-10 -================= - * [New] [Refactor] move full implementation to `implementation` entry point - * [Refactor] only evaluate the implementation if `Object.keys` is not present - * [Tests] up to `node` `v11.8`, `v10.15`, `v8.15`, `v6.16` - * [Tests] remove jscs - * [Tests] switch to `npm audit` from `nsp` - -1.0.12 / 2018-06-18 -================= - * [Fix] avoid accessing `window.applicationCache`, to avoid issues with latest Chrome on HTTP (#46) - -1.0.11 / 2016-07-05 -================= - * [Fix] exclude keys regarding the style (eg. `pageYOffset`) on `window` to avoid reflow (#32) - -1.0.10 / 2016-07-04 -================= - * [Fix] exclude `height` and `width` keys on `window` to avoid reflow (#31) - * [Fix] In IE 6, `window.external` makes `Object.keys` throw - * [Tests] up to `node` `v6.2`, `v5.10`, `v4.4` - * [Tests] use pretest/posttest for linting/security - * [Dev Deps] update `tape`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config` - * [Dev Deps] remove unused eccheck script + dep - -1.0.9 / 2015-10-19 -================= - * [Fix] Blacklist 'frame' property on window (#16, #17) - * [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config` - -1.0.8 / 2015-10-14 -================= - * [Fix] wrap automation equality bug checking in try/catch, per [es5-shim#327](https://github.com/es-shims/es5-shim/issues/327) - * [Fix] Blacklist 'window.frameElement' per [es5-shim#322](https://github.com/es-shims/es5-shim/issues/322) - * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG - * [Tests] up to `io.js` `v3.3`, `node` `v4.2` - * [Dev Deps] update `eslint`, `tape`, `@ljharb/eslint-config`, `jscs` - -1.0.7 / 2015-07-18 -================= - * [Fix] A proper fix for 176f03335e90d5c8d0d8125a99f27819c9b9cdad / https://github.com/es-shims/es5-shim/issues/275 that doesn't break dontEnum/constructor fixes in IE 8. - * [Fix] Remove deprecation message in Chrome by touching deprecated window properties (#15) - * [Tests] Improve test output for automation equality bugfix - * [Tests] Test on `io.js` `v2.4` - -1.0.6 / 2015-07-09 -================= - * [Fix] Use an object lookup rather than ES5's `indexOf` (#14) - * [Tests] ES3 browsers don't have `Array.isArray` - * [Tests] Fix `no-shadow` rule, as well as an IE 8 bug caused by engine NFE shadowing bugs. - -1.0.5 / 2015-07-03 -================= - * [Fix] Fix a flabbergasting IE 8 bug where `localStorage.constructor.prototype === localStorage` throws - * [Tests] Test up to `io.js` `v2.3` - * [Dev Deps] Update `nsp`, `eslint` - -1.0.4 / 2015-05-23 -================= - * Fix a Safari 5.0 bug with `Object.keys` not working with `arguments` - * Test on latest `node` and `io.js` - * Update `jscs`, `tape`, `eslint`, `nsp`, `is`, `editorconfig-tools`, `covert` - -1.0.3 / 2015-01-06 -================= - * Revert "Make `object-keys` more robust against later environment tampering" to maintain ES3 compliance - -1.0.2 / 2014-12-28 -================= - * Update lots of dev dependencies - * Tweaks to README - * Make `object-keys` more robust against later environment tampering - -1.0.1 / 2014-09-03 -================= - * Update URLs and badges in README - -1.0.0 / 2014-08-26 -================= - * v1.0.0 - -0.6.1 / 2014-08-25 -================= - * v0.6.1 - * Updating dependencies (tape, covert, is) - * Update badges in readme - * Use separate var statements - -0.6.0 / 2014-04-23 -================= - * v0.6.0 - * Updating dependencies (tape, covert) - * Make sure boxed primitives, and arguments objects, work properly in ES3 browsers - * Improve test matrix: test all node versions, but only latest two stables are a failure - * Remove internal foreach shim. - -0.5.1 / 2014-03-09 -================= - * 0.5.1 - * Updating dependencies (tape, covert, is) - * Removing forEach from the module (but keeping it in tests) - -0.5.0 / 2014-01-30 -================= - * 0.5.0 - * Explicitly returning the shim, instead of returning native Object.keys when present - * Adding a changelog. - * Cleaning up IIFE wrapping - * Testing on node 0.4 through 0.11 - -0.4.0 / 2013-08-14 -================== - - * v0.4.0 - * In Chrome 4-10 and Safari 4, typeof (new RegExp) === 'function' - * If it's a string, make sure to use charAt instead of brackets. - * Only use Function#call if necessary. - * Making sure the context tests actually run. - * Better function detection - * Adding the android browser - * Fixing testling files - * Updating tape - * Removing the "is" dependency. - * Making an isArguments shim. - * Adding a local forEach shim and tests. - * Updating paths. - * Moving the shim test. - * v0.3.0 - -0.3.0 / 2013-05-18 -================== - - * README tweak. - * Fixing constructor enum issue. Fixes [#5](https://github.com/ljharb/object-keys/issues/5). - * Adding a test for [#5](https://github.com/ljharb/object-keys/issues/5) - * Updating readme. - * Updating dependencies. - * Giving credit to lodash. - * Make sure that a prototype's constructor property is not enumerable. Fixes [#3](https://github.com/ljharb/object-keys/issues/3). - * Adding additional tests to handle arguments objects, and to skip "prototype" in functions. Fixes [#2](https://github.com/ljharb/object-keys/issues/2). - * Fixing a typo on this test for [#3](https://github.com/ljharb/object-keys/issues/3). - * Adding node 0.10 to travis. - * Adding an IE < 9 test per [#3](https://github.com/ljharb/object-keys/issues/3) - * Adding an iOS 5 mobile Safari test per [#2](https://github.com/ljharb/object-keys/issues/2) - * Moving "indexof" and "is" to be dev dependencies. - * Making sure the shim works with functions. - * Flattening the tests. - -0.2.0 / 2013-05-10 -================== - - * v0.2.0 - * Object.keys should work with arrays. - -0.1.8 / 2013-05-10 -================== - - * v0.1.8 - * Upgrading dependencies. - * Using a simpler check. - * Fixing a bug in hasDontEnumBug browsers. - * Using the newest tape! - * Fixing this error test. - * "undefined" is probably a reserved word in ES3. - * Better test message. - -0.1.7 / 2013-04-17 -================== - - * Upgrading "is" once more. - * The key "null" is breaking some browsers. - -0.1.6 / 2013-04-17 -================== - - * v0.1.6 - * Upgrading "is" - -0.1.5 / 2013-04-14 -================== - - * Bumping version. - * Adding more testling browsers. - * Updating "is" - -0.1.4 / 2013-04-08 -================== - - * Using "is" instead of "is-extended". - -0.1.3 / 2013-04-07 -================== - - * Using "foreach" instead of my own shim. - * Removing "tap"; I'll just wait for "tape" to fix its node 0.10 bug. - -0.1.2 / 2013-04-03 -================== - - * Adding dependency status; moving links to an index at the bottom. - * Upgrading is-extended; version 0.1.2 - * Adding an npm version badge. - -0.1.1 / 2013-04-01 -================== - - * Adding Travis CI. - * Bumping the version. - * Adding indexOf since IE sucks. - * Adding a forEach shim since older browsers don't have Array#forEach. - * Upgrading tape - 0.3.2 uses Array#map - * Using explicit end instead of plan. - * Can't test with Array.isArray in older browsers. - * Using is-extended. - * Fixing testling files. - * JSHint/JSLint-ing. - * Removing an unused object. - * Using strict mode. - -0.1.0 / 2013-03-30 -================== - - * Changing the exports should have meant a higher version bump. - * Oops, fixing the repo URL. - * Adding more tests. - * 0.0.2 - * Merge branch 'export_one_thing'; closes [#1](https://github.com/ljharb/object-keys/issues/1) - * Move shim export to a separate file. diff --git a/node_modules/object-keys/LICENSE b/node_modules/object-keys/LICENSE deleted file mode 100644 index 28553fdd0..000000000 --- a/node_modules/object-keys/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (C) 2013 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/object-keys/README.md b/node_modules/object-keys/README.md deleted file mode 100644 index ed4c27702..000000000 --- a/node_modules/object-keys/README.md +++ /dev/null @@ -1,76 +0,0 @@ -#object-keys [![Version Badge][npm-version-svg]][package-url] - -[![Build Status][travis-svg]][travis-url] -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -[![browser support][testling-svg]][testling-url] - -An Object.keys shim. Invoke its "shim" method to shim Object.keys if it is unavailable. - -Most common usage: -```js -var keys = Object.keys || require('object-keys'); -``` - -## Example - -```js -var keys = require('object-keys'); -var assert = require('assert'); -var obj = { - a: true, - b: true, - c: true -}; - -assert.deepEqual(keys(obj), ['a', 'b', 'c']); -``` - -```js -var keys = require('object-keys'); -var assert = require('assert'); -/* when Object.keys is not present */ -delete Object.keys; -var shimmedKeys = keys.shim(); -assert.equal(shimmedKeys, keys); -assert.deepEqual(Object.keys(obj), keys(obj)); -``` - -```js -var keys = require('object-keys'); -var assert = require('assert'); -/* when Object.keys is present */ -var shimmedKeys = keys.shim(); -assert.equal(shimmedKeys, Object.keys); -assert.deepEqual(Object.keys(obj), keys(obj)); -``` - -## Source -Implementation taken directly from [es5-shim][es5-shim-url], with modifications, including from [lodash][lodash-url]. - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.org/package/object-keys -[npm-version-svg]: http://versionbadg.es/ljharb/object-keys.svg -[travis-svg]: https://travis-ci.org/ljharb/object-keys.svg -[travis-url]: https://travis-ci.org/ljharb/object-keys -[deps-svg]: https://david-dm.org/ljharb/object-keys.svg -[deps-url]: https://david-dm.org/ljharb/object-keys -[dev-deps-svg]: https://david-dm.org/ljharb/object-keys/dev-status.svg -[dev-deps-url]: https://david-dm.org/ljharb/object-keys#info=devDependencies -[testling-svg]: https://ci.testling.com/ljharb/object-keys.png -[testling-url]: https://ci.testling.com/ljharb/object-keys -[es5-shim-url]: https://github.com/es-shims/es5-shim/blob/master/es5-shim.js#L542-589 -[lodash-url]: https://github.com/lodash/lodash -[npm-badge-png]: https://nodei.co/npm/object-keys.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/object-keys.svg -[license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/object-keys.svg -[downloads-url]: http://npm-stat.com/charts.html?package=object-keys - diff --git a/node_modules/object-keys/implementation.js b/node_modules/object-keys/implementation.js deleted file mode 100644 index 5b3298619..000000000 --- a/node_modules/object-keys/implementation.js +++ /dev/null @@ -1,122 +0,0 @@ -'use strict'; - -var keysShim; -if (!Object.keys) { - // modified from https://github.com/es-shims/es5-shim - var has = Object.prototype.hasOwnProperty; - var toStr = Object.prototype.toString; - var isArgs = require('./isArguments'); // eslint-disable-line global-require - var isEnumerable = Object.prototype.propertyIsEnumerable; - var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); - var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); - var dontEnums = [ - 'toString', - 'toLocaleString', - 'valueOf', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'constructor' - ]; - var equalsConstructorPrototype = function (o) { - var ctor = o.constructor; - return ctor && ctor.prototype === o; - }; - var excludedKeys = { - $applicationCache: true, - $console: true, - $external: true, - $frame: true, - $frameElement: true, - $frames: true, - $innerHeight: true, - $innerWidth: true, - $onmozfullscreenchange: true, - $onmozfullscreenerror: true, - $outerHeight: true, - $outerWidth: true, - $pageXOffset: true, - $pageYOffset: true, - $parent: true, - $scrollLeft: true, - $scrollTop: true, - $scrollX: true, - $scrollY: true, - $self: true, - $webkitIndexedDB: true, - $webkitStorageInfo: true, - $window: true - }; - var hasAutomationEqualityBug = (function () { - /* global window */ - if (typeof window === 'undefined') { return false; } - for (var k in window) { - try { - if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { - try { - equalsConstructorPrototype(window[k]); - } catch (e) { - return true; - } - } - } catch (e) { - return true; - } - } - return false; - }()); - var equalsConstructorPrototypeIfNotBuggy = function (o) { - /* global window */ - if (typeof window === 'undefined' || !hasAutomationEqualityBug) { - return equalsConstructorPrototype(o); - } - try { - return equalsConstructorPrototype(o); - } catch (e) { - return false; - } - }; - - keysShim = function keys(object) { - var isObject = object !== null && typeof object === 'object'; - var isFunction = toStr.call(object) === '[object Function]'; - var isArguments = isArgs(object); - var isString = isObject && toStr.call(object) === '[object String]'; - var theKeys = []; - - if (!isObject && !isFunction && !isArguments) { - throw new TypeError('Object.keys called on a non-object'); - } - - var skipProto = hasProtoEnumBug && isFunction; - if (isString && object.length > 0 && !has.call(object, 0)) { - for (var i = 0; i < object.length; ++i) { - theKeys.push(String(i)); - } - } - - if (isArguments && object.length > 0) { - for (var j = 0; j < object.length; ++j) { - theKeys.push(String(j)); - } - } else { - for (var name in object) { - if (!(skipProto && name === 'prototype') && has.call(object, name)) { - theKeys.push(String(name)); - } - } - } - - if (hasDontEnumBug) { - var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); - - for (var k = 0; k < dontEnums.length; ++k) { - if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { - theKeys.push(dontEnums[k]); - } - } - } - return theKeys; - }; -} -module.exports = keysShim; diff --git a/node_modules/object-keys/index.js b/node_modules/object-keys/index.js deleted file mode 100644 index a43807d2f..000000000 --- a/node_modules/object-keys/index.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var slice = Array.prototype.slice; -var isArgs = require('./isArguments'); - -var origKeys = Object.keys; -var keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation'); - -var originalKeys = Object.keys; - -keysShim.shim = function shimObjectKeys() { - if (Object.keys) { - var keysWorksWithArguments = (function () { - // Safari 5.0 bug - var args = Object.keys(arguments); - return args && args.length === arguments.length; - }(1, 2)); - if (!keysWorksWithArguments) { - Object.keys = function keys(object) { // eslint-disable-line func-name-matching - if (isArgs(object)) { - return originalKeys(slice.call(object)); - } - return originalKeys(object); - }; - } - } else { - Object.keys = keysShim; - } - return Object.keys || keysShim; -}; - -module.exports = keysShim; diff --git a/node_modules/object-keys/isArguments.js b/node_modules/object-keys/isArguments.js deleted file mode 100644 index f2a2a9014..000000000 --- a/node_modules/object-keys/isArguments.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var toStr = Object.prototype.toString; - -module.exports = function isArguments(value) { - var str = toStr.call(value); - var isArgs = str === '[object Arguments]'; - if (!isArgs) { - isArgs = str !== '[object Array]' && - value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - toStr.call(value.callee) === '[object Function]'; - } - return isArgs; -}; diff --git a/node_modules/object-keys/package.json b/node_modules/object-keys/package.json deleted file mode 100644 index 99ea92387..000000000 --- a/node_modules/object-keys/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "name": "object-keys", - "version": "1.1.1", - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - }, - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - }, - { - "name": "Raynos", - "email": "raynos2@gmail.com" - }, - { - "name": "Nathan Rajlich", - "email": "nathan@tootallnate.net" - }, - { - "name": "Ivan Starkov", - "email": "istarkov@gmail.com" - }, - { - "name": "Gary Katsevman", - "email": "git@gkatsev.com" - } - ], - "description": "An Object.keys replacement, in case Object.keys is not available. From https://github.com/es-shims/es5-shim", - "license": "MIT", - "main": "index.js", - "scripts": { - "pretest": "npm run --silent lint", - "test": "npm run --silent tests-only", - "posttest": "npm run --silent audit", - "tests-only": "node test/index.js", - "coverage": "covert test/*.js", - "coverage-quiet": "covert test/*.js --quiet", - "lint": "eslint .", - "preaudit": "npm install --package-lock --package-lock-only", - "audit": "npm audit", - "postaudit": "rm package-lock.json" - }, - "repository": { - "type": "git", - "url": "git://github.com/ljharb/object-keys.git" - }, - "keywords": [ - "Object.keys", - "keys", - "ES5", - "shim" - ], - "dependencies": {}, - "devDependencies": { - "@ljharb/eslint-config": "^13.1.1", - "covert": "^1.1.1", - "eslint": "^5.13.0", - "foreach": "^2.0.5", - "indexof": "^0.0.1", - "is": "^3.3.0", - "tape": "^4.9.2" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/node_modules/object-keys/test/index.js b/node_modules/object-keys/test/index.js deleted file mode 100644 index 5402465a1..000000000 --- a/node_modules/object-keys/test/index.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -require('./isArguments'); - -require('./shim'); diff --git a/node_modules/object.assign/.editorconfig b/node_modules/object.assign/.editorconfig deleted file mode 100644 index bc228f826..000000000 --- a/node_modules/object.assign/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off diff --git a/node_modules/object.assign/.eslintignore b/node_modules/object.assign/.eslintignore deleted file mode 100644 index 849ddff3b..000000000 --- a/node_modules/object.assign/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -dist/ diff --git a/node_modules/object.assign/.eslintrc b/node_modules/object.assign/.eslintrc deleted file mode 100644 index 6d4cafd95..000000000 --- a/node_modules/object.assign/.eslintrc +++ /dev/null @@ -1,26 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "complexity": [2, 19], - "id-length": [2, { "min": 1, "max": 30 }], - "max-statements": [2, 33], - "max-statements-per-line": [2, { "max": 2 }], - "no-magic-numbers": [1, { "ignore": [0] }], - "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"], - }, - - "overrides": [ - { - "files": "test/**", - "rules": { - "no-invalid-this": 1, - "max-lines-per-function": 0, - "max-statements-per-line": [2, { "max": 3 }], - "no-magic-numbers": 0, - }, - }, - ], -} diff --git a/node_modules/object.assign/.github/FUNDING.yml b/node_modules/object.assign/.github/FUNDING.yml deleted file mode 100644 index ef7fdbfa0..000000000 --- a/node_modules/object.assign/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/object.assign -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/object.assign/.github/workflows/rebase.yml b/node_modules/object.assign/.github/workflows/rebase.yml deleted file mode 100644 index 0c2ad39b5..000000000 --- a/node_modules/object.assign/.github/workflows/rebase.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Automatic Rebase - -on: [pull_request_target] - -jobs: - _: - name: "Automatic Rebase" - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - uses: ljharb/rebase@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/node_modules/object.assign/.github/workflows/require-allow-edits.yml b/node_modules/object.assign/.github/workflows/require-allow-edits.yml deleted file mode 100644 index aac42d3e2..000000000 --- a/node_modules/object.assign/.github/workflows/require-allow-edits.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Require “Allow Edits” - -on: [pull_request_target] - -jobs: - _: - name: "Require “Allow Edits”" - - runs-on: ubuntu-latest - - steps: - - uses: ljharb/require-allow-edits@main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/node_modules/object.assign/.nycrc b/node_modules/object.assign/.nycrc deleted file mode 100644 index d316b4db7..000000000 --- a/node_modules/object.assign/.nycrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, - "exclude": [ - "coverage", - "operations", - "test" - ] -} diff --git a/node_modules/object.assign/CHANGELOG.md b/node_modules/object.assign/CHANGELOG.md deleted file mode 100644 index ac543d52b..000000000 --- a/node_modules/object.assign/CHANGELOG.md +++ /dev/null @@ -1,201 +0,0 @@ -4.1.2 / 2020-10-30 -================== - * [Refactor] use extracted `call-bind` instead of full `es-abstract` - * [Dev Deps] update `eslint`, `ses`, `browserify` - * [Tests] run tests in SES - * [Tests] ses-compat: show error stacks - -4.1.1 / 2020-09-11 -================== - * [Fix] avoid mutating `Object.assign` in modern engines - * [Refactor] use `callBind` from `es-abstract` instead of `function-bind` - * [Deps] update `has-symbols`, `object-keys`, `define-properties` - * [meta] add `funding` field, FUNDING.yml - * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `browserify`, `covert`, `for-each`, `is`, `tape`, `functions-have-names`; add `aud`, `safe-publish-latest`; remove `jscs` - * [actions] add Require Allow Edits workflow - * [actions] add automatic rebasing / merge commit blocking - * [Tests] ses-compat - add test to ensure package initializes correctly after ses lockdown (#77) - * [Tests] Add passing test for a source of `window.location` (#68) - * [Tests] use shared travis-ci config - * [Tests] use `npx aud` instead of `npm audit` with hoops or `nsp` - * [Tests] use `functions-have-names` - -4.1.0 / 2017-12-21 -================== - * [New] add `auto` entry point (#52) - * [Refactor] Use `has-symbols` module - * [Deps] update `function-bind`, `object-keys` - * [Dev Deps] update `@es-shims/api`, `browserify`, `nsp`, `eslint`, `@ljharb/eslint-config`, `is` - * [Tests] up to `node` `v9.3`, `v8.9`, `v6.12`; use `nvm install-latest-npm`; pin included builds to LTS - -4.0.4 / 2016-07-04 -================== - * [Fix] Cache original `getOwnPropertySymbols`, and use that when `Object.getOwnPropertySymbols` is unavailable - * [Deps] update `object-keys` - * [Dev Deps] update `eslint`, `get-own-property-symbols`, `core-js`, `jscs`, `nsp`, `browserify`, `@ljharb/eslint-config`, `tape`, `@es-shims/api` - * [Tests] up to `node` `v6.2`, `v5.10`, `v4.4` - * [Tests] run sham tests on node 0.10 - * [Tests] use pretest/posttest for linting/security - -4.0.3 / 2015-10-21 -================== - * [Fix] Support core-js's Symbol sham (#17) - * [Fix] Ensure that properties removed or made non-enumerable during enumeration are not assigned (#16) - * [Fix] Avoid looking up keys and values more than once - * [Tests] Avoid using `reduce` so `npm run test:shams:corejs` passes in `node` `v0.8` ([core-js#122](https://github.com/zloirock/core-js/issues/122)) - * [Tests] Refactor to use my conventional structure that separates shimmed, implementation, and common tests - * [Tests] Create `npm run test:shams` and better organize tests for symbol shams - * [Tests] Remove `nsp` in favor of `requiresafe` - -4.0.2 / 2015-10-20 -================== - * [Fix] Ensure correct property enumeration order, particularly in v8 (#15) - * [Deps] update `object-keys`, `define-properties` - * [Dev Deps] update `browserify`, `is`, `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` - * [Tests] up to `io.js` `v3.3`, `node` `v4.2` - -4.0.1 / 2015-08-16 -================== - * [Docs] Add `Symbol` note to readme - -4.0.0 / 2015-08-15 -================== - * [Breaking] Implement the [es-shim API](es-shims/api). - * [Robustness] Make implementation robust against later modification of environment methods. - * [Refactor] Move implementation to `implementation.js` - * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG - * [Deps] update `object-keys`, `define-properties` - * [Dev Deps] update `browserify`, `tape`, `eslint`, `jscs`, `browserify` - * [Tests] Add `npm run tests-only` - * [Tests] use my personal shared `eslint` config. - * [Tests] up to `io.js` `v3.0` - -3.0.1 / 2015-06-28 -================== - * Cache `Object` and `Array#push` to make the shim more robust. - * [Fix] Remove use of `Array#filter`, which isn't in ES3. - * [Deps] Update `object-keys`, `define-properties` - * [Dev Deps] Update `get-own-property-symbols`, `browserify`, `eslint`, `nsp` - * [Tests] Test up to `io.js` `v2.3` - * [Tests] Adding `Object.assign` tests for non-object targets, per https://github.com/paulmillr/es6-shim/issues/348 - -3.0.0 / 2015-05-20 -================== - * Attempt to feature-detect Symbols, even if `typeof Symbol() !== 'symbol'` (#12) - * Make a separate `hasSymbols` internal module - * Update `browserify`, `eslint` - -2.0.3 / 2015-06-28 -================== - * Cache `Object` and `Array#push` to make the shim more robust. - * [Fix] Remove use of `Array#filter`, which isn't in ES3 - * [Deps] Update `object-keys`, `define-properties` - * [Dev Deps] Update `browserify`, `nsp`, `eslint` - * [Tests] Test up to `io.js` `v2.3` - -2.0.2 / 2015-05-20 -================== - * Make sure `.shim` is non-enumerable. - * Refactor `.shim` implementation to use `define-properties` predicates, rather than `delete`ing the original. - * Update docs to match spec/implementation. (#11) - * Add `npm run eslint` - * Test up to `io.js` `v2.0` - * Update `jscs`, `browserify`, `covert` - -2.0.1 / 2015-04-12 -================== - * Make sure non-enumerable Symbols are excluded. - -2.0.0 / 2015-04-12 -================== - * Make sure the shim function overwrites a broken implementation with pending exceptions. - * Ensure shim is not enumerable using `define-properties` - * Ensure `Object.assign` includes symbols. - * All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`. - * Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. - * Add `npm run security` via `nsp` - * Update `browserify`, `jscs`, `tape`, `object-keys`, `is` - -1.1.1 / 2014-12-14 -================== - * Actually include the browser build in `npm` - -1.1.0 / 2014-12-14 -================== - * Add `npm run build`, and build an automatic-shimming browser distribution as part of the npm publish process. - * Update `is`, `jscs` - -1.0.3 / 2014-11-29 -================== - * Revert "optimize --production installs" - -1.0.2 / 2014-11-27 -================== - * Update `jscs`, `is`, `object-keys`, `tape` - * Add badges to README - * Name URLs in README - * Lock `covert` to `v1.0.0` - * Optimize --production installs - -1.0.1 / 2014-08-26 -================== - * Update `is`, `covert` - -1.0.0 / 2014-08-07 -================== - * Update `object-keys`, `tape` - -0.5.0 / 2014-07-31 -================== - * Object.assign no longer throws on null or undefined sources, per https://bugs.ecmascript.org/show_bug.cgi?id=3096 - -0.4.3 / 2014-07-30 -================== - * Don’t modify vars in the function signature, since it deoptimizes v8 - -0.4.2 / 2014-07-30 -================== - * Fixing the version number: v0.4.2 - -0.4.1 / 2014-07-19 -================== - * Revert "Use the native Object.keys if it’s available." - -0.4.0 / 2014-07-19 -================== - * Use the native Object.keys if it’s available. - * Fixes [#2](https://github.com/ljharb/object.assign/issues/2). - * Adding failing tests for [#2](https://github.com/ljharb/object.assign/issues/2). - * Fix indentation. - * Adding `npm run lint` - * Update `tape`, `covert` - * README: Use SVG badge for Travis [#1](https://github.com/ljharb/object.assign/issues/1) from mathiasbynens/patch-1 - -0.3.1 / 2014-04-10 -================== - * Object.assign does partially modify objects if it throws, per https://twitter.com/awbjs/status/454320863093862400 - -0.3.0 / 2014-04-10 -================== - * Update with newest ES6 behavior - Object.assign now takes a variable number of source objects. - * Update `tape` - * Make sure old and unstable nodes don’t fail Travis - -0.2.1 / 2014-03-16 -================== - * Let object-keys handle the fallback - * Update dependency badges - * Adding bower.json - -0.2.0 / 2014-03-16 -================== - * Use a for loop, because ES3 browsers don’t have "reduce" - -0.1.1 / 2014-03-14 -================== - * Updating readme - -0.1.0 / 2014-03-14 -================== - * Initial release. - diff --git a/node_modules/object.assign/LICENSE b/node_modules/object.assign/LICENSE deleted file mode 100644 index ab29cbd63..000000000 --- a/node_modules/object.assign/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/node_modules/object.assign/README.md b/node_modules/object.assign/README.md deleted file mode 100644 index 70b6ac440..000000000 --- a/node_modules/object.assign/README.md +++ /dev/null @@ -1,135 +0,0 @@ -#object.assign [![Version Badge][npm-version-svg]][npm-url] - -[![Build Status][travis-svg]][travis-url] -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][npm-url] - -[![browser support][testling-png]][testling-url] - -An Object.assign shim. Invoke its "shim" method to shim Object.assign if it is unavailable. - -This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](http://www.ecma-international.org/ecma-262/6.0/#sec-object.assign). In an ES6 environment, it will also work properly with `Symbol`s. - -Takes a minimum of 2 arguments: `target` and `source`. -Takes a variable sized list of source arguments - at least 1, as many as you want. -Throws a TypeError if the `target` argument is `null` or `undefined`. - -Most common usage: -```js -var assign = require('object.assign').getPolyfill(); // returns native method if compliant - /* or */ -var assign = require('object.assign/polyfill')(); // returns native method if compliant -``` - -## Example - -```js -var assert = require('assert'); - -// Multiple sources! -var target = { a: true }; -var source1 = { b: true }; -var source2 = { c: true }; -var sourceN = { n: true }; - -var expected = { - a: true, - b: true, - c: true, - n: true -}; - -assign(target, source1, source2, sourceN); -assert.deepEqual(target, expected); // AWESOME! -``` - -```js -var target = { - a: true, - b: true, - c: true -}; -var source1 = { - c: false, - d: false -}; -var sourceN = { - e: false -}; - -var assigned = assign(target, source1, sourceN); -assert.equal(target, assigned); // returns the target object -assert.deepEqual(assigned, { - a: true, - b: true, - c: false, - d: false, - e: false -}); -``` - -```js -/* when Object.assign is not present */ -delete Object.assign; -var shimmedAssign = require('object.assign').shim(); - /* or */ -var shimmedAssign = require('object.assign/shim')(); - -assert.equal(shimmedAssign, assign); - -var target = { - a: true, - b: true, - c: true -}; -var source = { - c: false, - d: false, - e: false -}; - -var assigned = assign(target, source); -assert.deepEqual(Object.assign(target, source), assign(target, source)); -``` - -```js -/* when Object.assign is present */ -var shimmedAssign = require('object.assign').shim(); -assert.equal(shimmedAssign, Object.assign); - -var target = { - a: true, - b: true, - c: true -}; -var source = { - c: false, - d: false, - e: false -}; - -assert.deepEqual(Object.assign(target, source), assign(target, source)); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[npm-url]: https://npmjs.org/package/object.assign -[npm-version-svg]: http://versionbadg.es/ljharb/object.assign.svg -[travis-svg]: https://travis-ci.org/ljharb/object.assign.svg -[travis-url]: https://travis-ci.org/ljharb/object.assign -[deps-svg]: https://david-dm.org/ljharb/object.assign.svg?theme=shields.io -[deps-url]: https://david-dm.org/ljharb/object.assign -[dev-deps-svg]: https://david-dm.org/ljharb/object.assign/dev-status.svg?theme=shields.io -[dev-deps-url]: https://david-dm.org/ljharb/object.assign#info=devDependencies -[testling-png]: https://ci.testling.com/ljharb/object.assign.png -[testling-url]: https://ci.testling.com/ljharb/object.assign -[npm-badge-png]: https://nodei.co/npm/object.assign.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/object.assign.svg -[license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/object.assign.svg -[downloads-url]: http://npm-stat.com/charts.html?package=object.assign diff --git a/node_modules/object.assign/auto.js b/node_modules/object.assign/auto.js deleted file mode 100644 index 8ebf606cb..000000000 --- a/node_modules/object.assign/auto.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -require('./shim')(); diff --git a/node_modules/object.assign/dist/browser.js b/node_modules/object.assign/dist/browser.js deleted file mode 100644 index 15f0e20a1..000000000 --- a/node_modules/object.assign/dist/browser.js +++ /dev/null @@ -1,865 +0,0 @@ -(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i -1) { - return callBind(intrinsic); - } - return intrinsic; -}; - -},{"./":5,"get-intrinsic":9}],5:[function(require,module,exports){ -'use strict'; - -var bind = require('function-bind'); -var GetIntrinsic = require('get-intrinsic'); - -var $apply = GetIntrinsic('%Function.prototype.apply%'); -var $call = GetIntrinsic('%Function.prototype.call%'); -var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); - -var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); - -if ($defineProperty) { - try { - $defineProperty({}, 'a', { value: 1 }); - } catch (e) { - // IE 8 has a broken defineProperty - $defineProperty = null; - } -} - -module.exports = function callBind() { - return $reflectApply(bind, $call, arguments); -}; - -var applyBind = function applyBind() { - return $reflectApply(bind, $apply, arguments); -}; - -if ($defineProperty) { - $defineProperty(module.exports, 'apply', { value: applyBind }); -} else { - module.exports.apply = applyBind; -} - -},{"function-bind":8,"get-intrinsic":9}],6:[function(require,module,exports){ -'use strict'; - -var keys = require('object-keys'); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; - -var toStr = Object.prototype.toString; -var concat = Array.prototype.concat; -var origDefineProperty = Object.defineProperty; - -var isFunction = function (fn) { - return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; -}; - -var arePropertyDescriptorsSupported = function () { - var obj = {}; - try { - origDefineProperty(obj, 'x', { enumerable: false, value: obj }); - // eslint-disable-next-line no-unused-vars, no-restricted-syntax - for (var _ in obj) { // jscs:ignore disallowUnusedVariables - return false; - } - return obj.x === obj; - } catch (e) { /* this is IE 8. */ - return false; - } -}; -var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported(); - -var defineProperty = function (object, name, value, predicate) { - if (name in object && (!isFunction(predicate) || !predicate())) { - return; - } - if (supportsDescriptors) { - origDefineProperty(object, name, { - configurable: true, - enumerable: false, - value: value, - writable: true - }); - } else { - object[name] = value; - } -}; - -var defineProperties = function (object, map) { - var predicates = arguments.length > 2 ? arguments[2] : {}; - var props = keys(map); - if (hasSymbols) { - props = concat.call(props, Object.getOwnPropertySymbols(map)); - } - for (var i = 0; i < props.length; i += 1) { - defineProperty(object, props[i], map[props[i]], predicates[props[i]]); - } -}; - -defineProperties.supportsDescriptors = !!supportsDescriptors; - -module.exports = defineProperties; - -},{"object-keys":14}],7:[function(require,module,exports){ -'use strict'; - -/* eslint no-invalid-this: 1 */ - -var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; -var slice = Array.prototype.slice; -var toStr = Object.prototype.toString; -var funcType = '[object Function]'; - -module.exports = function bind(that) { - var target = this; - if (typeof target !== 'function' || toStr.call(target) !== funcType) { - throw new TypeError(ERROR_MESSAGE + target); - } - var args = slice.call(arguments, 1); - - var bound; - var binder = function () { - if (this instanceof bound) { - var result = target.apply( - this, - args.concat(slice.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return this; - } else { - return target.apply( - that, - args.concat(slice.call(arguments)) - ); - } - }; - - var boundLength = Math.max(0, target.length - args.length); - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs.push('$' + i); - } - - bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); - - if (target.prototype) { - var Empty = function Empty() {}; - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - Empty.prototype = null; - } - - return bound; -}; - -},{}],8:[function(require,module,exports){ -'use strict'; - -var implementation = require('./implementation'); - -module.exports = Function.prototype.bind || implementation; - -},{"./implementation":7}],9:[function(require,module,exports){ -'use strict'; - -/* globals - AggregateError, - Atomics, - FinalizationRegistry, - SharedArrayBuffer, - WeakRef, -*/ - -var undefined; - -var $SyntaxError = SyntaxError; -var $Function = Function; -var $TypeError = TypeError; - -// eslint-disable-next-line consistent-return -var getEvalledConstructor = function (expressionSyntax) { - try { - // eslint-disable-next-line no-new-func - return Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); - } catch (e) {} -}; - -var $gOPD = Object.getOwnPropertyDescriptor; -if ($gOPD) { - try { - $gOPD({}, ''); - } catch (e) { - $gOPD = null; // this is IE 8, which has a broken gOPD - } -} - -var throwTypeError = function () { - throw new $TypeError(); -}; -var ThrowTypeError = $gOPD - ? (function () { - try { - // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties - arguments.callee; // IE 8 does not throw here - return throwTypeError; - } catch (calleeThrows) { - try { - // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') - return $gOPD(arguments, 'callee').get; - } catch (gOPDthrows) { - return throwTypeError; - } - } - }()) - : throwTypeError; - -var hasSymbols = require('has-symbols')(); - -var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto - -var asyncGenFunction = getEvalledConstructor('async function* () {}'); -var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined; -var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined; - -var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); - -var INTRINSICS = { - '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, - '%Array%': Array, - '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, - '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, - '%AsyncFromSyncIteratorPrototype%': undefined, - '%AsyncFunction%': getEvalledConstructor('async function () {}'), - '%AsyncGenerator%': asyncGenFunctionPrototype, - '%AsyncGeneratorFunction%': asyncGenFunction, - '%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined, - '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, - '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, - '%Boolean%': Boolean, - '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, - '%Date%': Date, - '%decodeURI%': decodeURI, - '%decodeURIComponent%': decodeURIComponent, - '%encodeURI%': encodeURI, - '%encodeURIComponent%': encodeURIComponent, - '%Error%': Error, - '%eval%': eval, // eslint-disable-line no-eval - '%EvalError%': EvalError, - '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, - '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, - '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, - '%Function%': $Function, - '%GeneratorFunction%': getEvalledConstructor('function* () {}'), - '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, - '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, - '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, - '%isFinite%': isFinite, - '%isNaN%': isNaN, - '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, - '%JSON%': typeof JSON === 'object' ? JSON : undefined, - '%Map%': typeof Map === 'undefined' ? undefined : Map, - '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), - '%Math%': Math, - '%Number%': Number, - '%Object%': Object, - '%parseFloat%': parseFloat, - '%parseInt%': parseInt, - '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, - '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, - '%RangeError%': RangeError, - '%ReferenceError%': ReferenceError, - '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, - '%RegExp%': RegExp, - '%Set%': typeof Set === 'undefined' ? undefined : Set, - '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), - '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, - '%String%': String, - '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, - '%Symbol%': hasSymbols ? Symbol : undefined, - '%SyntaxError%': $SyntaxError, - '%ThrowTypeError%': ThrowTypeError, - '%TypedArray%': TypedArray, - '%TypeError%': $TypeError, - '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, - '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, - '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, - '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, - '%URIError%': URIError, - '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, - '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, - '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet -}; - -var LEGACY_ALIASES = { - '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], - '%ArrayPrototype%': ['Array', 'prototype'], - '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], - '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], - '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], - '%ArrayProto_values%': ['Array', 'prototype', 'values'], - '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], - '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], - '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], - '%BooleanPrototype%': ['Boolean', 'prototype'], - '%DataViewPrototype%': ['DataView', 'prototype'], - '%DatePrototype%': ['Date', 'prototype'], - '%ErrorPrototype%': ['Error', 'prototype'], - '%EvalErrorPrototype%': ['EvalError', 'prototype'], - '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], - '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], - '%FunctionPrototype%': ['Function', 'prototype'], - '%Generator%': ['GeneratorFunction', 'prototype'], - '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], - '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], - '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], - '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], - '%JSONParse%': ['JSON', 'parse'], - '%JSONStringify%': ['JSON', 'stringify'], - '%MapPrototype%': ['Map', 'prototype'], - '%NumberPrototype%': ['Number', 'prototype'], - '%ObjectPrototype%': ['Object', 'prototype'], - '%ObjProto_toString%': ['Object', 'prototype', 'toString'], - '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], - '%PromisePrototype%': ['Promise', 'prototype'], - '%PromiseProto_then%': ['Promise', 'prototype', 'then'], - '%Promise_all%': ['Promise', 'all'], - '%Promise_reject%': ['Promise', 'reject'], - '%Promise_resolve%': ['Promise', 'resolve'], - '%RangeErrorPrototype%': ['RangeError', 'prototype'], - '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], - '%RegExpPrototype%': ['RegExp', 'prototype'], - '%SetPrototype%': ['Set', 'prototype'], - '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], - '%StringPrototype%': ['String', 'prototype'], - '%SymbolPrototype%': ['Symbol', 'prototype'], - '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], - '%TypedArrayPrototype%': ['TypedArray', 'prototype'], - '%TypeErrorPrototype%': ['TypeError', 'prototype'], - '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], - '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], - '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], - '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], - '%URIErrorPrototype%': ['URIError', 'prototype'], - '%WeakMapPrototype%': ['WeakMap', 'prototype'], - '%WeakSetPrototype%': ['WeakSet', 'prototype'] -}; - -var bind = require('function-bind'); -var hasOwn = require('has'); -var $concat = bind.call(Function.call, Array.prototype.concat); -var $spliceApply = bind.call(Function.apply, Array.prototype.splice); -var $replace = bind.call(Function.call, String.prototype.replace); - -/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ -var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; -var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ -var stringToPath = function stringToPath(string) { - var result = []; - $replace(string, rePropName, function (match, number, quote, subString) { - result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; - }); - return result; -}; -/* end adaptation */ - -var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { - var intrinsicName = name; - var alias; - if (hasOwn(LEGACY_ALIASES, intrinsicName)) { - alias = LEGACY_ALIASES[intrinsicName]; - intrinsicName = '%' + alias[0] + '%'; - } - - if (hasOwn(INTRINSICS, intrinsicName)) { - var value = INTRINSICS[intrinsicName]; - if (typeof value === 'undefined' && !allowMissing) { - throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); - } - - return { - alias: alias, - name: intrinsicName, - value: value - }; - } - - throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); -}; - -module.exports = function GetIntrinsic(name, allowMissing) { - if (typeof name !== 'string' || name.length === 0) { - throw new $TypeError('intrinsic name must be a non-empty string'); - } - if (arguments.length > 1 && typeof allowMissing !== 'boolean') { - throw new $TypeError('"allowMissing" argument must be a boolean'); - } - - var parts = stringToPath(name); - var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; - - var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); - var intrinsicRealName = intrinsic.name; - var value = intrinsic.value; - var skipFurtherCaching = false; - - var alias = intrinsic.alias; - if (alias) { - intrinsicBaseName = alias[0]; - $spliceApply(parts, $concat([0, 1], alias)); - } - - for (var i = 1, isOwn = true; i < parts.length; i += 1) { - var part = parts[i]; - if (part === 'constructor' || !isOwn) { - skipFurtherCaching = true; - } - - intrinsicBaseName += '.' + part; - intrinsicRealName = '%' + intrinsicBaseName + '%'; - - if (hasOwn(INTRINSICS, intrinsicRealName)) { - value = INTRINSICS[intrinsicRealName]; - } else if (value != null) { - if ($gOPD && (i + 1) >= parts.length) { - var desc = $gOPD(value, part); - isOwn = !!desc; - - if (!allowMissing && !(part in value)) { - throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); - } - // By convention, when a data property is converted to an accessor - // property to emulate a data property that does not suffer from - // the override mistake, that accessor's getter is marked with - // an `originalValue` property. Here, when we detect this, we - // uphold the illusion by pretending to see that original data - // property, i.e., returning the value rather than the getter - // itself. - if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { - value = desc.get; - } else { - value = value[part]; - } - } else { - isOwn = hasOwn(value, part); - value = value[part]; - } - - if (isOwn && !skipFurtherCaching) { - INTRINSICS[intrinsicRealName] = value; - } - } - } - return value; -}; - -},{"function-bind":8,"has":12,"has-symbols":10}],10:[function(require,module,exports){ -(function (global){(function (){ -'use strict'; - -var origSymbol = global.Symbol; -var hasSymbolSham = require('./shams'); - -module.exports = function hasNativeSymbols() { - if (typeof origSymbol !== 'function') { return false; } - if (typeof Symbol !== 'function') { return false; } - if (typeof origSymbol('foo') !== 'symbol') { return false; } - if (typeof Symbol('bar') !== 'symbol') { return false; } - - return hasSymbolSham(); -}; - -}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./shams":11}],11:[function(require,module,exports){ -'use strict'; - -/* eslint complexity: [2, 18], max-statements: [2, 33] */ -module.exports = function hasSymbols() { - if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } - if (typeof Symbol.iterator === 'symbol') { return true; } - - var obj = {}; - var sym = Symbol('test'); - var symObj = Object(sym); - if (typeof sym === 'string') { return false; } - - if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } - if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } - - // temp disabled per https://github.com/ljharb/object.assign/issues/17 - // if (sym instanceof Symbol) { return false; } - // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 - // if (!(symObj instanceof Symbol)) { return false; } - - // if (typeof Symbol.prototype.toString !== 'function') { return false; } - // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } - - var symVal = 42; - obj[sym] = symVal; - for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax - if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } - - if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } - - var syms = Object.getOwnPropertySymbols(obj); - if (syms.length !== 1 || syms[0] !== sym) { return false; } - - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } - - if (typeof Object.getOwnPropertyDescriptor === 'function') { - var descriptor = Object.getOwnPropertyDescriptor(obj, sym); - if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } - } - - return true; -}; - -},{}],12:[function(require,module,exports){ -'use strict'; - -var bind = require('function-bind'); - -module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); - -},{"function-bind":8}],13:[function(require,module,exports){ -'use strict'; - -var keysShim; -if (!Object.keys) { - // modified from https://github.com/es-shims/es5-shim - var has = Object.prototype.hasOwnProperty; - var toStr = Object.prototype.toString; - var isArgs = require('./isArguments'); // eslint-disable-line global-require - var isEnumerable = Object.prototype.propertyIsEnumerable; - var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); - var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); - var dontEnums = [ - 'toString', - 'toLocaleString', - 'valueOf', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'constructor' - ]; - var equalsConstructorPrototype = function (o) { - var ctor = o.constructor; - return ctor && ctor.prototype === o; - }; - var excludedKeys = { - $applicationCache: true, - $console: true, - $external: true, - $frame: true, - $frameElement: true, - $frames: true, - $innerHeight: true, - $innerWidth: true, - $onmozfullscreenchange: true, - $onmozfullscreenerror: true, - $outerHeight: true, - $outerWidth: true, - $pageXOffset: true, - $pageYOffset: true, - $parent: true, - $scrollLeft: true, - $scrollTop: true, - $scrollX: true, - $scrollY: true, - $self: true, - $webkitIndexedDB: true, - $webkitStorageInfo: true, - $window: true - }; - var hasAutomationEqualityBug = (function () { - /* global window */ - if (typeof window === 'undefined') { return false; } - for (var k in window) { - try { - if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { - try { - equalsConstructorPrototype(window[k]); - } catch (e) { - return true; - } - } - } catch (e) { - return true; - } - } - return false; - }()); - var equalsConstructorPrototypeIfNotBuggy = function (o) { - /* global window */ - if (typeof window === 'undefined' || !hasAutomationEqualityBug) { - return equalsConstructorPrototype(o); - } - try { - return equalsConstructorPrototype(o); - } catch (e) { - return false; - } - }; - - keysShim = function keys(object) { - var isObject = object !== null && typeof object === 'object'; - var isFunction = toStr.call(object) === '[object Function]'; - var isArguments = isArgs(object); - var isString = isObject && toStr.call(object) === '[object String]'; - var theKeys = []; - - if (!isObject && !isFunction && !isArguments) { - throw new TypeError('Object.keys called on a non-object'); - } - - var skipProto = hasProtoEnumBug && isFunction; - if (isString && object.length > 0 && !has.call(object, 0)) { - for (var i = 0; i < object.length; ++i) { - theKeys.push(String(i)); - } - } - - if (isArguments && object.length > 0) { - for (var j = 0; j < object.length; ++j) { - theKeys.push(String(j)); - } - } else { - for (var name in object) { - if (!(skipProto && name === 'prototype') && has.call(object, name)) { - theKeys.push(String(name)); - } - } - } - - if (hasDontEnumBug) { - var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); - - for (var k = 0; k < dontEnums.length; ++k) { - if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { - theKeys.push(dontEnums[k]); - } - } - } - return theKeys; - }; -} -module.exports = keysShim; - -},{"./isArguments":15}],14:[function(require,module,exports){ -'use strict'; - -var slice = Array.prototype.slice; -var isArgs = require('./isArguments'); - -var origKeys = Object.keys; -var keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation'); - -var originalKeys = Object.keys; - -keysShim.shim = function shimObjectKeys() { - if (Object.keys) { - var keysWorksWithArguments = (function () { - // Safari 5.0 bug - var args = Object.keys(arguments); - return args && args.length === arguments.length; - }(1, 2)); - if (!keysWorksWithArguments) { - Object.keys = function keys(object) { // eslint-disable-line func-name-matching - if (isArgs(object)) { - return originalKeys(slice.call(object)); - } - return originalKeys(object); - }; - } - } else { - Object.keys = keysShim; - } - return Object.keys || keysShim; -}; - -module.exports = keysShim; - -},{"./implementation":13,"./isArguments":15}],15:[function(require,module,exports){ -'use strict'; - -var toStr = Object.prototype.toString; - -module.exports = function isArguments(value) { - var str = toStr.call(value); - var isArgs = str === '[object Arguments]'; - if (!isArgs) { - isArgs = str !== '[object Array]' && - value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - toStr.call(value.callee) === '[object Function]'; - } - return isArgs; -}; - -},{}],16:[function(require,module,exports){ -'use strict'; - -var implementation = require('./implementation'); - -var lacksProperEnumerationOrder = function () { - if (!Object.assign) { - return false; - } - /* - * v8, specifically in node 4.x, has a bug with incorrect property enumeration order - * note: this does not detect the bug unless there's 20 characters - */ - var str = 'abcdefghijklmnopqrst'; - var letters = str.split(''); - var map = {}; - for (var i = 0; i < letters.length; ++i) { - map[letters[i]] = letters[i]; - } - var obj = Object.assign({}, map); - var actual = ''; - for (var k in obj) { - actual += k; - } - return str !== actual; -}; - -var assignHasPendingExceptions = function () { - if (!Object.assign || !Object.preventExtensions) { - return false; - } - /* - * Firefox 37 still has "pending exception" logic in its Object.assign implementation, - * which is 72% slower than our shim, and Firefox 40's native implementation. - */ - var thrower = Object.preventExtensions({ 1: 2 }); - try { - Object.assign(thrower, 'xy'); - } catch (e) { - return thrower[1] === 'y'; - } - return false; -}; - -module.exports = function getPolyfill() { - if (!Object.assign) { - return implementation; - } - if (lacksProperEnumerationOrder()) { - return implementation; - } - if (assignHasPendingExceptions()) { - return implementation; - } - return Object.assign; -}; - -},{"./implementation":2}],17:[function(require,module,exports){ -'use strict'; - -var define = require('define-properties'); -var getPolyfill = require('./polyfill'); - -module.exports = function shimAssign() { - var polyfill = getPolyfill(); - define( - Object, - { assign: polyfill }, - { assign: function () { return Object.assign !== polyfill; } } - ); - return polyfill; -}; - -},{"./polyfill":16,"define-properties":6}]},{},[1]); diff --git a/node_modules/object.assign/hasSymbols.js b/node_modules/object.assign/hasSymbols.js deleted file mode 100644 index 34841e011..000000000 --- a/node_modules/object.assign/hasSymbols.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; - -var keys = require('object-keys'); - -module.exports = function hasSymbols() { - if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } - if (typeof Symbol.iterator === 'symbol') { return true; } - - var obj = {}; - var sym = Symbol('test'); - var symObj = Object(sym); - if (typeof sym === 'string') { return false; } - - if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } - if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } - - /* - * temp disabled per https://github.com/ljharb/object.assign/issues/17 - * if (sym instanceof Symbol) { return false; } - * temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 - * if (!(symObj instanceof Symbol)) { return false; } - */ - - var symVal = 42; - obj[sym] = symVal; - for (sym in obj) { return false; } // eslint-disable-line no-unreachable-loop - if (keys(obj).length !== 0) { return false; } - if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } - - if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } - - var syms = Object.getOwnPropertySymbols(obj); - if (syms.length !== 1 || syms[0] !== sym) { return false; } - - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } - - if (typeof Object.getOwnPropertyDescriptor === 'function') { - var descriptor = Object.getOwnPropertyDescriptor(obj, sym); - if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } - } - - return true; -}; diff --git a/node_modules/object.assign/implementation.js b/node_modules/object.assign/implementation.js deleted file mode 100644 index 567efe905..000000000 --- a/node_modules/object.assign/implementation.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; - -// modified from https://github.com/es-shims/es6-shim -var keys = require('object-keys'); -var canBeObject = function (obj) { - return typeof obj !== 'undefined' && obj !== null; -}; -var hasSymbols = require('has-symbols/shams')(); -var callBound = require('call-bind/callBound'); -var toObject = Object; -var $push = callBound('Array.prototype.push'); -var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable'); -var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null; - -// eslint-disable-next-line no-unused-vars -module.exports = function assign(target, source1) { - if (!canBeObject(target)) { throw new TypeError('target must be an object'); } - var objTarget = toObject(target); - var s, source, i, props, syms, value, key; - for (s = 1; s < arguments.length; ++s) { - source = toObject(arguments[s]); - props = keys(source); - var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols); - if (getSymbols) { - syms = getSymbols(source); - for (i = 0; i < syms.length; ++i) { - key = syms[i]; - if ($propIsEnumerable(source, key)) { - $push(props, key); - } - } - } - for (i = 0; i < props.length; ++i) { - key = props[i]; - value = source[key]; - if ($propIsEnumerable(source, key)) { - objTarget[key] = value; - } - } - } - return objTarget; -}; diff --git a/node_modules/object.assign/index.js b/node_modules/object.assign/index.js deleted file mode 100644 index 9b5060376..000000000 --- a/node_modules/object.assign/index.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -var defineProperties = require('define-properties'); -var callBind = require('call-bind'); - -var implementation = require('./implementation'); -var getPolyfill = require('./polyfill'); -var shim = require('./shim'); - -var polyfill = callBind.apply(getPolyfill()); -// eslint-disable-next-line no-unused-vars -var bound = function assign(target, source1) { - return polyfill(Object, arguments); -}; - -defineProperties(bound, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); - -module.exports = bound; diff --git a/node_modules/object.assign/package.json b/node_modules/object.assign/package.json deleted file mode 100644 index 25247a876..000000000 --- a/node_modules/object.assign/package.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "name": "object.assign", - "version": "4.1.2", - "author": "Jordan Harband", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "description": "ES6 spec-compliant Object.assign shim. From https://github.com/es-shims/es6-shim", - "license": "MIT", - "main": "index.js", - "scripts": { - "pretest": "npm run lint && es-shim-api --bound", - "test": "npm run tests-only && npm run test:ses", - "posttest": "aud --production", - "tests-only": "npm run test:implementation && npm run test:shim", - "test:native": "nyc node test/native", - "test:shim": "nyc node test/shimmed", - "test:implementation": "nyc node test", - "test:ses": "node test/ses-compat", - "lint": "eslint .", - "build": "mkdir -p dist && browserify browserShim.js > dist/browser.js", - "prepublish": "safe-publish-latest && npm run build" - }, - "repository": { - "type": "git", - "url": "git://github.com/ljharb/object.assign.git" - }, - "keywords": [ - "Object.assign", - "assign", - "ES6", - "extend", - "$.extend", - "jQuery", - "_.extend", - "Underscore", - "es-shim API", - "polyfill", - "shim" - ], - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "devDependencies": { - "@es-shims/api": "^2.1.2", - "@ljharb/eslint-config": "^17.2.0", - "aud": "^1.1.2", - "browserify": "^16.5.2", - "eslint": "^7.12.1", - "for-each": "^0.3.3", - "functions-have-names": "^1.2.1", - "has": "^1.0.3", - "is": "^3.3.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "ses": "^0.10.4", - "tape": "^5.0.1" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "engines": { - "node": ">= 0.4" - } -} diff --git a/node_modules/object.assign/polyfill.js b/node_modules/object.assign/polyfill.js deleted file mode 100644 index ca94aea9b..000000000 --- a/node_modules/object.assign/polyfill.js +++ /dev/null @@ -1,55 +0,0 @@ -'use strict'; - -var implementation = require('./implementation'); - -var lacksProperEnumerationOrder = function () { - if (!Object.assign) { - return false; - } - /* - * v8, specifically in node 4.x, has a bug with incorrect property enumeration order - * note: this does not detect the bug unless there's 20 characters - */ - var str = 'abcdefghijklmnopqrst'; - var letters = str.split(''); - var map = {}; - for (var i = 0; i < letters.length; ++i) { - map[letters[i]] = letters[i]; - } - var obj = Object.assign({}, map); - var actual = ''; - for (var k in obj) { - actual += k; - } - return str !== actual; -}; - -var assignHasPendingExceptions = function () { - if (!Object.assign || !Object.preventExtensions) { - return false; - } - /* - * Firefox 37 still has "pending exception" logic in its Object.assign implementation, - * which is 72% slower than our shim, and Firefox 40's native implementation. - */ - var thrower = Object.preventExtensions({ 1: 2 }); - try { - Object.assign(thrower, 'xy'); - } catch (e) { - return thrower[1] === 'y'; - } - return false; -}; - -module.exports = function getPolyfill() { - if (!Object.assign) { - return implementation; - } - if (lacksProperEnumerationOrder()) { - return implementation; - } - if (assignHasPendingExceptions()) { - return implementation; - } - return Object.assign; -}; diff --git a/node_modules/object.assign/shim.js b/node_modules/object.assign/shim.js deleted file mode 100644 index 9f896ae3c..000000000 --- a/node_modules/object.assign/shim.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var define = require('define-properties'); -var getPolyfill = require('./polyfill'); - -module.exports = function shimAssign() { - var polyfill = getPolyfill(); - define( - Object, - { assign: polyfill }, - { assign: function () { return Object.assign !== polyfill; } } - ); - return polyfill; -}; diff --git a/node_modules/object.assign/test/index.js b/node_modules/object.assign/test/index.js deleted file mode 100644 index 776b2b334..000000000 --- a/node_modules/object.assign/test/index.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var assign = require('../'); -var test = require('tape'); -var runTests = require('./tests'); - -test('as a function', function (t) { - t.test('bad array/this value', function (st) { - st['throws'](function () { assign(undefined); }, TypeError, 'undefined is not an object'); - st['throws'](function () { assign(null); }, TypeError, 'null is not an object'); - st.end(); - }); - - runTests(assign, t); - - t.end(); -}); diff --git a/node_modules/object.assign/test/native.js b/node_modules/object.assign/test/native.js deleted file mode 100644 index 49a70f798..000000000 --- a/node_modules/object.assign/test/native.js +++ /dev/null @@ -1,49 +0,0 @@ -'use strict'; - -var test = require('tape'); -var defineProperties = require('define-properties'); -var isEnumerable = Object.prototype.propertyIsEnumerable; -var functionsHaveNames = require('functions-have-names')(); - -var runTests = require('./tests'); - -test('native', function (t) { - t.equal(Object.assign.length, 2, 'Object.assign has a length of 2'); - t.test('Function name', { skip: !functionsHaveNames }, function (st) { - st.equal(Object.assign.name, 'assign', 'Object.assign has name "assign"'); - st.end(); - }); - - t.test('enumerability', { skip: !defineProperties.supportsDescriptors }, function (et) { - et.equal(false, isEnumerable.call(Object, 'assign'), 'Object.assign is not enumerable'); - et.end(); - }); - - var supportsStrictMode = (function () { return typeof this === 'undefined'; }()); - - t.test('bad object value', { skip: !supportsStrictMode }, function (st) { - st['throws'](function () { return Object.assign(undefined); }, TypeError, 'undefined is not an object'); - st['throws'](function () { return Object.assign(null); }, TypeError, 'null is not an object'); - st.end(); - }); - - // v8 in node 0.8 and 0.10 have non-enumerable string properties - var stringCharsAreEnumerable = isEnumerable.call('xy', 0); - t.test('when Object.assign is present and has pending exceptions', { skip: !stringCharsAreEnumerable || !Object.preventExtensions }, function (st) { - /* - * Firefox 37 still has "pending exception" logic in its Object.assign implementation, - * which is 72% slower than our shim, and Firefox 40's native implementation. - */ - var thrower = Object.preventExtensions({ 1: '2' }); - var error; - try { Object.assign(thrower, 'xy'); } catch (e) { error = e; } - st.equal(error instanceof TypeError, true, 'error is TypeError'); - st.equal(thrower[1], '2', 'thrower[1] === "2"'); - - st.end(); - }); - - runTests(Object.assign, t); - - t.end(); -}); diff --git a/node_modules/object.assign/test/ses-compat.js b/node_modules/object.assign/test/ses-compat.js deleted file mode 100644 index 9669eb9a9..000000000 --- a/node_modules/object.assign/test/ses-compat.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -/* globals lockdown */ - -// requiring ses exposes "lockdown" on the global -require('ses'); - -// lockdown freezes the primordials -lockdown({ errorTaming: 'unsafe' }); - -// initialize the module -require('./'); diff --git a/node_modules/object.assign/test/shimmed.js b/node_modules/object.assign/test/shimmed.js deleted file mode 100644 index ee577587a..000000000 --- a/node_modules/object.assign/test/shimmed.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; - -var assign = require('../'); -assign.shim(); - -var test = require('tape'); -var defineProperties = require('define-properties'); -var isEnumerable = Object.prototype.propertyIsEnumerable; -var functionsHaveNames = require('functions-have-names')(); - -var runTests = require('./tests'); - -test('shimmed', function (t) { - t.equal(Object.assign.length, 2, 'Object.assign has a length of 2'); - t.test('Function name', { skip: !functionsHaveNames }, function (st) { - st.equal(Object.assign.name, 'assign', 'Object.assign has name "assign"'); - st.end(); - }); - - t.test('enumerability', { skip: !defineProperties.supportsDescriptors }, function (et) { - et.equal(false, isEnumerable.call(Object, 'assign'), 'Object.assign is not enumerable'); - et.end(); - }); - - var supportsStrictMode = (function () { return typeof this === 'undefined'; }()); - - t.test('bad object value', { skip: !supportsStrictMode }, function (st) { - st['throws'](function () { return Object.assign(undefined); }, TypeError, 'undefined is not an object'); - st['throws'](function () { return Object.assign(null); }, TypeError, 'null is not an object'); - st.end(); - }); - - // v8 in node 0.8 and 0.10 have non-enumerable string properties - var stringCharsAreEnumerable = isEnumerable.call('xy', 0); - t.test('when Object.assign is present and has pending exceptions', { skip: !stringCharsAreEnumerable || !Object.preventExtensions }, function (st) { - /* - * Firefox 37 still has "pending exception" logic in its Object.assign implementation, - * which is 72% slower than our shim, and Firefox 40's native implementation. - */ - var thrower = Object.preventExtensions({ 1: '2' }); - var error; - try { Object.assign(thrower, 'xy'); } catch (e) { error = e; } - st.equal(error instanceof TypeError, true, 'error is TypeError'); - st.equal(thrower[1], '2', 'thrower[1] === "2"'); - - st.end(); - }); - - runTests(Object.assign, t); - - t.end(); -}); diff --git a/node_modules/object.assign/test/tests.js b/node_modules/object.assign/test/tests.js deleted file mode 100644 index 81b132634..000000000 --- a/node_modules/object.assign/test/tests.js +++ /dev/null @@ -1,237 +0,0 @@ -'use strict'; - -var hasSymbols = require('has-symbols/shams')(); -var forEach = require('for-each'); -var has = require('has'); - -module.exports = function (assign, t) { - t.test('error cases', function (st) { - st['throws'](function () { assign(null); }, TypeError, 'target must be an object'); - st['throws'](function () { assign(undefined); }, TypeError, 'target must be an object'); - st['throws'](function () { assign(null, {}); }, TypeError, 'target must be an object'); - st['throws'](function () { assign(undefined, {}); }, TypeError, 'target must be an object'); - st.end(); - }); - - t.test('non-object target, no sources', function (st) { - var bool = assign(true); - st.equal(typeof bool, 'object', 'bool is object'); - st.equal(Boolean.prototype.valueOf.call(bool), true, 'bool coerces to `true`'); - - var number = assign(1); - st.equal(typeof number, 'object', 'number is object'); - st.equal(Number.prototype.valueOf.call(number), 1, 'number coerces to `1`'); - - var string = assign('1'); - st.equal(typeof string, 'object', 'number is object'); - st.equal(String.prototype.valueOf.call(string), '1', 'number coerces to `"1"`'); - - st.end(); - }); - - t.test('non-object target, with sources', function (st) { - var signal = {}; - - st.test('boolean', function (st2) { - var bool = assign(true, { a: signal }); - st2.equal(typeof bool, 'object', 'bool is object'); - st2.equal(Boolean.prototype.valueOf.call(bool), true, 'bool coerces to `true`'); - st2.equal(bool.a, signal, 'source properties copied'); - st2.end(); - }); - - st.test('number', function (st2) { - var number = assign(1, { a: signal }); - st2.equal(typeof number, 'object', 'number is object'); - st2.equal(Number.prototype.valueOf.call(number), 1, 'number coerces to `1`'); - st2.equal(number.a, signal, 'source properties copied'); - st2.end(); - }); - - st.test('string', function (st2) { - var string = assign('1', { a: signal }); - st2.equal(typeof string, 'object', 'number is object'); - st2.equal(String.prototype.valueOf.call(string), '1', 'number coerces to `"1"`'); - st2.equal(string.a, signal, 'source properties copied'); - st2.end(); - }); - - st.end(); - }); - - t.test('non-object sources', function (st) { - st.deepEqual(assign({ a: 1 }, null, { b: 2 }), { a: 1, b: 2 }, 'ignores null source'); - st.deepEqual(assign({ a: 1 }, { b: 2 }, undefined), { a: 1, b: 2 }, 'ignores undefined source'); - st.end(); - }); - - t.test('returns the modified target object', function (st) { - var target = {}; - var returned = assign(target, { a: 1 }); - st.equal(returned, target, 'returned object is the same reference as the target object'); - st.end(); - }); - - t.test('has the right length', function (st) { - st.equal(assign.length, 2, 'length is 2 => 2 required arguments'); - st.end(); - }); - - t.test('merge two objects', function (st) { - var target = { a: 1 }; - var returned = assign(target, { b: 2 }); - st.deepEqual(returned, { a: 1, b: 2 }, 'returned object has properties from both'); - st.end(); - }); - - t.test('works with functions', function (st) { - var target = function () {}; - target.a = 1; - var returned = assign(target, { b: 2 }); - st.equal(target, returned, 'returned object is target'); - st.equal(returned.a, 1); - st.equal(returned.b, 2); - st.end(); - }); - - t.test('works with primitives', function (st) { - var target = 2; - var source = { b: 42 }; - var returned = assign(target, source); - st.equal(Object.prototype.toString.call(returned), '[object Number]', 'returned is object form of number primitive'); - st.equal(Number(returned), target, 'returned and target have same valueOf'); - st.equal(returned.b, source.b); - st.end(); - }); - - /* globals window */ - t.test('works with window.location', { skip: typeof window === 'undefined' }, function (st) { - var target = {}; - assign(target, window.location); - for (var prop in window.location) { - if (has(window.location, prop)) { - st.deepEqual(target[prop], window.location[prop], prop + ' is copied'); - } - } - st.end(); - }); - - t.test('merge N objects', function (st) { - var target = { a: 1 }; - var source1 = { b: 2 }; - var source2 = { c: 3 }; - var returned = assign(target, source1, source2); - st.deepEqual(returned, { a: 1, b: 2, c: 3 }, 'returned object has properties from all sources'); - st.end(); - }); - - t.test('only iterates over own keys', function (st) { - var Foo = function () {}; - Foo.prototype.bar = true; - var foo = new Foo(); - foo.baz = true; - var target = { a: 1 }; - var returned = assign(target, foo); - st.equal(returned, target, 'returned object is the same reference as the target object'); - st.deepEqual(target, { a: 1, baz: true }, 'returned object has only own properties from both'); - st.end(); - }); - - t.test('includes enumerable symbols, after keys', { skip: !hasSymbols }, function (st) { - var visited = []; - var obj = {}; - Object.defineProperty(obj, 'a', { enumerable: true, get: function () { visited.push('a'); return 42; } }); - var symbol = Symbol('enumerable'); - Object.defineProperty(obj, symbol, { - enumerable: true, - get: function () { visited.push(symbol); return Infinity; } - }); - var nonEnumSymbol = Symbol('non-enumerable'); - Object.defineProperty(obj, nonEnumSymbol, { - enumerable: false, - get: function () { visited.push(nonEnumSymbol); return -Infinity; } - }); - var target = assign({}, obj); - st.deepEqual(visited, ['a', symbol], 'key is visited first, then symbol'); - st.equal(target.a, 42, 'target.a is 42'); - st.equal(target[symbol], Infinity, 'target[symbol] is Infinity'); - st.notEqual(target[nonEnumSymbol], -Infinity, 'target[nonEnumSymbol] is not -Infinity'); - st.end(); - }); - - t.test('does not fail when symbols are not present', { skip: !Object.isFrozen || Object.isFrozen(Object) }, function (st) { - var getSyms; - if (hasSymbols) { - getSyms = Object.getOwnPropertySymbols; - delete Object.getOwnPropertySymbols; - } - - var visited = []; - var obj = {}; - Object.defineProperty(obj, 'a', { enumerable: true, get: function () { visited.push('a'); return 42; } }); - var keys = ['a']; - if (hasSymbols) { - var symbol = Symbol('sym'); - Object.defineProperty(obj, symbol, { - enumerable: true, - get: function () { visited.push(symbol); return Infinity; } - }); - keys.push(symbol); - } - var target = assign({}, obj); - st.deepEqual(visited, keys, 'assign visits expected keys'); - st.equal(target.a, 42, 'target.a is 42'); - - if (hasSymbols) { - st.equal(target[symbol], Infinity); - - Object.getOwnPropertySymbols = getSyms; - } - st.end(); - }); - - t.test('preserves correct property enumeration order', function (st) { - var str = 'abcdefghijklmnopqrst'; - var letters = {}; - forEach(str.split(''), function (letter) { - letters[letter] = letter; - }); - - var n = 5; - st.comment('run the next test ' + n + ' times'); - var object = assign({}, letters); - var actual = ''; - for (var k in object) { - actual += k; - } - for (var i = 0; i < n; ++i) { - st.equal(actual, str, 'property enumeration order should be followed'); - } - st.end(); - }); - - t.test('checks enumerability and existence, in case of modification during [[Get]]', { skip: !Object.defineProperty }, function (st) { - var targetBvalue = {}; - var targetCvalue = {}; - var target = { b: targetBvalue, c: targetCvalue }; - var source = {}; - Object.defineProperty(source, 'a', { - enumerable: true, - get: function () { - delete this.b; - Object.defineProperty(this, 'c', { enumerable: false }); - return 'a'; - } - }); - var sourceBvalue = {}; - var sourceCvalue = {}; - source.b = sourceBvalue; - source.c = sourceCvalue; - var result = assign(target, source); - st.equal(result, target, 'sanity check: result is === target'); - st.equal(result.b, targetBvalue, 'target key not overwritten by deleted source key'); - st.equal(result.c, targetCvalue, 'target key not overwritten by non-enumerable source key'); - - st.end(); - }); -}; diff --git a/node_modules/qs/.editorconfig b/node_modules/qs/.editorconfig index 91040ddea..2f0844450 100644 --- a/node_modules/qs/.editorconfig +++ b/node_modules/qs/.editorconfig @@ -8,6 +8,7 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true max_line_length = 160 +quote_type = single [test/*] max_line_length = off @@ -37,3 +38,6 @@ indent_size = off indent_style = off indent = off max_line_length = off + +[.nycrc] +indent_style = tab diff --git a/node_modules/qs/.eslintignore b/node_modules/qs/.eslintignore deleted file mode 100644 index a60030e3c..000000000 --- a/node_modules/qs/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -dist/ -coverage/ diff --git a/node_modules/qs/.eslintrc b/node_modules/qs/.eslintrc index 2c680d75c..919dbc06c 100644 --- a/node_modules/qs/.eslintrc +++ b/node_modules/qs/.eslintrc @@ -3,20 +3,23 @@ "extends": "@ljharb", + "ignorePatterns": [ + "dist/", + ], + "rules": { "complexity": 0, "consistent-return": 1, - "func-name-matching": 0, + "func-name-matching": 0, "id-length": [2, { "min": 1, "max": 25, "properties": "never" }], "indent": [2, 4], "max-lines-per-function": [2, { "max": 150 }], - "max-params": [2, 15], - "max-statements": [2, 52], + "max-params": [2, 16], + "max-statements": [2, 100], "multiline-comment-style": 0, "no-continue": 1, "no-magic-numbers": 0, "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], - "operator-linebreak": [2, "before"], }, "overrides": [ @@ -29,7 +32,7 @@ "no-buffer-constructor": 0, "no-extend-native": 0, "no-throw-literal": 0, - } - } - ] + }, + }, + ], } diff --git a/node_modules/qs/CHANGELOG.md b/node_modules/qs/CHANGELOG.md index 74dda4302..0a6504c3f 100644 --- a/node_modules/qs/CHANGELOG.md +++ b/node_modules/qs/CHANGELOG.md @@ -1,3 +1,40 @@ +## **6.11.1** +- [Fix] `stringify`: encode comma values more consistently (#463) +- [readme] add usage of `filter` option for injecting custom serialization, i.e. of custom types (#447) +- [meta] remove extraneous code backticks (#457) +- [meta] fix changelog markdown +- [actions] update checkout action +- [actions] restrict action permissions +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` + +## **6.11.0** +- [New] [Fix] `stringify`: revert 0e903c0; add `commaRoundTrip` option (#442) +- [readme] fix version badge + +## **6.10.5** +- [Fix] `stringify`: with `arrayFormat: comma`, properly include an explicit `[]` on a single-item array (#434) + +## **6.10.4** +- [Fix] `stringify`: with `arrayFormat: comma`, include an explicit `[]` on a single-item array (#441) +- [meta] use `npmignore` to autogenerate an npmignore file +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbol`, `object-inspect`, `tape` + +## **6.10.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [actions] reuse common workflows +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `tape` + +## **6.10.2** +- [Fix] `stringify`: actually fix cyclic references (#426) +- [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] add note and links for coercing primitive values (#408) +- [actions] update codecov uploader +- [actions] update workflows +- [Tests] clean up stringify tests slightly +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `safe-publish-latest`, `tape` + ## **6.10.1** - [Fix] `stringify`: avoid exception on repeated object values (#402) @@ -11,6 +48,18 @@ - [Tests] use `ljharb/actions/node/install` instead of `ljharb/actions/node/run` - [Tests] Revert "[meta] ignore eclint transitive audit warning" +## **6.9.7** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424) +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] add note and links for coercing primitive values (#408) +- [Tests] clean up stringify tests slightly +- [meta] fix README.md (#399) +- Revert "[meta] ignore eclint transitive audit warning" +- [actions] backport actions from main +- [Dev Deps] backport updates from main + ## **6.9.6** - [Fix] restore `dist` dir; mistakenly removed in d4f6c32 @@ -59,6 +108,19 @@ - [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16` - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray +## **6.8.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Tests] clean up stringify tests slightly +- [Docs] add note and links for coercing primitive values (#408) +- [meta] fix README.md (#399) +- [actions] backport actions from main +- [Dev Deps] backport updates from main +- [Refactor] `stringify`: reduce branching +- [meta] do not publish workflow files + ## **6.8.2** - [Fix] proper comma parsing of URL-encoded commas (#361) - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336) @@ -90,6 +152,19 @@ - [meta] add FUNDING.yml - [meta] Clean up license text so it’s properly detected as BSD-3-Clause +## **6.7.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424) +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] add note and links for coercing primitive values (#408) +- [meta] fix README.md (#399) +- [meta] do not publish workflow files +- [actions] backport actions from main +- [Dev Deps] backport updates from main +- [Tests] use `nyc` for coverage +- [Tests] clean up stringify tests slightly + ## **6.7.2** - [Fix] proper comma parsing of URL-encoded commas (#361) - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336) @@ -128,6 +203,32 @@ - [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10 - [Tests] temporarily allow coverage to fail +## **6.6.1** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] correctly parse nested arrays +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty` +- [Refactor] `formats`: tiny bit of cleanup. +- [Refactor] `utils`: `isBuffer`: small tweak; add tests +- [Refactor]: `stringify`/`utils`: cache `Array.isArray` +- [Refactor] `utils`: reduce observable [[Get]]s +- [Refactor] use cached `Array.isArray` +- [Refactor] `parse`/`stringify`: make a function to normalize the options +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] do not publish workflow files +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [meta] add FUNDING.yml +- [meta] Fixes typo in CHANGELOG.md +- [actions] backport actions from main +- [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10 +- [Tests] always use `String(x)` over `x.toString()` +- [Dev Deps] backport from main + ## **6.6.0** - [New] Add support for iso-8859-1, utf8 "sentinel" and numeric entities (#268) - [New] move two-value combine to a `utils` function (#189) @@ -144,6 +245,30 @@ - [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`, `iconv-lite`, `safe-publish-latest`, `tape` - [Tests] up to `node` `v10.10`, `v9.11`, `v8.12`, `v6.14`, `v4.9`; pin included builds to LTS +## **6.5.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] correctly parse nested arrays +- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279) +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Refactor] `utils`: reduce observable [[Get]]s +- [Refactor] use cached `Array.isArray` +- [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269) +- [Refactor] `parse`: only need to reassign the var once +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] Clean up license text so it’s properly detected as BSD-3-Clause +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] add FUNDING.yml +- [actions] backport actions from main +- [Tests] always use `String(x)` over `x.toString()` +- [Tests] remove nonexistent tape option +- [Dev Deps] backport from main + ## **6.5.2** - [Fix] use `safer-buffer` instead of `Buffer` constructor - [Refactor] utils: `module.exports` one thing, instead of mutating `exports` (#230) @@ -170,6 +295,27 @@ - [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4 - [Tests] add `editorconfig-tools` +## **6.4.1** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Fix] use `safer-buffer` instead of `Buffer` constructor +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279) +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Refactor] use cached `Array.isArray` +- [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [meta] add FUNDING.yml +- [actions] backport actions from main +- [Tests] remove nonexistent tape option +- [Dev Deps] backport from main + ## **6.4.0** - [New] `qs.stringify`: add `encodeValuesOnly` option - [Fix] follow `allowPrototypes` option during merge (#201, #201) @@ -179,6 +325,26 @@ - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds - [eslint] reduce warnings +## **6.3.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279) +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Refactor] use cached `Array.isArray` +- [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269) +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [meta] add FUNDING.yml +- [actions] backport actions from main +- [Tests] use `safer-buffer` instead of `Buffer` constructor +- [Tests] remove nonexistent tape option +- [Dev Deps] backport from main + ## **6.3.2** - [Fix] follow `allowPrototypes` option during merge (#201, #200) - [Dev Deps] update `eslint` @@ -212,6 +378,23 @@ - [Tests] skip Object.create tests when null objects are not available - [Tests] Turn on eslint for test files (#175) +## **6.2.4** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Refactor] use cached `Array.isArray` +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [meta] add FUNDING.yml +- [actions] backport actions from main +- [Tests] use `safer-buffer` instead of `Buffer` constructor +- [Tests] remove nonexistent tape option +- [Dev Deps] backport from main + ## **6.2.3** - [Fix] follow `allowPrototypes` option during merge (#201, #200) - [Fix] chmod a-x @@ -233,7 +416,7 @@ - [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160) - [Fix] fix compacting of nested sparse arrays (#150) -## **6.1.2 +## **6.1.2** - [Fix] follow `allowPrototypes` option during merge (#201, #200) - [Fix] chmod a-x - [Fix] support keys starting with brackets (#202, #200) diff --git a/node_modules/qs/README.md b/node_modules/qs/README.md index 09e2cc9eb..66354710b 100644 --- a/node_modules/qs/README.md +++ b/node_modules/qs/README.md @@ -1,12 +1,13 @@ -# qs [![Version Badge][2]][1] +# qs [![Version Badge][npm-version-svg]][package-url] -[![Build Status][3]][4] -[![dependency status][5]][6] -[![dev dependency status][7]][8] +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] -[![npm badge][11]][1] +[![npm badge][npm-badge-png]][package-url] A querystring parsing and stringifying library with some added security. @@ -287,6 +288,17 @@ assert.deepEqual(arraysOfObjects, { a: ['b', 'c'] }) ``` (_this cannot convert nested objects, such as `a={b:1},{c:d}`_) +### Parsing primitive/scalar values (numbers, booleans, null, etc) + +By default, all values are parsed as strings. This behavior will not change and is explained in [issue #91](https://github.com/ljharb/qs/issues/91). + +```javascript +var primitiveValues = qs.parse('a=15&b=true&c=null'); +assert.deepEqual(primitiveValues, { a: '15', b: 'true', c: 'null' }); +``` + +If you wish to auto-convert values which look like numbers, booleans, and other values into their primitive counterparts, you can use the [query-types Express JS middleware](https://github.com/xpepermint/query-types) which will auto-convert all request query parameters. + ### Stringifying [](#preventEval) @@ -390,6 +402,8 @@ qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'comma' }) // 'a=b,c' ``` +Note: when using `arrayFormat` set to `'comma'`, you can also pass the `commaRoundTrip` option set to `true` or `false`, to append `[]` on single-item arrays, so that they can round trip through a parse. + When objects are stringified, by default they use bracket notation: ```javascript @@ -484,6 +498,44 @@ qs.stringify({ a: ['b', 'c', 'd'], e: 'f' }, { filter: ['a', 0, 2] }); // 'a[0]=b&a[2]=d' ``` +You could also use `filter` to inject custom serialization for user defined types. Consider you're working with +some api that expects query strings of the format for ranges: + +``` +https://domain.com/endpoint?range=30...70 +``` + +For which you model as: + +```javascript +class Range { + constructor(from, to) { + this.from = from; + this.to = to; + } +} +``` + +You could _inject_ a custom serializer to handle values of this type: + +```javascript +qs.stringify( + { + range: new Range(30, 70), + }, + { + filter: (prefix, value) => { + if (value instanceof Range) { + return `${value.from}...${value.to}`; + } + // serialize the usual way + return value; + }, + } +); +// range=30...70 +``` + ### Handling of `null` values By default, `null` values are treated like empty strings: @@ -594,18 +646,18 @@ Available as part of the Tidelift Subscription The maintainers of qs and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-qs?utm_source=npm-qs&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) -[1]: https://npmjs.org/package/qs -[2]: http://versionbadg.es/ljharb/qs.svg -[3]: https://api.travis-ci.org/ljharb/qs.svg -[4]: https://travis-ci.org/ljharb/qs -[5]: https://david-dm.org/ljharb/qs.svg -[6]: https://david-dm.org/ljharb/qs -[7]: https://david-dm.org/ljharb/qs/dev-status.svg -[8]: https://david-dm.org/ljharb/qs?type=dev -[9]: https://ci.testling.com/ljharb/qs.png -[10]: https://ci.testling.com/ljharb/qs -[11]: https://nodei.co/npm/qs.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/qs.svg +[package-url]: https://npmjs.org/package/qs +[npm-version-svg]: https://versionbadg.es/ljharb/qs.svg +[deps-svg]: https://david-dm.org/ljharb/qs.svg +[deps-url]: https://david-dm.org/ljharb/qs +[dev-deps-svg]: https://david-dm.org/ljharb/qs/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/qs#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/qs.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/qs.svg [license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/qs.svg -[downloads-url]: http://npm-stat.com/charts.html?package=qs +[downloads-image]: https://img.shields.io/npm/dm/qs.svg +[downloads-url]: https://npm-stat.com/charts.html?package=qs +[codecov-image]: https://codecov.io/gh/ljharb/qs/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/qs/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/qs +[actions-url]: https://github.com/ljharb/qs/actions diff --git a/node_modules/qs/dist/qs.js b/node_modules/qs/dist/qs.js index b9c1bf401..cbe8a21de 100644 --- a/node_modules/qs/dist/qs.js +++ b/node_modules/qs/dist/qs.js @@ -175,7 +175,7 @@ var parseObject = function (chain, val, options, valuesParsed) { ) { obj = []; obj[index] = leaf; - } else { + } else if (cleanRoot !== '__proto__') { obj[cleanRoot] = leaf; } } @@ -359,10 +359,13 @@ var isNonNullishPrimitive = function isNonNullishPrimitive(v) { || typeof v === 'bigint'; }; +var sentinel = {}; + var stringify = function stringify( object, prefix, generateArrayPrefix, + commaRoundTrip, strictNullHandling, skipNulls, encoder, @@ -378,8 +381,23 @@ var stringify = function stringify( ) { var obj = object; - if (sideChannel.has(object)) { - throw new RangeError('Cyclic object value'); + var tmpSc = sideChannel; + var step = 0; + var findFlag = false; + while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) { + // Where object last appeared in the ref tree + var pos = tmpSc.get(object); + step += 1; + if (typeof pos !== 'undefined') { + if (pos === step) { + throw new RangeError('Cyclic object value'); + } else { + findFlag = true; // Break while + } + } + if (typeof tmpSc.get(sentinel) === 'undefined') { + step = 0; + } } if (typeof filter === 'function') { @@ -420,7 +438,10 @@ var stringify = function stringify( var objKeys; if (generateArrayPrefix === 'comma' && isArray(obj)) { // we need to join elements in - objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }]; + if (encodeValuesOnly && encoder) { + obj = utils.maybeMap(obj, encoder); + } + objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; } else if (isArray(filter)) { objKeys = filter; } else { @@ -428,26 +449,31 @@ var stringify = function stringify( objKeys = sort ? keys.sort(sort) : keys; } - for (var i = 0; i < objKeys.length; ++i) { - var key = objKeys[i]; - var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key]; + var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix; + + for (var j = 0; j < objKeys.length; ++j) { + var key = objKeys[j]; + var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; if (skipNulls && value === null) { continue; } var keyPrefix = isArray(obj) - ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix - : prefix + (allowDots ? '.' + key : '[' + key + ']'); + ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix + : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']'); - sideChannel.set(object, true); + sideChannel.set(object, step); + var valueSideChannel = getSideChannel(); + valueSideChannel.set(sentinel, sideChannel); pushToArray(values, stringify( value, keyPrefix, generateArrayPrefix, + commaRoundTrip, strictNullHandling, skipNulls, - encoder, + generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder, filter, sort, allowDots, @@ -456,7 +482,7 @@ var stringify = function stringify( formatter, encodeValuesOnly, charset, - sideChannel + valueSideChannel )); } @@ -468,7 +494,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { return defaults; } - if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') { + if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { throw new TypeError('Encoder has to be a function.'); } @@ -541,6 +567,10 @@ module.exports = function (object, opts) { } var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; + if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') { + throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); + } + var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip; if (!objKeys) { objKeys = Object.keys(obj); @@ -561,6 +591,7 @@ module.exports = function (object, opts) { obj[key], key, generateArrayPrefix, + commaRoundTrip, options.strictNullHandling, options.skipNulls, options.encode ? options.encoder : null, @@ -772,6 +803,7 @@ var encode = function encode(str, defaultEncoder, charset, kind, format) { i += 1; c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); + /* eslint operator-linebreak: [2, "before"] */ out += hexTable[0xF0 | (c >> 18)] + hexTable[0x80 | ((c >> 12) & 0x3F)] + hexTable[0x80 | ((c >> 6) & 0x3F)] @@ -1039,6 +1071,8 @@ var INTRINSICS = { '%AsyncIteratorPrototype%': needsEval, '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, '%Boolean%': Boolean, '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, '%Date%': Date, @@ -1094,6 +1128,14 @@ var INTRINSICS = { '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet }; +try { + null.error; // eslint-disable-line no-unused-expressions +} catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; +} + var doEval = function doEval(name) { var value; if (name === '%AsyncFunction%') { @@ -1179,6 +1221,7 @@ var $concat = bind.call(Function.call, Array.prototype.concat); var $spliceApply = bind.call(Function.apply, Array.prototype.splice); var $replace = bind.call(Function.call, String.prototype.replace); var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; @@ -1234,6 +1277,9 @@ module.exports = function GetIntrinsic(name, allowMissing) { throw new $TypeError('"allowMissing" argument must be a boolean'); } + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } var parts = stringToPath(name); var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; @@ -1385,17 +1431,64 @@ var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; +var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; var booleanValueOf = Boolean.prototype.valueOf; var objectToString = Object.prototype.toString; var functionToString = Function.prototype.toString; -var match = String.prototype.match; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; var gOPS = Object.getOwnPropertySymbols; -var symToString = typeof Symbol === 'function' ? Symbol.prototype.toString : null; +var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; +var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; var isEnumerable = Object.prototype.propertyIsEnumerable; -var inspectCustom = require('./util.inspect').custom; -var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null; +var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( + [].__proto__ === Array.prototype // eslint-disable-line no-proto + ? function (O) { + return O.__proto__; // eslint-disable-line no-proto + } + : null +); + +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; + } + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } + } + return $replace.call(str, sepRegex, '$&_'); +} + +var utilInspect = require('./util.inspect'); +var inspectCustom = utilInspect.custom; +var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; module.exports = function inspect_(obj, options, depth, seen) { var opts = options || {}; @@ -1412,8 +1505,8 @@ module.exports = function inspect_(obj, options, depth, seen) { throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); } var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; - if (typeof customInspect !== 'boolean') { - throw new TypeError('option "customInspect", if provided, must be `true` or `false`'); + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); } if ( @@ -1422,8 +1515,12 @@ module.exports = function inspect_(obj, options, depth, seen) { && opts.indent !== '\t' && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) ) { - throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`'); + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); } + var numericSeparator = opts.numericSeparator; if (typeof obj === 'undefined') { return 'undefined'; @@ -1442,10 +1539,12 @@ module.exports = function inspect_(obj, options, depth, seen) { if (obj === 0) { return Infinity / obj > 0 ? '0' : '-0'; } - return String(obj); + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; } if (typeof obj === 'bigint') { - return String(obj) + 'n'; + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; } var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; @@ -1464,7 +1563,7 @@ module.exports = function inspect_(obj, options, depth, seen) { function inspect(value, from, noIndent) { if (from) { - seen = seen.slice(); + seen = $arrSlice.call(seen); seen.push(from); } if (noIndent) { @@ -1479,24 +1578,24 @@ module.exports = function inspect_(obj, options, depth, seen) { return inspect_(value, opts, depth + 1, seen); } - if (typeof obj === 'function') { + if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable var name = nameOf(obj); var keys = arrObjKeys(obj, inspect); - return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : ''); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); } if (isSymbol(obj)) { - var symString = symToString.call(obj); - return typeof obj === 'object' ? markBoxed(symString) : symString; + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; } if (isElement(obj)) { - var s = '<' + String(obj.nodeName).toLowerCase(); + var s = '<' + $toLowerCase.call(String(obj.nodeName)); var attrs = obj.attributes || []; for (var i = 0; i < attrs.length; i++) { s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); } s += '>'; if (obj.childNodes && obj.childNodes.length) { s += '...'; } - s += ''; + s += ''; return s; } if (isArray(obj)) { @@ -1505,32 +1604,39 @@ module.exports = function inspect_(obj, options, depth, seen) { if (indent && !singleLineValues(xs)) { return '[' + indentedJoin(xs, indent) + ']'; } - return '[ ' + xs.join(', ') + ' ]'; + return '[ ' + $join.call(xs, ', ') + ' ]'; } if (isError(obj)) { var parts = arrObjKeys(obj, inspect); + if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } if (parts.length === 0) { return '[' + String(obj) + ']'; } - return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }'; + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; } if (typeof obj === 'object' && customInspect) { - if (inspectSymbol && typeof obj[inspectSymbol] === 'function') { - return obj[inspectSymbol](); - } else if (typeof obj.inspect === 'function') { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { + return utilInspect(obj, { depth: maxDepth - depth }); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { return obj.inspect(); } } if (isMap(obj)) { var mapParts = []; - mapForEach.call(obj, function (value, key) { - mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); - }); + if (mapForEach) { + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + } return collectionOf('Map', mapSize.call(obj), mapParts, indent); } if (isSet(obj)) { var setParts = []; - setForEach.call(obj, function (value) { - setParts.push(inspect(value, obj)); - }); + if (setForEach) { + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + } return collectionOf('Set', setSize.call(obj), setParts, indent); } if (isWeakMap(obj)) { @@ -1539,6 +1645,9 @@ module.exports = function inspect_(obj, options, depth, seen) { if (isWeakSet(obj)) { return weakCollectionOf('WeakSet'); } + if (isWeakRef(obj)) { + return weakCollectionOf('WeakRef'); + } if (isNumber(obj)) { return markBoxed(inspect(Number(obj))); } @@ -1553,11 +1662,16 @@ module.exports = function inspect_(obj, options, depth, seen) { } if (!isDate(obj) && !isRegExp(obj)) { var ys = arrObjKeys(obj, inspect); - if (ys.length === 0) { return '{}'; } + var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; + var protoTag = obj instanceof Object ? '' : 'null prototype'; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; + var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); + if (ys.length === 0) { return tag + '{}'; } if (indent) { - return '{' + indentedJoin(ys, indent) + '}'; + return tag + '{' + indentedJoin(ys, indent) + '}'; } - return '{ ' + ys.join(', ') + ' }'; + return tag + '{ ' + $join.call(ys, ', ') + ' }'; } return String(obj); }; @@ -1568,18 +1682,45 @@ function wrapQuotes(s, defaultStyle, opts) { } function quote(s) { - return String(s).replace(/"/g, '"'); + return $replace.call(String(s), /"/g, '"'); } -function isArray(obj) { return toStr(obj) === '[object Array]'; } -function isDate(obj) { return toStr(obj) === '[object Date]'; } -function isRegExp(obj) { return toStr(obj) === '[object RegExp]'; } -function isError(obj) { return toStr(obj) === '[object Error]'; } -function isSymbol(obj) { return toStr(obj) === '[object Symbol]'; } -function isString(obj) { return toStr(obj) === '[object String]'; } -function isNumber(obj) { return toStr(obj) === '[object Number]'; } -function isBigInt(obj) { return toStr(obj) === '[object BigInt]'; } -function isBoolean(obj) { return toStr(obj) === '[object Boolean]'; } +function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } + +// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives +function isSymbol(obj) { + if (hasShammedSymbols) { + return obj && typeof obj === 'object' && obj instanceof Symbol; + } + if (typeof obj === 'symbol') { + return true; + } + if (!obj || typeof obj !== 'object' || !symToString) { + return false; + } + try { + symToString.call(obj); + return true; + } catch (e) {} + return false; +} + +function isBigInt(obj) { + if (!obj || typeof obj !== 'object' || !bigIntValueOf) { + return false; + } + try { + bigIntValueOf.call(obj); + return true; + } catch (e) {} + return false; +} var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; function has(obj, key) { @@ -1592,7 +1733,7 @@ function toStr(obj) { function nameOf(f) { if (f.name) { return f.name; } - var m = match.call(functionToString.call(f), /^function\s*([\w$]+)/); + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); if (m) { return m[1]; } return null; } @@ -1637,6 +1778,17 @@ function isWeakMap(x) { return false; } +function isWeakRef(x) { + if (!weakRefDeref || !x || typeof x !== 'object') { + return false; + } + try { + weakRefDeref.call(x); + return true; + } catch (e) {} + return false; +} + function isSet(x) { if (!setSize || !x || typeof x !== 'object') { return false; @@ -1681,10 +1833,10 @@ function inspectString(str, opts) { if (str.length > opts.maxStringLength) { var remaining = str.length - opts.maxStringLength; var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); - return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer; + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; } // eslint-disable-next-line no-control-regex - var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte); + var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); return wrapQuotes(s, 'single', opts); } @@ -1698,7 +1850,7 @@ function lowbyte(c) { 13: 'r' }[n]; if (x) { return '\\' + x; } - return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase(); + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); } function markBoxed(str) { @@ -1710,7 +1862,7 @@ function weakCollectionOf(type) { } function collectionOf(type, size, entries, indent) { - var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', '); + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); return type + ' (' + size + ') {' + joinedEntries + '}'; } @@ -1728,20 +1880,20 @@ function getIndent(opts, depth) { if (opts.indent === '\t') { baseIndent = '\t'; } else if (typeof opts.indent === 'number' && opts.indent > 0) { - baseIndent = Array(opts.indent + 1).join(' '); + baseIndent = $join.call(Array(opts.indent + 1), ' '); } else { return null; } return { base: baseIndent, - prev: Array(depth + 1).join(baseIndent) + prev: $join.call(Array(depth + 1), baseIndent) }; } function indentedJoin(xs, indent) { if (xs.length === 0) { return ''; } var lineJoiner = '\n' + indent.prev + indent.base; - return lineJoiner + xs.join(',' + lineJoiner) + '\n' + indent.prev; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; } function arrObjKeys(obj, inspect) { @@ -1753,17 +1905,28 @@ function arrObjKeys(obj, inspect) { xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; } } + var syms = typeof gOPS === 'function' ? gOPS(obj) : []; + var symMap; + if (hasShammedSymbols) { + symMap = {}; + for (var k = 0; k < syms.length; k++) { + symMap['$' + syms[k]] = syms[k]; + } + } + for (var key in obj) { // eslint-disable-line no-restricted-syntax if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue - if ((/[^\w$]/).test(key)) { + if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { + // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section + continue; // eslint-disable-line no-restricted-syntax, no-continue + } else if ($test.call(/[^\w$]/, key)) { xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); } else { xs.push(key + ': ' + inspect(obj[key], obj)); } } if (typeof gOPS === 'function') { - var syms = gOPS(obj); for (var j = 0; j < syms.length; j++) { if (isEnumerable.call(obj, syms[j])) { xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); diff --git a/node_modules/qs/lib/parse.js b/node_modules/qs/lib/parse.js index c833315c0..a4ac4fa07 100644 --- a/node_modules/qs/lib/parse.js +++ b/node_modules/qs/lib/parse.js @@ -136,7 +136,7 @@ var parseObject = function (chain, val, options, valuesParsed) { ) { obj = []; obj[index] = leaf; - } else { + } else if (cleanRoot !== '__proto__') { obj[cleanRoot] = leaf; } } diff --git a/node_modules/qs/lib/stringify.js b/node_modules/qs/lib/stringify.js index b8cee4bcf..997d3eec6 100644 --- a/node_modules/qs/lib/stringify.js +++ b/node_modules/qs/lib/stringify.js @@ -55,10 +55,13 @@ var isNonNullishPrimitive = function isNonNullishPrimitive(v) { || typeof v === 'bigint'; }; +var sentinel = {}; + var stringify = function stringify( object, prefix, generateArrayPrefix, + commaRoundTrip, strictNullHandling, skipNulls, encoder, @@ -74,8 +77,23 @@ var stringify = function stringify( ) { var obj = object; - if (sideChannel.has(object)) { - throw new RangeError('Cyclic object value'); + var tmpSc = sideChannel; + var step = 0; + var findFlag = false; + while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) { + // Where object last appeared in the ref tree + var pos = tmpSc.get(object); + step += 1; + if (typeof pos !== 'undefined') { + if (pos === step) { + throw new RangeError('Cyclic object value'); + } else { + findFlag = true; // Break while + } + } + if (typeof tmpSc.get(sentinel) === 'undefined') { + step = 0; + } } if (typeof filter === 'function') { @@ -116,7 +134,10 @@ var stringify = function stringify( var objKeys; if (generateArrayPrefix === 'comma' && isArray(obj)) { // we need to join elements in - objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }]; + if (encodeValuesOnly && encoder) { + obj = utils.maybeMap(obj, encoder); + } + objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; } else if (isArray(filter)) { objKeys = filter; } else { @@ -124,27 +145,31 @@ var stringify = function stringify( objKeys = sort ? keys.sort(sort) : keys; } - for (var i = 0; i < objKeys.length; ++i) { - var key = objKeys[i]; - var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key]; + var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix; + + for (var j = 0; j < objKeys.length; ++j) { + var key = objKeys[j]; + var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; if (skipNulls && value === null) { continue; } var keyPrefix = isArray(obj) - ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix - : prefix + (allowDots ? '.' + key : '[' + key + ']'); + ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix + : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']'); - sideChannel.set(object, true); + sideChannel.set(object, step); var valueSideChannel = getSideChannel(); + valueSideChannel.set(sentinel, sideChannel); pushToArray(values, stringify( value, keyPrefix, generateArrayPrefix, + commaRoundTrip, strictNullHandling, skipNulls, - encoder, + generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder, filter, sort, allowDots, @@ -165,7 +190,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { return defaults; } - if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') { + if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { throw new TypeError('Encoder has to be a function.'); } @@ -238,6 +263,10 @@ module.exports = function (object, opts) { } var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; + if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') { + throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); + } + var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip; if (!objKeys) { objKeys = Object.keys(obj); @@ -258,6 +287,7 @@ module.exports = function (object, opts) { obj[key], key, generateArrayPrefix, + commaRoundTrip, options.strictNullHandling, options.skipNulls, options.encode ? options.encoder : null, diff --git a/node_modules/qs/lib/utils.js b/node_modules/qs/lib/utils.js index 4ad6ea271..1e5453811 100644 --- a/node_modules/qs/lib/utils.js +++ b/node_modules/qs/lib/utils.js @@ -177,6 +177,7 @@ var encode = function encode(str, defaultEncoder, charset, kind, format) { i += 1; c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); + /* eslint operator-linebreak: [2, "before"] */ out += hexTable[0xF0 | (c >> 18)] + hexTable[0x80 | ((c >> 12) & 0x3F)] + hexTable[0x80 | ((c >> 6) & 0x3F)] diff --git a/node_modules/qs/package.json b/node_modules/qs/package.json index 2f1326e0b..272575cb7 100644 --- a/node_modules/qs/package.json +++ b/node_modules/qs/package.json @@ -2,7 +2,7 @@ "name": "qs", "description": "A querystring parser that supports nesting and arrays, with a depth limit", "homepage": "https://github.com/ljharb/qs", - "version": "6.10.1", + "version": "6.11.1", "repository": { "type": "git", "url": "https://github.com/ljharb/qs.git" @@ -33,40 +33,45 @@ "side-channel": "^1.0.4" }, "devDependencies": { - "@ljharb/eslint-config": "^17.5.1", - "aud": "^1.1.4", + "@ljharb/eslint-config": "^21.0.1", + "aud": "^2.0.2", "browserify": "^16.5.2", "eclint": "^2.8.1", - "eslint": "^7.22.0", + "eslint": "=8.8.0", "evalmd": "^0.0.19", "for-each": "^0.3.3", - "has-symbols": "^1.0.2", + "has-symbols": "^1.0.3", "iconv-lite": "^0.5.1", "in-publish": "^2.0.1", "mkdirp": "^0.5.5", + "npmignore": "^0.3.0", "nyc": "^10.3.2", - "object-inspect": "^1.9.0", + "object-inspect": "^1.12.3", "qs-iconv": "^1.0.4", - "safe-publish-latest": "^1.1.4", + "safe-publish-latest": "^2.0.0", "safer-buffer": "^2.1.2", - "tape": "^5.2.2" + "tape": "^5.6.3" }, "scripts": { - "prepublish": "safe-publish-latest && (not-in-publish || npm run dist)", + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest && npm run dist", + "prepublish": "not-in-publish || npm run prepublishOnly", "pretest": "npm run --silent readme && npm run --silent lint", "test": "npm run tests-only", "tests-only": "nyc tape 'test/**/*.js'", "posttest": "aud --production", "readme": "evalmd README.md", - "postlint": "eclint check * lib/* test/* !dist/*", - "lint": "eslint lib/*.js test/*.js", + "postlint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "lint": "eslint --ext=js,mjs .", "dist": "mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js" }, "license": "BSD-3-Clause", - "greenkeeper": { + "publishConfig": { "ignore": [ - "iconv-lite", - "mkdirp" + "!dist/*", + "bower.json", + "component.json", + ".github/workflows" ] } } diff --git a/node_modules/qs/test/parse.js b/node_modules/qs/test/parse.js index 7a3cfdef6..7d7b4dd8a 100644 --- a/node_modules/qs/test/parse.js +++ b/node_modules/qs/test/parse.js @@ -140,6 +140,9 @@ test('parse()', function (t) { t.test('limits specific array indices to arrayLimit', function (st) { st.deepEqual(qs.parse('a[20]=a', { arrayLimit: 20 }), { a: ['a'] }); st.deepEqual(qs.parse('a[21]=a', { arrayLimit: 20 }), { a: { 21: 'a' } }); + + st.deepEqual(qs.parse('a[20]=a'), { a: ['a'] }); + st.deepEqual(qs.parse('a[21]=a'), { a: { 21: 'a' } }); st.end(); }); @@ -378,6 +381,7 @@ test('parse()', function (t) { st.deepEqual(qs.parse('?foo=bar', { ignoreQueryPrefix: true }), { foo: 'bar' }); st.deepEqual(qs.parse('foo=bar', { ignoreQueryPrefix: true }), { foo: 'bar' }); st.deepEqual(qs.parse('?foo=bar', { ignoreQueryPrefix: false }), { '?foo': 'bar' }); + st.end(); }); @@ -406,6 +410,16 @@ test('parse()', function (t) { st.deepEqual(qs.parse('foo=', { comma: true }), { foo: '' }); st.deepEqual(qs.parse('foo', { comma: true }), { foo: '' }); st.deepEqual(qs.parse('foo', { comma: true, strictNullHandling: true }), { foo: null }); + + // test cases inversed from from stringify tests + st.deepEqual(qs.parse('a[0]=c'), { a: ['c'] }); + st.deepEqual(qs.parse('a[]=c'), { a: ['c'] }); + st.deepEqual(qs.parse('a[]=c', { comma: true }), { a: ['c'] }); + + st.deepEqual(qs.parse('a[0]=c&a[1]=d'), { a: ['c', 'd'] }); + st.deepEqual(qs.parse('a[]=c&a[]=d'), { a: ['c', 'd'] }); + st.deepEqual(qs.parse('a=c,d', { comma: true }), { a: ['c', 'd'] }); + st.end(); }); @@ -629,6 +643,66 @@ test('parse()', function (t) { st.end(); }); + t.test('dunder proto is ignored', function (st) { + var payload = 'categories[__proto__]=login&categories[__proto__]&categories[length]=42'; + var result = qs.parse(payload, { allowPrototypes: true }); + + st.deepEqual( + result, + { + categories: { + length: '42' + } + }, + 'silent [[Prototype]] payload' + ); + + var plainResult = qs.parse(payload, { allowPrototypes: true, plainObjects: true }); + + st.deepEqual( + plainResult, + { + __proto__: null, + categories: { + __proto__: null, + length: '42' + } + }, + 'silent [[Prototype]] payload: plain objects' + ); + + var query = qs.parse('categories[__proto__]=cats&categories[__proto__]=dogs&categories[some][json]=toInject', { allowPrototypes: true }); + + st.notOk(Array.isArray(query.categories), 'is not an array'); + st.notOk(query.categories instanceof Array, 'is not instanceof an array'); + st.deepEqual(query.categories, { some: { json: 'toInject' } }); + st.equal(JSON.stringify(query.categories), '{"some":{"json":"toInject"}}', 'stringifies as a non-array'); + + st.deepEqual( + qs.parse('foo[__proto__][hidden]=value&foo[bar]=stuffs', { allowPrototypes: true }), + { + foo: { + bar: 'stuffs' + } + }, + 'hidden values' + ); + + st.deepEqual( + qs.parse('foo[__proto__][hidden]=value&foo[bar]=stuffs', { allowPrototypes: true, plainObjects: true }), + { + __proto__: null, + foo: { + __proto__: null, + bar: 'stuffs' + } + }, + 'hidden values: plain objects' + ); + + st.end(); + }); + t.test('can return null objects', { skip: !Object.create }, function (st) { var expected = Object.create(null); expected.a = Object.create(null); diff --git a/node_modules/qs/test/stringify.js b/node_modules/qs/test/stringify.js index 931ac0ddd..322727308 100644 --- a/node_modules/qs/test/stringify.js +++ b/node_modules/qs/test/stringify.js @@ -131,11 +131,88 @@ test('stringify()', function (t) { st.end(); }); + t.test('stringifies an array value with one item vs multiple items', function (st) { + st.test('non-array item', function (s2t) { + s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a=c'); + s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a=c'); + s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c'); + s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true }), 'a=c'); + + s2t.end(); + }); + + st.test('array with a single item', function (s2t) { + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=c'); + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=c'); + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c'); + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a[]=c'); // so it parses back as an array + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true }), 'a[0]=c'); + + s2t.end(); + }); + + st.test('array with multiple items', function (s2t) { + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=c&a[1]=d'); + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=c&a[]=d'); + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c,d'); + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true }), 'a[0]=c&a[1]=d'); + + s2t.end(); + }); + + st.test('array with multiple items with a comma inside', function (s2t) { + s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c%2Cd,e'); + s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { arrayFormat: 'comma' }), 'a=c%2Cd%2Ce'); + + s2t.end(); + }); + + st.end(); + }); + t.test('stringifies a nested array value', function (st) { - st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'indices' }), 'a%5Bb%5D%5B0%5D=c&a%5Bb%5D%5B1%5D=d'); - st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'brackets' }), 'a%5Bb%5D%5B%5D=c&a%5Bb%5D%5B%5D=d'); - st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'comma' }), 'a%5Bb%5D=c%2Cd'); // a[b]=c,d - st.equal(qs.stringify({ a: { b: ['c', 'd'] } }), 'a%5Bb%5D%5B0%5D=c&a%5Bb%5D%5B1%5D=d'); + st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[b][0]=c&a[b][1]=d'); + st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[b][]=c&a[b][]=d'); + st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a[b]=c,d'); + st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true }), 'a[b][0]=c&a[b][1]=d'); + st.end(); + }); + + t.test('stringifies comma and empty array values', function (st) { + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'indices' }), 'a[0]=,&a[1]=&a[2]=c,d%'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'brackets' }), 'a[]=,&a[]=&a[]=c,d%'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'comma' }), 'a=,,,c,d%'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'repeat' }), 'a=,&a=&a=c,d%'); + + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=%2C&a[1]=&a[2]=c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=%2C&a[]=&a[]=c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=%2C,,c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=%2C&a=&a=c%2Cd%25'); + + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'indices' }), 'a%5B0%5D=%2C&a%5B1%5D=&a%5B2%5D=c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'brackets' }), 'a%5B%5D=%2C&a%5B%5D=&a%5B%5D=c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), 'a=%2C%2C%2Cc%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'repeat' }), 'a=%2C&a=&a=c%2Cd%25'); + + st.end(); + }); + + t.test('stringifies comma and empty non-array values', function (st) { + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'indices' }), 'a=,&b=&c=c,d%'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'brackets' }), 'a=,&b=&c=c,d%'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'comma' }), 'a=,&b=&c=c,d%'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'repeat' }), 'a=,&b=&c=c,d%'); + + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'indices' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=%2C&b=&c=c%2Cd%25'); + + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'indices' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'brackets' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'repeat' }), 'a=%2C&b=&c=c%2Cd%25'); + st.end(); }); @@ -143,7 +220,7 @@ test('stringify()', function (t) { st.equal( qs.stringify( { a: { b: ['c', 'd'] } }, - { allowDots: true, encode: false, arrayFormat: 'indices' } + { allowDots: true, encodeValuesOnly: true, arrayFormat: 'indices' } ), 'a.b[0]=c&a.b[1]=d', 'indices: stringifies with dots + indices' @@ -151,7 +228,7 @@ test('stringify()', function (t) { st.equal( qs.stringify( { a: { b: ['c', 'd'] } }, - { allowDots: true, encode: false, arrayFormat: 'brackets' } + { allowDots: true, encodeValuesOnly: true, arrayFormat: 'brackets' } ), 'a.b[]=c&a.b[]=d', 'brackets: stringifies with dots + brackets' @@ -159,7 +236,7 @@ test('stringify()', function (t) { st.equal( qs.stringify( { a: { b: ['c', 'd'] } }, - { allowDots: true, encode: false, arrayFormat: 'comma' } + { allowDots: true, encodeValuesOnly: true, arrayFormat: 'comma' } ), 'a.b=c,d', 'comma: stringifies with dots + comma' @@ -167,7 +244,7 @@ test('stringify()', function (t) { st.equal( qs.stringify( { a: { b: ['c', 'd'] } }, - { allowDots: true, encode: false } + { allowDots: true, encodeValuesOnly: true } ), 'a.b[0]=c&a.b[1]=d', 'default: stringifies with dots + indices' @@ -215,17 +292,23 @@ test('stringify()', function (t) { t.test('stringifies an array with mixed objects and primitives', function (st) { st.equal( - qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false, arrayFormat: 'indices' }), + qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0][b]=1&a[1]=2&a[2]=3', 'indices => indices' ); st.equal( - qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false, arrayFormat: 'brackets' }), + qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][b]=1&a[]=2&a[]=3', 'brackets => brackets' ); st.equal( - qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false }), + qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), + '???', + 'brackets => brackets', + { skip: 'TODO: figure out what this should do' } + ); + st.equal( + qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true }), 'a[0][b]=1&a[1]=2&a[2]=3', 'default => indices' ); @@ -343,11 +426,13 @@ test('stringify()', function (t) { st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets' }), 'b[]=&c=c'); st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat' }), 'b=&c=c'); st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma' }), 'b=&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', commaRoundTrip: true }), 'b[]=&c=c'); // with strictNullHandling st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', strictNullHandling: true }), 'b[0]&c=c'); st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', strictNullHandling: true }), 'b[]&c=c'); st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', strictNullHandling: true }), 'b&c=c'); st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true }), 'b&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true, commaRoundTrip: true }), 'b[]&c=c'); // with skipNulls st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', skipNulls: true }), 'c=c'); st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', skipNulls: true }), 'c=c'); @@ -448,7 +533,7 @@ test('stringify()', function (t) { st['throws']( function () { qs.stringify({ 'foo[bar]': 'baz', 'foo[baz]': a }); }, - RangeError, + /RangeError: Cyclic object value/, 'cyclic values throw' ); @@ -458,10 +543,16 @@ test('stringify()', function (t) { circular.a = circular; st['throws']( function () { qs.stringify(circular); }, - RangeError, + /RangeError: Cyclic object value/, 'cyclic values throw' ); + var arr = ['a']; + st.doesNotThrow( + function () { qs.stringify({ x: arr, y: arr }); }, + 'non-cyclic values do not throw' + ); + st.end(); }); @@ -672,6 +763,18 @@ test('stringify()', function (t) { 'a=' + date.getTime(), 'works with arrayFormat comma' ); + st.equal( + qs.stringify( + { a: [date] }, + { + serializeDate: function (d) { return d.getTime(); }, + arrayFormat: 'comma', + commaRoundTrip: true + } + ), + 'a%5B%5D=' + date.getTime(), + 'works with arrayFormat comma' + ); st.end(); }); @@ -702,16 +805,14 @@ test('stringify()', function (t) { }); t.test('Edge cases and unknown formats', function (st) { - ['UFO1234', false, 1234, null, {}, []].forEach( - function (format) { - st['throws']( - function () { - qs.stringify({ a: 'b c' }, { format: format }); - }, - new TypeError('Unknown format option provided.') - ); - } - ); + ['UFO1234', false, 1234, null, {}, []].forEach(function (format) { + st['throws']( + function () { + qs.stringify({ a: 'b c' }, { format: format }); + }, + new TypeError('Unknown format option provided.') + ); + }); st.end(); }); @@ -829,7 +930,12 @@ test('stringify()', function (t) { st.equal(qs.stringify(withArray, { encode: false }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, no arrayFormat'); st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'bracket' }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, bracket'); st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'indices' }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, indices'); - st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'comma' }), '???', 'array, comma (pending issue #378)', { skip: true }); + st.equal( + qs.stringify(withArray, { encode: false, arrayFormat: 'comma' }), + '???', + 'array, comma', + { skip: 'TODO: figure out what this should do' } + ); st.end(); }); diff --git a/node_modules/string.prototype.trimend/.editorconfig b/node_modules/string.prototype.trimend/.editorconfig deleted file mode 100644 index bc228f826..000000000 --- a/node_modules/string.prototype.trimend/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off diff --git a/node_modules/string.prototype.trimend/.eslintignore b/node_modules/string.prototype.trimend/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/string.prototype.trimend/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/string.prototype.trimend/.eslintrc b/node_modules/string.prototype.trimend/.eslintrc deleted file mode 100644 index 54af451cf..000000000 --- a/node_modules/string.prototype.trimend/.eslintrc +++ /dev/null @@ -1,15 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "overrides": [ - { - "files": "test/**", - "rules": { - "id-length": 0, - "no-invalid-this": 1, - }, - }, - ], -} diff --git a/node_modules/string.prototype.trimend/.nycrc b/node_modules/string.prototype.trimend/.nycrc deleted file mode 100644 index 1826526e0..000000000 --- a/node_modules/string.prototype.trimend/.nycrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/string.prototype.trimend/CHANGELOG.md b/node_modules/string.prototype.trimend/CHANGELOG.md deleted file mode 100644 index 37cae3dc5..000000000 --- a/node_modules/string.prototype.trimend/CHANGELOG.md +++ /dev/null @@ -1,74 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.4](https://github.com/es-shims/String.prototype.trimEnd/compare/v1.0.3...v1.0.4) - 2021-02-23 - -### Commits - -- [meta] do not publish github action workflow files [`08e735c`](https://github.com/es-shims/String.prototype.trimEnd/commit/08e735cd55b00ae78a9dc16c6b4e786f7931085b) -- [readme] remove travis badge [`10e0e47`](https://github.com/es-shims/String.prototype.trimEnd/commit/10e0e47cb2ecfd171e68b40f8486c5d007dcf3ef) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `functions-have-names`, `has-strict-mode`, `tape` [`0871432`](https://github.com/es-shims/String.prototype.trimEnd/commit/0871432c70c2f6a3929acd740a5d1f57c939f345) -- [Tests] increase coverage [`711e6a6`](https://github.com/es-shims/String.prototype.trimEnd/commit/711e6a66660f30f7a30fef536be435af1a13d05c) -- [actions] update workflows [`deb0d06`](https://github.com/es-shims/String.prototype.trimEnd/commit/deb0d06f41ac1c3e1e640ecd1cf0e69303ab5799) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`e250b4a`](https://github.com/es-shims/String.prototype.trimEnd/commit/e250b4a38401e7c02a067dab26cc68316da47ef7) -- [meta] gitignore coverage output [`55231df`](https://github.com/es-shims/String.prototype.trimEnd/commit/55231dfd9829277ba5c3f07be5434dc385703ca9) -- [Deps] update `call-bind` [`0580f5f`](https://github.com/es-shims/String.prototype.trimEnd/commit/0580f5f915ecb87677764d03fe3cf023e3bee7d8) - -## [v1.0.3](https://github.com/es-shims/String.prototype.trimEnd/compare/v1.0.2...v1.0.3) - 2020-11-21 - -### Commits - -- [Tests] migrate tests to Github Actions [`23e7a09`](https://github.com/es-shims/String.prototype.trimEnd/commit/23e7a09a4ad37c21c3db3d7761212c7d84a371a2) -- [Tests] add `implementation` test; run `es-shim-api` in postlint; use `tape` runner [`26e8623`](https://github.com/es-shims/String.prototype.trimEnd/commit/26e8623cf35c1859d0b482d4bb5b3450d101a810) -- [Tests] run `nyc` on all tests [`a72a546`](https://github.com/es-shims/String.prototype.trimEnd/commit/a72a546f671c5d3ac65dff68b4db1a1cc7089bfd) -- [Deps] replace `es-abstract` with `call-bind` [`f07b87d`](https://github.com/es-shims/String.prototype.trimEnd/commit/f07b87dd452090a2601d666edceb1daa90d45f24) -- [Dev Deps] update `eslint`, `aud`; add `safe-publish-latest` [`122ecb7`](https://github.com/es-shims/String.prototype.trimEnd/commit/122ecb726b1dc043b9ef27fa5a7b4172a4d5df37) - -## [v1.0.2](https://github.com/es-shims/String.prototype.trimEnd/compare/v1.0.1...v1.0.2) - 2020-10-20 - -### Commits - -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`a003e71`](https://github.com/es-shims/String.prototype.trimEnd/commit/a003e7166d8de16c551a14b0ec855187357cce43) -- [actions] add "Allow Edits" workflow [`0b4b43c`](https://github.com/es-shims/String.prototype.trimEnd/commit/0b4b43cb605f7b3532e61c43dfc7f1795296c5a4) -- [Deps] update `es-abstract` [`75ca6b0`](https://github.com/es-shims/String.prototype.trimEnd/commit/75ca6b0e9757d64013ae863cfaac49ebcb36f1cf) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`552016c`](https://github.com/es-shims/String.prototype.trimEnd/commit/552016cb631ac13c12bbbc0d6dd65012e5e79583) - -## [v1.0.1](https://github.com/es-shims/String.prototype.trimEnd/compare/v1.0.0...v1.0.1) - 2020-04-09 - -### Commits - -- [meta] add some missing repo metadata [`6abe248`](https://github.com/es-shims/String.prototype.trimEnd/commit/6abe248ba0b57a8b0e16bbe01de07a4d37c421bc) -- [Dev Deps] update `auto-changelog` [`e2eaab2`](https://github.com/es-shims/String.prototype.trimEnd/commit/e2eaab2fd1bc27a3d224b3d76db16190c1dd6d08) - -## [v1.0.0](https://github.com/es-shims/String.prototype.trimEnd/compare/v0.1.0...v1.0.0) - 2020-03-30 - -### Commits - -- [Breaking] convert to es-shim API [`2c6ef13`](https://github.com/es-shims/String.prototype.trimEnd/commit/2c6ef13d3f0b07a9bc55e367b311dbb731780405) -- [meta] add `auto-changelog` [`6f1fcc1`](https://github.com/es-shims/String.prototype.trimEnd/commit/6f1fcc1739de1e9541bd603b659807646a13dd7f) -- [meta] update readme [`ed4ce0d`](https://github.com/es-shims/String.prototype.trimEnd/commit/ed4ce0d84d53e626b48375c5959be20332464eaf) -- [Tests] add `npm run lint` [`eadaf2c`](https://github.com/es-shims/String.prototype.trimEnd/commit/eadaf2c83f2d791b54d80d7b30a9961ebc0f246f) -- Only apps should have lockfiles [`44d355f`](https://github.com/es-shims/String.prototype.trimEnd/commit/44d355f7dafcb0b51c5001824b07f7a2b9f1d06e) -- [actions] add automatic rebasing / merge commit blocking [`e78bf8e`](https://github.com/es-shims/String.prototype.trimEnd/commit/e78bf8e5fc04fcb3379dd1c98360d7df4f9ea7d6) -- [Tests] use shared travis-ci configs [`983c563`](https://github.com/es-shims/String.prototype.trimEnd/commit/983c5639efca2c9bb8b93ebbb917fbcb2561b94c) -- [meta] add `funding` field [`35139d6`](https://github.com/es-shims/String.prototype.trimEnd/commit/35139d6236ceacfc1501d08fb196d18a936ee583) -- [meta] fix non-updated version number [`a2d308b`](https://github.com/es-shims/String.prototype.trimEnd/commit/a2d308b99967ca427936c54747175794ca7336e1) - -## [v0.1.0](https://github.com/es-shims/String.prototype.trimEnd/compare/v0.0.1...v0.1.0) - 2017-12-19 - -### Commits - -- updated README [`f1c71a0`](https://github.com/es-shims/String.prototype.trimEnd/commit/f1c71a0a882e89e1c207ed2b316d91670be2b075) - -## v0.0.1 - 2017-12-19 - -### Commits - -- finished polyfill [`e58d550`](https://github.com/es-shims/String.prototype.trimEnd/commit/e58d550ab8695924ff4221ebe91f00f29801aa4b) -- created README file [`f78628a`](https://github.com/es-shims/String.prototype.trimEnd/commit/f78628ab123171f8b7759bba331d6a589702584f) -- Initial commit [`9199478`](https://github.com/es-shims/String.prototype.trimEnd/commit/9199478256da953e2f5bddfc4d82a161f4537e85) -- typo [`d1f4558`](https://github.com/es-shims/String.prototype.trimEnd/commit/d1f4558a51157833f14d8a424426d038d06576ce) diff --git a/node_modules/string.prototype.trimend/LICENSE b/node_modules/string.prototype.trimend/LICENSE deleted file mode 100644 index e48a1b576..000000000 --- a/node_modules/string.prototype.trimend/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017 Khaled Al-Ansari - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/string.prototype.trimend/README.md b/node_modules/string.prototype.trimend/README.md deleted file mode 100644 index f6fd331c1..000000000 --- a/node_modules/string.prototype.trimend/README.md +++ /dev/null @@ -1,40 +0,0 @@ -String.prototype.trimEnd [![Version Badge][npm-version-svg]][package-url] - -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -An ES2019-spec-compliant `String.prototype.trimEnd` shim. Invoke its "shim" method to shim `String.prototype.trimEnd` if it is unavailable. - -This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://www.ecma-international.org/ecma-262/6.0/#sec-object.assign). In an ES6 environment, it will also work properly with `Symbol`s. - -Most common usage: -```js -var trimEnd = require('string.prototype.trimend'); - -assert(trimEnd(' \t\na \t\n') === 'a \t\n'); - -if (!String.prototype.trimEnd) { - trimEnd.shim(); -} - -assert(trimEnd(' \t\na \t\n ') === ' \t\na \t\n '.trimEnd()); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.com/package/string.prototype.trimend -[npm-version-svg]: https://vb.teelaun.ch/es-shims/String.prototype.trimEnd.svg -[deps-svg]: https://david-dm.org/es-shims/String.prototype.trimEnd.svg -[deps-url]: https://david-dm.org/es-shims/String.prototype.trimEnd -[dev-deps-svg]: https://david-dm.org/es-shims/String.prototype.trimEnd/dev-status.svg -[dev-deps-url]: https://david-dm.org/es-shims/String.prototype.trimEnd#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/string.prototype.trimend.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/string.prototype.trimend.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/string.prototype.trimend.svg -[downloads-url]: https://npm-stat.com/charts.html?package=string.prototype.trimend diff --git a/node_modules/string.prototype.trimend/auto.js b/node_modules/string.prototype.trimend/auto.js deleted file mode 100644 index 8ebf606cb..000000000 --- a/node_modules/string.prototype.trimend/auto.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -require('./shim')(); diff --git a/node_modules/string.prototype.trimend/implementation.js b/node_modules/string.prototype.trimend/implementation.js deleted file mode 100644 index a14a7fc35..000000000 --- a/node_modules/string.prototype.trimend/implementation.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var $replace = callBound('String.prototype.replace'); - -/* eslint-disable no-control-regex */ -var endWhitespace = /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*$/; -/* eslint-enable no-control-regex */ - -module.exports = function trimEnd() { - return $replace(this, endWhitespace, ''); -}; diff --git a/node_modules/string.prototype.trimend/index.js b/node_modules/string.prototype.trimend/index.js deleted file mode 100644 index 31f6bf44a..000000000 --- a/node_modules/string.prototype.trimend/index.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var callBind = require('call-bind'); -var define = require('define-properties'); - -var implementation = require('./implementation'); -var getPolyfill = require('./polyfill'); -var shim = require('./shim'); - -var bound = callBind(getPolyfill()); - -define(bound, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); - -module.exports = bound; diff --git a/node_modules/string.prototype.trimend/package.json b/node_modules/string.prototype.trimend/package.json deleted file mode 100644 index d2e8a4a38..000000000 --- a/node_modules/string.prototype.trimend/package.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "name": "string.prototype.trimend", - "version": "1.0.4", - "author": "Jordan Harband ", - "contributors": [ - "Jordan Harband ", - "Khaled Al-Ansari " - ], - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "description": "ES2019 spec-compliant String.prototype.trimEnd shim.", - "license": "MIT", - "main": "index.js", - "scripts": { - "prepublish": "safe-publish-latest", - "lint": "eslint .", - "postlint": "es-shim-api --bound", - "pretest": "npm run lint", - "test": "npm run tests-only", - "posttest": "aud --production", - "tests-only": "nyc tape 'test/**/*.js'", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/es-shims/String.prototype.trimEnd.git" - }, - "keywords": [ - "es6", - "es7", - "es8", - "javascript", - "prototype", - "polyfill", - "utility", - "trim", - "trimLeft", - "trimRight", - "trimStart", - "trimEnd", - "tc39" - ], - "devDependencies": { - "@es-shims/api": "^2.1.2", - "@ljharb/eslint-config": "^17.5.1", - "aud": "^1.1.4", - "auto-changelog": "^2.2.1", - "eslint": "^7.20.0", - "functions-have-names": "^1.2.2", - "has-strict-mode": "^1.0.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.1.1" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } -} diff --git a/node_modules/string.prototype.trimend/polyfill.js b/node_modules/string.prototype.trimend/polyfill.js deleted file mode 100644 index 0fa4f7083..000000000 --- a/node_modules/string.prototype.trimend/polyfill.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var implementation = require('./implementation'); - -module.exports = function getPolyfill() { - if (!String.prototype.trimEnd && !String.prototype.trimRight) { - return implementation; - } - var zeroWidthSpace = '\u200b'; - var trimmed = zeroWidthSpace.trimEnd ? zeroWidthSpace.trimEnd() : zeroWidthSpace.trimRight(); - if (trimmed !== zeroWidthSpace) { - return implementation; - } - return String.prototype.trimEnd || String.prototype.trimRight; -}; diff --git a/node_modules/string.prototype.trimend/shim.js b/node_modules/string.prototype.trimend/shim.js deleted file mode 100644 index 5a8f4773b..000000000 --- a/node_modules/string.prototype.trimend/shim.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var define = require('define-properties'); -var getPolyfill = require('./polyfill'); - -module.exports = function shimTrimEnd() { - var polyfill = getPolyfill(); - define( - String.prototype, - { trimEnd: polyfill }, - { trimEnd: function () { return String.prototype.trimEnd !== polyfill; } } - ); - return polyfill; -}; diff --git a/node_modules/string.prototype.trimend/test/implementation.js b/node_modules/string.prototype.trimend/test/implementation.js deleted file mode 100644 index 7fdf95b7d..000000000 --- a/node_modules/string.prototype.trimend/test/implementation.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var implementation = require('../implementation'); -var callBind = require('call-bind'); -var test = require('tape'); -var hasStrictMode = require('has-strict-mode')(); -var runTests = require('./tests'); - -test('as a function', function (t) { - t.test('bad array/this value', { skip: !hasStrictMode }, function (st) { - /* eslint no-useless-call: 0 */ - st['throws'](function () { implementation.call(undefined); }, TypeError, 'undefined is not an object'); - st['throws'](function () { implementation.call(null); }, TypeError, 'null is not an object'); - st.end(); - }); - - runTests(callBind(implementation), t); - - t.end(); -}); diff --git a/node_modules/string.prototype.trimend/test/index.js b/node_modules/string.prototype.trimend/test/index.js deleted file mode 100644 index 2ee8f6703..000000000 --- a/node_modules/string.prototype.trimend/test/index.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var trimEnd = require('../'); -var test = require('tape'); -var runTests = require('./tests'); - -test('as a function', function (t) { - t.test('bad array/this value', function (st) { - st['throws'](function () { trimEnd(undefined, 'a'); }, TypeError, 'undefined is not an object'); - st['throws'](function () { trimEnd(null, 'a'); }, TypeError, 'null is not an object'); - st.end(); - }); - - runTests(trimEnd, t); - - t.end(); -}); diff --git a/node_modules/string.prototype.trimend/test/shimmed.js b/node_modules/string.prototype.trimend/test/shimmed.js deleted file mode 100644 index 1a01ceb1b..000000000 --- a/node_modules/string.prototype.trimend/test/shimmed.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -require('../auto'); - -var runTests = require('./tests'); - -var test = require('tape'); -var defineProperties = require('define-properties'); -var callBind = require('call-bind'); -var isEnumerable = Object.prototype.propertyIsEnumerable; -var functionsHaveNames = require('functions-have-names')(); - -test('shimmed', function (t) { - t.equal(String.prototype.trimEnd.length, 0, 'String#trimEnd has a length of 0'); - t.test('Function name', { skip: !functionsHaveNames }, function (st) { - st.equal((/^(?:trimRight|trimEnd)$/).test(String.prototype.trimEnd.name), true, 'String#trimEnd has name "trimRight" or "trimEnd"'); - st.end(); - }); - - t.test('enumerability', { skip: !defineProperties.supportsDescriptors }, function (et) { - et.equal(false, isEnumerable.call(String.prototype, 'trimEnd'), 'String#trimEnd is not enumerable'); - et.end(); - }); - - var supportsStrictMode = (function () { return typeof this === 'undefined'; }()); - - t.test('bad string/this value', { skip: !supportsStrictMode }, function (st) { - st['throws'](function () { return String.prototype.trimEnd.call(undefined, 'a'); }, TypeError, 'undefined is not an object'); - st['throws'](function () { return String.prototype.trimEnd.call(null, 'a'); }, TypeError, 'null is not an object'); - st.end(); - }); - - runTests(callBind(String.prototype.trimEnd), t); - - t.end(); -}); diff --git a/node_modules/string.prototype.trimend/test/tests.js b/node_modules/string.prototype.trimend/test/tests.js deleted file mode 100644 index ce00554c7..000000000 --- a/node_modules/string.prototype.trimend/test/tests.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -module.exports = function (trimEnd, t) { - t.test('normal cases', function (st) { - st.equal(trimEnd(' \t\na \t\n'), ' \t\na', 'strips whitespace off the left side'); - st.equal(trimEnd('a'), 'a', 'noop when no whitespace'); - - var allWhitespaceChars = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; - st.equal(trimEnd(allWhitespaceChars + 'a' + allWhitespaceChars), allWhitespaceChars + 'a', 'all expected whitespace chars are trimmed'); - - st.end(); - }); - - // see https://codeblog.jonskeet.uk/2014/12/01/when-is-an-identifier-not-an-identifier-attack-of-the-mongolian-vowel-separator/ - var mongolianVowelSeparator = '\u180E'; - t.test('unicode >= 4 && < 6.3', { skip: !(/^\s$/).test(mongolianVowelSeparator) }, function (st) { - st.equal(trimEnd(mongolianVowelSeparator + 'a' + mongolianVowelSeparator), mongolianVowelSeparator + 'a', 'mongolian vowel separator is whitespace'); - st.end(); - }); - - t.test('zero-width spaces', function (st) { - var zeroWidth = '\u200b'; - st.equal(trimEnd(zeroWidth), zeroWidth, 'zero width space does not trim'); - st.end(); - }); -}; diff --git a/node_modules/string.prototype.trimstart/.editorconfig b/node_modules/string.prototype.trimstart/.editorconfig deleted file mode 100644 index bc228f826..000000000 --- a/node_modules/string.prototype.trimstart/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off diff --git a/node_modules/string.prototype.trimstart/.eslintignore b/node_modules/string.prototype.trimstart/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/string.prototype.trimstart/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/string.prototype.trimstart/.eslintrc b/node_modules/string.prototype.trimstart/.eslintrc deleted file mode 100644 index 54af451cf..000000000 --- a/node_modules/string.prototype.trimstart/.eslintrc +++ /dev/null @@ -1,15 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "overrides": [ - { - "files": "test/**", - "rules": { - "id-length": 0, - "no-invalid-this": 1, - }, - }, - ], -} diff --git a/node_modules/string.prototype.trimstart/.nycrc b/node_modules/string.prototype.trimstart/.nycrc deleted file mode 100644 index 1826526e0..000000000 --- a/node_modules/string.prototype.trimstart/.nycrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/string.prototype.trimstart/CHANGELOG.md b/node_modules/string.prototype.trimstart/CHANGELOG.md deleted file mode 100644 index f740ecd14..000000000 --- a/node_modules/string.prototype.trimstart/CHANGELOG.md +++ /dev/null @@ -1,74 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.4](https://github.com/es-shims/String.prototype.trimStart/compare/v1.0.3...v1.0.4) - 2021-02-23 - -### Commits - -- [meta] do not publish github action workflow files [`9c434ec`](https://github.com/es-shims/String.prototype.trimStart/commit/9c434eceb50141cf36e8e65f514226b0b547b568) -- [readme] remove travis badge [`7843160`](https://github.com/es-shims/String.prototype.trimStart/commit/7843160a3e8feaa2213feb0da9c5ad7d9bf21b59) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `functions-have-names`, `has-strict-mode`, `tape` [`8b52646`](https://github.com/es-shims/String.prototype.trimStart/commit/8b52646510aea20473da5491fe0876117a2251b1) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`badeda2`](https://github.com/es-shims/String.prototype.trimStart/commit/badeda2b01d2e266e4d1c2e7dc0e4fca0f066f3e) -- [Tests] increase coverage [`bf8777d`](https://github.com/es-shims/String.prototype.trimStart/commit/bf8777d54c4b05c093559021cfaf0670306120f8) -- [actions] update workflows [`61be1c6`](https://github.com/es-shims/String.prototype.trimStart/commit/61be1c649ae859faa40286e57fa22cef65ae1229) -- [meta] gitignore coverage output [`c9c98d7`](https://github.com/es-shims/String.prototype.trimStart/commit/c9c98d75d7708e8906a39b55a0ad7a0ed6a9e4b0) -- [Deps] update `call-bind` [`c8645e8`](https://github.com/es-shims/String.prototype.trimStart/commit/c8645e89f9ace7681660ba66c724cf00c798f3d4) - -## [v1.0.3](https://github.com/es-shims/String.prototype.trimStart/compare/v1.0.2...v1.0.3) - 2020-11-21 - -### Commits - -- [Tests] migrate tests to Github Actions [`fbc7519`](https://github.com/es-shims/String.prototype.trimStart/commit/fbc7519cce2b5bfff9fe28dea96fb5f6f82e19fd) -- [Tests] add `implementation` test; run `es-shim-api` in postlint; use `tape` runner [`3c9330b`](https://github.com/es-shims/String.prototype.trimStart/commit/3c9330be9ad02497f78ff0fd94b7c918c3a4bc21) -- [Tests] run `nyc` on all tests [`52229ca`](https://github.com/es-shims/String.prototype.trimStart/commit/52229ca28426be516c3826743e417be85144673e) -- [Deps] replace `es-abstract` with `call-bind` [`5e5068d`](https://github.com/es-shims/String.prototype.trimStart/commit/5e5068d2cc85d0a6f2a441ea984521ee70470537) -- [Dev Deps] update `eslint`, `aud`; add `safe-publish-latest` [`42a853e`](https://github.com/es-shims/String.prototype.trimStart/commit/42a853e2cb419378085098cb66e421ee94eed3ab) - -## [v1.0.2](https://github.com/es-shims/String.prototype.trimStart/compare/v1.0.1...v1.0.2) - 2020-10-20 - -### Commits - -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`d032b38`](https://github.com/es-shims/String.prototype.trimStart/commit/d032b38aac7e9ebae7bf5c4195492c508af2815a) -- [actions] add "Allow Edits" workflow [`83e30ba`](https://github.com/es-shims/String.prototype.trimStart/commit/83e30bac01572b6dba6358fec6e339c55dc431c9) -- [Deps] update `es-abstract` [`707d85d`](https://github.com/es-shims/String.prototype.trimStart/commit/707d85d827d9c537a144f199fdecc47edaade1cd) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`096c6d9`](https://github.com/es-shims/String.prototype.trimStart/commit/096c6d9dc142286c750da7024e7a88ed698a4953) - -## [v1.0.1](https://github.com/es-shims/String.prototype.trimStart/compare/v1.0.0...v1.0.1) - 2020-04-09 - -### Commits - -- [meta] add some missing repo metadata [`3385da3`](https://github.com/es-shims/String.prototype.trimStart/commit/3385da3bbb87819de11a869981ca954887a6a092) -- [Dev Deps] update `auto-changelog` [`879377d`](https://github.com/es-shims/String.prototype.trimStart/commit/879377df9c1ff97d8f0b3eac800683f1d68a304c) - -## [v1.0.0](https://github.com/es-shims/String.prototype.trimStart/compare/v0.1.0...v1.0.0) - 2020-03-30 - -### Commits - -- [Breaking] convert to es-shim API [`970922c`](https://github.com/es-shims/String.prototype.trimStart/commit/970922c494c78b033c351c77f61a8aefd49c30d9) -- [meta] add `auto-changelog` [`ff30c09`](https://github.com/es-shims/String.prototype.trimStart/commit/ff30c0996289113d2c3dbbfca7e280ff151bf36d) -- [meta] update readme [`816291d`](https://github.com/es-shims/String.prototype.trimStart/commit/816291d01e0eaf85da9b732c179cfb2454bd282e) -- [Tests] add `npm run lint` [`3341104`](https://github.com/es-shims/String.prototype.trimStart/commit/3341104450bc6ac84f3b70a6d6c0fbeb4df5131e) -- Only apps should have lockfiles [`f008df7`](https://github.com/es-shims/String.prototype.trimStart/commit/f008df73fbf3dcf8dfad6d5cad86de7050d0ae09) -- [actions] add automatic rebasing / merge commit blocking [`e5ba35c`](https://github.com/es-shims/String.prototype.trimStart/commit/e5ba35c1a14fcf652336cc9c4be49d232981161e) -- [Tests] use shared travis-ci configs [`46516b1`](https://github.com/es-shims/String.prototype.trimStart/commit/46516b137a8c07ed5807d751bd61199688ef9baa) -- [meta] add `funding` field [`34ae856`](https://github.com/es-shims/String.prototype.trimStart/commit/34ae8563f115bd4a5e5f5d2d786c0fa0a420fa2a) -- [meta] fix non-updated version number [`3b0e262`](https://github.com/es-shims/String.prototype.trimStart/commit/3b0e262e2f4eeee2e1b99fe890f8ca17bed8f2fd) - -## [v0.1.0](https://github.com/es-shims/String.prototype.trimStart/compare/v0.0.1...v0.1.0) - 2017-12-19 - -### Commits - -- updated README [`ab2f6ac`](https://github.com/es-shims/String.prototype.trimStart/commit/ab2f6ac8813ed336a0f2dc3aa8cdb52f4d52814b) - -## v0.0.1 - 2017-12-19 - -### Commits - -- finished polyfill [`1c7ca20`](https://github.com/es-shims/String.prototype.trimStart/commit/1c7ca2043e3383b6e743870bc622ad4a38477147) -- created README file: [`192ecad`](https://github.com/es-shims/String.prototype.trimStart/commit/192ecaded4e0d5baaa65cd41e590b8d837520d44) -- Initial commit [`14044f8`](https://github.com/es-shims/String.prototype.trimStart/commit/14044f8a0fe1d155fe7403a8327bdbaf135da2d6) -- updated README [`d4fb6be`](https://github.com/es-shims/String.prototype.trimStart/commit/d4fb6be15455dd68fc4b306bee1d30dd4afc96e7) diff --git a/node_modules/string.prototype.trimstart/LICENSE b/node_modules/string.prototype.trimstart/LICENSE deleted file mode 100644 index e48a1b576..000000000 --- a/node_modules/string.prototype.trimstart/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017 Khaled Al-Ansari - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/string.prototype.trimstart/README.md b/node_modules/string.prototype.trimstart/README.md deleted file mode 100644 index 682408bf2..000000000 --- a/node_modules/string.prototype.trimstart/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# String.prototype.trimStart [![Version Badge][npm-version-svg]][package-url] - -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][npm-badge-png]][package-url] - -An ES2019-spec-compliant `String.prototype.trimStart` shim. Invoke its "shim" method to shim `String.prototype.trimStart` if it is unavailable. - -This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://www.ecma-international.org/ecma-262/6.0/#sec-object.assign). In an ES6 environment, it will also work properly with `Symbol`s. - -Most common usage: -```js -var trimStart = require('string.prototype.trimstart'); - -assert(trimStart(' \t\na \t\n') === 'a \t\n'); - -if (!String.prototype.trimStart) { - trimStart.shim(); -} - -assert(trimStart(' \t\na \t\n') === ' \t\na \t\n'.trimStart()); -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[package-url]: https://npmjs.com/package/string.prototype.trimstart -[npm-version-svg]: https://vb.teelaun.ch/es-shims/String.prototype.trimStart.svg -[deps-svg]: https://david-dm.org/es-shims/String.prototype.trimStart.svg -[deps-url]: https://david-dm.org/es-shims/String.prototype.trimStart -[dev-deps-svg]: https://david-dm.org/es-shims/String.prototype.trimStart/dev-status.svg -[dev-deps-url]: https://david-dm.org/es-shims/String.prototype.trimStart#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/string.prototype.trimstart.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/string.prototype.trimstart.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/string.prototype.trimstart.svg -[downloads-url]: https://npm-stat.com/charts.html?package=string.prototype.trimstart diff --git a/node_modules/string.prototype.trimstart/auto.js b/node_modules/string.prototype.trimstart/auto.js deleted file mode 100644 index 8ebf606cb..000000000 --- a/node_modules/string.prototype.trimstart/auto.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -require('./shim')(); diff --git a/node_modules/string.prototype.trimstart/implementation.js b/node_modules/string.prototype.trimstart/implementation.js deleted file mode 100644 index 862aa0f74..000000000 --- a/node_modules/string.prototype.trimstart/implementation.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -var callBound = require('call-bind/callBound'); -var $replace = callBound('String.prototype.replace'); - -/* eslint-disable no-control-regex */ -var startWhitespace = /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*/; -/* eslint-enable no-control-regex */ - -module.exports = function trimStart() { - return $replace(this, startWhitespace, ''); -}; diff --git a/node_modules/string.prototype.trimstart/index.js b/node_modules/string.prototype.trimstart/index.js deleted file mode 100644 index 31f6bf44a..000000000 --- a/node_modules/string.prototype.trimstart/index.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var callBind = require('call-bind'); -var define = require('define-properties'); - -var implementation = require('./implementation'); -var getPolyfill = require('./polyfill'); -var shim = require('./shim'); - -var bound = callBind(getPolyfill()); - -define(bound, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); - -module.exports = bound; diff --git a/node_modules/string.prototype.trimstart/package.json b/node_modules/string.prototype.trimstart/package.json deleted file mode 100644 index b64622775..000000000 --- a/node_modules/string.prototype.trimstart/package.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "name": "string.prototype.trimstart", - "version": "1.0.4", - "author": "Jordan Harband ", - "contributors": [ - "Jordan Harband ", - "Khaled Al-Ansari " - ], - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "description": "ES2019 spec-compliant String.prototype.trimStart shim.", - "license": "MIT", - "main": "index.js", - "scripts": { - "prepublish": "safe-publish-latest", - "lint": "eslint .", - "postlint": "es-shim-api --bound", - "pretest": "npm run lint", - "test": "npm run tests-only", - "posttest": "aud --production", - "tests-only": "nyc tape 'test/**/*.js'", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git://github.com/es-shims/String.prototype.trimStart.git" - }, - "keywords": [ - "es6", - "es7", - "es8", - "javascript", - "prototype", - "polyfill", - "utility", - "trim", - "trimLeft", - "trimRight", - "trimStart", - "trimEnd", - "tc39" - ], - "devDependencies": { - "@es-shims/api": "^2.1.2", - "@ljharb/eslint-config": "^17.5.1", - "aud": "^1.1.4", - "auto-changelog": "^2.2.1", - "eslint": "^7.20.0", - "functions-have-names": "^1.2.2", - "has-strict-mode": "^1.0.1", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.0" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } -} diff --git a/node_modules/string.prototype.trimstart/polyfill.js b/node_modules/string.prototype.trimstart/polyfill.js deleted file mode 100644 index 9adaccd52..000000000 --- a/node_modules/string.prototype.trimstart/polyfill.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var implementation = require('./implementation'); - -module.exports = function getPolyfill() { - if (!String.prototype.trimStart && !String.prototype.trimLeft) { - return implementation; - } - var zeroWidthSpace = '\u200b'; - var trimmed = zeroWidthSpace.trimStart ? zeroWidthSpace.trimStart() : zeroWidthSpace.trimLeft(); - if (trimmed !== zeroWidthSpace) { - return implementation; - } - return String.prototype.trimStart || String.prototype.trimLeft; -}; diff --git a/node_modules/string.prototype.trimstart/shim.js b/node_modules/string.prototype.trimstart/shim.js deleted file mode 100644 index 5ea6dfdcf..000000000 --- a/node_modules/string.prototype.trimstart/shim.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var define = require('define-properties'); -var getPolyfill = require('./polyfill'); - -module.exports = function shimTrimStart() { - var polyfill = getPolyfill(); - define( - String.prototype, - { trimStart: polyfill }, - { trimStart: function () { return String.prototype.trimStart !== polyfill; } } - ); - return polyfill; -}; diff --git a/node_modules/string.prototype.trimstart/test/implementation.js b/node_modules/string.prototype.trimstart/test/implementation.js deleted file mode 100644 index 7fdf95b7d..000000000 --- a/node_modules/string.prototype.trimstart/test/implementation.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var implementation = require('../implementation'); -var callBind = require('call-bind'); -var test = require('tape'); -var hasStrictMode = require('has-strict-mode')(); -var runTests = require('./tests'); - -test('as a function', function (t) { - t.test('bad array/this value', { skip: !hasStrictMode }, function (st) { - /* eslint no-useless-call: 0 */ - st['throws'](function () { implementation.call(undefined); }, TypeError, 'undefined is not an object'); - st['throws'](function () { implementation.call(null); }, TypeError, 'null is not an object'); - st.end(); - }); - - runTests(callBind(implementation), t); - - t.end(); -}); diff --git a/node_modules/string.prototype.trimstart/test/index.js b/node_modules/string.prototype.trimstart/test/index.js deleted file mode 100644 index baff6b59b..000000000 --- a/node_modules/string.prototype.trimstart/test/index.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var trimStart = require('../'); -var test = require('tape'); - -var runTests = require('./tests'); - -test('as a function', function (t) { - t.test('bad array/this value', function (st) { - st['throws'](function () { trimStart(undefined, 'a'); }, TypeError, 'undefined is not an object'); - st['throws'](function () { trimStart(null, 'a'); }, TypeError, 'null is not an object'); - st.end(); - }); - - runTests(trimStart, t); - - t.end(); -}); diff --git a/node_modules/string.prototype.trimstart/test/shimmed.js b/node_modules/string.prototype.trimstart/test/shimmed.js deleted file mode 100644 index bfdbe486c..000000000 --- a/node_modules/string.prototype.trimstart/test/shimmed.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -require('../auto'); - -var runTests = require('./tests'); - -var test = require('tape'); -var defineProperties = require('define-properties'); -var callBind = require('call-bind'); -var isEnumerable = Object.prototype.propertyIsEnumerable; -var functionsHaveNames = require('functions-have-names')(); - -test('shimmed', function (t) { - t.equal(String.prototype.trimStart.length, 0, 'String#trimStart has a length of 0'); - t.test('Function name', { skip: !functionsHaveNames }, function (st) { - st.equal((/^(?:trimLeft|trimStart)$/).test(String.prototype.trimStart.name), true, 'String#trimStart has name "trimLeft" or "trimStart"'); - st.end(); - }); - - t.test('enumerability', { skip: !defineProperties.supportsDescriptors }, function (et) { - et.equal(false, isEnumerable.call(String.prototype, 'trimStart'), 'String#trimStart is not enumerable'); - et.end(); - }); - - var supportsStrictMode = (function () { return typeof this === 'undefined'; }()); - - t.test('bad string/this value', { skip: !supportsStrictMode }, function (st) { - st['throws'](function () { return String.prototype.trimStart.call(undefined, 'a'); }, TypeError, 'undefined is not an object'); - st['throws'](function () { return String.prototype.trimStart.call(null, 'a'); }, TypeError, 'null is not an object'); - st.end(); - }); - - runTests(callBind(String.prototype.trimStart), t); - - t.end(); -}); diff --git a/node_modules/string.prototype.trimstart/test/tests.js b/node_modules/string.prototype.trimstart/test/tests.js deleted file mode 100644 index a515158c9..000000000 --- a/node_modules/string.prototype.trimstart/test/tests.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -module.exports = function (trimStart, t) { - t.test('normal cases', function (st) { - st.equal(trimStart(' \t\na \t\n'), 'a \t\n', 'strips whitespace off the left side'); - st.equal(trimStart('a'), 'a', 'noop when no whitespace'); - - var allWhitespaceChars = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; - st.equal(trimStart(allWhitespaceChars + 'a' + allWhitespaceChars), 'a' + allWhitespaceChars, 'all expected whitespace chars are trimmed'); - - st.end(); - }); - - // see https://codeblog.jonskeet.uk/2014/12/01/when-is-an-identifier-not-an-identifier-attack-of-the-mongolian-vowel-separator/ - var mongolianVowelSeparator = '\u180E'; - t.test('unicode >= 4 && < 6.3', { skip: !(/^\s$/).test(mongolianVowelSeparator) }, function (st) { - st.equal(trimStart(mongolianVowelSeparator + 'a' + mongolianVowelSeparator), 'a' + mongolianVowelSeparator, 'mongolian vowel separator is whitespace'); - st.end(); - }); - - t.test('zero-width spaces', function (st) { - var zeroWidth = '\u200b'; - st.equal(trimStart(zeroWidth), zeroWidth, 'zero width space does not trim'); - st.end(); - }); -}; diff --git a/node_modules/touch/node_modules/.bin/nopt b/node_modules/touch/node_modules/.bin/nopt index 6b6566ea7..f1ec43bc2 120000 --- a/node_modules/touch/node_modules/.bin/nopt +++ b/node_modules/touch/node_modules/.bin/nopt @@ -1 +1,12 @@ -../nopt/bin/nopt.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../nopt/bin/nopt.js" "$@" +else + exec node "$basedir/../nopt/bin/nopt.js" "$@" +fi diff --git a/node_modules/typed-rest-client/HttpClient.js b/node_modules/typed-rest-client/HttpClient.js index 9da71bf73..c25e354bf 100644 --- a/node_modules/typed-rest-client/HttpClient.js +++ b/node_modules/typed-rest-client/HttpClient.js @@ -58,7 +58,7 @@ class HttpClientResponse { } readBody() { return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { - let buffer = Buffer.alloc(0); + const chunks = []; const encodingCharset = util.obtainContentCharset(this); // Extract Encoding from header: 'content-encoding' // Match `gzip`, `gzip, deflate` variations of GZIP encoding @@ -66,9 +66,10 @@ class HttpClientResponse { const isGzippedEncoded = new RegExp('(gzip$)|(gzip, *deflate)').test(contentEncoding); this.message.on('data', function (data) { const chunk = (typeof data === 'string') ? Buffer.from(data, encodingCharset) : data; - buffer = Buffer.concat([buffer, chunk]); + chunks.push(chunk); }).on('end', function () { return __awaiter(this, void 0, void 0, function* () { + const buffer = Buffer.concat(chunks); if (isGzippedEncoded) { // Process GZipped Response Body HERE const gunzippedBody = yield util.decompressGzippedContent(buffer, encodingCharset); resolve(gunzippedBody); diff --git a/node_modules/typed-rest-client/README.md b/node_modules/typed-rest-client/README.md index 97ded3acb..24f77a543 100644 --- a/node_modules/typed-rest-client/README.md +++ b/node_modules/typed-rest-client/README.md @@ -1,6 +1,4 @@ -GitHub Actions status - [![Build Status](https://dev.azure.com/ms/typed-rest-client/_apis/build/status/Microsoft.typed-rest-client?branchName=master)](https://dev.azure.com/ms/typed-rest-client/_build/latest?definitionId=42&branchName=master) diff --git a/node_modules/typed-rest-client/Util.js b/node_modules/typed-rest-client/Util.js index ed6273b56..fbc538a38 100644 --- a/node_modules/typed-rest-client/Util.js +++ b/node_modules/typed-rest-client/Util.js @@ -90,7 +90,9 @@ function decompressGzippedContent(buffer, charset) { if (error) { reject(error); } - resolve(buffer.toString(charset || 'utf-8')); + else { + resolve(buffer.toString(charset || 'utf-8')); + } }); })); }); diff --git a/node_modules/typed-rest-client/node_modules/underscore/LICENSE b/node_modules/typed-rest-client/node_modules/underscore/LICENSE deleted file mode 100644 index 898908bf2..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/typed-rest-client/node_modules/underscore/README.md b/node_modules/typed-rest-client/node_modules/underscore/README.md deleted file mode 100644 index 9beae5059..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/README.md +++ /dev/null @@ -1,34 +0,0 @@ - __ - /\ \ __ - __ __ ___ \_\ \ __ _ __ ____ ___ ___ _ __ __ /\_\ ____ - /\ \/\ \ /' _ `\ /'_ \ /'__`\/\ __\/ ,__\ / ___\ / __`\/\ __\/'__`\ \/\ \ /',__\ - \ \ \_\ \/\ \/\ \/\ \ \ \/\ __/\ \ \//\__, `\/\ \__//\ \ \ \ \ \//\ __/ __ \ \ \/\__, `\ - \ \____/\ \_\ \_\ \___,_\ \____\\ \_\\/\____/\ \____\ \____/\ \_\\ \____\/\_\ _\ \ \/\____/ - \/___/ \/_/\/_/\/__,_ /\/____/ \/_/ \/___/ \/____/\/___/ \/_/ \/____/\/_//\ \_\ \/___/ - \ \____/ - \/___/ - -Underscore.js is a utility-belt library for JavaScript that provides -support for the usual functional suspects (each, map, reduce, filter...) -without extending any core JavaScript objects. - -For Docs, License, Tests, and pre-packed downloads, see: -https://underscorejs.org - -For support and questions, please consult -our [security policy](SECURITY.md), -[the gitter channel](https://gitter.im/jashkenas/underscore) -or [stackoverflow](https://stackoverflow.com/search?q=underscore.js) - -Underscore is an open-sourced component of DocumentCloud: -https://github.com/documentcloud - -Many thanks to our contributors: -https://github.com/jashkenas/underscore/contributors - -You can support the project by donating on -[Patreon](https://patreon.com/juliangonggrijp). -Enterprise coverage is available as part of the -[Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-underscore?utm_source=npm-underscore&utm_medium=referral&utm_campaign=enterprise). - -This project adheres to a [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_baseCreate.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_baseCreate.js deleted file mode 100644 index 34ae6defc..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_baseCreate.js +++ /dev/null @@ -1,21 +0,0 @@ -define(['./isObject', './_setup'], function (isObject, _setup) { - - // Create a naked function reference for surrogate-prototype-swapping. - function ctor() { - return function(){}; - } - - // An internal function for creating a new object that inherits from another. - function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (_setup.nativeCreate) return _setup.nativeCreate(prototype); - var Ctor = ctor(); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; - } - - return baseCreate; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_baseIteratee.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_baseIteratee.js deleted file mode 100644 index 6579215b9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_baseIteratee.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['./identity', './isFunction', './isObject', './isArray', './matcher', './property', './_optimizeCb'], function (identity, isFunction, isObject, isArray, matcher, property, _optimizeCb) { - - // An internal function to generate callbacks that can be applied to each - // element in a collection, returning the desired result — either `_.identity`, - // an arbitrary callback, a property matcher, or a property accessor. - function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction(value)) return _optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); - } - - return baseIteratee; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_cb.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_cb.js deleted file mode 100644 index 6544623b3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_cb.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./underscore', './_baseIteratee', './iteratee'], function (underscore, _baseIteratee, iteratee) { - - // The function we call internally to generate a callback. It invokes - // `_.iteratee` if overridden, otherwise `baseIteratee`. - function cb(value, context, argCount) { - if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context); - return _baseIteratee(value, context, argCount); - } - - return cb; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_chainResult.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_chainResult.js deleted file mode 100644 index f9e3002db..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_chainResult.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./underscore'], function (underscore) { - - // Helper function to continue chaining intermediate results. - function chainResult(instance, obj) { - return instance._chain ? underscore(obj).chain() : obj; - } - - return chainResult; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_collectNonEnumProps.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_collectNonEnumProps.js deleted file mode 100644 index 32d9f5ce1..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_collectNonEnumProps.js +++ /dev/null @@ -1,42 +0,0 @@ -define(['./_setup', './isFunction', './_has'], function (_setup, isFunction, _has) { - - // Internal helper to create a simple lookup structure. - // `collectNonEnumProps` used to depend on `_.contains`, but this led to - // circular imports. `emulatedSet` is a one-off solution that only works for - // arrays of strings. - function emulatedSet(keys) { - var hash = {}; - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; - return { - contains: function(key) { return hash[key]; }, - push: function(key) { - hash[key] = true; - return keys.push(key); - } - }; - } - - // Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't - // be iterated by `for key in ...` and thus missed. Extends `keys` in place if - // needed. - function collectNonEnumProps(obj, keys) { - keys = emulatedSet(keys); - var nonEnumIdx = _setup.nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = isFunction(constructor) && constructor.prototype || _setup.ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (_has(obj, prop) && !keys.contains(prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = _setup.nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { - keys.push(prop); - } - } - } - - return collectNonEnumProps; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_createAssigner.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_createAssigner.js deleted file mode 100644 index deb5902df..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_createAssigner.js +++ /dev/null @@ -1,24 +0,0 @@ -define(function () { - - // An internal function for creating assigner functions. - function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; - } - - return createAssigner; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_createEscaper.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_createEscaper.js deleted file mode 100644 index 385ad84e7..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_createEscaper.js +++ /dev/null @@ -1,21 +0,0 @@ -define(['./keys'], function (keys) { - - // Internal helper to generate functions for escaping and unescaping strings - // to/from HTML interpolation. - function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped. - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; - } - - return createEscaper; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_createIndexFinder.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_createIndexFinder.js deleted file mode 100644 index 400fb05d4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_createIndexFinder.js +++ /dev/null @@ -1,30 +0,0 @@ -define(['./_getLength', './_setup', './isNaN'], function (_getLength, _setup, _isNaN) { - - // Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. - function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = _getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(_setup.slice.call(array, i, length), _isNaN); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; - } - - return createIndexFinder; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_createPredicateIndexFinder.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_createPredicateIndexFinder.js deleted file mode 100644 index 27635f2ed..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_createPredicateIndexFinder.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['./_cb', './_getLength'], function (_cb, _getLength) { - - // Internal function to generate `_.findIndex` and `_.findLastIndex`. - function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = _cb(predicate, context); - var length = _getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; - } - - return createPredicateIndexFinder; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_createReduce.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_createReduce.js deleted file mode 100644 index 303a6d85b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_createReduce.js +++ /dev/null @@ -1,30 +0,0 @@ -define(['./_isArrayLike', './keys', './_optimizeCb'], function (_isArrayLike, keys, _optimizeCb) { - - // Internal helper to create a reducing function, iterating left or right. - function createReduce(dir) { - // Wrap code that reassigns argument variables in a separate function than - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !_isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, _optimizeCb(iteratee, context, 4), memo, initial); - }; - } - - return createReduce; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_createSizePropertyCheck.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_createSizePropertyCheck.js deleted file mode 100644 index 83ce2c431..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_createSizePropertyCheck.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./_setup'], function (_setup) { - - // Common internal logic for `isArrayLike` and `isBufferLike`. - function createSizePropertyCheck(getSizeProperty) { - return function(collection) { - var sizeProperty = getSizeProperty(collection); - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= _setup.MAX_ARRAY_INDEX; - } - } - - return createSizePropertyCheck; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_deepGet.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_deepGet.js deleted file mode 100644 index e07510859..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_deepGet.js +++ /dev/null @@ -1,15 +0,0 @@ -define(function () { - - // Internal function to obtain a nested property in `obj` along `path`. - function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; - } - - return deepGet; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_escapeMap.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_escapeMap.js deleted file mode 100644 index 584873e8c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_escapeMap.js +++ /dev/null @@ -1,15 +0,0 @@ -define(function () { - - // Internal list of HTML entities for escaping. - var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' - }; - - return escapeMap; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_executeBound.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_executeBound.js deleted file mode 100644 index b3ac1cb98..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_executeBound.js +++ /dev/null @@ -1,16 +0,0 @@ -define(['./_baseCreate', './isObject'], function (_baseCreate, isObject) { - - // Internal function to execute `sourceFunc` bound to `context` with optional - // `args`. Determines whether to execute a function as a constructor or as a - // normal function. - function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = _baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (isObject(result)) return result; - return self; - } - - return executeBound; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_flatten.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_flatten.js deleted file mode 100644 index 26ca34d7e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_flatten.js +++ /dev/null @@ -1,32 +0,0 @@ -define(['./_getLength', './_isArrayLike', './isArray', './isArguments'], function (_getLength, _isArrayLike, isArray, isArguments) { - - // Internal implementation of a recursive `flatten` function. - function flatten(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = _getLength(input); i < length; i++) { - var value = input[i]; - if (_isArrayLike(value) && (isArray(value) || isArguments(value))) { - // Flatten current level of array or arguments object. - if (depth > 1) { - flatten(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; - } - - return flatten; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_getByteLength.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_getByteLength.js deleted file mode 100644 index c6d9974a9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_getByteLength.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_shallowProperty'], function (_shallowProperty) { - - // Internal helper to obtain the `byteLength` property of an object. - var getByteLength = _shallowProperty('byteLength'); - - return getByteLength; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_getLength.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_getLength.js deleted file mode 100644 index f889b9853..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_getLength.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_shallowProperty'], function (_shallowProperty) { - - // Internal helper to obtain the `length` property of an object. - var getLength = _shallowProperty('length'); - - return getLength; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_group.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_group.js deleted file mode 100644 index d9805520e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_group.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['./_cb', './each'], function (_cb, each) { - - // An internal function used for aggregate "group by" operations. - function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = _cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; - } - - return group; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_has.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_has.js deleted file mode 100644 index 983f06024..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_has.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./_setup'], function (_setup) { - - // Internal function to check whether `key` is an own property name of `obj`. - function has(obj, key) { - return obj != null && _setup.hasOwnProperty.call(obj, key); - } - - return has; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_hasObjectTag.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_hasObjectTag.js deleted file mode 100644 index bb9bee632..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_hasObjectTag.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var hasObjectTag = _tagTester('Object'); - - return hasObjectTag; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_isArrayLike.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_isArrayLike.js deleted file mode 100644 index 2137c4b4e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_isArrayLike.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./_createSizePropertyCheck', './_getLength'], function (_createSizePropertyCheck, _getLength) { - - // Internal helper for collection methods to determine whether a collection - // should be iterated as an array or as an object. - // Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 - var isArrayLike = _createSizePropertyCheck(_getLength); - - return isArrayLike; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_isBufferLike.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_isBufferLike.js deleted file mode 100644 index 813641d88..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_isBufferLike.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./_createSizePropertyCheck', './_getByteLength'], function (_createSizePropertyCheck, _getByteLength) { - - // Internal helper to determine whether we should spend extensive checks against - // `ArrayBuffer` et al. - var isBufferLike = _createSizePropertyCheck(_getByteLength); - - return isBufferLike; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_keyInObj.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_keyInObj.js deleted file mode 100644 index ba269d983..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_keyInObj.js +++ /dev/null @@ -1,11 +0,0 @@ -define(function () { - - // Internal `_.pick` helper function to determine whether `key` is an enumerable - // property name of `obj`. - function keyInObj(value, key, obj) { - return key in obj; - } - - return keyInObj; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_methodFingerprint.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_methodFingerprint.js deleted file mode 100644 index c651f61f5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_methodFingerprint.js +++ /dev/null @@ -1,44 +0,0 @@ -define(['exports', './_getLength', './isFunction', './allKeys'], function (exports, _getLength, isFunction, allKeys) { - - // Since the regular `Object.prototype.toString` type tests don't work for - // some types in IE 11, we use a fingerprinting heuristic instead, based - // on the methods. It's not great, but it's the best we got. - // The fingerprint method lists are defined below. - function ie11fingerprint(methods) { - var length = _getLength(methods); - return function(obj) { - if (obj == null) return false; - // `Map`, `WeakMap` and `Set` have no enumerable keys. - var keys = allKeys(obj); - if (_getLength(keys)) return false; - for (var i = 0; i < length; i++) { - if (!isFunction(obj[methods[i]])) return false; - } - // If we are testing against `WeakMap`, we need to ensure that - // `obj` doesn't have a `forEach` method in order to distinguish - // it from a regular `Map`. - return methods !== weakMapMethods || !isFunction(obj[forEachName]); - }; - } - - // In the interest of compact minification, we write - // each string in the fingerprints only once. - var forEachName = 'forEach', - hasName = 'has', - commonInit = ['clear', 'delete'], - mapTail = ['get', hasName, 'set']; - - // `Map`, `WeakMap` and `Set` each have slightly different - // combinations of the above sublists. - var mapMethods = commonInit.concat(forEachName, mapTail), - weakMapMethods = commonInit.concat(mapTail), - setMethods = ['add'].concat(commonInit, forEachName, hasName); - - exports.ie11fingerprint = ie11fingerprint; - exports.mapMethods = mapMethods; - exports.setMethods = setMethods; - exports.weakMapMethods = weakMapMethods; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_optimizeCb.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_optimizeCb.js deleted file mode 100644 index 0ed8c6812..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_optimizeCb.js +++ /dev/null @@ -1,27 +0,0 @@ -define(function () { - - // Internal function that returns an efficient (for current engines) version - // of the passed-in callback, to be repeatedly applied in other Underscore - // functions. - function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - // The 2-argument case is omitted because we’re not using it. - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; - } - - return optimizeCb; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_setup.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_setup.js deleted file mode 100644 index d8c371c2f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_setup.js +++ /dev/null @@ -1,70 +0,0 @@ -define(['exports'], function (exports) { - - // Current version. - var VERSION = '1.13.1'; - - // Establish the root object, `window` (`self`) in the browser, `global` - // on the server, or `this` in some virtual machines. We use `self` - // instead of `window` for `WebWorker` support. - var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || - Function('return this')() || - {}; - - // Save bytes in the minified (but not gzipped) version: - var ArrayProto = Array.prototype, ObjProto = Object.prototype; - var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - - // Create quick reference variables for speed access to core prototypes. - var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - - // Modern feature detection. - var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', - supportsDataView = typeof DataView !== 'undefined'; - - // All **ECMAScript 5+** native function implementations that we hope to use - // are declared here. - var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create, - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; - - // Create references to these builtin functions because we override them. - var _isNaN = isNaN, - _isFinite = isFinite; - - // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. - var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); - var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - - // The largest integer that can be represented exactly. - var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - - exports.ArrayProto = ArrayProto; - exports.MAX_ARRAY_INDEX = MAX_ARRAY_INDEX; - exports.ObjProto = ObjProto; - exports.SymbolProto = SymbolProto; - exports.VERSION = VERSION; - exports._isFinite = _isFinite; - exports._isNaN = _isNaN; - exports.hasEnumBug = hasEnumBug; - exports.hasOwnProperty = hasOwnProperty; - exports.nativeCreate = nativeCreate; - exports.nativeIsArray = nativeIsArray; - exports.nativeIsView = nativeIsView; - exports.nativeKeys = nativeKeys; - exports.nonEnumerableProps = nonEnumerableProps; - exports.push = push; - exports.root = root; - exports.slice = slice; - exports.supportsArrayBuffer = supportsArrayBuffer; - exports.supportsDataView = supportsDataView; - exports.toString = toString; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_shallowProperty.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_shallowProperty.js deleted file mode 100644 index e0ca22693..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_shallowProperty.js +++ /dev/null @@ -1,12 +0,0 @@ -define(function () { - - // Internal helper to generate a function to obtain property `key` from `obj`. - function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; - } - - return shallowProperty; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_stringTagBug.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_stringTagBug.js deleted file mode 100644 index c4ec5b1e6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_stringTagBug.js +++ /dev/null @@ -1,16 +0,0 @@ -define(['exports', './_setup', './_hasObjectTag'], function (exports, _setup, _hasObjectTag) { - - // In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. - // In IE 11, the most common among them, this problem also applies to - // `Map`, `WeakMap` and `Set`. - var hasStringTagBug = ( - _setup.supportsDataView && _hasObjectTag(new DataView(new ArrayBuffer(8))) - ), - isIE11 = (typeof Map !== 'undefined' && _hasObjectTag(new Map)); - - exports.hasStringTagBug = hasStringTagBug; - exports.isIE11 = isIE11; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_tagTester.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_tagTester.js deleted file mode 100644 index 6b1f09ebf..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_tagTester.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./_setup'], function (_setup) { - - // Internal function for creating a `toString`-based type tester. - function tagTester(name) { - var tag = '[object ' + name + ']'; - return function(obj) { - return _setup.toString.call(obj) === tag; - }; - } - - return tagTester; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_toBufferView.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_toBufferView.js deleted file mode 100644 index e9464a322..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_toBufferView.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['./_getByteLength'], function (_getByteLength) { - - // Internal function to wrap or shallow-copy an ArrayBuffer, - // typed array or DataView to a new view, reusing the buffer. - function toBufferView(bufferSource) { - return new Uint8Array( - bufferSource.buffer || bufferSource, - bufferSource.byteOffset || 0, - _getByteLength(bufferSource) - ); - } - - return toBufferView; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_toPath.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_toPath.js deleted file mode 100644 index e692cfd9e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_toPath.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./underscore', './toPath'], function (underscore, toPath$1) { - - // Internal wrapper for `_.toPath` to enable minification. - // Similar to `cb` for `_.iteratee`. - function toPath(path) { - return underscore.toPath(path); - } - - return toPath; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/_unescapeMap.js b/node_modules/typed-rest-client/node_modules/underscore/amd/_unescapeMap.js deleted file mode 100644 index 28cf0709e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/_unescapeMap.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./invert', './_escapeMap'], function (invert, _escapeMap) { - - // Internal list of HTML entities for unescaping. - var unescapeMap = invert(_escapeMap); - - return unescapeMap; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/after.js b/node_modules/typed-rest-client/node_modules/underscore/amd/after.js deleted file mode 100644 index 69b73c69c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/after.js +++ /dev/null @@ -1,14 +0,0 @@ -define(function () { - - // Returns a function that will only be executed on and after the Nth call. - function after(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; - } - - return after; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/allKeys.js b/node_modules/typed-rest-client/node_modules/underscore/amd/allKeys.js deleted file mode 100644 index 1be84f1cd..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/allKeys.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['./isObject', './_setup', './_collectNonEnumProps'], function (isObject, _setup, _collectNonEnumProps) { - - // Retrieve all the enumerable property names of an object. - function allKeys(obj) { - if (!isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - // Ahem, IE < 9. - if (_setup.hasEnumBug) _collectNonEnumProps(obj, keys); - return keys; - } - - return allKeys; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/before.js b/node_modules/typed-rest-client/node_modules/underscore/amd/before.js deleted file mode 100644 index bd856c696..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/before.js +++ /dev/null @@ -1,18 +0,0 @@ -define(function () { - - // Returns a function that will only be executed up to (but not including) the - // Nth call. - function before(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; - } - - return before; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/bind.js b/node_modules/typed-rest-client/node_modules/underscore/amd/bind.js deleted file mode 100644 index d41ec5629..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/bind.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['./restArguments', './isFunction', './_executeBound'], function (restArguments, isFunction, _executeBound) { - - // Create a function bound to a given object (assigning `this`, and arguments, - // optionally). - var bind = restArguments(function(func, context, args) { - if (!isFunction(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return _executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; - }); - - return bind; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/bindAll.js b/node_modules/typed-rest-client/node_modules/underscore/amd/bindAll.js deleted file mode 100644 index 26dcef1e0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/bindAll.js +++ /dev/null @@ -1,19 +0,0 @@ -define(['./restArguments', './_flatten', './bind'], function (restArguments, _flatten, bind) { - - // Bind a number of an object's methods to that object. Remaining arguments - // are the method names to be bound. Useful for ensuring that all callbacks - // defined on an object belong to it. - var bindAll = restArguments(function(obj, keys) { - keys = _flatten(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = bind(obj[key], obj); - } - return obj; - }); - - return bindAll; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/chain.js b/node_modules/typed-rest-client/node_modules/underscore/amd/chain.js deleted file mode 100644 index ba42101dd..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/chain.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./underscore'], function (underscore) { - - // Start chaining a wrapped Underscore object. - function chain(obj) { - var instance = underscore(obj); - instance._chain = true; - return instance; - } - - return chain; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/chunk.js b/node_modules/typed-rest-client/node_modules/underscore/amd/chunk.js deleted file mode 100644 index ed4e0865f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/chunk.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./_setup'], function (_setup) { - - // Chunk a single array into multiple arrays, each containing `count` or fewer - // items. - function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(_setup.slice.call(array, i, i += count)); - } - return result; - } - - return chunk; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/clone.js b/node_modules/typed-rest-client/node_modules/underscore/amd/clone.js deleted file mode 100644 index 1a1963007..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/clone.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./isObject', './isArray', './extend'], function (isObject, isArray, extend) { - - // Create a (shallow-cloned) duplicate of an object. - function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); - } - - return clone; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/compact.js b/node_modules/typed-rest-client/node_modules/underscore/amd/compact.js deleted file mode 100644 index 202433b4c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/compact.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./filter'], function (filter) { - - // Trim out all falsy values from an array. - function compact(array) { - return filter(array, Boolean); - } - - return compact; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/compose.js b/node_modules/typed-rest-client/node_modules/underscore/amd/compose.js deleted file mode 100644 index 93d8c36e3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/compose.js +++ /dev/null @@ -1,18 +0,0 @@ -define(function () { - - // Returns a function that is the composition of a list of functions, each - // consuming the return value of the function that follows. - function compose() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; - } - - return compose; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/constant.js b/node_modules/typed-rest-client/node_modules/underscore/amd/constant.js deleted file mode 100644 index 6d3ac2cff..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/constant.js +++ /dev/null @@ -1,12 +0,0 @@ -define(function () { - - // Predicate-generating function. Often useful outside of Underscore. - function constant(value) { - return function() { - return value; - }; - } - - return constant; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/contains.js b/node_modules/typed-rest-client/node_modules/underscore/amd/contains.js deleted file mode 100644 index 578b05015..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/contains.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./_isArrayLike', './values', './indexOf'], function (_isArrayLike, values, indexOf) { - - // Determine if the array or object contains a given item (using `===`). - function contains(obj, item, fromIndex, guard) { - if (!_isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; - } - - return contains; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/countBy.js b/node_modules/typed-rest-client/node_modules/underscore/amd/countBy.js deleted file mode 100644 index 0ab642275..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/countBy.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./_group', './_has'], function (_group, _has) { - - // Counts instances of an object that group by a certain criterion. Pass - // either a string attribute to count by, or a function that returns the - // criterion. - var countBy = _group(function(result, value, key) { - if (_has(result, key)) result[key]++; else result[key] = 1; - }); - - return countBy; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/create.js b/node_modules/typed-rest-client/node_modules/underscore/amd/create.js deleted file mode 100644 index d5e281360..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/create.js +++ /dev/null @@ -1,14 +0,0 @@ -define(['./_baseCreate', './extendOwn'], function (_baseCreate, extendOwn) { - - // Creates an object that inherits from the given prototype object. - // If additional properties are provided then they will be added to the - // created object. - function create(prototype, props) { - var result = _baseCreate(prototype); - if (props) extendOwn(result, props); - return result; - } - - return create; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/debounce.js b/node_modules/typed-rest-client/node_modules/underscore/amd/debounce.js deleted file mode 100644 index 1d88168fa..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/debounce.js +++ /dev/null @@ -1,43 +0,0 @@ -define(['./restArguments', './now'], function (restArguments, now) { - - // When a sequence of calls of the returned function ends, the argument - // function is triggered. The end of a sequence is defined by the `wait` - // parameter. If `immediate` is passed, the argument function will be - // triggered at the beginning of the sequence instead of at the end. - function debounce(func, wait, immediate) { - var timeout, previous, args, result, context; - - var later = function() { - var passed = now() - previous; - if (wait > passed) { - timeout = setTimeout(later, wait - passed); - } else { - timeout = null; - if (!immediate) result = func.apply(context, args); - // This check is needed because `func` can recursively invoke `debounced`. - if (!timeout) args = context = null; - } - }; - - var debounced = restArguments(function(_args) { - context = this; - args = _args; - previous = now(); - if (!timeout) { - timeout = setTimeout(later, wait); - if (immediate) result = func.apply(context, args); - } - return result; - }); - - debounced.cancel = function() { - clearTimeout(timeout); - timeout = args = context = null; - }; - - return debounced; - } - - return debounce; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/defaults.js b/node_modules/typed-rest-client/node_modules/underscore/amd/defaults.js deleted file mode 100644 index 6903faac2..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/defaults.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_createAssigner', './allKeys'], function (_createAssigner, allKeys) { - - // Fill in a given object with default properties. - var defaults = _createAssigner(allKeys, true); - - return defaults; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/defer.js b/node_modules/typed-rest-client/node_modules/underscore/amd/defer.js deleted file mode 100644 index ce338a7b3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/defer.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./partial', './delay', './underscore'], function (partial, delay, underscore) { - - // Defers a function, scheduling it to run after the current call stack has - // cleared. - var defer = partial(delay, underscore, 1); - - return defer; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/delay.js b/node_modules/typed-rest-client/node_modules/underscore/amd/delay.js deleted file mode 100644 index 715d24d72..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/delay.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./restArguments'], function (restArguments) { - - // Delays a function for the given number of milliseconds, and then calls - // it with the arguments supplied. - var delay = restArguments(function(func, wait, args) { - return setTimeout(function() { - return func.apply(null, args); - }, wait); - }); - - return delay; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/difference.js b/node_modules/typed-rest-client/node_modules/underscore/amd/difference.js deleted file mode 100644 index 11f190276..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/difference.js +++ /dev/null @@ -1,14 +0,0 @@ -define(['./restArguments', './_flatten', './filter', './contains'], function (restArguments, _flatten, filter, contains) { - - // Take the difference between one array and a number of other arrays. - // Only the elements present in just the first array will remain. - var difference = restArguments(function(array, rest) { - rest = _flatten(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); - }); - - return difference; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/each.js b/node_modules/typed-rest-client/node_modules/underscore/amd/each.js deleted file mode 100644 index f5c47ab8d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/each.js +++ /dev/null @@ -1,25 +0,0 @@ -define(['./_optimizeCb', './_isArrayLike', './keys'], function (_optimizeCb, _isArrayLike, keys) { - - // The cornerstone for collection functions, an `each` - // implementation, aka `forEach`. - // Handles raw objects in addition to array-likes. Treats all - // sparse array-likes as if they were dense. - function each(obj, iteratee, context) { - iteratee = _optimizeCb(iteratee, context); - var i, length; - if (_isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; - } - - return each; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/escape.js b/node_modules/typed-rest-client/node_modules/underscore/amd/escape.js deleted file mode 100644 index 6714d1226..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/escape.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_createEscaper', './_escapeMap'], function (_createEscaper, _escapeMap) { - - // Function for escaping strings to HTML interpolation. - var _escape = _createEscaper(_escapeMap); - - return _escape; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/every.js b/node_modules/typed-rest-client/node_modules/underscore/amd/every.js deleted file mode 100644 index 1180c445e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/every.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./_cb', './_isArrayLike', './keys'], function (_cb, _isArrayLike, keys) { - - // Determine whether all of the elements pass a truth test. - function every(obj, predicate, context) { - predicate = _cb(predicate, context); - var _keys = !_isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; - } - - return every; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/extend.js b/node_modules/typed-rest-client/node_modules/underscore/amd/extend.js deleted file mode 100644 index 35d87616d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/extend.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_createAssigner', './allKeys'], function (_createAssigner, allKeys) { - - // Extend a given object with all the properties in passed-in object(s). - var extend = _createAssigner(allKeys); - - return extend; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/extendOwn.js b/node_modules/typed-rest-client/node_modules/underscore/amd/extendOwn.js deleted file mode 100644 index 2e1e4b5db..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/extendOwn.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./_createAssigner', './keys'], function (_createAssigner, keys) { - - // Assigns a given object with all the own properties in the passed-in - // object(s). - // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) - var extendOwn = _createAssigner(keys); - - return extendOwn; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/filter.js b/node_modules/typed-rest-client/node_modules/underscore/amd/filter.js deleted file mode 100644 index a76756874..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/filter.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['./_cb', './each'], function (_cb, each) { - - // Return all the elements that pass a truth test. - function filter(obj, predicate, context) { - var results = []; - predicate = _cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; - } - - return filter; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/find.js b/node_modules/typed-rest-client/node_modules/underscore/amd/find.js deleted file mode 100644 index 586518d0d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/find.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./_isArrayLike', './findIndex', './findKey'], function (_isArrayLike, findIndex, findKey) { - - // Return the first value which passes a truth test. - function find(obj, predicate, context) { - var keyFinder = _isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; - } - - return find; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/findIndex.js b/node_modules/typed-rest-client/node_modules/underscore/amd/findIndex.js deleted file mode 100644 index 90d4cf3f1..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/findIndex.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_createPredicateIndexFinder'], function (_createPredicateIndexFinder) { - - // Returns the first index on an array-like that passes a truth test. - var findIndex = _createPredicateIndexFinder(1); - - return findIndex; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/findKey.js b/node_modules/typed-rest-client/node_modules/underscore/amd/findKey.js deleted file mode 100644 index 80a5beb8b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/findKey.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['./_cb', './keys'], function (_cb, keys) { - - // Returns the first key on an object that passes a truth test. - function findKey(obj, predicate, context) { - predicate = _cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } - } - - return findKey; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/findLastIndex.js b/node_modules/typed-rest-client/node_modules/underscore/amd/findLastIndex.js deleted file mode 100644 index f3e78a06b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/findLastIndex.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_createPredicateIndexFinder'], function (_createPredicateIndexFinder) { - - // Returns the last index on an array-like that passes a truth test. - var findLastIndex = _createPredicateIndexFinder(-1); - - return findLastIndex; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/findWhere.js b/node_modules/typed-rest-client/node_modules/underscore/amd/findWhere.js deleted file mode 100644 index 40695859a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/findWhere.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./find', './matcher'], function (find, matcher) { - - // Convenience version of a common use case of `_.find`: getting the first - // object containing specific `key:value` pairs. - function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); - } - - return findWhere; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/first.js b/node_modules/typed-rest-client/node_modules/underscore/amd/first.js deleted file mode 100644 index 96c5a56ab..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/first.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./initial'], function (initial) { - - // Get the first element of an array. Passing **n** will return the first N - // values in the array. The **guard** check allows it to work with `_.map`. - function first(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); - } - - return first; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/flatten.js b/node_modules/typed-rest-client/node_modules/underscore/amd/flatten.js deleted file mode 100644 index 7d2891aa4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/flatten.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./_flatten'], function (_flatten) { - - // Flatten out an array, either recursively (by default), or up to `depth`. - // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. - function flatten(array, depth) { - return _flatten(array, depth, false); - } - - return flatten; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/functions.js b/node_modules/typed-rest-client/node_modules/underscore/amd/functions.js deleted file mode 100644 index b929883bd..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/functions.js +++ /dev/null @@ -1,14 +0,0 @@ -define(['./isFunction'], function (isFunction) { - - // Return a sorted list of the function names available on the object. - function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction(obj[key])) names.push(key); - } - return names.sort(); - } - - return functions; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/get.js b/node_modules/typed-rest-client/node_modules/underscore/amd/get.js deleted file mode 100644 index 1404ea029..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/get.js +++ /dev/null @@ -1,14 +0,0 @@ -define(['./_toPath', './_deepGet', './isUndefined'], function (_toPath, _deepGet, isUndefined) { - - // Get the value of the (deep) property on `path` from `object`. - // If any property in `path` does not exist or if the value is - // `undefined`, return `defaultValue` instead. - // The `path` is normalized through `_.toPath`. - function get(object, path, defaultValue) { - var value = _deepGet(object, _toPath(path)); - return isUndefined(value) ? defaultValue : value; - } - - return get; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/groupBy.js b/node_modules/typed-rest-client/node_modules/underscore/amd/groupBy.js deleted file mode 100644 index 4374d768f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/groupBy.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./_group', './_has'], function (_group, _has) { - - // Groups the object's values by a criterion. Pass either a string attribute - // to group by, or a function that returns the criterion. - var groupBy = _group(function(result, value, key) { - if (_has(result, key)) result[key].push(value); else result[key] = [value]; - }); - - return groupBy; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/has.js b/node_modules/typed-rest-client/node_modules/underscore/amd/has.js deleted file mode 100644 index a81ec08f5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/has.js +++ /dev/null @@ -1,19 +0,0 @@ -define(['./_has', './_toPath'], function (_has, _toPath) { - - // Shortcut function for checking if an object has a given property directly on - // itself (in other words, not on a prototype). Unlike the internal `has` - // function, this public version can also traverse nested properties. - function has(obj, path) { - path = _toPath(path); - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (!_has(obj, key)) return false; - obj = obj[key]; - } - return !!length; - } - - return has; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/identity.js b/node_modules/typed-rest-client/node_modules/underscore/amd/identity.js deleted file mode 100644 index fee045833..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/identity.js +++ /dev/null @@ -1,10 +0,0 @@ -define(function () { - - // Keep the identity function around for default iteratees. - function identity(value) { - return value; - } - - return identity; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/index-default.js b/node_modules/typed-rest-client/node_modules/underscore/amd/index-default.js deleted file mode 100644 index 0f5060526..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/index-default.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./index', './mixin'], function (index, mixin) { - - // Default Export - - // Add all of the Underscore functions to the wrapper object. - var _ = mixin(index); - // Legacy Node.js API. - _._ = _; - - return _; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/index.js b/node_modules/typed-rest-client/node_modules/underscore/amd/index.js deleted file mode 100644 index 14a7179e4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/index.js +++ /dev/null @@ -1,154 +0,0 @@ -define(['exports', './_setup', './restArguments', './isObject', './isNull', './isUndefined', './isBoolean', './isElement', './isString', './isNumber', './isDate', './isRegExp', './isError', './isSymbol', './isArrayBuffer', './isDataView', './isArray', './isFunction', './isArguments', './isFinite', './isNaN', './isTypedArray', './isEmpty', './isMatch', './isEqual', './isMap', './isWeakMap', './isSet', './isWeakSet', './keys', './allKeys', './values', './pairs', './invert', './functions', './extend', './extendOwn', './defaults', './create', './clone', './tap', './get', './has', './mapObject', './identity', './constant', './noop', './toPath', './property', './propertyOf', './matcher', './times', './random', './now', './escape', './unescape', './templateSettings', './template', './result', './uniqueId', './chain', './iteratee', './partial', './bind', './bindAll', './memoize', './delay', './defer', './throttle', './debounce', './wrap', './negate', './compose', './after', './before', './once', './findKey', './findIndex', './findLastIndex', './sortedIndex', './indexOf', './lastIndexOf', './find', './findWhere', './each', './map', './reduce', './reduceRight', './filter', './reject', './every', './some', './contains', './invoke', './pluck', './where', './max', './min', './shuffle', './sample', './sortBy', './groupBy', './indexBy', './countBy', './partition', './toArray', './size', './pick', './omit', './first', './initial', './last', './rest', './compact', './flatten', './without', './uniq', './union', './intersection', './difference', './unzip', './zip', './object', './range', './chunk', './mixin', './underscore-array-methods', './underscore'], function (exports, _setup, restArguments, isObject, isNull, isUndefined, isBoolean, isElement, isString, isNumber, isDate, isRegExp, isError, isSymbol, isArrayBuffer, isDataView, isArray, isFunction, isArguments, _isFinite, _isNaN, isTypedArray, isEmpty, isMatch, isEqual, isMap, isWeakMap, isSet, isWeakSet, keys, allKeys, values, pairs, invert, functions, extend, extendOwn, defaults, create, clone, tap, get, has, mapObject, identity, constant, noop, toPath, property, propertyOf, matcher, times, random, now, _escape, _unescape, templateSettings, template, result, uniqueId, chain, iteratee, partial, bind, bindAll, memoize, delay, defer, throttle, debounce, wrap, negate, compose, after, before, once, findKey, findIndex, findLastIndex, sortedIndex, indexOf, lastIndexOf, find, findWhere, each, map, reduce, reduceRight, filter, reject, every, some, contains, invoke, pluck, where, max, min, shuffle, sample, sortBy, groupBy, indexBy, countBy, partition, toArray, size, pick, omit, first, initial, last, rest, compact, flatten, without, uniq, union, intersection, difference, unzip, zip, object, range, chunk, mixin, underscoreArrayMethods, underscore) { - - // Named Exports - - exports.VERSION = _setup.VERSION; - exports.restArguments = restArguments; - exports.isObject = isObject; - exports.isNull = isNull; - exports.isUndefined = isUndefined; - exports.isBoolean = isBoolean; - exports.isElement = isElement; - exports.isString = isString; - exports.isNumber = isNumber; - exports.isDate = isDate; - exports.isRegExp = isRegExp; - exports.isError = isError; - exports.isSymbol = isSymbol; - exports.isArrayBuffer = isArrayBuffer; - exports.isDataView = isDataView; - exports.isArray = isArray; - exports.isFunction = isFunction; - exports.isArguments = isArguments; - exports.isFinite = _isFinite; - exports.isNaN = _isNaN; - exports.isTypedArray = isTypedArray; - exports.isEmpty = isEmpty; - exports.isMatch = isMatch; - exports.isEqual = isEqual; - exports.isMap = isMap; - exports.isWeakMap = isWeakMap; - exports.isSet = isSet; - exports.isWeakSet = isWeakSet; - exports.keys = keys; - exports.allKeys = allKeys; - exports.values = values; - exports.pairs = pairs; - exports.invert = invert; - exports.functions = functions; - exports.methods = functions; - exports.extend = extend; - exports.assign = extendOwn; - exports.extendOwn = extendOwn; - exports.defaults = defaults; - exports.create = create; - exports.clone = clone; - exports.tap = tap; - exports.get = get; - exports.has = has; - exports.mapObject = mapObject; - exports.identity = identity; - exports.constant = constant; - exports.noop = noop; - exports.toPath = toPath; - exports.property = property; - exports.propertyOf = propertyOf; - exports.matcher = matcher; - exports.matches = matcher; - exports.times = times; - exports.random = random; - exports.now = now; - exports.escape = _escape; - exports.unescape = _unescape; - exports.templateSettings = templateSettings; - exports.template = template; - exports.result = result; - exports.uniqueId = uniqueId; - exports.chain = chain; - exports.iteratee = iteratee; - exports.partial = partial; - exports.bind = bind; - exports.bindAll = bindAll; - exports.memoize = memoize; - exports.delay = delay; - exports.defer = defer; - exports.throttle = throttle; - exports.debounce = debounce; - exports.wrap = wrap; - exports.negate = negate; - exports.compose = compose; - exports.after = after; - exports.before = before; - exports.once = once; - exports.findKey = findKey; - exports.findIndex = findIndex; - exports.findLastIndex = findLastIndex; - exports.sortedIndex = sortedIndex; - exports.indexOf = indexOf; - exports.lastIndexOf = lastIndexOf; - exports.detect = find; - exports.find = find; - exports.findWhere = findWhere; - exports.each = each; - exports.forEach = each; - exports.collect = map; - exports.map = map; - exports.foldl = reduce; - exports.inject = reduce; - exports.reduce = reduce; - exports.foldr = reduceRight; - exports.reduceRight = reduceRight; - exports.filter = filter; - exports.select = filter; - exports.reject = reject; - exports.all = every; - exports.every = every; - exports.any = some; - exports.some = some; - exports.contains = contains; - exports.include = contains; - exports.includes = contains; - exports.invoke = invoke; - exports.pluck = pluck; - exports.where = where; - exports.max = max; - exports.min = min; - exports.shuffle = shuffle; - exports.sample = sample; - exports.sortBy = sortBy; - exports.groupBy = groupBy; - exports.indexBy = indexBy; - exports.countBy = countBy; - exports.partition = partition; - exports.toArray = toArray; - exports.size = size; - exports.pick = pick; - exports.omit = omit; - exports.first = first; - exports.head = first; - exports.take = first; - exports.initial = initial; - exports.last = last; - exports.drop = rest; - exports.rest = rest; - exports.tail = rest; - exports.compact = compact; - exports.flatten = flatten; - exports.without = without; - exports.uniq = uniq; - exports.unique = uniq; - exports.union = union; - exports.intersection = intersection; - exports.difference = difference; - exports.transpose = unzip; - exports.unzip = unzip; - exports.zip = zip; - exports.object = object; - exports.range = range; - exports.chunk = chunk; - exports.mixin = mixin; - exports.default = underscore; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/indexBy.js b/node_modules/typed-rest-client/node_modules/underscore/amd/indexBy.js deleted file mode 100644 index dacc792ab..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/indexBy.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./_group'], function (_group) { - - // Indexes the object's values by a criterion, similar to `_.groupBy`, but for - // when you know that your index values will be unique. - var indexBy = _group(function(result, value, key) { - result[key] = value; - }); - - return indexBy; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/indexOf.js b/node_modules/typed-rest-client/node_modules/underscore/amd/indexOf.js deleted file mode 100644 index 108f201fe..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/indexOf.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./sortedIndex', './findIndex', './_createIndexFinder'], function (sortedIndex, findIndex, _createIndexFinder) { - - // Return the position of the first occurrence of an item in an array, - // or -1 if the item is not included in the array. - // If the array is large and already in sort order, pass `true` - // for **isSorted** to use binary search. - var indexOf = _createIndexFinder(1, findIndex, sortedIndex); - - return indexOf; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/initial.js b/node_modules/typed-rest-client/node_modules/underscore/amd/initial.js deleted file mode 100644 index ca73c1a41..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/initial.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./_setup'], function (_setup) { - - // Returns everything but the last entry of the array. Especially useful on - // the arguments object. Passing **n** will return all the values in - // the array, excluding the last N. - function initial(array, n, guard) { - return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); - } - - return initial; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/intersection.js b/node_modules/typed-rest-client/node_modules/underscore/amd/intersection.js deleted file mode 100644 index 8592d750e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/intersection.js +++ /dev/null @@ -1,22 +0,0 @@ -define(['./_getLength', './contains'], function (_getLength, contains) { - - // Produce an array that contains every item shared between all the - // passed-in arrays. - function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = _getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; - } - - return intersection; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/invert.js b/node_modules/typed-rest-client/node_modules/underscore/amd/invert.js deleted file mode 100644 index 446b8cb70..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/invert.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['./keys'], function (keys) { - - // Invert the keys and values of an object. The values must be serializable. - function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; - } - return result; - } - - return invert; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/invoke.js b/node_modules/typed-rest-client/node_modules/underscore/amd/invoke.js deleted file mode 100644 index 72684f46b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/invoke.js +++ /dev/null @@ -1,28 +0,0 @@ -define(['./restArguments', './isFunction', './map', './_deepGet', './_toPath'], function (restArguments, isFunction, map, _deepGet, _toPath) { - - // Invoke a method (with arguments) on every item in a collection. - var invoke = restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction(path)) { - func = path; - } else { - path = _toPath(path); - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = _deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); - }); - - return invoke; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isArguments.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isArguments.js deleted file mode 100644 index c4448f4d0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isArguments.js +++ /dev/null @@ -1,19 +0,0 @@ -define(['./_tagTester', './_has'], function (_tagTester, _has) { - - var isArguments = _tagTester('Arguments'); - - // Define a fallback version of the method in browsers (ahem, IE < 9), where - // there isn't any inspectable "Arguments" type. - (function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return _has(obj, 'callee'); - }; - } - }()); - - var isArguments$1 = isArguments; - - return isArguments$1; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isArray.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isArray.js deleted file mode 100644 index ef3058501..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isArray.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./_setup', './_tagTester'], function (_setup, _tagTester) { - - // Is a given value an array? - // Delegates to ECMA5's native `Array.isArray`. - var isArray = _setup.nativeIsArray || _tagTester('Array'); - - return isArray; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isArrayBuffer.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isArrayBuffer.js deleted file mode 100644 index e739aa89f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isArrayBuffer.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var isArrayBuffer = _tagTester('ArrayBuffer'); - - return isArrayBuffer; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isBoolean.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isBoolean.js deleted file mode 100644 index e3f1d8b18..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isBoolean.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./_setup'], function (_setup) { - - // Is a given value a boolean? - function isBoolean(obj) { - return obj === true || obj === false || _setup.toString.call(obj) === '[object Boolean]'; - } - - return isBoolean; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isDataView.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isDataView.js deleted file mode 100644 index 3668b0aa2..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isDataView.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['./_tagTester', './isFunction', './isArrayBuffer', './_stringTagBug'], function (_tagTester, isFunction, isArrayBuffer, _stringTagBug) { - - var isDataView = _tagTester('DataView'); - - // In IE 10 - Edge 13, we need a different heuristic - // to determine whether an object is a `DataView`. - function ie10IsDataView(obj) { - return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer); - } - - var isDataView$1 = (_stringTagBug.hasStringTagBug ? ie10IsDataView : isDataView); - - return isDataView$1; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isDate.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isDate.js deleted file mode 100644 index 8a84bcde7..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isDate.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var isDate = _tagTester('Date'); - - return isDate; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isElement.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isElement.js deleted file mode 100644 index f1812e1e8..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isElement.js +++ /dev/null @@ -1,10 +0,0 @@ -define(function () { - - // Is a given value a DOM element? - function isElement(obj) { - return !!(obj && obj.nodeType === 1); - } - - return isElement; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isEmpty.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isEmpty.js deleted file mode 100644 index b01191610..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isEmpty.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['./_getLength', './isArray', './isString', './isArguments', './keys'], function (_getLength, isArray, isString, isArguments, keys) { - - // Is a given array, string, or object empty? - // An "empty" object has no enumerable own-properties. - function isEmpty(obj) { - if (obj == null) return true; - // Skip the more expensive `toString`-based type checks if `obj` has no - // `.length`. - var length = _getLength(obj); - if (typeof length == 'number' && ( - isArray(obj) || isString(obj) || isArguments(obj) - )) return length === 0; - return _getLength(keys(obj)) === 0; - } - - return isEmpty; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isEqual.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isEqual.js deleted file mode 100644 index 683c62ffb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isEqual.js +++ /dev/null @@ -1,133 +0,0 @@ -define(['./underscore', './_setup', './_getByteLength', './isTypedArray', './isFunction', './_stringTagBug', './isDataView', './keys', './_has', './_toBufferView'], function (underscore, _setup, _getByteLength, isTypedArray, isFunction, _stringTagBug, isDataView, keys, _has, _toBufferView) { - - // We use this string twice, so give it a name for minification. - var tagDataView = '[object DataView]'; - - // Internal recursive comparison function for `_.isEqual`. - function eq(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // `null` or `undefined` only equal to itself (strict comparison). - if (a == null || b == null) return false; - // `NaN`s are equivalent, but non-reflexive. - if (a !== a) return b !== b; - // Exhaust primitive checks - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); - } - - // Internal recursive comparison function for `_.isEqual`. - function deepEq(a, b, aStack, bStack) { - // Unwrap any wrapped objects. - if (a instanceof underscore) a = a._wrapped; - if (b instanceof underscore) b = b._wrapped; - // Compare `[[Class]]` names. - var className = _setup.toString.call(a); - if (className !== _setup.toString.call(b)) return false; - // Work around a bug in IE 10 - Edge 13. - if (_stringTagBug.hasStringTagBug && className == '[object Object]' && isDataView(a)) { - if (!isDataView(b)) return false; - className = tagDataView; - } - switch (className) { - // These types are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN. - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - case '[object Symbol]': - return _setup.SymbolProto.valueOf.call(a) === _setup.SymbolProto.valueOf.call(b); - case '[object ArrayBuffer]': - case tagDataView: - // Coerce to typed array so we can fall through. - return deepEq(_toBufferView(a), _toBufferView(b), aStack, bStack); - } - - var areArrays = className === '[object Array]'; - if (!areArrays && isTypedArray(a)) { - var byteLength = _getByteLength(a); - if (byteLength !== _getByteLength(b)) return false; - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; - areArrays = true; - } - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor && - isFunction(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var _keys = keys(a), key; - length = _keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = _keys[length]; - if (!(_has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; - } - - // Perform a deep comparison to check if two objects are equal. - function isEqual(a, b) { - return eq(a, b); - } - - return isEqual; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isError.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isError.js deleted file mode 100644 index dd349a82f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isError.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var isError = _tagTester('Error'); - - return isError; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isFinite.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isFinite.js deleted file mode 100644 index b2a8d182c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isFinite.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./_setup', './isSymbol'], function (_setup, isSymbol) { - - // Is a given object a finite number? - function isFinite(obj) { - return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj)); - } - - return isFinite; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isFunction.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isFunction.js deleted file mode 100644 index 4dabb909c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isFunction.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['./_tagTester', './_setup'], function (_tagTester, _setup) { - - var isFunction = _tagTester('Function'); - - // Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old - // v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). - var nodelist = _setup.root.document && _setup.root.document.childNodes; - if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; - } - - var isFunction$1 = isFunction; - - return isFunction$1; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isMap.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isMap.js deleted file mode 100644 index c3470b4eb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isMap.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester', './_stringTagBug', './_methodFingerprint'], function (_tagTester, _stringTagBug, _methodFingerprint) { - - var isMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.mapMethods) : _tagTester('Map'); - - return isMap; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isMatch.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isMatch.js deleted file mode 100644 index c3864783b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isMatch.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./keys'], function (keys) { - - // Returns whether an object has a given set of `key:value` pairs. - function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; - } - - return isMatch; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isNaN.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isNaN.js deleted file mode 100644 index 01bf22de7..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isNaN.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./_setup', './isNumber'], function (_setup, isNumber) { - - // Is the given value `NaN`? - function isNaN(obj) { - return isNumber(obj) && _setup._isNaN(obj); - } - - return isNaN; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isNull.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isNull.js deleted file mode 100644 index c8b7bc60a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isNull.js +++ /dev/null @@ -1,10 +0,0 @@ -define(function () { - - // Is a given value equal to null? - function isNull(obj) { - return obj === null; - } - - return isNull; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isNumber.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isNumber.js deleted file mode 100644 index a5d0152cf..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isNumber.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var isNumber = _tagTester('Number'); - - return isNumber; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isObject.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isObject.js deleted file mode 100644 index 0bed42c32..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isObject.js +++ /dev/null @@ -1,11 +0,0 @@ -define(function () { - - // Is a given variable an object? - function isObject(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; - } - - return isObject; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isRegExp.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isRegExp.js deleted file mode 100644 index b1d5adeb5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isRegExp.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var isRegExp = _tagTester('RegExp'); - - return isRegExp; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isSet.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isSet.js deleted file mode 100644 index c04a5d807..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isSet.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester', './_stringTagBug', './_methodFingerprint'], function (_tagTester, _stringTagBug, _methodFingerprint) { - - var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set'); - - return isSet; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isString.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isString.js deleted file mode 100644 index dd8d9e2fe..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isString.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var isString = _tagTester('String'); - - return isString; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isSymbol.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isSymbol.js deleted file mode 100644 index b2ebc6204..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isSymbol.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var isSymbol = _tagTester('Symbol'); - - return isSymbol; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isTypedArray.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isTypedArray.js deleted file mode 100644 index db728f6ef..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isTypedArray.js +++ /dev/null @@ -1,16 +0,0 @@ -define(['./_setup', './isDataView', './constant', './_isBufferLike'], function (_setup, isDataView, constant, _isBufferLike) { - - // Is a given value a typed array? - var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; - function isTypedArray(obj) { - // `ArrayBuffer.isView` is the most future-proof, so use it when available. - // Otherwise, fall back on the above regular expression. - return _setup.nativeIsView ? (_setup.nativeIsView(obj) && !isDataView(obj)) : - _isBufferLike(obj) && typedArrayPattern.test(_setup.toString.call(obj)); - } - - var isTypedArray$1 = _setup.supportsArrayBuffer ? isTypedArray : constant(false); - - return isTypedArray$1; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isUndefined.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isUndefined.js deleted file mode 100644 index 2372b0cf2..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isUndefined.js +++ /dev/null @@ -1,10 +0,0 @@ -define(function () { - - // Is a given variable undefined? - function isUndefined(obj) { - return obj === void 0; - } - - return isUndefined; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isWeakMap.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isWeakMap.js deleted file mode 100644 index cf66b26c6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isWeakMap.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester', './_stringTagBug', './_methodFingerprint'], function (_tagTester, _stringTagBug, _methodFingerprint) { - - var isWeakMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.weakMapMethods) : _tagTester('WeakMap'); - - return isWeakMap; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/isWeakSet.js b/node_modules/typed-rest-client/node_modules/underscore/amd/isWeakSet.js deleted file mode 100644 index a7258525d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/isWeakSet.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./_tagTester'], function (_tagTester) { - - var isWeakSet = _tagTester('WeakSet'); - - return isWeakSet; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/iteratee.js b/node_modules/typed-rest-client/node_modules/underscore/amd/iteratee.js deleted file mode 100644 index 52a1d6f7b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/iteratee.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./underscore', './_baseIteratee'], function (underscore, _baseIteratee) { - - // External wrapper for our callback generator. Users may customize - // `_.iteratee` if they want additional predicate/iteratee shorthand styles. - // This abstraction hides the internal-only `argCount` argument. - function iteratee(value, context) { - return _baseIteratee(value, context, Infinity); - } - underscore.iteratee = iteratee; - - return iteratee; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/keys.js b/node_modules/typed-rest-client/node_modules/underscore/amd/keys.js deleted file mode 100644 index 6db6bf4ce..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/keys.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./isObject', './_setup', './_has', './_collectNonEnumProps'], function (isObject, _setup, _has, _collectNonEnumProps) { - - // Retrieve the names of an object's own properties. - // Delegates to **ECMAScript 5**'s native `Object.keys`. - function keys(obj) { - if (!isObject(obj)) return []; - if (_setup.nativeKeys) return _setup.nativeKeys(obj); - var keys = []; - for (var key in obj) if (_has(obj, key)) keys.push(key); - // Ahem, IE < 9. - if (_setup.hasEnumBug) _collectNonEnumProps(obj, keys); - return keys; - } - - return keys; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/last.js b/node_modules/typed-rest-client/node_modules/underscore/amd/last.js deleted file mode 100644 index dfe3df2ee..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/last.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./rest'], function (rest) { - - // Get the last element of an array. Passing **n** will return the last N - // values in the array. - function last(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); - } - - return last; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/lastIndexOf.js b/node_modules/typed-rest-client/node_modules/underscore/amd/lastIndexOf.js deleted file mode 100644 index da1c8b5bd..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/lastIndexOf.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./findLastIndex', './_createIndexFinder'], function (findLastIndex, _createIndexFinder) { - - // Return the position of the last occurrence of an item in an array, - // or -1 if the item is not included in the array. - var lastIndexOf = _createIndexFinder(-1, findLastIndex); - - return lastIndexOf; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/map.js b/node_modules/typed-rest-client/node_modules/underscore/amd/map.js deleted file mode 100644 index 0a045c09c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/map.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['./_cb', './_isArrayLike', './keys'], function (_cb, _isArrayLike, keys) { - - // Return the results of applying the iteratee to each element. - function map(obj, iteratee, context) { - iteratee = _cb(iteratee, context); - var _keys = !_isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - } - - return map; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/mapObject.js b/node_modules/typed-rest-client/node_modules/underscore/amd/mapObject.js deleted file mode 100644 index abf15a996..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/mapObject.js +++ /dev/null @@ -1,19 +0,0 @@ -define(['./_cb', './keys'], function (_cb, keys) { - - // Returns the results of applying the `iteratee` to each element of `obj`. - // In contrast to `_.map` it returns an object. - function mapObject(obj, iteratee, context) { - iteratee = _cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - } - - return mapObject; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/matcher.js b/node_modules/typed-rest-client/node_modules/underscore/amd/matcher.js deleted file mode 100644 index e5c857898..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/matcher.js +++ /dev/null @@ -1,14 +0,0 @@ -define(['./extendOwn', './isMatch'], function (extendOwn, isMatch) { - - // Returns a predicate for checking whether an object has a given set of - // `key:value` pairs. - function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; - } - - return matcher; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/max.js b/node_modules/typed-rest-client/node_modules/underscore/amd/max.js deleted file mode 100644 index f46fc0b41..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/max.js +++ /dev/null @@ -1,30 +0,0 @@ -define(['./_isArrayLike', './values', './_cb', './each'], function (_isArrayLike, values, _cb, each) { - - // Return the maximum element (or element-based computation). - function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = _isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = _cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; - } - - return max; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/memoize.js b/node_modules/typed-rest-client/node_modules/underscore/amd/memoize.js deleted file mode 100644 index ae3d473a3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/memoize.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./_has'], function (_has) { - - // Memoize an expensive function by storing its results. - function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!_has(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; - } - - return memoize; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/min.js b/node_modules/typed-rest-client/node_modules/underscore/amd/min.js deleted file mode 100644 index c397c5bff..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/min.js +++ /dev/null @@ -1,30 +0,0 @@ -define(['./_isArrayLike', './values', './_cb', './each'], function (_isArrayLike, values, _cb, each) { - - // Return the minimum element (or element-based computation). - function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = _isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = _cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; - } - - return min; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/mixin.js b/node_modules/typed-rest-client/node_modules/underscore/amd/mixin.js deleted file mode 100644 index a64604a6a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/mixin.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['./underscore', './each', './functions', './_setup', './_chainResult'], function (underscore, each, functions, _setup, _chainResult) { - - // Add your own custom functions to the Underscore object. - function mixin(obj) { - each(functions(obj), function(name) { - var func = underscore[name] = obj[name]; - underscore.prototype[name] = function() { - var args = [this._wrapped]; - _setup.push.apply(args, arguments); - return _chainResult(this, func.apply(underscore, args)); - }; - }); - return underscore; - } - - return mixin; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/negate.js b/node_modules/typed-rest-client/node_modules/underscore/amd/negate.js deleted file mode 100644 index 420113d3c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/negate.js +++ /dev/null @@ -1,12 +0,0 @@ -define(function () { - - // Returns a negated version of the passed-in predicate. - function negate(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; - } - - return negate; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/noop.js b/node_modules/typed-rest-client/node_modules/underscore/amd/noop.js deleted file mode 100644 index df96fc529..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/noop.js +++ /dev/null @@ -1,8 +0,0 @@ -define(function () { - - // Predicate-generating function. Often useful outside of Underscore. - function noop(){} - - return noop; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/now.js b/node_modules/typed-rest-client/node_modules/underscore/amd/now.js deleted file mode 100644 index a59807a52..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/now.js +++ /dev/null @@ -1,10 +0,0 @@ -define(function () { - - // A (possibly faster) way to get the current timestamp as an integer. - var now = Date.now || function() { - return new Date().getTime(); - }; - - return now; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/object.js b/node_modules/typed-rest-client/node_modules/underscore/amd/object.js deleted file mode 100644 index 028625215..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/object.js +++ /dev/null @@ -1,20 +0,0 @@ -define(['./_getLength'], function (_getLength) { - - // Converts lists into objects. Pass either a single array of `[key, value]` - // pairs, or two parallel arrays of the same length -- one of keys, and one of - // the corresponding values. Passing by pairs is the reverse of `_.pairs`. - function object(list, values) { - var result = {}; - for (var i = 0, length = _getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; - } - - return object; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/omit.js b/node_modules/typed-rest-client/node_modules/underscore/amd/omit.js deleted file mode 100644 index 81d691cff..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/omit.js +++ /dev/null @@ -1,20 +0,0 @@ -define(['./restArguments', './isFunction', './negate', './map', './_flatten', './contains', './pick'], function (restArguments, isFunction, negate, map, _flatten, contains, pick) { - - // Return a copy of the object without the disallowed properties. - var omit = restArguments(function(obj, keys) { - var iteratee = keys[0], context; - if (isFunction(iteratee)) { - iteratee = negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = map(_flatten(keys, false, false), String); - iteratee = function(value, key) { - return !contains(keys, key); - }; - } - return pick(obj, iteratee, context); - }); - - return omit; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/once.js b/node_modules/typed-rest-client/node_modules/underscore/amd/once.js deleted file mode 100644 index 4fc1ddf2d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/once.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./partial', './before'], function (partial, before) { - - // Returns a function that will be executed at most one time, no matter how - // often you call it. Useful for lazy initialization. - var once = partial(before, 2); - - return once; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/pairs.js b/node_modules/typed-rest-client/node_modules/underscore/amd/pairs.js deleted file mode 100644 index 47576813a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/pairs.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./keys'], function (keys) { - - // Convert an object into a list of `[key, value]` pairs. - // The opposite of `_.object` with one argument. - function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; - } - return pairs; - } - - return pairs; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/partial.js b/node_modules/typed-rest-client/node_modules/underscore/amd/partial.js deleted file mode 100644 index 64f95dfaa..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/partial.js +++ /dev/null @@ -1,25 +0,0 @@ -define(['./restArguments', './_executeBound', './underscore'], function (restArguments, _executeBound, underscore) { - - // Partially apply a function by creating a version that has had some of its - // arguments pre-filled, without changing its dynamic `this` context. `_` acts - // as a placeholder by default, allowing any combination of arguments to be - // pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. - var partial = restArguments(function(func, boundArgs) { - var placeholder = partial.placeholder; - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return _executeBound(func, bound, this, this, args); - }; - return bound; - }); - - partial.placeholder = underscore; - - return partial; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/partition.js b/node_modules/typed-rest-client/node_modules/underscore/amd/partition.js deleted file mode 100644 index a87e5fb96..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/partition.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./_group'], function (_group) { - - // Split a collection into two arrays: one whose elements all pass the given - // truth test, and one whose elements all do not pass the truth test. - var partition = _group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); - }, true); - - return partition; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/pick.js b/node_modules/typed-rest-client/node_modules/underscore/amd/pick.js deleted file mode 100644 index 1d4d89a27..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/pick.js +++ /dev/null @@ -1,25 +0,0 @@ -define(['./restArguments', './isFunction', './_optimizeCb', './allKeys', './_keyInObj', './_flatten'], function (restArguments, isFunction, _optimizeCb, allKeys, _keyInObj, _flatten) { - - // Return a copy of the object only containing the allowed properties. - var pick = restArguments(function(obj, keys) { - var result = {}, iteratee = keys[0]; - if (obj == null) return result; - if (isFunction(iteratee)) { - if (keys.length > 1) iteratee = _optimizeCb(iteratee, keys[1]); - keys = allKeys(obj); - } else { - iteratee = _keyInObj; - keys = _flatten(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; - }); - - return pick; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/pluck.js b/node_modules/typed-rest-client/node_modules/underscore/amd/pluck.js deleted file mode 100644 index d93d80c24..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/pluck.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./map', './property'], function (map, property) { - - // Convenience version of a common use case of `_.map`: fetching a property. - function pluck(obj, key) { - return map(obj, property(key)); - } - - return pluck; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/property.js b/node_modules/typed-rest-client/node_modules/underscore/amd/property.js deleted file mode 100644 index 94c6ccca6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/property.js +++ /dev/null @@ -1,14 +0,0 @@ -define(['./_deepGet', './_toPath'], function (_deepGet, _toPath) { - - // Creates a function that, when passed an object, will traverse that object’s - // properties down the given `path`, specified as an array of keys or indices. - function property(path) { - path = _toPath(path); - return function(obj) { - return _deepGet(obj, path); - }; - } - - return property; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/propertyOf.js b/node_modules/typed-rest-client/node_modules/underscore/amd/propertyOf.js deleted file mode 100644 index 13cfb7505..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/propertyOf.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./noop', './get'], function (noop, get) { - - // Generates a function for a given object that returns a given property. - function propertyOf(obj) { - if (obj == null) return noop; - return function(path) { - return get(obj, path); - }; - } - - return propertyOf; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/random.js b/node_modules/typed-rest-client/node_modules/underscore/amd/random.js deleted file mode 100644 index ba82815cc..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/random.js +++ /dev/null @@ -1,14 +0,0 @@ -define(function () { - - // Return a random integer between `min` and `max` (inclusive). - function random(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); - } - - return random; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/range.js b/node_modules/typed-rest-client/node_modules/underscore/amd/range.js deleted file mode 100644 index 47eb9edc6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/range.js +++ /dev/null @@ -1,27 +0,0 @@ -define(function () { - - // Generate an integer Array containing an arithmetic progression. A port of - // the native Python `range()` function. See - // [the Python documentation](https://docs.python.org/library/functions.html#range). - function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; - } - - return range; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/reduce.js b/node_modules/typed-rest-client/node_modules/underscore/amd/reduce.js deleted file mode 100644 index 2aae8cae2..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/reduce.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./_createReduce'], function (_createReduce) { - - // **Reduce** builds up a single result from a list of values, aka `inject`, - // or `foldl`. - var reduce = _createReduce(1); - - return reduce; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/reduceRight.js b/node_modules/typed-rest-client/node_modules/underscore/amd/reduceRight.js deleted file mode 100644 index ccb17392e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/reduceRight.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_createReduce'], function (_createReduce) { - - // The right-associative version of reduce, also known as `foldr`. - var reduceRight = _createReduce(-1); - - return reduceRight; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/reject.js b/node_modules/typed-rest-client/node_modules/underscore/amd/reject.js deleted file mode 100644 index acc91cf44..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/reject.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./filter', './negate', './_cb'], function (filter, negate, _cb) { - - // Return all the elements for which a truth test fails. - function reject(obj, predicate, context) { - return filter(obj, negate(_cb(predicate)), context); - } - - return reject; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/rest.js b/node_modules/typed-rest-client/node_modules/underscore/amd/rest.js deleted file mode 100644 index ecf6b74ad..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/rest.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./_setup'], function (_setup) { - - // Returns everything but the first entry of the `array`. Especially useful on - // the `arguments` object. Passing an **n** will return the rest N values in the - // `array`. - function rest(array, n, guard) { - return _setup.slice.call(array, n == null || guard ? 1 : n); - } - - return rest; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/restArguments.js b/node_modules/typed-rest-client/node_modules/underscore/amd/restArguments.js deleted file mode 100644 index dd7127482..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/restArguments.js +++ /dev/null @@ -1,33 +0,0 @@ -define(function () { - - // Some functions take a variable number of arguments, or a few expected - // arguments at the beginning and then a variable number of values to operate - // on. This helper accumulates all remaining arguments past the function’s - // argument length (or an explicit `startIndex`), into an array that becomes - // the last argument. Similar to ES6’s "rest parameter". - function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function() { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0: return func.call(this, rest); - case 1: return func.call(this, arguments[0], rest); - case 2: return func.call(this, arguments[0], arguments[1], rest); - } - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; - } - - return restArguments; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/result.js b/node_modules/typed-rest-client/node_modules/underscore/amd/result.js deleted file mode 100644 index 093a91134..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/result.js +++ /dev/null @@ -1,25 +0,0 @@ -define(['./isFunction', './_toPath'], function (isFunction, _toPath) { - - // Traverses the children of `obj` along `path`. If a child is a function, it - // is invoked with its parent as context. Returns the value of the final - // child, or `fallback` if any child is undefined. - function result(obj, path, fallback) { - path = _toPath(path); - var length = path.length; - if (!length) { - return isFunction(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction(prop) ? prop.call(obj) : prop; - } - return obj; - } - - return result; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/sample.js b/node_modules/typed-rest-client/node_modules/underscore/amd/sample.js deleted file mode 100644 index 655855c5c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/sample.js +++ /dev/null @@ -1,27 +0,0 @@ -define(['./_isArrayLike', './clone', './values', './_getLength', './random'], function (_isArrayLike, clone, values, _getLength, random) { - - // Sample **n** random values from a collection using the modern version of the - // [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). - // If **n** is not specified, returns a single random element. - // The internal `guard` argument allows it to work with `_.map`. - function sample(obj, n, guard) { - if (n == null || guard) { - if (!_isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = _isArrayLike(obj) ? clone(obj) : values(obj); - var length = _getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); - } - - return sample; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/shuffle.js b/node_modules/typed-rest-client/node_modules/underscore/amd/shuffle.js deleted file mode 100644 index ff14021b3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/shuffle.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./sample'], function (sample) { - - // Shuffle a collection. - function shuffle(obj) { - return sample(obj, Infinity); - } - - return shuffle; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/size.js b/node_modules/typed-rest-client/node_modules/underscore/amd/size.js deleted file mode 100644 index b741f4e0e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/size.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./_isArrayLike', './keys'], function (_isArrayLike, keys) { - - // Return the number of elements in a collection. - function size(obj) { - if (obj == null) return 0; - return _isArrayLike(obj) ? obj.length : keys(obj).length; - } - - return size; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/some.js b/node_modules/typed-rest-client/node_modules/underscore/amd/some.js deleted file mode 100644 index bb4e966a0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/some.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./_cb', './_isArrayLike', './keys'], function (_cb, _isArrayLike, keys) { - - // Determine if at least one element in the object passes a truth test. - function some(obj, predicate, context) { - predicate = _cb(predicate, context); - var _keys = !_isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; - } - - return some; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/sortBy.js b/node_modules/typed-rest-client/node_modules/underscore/amd/sortBy.js deleted file mode 100644 index a4af6cb04..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/sortBy.js +++ /dev/null @@ -1,26 +0,0 @@ -define(['./_cb', './pluck', './map'], function (_cb, pluck, map) { - - // Sort the object's values by a criterion produced by an iteratee. - function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = _cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); - } - - return sortBy; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/sortedIndex.js b/node_modules/typed-rest-client/node_modules/underscore/amd/sortedIndex.js deleted file mode 100644 index 83aac9ecc..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/sortedIndex.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['./_cb', './_getLength'], function (_cb, _getLength) { - - // Use a comparator function to figure out the smallest index at which - // an object should be inserted so as to maintain order. Uses binary search. - function sortedIndex(array, obj, iteratee, context) { - iteratee = _cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = _getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; - } - - return sortedIndex; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/tap.js b/node_modules/typed-rest-client/node_modules/underscore/amd/tap.js deleted file mode 100644 index 8605d1024..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/tap.js +++ /dev/null @@ -1,13 +0,0 @@ -define(function () { - - // Invokes `interceptor` with the `obj` and then returns `obj`. - // The primary purpose of this method is to "tap into" a method chain, in - // order to perform operations on intermediate results within the chain. - function tap(obj, interceptor) { - interceptor(obj); - return obj; - } - - return tap; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/template.js b/node_modules/typed-rest-client/node_modules/underscore/amd/template.js deleted file mode 100644 index 65695ba5f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/template.js +++ /dev/null @@ -1,103 +0,0 @@ -define(['./defaults', './underscore', './templateSettings'], function (defaults, underscore, templateSettings) { - - // When customizing `_.templateSettings`, if you don't want to define an - // interpolation, evaluation or escaping regex, we need one that is - // guaranteed not to match. - var noMatch = /(.)^/; - - // Certain characters need to be escaped so that they can be put into a - // string literal. - var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - - function escapeChar(match) { - return '\\' + escapes[match]; - } - - // In order to prevent third-party code injection through - // `_.templateSettings.variable`, we test it against the following regular - // expression. It is intentionally a bit more liberal than just matching valid - // identifiers, but still prevents possible loopholes through defaults or - // destructuring assignment. - var bareIdentifier = /^\s*(\w|\$)+\s*$/; - - // JavaScript micro-templating, similar to John Resig's implementation. - // Underscore templating handles arbitrary delimiters, preserves whitespace, - // and correctly escapes quotes within interpolated code. - // NB: `oldSettings` only exists for backwards compatibility. - function template(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = defaults({}, settings, underscore.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offset. - return match; - }); - source += "';\n"; - - var argument = settings.variable; - if (argument) { - // Insure against third-party code injection. (CVE-2021-23358) - if (!bareIdentifier.test(argument)) throw new Error( - 'variable is not a bare identifier: ' + argument - ); - } else { - // If a variable is not specified, place data values in local scope. - source = 'with(obj||{}){\n' + source + '}\n'; - argument = 'obj'; - } - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(argument, '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function(data) { - return render.call(this, data, underscore); - }; - - // Provide the compiled source as a convenience for precompilation. - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; - } - - return template; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/templateSettings.js b/node_modules/typed-rest-client/node_modules/underscore/amd/templateSettings.js deleted file mode 100644 index 94abcb532..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/templateSettings.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./underscore'], function (underscore) { - - // By default, Underscore uses ERB-style template delimiters. Change the - // following template settings to use alternative delimiters. - var templateSettings = underscore.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g - }; - - return templateSettings; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/throttle.js b/node_modules/typed-rest-client/node_modules/underscore/amd/throttle.js deleted file mode 100644 index 555100ab7..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/throttle.js +++ /dev/null @@ -1,51 +0,0 @@ -define(['./now'], function (now) { - - // Returns a function, that, when invoked, will only be triggered at most once - // during a given window of time. Normally, the throttled function will run - // as much as it can, without ever going more than once per `wait` duration; - // but if you'd like to disable the execution on the leading edge, pass - // `{leading: false}`. To disable execution on the trailing edge, ditto. - function throttle(func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function() { - previous = options.leading === false ? 0 : now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function() { - var _now = now(); - if (!previous && options.leading === false) previous = _now; - var remaining = wait - (_now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = _now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function() { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; - } - - return throttle; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/times.js b/node_modules/typed-rest-client/node_modules/underscore/amd/times.js deleted file mode 100644 index d70145d31..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/times.js +++ /dev/null @@ -1,13 +0,0 @@ -define(['./_optimizeCb'], function (_optimizeCb) { - - // Run a function **n** times. - function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = _optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; - } - - return times; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/toArray.js b/node_modules/typed-rest-client/node_modules/underscore/amd/toArray.js deleted file mode 100644 index 27b416993..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/toArray.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['./isArray', './_setup', './isString', './_isArrayLike', './map', './identity', './values'], function (isArray, _setup, isString, _isArrayLike, map, identity, values) { - - // Safely create a real, live array from anything iterable. - var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; - function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return _setup.slice.call(obj); - if (isString(obj)) { - // Keep surrogate pair characters together. - return obj.match(reStrSymbol); - } - if (_isArrayLike(obj)) return map(obj, identity); - return values(obj); - } - - return toArray; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/toPath.js b/node_modules/typed-rest-client/node_modules/underscore/amd/toPath.js deleted file mode 100644 index e2dfb23a0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/toPath.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./underscore', './isArray'], function (underscore, isArray) { - - // Normalize a (deep) property `path` to array. - // Like `_.iteratee`, this function can be customized. - function toPath(path) { - return isArray(path) ? path : [path]; - } - underscore.toPath = toPath; - - return toPath; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/underscore-array-methods.js b/node_modules/typed-rest-client/node_modules/underscore/amd/underscore-array-methods.js deleted file mode 100644 index bb56875fa..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/underscore-array-methods.js +++ /dev/null @@ -1,30 +0,0 @@ -define(['./underscore', './each', './_setup', './_chainResult'], function (underscore, each, _setup, _chainResult) { - - // Add all mutator `Array` functions to the wrapper. - each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = _setup.ArrayProto[name]; - underscore.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) { - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) { - delete obj[0]; - } - } - return _chainResult(this, obj); - }; - }); - - // Add all accessor `Array` functions to the wrapper. - each(['concat', 'join', 'slice'], function(name) { - var method = _setup.ArrayProto[name]; - underscore.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) obj = method.apply(obj, arguments); - return _chainResult(this, obj); - }; - }); - - return underscore; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/underscore.js b/node_modules/typed-rest-client/node_modules/underscore/amd/underscore.js deleted file mode 100644 index 03492abf5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/underscore.js +++ /dev/null @@ -1,29 +0,0 @@ -define(['./_setup'], function (_setup) { - - // If Underscore is called as a function, it returns a wrapped object that can - // be used OO-style. This wrapper holds altered versions of all functions added - // through `_.mixin`. Wrapped objects may be chained. - function _(obj) { - if (obj instanceof _) return obj; - if (!(this instanceof _)) return new _(obj); - this._wrapped = obj; - } - - _.VERSION = _setup.VERSION; - - // Extracts the result from a wrapped and chained object. - _.prototype.value = function() { - return this._wrapped; - }; - - // Provide unwrapping proxies for some methods used in engine operations - // such as arithmetic and JSON stringification. - _.prototype.valueOf = _.prototype.toJSON = _.prototype.value; - - _.prototype.toString = function() { - return String(this._wrapped); - }; - - return _; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/unescape.js b/node_modules/typed-rest-client/node_modules/underscore/amd/unescape.js deleted file mode 100644 index b48d44471..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/unescape.js +++ /dev/null @@ -1,8 +0,0 @@ -define(['./_createEscaper', './_unescapeMap'], function (_createEscaper, _unescapeMap) { - - // Function for unescaping strings from HTML interpolation. - var _unescape = _createEscaper(_unescapeMap); - - return _unescape; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/union.js b/node_modules/typed-rest-client/node_modules/underscore/amd/union.js deleted file mode 100644 index 67884bade..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/union.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./restArguments', './uniq', './_flatten'], function (restArguments, uniq, _flatten) { - - // Produce an array that contains the union: each distinct element from all of - // the passed-in arrays. - var union = restArguments(function(arrays) { - return uniq(_flatten(arrays, true, true)); - }); - - return union; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/uniq.js b/node_modules/typed-rest-client/node_modules/underscore/amd/uniq.js deleted file mode 100644 index 5e05e41b6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/uniq.js +++ /dev/null @@ -1,37 +0,0 @@ -define(['./isBoolean', './_cb', './_getLength', './contains'], function (isBoolean, _cb, _getLength, contains) { - - // Produce a duplicate-free version of the array. If the array has already - // been sorted, you have the option of using a faster algorithm. - // The faster algorithm will not work with an iteratee if the iteratee - // is not a one-to-one function, so providing an iteratee will disable - // the faster algorithm. - function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = _cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = _getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!contains(result, value)) { - result.push(value); - } - } - return result; - } - - return uniq; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/uniqueId.js b/node_modules/typed-rest-client/node_modules/underscore/amd/uniqueId.js deleted file mode 100644 index 4c99d6453..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/uniqueId.js +++ /dev/null @@ -1,13 +0,0 @@ -define(function () { - - // Generate a unique integer id (unique within the entire client session). - // Useful for temporary DOM ids. - var idCounter = 0; - function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; - } - - return uniqueId; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/unzip.js b/node_modules/typed-rest-client/node_modules/underscore/amd/unzip.js deleted file mode 100644 index 25e57337e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/unzip.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./max', './_getLength', './pluck'], function (max, _getLength, pluck) { - - // Complement of zip. Unzip accepts an array of arrays and groups - // each array's elements on shared indices. - function unzip(array) { - var length = array && max(array, _getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); - } - return result; - } - - return unzip; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/values.js b/node_modules/typed-rest-client/node_modules/underscore/amd/values.js deleted file mode 100644 index f42830ab0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/values.js +++ /dev/null @@ -1,16 +0,0 @@ -define(['./keys'], function (keys) { - - // Retrieve the values of an object's properties. - function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; - } - return values; - } - - return values; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/where.js b/node_modules/typed-rest-client/node_modules/underscore/amd/where.js deleted file mode 100644 index a9d8b2536..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/where.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['./filter', './matcher'], function (filter, matcher) { - - // Convenience version of a common use case of `_.filter`: selecting only - // objects containing specific `key:value` pairs. - function where(obj, attrs) { - return filter(obj, matcher(attrs)); - } - - return where; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/without.js b/node_modules/typed-rest-client/node_modules/underscore/amd/without.js deleted file mode 100644 index eb0ac62e8..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/without.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['./restArguments', './difference'], function (restArguments, difference) { - - // Return a version of the array that does not contain the specified value(s). - var without = restArguments(function(array, otherArrays) { - return difference(array, otherArrays); - }); - - return without; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/wrap.js b/node_modules/typed-rest-client/node_modules/underscore/amd/wrap.js deleted file mode 100644 index 25f19952c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/wrap.js +++ /dev/null @@ -1,12 +0,0 @@ -define(['./partial'], function (partial) { - - // Returns the first function passed as an argument to the second, - // allowing you to adjust arguments, run code before and after, and - // conditionally execute the original function. - function wrap(func, wrapper) { - return partial(wrapper, func); - } - - return wrap; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/amd/zip.js b/node_modules/typed-rest-client/node_modules/underscore/amd/zip.js deleted file mode 100644 index 25e61fe32..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/amd/zip.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./restArguments', './unzip'], function (restArguments, unzip) { - - // Zip together multiple lists into a single array -- elements that share - // an index go together. - var zip = restArguments(unzip); - - return zip; - -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_baseCreate.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_baseCreate.js deleted file mode 100644 index aacc4f47f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_baseCreate.js +++ /dev/null @@ -1,20 +0,0 @@ -var isObject = require('./isObject.js'); -var _setup = require('./_setup.js'); - -// Create a naked function reference for surrogate-prototype-swapping. -function ctor() { - return function(){}; -} - -// An internal function for creating a new object that inherits from another. -function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (_setup.nativeCreate) return _setup.nativeCreate(prototype); - var Ctor = ctor(); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; -} - -module.exports = baseCreate; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_baseIteratee.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_baseIteratee.js deleted file mode 100644 index a826d1a2d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_baseIteratee.js +++ /dev/null @@ -1,19 +0,0 @@ -var identity = require('./identity.js'); -var isFunction = require('./isFunction.js'); -var isObject = require('./isObject.js'); -var isArray = require('./isArray.js'); -var matcher = require('./matcher.js'); -var property = require('./property.js'); -var _optimizeCb = require('./_optimizeCb.js'); - -// An internal function to generate callbacks that can be applied to each -// element in a collection, returning the desired result — either `_.identity`, -// an arbitrary callback, a property matcher, or a property accessor. -function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction(value)) return _optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); -} - -module.exports = baseIteratee; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_cb.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_cb.js deleted file mode 100644 index 8b5d38980..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_cb.js +++ /dev/null @@ -1,12 +0,0 @@ -var underscore = require('./underscore.js'); -var _baseIteratee = require('./_baseIteratee.js'); -var iteratee = require('./iteratee.js'); - -// The function we call internally to generate a callback. It invokes -// `_.iteratee` if overridden, otherwise `baseIteratee`. -function cb(value, context, argCount) { - if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context); - return _baseIteratee(value, context, argCount); -} - -module.exports = cb; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_chainResult.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_chainResult.js deleted file mode 100644 index 8670e3d8d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_chainResult.js +++ /dev/null @@ -1,8 +0,0 @@ -var underscore = require('./underscore.js'); - -// Helper function to continue chaining intermediate results. -function chainResult(instance, obj) { - return instance._chain ? underscore(obj).chain() : obj; -} - -module.exports = chainResult; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_collectNonEnumProps.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_collectNonEnumProps.js deleted file mode 100644 index dade935e3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_collectNonEnumProps.js +++ /dev/null @@ -1,42 +0,0 @@ -var _setup = require('./_setup.js'); -var isFunction = require('./isFunction.js'); -var _has = require('./_has.js'); - -// Internal helper to create a simple lookup structure. -// `collectNonEnumProps` used to depend on `_.contains`, but this led to -// circular imports. `emulatedSet` is a one-off solution that only works for -// arrays of strings. -function emulatedSet(keys) { - var hash = {}; - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; - return { - contains: function(key) { return hash[key]; }, - push: function(key) { - hash[key] = true; - return keys.push(key); - } - }; -} - -// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't -// be iterated by `for key in ...` and thus missed. Extends `keys` in place if -// needed. -function collectNonEnumProps(obj, keys) { - keys = emulatedSet(keys); - var nonEnumIdx = _setup.nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = isFunction(constructor) && constructor.prototype || _setup.ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (_has(obj, prop) && !keys.contains(prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = _setup.nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { - keys.push(prop); - } - } -} - -module.exports = collectNonEnumProps; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createAssigner.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_createAssigner.js deleted file mode 100644 index 13fa0ddff..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createAssigner.js +++ /dev/null @@ -1,20 +0,0 @@ -// An internal function for creating assigner functions. -function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; -} - -module.exports = createAssigner; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createEscaper.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_createEscaper.js deleted file mode 100644 index c3b7ac4a9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createEscaper.js +++ /dev/null @@ -1,19 +0,0 @@ -var keys = require('./keys.js'); - -// Internal helper to generate functions for escaping and unescaping strings -// to/from HTML interpolation. -function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped. - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; -} - -module.exports = createEscaper; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createIndexFinder.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_createIndexFinder.js deleted file mode 100644 index 7f3903926..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createIndexFinder.js +++ /dev/null @@ -1,30 +0,0 @@ -var _getLength = require('./_getLength.js'); -var _setup = require('./_setup.js'); -var _isNaN = require('./isNaN.js'); - -// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. -function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = _getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(_setup.slice.call(array, i, length), _isNaN); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; -} - -module.exports = createIndexFinder; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createPredicateIndexFinder.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_createPredicateIndexFinder.js deleted file mode 100644 index e954419c9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createPredicateIndexFinder.js +++ /dev/null @@ -1,17 +0,0 @@ -var _cb = require('./_cb.js'); -var _getLength = require('./_getLength.js'); - -// Internal function to generate `_.findIndex` and `_.findLastIndex`. -function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = _cb(predicate, context); - var length = _getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; -} - -module.exports = createPredicateIndexFinder; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createReduce.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_createReduce.js deleted file mode 100644 index fb2460817..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createReduce.js +++ /dev/null @@ -1,30 +0,0 @@ -var _isArrayLike = require('./_isArrayLike.js'); -var keys = require('./keys.js'); -var _optimizeCb = require('./_optimizeCb.js'); - -// Internal helper to create a reducing function, iterating left or right. -function createReduce(dir) { - // Wrap code that reassigns argument variables in a separate function than - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !_isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, _optimizeCb(iteratee, context, 4), memo, initial); - }; -} - -module.exports = createReduce; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createSizePropertyCheck.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_createSizePropertyCheck.js deleted file mode 100644 index 727112970..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_createSizePropertyCheck.js +++ /dev/null @@ -1,11 +0,0 @@ -var _setup = require('./_setup.js'); - -// Common internal logic for `isArrayLike` and `isBufferLike`. -function createSizePropertyCheck(getSizeProperty) { - return function(collection) { - var sizeProperty = getSizeProperty(collection); - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= _setup.MAX_ARRAY_INDEX; - } -} - -module.exports = createSizePropertyCheck; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_deepGet.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_deepGet.js deleted file mode 100644 index 901705894..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_deepGet.js +++ /dev/null @@ -1,11 +0,0 @@ -// Internal function to obtain a nested property in `obj` along `path`. -function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; -} - -module.exports = deepGet; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_escapeMap.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_escapeMap.js deleted file mode 100644 index 821501edb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_escapeMap.js +++ /dev/null @@ -1,11 +0,0 @@ -// Internal list of HTML entities for escaping. -var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' -}; - -module.exports = escapeMap; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_executeBound.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_executeBound.js deleted file mode 100644 index de0220ea0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_executeBound.js +++ /dev/null @@ -1,15 +0,0 @@ -var _baseCreate = require('./_baseCreate.js'); -var isObject = require('./isObject.js'); - -// Internal function to execute `sourceFunc` bound to `context` with optional -// `args`. Determines whether to execute a function as a constructor or as a -// normal function. -function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = _baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (isObject(result)) return result; - return self; -} - -module.exports = executeBound; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_flatten.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_flatten.js deleted file mode 100644 index 830221d06..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_flatten.js +++ /dev/null @@ -1,33 +0,0 @@ -var _getLength = require('./_getLength.js'); -var _isArrayLike = require('./_isArrayLike.js'); -var isArray = require('./isArray.js'); -var isArguments = require('./isArguments.js'); - -// Internal implementation of a recursive `flatten` function. -function flatten(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = _getLength(input); i < length; i++) { - var value = input[i]; - if (_isArrayLike(value) && (isArray(value) || isArguments(value))) { - // Flatten current level of array or arguments object. - if (depth > 1) { - flatten(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; -} - -module.exports = flatten; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_getByteLength.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_getByteLength.js deleted file mode 100644 index 49acd7f83..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_getByteLength.js +++ /dev/null @@ -1,6 +0,0 @@ -var _shallowProperty = require('./_shallowProperty.js'); - -// Internal helper to obtain the `byteLength` property of an object. -var getByteLength = _shallowProperty('byteLength'); - -module.exports = getByteLength; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_getLength.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_getLength.js deleted file mode 100644 index 1ad70920d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_getLength.js +++ /dev/null @@ -1,6 +0,0 @@ -var _shallowProperty = require('./_shallowProperty.js'); - -// Internal helper to obtain the `length` property of an object. -var getLength = _shallowProperty('length'); - -module.exports = getLength; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_group.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_group.js deleted file mode 100644 index cb1f5a85c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_group.js +++ /dev/null @@ -1,17 +0,0 @@ -var _cb = require('./_cb.js'); -var each = require('./each.js'); - -// An internal function used for aggregate "group by" operations. -function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = _cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; -} - -module.exports = group; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_has.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_has.js deleted file mode 100644 index 6540346b7..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_has.js +++ /dev/null @@ -1,8 +0,0 @@ -var _setup = require('./_setup.js'); - -// Internal function to check whether `key` is an own property name of `obj`. -function has(obj, key) { - return obj != null && _setup.hasOwnProperty.call(obj, key); -} - -module.exports = has; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_hasObjectTag.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_hasObjectTag.js deleted file mode 100644 index fb7145289..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_hasObjectTag.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var hasObjectTag = _tagTester('Object'); - -module.exports = hasObjectTag; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_isArrayLike.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_isArrayLike.js deleted file mode 100644 index b835307c9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_isArrayLike.js +++ /dev/null @@ -1,10 +0,0 @@ -var _createSizePropertyCheck = require('./_createSizePropertyCheck.js'); -var _getLength = require('./_getLength.js'); - -// Internal helper for collection methods to determine whether a collection -// should be iterated as an array or as an object. -// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength -// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 -var isArrayLike = _createSizePropertyCheck(_getLength); - -module.exports = isArrayLike; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_isBufferLike.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_isBufferLike.js deleted file mode 100644 index bf919aa80..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_isBufferLike.js +++ /dev/null @@ -1,8 +0,0 @@ -var _createSizePropertyCheck = require('./_createSizePropertyCheck.js'); -var _getByteLength = require('./_getByteLength.js'); - -// Internal helper to determine whether we should spend extensive checks against -// `ArrayBuffer` et al. -var isBufferLike = _createSizePropertyCheck(_getByteLength); - -module.exports = isBufferLike; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_keyInObj.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_keyInObj.js deleted file mode 100644 index 12adc8266..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_keyInObj.js +++ /dev/null @@ -1,7 +0,0 @@ -// Internal `_.pick` helper function to determine whether `key` is an enumerable -// property name of `obj`. -function keyInObj(value, key, obj) { - return key in obj; -} - -module.exports = keyInObj; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_methodFingerprint.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_methodFingerprint.js deleted file mode 100644 index 26028c9ca..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_methodFingerprint.js +++ /dev/null @@ -1,44 +0,0 @@ -Object.defineProperty(exports, '__esModule', { value: true }); - -var _getLength = require('./_getLength.js'); -var isFunction = require('./isFunction.js'); -var allKeys = require('./allKeys.js'); - -// Since the regular `Object.prototype.toString` type tests don't work for -// some types in IE 11, we use a fingerprinting heuristic instead, based -// on the methods. It's not great, but it's the best we got. -// The fingerprint method lists are defined below. -function ie11fingerprint(methods) { - var length = _getLength(methods); - return function(obj) { - if (obj == null) return false; - // `Map`, `WeakMap` and `Set` have no enumerable keys. - var keys = allKeys(obj); - if (_getLength(keys)) return false; - for (var i = 0; i < length; i++) { - if (!isFunction(obj[methods[i]])) return false; - } - // If we are testing against `WeakMap`, we need to ensure that - // `obj` doesn't have a `forEach` method in order to distinguish - // it from a regular `Map`. - return methods !== weakMapMethods || !isFunction(obj[forEachName]); - }; -} - -// In the interest of compact minification, we write -// each string in the fingerprints only once. -var forEachName = 'forEach', - hasName = 'has', - commonInit = ['clear', 'delete'], - mapTail = ['get', hasName, 'set']; - -// `Map`, `WeakMap` and `Set` each have slightly different -// combinations of the above sublists. -var mapMethods = commonInit.concat(forEachName, mapTail), - weakMapMethods = commonInit.concat(mapTail), - setMethods = ['add'].concat(commonInit, forEachName, hasName); - -exports.ie11fingerprint = ie11fingerprint; -exports.mapMethods = mapMethods; -exports.setMethods = setMethods; -exports.weakMapMethods = weakMapMethods; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_optimizeCb.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_optimizeCb.js deleted file mode 100644 index e6c25386c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_optimizeCb.js +++ /dev/null @@ -1,23 +0,0 @@ -// Internal function that returns an efficient (for current engines) version -// of the passed-in callback, to be repeatedly applied in other Underscore -// functions. -function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - // The 2-argument case is omitted because we’re not using it. - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; -} - -module.exports = optimizeCb; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_setup.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_setup.js deleted file mode 100644 index 85a735f90..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_setup.js +++ /dev/null @@ -1,66 +0,0 @@ -Object.defineProperty(exports, '__esModule', { value: true }); - -// Current version. -var VERSION = '1.13.1'; - -// Establish the root object, `window` (`self`) in the browser, `global` -// on the server, or `this` in some virtual machines. We use `self` -// instead of `window` for `WebWorker` support. -var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || - Function('return this')() || - {}; - -// Save bytes in the minified (but not gzipped) version: -var ArrayProto = Array.prototype, ObjProto = Object.prototype; -var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - -// Create quick reference variables for speed access to core prototypes. -var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - -// Modern feature detection. -var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', - supportsDataView = typeof DataView !== 'undefined'; - -// All **ECMAScript 5+** native function implementations that we hope to use -// are declared here. -var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create, - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; - -// Create references to these builtin functions because we override them. -var _isNaN = isNaN, - _isFinite = isFinite; - -// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. -var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); -var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - -// The largest integer that can be represented exactly. -var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - -exports.ArrayProto = ArrayProto; -exports.MAX_ARRAY_INDEX = MAX_ARRAY_INDEX; -exports.ObjProto = ObjProto; -exports.SymbolProto = SymbolProto; -exports.VERSION = VERSION; -exports._isFinite = _isFinite; -exports._isNaN = _isNaN; -exports.hasEnumBug = hasEnumBug; -exports.hasOwnProperty = hasOwnProperty; -exports.nativeCreate = nativeCreate; -exports.nativeIsArray = nativeIsArray; -exports.nativeIsView = nativeIsView; -exports.nativeKeys = nativeKeys; -exports.nonEnumerableProps = nonEnumerableProps; -exports.push = push; -exports.root = root; -exports.slice = slice; -exports.supportsArrayBuffer = supportsArrayBuffer; -exports.supportsDataView = supportsDataView; -exports.toString = toString; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_shallowProperty.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_shallowProperty.js deleted file mode 100644 index aabdc625f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_shallowProperty.js +++ /dev/null @@ -1,8 +0,0 @@ -// Internal helper to generate a function to obtain property `key` from `obj`. -function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; -} - -module.exports = shallowProperty; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_stringTagBug.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_stringTagBug.js deleted file mode 100644 index b5b21caf3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_stringTagBug.js +++ /dev/null @@ -1,15 +0,0 @@ -Object.defineProperty(exports, '__esModule', { value: true }); - -var _setup = require('./_setup.js'); -var _hasObjectTag = require('./_hasObjectTag.js'); - -// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. -// In IE 11, the most common among them, this problem also applies to -// `Map`, `WeakMap` and `Set`. -var hasStringTagBug = ( - _setup.supportsDataView && _hasObjectTag(new DataView(new ArrayBuffer(8))) - ), - isIE11 = (typeof Map !== 'undefined' && _hasObjectTag(new Map)); - -exports.hasStringTagBug = hasStringTagBug; -exports.isIE11 = isIE11; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_tagTester.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_tagTester.js deleted file mode 100644 index 2578e9b67..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_tagTester.js +++ /dev/null @@ -1,11 +0,0 @@ -var _setup = require('./_setup.js'); - -// Internal function for creating a `toString`-based type tester. -function tagTester(name) { - var tag = '[object ' + name + ']'; - return function(obj) { - return _setup.toString.call(obj) === tag; - }; -} - -module.exports = tagTester; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_toBufferView.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_toBufferView.js deleted file mode 100644 index 3ad4e8817..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_toBufferView.js +++ /dev/null @@ -1,13 +0,0 @@ -var _getByteLength = require('./_getByteLength.js'); - -// Internal function to wrap or shallow-copy an ArrayBuffer, -// typed array or DataView to a new view, reusing the buffer. -function toBufferView(bufferSource) { - return new Uint8Array( - bufferSource.buffer || bufferSource, - bufferSource.byteOffset || 0, - _getByteLength(bufferSource) - ); -} - -module.exports = toBufferView; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_toPath.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_toPath.js deleted file mode 100644 index 33f1fa7c4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_toPath.js +++ /dev/null @@ -1,10 +0,0 @@ -var underscore = require('./underscore.js'); -require('./toPath.js'); - -// Internal wrapper for `_.toPath` to enable minification. -// Similar to `cb` for `_.iteratee`. -function toPath(path) { - return underscore.toPath(path); -} - -module.exports = toPath; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/_unescapeMap.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/_unescapeMap.js deleted file mode 100644 index b2f68c8b9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/_unescapeMap.js +++ /dev/null @@ -1,7 +0,0 @@ -var invert = require('./invert.js'); -var _escapeMap = require('./_escapeMap.js'); - -// Internal list of HTML entities for unescaping. -var unescapeMap = invert(_escapeMap); - -module.exports = unescapeMap; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/after.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/after.js deleted file mode 100644 index c047e20b4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/after.js +++ /dev/null @@ -1,10 +0,0 @@ -// Returns a function that will only be executed on and after the Nth call. -function after(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; -} - -module.exports = after; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/allKeys.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/allKeys.js deleted file mode 100644 index 1eb5e842b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/allKeys.js +++ /dev/null @@ -1,15 +0,0 @@ -var isObject = require('./isObject.js'); -var _setup = require('./_setup.js'); -var _collectNonEnumProps = require('./_collectNonEnumProps.js'); - -// Retrieve all the enumerable property names of an object. -function allKeys(obj) { - if (!isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - // Ahem, IE < 9. - if (_setup.hasEnumBug) _collectNonEnumProps(obj, keys); - return keys; -} - -module.exports = allKeys; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/before.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/before.js deleted file mode 100644 index 714a31e37..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/before.js +++ /dev/null @@ -1,14 +0,0 @@ -// Returns a function that will only be executed up to (but not including) the -// Nth call. -function before(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; -} - -module.exports = before; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/bind.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/bind.js deleted file mode 100644 index 59bc5ee69..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/bind.js +++ /dev/null @@ -1,15 +0,0 @@ -var restArguments = require('./restArguments.js'); -var isFunction = require('./isFunction.js'); -var _executeBound = require('./_executeBound.js'); - -// Create a function bound to a given object (assigning `this`, and arguments, -// optionally). -var bind = restArguments(function(func, context, args) { - if (!isFunction(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return _executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; -}); - -module.exports = bind; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/bindAll.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/bindAll.js deleted file mode 100644 index 12c140236..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/bindAll.js +++ /dev/null @@ -1,19 +0,0 @@ -var restArguments = require('./restArguments.js'); -var _flatten = require('./_flatten.js'); -var bind = require('./bind.js'); - -// Bind a number of an object's methods to that object. Remaining arguments -// are the method names to be bound. Useful for ensuring that all callbacks -// defined on an object belong to it. -var bindAll = restArguments(function(obj, keys) { - keys = _flatten(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = bind(obj[key], obj); - } - return obj; -}); - -module.exports = bindAll; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/chain.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/chain.js deleted file mode 100644 index 07e35eaff..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/chain.js +++ /dev/null @@ -1,10 +0,0 @@ -var underscore = require('./underscore.js'); - -// Start chaining a wrapped Underscore object. -function chain(obj) { - var instance = underscore(obj); - instance._chain = true; - return instance; -} - -module.exports = chain; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/chunk.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/chunk.js deleted file mode 100644 index 3e10d88e7..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/chunk.js +++ /dev/null @@ -1,15 +0,0 @@ -var _setup = require('./_setup.js'); - -// Chunk a single array into multiple arrays, each containing `count` or fewer -// items. -function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(_setup.slice.call(array, i, i += count)); - } - return result; -} - -module.exports = chunk; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/clone.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/clone.js deleted file mode 100644 index 91b3e5b81..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/clone.js +++ /dev/null @@ -1,11 +0,0 @@ -var isObject = require('./isObject.js'); -var isArray = require('./isArray.js'); -var extend = require('./extend.js'); - -// Create a (shallow-cloned) duplicate of an object. -function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); -} - -module.exports = clone; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/compact.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/compact.js deleted file mode 100644 index 8fd210e18..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/compact.js +++ /dev/null @@ -1,8 +0,0 @@ -var filter = require('./filter.js'); - -// Trim out all falsy values from an array. -function compact(array) { - return filter(array, Boolean); -} - -module.exports = compact; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/compose.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/compose.js deleted file mode 100644 index f95f89056..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/compose.js +++ /dev/null @@ -1,14 +0,0 @@ -// Returns a function that is the composition of a list of functions, each -// consuming the return value of the function that follows. -function compose() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; -} - -module.exports = compose; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/constant.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/constant.js deleted file mode 100644 index 0b2904b22..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/constant.js +++ /dev/null @@ -1,8 +0,0 @@ -// Predicate-generating function. Often useful outside of Underscore. -function constant(value) { - return function() { - return value; - }; -} - -module.exports = constant; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/contains.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/contains.js deleted file mode 100644 index bfe13415f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/contains.js +++ /dev/null @@ -1,12 +0,0 @@ -var _isArrayLike = require('./_isArrayLike.js'); -var values = require('./values.js'); -var indexOf = require('./indexOf.js'); - -// Determine if the array or object contains a given item (using `===`). -function contains(obj, item, fromIndex, guard) { - if (!_isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; -} - -module.exports = contains; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/countBy.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/countBy.js deleted file mode 100644 index 88803264a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/countBy.js +++ /dev/null @@ -1,11 +0,0 @@ -var _group = require('./_group.js'); -var _has = require('./_has.js'); - -// Counts instances of an object that group by a certain criterion. Pass -// either a string attribute to count by, or a function that returns the -// criterion. -var countBy = _group(function(result, value, key) { - if (_has(result, key)) result[key]++; else result[key] = 1; -}); - -module.exports = countBy; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/create.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/create.js deleted file mode 100644 index 683321863..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/create.js +++ /dev/null @@ -1,13 +0,0 @@ -var _baseCreate = require('./_baseCreate.js'); -var extendOwn = require('./extendOwn.js'); - -// Creates an object that inherits from the given prototype object. -// If additional properties are provided then they will be added to the -// created object. -function create(prototype, props) { - var result = _baseCreate(prototype); - if (props) extendOwn(result, props); - return result; -} - -module.exports = create; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/debounce.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/debounce.js deleted file mode 100644 index 517086c21..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/debounce.js +++ /dev/null @@ -1,42 +0,0 @@ -var restArguments = require('./restArguments.js'); -var now = require('./now.js'); - -// When a sequence of calls of the returned function ends, the argument -// function is triggered. The end of a sequence is defined by the `wait` -// parameter. If `immediate` is passed, the argument function will be -// triggered at the beginning of the sequence instead of at the end. -function debounce(func, wait, immediate) { - var timeout, previous, args, result, context; - - var later = function() { - var passed = now() - previous; - if (wait > passed) { - timeout = setTimeout(later, wait - passed); - } else { - timeout = null; - if (!immediate) result = func.apply(context, args); - // This check is needed because `func` can recursively invoke `debounced`. - if (!timeout) args = context = null; - } - }; - - var debounced = restArguments(function(_args) { - context = this; - args = _args; - previous = now(); - if (!timeout) { - timeout = setTimeout(later, wait); - if (immediate) result = func.apply(context, args); - } - return result; - }); - - debounced.cancel = function() { - clearTimeout(timeout); - timeout = args = context = null; - }; - - return debounced; -} - -module.exports = debounce; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/defaults.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/defaults.js deleted file mode 100644 index 180cdd144..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/defaults.js +++ /dev/null @@ -1,7 +0,0 @@ -var _createAssigner = require('./_createAssigner.js'); -var allKeys = require('./allKeys.js'); - -// Fill in a given object with default properties. -var defaults = _createAssigner(allKeys, true); - -module.exports = defaults; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/defer.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/defer.js deleted file mode 100644 index 2f1ef2520..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/defer.js +++ /dev/null @@ -1,9 +0,0 @@ -var partial = require('./partial.js'); -var delay = require('./delay.js'); -var underscore = require('./underscore.js'); - -// Defers a function, scheduling it to run after the current call stack has -// cleared. -var defer = partial(delay, underscore, 1); - -module.exports = defer; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/delay.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/delay.js deleted file mode 100644 index 49b5387e4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/delay.js +++ /dev/null @@ -1,11 +0,0 @@ -var restArguments = require('./restArguments.js'); - -// Delays a function for the given number of milliseconds, and then calls -// it with the arguments supplied. -var delay = restArguments(function(func, wait, args) { - return setTimeout(function() { - return func.apply(null, args); - }, wait); -}); - -module.exports = delay; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/difference.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/difference.js deleted file mode 100644 index 8e472d6ed..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/difference.js +++ /dev/null @@ -1,15 +0,0 @@ -var restArguments = require('./restArguments.js'); -var _flatten = require('./_flatten.js'); -var filter = require('./filter.js'); -var contains = require('./contains.js'); - -// Take the difference between one array and a number of other arrays. -// Only the elements present in just the first array will remain. -var difference = restArguments(function(array, rest) { - rest = _flatten(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); -}); - -module.exports = difference; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/each.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/each.js deleted file mode 100644 index f6fa21e44..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/each.js +++ /dev/null @@ -1,25 +0,0 @@ -var _optimizeCb = require('./_optimizeCb.js'); -var _isArrayLike = require('./_isArrayLike.js'); -var keys = require('./keys.js'); - -// The cornerstone for collection functions, an `each` -// implementation, aka `forEach`. -// Handles raw objects in addition to array-likes. Treats all -// sparse array-likes as if they were dense. -function each(obj, iteratee, context) { - iteratee = _optimizeCb(iteratee, context); - var i, length; - if (_isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; -} - -module.exports = each; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/escape.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/escape.js deleted file mode 100644 index 0f29ef8a0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/escape.js +++ /dev/null @@ -1,7 +0,0 @@ -var _createEscaper = require('./_createEscaper.js'); -var _escapeMap = require('./_escapeMap.js'); - -// Function for escaping strings to HTML interpolation. -var _escape = _createEscaper(_escapeMap); - -module.exports = _escape; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/every.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/every.js deleted file mode 100644 index d07869549..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/every.js +++ /dev/null @@ -1,17 +0,0 @@ -var _cb = require('./_cb.js'); -var _isArrayLike = require('./_isArrayLike.js'); -var keys = require('./keys.js'); - -// Determine whether all of the elements pass a truth test. -function every(obj, predicate, context) { - predicate = _cb(predicate, context); - var _keys = !_isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; -} - -module.exports = every; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/extend.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/extend.js deleted file mode 100644 index 7c5511c50..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/extend.js +++ /dev/null @@ -1,7 +0,0 @@ -var _createAssigner = require('./_createAssigner.js'); -var allKeys = require('./allKeys.js'); - -// Extend a given object with all the properties in passed-in object(s). -var extend = _createAssigner(allKeys); - -module.exports = extend; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/extendOwn.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/extendOwn.js deleted file mode 100644 index 337195a8a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/extendOwn.js +++ /dev/null @@ -1,9 +0,0 @@ -var _createAssigner = require('./_createAssigner.js'); -var keys = require('./keys.js'); - -// Assigns a given object with all the own properties in the passed-in -// object(s). -// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) -var extendOwn = _createAssigner(keys); - -module.exports = extendOwn; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/filter.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/filter.js deleted file mode 100644 index ba1a06347..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/filter.js +++ /dev/null @@ -1,14 +0,0 @@ -var _cb = require('./_cb.js'); -var each = require('./each.js'); - -// Return all the elements that pass a truth test. -function filter(obj, predicate, context) { - var results = []; - predicate = _cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; -} - -module.exports = filter; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/find.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/find.js deleted file mode 100644 index 03728b469..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/find.js +++ /dev/null @@ -1,12 +0,0 @@ -var _isArrayLike = require('./_isArrayLike.js'); -var findIndex = require('./findIndex.js'); -var findKey = require('./findKey.js'); - -// Return the first value which passes a truth test. -function find(obj, predicate, context) { - var keyFinder = _isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; -} - -module.exports = find; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/findIndex.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/findIndex.js deleted file mode 100644 index e5a1fecd0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/findIndex.js +++ /dev/null @@ -1,6 +0,0 @@ -var _createPredicateIndexFinder = require('./_createPredicateIndexFinder.js'); - -// Returns the first index on an array-like that passes a truth test. -var findIndex = _createPredicateIndexFinder(1); - -module.exports = findIndex; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/findKey.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/findKey.js deleted file mode 100644 index 4f2c2918a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/findKey.js +++ /dev/null @@ -1,14 +0,0 @@ -var _cb = require('./_cb.js'); -var keys = require('./keys.js'); - -// Returns the first key on an object that passes a truth test. -function findKey(obj, predicate, context) { - predicate = _cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } -} - -module.exports = findKey; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/findLastIndex.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/findLastIndex.js deleted file mode 100644 index c9165cba1..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/findLastIndex.js +++ /dev/null @@ -1,6 +0,0 @@ -var _createPredicateIndexFinder = require('./_createPredicateIndexFinder.js'); - -// Returns the last index on an array-like that passes a truth test. -var findLastIndex = _createPredicateIndexFinder(-1); - -module.exports = findLastIndex; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/findWhere.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/findWhere.js deleted file mode 100644 index cf66e0d63..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/findWhere.js +++ /dev/null @@ -1,10 +0,0 @@ -var find = require('./find.js'); -var matcher = require('./matcher.js'); - -// Convenience version of a common use case of `_.find`: getting the first -// object containing specific `key:value` pairs. -function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); -} - -module.exports = findWhere; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/first.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/first.js deleted file mode 100644 index 82b684632..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/first.js +++ /dev/null @@ -1,11 +0,0 @@ -var initial = require('./initial.js'); - -// Get the first element of an array. Passing **n** will return the first N -// values in the array. The **guard** check allows it to work with `_.map`. -function first(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); -} - -module.exports = first; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/flatten.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/flatten.js deleted file mode 100644 index b88783902..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/flatten.js +++ /dev/null @@ -1,9 +0,0 @@ -var _flatten = require('./_flatten.js'); - -// Flatten out an array, either recursively (by default), or up to `depth`. -// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. -function flatten(array, depth) { - return _flatten(array, depth, false); -} - -module.exports = flatten; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/functions.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/functions.js deleted file mode 100644 index f9afb43be..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/functions.js +++ /dev/null @@ -1,12 +0,0 @@ -var isFunction = require('./isFunction.js'); - -// Return a sorted list of the function names available on the object. -function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction(obj[key])) names.push(key); - } - return names.sort(); -} - -module.exports = functions; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/get.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/get.js deleted file mode 100644 index 0f57fe047..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/get.js +++ /dev/null @@ -1,14 +0,0 @@ -var _toPath = require('./_toPath.js'); -var _deepGet = require('./_deepGet.js'); -var isUndefined = require('./isUndefined.js'); - -// Get the value of the (deep) property on `path` from `object`. -// If any property in `path` does not exist or if the value is -// `undefined`, return `defaultValue` instead. -// The `path` is normalized through `_.toPath`. -function get(object, path, defaultValue) { - var value = _deepGet(object, _toPath(path)); - return isUndefined(value) ? defaultValue : value; -} - -module.exports = get; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/groupBy.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/groupBy.js deleted file mode 100644 index f152f9db4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/groupBy.js +++ /dev/null @@ -1,10 +0,0 @@ -var _group = require('./_group.js'); -var _has = require('./_has.js'); - -// Groups the object's values by a criterion. Pass either a string attribute -// to group by, or a function that returns the criterion. -var groupBy = _group(function(result, value, key) { - if (_has(result, key)) result[key].push(value); else result[key] = [value]; -}); - -module.exports = groupBy; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/has.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/has.js deleted file mode 100644 index 26c123d10..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/has.js +++ /dev/null @@ -1,18 +0,0 @@ -var _has = require('./_has.js'); -var _toPath = require('./_toPath.js'); - -// Shortcut function for checking if an object has a given property directly on -// itself (in other words, not on a prototype). Unlike the internal `has` -// function, this public version can also traverse nested properties. -function has(obj, path) { - path = _toPath(path); - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (!_has(obj, key)) return false; - obj = obj[key]; - } - return !!length; -} - -module.exports = has; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/identity.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/identity.js deleted file mode 100644 index d65566a18..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/identity.js +++ /dev/null @@ -1,6 +0,0 @@ -// Keep the identity function around for default iteratees. -function identity(value) { - return value; -} - -module.exports = identity; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/index-default.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/index-default.js deleted file mode 100644 index 46859496e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/index-default.js +++ /dev/null @@ -1,11 +0,0 @@ -var index = require('./index.js'); -var mixin = require('./mixin.js'); - -// Default Export - -// Add all of the Underscore functions to the wrapper object. -var _ = mixin(index); -// Legacy Node.js API. -_._ = _; - -module.exports = _; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/index.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/index.js deleted file mode 100644 index cb06a751a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/index.js +++ /dev/null @@ -1,278 +0,0 @@ -Object.defineProperty(exports, '__esModule', { value: true }); - -var _setup = require('./_setup.js'); -var restArguments = require('./restArguments.js'); -var isObject = require('./isObject.js'); -var isNull = require('./isNull.js'); -var isUndefined = require('./isUndefined.js'); -var isBoolean = require('./isBoolean.js'); -var isElement = require('./isElement.js'); -var isString = require('./isString.js'); -var isNumber = require('./isNumber.js'); -var isDate = require('./isDate.js'); -var isRegExp = require('./isRegExp.js'); -var isError = require('./isError.js'); -var isSymbol = require('./isSymbol.js'); -var isArrayBuffer = require('./isArrayBuffer.js'); -var isDataView = require('./isDataView.js'); -var isArray = require('./isArray.js'); -var isFunction = require('./isFunction.js'); -var isArguments = require('./isArguments.js'); -var _isFinite = require('./isFinite.js'); -var _isNaN = require('./isNaN.js'); -var isTypedArray = require('./isTypedArray.js'); -var isEmpty = require('./isEmpty.js'); -var isMatch = require('./isMatch.js'); -var isEqual = require('./isEqual.js'); -var isMap = require('./isMap.js'); -var isWeakMap = require('./isWeakMap.js'); -var isSet = require('./isSet.js'); -var isWeakSet = require('./isWeakSet.js'); -var keys = require('./keys.js'); -var allKeys = require('./allKeys.js'); -var values = require('./values.js'); -var pairs = require('./pairs.js'); -var invert = require('./invert.js'); -var functions = require('./functions.js'); -var extend = require('./extend.js'); -var extendOwn = require('./extendOwn.js'); -var defaults = require('./defaults.js'); -var create = require('./create.js'); -var clone = require('./clone.js'); -var tap = require('./tap.js'); -var get = require('./get.js'); -var has = require('./has.js'); -var mapObject = require('./mapObject.js'); -var identity = require('./identity.js'); -var constant = require('./constant.js'); -var noop = require('./noop.js'); -var toPath = require('./toPath.js'); -var property = require('./property.js'); -var propertyOf = require('./propertyOf.js'); -var matcher = require('./matcher.js'); -var times = require('./times.js'); -var random = require('./random.js'); -var now = require('./now.js'); -var _escape = require('./escape.js'); -var _unescape = require('./unescape.js'); -var templateSettings = require('./templateSettings.js'); -var template = require('./template.js'); -var result = require('./result.js'); -var uniqueId = require('./uniqueId.js'); -var chain = require('./chain.js'); -var iteratee = require('./iteratee.js'); -var partial = require('./partial.js'); -var bind = require('./bind.js'); -var bindAll = require('./bindAll.js'); -var memoize = require('./memoize.js'); -var delay = require('./delay.js'); -var defer = require('./defer.js'); -var throttle = require('./throttle.js'); -var debounce = require('./debounce.js'); -var wrap = require('./wrap.js'); -var negate = require('./negate.js'); -var compose = require('./compose.js'); -var after = require('./after.js'); -var before = require('./before.js'); -var once = require('./once.js'); -var findKey = require('./findKey.js'); -var findIndex = require('./findIndex.js'); -var findLastIndex = require('./findLastIndex.js'); -var sortedIndex = require('./sortedIndex.js'); -var indexOf = require('./indexOf.js'); -var lastIndexOf = require('./lastIndexOf.js'); -var find = require('./find.js'); -var findWhere = require('./findWhere.js'); -var each = require('./each.js'); -var map = require('./map.js'); -var reduce = require('./reduce.js'); -var reduceRight = require('./reduceRight.js'); -var filter = require('./filter.js'); -var reject = require('./reject.js'); -var every = require('./every.js'); -var some = require('./some.js'); -var contains = require('./contains.js'); -var invoke = require('./invoke.js'); -var pluck = require('./pluck.js'); -var where = require('./where.js'); -var max = require('./max.js'); -var min = require('./min.js'); -var shuffle = require('./shuffle.js'); -var sample = require('./sample.js'); -var sortBy = require('./sortBy.js'); -var groupBy = require('./groupBy.js'); -var indexBy = require('./indexBy.js'); -var countBy = require('./countBy.js'); -var partition = require('./partition.js'); -var toArray = require('./toArray.js'); -var size = require('./size.js'); -var pick = require('./pick.js'); -var omit = require('./omit.js'); -var first = require('./first.js'); -var initial = require('./initial.js'); -var last = require('./last.js'); -var rest = require('./rest.js'); -var compact = require('./compact.js'); -var flatten = require('./flatten.js'); -var without = require('./without.js'); -var uniq = require('./uniq.js'); -var union = require('./union.js'); -var intersection = require('./intersection.js'); -var difference = require('./difference.js'); -var unzip = require('./unzip.js'); -var zip = require('./zip.js'); -var object = require('./object.js'); -var range = require('./range.js'); -var chunk = require('./chunk.js'); -var mixin = require('./mixin.js'); -require('./underscore-array-methods.js'); -var underscore = require('./underscore.js'); - -// Named Exports - -exports.VERSION = _setup.VERSION; -exports.restArguments = restArguments; -exports.isObject = isObject; -exports.isNull = isNull; -exports.isUndefined = isUndefined; -exports.isBoolean = isBoolean; -exports.isElement = isElement; -exports.isString = isString; -exports.isNumber = isNumber; -exports.isDate = isDate; -exports.isRegExp = isRegExp; -exports.isError = isError; -exports.isSymbol = isSymbol; -exports.isArrayBuffer = isArrayBuffer; -exports.isDataView = isDataView; -exports.isArray = isArray; -exports.isFunction = isFunction; -exports.isArguments = isArguments; -exports.isFinite = _isFinite; -exports.isNaN = _isNaN; -exports.isTypedArray = isTypedArray; -exports.isEmpty = isEmpty; -exports.isMatch = isMatch; -exports.isEqual = isEqual; -exports.isMap = isMap; -exports.isWeakMap = isWeakMap; -exports.isSet = isSet; -exports.isWeakSet = isWeakSet; -exports.keys = keys; -exports.allKeys = allKeys; -exports.values = values; -exports.pairs = pairs; -exports.invert = invert; -exports.functions = functions; -exports.methods = functions; -exports.extend = extend; -exports.assign = extendOwn; -exports.extendOwn = extendOwn; -exports.defaults = defaults; -exports.create = create; -exports.clone = clone; -exports.tap = tap; -exports.get = get; -exports.has = has; -exports.mapObject = mapObject; -exports.identity = identity; -exports.constant = constant; -exports.noop = noop; -exports.toPath = toPath; -exports.property = property; -exports.propertyOf = propertyOf; -exports.matcher = matcher; -exports.matches = matcher; -exports.times = times; -exports.random = random; -exports.now = now; -exports.escape = _escape; -exports.unescape = _unescape; -exports.templateSettings = templateSettings; -exports.template = template; -exports.result = result; -exports.uniqueId = uniqueId; -exports.chain = chain; -exports.iteratee = iteratee; -exports.partial = partial; -exports.bind = bind; -exports.bindAll = bindAll; -exports.memoize = memoize; -exports.delay = delay; -exports.defer = defer; -exports.throttle = throttle; -exports.debounce = debounce; -exports.wrap = wrap; -exports.negate = negate; -exports.compose = compose; -exports.after = after; -exports.before = before; -exports.once = once; -exports.findKey = findKey; -exports.findIndex = findIndex; -exports.findLastIndex = findLastIndex; -exports.sortedIndex = sortedIndex; -exports.indexOf = indexOf; -exports.lastIndexOf = lastIndexOf; -exports.detect = find; -exports.find = find; -exports.findWhere = findWhere; -exports.each = each; -exports.forEach = each; -exports.collect = map; -exports.map = map; -exports.foldl = reduce; -exports.inject = reduce; -exports.reduce = reduce; -exports.foldr = reduceRight; -exports.reduceRight = reduceRight; -exports.filter = filter; -exports.select = filter; -exports.reject = reject; -exports.all = every; -exports.every = every; -exports.any = some; -exports.some = some; -exports.contains = contains; -exports.include = contains; -exports.includes = contains; -exports.invoke = invoke; -exports.pluck = pluck; -exports.where = where; -exports.max = max; -exports.min = min; -exports.shuffle = shuffle; -exports.sample = sample; -exports.sortBy = sortBy; -exports.groupBy = groupBy; -exports.indexBy = indexBy; -exports.countBy = countBy; -exports.partition = partition; -exports.toArray = toArray; -exports.size = size; -exports.pick = pick; -exports.omit = omit; -exports.first = first; -exports.head = first; -exports.take = first; -exports.initial = initial; -exports.last = last; -exports.drop = rest; -exports.rest = rest; -exports.tail = rest; -exports.compact = compact; -exports.flatten = flatten; -exports.without = without; -exports.uniq = uniq; -exports.unique = uniq; -exports.union = union; -exports.intersection = intersection; -exports.difference = difference; -exports.transpose = unzip; -exports.unzip = unzip; -exports.zip = zip; -exports.object = object; -exports.range = range; -exports.chunk = chunk; -exports.mixin = mixin; -exports.default = underscore; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/indexBy.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/indexBy.js deleted file mode 100644 index 89ff21af5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/indexBy.js +++ /dev/null @@ -1,9 +0,0 @@ -var _group = require('./_group.js'); - -// Indexes the object's values by a criterion, similar to `_.groupBy`, but for -// when you know that your index values will be unique. -var indexBy = _group(function(result, value, key) { - result[key] = value; -}); - -module.exports = indexBy; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/indexOf.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/indexOf.js deleted file mode 100644 index ef3352b06..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/indexOf.js +++ /dev/null @@ -1,11 +0,0 @@ -var sortedIndex = require('./sortedIndex.js'); -var findIndex = require('./findIndex.js'); -var _createIndexFinder = require('./_createIndexFinder.js'); - -// Return the position of the first occurrence of an item in an array, -// or -1 if the item is not included in the array. -// If the array is large and already in sort order, pass `true` -// for **isSorted** to use binary search. -var indexOf = _createIndexFinder(1, findIndex, sortedIndex); - -module.exports = indexOf; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/initial.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/initial.js deleted file mode 100644 index 9db2cd280..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/initial.js +++ /dev/null @@ -1,10 +0,0 @@ -var _setup = require('./_setup.js'); - -// Returns everything but the last entry of the array. Especially useful on -// the arguments object. Passing **n** will return all the values in -// the array, excluding the last N. -function initial(array, n, guard) { - return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); -} - -module.exports = initial; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/intersection.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/intersection.js deleted file mode 100644 index e28fe2fd8..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/intersection.js +++ /dev/null @@ -1,21 +0,0 @@ -var _getLength = require('./_getLength.js'); -var contains = require('./contains.js'); - -// Produce an array that contains every item shared between all the -// passed-in arrays. -function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = _getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; -} - -module.exports = intersection; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/invert.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/invert.js deleted file mode 100644 index a0c51506b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/invert.js +++ /dev/null @@ -1,13 +0,0 @@ -var keys = require('./keys.js'); - -// Invert the keys and values of an object. The values must be serializable. -function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; - } - return result; -} - -module.exports = invert; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/invoke.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/invoke.js deleted file mode 100644 index e2f1267cb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/invoke.js +++ /dev/null @@ -1,30 +0,0 @@ -var restArguments = require('./restArguments.js'); -var isFunction = require('./isFunction.js'); -var map = require('./map.js'); -var _deepGet = require('./_deepGet.js'); -var _toPath = require('./_toPath.js'); - -// Invoke a method (with arguments) on every item in a collection. -var invoke = restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction(path)) { - func = path; - } else { - path = _toPath(path); - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = _deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); -}); - -module.exports = invoke; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isArguments.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isArguments.js deleted file mode 100644 index 8b33b111d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isArguments.js +++ /dev/null @@ -1,18 +0,0 @@ -var _tagTester = require('./_tagTester.js'); -var _has = require('./_has.js'); - -var isArguments = _tagTester('Arguments'); - -// Define a fallback version of the method in browsers (ahem, IE < 9), where -// there isn't any inspectable "Arguments" type. -(function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return _has(obj, 'callee'); - }; - } -}()); - -var isArguments$1 = isArguments; - -module.exports = isArguments$1; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isArray.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isArray.js deleted file mode 100644 index abcdad3ae..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isArray.js +++ /dev/null @@ -1,8 +0,0 @@ -var _setup = require('./_setup.js'); -var _tagTester = require('./_tagTester.js'); - -// Is a given value an array? -// Delegates to ECMA5's native `Array.isArray`. -var isArray = _setup.nativeIsArray || _tagTester('Array'); - -module.exports = isArray; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isArrayBuffer.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isArrayBuffer.js deleted file mode 100644 index c69523f38..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isArrayBuffer.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var isArrayBuffer = _tagTester('ArrayBuffer'); - -module.exports = isArrayBuffer; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isBoolean.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isBoolean.js deleted file mode 100644 index 29b82d811..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isBoolean.js +++ /dev/null @@ -1,8 +0,0 @@ -var _setup = require('./_setup.js'); - -// Is a given value a boolean? -function isBoolean(obj) { - return obj === true || obj === false || _setup.toString.call(obj) === '[object Boolean]'; -} - -module.exports = isBoolean; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isDataView.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isDataView.js deleted file mode 100644 index e74b6ec22..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isDataView.js +++ /dev/null @@ -1,16 +0,0 @@ -var _tagTester = require('./_tagTester.js'); -var isFunction = require('./isFunction.js'); -var isArrayBuffer = require('./isArrayBuffer.js'); -var _stringTagBug = require('./_stringTagBug.js'); - -var isDataView = _tagTester('DataView'); - -// In IE 10 - Edge 13, we need a different heuristic -// to determine whether an object is a `DataView`. -function ie10IsDataView(obj) { - return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer); -} - -var isDataView$1 = (_stringTagBug.hasStringTagBug ? ie10IsDataView : isDataView); - -module.exports = isDataView$1; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isDate.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isDate.js deleted file mode 100644 index e342bc900..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isDate.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var isDate = _tagTester('Date'); - -module.exports = isDate; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isElement.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isElement.js deleted file mode 100644 index 13b63ccf6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isElement.js +++ /dev/null @@ -1,6 +0,0 @@ -// Is a given value a DOM element? -function isElement(obj) { - return !!(obj && obj.nodeType === 1); -} - -module.exports = isElement; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isEmpty.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isEmpty.js deleted file mode 100644 index 2f1e315ab..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isEmpty.js +++ /dev/null @@ -1,20 +0,0 @@ -var _getLength = require('./_getLength.js'); -var isArray = require('./isArray.js'); -var isString = require('./isString.js'); -var isArguments = require('./isArguments.js'); -var keys = require('./keys.js'); - -// Is a given array, string, or object empty? -// An "empty" object has no enumerable own-properties. -function isEmpty(obj) { - if (obj == null) return true; - // Skip the more expensive `toString`-based type checks if `obj` has no - // `.length`. - var length = _getLength(obj); - if (typeof length == 'number' && ( - isArray(obj) || isString(obj) || isArguments(obj) - )) return length === 0; - return _getLength(keys(obj)) === 0; -} - -module.exports = isEmpty; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isEqual.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isEqual.js deleted file mode 100644 index 34bf5e629..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isEqual.js +++ /dev/null @@ -1,140 +0,0 @@ -var underscore = require('./underscore.js'); -var _setup = require('./_setup.js'); -var _getByteLength = require('./_getByteLength.js'); -var isTypedArray = require('./isTypedArray.js'); -var isFunction = require('./isFunction.js'); -var _stringTagBug = require('./_stringTagBug.js'); -var isDataView = require('./isDataView.js'); -var keys = require('./keys.js'); -var _has = require('./_has.js'); -var _toBufferView = require('./_toBufferView.js'); - -// We use this string twice, so give it a name for minification. -var tagDataView = '[object DataView]'; - -// Internal recursive comparison function for `_.isEqual`. -function eq(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // `null` or `undefined` only equal to itself (strict comparison). - if (a == null || b == null) return false; - // `NaN`s are equivalent, but non-reflexive. - if (a !== a) return b !== b; - // Exhaust primitive checks - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); -} - -// Internal recursive comparison function for `_.isEqual`. -function deepEq(a, b, aStack, bStack) { - // Unwrap any wrapped objects. - if (a instanceof underscore) a = a._wrapped; - if (b instanceof underscore) b = b._wrapped; - // Compare `[[Class]]` names. - var className = _setup.toString.call(a); - if (className !== _setup.toString.call(b)) return false; - // Work around a bug in IE 10 - Edge 13. - if (_stringTagBug.hasStringTagBug && className == '[object Object]' && isDataView(a)) { - if (!isDataView(b)) return false; - className = tagDataView; - } - switch (className) { - // These types are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN. - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - case '[object Symbol]': - return _setup.SymbolProto.valueOf.call(a) === _setup.SymbolProto.valueOf.call(b); - case '[object ArrayBuffer]': - case tagDataView: - // Coerce to typed array so we can fall through. - return deepEq(_toBufferView(a), _toBufferView(b), aStack, bStack); - } - - var areArrays = className === '[object Array]'; - if (!areArrays && isTypedArray(a)) { - var byteLength = _getByteLength(a); - if (byteLength !== _getByteLength(b)) return false; - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; - areArrays = true; - } - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor && - isFunction(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var _keys = keys(a), key; - length = _keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = _keys[length]; - if (!(_has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; -} - -// Perform a deep comparison to check if two objects are equal. -function isEqual(a, b) { - return eq(a, b); -} - -module.exports = isEqual; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isError.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isError.js deleted file mode 100644 index a2df91425..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isError.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var isError = _tagTester('Error'); - -module.exports = isError; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isFinite.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isFinite.js deleted file mode 100644 index 5359c3a69..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isFinite.js +++ /dev/null @@ -1,9 +0,0 @@ -var _setup = require('./_setup.js'); -var isSymbol = require('./isSymbol.js'); - -// Is a given object a finite number? -function isFinite(obj) { - return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj)); -} - -module.exports = isFinite; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isFunction.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isFunction.js deleted file mode 100644 index a1c5968a4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isFunction.js +++ /dev/null @@ -1,17 +0,0 @@ -var _tagTester = require('./_tagTester.js'); -var _setup = require('./_setup.js'); - -var isFunction = _tagTester('Function'); - -// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old -// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). -var nodelist = _setup.root.document && _setup.root.document.childNodes; -if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; -} - -var isFunction$1 = isFunction; - -module.exports = isFunction$1; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isMap.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isMap.js deleted file mode 100644 index a7dfb03bd..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isMap.js +++ /dev/null @@ -1,7 +0,0 @@ -var _tagTester = require('./_tagTester.js'); -var _stringTagBug = require('./_stringTagBug.js'); -var _methodFingerprint = require('./_methodFingerprint.js'); - -var isMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.mapMethods) : _tagTester('Map'); - -module.exports = isMap; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isMatch.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isMatch.js deleted file mode 100644 index 7b6c50008..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isMatch.js +++ /dev/null @@ -1,15 +0,0 @@ -var keys = require('./keys.js'); - -// Returns whether an object has a given set of `key:value` pairs. -function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; -} - -module.exports = isMatch; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isNaN.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isNaN.js deleted file mode 100644 index f6ade7e81..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isNaN.js +++ /dev/null @@ -1,9 +0,0 @@ -var _setup = require('./_setup.js'); -var isNumber = require('./isNumber.js'); - -// Is the given value `NaN`? -function isNaN(obj) { - return isNumber(obj) && _setup._isNaN(obj); -} - -module.exports = isNaN; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isNull.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isNull.js deleted file mode 100644 index 43705a421..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isNull.js +++ /dev/null @@ -1,6 +0,0 @@ -// Is a given value equal to null? -function isNull(obj) { - return obj === null; -} - -module.exports = isNull; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isNumber.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isNumber.js deleted file mode 100644 index 52d5b448e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isNumber.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var isNumber = _tagTester('Number'); - -module.exports = isNumber; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isObject.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isObject.js deleted file mode 100644 index 10f6aef7f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isObject.js +++ /dev/null @@ -1,7 +0,0 @@ -// Is a given variable an object? -function isObject(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; -} - -module.exports = isObject; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isRegExp.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isRegExp.js deleted file mode 100644 index 3026bab9c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isRegExp.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var isRegExp = _tagTester('RegExp'); - -module.exports = isRegExp; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isSet.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isSet.js deleted file mode 100644 index a28c1d94c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isSet.js +++ /dev/null @@ -1,7 +0,0 @@ -var _tagTester = require('./_tagTester.js'); -var _stringTagBug = require('./_stringTagBug.js'); -var _methodFingerprint = require('./_methodFingerprint.js'); - -var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set'); - -module.exports = isSet; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isString.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isString.js deleted file mode 100644 index c7c388746..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isString.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var isString = _tagTester('String'); - -module.exports = isString; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isSymbol.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isSymbol.js deleted file mode 100644 index 140a54ef8..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isSymbol.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var isSymbol = _tagTester('Symbol'); - -module.exports = isSymbol; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isTypedArray.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isTypedArray.js deleted file mode 100644 index c3b467f07..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isTypedArray.js +++ /dev/null @@ -1,17 +0,0 @@ -var _setup = require('./_setup.js'); -var isDataView = require('./isDataView.js'); -var constant = require('./constant.js'); -var _isBufferLike = require('./_isBufferLike.js'); - -// Is a given value a typed array? -var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; -function isTypedArray(obj) { - // `ArrayBuffer.isView` is the most future-proof, so use it when available. - // Otherwise, fall back on the above regular expression. - return _setup.nativeIsView ? (_setup.nativeIsView(obj) && !isDataView(obj)) : - _isBufferLike(obj) && typedArrayPattern.test(_setup.toString.call(obj)); -} - -var isTypedArray$1 = _setup.supportsArrayBuffer ? isTypedArray : constant(false); - -module.exports = isTypedArray$1; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isUndefined.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isUndefined.js deleted file mode 100644 index e59c968b5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isUndefined.js +++ /dev/null @@ -1,6 +0,0 @@ -// Is a given variable undefined? -function isUndefined(obj) { - return obj === void 0; -} - -module.exports = isUndefined; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isWeakMap.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isWeakMap.js deleted file mode 100644 index ee3c10e7d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isWeakMap.js +++ /dev/null @@ -1,7 +0,0 @@ -var _tagTester = require('./_tagTester.js'); -var _stringTagBug = require('./_stringTagBug.js'); -var _methodFingerprint = require('./_methodFingerprint.js'); - -var isWeakMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.weakMapMethods) : _tagTester('WeakMap'); - -module.exports = isWeakMap; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/isWeakSet.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/isWeakSet.js deleted file mode 100644 index 06104ea66..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/isWeakSet.js +++ /dev/null @@ -1,5 +0,0 @@ -var _tagTester = require('./_tagTester.js'); - -var isWeakSet = _tagTester('WeakSet'); - -module.exports = isWeakSet; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/iteratee.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/iteratee.js deleted file mode 100644 index 52b52758f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/iteratee.js +++ /dev/null @@ -1,12 +0,0 @@ -var underscore = require('./underscore.js'); -var _baseIteratee = require('./_baseIteratee.js'); - -// External wrapper for our callback generator. Users may customize -// `_.iteratee` if they want additional predicate/iteratee shorthand styles. -// This abstraction hides the internal-only `argCount` argument. -function iteratee(value, context) { - return _baseIteratee(value, context, Infinity); -} -underscore.iteratee = iteratee; - -module.exports = iteratee; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/keys.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/keys.js deleted file mode 100644 index 9caff2503..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/keys.js +++ /dev/null @@ -1,18 +0,0 @@ -var isObject = require('./isObject.js'); -var _setup = require('./_setup.js'); -var _has = require('./_has.js'); -var _collectNonEnumProps = require('./_collectNonEnumProps.js'); - -// Retrieve the names of an object's own properties. -// Delegates to **ECMAScript 5**'s native `Object.keys`. -function keys(obj) { - if (!isObject(obj)) return []; - if (_setup.nativeKeys) return _setup.nativeKeys(obj); - var keys = []; - for (var key in obj) if (_has(obj, key)) keys.push(key); - // Ahem, IE < 9. - if (_setup.hasEnumBug) _collectNonEnumProps(obj, keys); - return keys; -} - -module.exports = keys; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/last.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/last.js deleted file mode 100644 index 9a9ff6d13..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/last.js +++ /dev/null @@ -1,11 +0,0 @@ -var rest = require('./rest.js'); - -// Get the last element of an array. Passing **n** will return the last N -// values in the array. -function last(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); -} - -module.exports = last; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/lastIndexOf.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/lastIndexOf.js deleted file mode 100644 index d7af8580c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/lastIndexOf.js +++ /dev/null @@ -1,8 +0,0 @@ -var findLastIndex = require('./findLastIndex.js'); -var _createIndexFinder = require('./_createIndexFinder.js'); - -// Return the position of the last occurrence of an item in an array, -// or -1 if the item is not included in the array. -var lastIndexOf = _createIndexFinder(-1, findLastIndex); - -module.exports = lastIndexOf; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/map.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/map.js deleted file mode 100644 index e44d51d76..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/map.js +++ /dev/null @@ -1,18 +0,0 @@ -var _cb = require('./_cb.js'); -var _isArrayLike = require('./_isArrayLike.js'); -var keys = require('./keys.js'); - -// Return the results of applying the iteratee to each element. -function map(obj, iteratee, context) { - iteratee = _cb(iteratee, context); - var _keys = !_isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; -} - -module.exports = map; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/mapObject.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/mapObject.js deleted file mode 100644 index 883caa75f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/mapObject.js +++ /dev/null @@ -1,18 +0,0 @@ -var _cb = require('./_cb.js'); -var keys = require('./keys.js'); - -// Returns the results of applying the `iteratee` to each element of `obj`. -// In contrast to `_.map` it returns an object. -function mapObject(obj, iteratee, context) { - iteratee = _cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; -} - -module.exports = mapObject; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/matcher.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/matcher.js deleted file mode 100644 index 579f8a8dd..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/matcher.js +++ /dev/null @@ -1,13 +0,0 @@ -var extendOwn = require('./extendOwn.js'); -var isMatch = require('./isMatch.js'); - -// Returns a predicate for checking whether an object has a given set of -// `key:value` pairs. -function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; -} - -module.exports = matcher; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/max.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/max.js deleted file mode 100644 index 0064f1beb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/max.js +++ /dev/null @@ -1,31 +0,0 @@ -var _isArrayLike = require('./_isArrayLike.js'); -var values = require('./values.js'); -var _cb = require('./_cb.js'); -var each = require('./each.js'); - -// Return the maximum element (or element-based computation). -function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = _isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = _cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; -} - -module.exports = max; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/memoize.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/memoize.js deleted file mode 100644 index 9d5b4e2df..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/memoize.js +++ /dev/null @@ -1,15 +0,0 @@ -var _has = require('./_has.js'); - -// Memoize an expensive function by storing its results. -function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!_has(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; -} - -module.exports = memoize; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/min.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/min.js deleted file mode 100644 index 507d2f1c0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/min.js +++ /dev/null @@ -1,31 +0,0 @@ -var _isArrayLike = require('./_isArrayLike.js'); -var values = require('./values.js'); -var _cb = require('./_cb.js'); -var each = require('./each.js'); - -// Return the minimum element (or element-based computation). -function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = _isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = _cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; -} - -module.exports = min; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/mixin.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/mixin.js deleted file mode 100644 index a0fbb3a47..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/mixin.js +++ /dev/null @@ -1,20 +0,0 @@ -var underscore = require('./underscore.js'); -var each = require('./each.js'); -var functions = require('./functions.js'); -var _setup = require('./_setup.js'); -var _chainResult = require('./_chainResult.js'); - -// Add your own custom functions to the Underscore object. -function mixin(obj) { - each(functions(obj), function(name) { - var func = underscore[name] = obj[name]; - underscore.prototype[name] = function() { - var args = [this._wrapped]; - _setup.push.apply(args, arguments); - return _chainResult(this, func.apply(underscore, args)); - }; - }); - return underscore; -} - -module.exports = mixin; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/negate.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/negate.js deleted file mode 100644 index d4a22ed49..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/negate.js +++ /dev/null @@ -1,8 +0,0 @@ -// Returns a negated version of the passed-in predicate. -function negate(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; -} - -module.exports = negate; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/noop.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/noop.js deleted file mode 100644 index 4d355ba5d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/noop.js +++ /dev/null @@ -1,4 +0,0 @@ -// Predicate-generating function. Often useful outside of Underscore. -function noop(){} - -module.exports = noop; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/now.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/now.js deleted file mode 100644 index 746e66e6d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/now.js +++ /dev/null @@ -1,6 +0,0 @@ -// A (possibly faster) way to get the current timestamp as an integer. -var now = Date.now || function() { - return new Date().getTime(); -}; - -module.exports = now; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/object.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/object.js deleted file mode 100644 index 583b32089..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/object.js +++ /dev/null @@ -1,18 +0,0 @@ -var _getLength = require('./_getLength.js'); - -// Converts lists into objects. Pass either a single array of `[key, value]` -// pairs, or two parallel arrays of the same length -- one of keys, and one of -// the corresponding values. Passing by pairs is the reverse of `_.pairs`. -function object(list, values) { - var result = {}; - for (var i = 0, length = _getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; -} - -module.exports = object; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/omit.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/omit.js deleted file mode 100644 index b80651bf8..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/omit.js +++ /dev/null @@ -1,24 +0,0 @@ -var restArguments = require('./restArguments.js'); -var isFunction = require('./isFunction.js'); -var negate = require('./negate.js'); -var map = require('./map.js'); -var _flatten = require('./_flatten.js'); -var contains = require('./contains.js'); -var pick = require('./pick.js'); - -// Return a copy of the object without the disallowed properties. -var omit = restArguments(function(obj, keys) { - var iteratee = keys[0], context; - if (isFunction(iteratee)) { - iteratee = negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = map(_flatten(keys, false, false), String); - iteratee = function(value, key) { - return !contains(keys, key); - }; - } - return pick(obj, iteratee, context); -}); - -module.exports = omit; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/once.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/once.js deleted file mode 100644 index d9cb81da0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/once.js +++ /dev/null @@ -1,8 +0,0 @@ -var partial = require('./partial.js'); -var before = require('./before.js'); - -// Returns a function that will be executed at most one time, no matter how -// often you call it. Useful for lazy initialization. -var once = partial(before, 2); - -module.exports = once; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/pairs.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/pairs.js deleted file mode 100644 index 399243e0e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/pairs.js +++ /dev/null @@ -1,15 +0,0 @@ -var keys = require('./keys.js'); - -// Convert an object into a list of `[key, value]` pairs. -// The opposite of `_.object` with one argument. -function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; - } - return pairs; -} - -module.exports = pairs; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/partial.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/partial.js deleted file mode 100644 index d6f5bd808..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/partial.js +++ /dev/null @@ -1,25 +0,0 @@ -var restArguments = require('./restArguments.js'); -var _executeBound = require('./_executeBound.js'); -var underscore = require('./underscore.js'); - -// Partially apply a function by creating a version that has had some of its -// arguments pre-filled, without changing its dynamic `this` context. `_` acts -// as a placeholder by default, allowing any combination of arguments to be -// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. -var partial = restArguments(function(func, boundArgs) { - var placeholder = partial.placeholder; - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return _executeBound(func, bound, this, this, args); - }; - return bound; -}); - -partial.placeholder = underscore; - -module.exports = partial; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/partition.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/partition.js deleted file mode 100644 index 294786fe6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/partition.js +++ /dev/null @@ -1,9 +0,0 @@ -var _group = require('./_group.js'); - -// Split a collection into two arrays: one whose elements all pass the given -// truth test, and one whose elements all do not pass the truth test. -var partition = _group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); -}, true); - -module.exports = partition; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/pick.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/pick.js deleted file mode 100644 index df742202e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/pick.js +++ /dev/null @@ -1,28 +0,0 @@ -var restArguments = require('./restArguments.js'); -var isFunction = require('./isFunction.js'); -var _optimizeCb = require('./_optimizeCb.js'); -var allKeys = require('./allKeys.js'); -var _keyInObj = require('./_keyInObj.js'); -var _flatten = require('./_flatten.js'); - -// Return a copy of the object only containing the allowed properties. -var pick = restArguments(function(obj, keys) { - var result = {}, iteratee = keys[0]; - if (obj == null) return result; - if (isFunction(iteratee)) { - if (keys.length > 1) iteratee = _optimizeCb(iteratee, keys[1]); - keys = allKeys(obj); - } else { - iteratee = _keyInObj; - keys = _flatten(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; -}); - -module.exports = pick; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/pluck.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/pluck.js deleted file mode 100644 index 043c1b404..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/pluck.js +++ /dev/null @@ -1,9 +0,0 @@ -var map = require('./map.js'); -var property = require('./property.js'); - -// Convenience version of a common use case of `_.map`: fetching a property. -function pluck(obj, key) { - return map(obj, property(key)); -} - -module.exports = pluck; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/property.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/property.js deleted file mode 100644 index e7b069d65..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/property.js +++ /dev/null @@ -1,13 +0,0 @@ -var _deepGet = require('./_deepGet.js'); -var _toPath = require('./_toPath.js'); - -// Creates a function that, when passed an object, will traverse that object’s -// properties down the given `path`, specified as an array of keys or indices. -function property(path) { - path = _toPath(path); - return function(obj) { - return _deepGet(obj, path); - }; -} - -module.exports = property; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/propertyOf.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/propertyOf.js deleted file mode 100644 index 2039a32e5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/propertyOf.js +++ /dev/null @@ -1,12 +0,0 @@ -var noop = require('./noop.js'); -var get = require('./get.js'); - -// Generates a function for a given object that returns a given property. -function propertyOf(obj) { - if (obj == null) return noop; - return function(path) { - return get(obj, path); - }; -} - -module.exports = propertyOf; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/random.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/random.js deleted file mode 100644 index cb9a0abc5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/random.js +++ /dev/null @@ -1,10 +0,0 @@ -// Return a random integer between `min` and `max` (inclusive). -function random(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); -} - -module.exports = random; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/range.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/range.js deleted file mode 100644 index 7a5a24137..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/range.js +++ /dev/null @@ -1,23 +0,0 @@ -// Generate an integer Array containing an arithmetic progression. A port of -// the native Python `range()` function. See -// [the Python documentation](https://docs.python.org/library/functions.html#range). -function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; -} - -module.exports = range; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/reduce.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/reduce.js deleted file mode 100644 index 170b1b096..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/reduce.js +++ /dev/null @@ -1,7 +0,0 @@ -var _createReduce = require('./_createReduce.js'); - -// **Reduce** builds up a single result from a list of values, aka `inject`, -// or `foldl`. -var reduce = _createReduce(1); - -module.exports = reduce; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/reduceRight.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/reduceRight.js deleted file mode 100644 index 52413d796..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/reduceRight.js +++ /dev/null @@ -1,6 +0,0 @@ -var _createReduce = require('./_createReduce.js'); - -// The right-associative version of reduce, also known as `foldr`. -var reduceRight = _createReduce(-1); - -module.exports = reduceRight; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/reject.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/reject.js deleted file mode 100644 index 8608b63cb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/reject.js +++ /dev/null @@ -1,10 +0,0 @@ -var filter = require('./filter.js'); -var negate = require('./negate.js'); -var _cb = require('./_cb.js'); - -// Return all the elements for which a truth test fails. -function reject(obj, predicate, context) { - return filter(obj, negate(_cb(predicate)), context); -} - -module.exports = reject; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/rest.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/rest.js deleted file mode 100644 index 4ce76623c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/rest.js +++ /dev/null @@ -1,10 +0,0 @@ -var _setup = require('./_setup.js'); - -// Returns everything but the first entry of the `array`. Especially useful on -// the `arguments` object. Passing an **n** will return the rest N values in the -// `array`. -function rest(array, n, guard) { - return _setup.slice.call(array, n == null || guard ? 1 : n); -} - -module.exports = rest; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/restArguments.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/restArguments.js deleted file mode 100644 index b292cb4cb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/restArguments.js +++ /dev/null @@ -1,29 +0,0 @@ -// Some functions take a variable number of arguments, or a few expected -// arguments at the beginning and then a variable number of values to operate -// on. This helper accumulates all remaining arguments past the function’s -// argument length (or an explicit `startIndex`), into an array that becomes -// the last argument. Similar to ES6’s "rest parameter". -function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function() { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0: return func.call(this, rest); - case 1: return func.call(this, arguments[0], rest); - case 2: return func.call(this, arguments[0], arguments[1], rest); - } - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; -} - -module.exports = restArguments; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/result.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/result.js deleted file mode 100644 index 7bd3fb655..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/result.js +++ /dev/null @@ -1,24 +0,0 @@ -var isFunction = require('./isFunction.js'); -var _toPath = require('./_toPath.js'); - -// Traverses the children of `obj` along `path`. If a child is a function, it -// is invoked with its parent as context. Returns the value of the final -// child, or `fallback` if any child is undefined. -function result(obj, path, fallback) { - path = _toPath(path); - var length = path.length; - if (!length) { - return isFunction(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction(prop) ? prop.call(obj) : prop; - } - return obj; -} - -module.exports = result; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/sample.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/sample.js deleted file mode 100644 index a32166f2a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/sample.js +++ /dev/null @@ -1,29 +0,0 @@ -var _isArrayLike = require('./_isArrayLike.js'); -var clone = require('./clone.js'); -var values = require('./values.js'); -var _getLength = require('./_getLength.js'); -var random = require('./random.js'); - -// Sample **n** random values from a collection using the modern version of the -// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). -// If **n** is not specified, returns a single random element. -// The internal `guard` argument allows it to work with `_.map`. -function sample(obj, n, guard) { - if (n == null || guard) { - if (!_isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = _isArrayLike(obj) ? clone(obj) : values(obj); - var length = _getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); -} - -module.exports = sample; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/shuffle.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/shuffle.js deleted file mode 100644 index 2694917eb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/shuffle.js +++ /dev/null @@ -1,8 +0,0 @@ -var sample = require('./sample.js'); - -// Shuffle a collection. -function shuffle(obj) { - return sample(obj, Infinity); -} - -module.exports = shuffle; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/size.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/size.js deleted file mode 100644 index a65f4c083..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/size.js +++ /dev/null @@ -1,10 +0,0 @@ -var _isArrayLike = require('./_isArrayLike.js'); -var keys = require('./keys.js'); - -// Return the number of elements in a collection. -function size(obj) { - if (obj == null) return 0; - return _isArrayLike(obj) ? obj.length : keys(obj).length; -} - -module.exports = size; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/some.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/some.js deleted file mode 100644 index 346752ec4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/some.js +++ /dev/null @@ -1,17 +0,0 @@ -var _cb = require('./_cb.js'); -var _isArrayLike = require('./_isArrayLike.js'); -var keys = require('./keys.js'); - -// Determine if at least one element in the object passes a truth test. -function some(obj, predicate, context) { - predicate = _cb(predicate, context); - var _keys = !_isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; -} - -module.exports = some; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/sortBy.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/sortBy.js deleted file mode 100644 index 28dae07f8..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/sortBy.js +++ /dev/null @@ -1,26 +0,0 @@ -var _cb = require('./_cb.js'); -var pluck = require('./pluck.js'); -var map = require('./map.js'); - -// Sort the object's values by a criterion produced by an iteratee. -function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = _cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); -} - -module.exports = sortBy; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/sortedIndex.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/sortedIndex.js deleted file mode 100644 index 1f2617130..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/sortedIndex.js +++ /dev/null @@ -1,17 +0,0 @@ -var _cb = require('./_cb.js'); -var _getLength = require('./_getLength.js'); - -// Use a comparator function to figure out the smallest index at which -// an object should be inserted so as to maintain order. Uses binary search. -function sortedIndex(array, obj, iteratee, context) { - iteratee = _cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = _getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; -} - -module.exports = sortedIndex; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/tap.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/tap.js deleted file mode 100644 index 3dc681f8b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/tap.js +++ /dev/null @@ -1,9 +0,0 @@ -// Invokes `interceptor` with the `obj` and then returns `obj`. -// The primary purpose of this method is to "tap into" a method chain, in -// order to perform operations on intermediate results within the chain. -function tap(obj, interceptor) { - interceptor(obj); - return obj; -} - -module.exports = tap; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/template.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/template.js deleted file mode 100644 index cf626aa6f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/template.js +++ /dev/null @@ -1,103 +0,0 @@ -var defaults = require('./defaults.js'); -var underscore = require('./underscore.js'); -require('./templateSettings.js'); - -// When customizing `_.templateSettings`, if you don't want to define an -// interpolation, evaluation or escaping regex, we need one that is -// guaranteed not to match. -var noMatch = /(.)^/; - -// Certain characters need to be escaped so that they can be put into a -// string literal. -var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' -}; - -var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - -function escapeChar(match) { - return '\\' + escapes[match]; -} - -// In order to prevent third-party code injection through -// `_.templateSettings.variable`, we test it against the following regular -// expression. It is intentionally a bit more liberal than just matching valid -// identifiers, but still prevents possible loopholes through defaults or -// destructuring assignment. -var bareIdentifier = /^\s*(\w|\$)+\s*$/; - -// JavaScript micro-templating, similar to John Resig's implementation. -// Underscore templating handles arbitrary delimiters, preserves whitespace, -// and correctly escapes quotes within interpolated code. -// NB: `oldSettings` only exists for backwards compatibility. -function template(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = defaults({}, settings, underscore.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offset. - return match; - }); - source += "';\n"; - - var argument = settings.variable; - if (argument) { - // Insure against third-party code injection. (CVE-2021-23358) - if (!bareIdentifier.test(argument)) throw new Error( - 'variable is not a bare identifier: ' + argument - ); - } else { - // If a variable is not specified, place data values in local scope. - source = 'with(obj||{}){\n' + source + '}\n'; - argument = 'obj'; - } - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(argument, '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function(data) { - return render.call(this, data, underscore); - }; - - // Provide the compiled source as a convenience for precompilation. - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; -} - -module.exports = template; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/templateSettings.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/templateSettings.js deleted file mode 100644 index 4b5579893..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/templateSettings.js +++ /dev/null @@ -1,11 +0,0 @@ -var underscore = require('./underscore.js'); - -// By default, Underscore uses ERB-style template delimiters. Change the -// following template settings to use alternative delimiters. -var templateSettings = underscore.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g -}; - -module.exports = templateSettings; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/throttle.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/throttle.js deleted file mode 100644 index 3b013d927..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/throttle.js +++ /dev/null @@ -1,49 +0,0 @@ -var now = require('./now.js'); - -// Returns a function, that, when invoked, will only be triggered at most once -// during a given window of time. Normally, the throttled function will run -// as much as it can, without ever going more than once per `wait` duration; -// but if you'd like to disable the execution on the leading edge, pass -// `{leading: false}`. To disable execution on the trailing edge, ditto. -function throttle(func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function() { - previous = options.leading === false ? 0 : now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function() { - var _now = now(); - if (!previous && options.leading === false) previous = _now; - var remaining = wait - (_now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = _now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function() { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; -} - -module.exports = throttle; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/times.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/times.js deleted file mode 100644 index 0a36b7946..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/times.js +++ /dev/null @@ -1,11 +0,0 @@ -var _optimizeCb = require('./_optimizeCb.js'); - -// Run a function **n** times. -function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = _optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; -} - -module.exports = times; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/toArray.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/toArray.js deleted file mode 100644 index 4f29a058b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/toArray.js +++ /dev/null @@ -1,22 +0,0 @@ -var isArray = require('./isArray.js'); -var _setup = require('./_setup.js'); -var isString = require('./isString.js'); -var _isArrayLike = require('./_isArrayLike.js'); -var map = require('./map.js'); -var identity = require('./identity.js'); -var values = require('./values.js'); - -// Safely create a real, live array from anything iterable. -var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; -function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return _setup.slice.call(obj); - if (isString(obj)) { - // Keep surrogate pair characters together. - return obj.match(reStrSymbol); - } - if (_isArrayLike(obj)) return map(obj, identity); - return values(obj); -} - -module.exports = toArray; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/toPath.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/toPath.js deleted file mode 100644 index 94f41c905..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/toPath.js +++ /dev/null @@ -1,11 +0,0 @@ -var underscore = require('./underscore.js'); -var isArray = require('./isArray.js'); - -// Normalize a (deep) property `path` to array. -// Like `_.iteratee`, this function can be customized. -function toPath(path) { - return isArray(path) ? path : [path]; -} -underscore.toPath = toPath; - -module.exports = toPath; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/underscore-array-methods.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/underscore-array-methods.js deleted file mode 100644 index baf2d18c5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/underscore-array-methods.js +++ /dev/null @@ -1,31 +0,0 @@ -var underscore = require('./underscore.js'); -var each = require('./each.js'); -var _setup = require('./_setup.js'); -var _chainResult = require('./_chainResult.js'); - -// Add all mutator `Array` functions to the wrapper. -each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = _setup.ArrayProto[name]; - underscore.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) { - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) { - delete obj[0]; - } - } - return _chainResult(this, obj); - }; -}); - -// Add all accessor `Array` functions to the wrapper. -each(['concat', 'join', 'slice'], function(name) { - var method = _setup.ArrayProto[name]; - underscore.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) obj = method.apply(obj, arguments); - return _chainResult(this, obj); - }; -}); - -module.exports = underscore; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/underscore.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/underscore.js deleted file mode 100644 index d3cf8091b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/underscore.js +++ /dev/null @@ -1,27 +0,0 @@ -var _setup = require('./_setup.js'); - -// If Underscore is called as a function, it returns a wrapped object that can -// be used OO-style. This wrapper holds altered versions of all functions added -// through `_.mixin`. Wrapped objects may be chained. -function _(obj) { - if (obj instanceof _) return obj; - if (!(this instanceof _)) return new _(obj); - this._wrapped = obj; -} - -_.VERSION = _setup.VERSION; - -// Extracts the result from a wrapped and chained object. -_.prototype.value = function() { - return this._wrapped; -}; - -// Provide unwrapping proxies for some methods used in engine operations -// such as arithmetic and JSON stringification. -_.prototype.valueOf = _.prototype.toJSON = _.prototype.value; - -_.prototype.toString = function() { - return String(this._wrapped); -}; - -module.exports = _; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/unescape.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/unescape.js deleted file mode 100644 index 2d5a59754..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/unescape.js +++ /dev/null @@ -1,7 +0,0 @@ -var _createEscaper = require('./_createEscaper.js'); -var _unescapeMap = require('./_unescapeMap.js'); - -// Function for unescaping strings from HTML interpolation. -var _unescape = _createEscaper(_unescapeMap); - -module.exports = _unescape; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/union.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/union.js deleted file mode 100644 index fb15bcbfa..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/union.js +++ /dev/null @@ -1,11 +0,0 @@ -var restArguments = require('./restArguments.js'); -var uniq = require('./uniq.js'); -var _flatten = require('./_flatten.js'); - -// Produce an array that contains the union: each distinct element from all of -// the passed-in arrays. -var union = restArguments(function(arrays) { - return uniq(_flatten(arrays, true, true)); -}); - -module.exports = union; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/uniq.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/uniq.js deleted file mode 100644 index 2e8f6837d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/uniq.js +++ /dev/null @@ -1,38 +0,0 @@ -var isBoolean = require('./isBoolean.js'); -var _cb = require('./_cb.js'); -var _getLength = require('./_getLength.js'); -var contains = require('./contains.js'); - -// Produce a duplicate-free version of the array. If the array has already -// been sorted, you have the option of using a faster algorithm. -// The faster algorithm will not work with an iteratee if the iteratee -// is not a one-to-one function, so providing an iteratee will disable -// the faster algorithm. -function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = _cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = _getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!contains(result, value)) { - result.push(value); - } - } - return result; -} - -module.exports = uniq; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/uniqueId.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/uniqueId.js deleted file mode 100644 index e639e837e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/uniqueId.js +++ /dev/null @@ -1,9 +0,0 @@ -// Generate a unique integer id (unique within the entire client session). -// Useful for temporary DOM ids. -var idCounter = 0; -function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; -} - -module.exports = uniqueId; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/unzip.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/unzip.js deleted file mode 100644 index 388edc380..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/unzip.js +++ /dev/null @@ -1,17 +0,0 @@ -var max = require('./max.js'); -var _getLength = require('./_getLength.js'); -var pluck = require('./pluck.js'); - -// Complement of zip. Unzip accepts an array of arrays and groups -// each array's elements on shared indices. -function unzip(array) { - var length = array && max(array, _getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); - } - return result; -} - -module.exports = unzip; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/values.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/values.js deleted file mode 100644 index 393c8b7aa..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/values.js +++ /dev/null @@ -1,14 +0,0 @@ -var keys = require('./keys.js'); - -// Retrieve the values of an object's properties. -function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; - } - return values; -} - -module.exports = values; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/where.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/where.js deleted file mode 100644 index 94ccfe7af..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/where.js +++ /dev/null @@ -1,10 +0,0 @@ -var filter = require('./filter.js'); -var matcher = require('./matcher.js'); - -// Convenience version of a common use case of `_.filter`: selecting only -// objects containing specific `key:value` pairs. -function where(obj, attrs) { - return filter(obj, matcher(attrs)); -} - -module.exports = where; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/without.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/without.js deleted file mode 100644 index 5eaa4cdbd..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/without.js +++ /dev/null @@ -1,9 +0,0 @@ -var restArguments = require('./restArguments.js'); -var difference = require('./difference.js'); - -// Return a version of the array that does not contain the specified value(s). -var without = restArguments(function(array, otherArrays) { - return difference(array, otherArrays); -}); - -module.exports = without; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/wrap.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/wrap.js deleted file mode 100644 index e95d5a7f3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/wrap.js +++ /dev/null @@ -1,10 +0,0 @@ -var partial = require('./partial.js'); - -// Returns the first function passed as an argument to the second, -// allowing you to adjust arguments, run code before and after, and -// conditionally execute the original function. -function wrap(func, wrapper) { - return partial(wrapper, func); -} - -module.exports = wrap; diff --git a/node_modules/typed-rest-client/node_modules/underscore/cjs/zip.js b/node_modules/typed-rest-client/node_modules/underscore/cjs/zip.js deleted file mode 100644 index 70cbd3b14..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/cjs/zip.js +++ /dev/null @@ -1,8 +0,0 @@ -var restArguments = require('./restArguments.js'); -var unzip = require('./unzip.js'); - -// Zip together multiple lists into a single array -- elements that share -// an index go together. -var zip = restArguments(unzip); - -module.exports = zip; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/.eslintrc b/node_modules/typed-rest-client/node_modules/underscore/modules/.eslintrc deleted file mode 100644 index b0802cb0d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/.eslintrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parserOptions": { - "ecmaVersion": 6, - "sourceType": "module", - }, - "plugins": [ - "import" - ], - "extends": [ - "plugin:import/errors" - ] -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_baseCreate.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_baseCreate.js deleted file mode 100644 index 032a97281..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_baseCreate.js +++ /dev/null @@ -1,18 +0,0 @@ -import isObject from './isObject.js'; -import { nativeCreate } from './_setup.js'; - -// Create a naked function reference for surrogate-prototype-swapping. -function ctor() { - return function(){}; -} - -// An internal function for creating a new object that inherits from another. -export default function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - var Ctor = ctor(); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_baseIteratee.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_baseIteratee.js deleted file mode 100644 index c276ebec1..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_baseIteratee.js +++ /dev/null @@ -1,17 +0,0 @@ -import identity from './identity.js'; -import isFunction from './isFunction.js'; -import isObject from './isObject.js'; -import isArray from './isArray.js'; -import matcher from './matcher.js'; -import property from './property.js'; -import optimizeCb from './_optimizeCb.js'; - -// An internal function to generate callbacks that can be applied to each -// element in a collection, returning the desired result — either `_.identity`, -// an arbitrary callback, a property matcher, or a property accessor. -export default function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction(value)) return optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_cb.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_cb.js deleted file mode 100644 index 9b8b55571..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_cb.js +++ /dev/null @@ -1,10 +0,0 @@ -import _ from './underscore.js'; -import baseIteratee from './_baseIteratee.js'; -import iteratee from './iteratee.js'; - -// The function we call internally to generate a callback. It invokes -// `_.iteratee` if overridden, otherwise `baseIteratee`. -export default function cb(value, context, argCount) { - if (_.iteratee !== iteratee) return _.iteratee(value, context); - return baseIteratee(value, context, argCount); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_chainResult.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_chainResult.js deleted file mode 100644 index b786520c9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_chainResult.js +++ /dev/null @@ -1,6 +0,0 @@ -import _ from './underscore.js'; - -// Helper function to continue chaining intermediate results. -export default function chainResult(instance, obj) { - return instance._chain ? _(obj).chain() : obj; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_collectNonEnumProps.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_collectNonEnumProps.js deleted file mode 100644 index 18a2af075..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_collectNonEnumProps.js +++ /dev/null @@ -1,40 +0,0 @@ -import { nonEnumerableProps, ObjProto } from './_setup.js'; -import isFunction from './isFunction.js'; -import has from './_has.js'; - -// Internal helper to create a simple lookup structure. -// `collectNonEnumProps` used to depend on `_.contains`, but this led to -// circular imports. `emulatedSet` is a one-off solution that only works for -// arrays of strings. -function emulatedSet(keys) { - var hash = {}; - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; - return { - contains: function(key) { return hash[key]; }, - push: function(key) { - hash[key] = true; - return keys.push(key); - } - }; -} - -// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't -// be iterated by `for key in ...` and thus missed. Extends `keys` in place if -// needed. -export default function collectNonEnumProps(obj, keys) { - keys = emulatedSet(keys); - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = isFunction(constructor) && constructor.prototype || ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (has(obj, prop) && !keys.contains(prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { - keys.push(prop); - } - } -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_createAssigner.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_createAssigner.js deleted file mode 100644 index b10239317..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_createAssigner.js +++ /dev/null @@ -1,18 +0,0 @@ -// An internal function for creating assigner functions. -export default function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_createEscaper.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_createEscaper.js deleted file mode 100644 index 3828b56f3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_createEscaper.js +++ /dev/null @@ -1,17 +0,0 @@ -import keys from './keys.js'; - -// Internal helper to generate functions for escaping and unescaping strings -// to/from HTML interpolation. -export default function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped. - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_createIndexFinder.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_createIndexFinder.js deleted file mode 100644 index eadedef0b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_createIndexFinder.js +++ /dev/null @@ -1,28 +0,0 @@ -import getLength from './_getLength.js'; -import { slice } from './_setup.js'; -import isNaN from './isNaN.js'; - -// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. -export default function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(slice.call(array, i, length), isNaN); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_createPredicateIndexFinder.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_createPredicateIndexFinder.js deleted file mode 100644 index c0659485d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_createPredicateIndexFinder.js +++ /dev/null @@ -1,15 +0,0 @@ -import cb from './_cb.js'; -import getLength from './_getLength.js'; - -// Internal function to generate `_.findIndex` and `_.findLastIndex`. -export default function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = cb(predicate, context); - var length = getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_createReduce.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_createReduce.js deleted file mode 100644 index 20f4ee117..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_createReduce.js +++ /dev/null @@ -1,28 +0,0 @@ -import isArrayLike from './_isArrayLike.js'; -import keys from './keys.js'; -import optimizeCb from './_optimizeCb.js'; - -// Internal helper to create a reducing function, iterating left or right. -export default function createReduce(dir) { - // Wrap code that reassigns argument variables in a separate function than - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_createSizePropertyCheck.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_createSizePropertyCheck.js deleted file mode 100644 index cc38007bc..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_createSizePropertyCheck.js +++ /dev/null @@ -1,9 +0,0 @@ -import { MAX_ARRAY_INDEX } from './_setup.js'; - -// Common internal logic for `isArrayLike` and `isBufferLike`. -export default function createSizePropertyCheck(getSizeProperty) { - return function(collection) { - var sizeProperty = getSizeProperty(collection); - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX; - } -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_deepGet.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_deepGet.js deleted file mode 100644 index 42bbec310..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_deepGet.js +++ /dev/null @@ -1,9 +0,0 @@ -// Internal function to obtain a nested property in `obj` along `path`. -export default function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_escapeMap.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_escapeMap.js deleted file mode 100644 index cc9d615f5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_escapeMap.js +++ /dev/null @@ -1,9 +0,0 @@ -// Internal list of HTML entities for escaping. -export default { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' -}; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_executeBound.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_executeBound.js deleted file mode 100644 index f54fa7802..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_executeBound.js +++ /dev/null @@ -1,13 +0,0 @@ -import baseCreate from './_baseCreate.js'; -import isObject from './isObject.js'; - -// Internal function to execute `sourceFunc` bound to `context` with optional -// `args`. Determines whether to execute a function as a constructor or as a -// normal function. -export default function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (isObject(result)) return result; - return self; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_flatten.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_flatten.js deleted file mode 100644 index 1767a8b8a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_flatten.js +++ /dev/null @@ -1,31 +0,0 @@ -import getLength from './_getLength.js'; -import isArrayLike from './_isArrayLike.js'; -import isArray from './isArray.js'; -import isArguments from './isArguments.js'; - -// Internal implementation of a recursive `flatten` function. -export default function flatten(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (isArray(value) || isArguments(value))) { - // Flatten current level of array or arguments object. - if (depth > 1) { - flatten(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_getByteLength.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_getByteLength.js deleted file mode 100644 index 11e452875..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_getByteLength.js +++ /dev/null @@ -1,4 +0,0 @@ -import shallowProperty from './_shallowProperty.js'; - -// Internal helper to obtain the `byteLength` property of an object. -export default shallowProperty('byteLength'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_getLength.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_getLength.js deleted file mode 100644 index 090b156b0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_getLength.js +++ /dev/null @@ -1,4 +0,0 @@ -import shallowProperty from './_shallowProperty.js'; - -// Internal helper to obtain the `length` property of an object. -export default shallowProperty('length'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_group.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_group.js deleted file mode 100644 index 8fdd9857c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_group.js +++ /dev/null @@ -1,15 +0,0 @@ -import cb from './_cb.js'; -import each from './each.js'; - -// An internal function used for aggregate "group by" operations. -export default function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_has.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_has.js deleted file mode 100644 index 06361812d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_has.js +++ /dev/null @@ -1,6 +0,0 @@ -import { hasOwnProperty } from './_setup.js'; - -// Internal function to check whether `key` is an own property name of `obj`. -export default function has(obj, key) { - return obj != null && hasOwnProperty.call(obj, key); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_hasObjectTag.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_hasObjectTag.js deleted file mode 100644 index 85db78c11..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_hasObjectTag.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('Object'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_isArrayLike.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_isArrayLike.js deleted file mode 100644 index a87fe488b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_isArrayLike.js +++ /dev/null @@ -1,8 +0,0 @@ -import createSizePropertyCheck from './_createSizePropertyCheck.js'; -import getLength from './_getLength.js'; - -// Internal helper for collection methods to determine whether a collection -// should be iterated as an array or as an object. -// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength -// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 -export default createSizePropertyCheck(getLength); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_isBufferLike.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_isBufferLike.js deleted file mode 100644 index 8cab6ee01..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_isBufferLike.js +++ /dev/null @@ -1,6 +0,0 @@ -import createSizePropertyCheck from './_createSizePropertyCheck.js'; -import getByteLength from './_getByteLength.js'; - -// Internal helper to determine whether we should spend extensive checks against -// `ArrayBuffer` et al. -export default createSizePropertyCheck(getByteLength); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_keyInObj.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_keyInObj.js deleted file mode 100644 index f72a85141..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_keyInObj.js +++ /dev/null @@ -1,5 +0,0 @@ -// Internal `_.pick` helper function to determine whether `key` is an enumerable -// property name of `obj`. -export default function keyInObj(value, key, obj) { - return key in obj; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_methodFingerprint.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_methodFingerprint.js deleted file mode 100644 index a1ebff33e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_methodFingerprint.js +++ /dev/null @@ -1,37 +0,0 @@ -import getLength from './_getLength.js'; -import isFunction from './isFunction.js'; -import allKeys from './allKeys.js'; - -// Since the regular `Object.prototype.toString` type tests don't work for -// some types in IE 11, we use a fingerprinting heuristic instead, based -// on the methods. It's not great, but it's the best we got. -// The fingerprint method lists are defined below. -export function ie11fingerprint(methods) { - var length = getLength(methods); - return function(obj) { - if (obj == null) return false; - // `Map`, `WeakMap` and `Set` have no enumerable keys. - var keys = allKeys(obj); - if (getLength(keys)) return false; - for (var i = 0; i < length; i++) { - if (!isFunction(obj[methods[i]])) return false; - } - // If we are testing against `WeakMap`, we need to ensure that - // `obj` doesn't have a `forEach` method in order to distinguish - // it from a regular `Map`. - return methods !== weakMapMethods || !isFunction(obj[forEachName]); - }; -} - -// In the interest of compact minification, we write -// each string in the fingerprints only once. -var forEachName = 'forEach', - hasName = 'has', - commonInit = ['clear', 'delete'], - mapTail = ['get', hasName, 'set']; - -// `Map`, `WeakMap` and `Set` each have slightly different -// combinations of the above sublists. -export var mapMethods = commonInit.concat(forEachName, mapTail), - weakMapMethods = commonInit.concat(mapTail), - setMethods = ['add'].concat(commonInit, forEachName, hasName); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_optimizeCb.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_optimizeCb.js deleted file mode 100644 index 59e40e660..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_optimizeCb.js +++ /dev/null @@ -1,21 +0,0 @@ -// Internal function that returns an efficient (for current engines) version -// of the passed-in callback, to be repeatedly applied in other Underscore -// functions. -export default function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - // The 2-argument case is omitted because we’re not using it. - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_setup.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_setup.js deleted file mode 100644 index c76be4381..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_setup.js +++ /dev/null @@ -1,43 +0,0 @@ -// Current version. -export var VERSION = '1.13.1'; - -// Establish the root object, `window` (`self`) in the browser, `global` -// on the server, or `this` in some virtual machines. We use `self` -// instead of `window` for `WebWorker` support. -export var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || - Function('return this')() || - {}; - -// Save bytes in the minified (but not gzipped) version: -export var ArrayProto = Array.prototype, ObjProto = Object.prototype; -export var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - -// Create quick reference variables for speed access to core prototypes. -export var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - -// Modern feature detection. -export var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', - supportsDataView = typeof DataView !== 'undefined'; - -// All **ECMAScript 5+** native function implementations that we hope to use -// are declared here. -export var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create, - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; - -// Create references to these builtin functions because we override them. -export var _isNaN = isNaN, - _isFinite = isFinite; - -// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. -export var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); -export var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - -// The largest integer that can be represented exactly. -export var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_shallowProperty.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_shallowProperty.js deleted file mode 100644 index 00bf09022..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_shallowProperty.js +++ /dev/null @@ -1,6 +0,0 @@ -// Internal helper to generate a function to obtain property `key` from `obj`. -export default function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_stringTagBug.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_stringTagBug.js deleted file mode 100644 index c85dd85e0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_stringTagBug.js +++ /dev/null @@ -1,10 +0,0 @@ -import { supportsDataView } from './_setup.js'; -import hasObjectTag from './_hasObjectTag.js'; - -// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. -// In IE 11, the most common among them, this problem also applies to -// `Map`, `WeakMap` and `Set`. -export var hasStringTagBug = ( - supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8))) - ), - isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map)); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_tagTester.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_tagTester.js deleted file mode 100644 index 8d417dde3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_tagTester.js +++ /dev/null @@ -1,9 +0,0 @@ -import { toString } from './_setup.js'; - -// Internal function for creating a `toString`-based type tester. -export default function tagTester(name) { - var tag = '[object ' + name + ']'; - return function(obj) { - return toString.call(obj) === tag; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_toBufferView.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_toBufferView.js deleted file mode 100644 index dd646a521..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_toBufferView.js +++ /dev/null @@ -1,11 +0,0 @@ -import getByteLength from './_getByteLength.js'; - -// Internal function to wrap or shallow-copy an ArrayBuffer, -// typed array or DataView to a new view, reusing the buffer. -export default function toBufferView(bufferSource) { - return new Uint8Array( - bufferSource.buffer || bufferSource, - bufferSource.byteOffset || 0, - getByteLength(bufferSource) - ); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_toPath.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_toPath.js deleted file mode 100644 index fad51504c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_toPath.js +++ /dev/null @@ -1,8 +0,0 @@ -import _ from './underscore.js'; -import './toPath.js'; - -// Internal wrapper for `_.toPath` to enable minification. -// Similar to `cb` for `_.iteratee`. -export default function toPath(path) { - return _.toPath(path); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/_unescapeMap.js b/node_modules/typed-rest-client/node_modules/underscore/modules/_unescapeMap.js deleted file mode 100644 index af35e3d70..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/_unescapeMap.js +++ /dev/null @@ -1,5 +0,0 @@ -import invert from './invert.js'; -import escapeMap from './_escapeMap.js'; - -// Internal list of HTML entities for unescaping. -export default invert(escapeMap); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/after.js b/node_modules/typed-rest-client/node_modules/underscore/modules/after.js deleted file mode 100644 index 863e8b517..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/after.js +++ /dev/null @@ -1,8 +0,0 @@ -// Returns a function that will only be executed on and after the Nth call. -export default function after(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/allKeys.js b/node_modules/typed-rest-client/node_modules/underscore/modules/allKeys.js deleted file mode 100644 index 489cead5f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/allKeys.js +++ /dev/null @@ -1,13 +0,0 @@ -import isObject from './isObject.js'; -import { hasEnumBug } from './_setup.js'; -import collectNonEnumProps from './_collectNonEnumProps.js'; - -// Retrieve all the enumerable property names of an object. -export default function allKeys(obj) { - if (!isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/before.js b/node_modules/typed-rest-client/node_modules/underscore/modules/before.js deleted file mode 100644 index 74ec24486..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/before.js +++ /dev/null @@ -1,12 +0,0 @@ -// Returns a function that will only be executed up to (but not including) the -// Nth call. -export default function before(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/bind.js b/node_modules/typed-rest-client/node_modules/underscore/modules/bind.js deleted file mode 100644 index c172e3459..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/bind.js +++ /dev/null @@ -1,13 +0,0 @@ -import restArguments from './restArguments.js'; -import isFunction from './isFunction.js'; -import executeBound from './_executeBound.js'; - -// Create a function bound to a given object (assigning `this`, and arguments, -// optionally). -export default restArguments(function(func, context, args) { - if (!isFunction(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/bindAll.js b/node_modules/typed-rest-client/node_modules/underscore/modules/bindAll.js deleted file mode 100644 index da51aebdb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/bindAll.js +++ /dev/null @@ -1,17 +0,0 @@ -import restArguments from './restArguments.js'; -import flatten from './_flatten.js'; -import bind from './bind.js'; - -// Bind a number of an object's methods to that object. Remaining arguments -// are the method names to be bound. Useful for ensuring that all callbacks -// defined on an object belong to it. -export default restArguments(function(obj, keys) { - keys = flatten(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = bind(obj[key], obj); - } - return obj; -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/chain.js b/node_modules/typed-rest-client/node_modules/underscore/modules/chain.js deleted file mode 100644 index d9dcf057e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/chain.js +++ /dev/null @@ -1,8 +0,0 @@ -import _ from './underscore.js'; - -// Start chaining a wrapped Underscore object. -export default function chain(obj) { - var instance = _(obj); - instance._chain = true; - return instance; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/chunk.js b/node_modules/typed-rest-client/node_modules/underscore/modules/chunk.js deleted file mode 100644 index 5e01af5db..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/chunk.js +++ /dev/null @@ -1,13 +0,0 @@ -import { slice } from './_setup.js'; - -// Chunk a single array into multiple arrays, each containing `count` or fewer -// items. -export default function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(slice.call(array, i, i += count)); - } - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/clone.js b/node_modules/typed-rest-client/node_modules/underscore/modules/clone.js deleted file mode 100644 index b74689b50..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/clone.js +++ /dev/null @@ -1,9 +0,0 @@ -import isObject from './isObject.js'; -import isArray from './isArray.js'; -import extend from './extend.js'; - -// Create a (shallow-cloned) duplicate of an object. -export default function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/compact.js b/node_modules/typed-rest-client/node_modules/underscore/modules/compact.js deleted file mode 100644 index d5d519e38..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/compact.js +++ /dev/null @@ -1,6 +0,0 @@ -import filter from './filter.js'; - -// Trim out all falsy values from an array. -export default function compact(array) { - return filter(array, Boolean); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/compose.js b/node_modules/typed-rest-client/node_modules/underscore/modules/compose.js deleted file mode 100644 index 0d2584c88..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/compose.js +++ /dev/null @@ -1,12 +0,0 @@ -// Returns a function that is the composition of a list of functions, each -// consuming the return value of the function that follows. -export default function compose() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/constant.js b/node_modules/typed-rest-client/node_modules/underscore/modules/constant.js deleted file mode 100644 index 6cfd92ce7..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/constant.js +++ /dev/null @@ -1,6 +0,0 @@ -// Predicate-generating function. Often useful outside of Underscore. -export default function constant(value) { - return function() { - return value; - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/contains.js b/node_modules/typed-rest-client/node_modules/underscore/modules/contains.js deleted file mode 100644 index 11cf64d61..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/contains.js +++ /dev/null @@ -1,10 +0,0 @@ -import isArrayLike from './_isArrayLike.js'; -import values from './values.js'; -import indexOf from './indexOf.js'; - -// Determine if the array or object contains a given item (using `===`). -export default function contains(obj, item, fromIndex, guard) { - if (!isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/countBy.js b/node_modules/typed-rest-client/node_modules/underscore/modules/countBy.js deleted file mode 100644 index 5d4cc7d94..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/countBy.js +++ /dev/null @@ -1,9 +0,0 @@ -import group from './_group.js'; -import has from './_has.js'; - -// Counts instances of an object that group by a certain criterion. Pass -// either a string attribute to count by, or a function that returns the -// criterion. -export default group(function(result, value, key) { - if (has(result, key)) result[key]++; else result[key] = 1; -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/create.js b/node_modules/typed-rest-client/node_modules/underscore/modules/create.js deleted file mode 100644 index 353e5a504..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/create.js +++ /dev/null @@ -1,11 +0,0 @@ -import baseCreate from './_baseCreate.js'; -import extendOwn from './extendOwn.js'; - -// Creates an object that inherits from the given prototype object. -// If additional properties are provided then they will be added to the -// created object. -export default function create(prototype, props) { - var result = baseCreate(prototype); - if (props) extendOwn(result, props); - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/debounce.js b/node_modules/typed-rest-client/node_modules/underscore/modules/debounce.js deleted file mode 100644 index 76e3ae823..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/debounce.js +++ /dev/null @@ -1,40 +0,0 @@ -import restArguments from './restArguments.js'; -import now from './now.js'; - -// When a sequence of calls of the returned function ends, the argument -// function is triggered. The end of a sequence is defined by the `wait` -// parameter. If `immediate` is passed, the argument function will be -// triggered at the beginning of the sequence instead of at the end. -export default function debounce(func, wait, immediate) { - var timeout, previous, args, result, context; - - var later = function() { - var passed = now() - previous; - if (wait > passed) { - timeout = setTimeout(later, wait - passed); - } else { - timeout = null; - if (!immediate) result = func.apply(context, args); - // This check is needed because `func` can recursively invoke `debounced`. - if (!timeout) args = context = null; - } - }; - - var debounced = restArguments(function(_args) { - context = this; - args = _args; - previous = now(); - if (!timeout) { - timeout = setTimeout(later, wait); - if (immediate) result = func.apply(context, args); - } - return result; - }); - - debounced.cancel = function() { - clearTimeout(timeout); - timeout = args = context = null; - }; - - return debounced; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/defaults.js b/node_modules/typed-rest-client/node_modules/underscore/modules/defaults.js deleted file mode 100644 index 48016cca4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/defaults.js +++ /dev/null @@ -1,5 +0,0 @@ -import createAssigner from './_createAssigner.js'; -import allKeys from './allKeys.js'; - -// Fill in a given object with default properties. -export default createAssigner(allKeys, true); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/defer.js b/node_modules/typed-rest-client/node_modules/underscore/modules/defer.js deleted file mode 100644 index 19c85fd5e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/defer.js +++ /dev/null @@ -1,7 +0,0 @@ -import partial from './partial.js'; -import delay from './delay.js'; -import _ from './underscore.js'; - -// Defers a function, scheduling it to run after the current call stack has -// cleared. -export default partial(delay, _, 1); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/delay.js b/node_modules/typed-rest-client/node_modules/underscore/modules/delay.js deleted file mode 100644 index c144a846d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/delay.js +++ /dev/null @@ -1,9 +0,0 @@ -import restArguments from './restArguments.js'; - -// Delays a function for the given number of milliseconds, and then calls -// it with the arguments supplied. -export default restArguments(function(func, wait, args) { - return setTimeout(function() { - return func.apply(null, args); - }, wait); -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/difference.js b/node_modules/typed-rest-client/node_modules/underscore/modules/difference.js deleted file mode 100644 index c769923dd..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/difference.js +++ /dev/null @@ -1,13 +0,0 @@ -import restArguments from './restArguments.js'; -import flatten from './_flatten.js'; -import filter from './filter.js'; -import contains from './contains.js'; - -// Take the difference between one array and a number of other arrays. -// Only the elements present in just the first array will remain. -export default restArguments(function(array, rest) { - rest = flatten(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/each.js b/node_modules/typed-rest-client/node_modules/underscore/modules/each.js deleted file mode 100644 index d05020099..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/each.js +++ /dev/null @@ -1,23 +0,0 @@ -import optimizeCb from './_optimizeCb.js'; -import isArrayLike from './_isArrayLike.js'; -import keys from './keys.js'; - -// The cornerstone for collection functions, an `each` -// implementation, aka `forEach`. -// Handles raw objects in addition to array-likes. Treats all -// sparse array-likes as if they were dense. -export default function each(obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/escape.js b/node_modules/typed-rest-client/node_modules/underscore/modules/escape.js deleted file mode 100644 index 2bcb68f00..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/escape.js +++ /dev/null @@ -1,5 +0,0 @@ -import createEscaper from './_createEscaper.js'; -import escapeMap from './_escapeMap.js'; - -// Function for escaping strings to HTML interpolation. -export default createEscaper(escapeMap); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/every.js b/node_modules/typed-rest-client/node_modules/underscore/modules/every.js deleted file mode 100644 index 9bc1408b4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/every.js +++ /dev/null @@ -1,15 +0,0 @@ -import cb from './_cb.js'; -import isArrayLike from './_isArrayLike.js'; -import keys from './keys.js'; - -// Determine whether all of the elements pass a truth test. -export default function every(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/extend.js b/node_modules/typed-rest-client/node_modules/underscore/modules/extend.js deleted file mode 100644 index e22032b4a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/extend.js +++ /dev/null @@ -1,5 +0,0 @@ -import createAssigner from './_createAssigner.js'; -import allKeys from './allKeys.js'; - -// Extend a given object with all the properties in passed-in object(s). -export default createAssigner(allKeys); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/extendOwn.js b/node_modules/typed-rest-client/node_modules/underscore/modules/extendOwn.js deleted file mode 100644 index 5338451da..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/extendOwn.js +++ /dev/null @@ -1,7 +0,0 @@ -import createAssigner from './_createAssigner.js'; -import keys from './keys.js'; - -// Assigns a given object with all the own properties in the passed-in -// object(s). -// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) -export default createAssigner(keys); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/filter.js b/node_modules/typed-rest-client/node_modules/underscore/modules/filter.js deleted file mode 100644 index d1701125d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/filter.js +++ /dev/null @@ -1,12 +0,0 @@ -import cb from './_cb.js'; -import each from './each.js'; - -// Return all the elements that pass a truth test. -export default function filter(obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/find.js b/node_modules/typed-rest-client/node_modules/underscore/modules/find.js deleted file mode 100644 index d1f4d280e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/find.js +++ /dev/null @@ -1,10 +0,0 @@ -import isArrayLike from './_isArrayLike.js'; -import findIndex from './findIndex.js'; -import findKey from './findKey.js'; - -// Return the first value which passes a truth test. -export default function find(obj, predicate, context) { - var keyFinder = isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/findIndex.js b/node_modules/typed-rest-client/node_modules/underscore/modules/findIndex.js deleted file mode 100644 index b2c87f518..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/findIndex.js +++ /dev/null @@ -1,4 +0,0 @@ -import createPredicateIndexFinder from './_createPredicateIndexFinder.js'; - -// Returns the first index on an array-like that passes a truth test. -export default createPredicateIndexFinder(1); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/findKey.js b/node_modules/typed-rest-client/node_modules/underscore/modules/findKey.js deleted file mode 100644 index e80f1c116..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/findKey.js +++ /dev/null @@ -1,12 +0,0 @@ -import cb from './_cb.js'; -import keys from './keys.js'; - -// Returns the first key on an object that passes a truth test. -export default function findKey(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/findLastIndex.js b/node_modules/typed-rest-client/node_modules/underscore/modules/findLastIndex.js deleted file mode 100644 index 58f26a73f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/findLastIndex.js +++ /dev/null @@ -1,4 +0,0 @@ -import createPredicateIndexFinder from './_createPredicateIndexFinder.js'; - -// Returns the last index on an array-like that passes a truth test. -export default createPredicateIndexFinder(-1); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/findWhere.js b/node_modules/typed-rest-client/node_modules/underscore/modules/findWhere.js deleted file mode 100644 index 6e8bce9e0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/findWhere.js +++ /dev/null @@ -1,8 +0,0 @@ -import find from './find.js'; -import matcher from './matcher.js'; - -// Convenience version of a common use case of `_.find`: getting the first -// object containing specific `key:value` pairs. -export default function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/first.js b/node_modules/typed-rest-client/node_modules/underscore/modules/first.js deleted file mode 100644 index 3b6685e17..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/first.js +++ /dev/null @@ -1,9 +0,0 @@ -import initial from './initial.js'; - -// Get the first element of an array. Passing **n** will return the first N -// values in the array. The **guard** check allows it to work with `_.map`. -export default function first(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/flatten.js b/node_modules/typed-rest-client/node_modules/underscore/modules/flatten.js deleted file mode 100644 index a5f2b5127..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/flatten.js +++ /dev/null @@ -1,7 +0,0 @@ -import _flatten from './_flatten.js'; - -// Flatten out an array, either recursively (by default), or up to `depth`. -// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. -export default function flatten(array, depth) { - return _flatten(array, depth, false); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/functions.js b/node_modules/typed-rest-client/node_modules/underscore/modules/functions.js deleted file mode 100644 index a16e5683b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/functions.js +++ /dev/null @@ -1,10 +0,0 @@ -import isFunction from './isFunction.js'; - -// Return a sorted list of the function names available on the object. -export default function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction(obj[key])) names.push(key); - } - return names.sort(); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/get.js b/node_modules/typed-rest-client/node_modules/underscore/modules/get.js deleted file mode 100644 index 6987abe65..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/get.js +++ /dev/null @@ -1,12 +0,0 @@ -import toPath from './_toPath.js'; -import deepGet from './_deepGet.js'; -import isUndefined from './isUndefined.js'; - -// Get the value of the (deep) property on `path` from `object`. -// If any property in `path` does not exist or if the value is -// `undefined`, return `defaultValue` instead. -// The `path` is normalized through `_.toPath`. -export default function get(object, path, defaultValue) { - var value = deepGet(object, toPath(path)); - return isUndefined(value) ? defaultValue : value; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/groupBy.js b/node_modules/typed-rest-client/node_modules/underscore/modules/groupBy.js deleted file mode 100644 index 2670958d8..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/groupBy.js +++ /dev/null @@ -1,8 +0,0 @@ -import group from './_group.js'; -import has from './_has.js'; - -// Groups the object's values by a criterion. Pass either a string attribute -// to group by, or a function that returns the criterion. -export default group(function(result, value, key) { - if (has(result, key)) result[key].push(value); else result[key] = [value]; -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/has.js b/node_modules/typed-rest-client/node_modules/underscore/modules/has.js deleted file mode 100644 index 72326463d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/has.js +++ /dev/null @@ -1,16 +0,0 @@ -import _has from './_has.js'; -import toPath from './_toPath.js'; - -// Shortcut function for checking if an object has a given property directly on -// itself (in other words, not on a prototype). Unlike the internal `has` -// function, this public version can also traverse nested properties. -export default function has(obj, path) { - path = toPath(path); - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (!_has(obj, key)) return false; - obj = obj[key]; - } - return !!length; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/identity.js b/node_modules/typed-rest-client/node_modules/underscore/modules/identity.js deleted file mode 100644 index 6df631c16..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/identity.js +++ /dev/null @@ -1,4 +0,0 @@ -// Keep the identity function around for default iteratees. -export default function identity(value) { - return value; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/index-all.js b/node_modules/typed-rest-client/node_modules/underscore/modules/index-all.js deleted file mode 100644 index dd2cbc1d2..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/index-all.js +++ /dev/null @@ -1,18 +0,0 @@ -// ESM Exports -// =========== -// This module is the package entry point for ES module users. In other words, -// it is the module they are interfacing with when they import from the whole -// package instead of from a submodule, like this: -// -// ```js -// import { map } from 'underscore'; -// ``` -// -// The difference with `./index-default`, which is the package entry point for -// CommonJS, AMD and UMD users, is purely technical. In ES modules, named and -// default exports are considered to be siblings, so when you have a default -// export, its properties are not automatically available as named exports. For -// this reason, we re-export the named exports in addition to providing the same -// default export as in `./index-default`. -export { default } from './index-default.js'; -export * from './index.js'; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/index-default.js b/node_modules/typed-rest-client/node_modules/underscore/modules/index-default.js deleted file mode 100644 index d3a2b1e8b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/index-default.js +++ /dev/null @@ -1,27 +0,0 @@ -// Default Export -// ============== -// In this module, we mix our bundled exports into the `_` object and export -// the result. This is analogous to setting `module.exports = _` in CommonJS. -// Hence, this module is also the entry point of our UMD bundle and the package -// entry point for CommonJS and AMD users. In other words, this is (the source -// of) the module you are interfacing with when you do any of the following: -// -// ```js -// // CommonJS -// var _ = require('underscore'); -// -// // AMD -// define(['underscore'], function(_) {...}); -// -// // UMD in the browser -// // _ is available as a global variable -// ``` -import * as allExports from './index.js'; -import { mixin } from './index.js'; - -// Add all of the Underscore functions to the wrapper object. -var _ = mixin(allExports); -// Legacy Node.js API. -_._ = _; -// Export the Underscore API. -export default _; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/index.js b/node_modules/typed-rest-client/node_modules/underscore/modules/index.js deleted file mode 100644 index 055b6d56d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/index.js +++ /dev/null @@ -1,200 +0,0 @@ -// Named Exports -// ============= - -// Underscore.js 1.13.1 -// https://underscorejs.org -// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. - -// Baseline setup. -export { VERSION } from './_setup.js'; -export { default as restArguments } from './restArguments.js'; - -// Object Functions -// ---------------- -// Our most fundamental functions operate on any JavaScript object. -// Most functions in Underscore depend on at least one function in this section. - -// A group of functions that check the types of core JavaScript values. -// These are often informally referred to as the "isType" functions. -export { default as isObject } from './isObject.js'; -export { default as isNull } from './isNull.js'; -export { default as isUndefined } from './isUndefined.js'; -export { default as isBoolean } from './isBoolean.js'; -export { default as isElement } from './isElement.js'; -export { default as isString } from './isString.js'; -export { default as isNumber } from './isNumber.js'; -export { default as isDate } from './isDate.js'; -export { default as isRegExp } from './isRegExp.js'; -export { default as isError } from './isError.js'; -export { default as isSymbol } from './isSymbol.js'; -export { default as isArrayBuffer } from './isArrayBuffer.js'; -export { default as isDataView } from './isDataView.js'; -export { default as isArray } from './isArray.js'; -export { default as isFunction } from './isFunction.js'; -export { default as isArguments } from './isArguments.js'; -export { default as isFinite } from './isFinite.js'; -export { default as isNaN } from './isNaN.js'; -export { default as isTypedArray } from './isTypedArray.js'; -export { default as isEmpty } from './isEmpty.js'; -export { default as isMatch } from './isMatch.js'; -export { default as isEqual } from './isEqual.js'; -export { default as isMap } from './isMap.js'; -export { default as isWeakMap } from './isWeakMap.js'; -export { default as isSet } from './isSet.js'; -export { default as isWeakSet } from './isWeakSet.js'; - -// Functions that treat an object as a dictionary of key-value pairs. -export { default as keys } from './keys.js'; -export { default as allKeys } from './allKeys.js'; -export { default as values } from './values.js'; -export { default as pairs } from './pairs.js'; -export { default as invert } from './invert.js'; -export { default as functions, - default as methods } from './functions.js'; -export { default as extend } from './extend.js'; -export { default as extendOwn, - default as assign } from './extendOwn.js'; -export { default as defaults } from './defaults.js'; -export { default as create } from './create.js'; -export { default as clone } from './clone.js'; -export { default as tap } from './tap.js'; -export { default as get } from './get.js'; -export { default as has } from './has.js'; -export { default as mapObject } from './mapObject.js'; - -// Utility Functions -// ----------------- -// A bit of a grab bag: Predicate-generating functions for use with filters and -// loops, string escaping and templating, create random numbers and unique ids, -// and functions that facilitate Underscore's chaining and iteration conventions. -export { default as identity } from './identity.js'; -export { default as constant } from './constant.js'; -export { default as noop } from './noop.js'; -export { default as toPath } from './toPath.js'; -export { default as property } from './property.js'; -export { default as propertyOf } from './propertyOf.js'; -export { default as matcher, - default as matches } from './matcher.js'; -export { default as times } from './times.js'; -export { default as random } from './random.js'; -export { default as now } from './now.js'; -export { default as escape } from './escape.js'; -export { default as unescape } from './unescape.js'; -export { default as templateSettings } from './templateSettings.js'; -export { default as template } from './template.js'; -export { default as result } from './result.js'; -export { default as uniqueId } from './uniqueId.js'; -export { default as chain } from './chain.js'; -export { default as iteratee } from './iteratee.js'; - -// Function (ahem) Functions -// ------------------------- -// These functions take a function as an argument and return a new function -// as the result. Also known as higher-order functions. -export { default as partial } from './partial.js'; -export { default as bind } from './bind.js'; -export { default as bindAll } from './bindAll.js'; -export { default as memoize } from './memoize.js'; -export { default as delay } from './delay.js'; -export { default as defer } from './defer.js'; -export { default as throttle } from './throttle.js'; -export { default as debounce } from './debounce.js'; -export { default as wrap } from './wrap.js'; -export { default as negate } from './negate.js'; -export { default as compose } from './compose.js'; -export { default as after } from './after.js'; -export { default as before } from './before.js'; -export { default as once } from './once.js'; - -// Finders -// ------- -// Functions that extract (the position of) a single element from an object -// or array based on some criterion. -export { default as findKey } from './findKey.js'; -export { default as findIndex } from './findIndex.js'; -export { default as findLastIndex } from './findLastIndex.js'; -export { default as sortedIndex } from './sortedIndex.js'; -export { default as indexOf } from './indexOf.js'; -export { default as lastIndexOf } from './lastIndexOf.js'; -export { default as find, - default as detect } from './find.js'; -export { default as findWhere } from './findWhere.js'; - -// Collection Functions -// -------------------- -// Functions that work on any collection of elements: either an array, or -// an object of key-value pairs. -export { default as each, - default as forEach } from './each.js'; -export { default as map, - default as collect } from './map.js'; -export { default as reduce, - default as foldl, - default as inject } from './reduce.js'; -export { default as reduceRight, - default as foldr } from './reduceRight.js'; -export { default as filter, - default as select } from './filter.js'; -export { default as reject } from './reject.js'; -export { default as every, - default as all } from './every.js'; -export { default as some, - default as any } from './some.js'; -export { default as contains, - default as includes, - default as include } from './contains.js'; -export { default as invoke } from './invoke.js'; -export { default as pluck } from './pluck.js'; -export { default as where } from './where.js'; -export { default as max } from './max.js'; -export { default as min } from './min.js'; -export { default as shuffle } from './shuffle.js'; -export { default as sample } from './sample.js'; -export { default as sortBy } from './sortBy.js'; -export { default as groupBy } from './groupBy.js'; -export { default as indexBy } from './indexBy.js'; -export { default as countBy } from './countBy.js'; -export { default as partition } from './partition.js'; -export { default as toArray } from './toArray.js'; -export { default as size } from './size.js'; - -// `_.pick` and `_.omit` are actually object functions, but we put -// them here in order to create a more natural reading order in the -// monolithic build as they depend on `_.contains`. -export { default as pick } from './pick.js'; -export { default as omit } from './omit.js'; - -// Array Functions -// --------------- -// Functions that operate on arrays (and array-likes) only, because they’re -// expressed in terms of operations on an ordered list of values. -export { default as first, - default as head, - default as take } from './first.js'; -export { default as initial } from './initial.js'; -export { default as last } from './last.js'; -export { default as rest, - default as tail, - default as drop } from './rest.js'; -export { default as compact } from './compact.js'; -export { default as flatten } from './flatten.js'; -export { default as without } from './without.js'; -export { default as uniq, - default as unique } from './uniq.js'; -export { default as union } from './union.js'; -export { default as intersection } from './intersection.js'; -export { default as difference } from './difference.js'; -export { default as unzip, - default as transpose } from './unzip.js'; -export { default as zip } from './zip.js'; -export { default as object } from './object.js'; -export { default as range } from './range.js'; -export { default as chunk } from './chunk.js'; - -// OOP -// --- -// These modules support the "object-oriented" calling style. See also -// `underscore.js` and `index-default.js`. -export { default as mixin } from './mixin.js'; -export { default } from './underscore-array-methods.js'; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/indexBy.js b/node_modules/typed-rest-client/node_modules/underscore/modules/indexBy.js deleted file mode 100644 index 8fb81ea05..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/indexBy.js +++ /dev/null @@ -1,7 +0,0 @@ -import group from './_group.js'; - -// Indexes the object's values by a criterion, similar to `_.groupBy`, but for -// when you know that your index values will be unique. -export default group(function(result, value, key) { - result[key] = value; -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/indexOf.js b/node_modules/typed-rest-client/node_modules/underscore/modules/indexOf.js deleted file mode 100644 index a926ba5a4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/indexOf.js +++ /dev/null @@ -1,9 +0,0 @@ -import sortedIndex from './sortedIndex.js'; -import findIndex from './findIndex.js'; -import createIndexFinder from './_createIndexFinder.js'; - -// Return the position of the first occurrence of an item in an array, -// or -1 if the item is not included in the array. -// If the array is large and already in sort order, pass `true` -// for **isSorted** to use binary search. -export default createIndexFinder(1, findIndex, sortedIndex); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/initial.js b/node_modules/typed-rest-client/node_modules/underscore/modules/initial.js deleted file mode 100644 index 0b991dcca..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/initial.js +++ /dev/null @@ -1,8 +0,0 @@ -import { slice } from './_setup.js'; - -// Returns everything but the last entry of the array. Especially useful on -// the arguments object. Passing **n** will return all the values in -// the array, excluding the last N. -export default function initial(array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/intersection.js b/node_modules/typed-rest-client/node_modules/underscore/modules/intersection.js deleted file mode 100644 index 60d1df40a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/intersection.js +++ /dev/null @@ -1,19 +0,0 @@ -import getLength from './_getLength.js'; -import contains from './contains.js'; - -// Produce an array that contains every item shared between all the -// passed-in arrays. -export default function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/invert.js b/node_modules/typed-rest-client/node_modules/underscore/modules/invert.js deleted file mode 100644 index 898b16a07..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/invert.js +++ /dev/null @@ -1,11 +0,0 @@ -import keys from './keys.js'; - -// Invert the keys and values of an object. The values must be serializable. -export default function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; - } - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/invoke.js b/node_modules/typed-rest-client/node_modules/underscore/modules/invoke.js deleted file mode 100644 index b18af887e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/invoke.js +++ /dev/null @@ -1,28 +0,0 @@ -import restArguments from './restArguments.js'; -import isFunction from './isFunction.js'; -import map from './map.js'; -import deepGet from './_deepGet.js'; -import toPath from './_toPath.js'; - -// Invoke a method (with arguments) on every item in a collection. -export default restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction(path)) { - func = path; - } else { - path = toPath(path); - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isArguments.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isArguments.js deleted file mode 100644 index 61582bf81..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isArguments.js +++ /dev/null @@ -1,16 +0,0 @@ -import tagTester from './_tagTester.js'; -import has from './_has.js'; - -var isArguments = tagTester('Arguments'); - -// Define a fallback version of the method in browsers (ahem, IE < 9), where -// there isn't any inspectable "Arguments" type. -(function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return has(obj, 'callee'); - }; - } -}()); - -export default isArguments; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isArray.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isArray.js deleted file mode 100644 index 7ead47d70..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isArray.js +++ /dev/null @@ -1,6 +0,0 @@ -import { nativeIsArray } from './_setup.js'; -import tagTester from './_tagTester.js'; - -// Is a given value an array? -// Delegates to ECMA5's native `Array.isArray`. -export default nativeIsArray || tagTester('Array'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isArrayBuffer.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isArrayBuffer.js deleted file mode 100644 index 867ba4b24..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isArrayBuffer.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('ArrayBuffer'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isBoolean.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isBoolean.js deleted file mode 100644 index 3dddf2c10..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isBoolean.js +++ /dev/null @@ -1,6 +0,0 @@ -import { toString } from './_setup.js'; - -// Is a given value a boolean? -export default function isBoolean(obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isDataView.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isDataView.js deleted file mode 100644 index e607856a1..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isDataView.js +++ /dev/null @@ -1,14 +0,0 @@ -import tagTester from './_tagTester.js'; -import isFunction from './isFunction.js'; -import isArrayBuffer from './isArrayBuffer.js'; -import { hasStringTagBug } from './_stringTagBug.js'; - -var isDataView = tagTester('DataView'); - -// In IE 10 - Edge 13, we need a different heuristic -// to determine whether an object is a `DataView`. -function ie10IsDataView(obj) { - return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer); -} - -export default (hasStringTagBug ? ie10IsDataView : isDataView); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isDate.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isDate.js deleted file mode 100644 index 25e1d1c3c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isDate.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('Date'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isElement.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isElement.js deleted file mode 100644 index 4ab415a8f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isElement.js +++ /dev/null @@ -1,4 +0,0 @@ -// Is a given value a DOM element? -export default function isElement(obj) { - return !!(obj && obj.nodeType === 1); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isEmpty.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isEmpty.js deleted file mode 100644 index 718ef4a62..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isEmpty.js +++ /dev/null @@ -1,18 +0,0 @@ -import getLength from './_getLength.js'; -import isArray from './isArray.js'; -import isString from './isString.js'; -import isArguments from './isArguments.js'; -import keys from './keys.js'; - -// Is a given array, string, or object empty? -// An "empty" object has no enumerable own-properties. -export default function isEmpty(obj) { - if (obj == null) return true; - // Skip the more expensive `toString`-based type checks if `obj` has no - // `.length`. - var length = getLength(obj); - if (typeof length == 'number' && ( - isArray(obj) || isString(obj) || isArguments(obj) - )) return length === 0; - return getLength(keys(obj)) === 0; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isEqual.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isEqual.js deleted file mode 100644 index 5285c55a4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isEqual.js +++ /dev/null @@ -1,138 +0,0 @@ -import _ from './underscore.js'; -import { toString, SymbolProto } from './_setup.js'; -import getByteLength from './_getByteLength.js'; -import isTypedArray from './isTypedArray.js'; -import isFunction from './isFunction.js'; -import { hasStringTagBug } from './_stringTagBug.js'; -import isDataView from './isDataView.js'; -import keys from './keys.js'; -import has from './_has.js'; -import toBufferView from './_toBufferView.js'; - -// We use this string twice, so give it a name for minification. -var tagDataView = '[object DataView]'; - -// Internal recursive comparison function for `_.isEqual`. -function eq(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // `null` or `undefined` only equal to itself (strict comparison). - if (a == null || b == null) return false; - // `NaN`s are equivalent, but non-reflexive. - if (a !== a) return b !== b; - // Exhaust primitive checks - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); -} - -// Internal recursive comparison function for `_.isEqual`. -function deepEq(a, b, aStack, bStack) { - // Unwrap any wrapped objects. - if (a instanceof _) a = a._wrapped; - if (b instanceof _) b = b._wrapped; - // Compare `[[Class]]` names. - var className = toString.call(a); - if (className !== toString.call(b)) return false; - // Work around a bug in IE 10 - Edge 13. - if (hasStringTagBug && className == '[object Object]' && isDataView(a)) { - if (!isDataView(b)) return false; - className = tagDataView; - } - switch (className) { - // These types are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN. - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - case '[object Symbol]': - return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b); - case '[object ArrayBuffer]': - case tagDataView: - // Coerce to typed array so we can fall through. - return deepEq(toBufferView(a), toBufferView(b), aStack, bStack); - } - - var areArrays = className === '[object Array]'; - if (!areArrays && isTypedArray(a)) { - var byteLength = getByteLength(a); - if (byteLength !== getByteLength(b)) return false; - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; - areArrays = true; - } - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor && - isFunction(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var _keys = keys(a), key; - length = _keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = _keys[length]; - if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; -} - -// Perform a deep comparison to check if two objects are equal. -export default function isEqual(a, b) { - return eq(a, b); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isError.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isError.js deleted file mode 100644 index 178fa3ec8..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isError.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('Error'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isFinite.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isFinite.js deleted file mode 100644 index fbeb79ef5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isFinite.js +++ /dev/null @@ -1,7 +0,0 @@ -import { _isFinite } from './_setup.js'; -import isSymbol from './isSymbol.js'; - -// Is a given object a finite number? -export default function isFinite(obj) { - return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isFunction.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isFunction.js deleted file mode 100644 index 35c41be0c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isFunction.js +++ /dev/null @@ -1,15 +0,0 @@ -import tagTester from './_tagTester.js'; -import { root } from './_setup.js'; - -var isFunction = tagTester('Function'); - -// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old -// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). -var nodelist = root.document && root.document.childNodes; -if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; -} - -export default isFunction; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isMap.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isMap.js deleted file mode 100644 index 1e9f09547..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isMap.js +++ /dev/null @@ -1,5 +0,0 @@ -import tagTester from './_tagTester.js'; -import { isIE11 } from './_stringTagBug.js'; -import { ie11fingerprint, mapMethods } from './_methodFingerprint.js'; - -export default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isMatch.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isMatch.js deleted file mode 100644 index 81e43d95d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isMatch.js +++ /dev/null @@ -1,13 +0,0 @@ -import keys from './keys.js'; - -// Returns whether an object has a given set of `key:value` pairs. -export default function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isNaN.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isNaN.js deleted file mode 100644 index 9fa7afee3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isNaN.js +++ /dev/null @@ -1,7 +0,0 @@ -import { _isNaN } from './_setup.js'; -import isNumber from './isNumber.js'; - -// Is the given value `NaN`? -export default function isNaN(obj) { - return isNumber(obj) && _isNaN(obj); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isNull.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isNull.js deleted file mode 100644 index e729c2eee..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isNull.js +++ /dev/null @@ -1,4 +0,0 @@ -// Is a given value equal to null? -export default function isNull(obj) { - return obj === null; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isNumber.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isNumber.js deleted file mode 100644 index 627d8d4da..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isNumber.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('Number'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isObject.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isObject.js deleted file mode 100644 index 73230f007..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isObject.js +++ /dev/null @@ -1,5 +0,0 @@ -// Is a given variable an object? -export default function isObject(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isRegExp.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isRegExp.js deleted file mode 100644 index ef64d1e84..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isRegExp.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('RegExp'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isSet.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isSet.js deleted file mode 100644 index 0e8b6ca69..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isSet.js +++ /dev/null @@ -1,5 +0,0 @@ -import tagTester from './_tagTester.js'; -import { isIE11 } from './_stringTagBug.js'; -import { ie11fingerprint, setMethods } from './_methodFingerprint.js'; - -export default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isString.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isString.js deleted file mode 100644 index f02707d3d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isString.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('String'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isSymbol.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isSymbol.js deleted file mode 100644 index de4050d56..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isSymbol.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('Symbol'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isTypedArray.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isTypedArray.js deleted file mode 100644 index a65c917ee..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isTypedArray.js +++ /dev/null @@ -1,15 +0,0 @@ -import { supportsArrayBuffer, nativeIsView, toString } from './_setup.js'; -import isDataView from './isDataView.js'; -import constant from './constant.js'; -import isBufferLike from './_isBufferLike.js'; - -// Is a given value a typed array? -var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; -function isTypedArray(obj) { - // `ArrayBuffer.isView` is the most future-proof, so use it when available. - // Otherwise, fall back on the above regular expression. - return nativeIsView ? (nativeIsView(obj) && !isDataView(obj)) : - isBufferLike(obj) && typedArrayPattern.test(toString.call(obj)); -} - -export default supportsArrayBuffer ? isTypedArray : constant(false); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isUndefined.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isUndefined.js deleted file mode 100644 index eddf88f18..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isUndefined.js +++ /dev/null @@ -1,4 +0,0 @@ -// Is a given variable undefined? -export default function isUndefined(obj) { - return obj === void 0; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isWeakMap.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isWeakMap.js deleted file mode 100644 index 729ca474b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isWeakMap.js +++ /dev/null @@ -1,5 +0,0 @@ -import tagTester from './_tagTester.js'; -import { isIE11 } from './_stringTagBug.js'; -import { ie11fingerprint, weakMapMethods } from './_methodFingerprint.js'; - -export default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/isWeakSet.js b/node_modules/typed-rest-client/node_modules/underscore/modules/isWeakSet.js deleted file mode 100644 index 5331048e6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/isWeakSet.js +++ /dev/null @@ -1,3 +0,0 @@ -import tagTester from './_tagTester.js'; - -export default tagTester('WeakSet'); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/iteratee.js b/node_modules/typed-rest-client/node_modules/underscore/modules/iteratee.js deleted file mode 100644 index 9057701bc..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/iteratee.js +++ /dev/null @@ -1,10 +0,0 @@ -import _ from './underscore.js'; -import baseIteratee from './_baseIteratee.js'; - -// External wrapper for our callback generator. Users may customize -// `_.iteratee` if they want additional predicate/iteratee shorthand styles. -// This abstraction hides the internal-only `argCount` argument. -export default function iteratee(value, context) { - return baseIteratee(value, context, Infinity); -} -_.iteratee = iteratee; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/keys.js b/node_modules/typed-rest-client/node_modules/underscore/modules/keys.js deleted file mode 100644 index f5b596cfc..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/keys.js +++ /dev/null @@ -1,16 +0,0 @@ -import isObject from './isObject.js'; -import { nativeKeys, hasEnumBug } from './_setup.js'; -import has from './_has.js'; -import collectNonEnumProps from './_collectNonEnumProps.js'; - -// Retrieve the names of an object's own properties. -// Delegates to **ECMAScript 5**'s native `Object.keys`. -export default function keys(obj) { - if (!isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var keys = []; - for (var key in obj) if (has(obj, key)) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/last.js b/node_modules/typed-rest-client/node_modules/underscore/modules/last.js deleted file mode 100644 index 3f30ebc1e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/last.js +++ /dev/null @@ -1,9 +0,0 @@ -import rest from './rest.js'; - -// Get the last element of an array. Passing **n** will return the last N -// values in the array. -export default function last(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/lastIndexOf.js b/node_modules/typed-rest-client/node_modules/underscore/modules/lastIndexOf.js deleted file mode 100644 index bcacf4959..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/lastIndexOf.js +++ /dev/null @@ -1,6 +0,0 @@ -import findLastIndex from './findLastIndex.js'; -import createIndexFinder from './_createIndexFinder.js'; - -// Return the position of the last occurrence of an item in an array, -// or -1 if the item is not included in the array. -export default createIndexFinder(-1, findLastIndex); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/map.js b/node_modules/typed-rest-client/node_modules/underscore/modules/map.js deleted file mode 100644 index a2e512165..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/map.js +++ /dev/null @@ -1,16 +0,0 @@ -import cb from './_cb.js'; -import isArrayLike from './_isArrayLike.js'; -import keys from './keys.js'; - -// Return the results of applying the iteratee to each element. -export default function map(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/mapObject.js b/node_modules/typed-rest-client/node_modules/underscore/modules/mapObject.js deleted file mode 100644 index 2b44d2867..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/mapObject.js +++ /dev/null @@ -1,16 +0,0 @@ -import cb from './_cb.js'; -import keys from './keys.js'; - -// Returns the results of applying the `iteratee` to each element of `obj`. -// In contrast to `_.map` it returns an object. -export default function mapObject(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/matcher.js b/node_modules/typed-rest-client/node_modules/underscore/modules/matcher.js deleted file mode 100644 index 245fa9442..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/matcher.js +++ /dev/null @@ -1,11 +0,0 @@ -import extendOwn from './extendOwn.js'; -import isMatch from './isMatch.js'; - -// Returns a predicate for checking whether an object has a given set of -// `key:value` pairs. -export default function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/max.js b/node_modules/typed-rest-client/node_modules/underscore/modules/max.js deleted file mode 100644 index 9873b35de..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/max.js +++ /dev/null @@ -1,29 +0,0 @@ -import isArrayLike from './_isArrayLike.js'; -import values from './values.js'; -import cb from './_cb.js'; -import each from './each.js'; - -// Return the maximum element (or element-based computation). -export default function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/memoize.js b/node_modules/typed-rest-client/node_modules/underscore/modules/memoize.js deleted file mode 100644 index 50c55f53a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/memoize.js +++ /dev/null @@ -1,13 +0,0 @@ -import has from './_has.js'; - -// Memoize an expensive function by storing its results. -export default function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!has(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/min.js b/node_modules/typed-rest-client/node_modules/underscore/modules/min.js deleted file mode 100644 index 32f92a06b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/min.js +++ /dev/null @@ -1,29 +0,0 @@ -import isArrayLike from './_isArrayLike.js'; -import values from './values.js'; -import cb from './_cb.js'; -import each from './each.js'; - -// Return the minimum element (or element-based computation). -export default function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/mixin.js b/node_modules/typed-rest-client/node_modules/underscore/modules/mixin.js deleted file mode 100644 index 352a76adc..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/mixin.js +++ /dev/null @@ -1,18 +0,0 @@ -import _ from './underscore.js'; -import each from './each.js'; -import functions from './functions.js'; -import { push } from './_setup.js'; -import chainResult from './_chainResult.js'; - -// Add your own custom functions to the Underscore object. -export default function mixin(obj) { - each(functions(obj), function(name) { - var func = _[name] = obj[name]; - _.prototype[name] = function() { - var args = [this._wrapped]; - push.apply(args, arguments); - return chainResult(this, func.apply(_, args)); - }; - }); - return _; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/negate.js b/node_modules/typed-rest-client/node_modules/underscore/modules/negate.js deleted file mode 100644 index 172c7d658..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/negate.js +++ /dev/null @@ -1,6 +0,0 @@ -// Returns a negated version of the passed-in predicate. -export default function negate(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/noop.js b/node_modules/typed-rest-client/node_modules/underscore/modules/noop.js deleted file mode 100644 index 9746addc9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/noop.js +++ /dev/null @@ -1,2 +0,0 @@ -// Predicate-generating function. Often useful outside of Underscore. -export default function noop(){} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/now.js b/node_modules/typed-rest-client/node_modules/underscore/modules/now.js deleted file mode 100644 index 3ab6b3f45..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/now.js +++ /dev/null @@ -1,4 +0,0 @@ -// A (possibly faster) way to get the current timestamp as an integer. -export default Date.now || function() { - return new Date().getTime(); -}; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/object.js b/node_modules/typed-rest-client/node_modules/underscore/modules/object.js deleted file mode 100644 index d983f8f6c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/object.js +++ /dev/null @@ -1,16 +0,0 @@ -import getLength from './_getLength.js'; - -// Converts lists into objects. Pass either a single array of `[key, value]` -// pairs, or two parallel arrays of the same length -- one of keys, and one of -// the corresponding values. Passing by pairs is the reverse of `_.pairs`. -export default function object(list, values) { - var result = {}; - for (var i = 0, length = getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/omit.js b/node_modules/typed-rest-client/node_modules/underscore/modules/omit.js deleted file mode 100644 index f7233cf31..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/omit.js +++ /dev/null @@ -1,22 +0,0 @@ -import restArguments from './restArguments.js'; -import isFunction from './isFunction.js'; -import negate from './negate.js'; -import map from './map.js'; -import flatten from './_flatten.js'; -import contains from './contains.js'; -import pick from './pick.js'; - -// Return a copy of the object without the disallowed properties. -export default restArguments(function(obj, keys) { - var iteratee = keys[0], context; - if (isFunction(iteratee)) { - iteratee = negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = map(flatten(keys, false, false), String); - iteratee = function(value, key) { - return !contains(keys, key); - }; - } - return pick(obj, iteratee, context); -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/once.js b/node_modules/typed-rest-client/node_modules/underscore/modules/once.js deleted file mode 100644 index e7e41ac23..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/once.js +++ /dev/null @@ -1,6 +0,0 @@ -import partial from './partial.js'; -import before from './before.js'; - -// Returns a function that will be executed at most one time, no matter how -// often you call it. Useful for lazy initialization. -export default partial(before, 2); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/package.json b/node_modules/typed-rest-client/node_modules/underscore/modules/package.json deleted file mode 100644 index 3dbc1ca59..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "module" -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/pairs.js b/node_modules/typed-rest-client/node_modules/underscore/modules/pairs.js deleted file mode 100644 index 0e4af7bb3..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/pairs.js +++ /dev/null @@ -1,13 +0,0 @@ -import keys from './keys.js'; - -// Convert an object into a list of `[key, value]` pairs. -// The opposite of `_.object` with one argument. -export default function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; - } - return pairs; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/partial.js b/node_modules/typed-rest-client/node_modules/underscore/modules/partial.js deleted file mode 100644 index 4a4a46851..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/partial.js +++ /dev/null @@ -1,24 +0,0 @@ -import restArguments from './restArguments.js'; -import executeBound from './_executeBound.js'; -import _ from './underscore.js'; - -// Partially apply a function by creating a version that has had some of its -// arguments pre-filled, without changing its dynamic `this` context. `_` acts -// as a placeholder by default, allowing any combination of arguments to be -// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. -var partial = restArguments(function(func, boundArgs) { - var placeholder = partial.placeholder; - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return executeBound(func, bound, this, this, args); - }; - return bound; -}); - -partial.placeholder = _; -export default partial; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/partition.js b/node_modules/typed-rest-client/node_modules/underscore/modules/partition.js deleted file mode 100644 index bf63c0de9..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/partition.js +++ /dev/null @@ -1,7 +0,0 @@ -import group from './_group.js'; - -// Split a collection into two arrays: one whose elements all pass the given -// truth test, and one whose elements all do not pass the truth test. -export default group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); -}, true); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/pick.js b/node_modules/typed-rest-client/node_modules/underscore/modules/pick.js deleted file mode 100644 index 29858a045..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/pick.js +++ /dev/null @@ -1,26 +0,0 @@ -import restArguments from './restArguments.js'; -import isFunction from './isFunction.js'; -import optimizeCb from './_optimizeCb.js'; -import allKeys from './allKeys.js'; -import keyInObj from './_keyInObj.js'; -import flatten from './_flatten.js'; - -// Return a copy of the object only containing the allowed properties. -export default restArguments(function(obj, keys) { - var result = {}, iteratee = keys[0]; - if (obj == null) return result; - if (isFunction(iteratee)) { - if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]); - keys = allKeys(obj); - } else { - iteratee = keyInObj; - keys = flatten(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/pluck.js b/node_modules/typed-rest-client/node_modules/underscore/modules/pluck.js deleted file mode 100644 index 45a35338f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/pluck.js +++ /dev/null @@ -1,7 +0,0 @@ -import map from './map.js'; -import property from './property.js'; - -// Convenience version of a common use case of `_.map`: fetching a property. -export default function pluck(obj, key) { - return map(obj, property(key)); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/property.js b/node_modules/typed-rest-client/node_modules/underscore/modules/property.js deleted file mode 100644 index 485386680..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/property.js +++ /dev/null @@ -1,11 +0,0 @@ -import deepGet from './_deepGet.js'; -import toPath from './_toPath.js'; - -// Creates a function that, when passed an object, will traverse that object’s -// properties down the given `path`, specified as an array of keys or indices. -export default function property(path) { - path = toPath(path); - return function(obj) { - return deepGet(obj, path); - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/propertyOf.js b/node_modules/typed-rest-client/node_modules/underscore/modules/propertyOf.js deleted file mode 100644 index 0bf36f897..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/propertyOf.js +++ /dev/null @@ -1,10 +0,0 @@ -import noop from './noop.js'; -import get from './get.js'; - -// Generates a function for a given object that returns a given property. -export default function propertyOf(obj) { - if (obj == null) return noop; - return function(path) { - return get(obj, path); - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/random.js b/node_modules/typed-rest-client/node_modules/underscore/modules/random.js deleted file mode 100644 index d861b60f0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/random.js +++ /dev/null @@ -1,8 +0,0 @@ -// Return a random integer between `min` and `max` (inclusive). -export default function random(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/range.js b/node_modules/typed-rest-client/node_modules/underscore/modules/range.js deleted file mode 100644 index 9c7c6b87c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/range.js +++ /dev/null @@ -1,21 +0,0 @@ -// Generate an integer Array containing an arithmetic progression. A port of -// the native Python `range()` function. See -// [the Python documentation](https://docs.python.org/library/functions.html#range). -export default function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/reduce.js b/node_modules/typed-rest-client/node_modules/underscore/modules/reduce.js deleted file mode 100644 index 951eaa3e5..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/reduce.js +++ /dev/null @@ -1,5 +0,0 @@ -import createReduce from './_createReduce.js'; - -// **Reduce** builds up a single result from a list of values, aka `inject`, -// or `foldl`. -export default createReduce(1); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/reduceRight.js b/node_modules/typed-rest-client/node_modules/underscore/modules/reduceRight.js deleted file mode 100644 index 2e8e23ae6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/reduceRight.js +++ /dev/null @@ -1,4 +0,0 @@ -import createReduce from './_createReduce.js'; - -// The right-associative version of reduce, also known as `foldr`. -export default createReduce(-1); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/reject.js b/node_modules/typed-rest-client/node_modules/underscore/modules/reject.js deleted file mode 100644 index ba4c841de..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/reject.js +++ /dev/null @@ -1,8 +0,0 @@ -import filter from './filter.js'; -import negate from './negate.js'; -import cb from './_cb.js'; - -// Return all the elements for which a truth test fails. -export default function reject(obj, predicate, context) { - return filter(obj, negate(cb(predicate)), context); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/rest.js b/node_modules/typed-rest-client/node_modules/underscore/modules/rest.js deleted file mode 100644 index 776b55554..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/rest.js +++ /dev/null @@ -1,8 +0,0 @@ -import { slice } from './_setup.js'; - -// Returns everything but the first entry of the `array`. Especially useful on -// the `arguments` object. Passing an **n** will return the rest N values in the -// `array`. -export default function rest(array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/restArguments.js b/node_modules/typed-rest-client/node_modules/underscore/modules/restArguments.js deleted file mode 100644 index d12057eba..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/restArguments.js +++ /dev/null @@ -1,27 +0,0 @@ -// Some functions take a variable number of arguments, or a few expected -// arguments at the beginning and then a variable number of values to operate -// on. This helper accumulates all remaining arguments past the function’s -// argument length (or an explicit `startIndex`), into an array that becomes -// the last argument. Similar to ES6’s "rest parameter". -export default function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function() { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0: return func.call(this, rest); - case 1: return func.call(this, arguments[0], rest); - case 2: return func.call(this, arguments[0], arguments[1], rest); - } - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/result.js b/node_modules/typed-rest-client/node_modules/underscore/modules/result.js deleted file mode 100644 index 30c4e200c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/result.js +++ /dev/null @@ -1,22 +0,0 @@ -import isFunction from './isFunction.js'; -import toPath from './_toPath.js'; - -// Traverses the children of `obj` along `path`. If a child is a function, it -// is invoked with its parent as context. Returns the value of the final -// child, or `fallback` if any child is undefined. -export default function result(obj, path, fallback) { - path = toPath(path); - var length = path.length; - if (!length) { - return isFunction(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction(prop) ? prop.call(obj) : prop; - } - return obj; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/sample.js b/node_modules/typed-rest-client/node_modules/underscore/modules/sample.js deleted file mode 100644 index 3a78104c0..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/sample.js +++ /dev/null @@ -1,27 +0,0 @@ -import isArrayLike from './_isArrayLike.js'; -import clone from './clone.js'; -import values from './values.js'; -import getLength from './_getLength.js'; -import random from './random.js'; - -// Sample **n** random values from a collection using the modern version of the -// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). -// If **n** is not specified, returns a single random element. -// The internal `guard` argument allows it to work with `_.map`. -export default function sample(obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = isArrayLike(obj) ? clone(obj) : values(obj); - var length = getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/shuffle.js b/node_modules/typed-rest-client/node_modules/underscore/modules/shuffle.js deleted file mode 100644 index 907b87a05..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/shuffle.js +++ /dev/null @@ -1,6 +0,0 @@ -import sample from './sample.js'; - -// Shuffle a collection. -export default function shuffle(obj) { - return sample(obj, Infinity); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/size.js b/node_modules/typed-rest-client/node_modules/underscore/modules/size.js deleted file mode 100644 index 4ce37148e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/size.js +++ /dev/null @@ -1,8 +0,0 @@ -import isArrayLike from './_isArrayLike.js'; -import keys from './keys.js'; - -// Return the number of elements in a collection. -export default function size(obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : keys(obj).length; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/some.js b/node_modules/typed-rest-client/node_modules/underscore/modules/some.js deleted file mode 100644 index ac09c078d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/some.js +++ /dev/null @@ -1,15 +0,0 @@ -import cb from './_cb.js'; -import isArrayLike from './_isArrayLike.js'; -import keys from './keys.js'; - -// Determine if at least one element in the object passes a truth test. -export default function some(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/sortBy.js b/node_modules/typed-rest-client/node_modules/underscore/modules/sortBy.js deleted file mode 100644 index bca494bff..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/sortBy.js +++ /dev/null @@ -1,24 +0,0 @@ -import cb from './_cb.js'; -import pluck from './pluck.js'; -import map from './map.js'; - -// Sort the object's values by a criterion produced by an iteratee. -export default function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/sortedIndex.js b/node_modules/typed-rest-client/node_modules/underscore/modules/sortedIndex.js deleted file mode 100644 index 09ead4aae..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/sortedIndex.js +++ /dev/null @@ -1,15 +0,0 @@ -import cb from './_cb.js'; -import getLength from './_getLength.js'; - -// Use a comparator function to figure out the smallest index at which -// an object should be inserted so as to maintain order. Uses binary search. -export default function sortedIndex(array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/tap.js b/node_modules/typed-rest-client/node_modules/underscore/modules/tap.js deleted file mode 100644 index 475379164..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/tap.js +++ /dev/null @@ -1,7 +0,0 @@ -// Invokes `interceptor` with the `obj` and then returns `obj`. -// The primary purpose of this method is to "tap into" a method chain, in -// order to perform operations on intermediate results within the chain. -export default function tap(obj, interceptor) { - interceptor(obj); - return obj; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/template.js b/node_modules/typed-rest-client/node_modules/underscore/modules/template.js deleted file mode 100644 index 697918321..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/template.js +++ /dev/null @@ -1,101 +0,0 @@ -import defaults from './defaults.js'; -import _ from './underscore.js'; -import './templateSettings.js'; - -// When customizing `_.templateSettings`, if you don't want to define an -// interpolation, evaluation or escaping regex, we need one that is -// guaranteed not to match. -var noMatch = /(.)^/; - -// Certain characters need to be escaped so that they can be put into a -// string literal. -var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' -}; - -var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - -function escapeChar(match) { - return '\\' + escapes[match]; -} - -// In order to prevent third-party code injection through -// `_.templateSettings.variable`, we test it against the following regular -// expression. It is intentionally a bit more liberal than just matching valid -// identifiers, but still prevents possible loopholes through defaults or -// destructuring assignment. -var bareIdentifier = /^\s*(\w|\$)+\s*$/; - -// JavaScript micro-templating, similar to John Resig's implementation. -// Underscore templating handles arbitrary delimiters, preserves whitespace, -// and correctly escapes quotes within interpolated code. -// NB: `oldSettings` only exists for backwards compatibility. -export default function template(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = defaults({}, settings, _.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offset. - return match; - }); - source += "';\n"; - - var argument = settings.variable; - if (argument) { - // Insure against third-party code injection. (CVE-2021-23358) - if (!bareIdentifier.test(argument)) throw new Error( - 'variable is not a bare identifier: ' + argument - ); - } else { - // If a variable is not specified, place data values in local scope. - source = 'with(obj||{}){\n' + source + '}\n'; - argument = 'obj'; - } - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(argument, '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function(data) { - return render.call(this, data, _); - }; - - // Provide the compiled source as a convenience for precompilation. - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/templateSettings.js b/node_modules/typed-rest-client/node_modules/underscore/modules/templateSettings.js deleted file mode 100644 index 4a02f76a4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/templateSettings.js +++ /dev/null @@ -1,9 +0,0 @@ -import _ from './underscore.js'; - -// By default, Underscore uses ERB-style template delimiters. Change the -// following template settings to use alternative delimiters. -export default _.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g -}; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/throttle.js b/node_modules/typed-rest-client/node_modules/underscore/modules/throttle.js deleted file mode 100644 index 7ab97408b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/throttle.js +++ /dev/null @@ -1,47 +0,0 @@ -import now from './now.js'; - -// Returns a function, that, when invoked, will only be triggered at most once -// during a given window of time. Normally, the throttled function will run -// as much as it can, without ever going more than once per `wait` duration; -// but if you'd like to disable the execution on the leading edge, pass -// `{leading: false}`. To disable execution on the trailing edge, ditto. -export default function throttle(func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function() { - previous = options.leading === false ? 0 : now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function() { - var _now = now(); - if (!previous && options.leading === false) previous = _now; - var remaining = wait - (_now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = _now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function() { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/times.js b/node_modules/typed-rest-client/node_modules/underscore/modules/times.js deleted file mode 100644 index ab1960d50..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/times.js +++ /dev/null @@ -1,9 +0,0 @@ -import optimizeCb from './_optimizeCb.js'; - -// Run a function **n** times. -export default function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/toArray.js b/node_modules/typed-rest-client/node_modules/underscore/modules/toArray.js deleted file mode 100644 index 00730e61e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/toArray.js +++ /dev/null @@ -1,20 +0,0 @@ -import isArray from './isArray.js'; -import { slice } from './_setup.js'; -import isString from './isString.js'; -import isArrayLike from './_isArrayLike.js'; -import map from './map.js'; -import identity from './identity.js'; -import values from './values.js'; - -// Safely create a real, live array from anything iterable. -var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; -export default function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return slice.call(obj); - if (isString(obj)) { - // Keep surrogate pair characters together. - return obj.match(reStrSymbol); - } - if (isArrayLike(obj)) return map(obj, identity); - return values(obj); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/toPath.js b/node_modules/typed-rest-client/node_modules/underscore/modules/toPath.js deleted file mode 100644 index 7d72d1ffb..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/toPath.js +++ /dev/null @@ -1,9 +0,0 @@ -import _ from './underscore.js'; -import isArray from './isArray.js'; - -// Normalize a (deep) property `path` to array. -// Like `_.iteratee`, this function can be customized. -export default function toPath(path) { - return isArray(path) ? path : [path]; -} -_.toPath = toPath; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/underscore-array-methods.js b/node_modules/typed-rest-client/node_modules/underscore/modules/underscore-array-methods.js deleted file mode 100644 index ca7c382b7..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/underscore-array-methods.js +++ /dev/null @@ -1,31 +0,0 @@ -import _ from './underscore.js'; -import each from './each.js'; -import { ArrayProto } from './_setup.js'; -import chainResult from './_chainResult.js'; - -// Add all mutator `Array` functions to the wrapper. -each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = ArrayProto[name]; - _.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) { - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) { - delete obj[0]; - } - } - return chainResult(this, obj); - }; -}); - -// Add all accessor `Array` functions to the wrapper. -each(['concat', 'join', 'slice'], function(name) { - var method = ArrayProto[name]; - _.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) obj = method.apply(obj, arguments); - return chainResult(this, obj); - }; -}); - -export default _; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/underscore.js b/node_modules/typed-rest-client/node_modules/underscore/modules/underscore.js deleted file mode 100644 index 6029e2a1f..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/underscore.js +++ /dev/null @@ -1,25 +0,0 @@ -import { VERSION } from './_setup.js'; - -// If Underscore is called as a function, it returns a wrapped object that can -// be used OO-style. This wrapper holds altered versions of all functions added -// through `_.mixin`. Wrapped objects may be chained. -export default function _(obj) { - if (obj instanceof _) return obj; - if (!(this instanceof _)) return new _(obj); - this._wrapped = obj; -} - -_.VERSION = VERSION; - -// Extracts the result from a wrapped and chained object. -_.prototype.value = function() { - return this._wrapped; -}; - -// Provide unwrapping proxies for some methods used in engine operations -// such as arithmetic and JSON stringification. -_.prototype.valueOf = _.prototype.toJSON = _.prototype.value; - -_.prototype.toString = function() { - return String(this._wrapped); -}; diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/unescape.js b/node_modules/typed-rest-client/node_modules/underscore/modules/unescape.js deleted file mode 100644 index 4edefcc80..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/unescape.js +++ /dev/null @@ -1,5 +0,0 @@ -import createEscaper from './_createEscaper.js'; -import unescapeMap from './_unescapeMap.js'; - -// Function for unescaping strings from HTML interpolation. -export default createEscaper(unescapeMap); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/union.js b/node_modules/typed-rest-client/node_modules/underscore/modules/union.js deleted file mode 100644 index aa108be91..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/union.js +++ /dev/null @@ -1,9 +0,0 @@ -import restArguments from './restArguments.js'; -import uniq from './uniq.js'; -import flatten from './_flatten.js'; - -// Produce an array that contains the union: each distinct element from all of -// the passed-in arrays. -export default restArguments(function(arrays) { - return uniq(flatten(arrays, true, true)); -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/uniq.js b/node_modules/typed-rest-client/node_modules/underscore/modules/uniq.js deleted file mode 100644 index ee4c8a31e..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/uniq.js +++ /dev/null @@ -1,36 +0,0 @@ -import isBoolean from './isBoolean.js'; -import cb from './_cb.js'; -import getLength from './_getLength.js'; -import contains from './contains.js'; - -// Produce a duplicate-free version of the array. If the array has already -// been sorted, you have the option of using a faster algorithm. -// The faster algorithm will not work with an iteratee if the iteratee -// is not a one-to-one function, so providing an iteratee will disable -// the faster algorithm. -export default function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!contains(result, value)) { - result.push(value); - } - } - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/uniqueId.js b/node_modules/typed-rest-client/node_modules/underscore/modules/uniqueId.js deleted file mode 100644 index 20f321a86..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/uniqueId.js +++ /dev/null @@ -1,7 +0,0 @@ -// Generate a unique integer id (unique within the entire client session). -// Useful for temporary DOM ids. -var idCounter = 0; -export default function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/unzip.js b/node_modules/typed-rest-client/node_modules/underscore/modules/unzip.js deleted file mode 100644 index c657a6a56..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/unzip.js +++ /dev/null @@ -1,15 +0,0 @@ -import max from './max.js'; -import getLength from './_getLength.js'; -import pluck from './pluck.js'; - -// Complement of zip. Unzip accepts an array of arrays and groups -// each array's elements on shared indices. -export default function unzip(array) { - var length = array && max(array, getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); - } - return result; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/values.js b/node_modules/typed-rest-client/node_modules/underscore/modules/values.js deleted file mode 100644 index 9591de3ed..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/values.js +++ /dev/null @@ -1,12 +0,0 @@ -import keys from './keys.js'; - -// Retrieve the values of an object's properties. -export default function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; - } - return values; -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/where.js b/node_modules/typed-rest-client/node_modules/underscore/modules/where.js deleted file mode 100644 index 645f8cb28..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/where.js +++ /dev/null @@ -1,8 +0,0 @@ -import filter from './filter.js'; -import matcher from './matcher.js'; - -// Convenience version of a common use case of `_.filter`: selecting only -// objects containing specific `key:value` pairs. -export default function where(obj, attrs) { - return filter(obj, matcher(attrs)); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/without.js b/node_modules/typed-rest-client/node_modules/underscore/modules/without.js deleted file mode 100644 index 7790e0fa4..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/without.js +++ /dev/null @@ -1,7 +0,0 @@ -import restArguments from './restArguments.js'; -import difference from './difference.js'; - -// Return a version of the array that does not contain the specified value(s). -export default restArguments(function(array, otherArrays) { - return difference(array, otherArrays); -}); diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/wrap.js b/node_modules/typed-rest-client/node_modules/underscore/modules/wrap.js deleted file mode 100644 index b2b3fd41c..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/wrap.js +++ /dev/null @@ -1,8 +0,0 @@ -import partial from './partial.js'; - -// Returns the first function passed as an argument to the second, -// allowing you to adjust arguments, run code before and after, and -// conditionally execute the original function. -export default function wrap(func, wrapper) { - return partial(wrapper, func); -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/modules/zip.js b/node_modules/typed-rest-client/node_modules/underscore/modules/zip.js deleted file mode 100644 index ae43cb370..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/modules/zip.js +++ /dev/null @@ -1,6 +0,0 @@ -import restArguments from './restArguments.js'; -import unzip from './unzip.js'; - -// Zip together multiple lists into a single array -- elements that share -// an index go together. -export default restArguments(unzip); diff --git a/node_modules/typed-rest-client/node_modules/underscore/package.json b/node_modules/typed-rest-client/node_modules/underscore/package.json deleted file mode 100644 index de464a122..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/package.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "name": "underscore", - "description": "JavaScript's functional programming helper library.", - "version": "1.13.1", - "author": "Jeremy Ashkenas ", - "license": "MIT", - "homepage": "https://underscorejs.org", - "repository": { - "type": "git", - "url": "git://github.com/jashkenas/underscore.git" - }, - "keywords": [ - "util", - "functional", - "server", - "client", - "browser" - ], - "main": "underscore-umd.js", - "module": "modules/index-all.js", - "type": "commonjs", - "exports": { - ".": { - "import": { - "module": "./modules/index-all.js", - "browser": { - "production": "./underscore-esm-min.js", - "default": "./underscore-esm.js" - }, - "node": "./underscore-node.mjs", - "default": "./underscore-esm.js" - }, - "require": { - "browser": { - "production": "./underscore-umd-min.js", - "default": "./underscore-umd.js" - }, - "node": "./underscore-node.cjs", - "default": "./underscore-umd.js" - }, - "default": "./underscore-umd.js" - }, - "./underscore*": "./underscore*", - "./modules/*": { - "require": "./cjs/*", - "default": "./modules/*" - }, - "./amd/*": "./amd/*", - "./cjs/*": "./cjs/*", - "./package.json": "./package.json" - }, - "devDependencies": { - "coveralls": "^2.11.2", - "cpy-cli": "^3.1.1", - "docco": "^0.8.0", - "eslint": "^6.8.0", - "eslint-plugin-import": "^2.20.1", - "glob": "^7.1.6", - "gzip-size-cli": "^1.0.0", - "husky": "^4.2.3", - "karma": "^0.13.13", - "karma-qunit": "~2.0.1", - "karma-sauce-launcher": "^1.2.0", - "nyc": "^2.1.3", - "pretty-bytes-cli": "^1.0.0", - "qunit": "^2.10.0", - "rollup": "^2.40.0", - "terser": "^4.6.13" - }, - "scripts": { - "test": "npm run lint && npm run test-node", - "coverage": "nyc npm run test-node && nyc report", - "coveralls": "nyc npm run test-node && nyc report --reporter=text-lcov | coveralls", - "lint": "eslint modules/*.js test/*.js", - "test-node": "npm run prepare-tests && qunit test/", - "test-browser": "npm run prepare-tests && npm i karma-phantomjs-launcher && karma start", - "bundle": "rollup -c && eslint underscore-umd.js && rollup -c rollup.config2.js", - "bundle-treeshake": "cd test-treeshake && rollup --config", - "prepare-tests": "npm run bundle && npm run bundle-treeshake", - "minify-umd": "terser underscore-umd.js -c \"evaluate=false\" --comments \"/ .*/\" -m", - "minify-esm": "terser underscore-esm.js -c \"evaluate=false\" --comments \"/ .*/\" -m", - "build-umd": "npm run minify-umd -- --source-map content=underscore-umd.js.map --source-map-url \" \" -o underscore-umd-min.js", - "build-esm": "npm run minify-esm -- --source-map content=underscore-esm.js.map --source-map-url \" \" -o underscore-esm-min.js", - "alias-bundle": "cpy --rename=underscore.js underscore-umd.js . && cpy --rename=underscore-min.js underscore-umd-min.js . && cpy --rename=underscore-min.js.map underscore-umd-min.js.map .", - "build": "npm run bundle && npm run build-umd && npm run build-esm && npm run alias-bundle", - "doc": "docco underscore-esm.js && docco modules/*.js -c docco.css -t docs/linked-esm.jst", - "weight": "npm run bundle && npm run minify-umd | gzip-size | pretty-bytes", - "prepublishOnly": "npm run build && npm run doc" - }, - "files": [ - "underscore-esm.js", - "underscore-esm.js.map", - "underscore-esm-min.js", - "underscore-esm-min.js.map", - "underscore-umd.js", - "underscore-umd.js.map", - "underscore-umd-min.js", - "underscore-umd-min.js.map", - "underscore.js", - "underscore-min.js", - "underscore-min.js.map", - "underscore-node-f.cjs", - "underscore-node-f.cjs.map", - "underscore-node.cjs", - "underscore-node.cjs.map", - "underscore-node.mjs", - "underscore-node.mjs.map", - "modules/", - "amd/", - "cjs/" - ], - "husky": { - "hooks": { - "pre-commit": "npm run bundle && git add underscore-umd.js underscore-umd.js.map underscore-esm.js underscore-esm.js.map underscore-node-f.cjs underscore-node-f.cjs.map underscore-node.cjs underscore-node.cjs.map underscore-node.mjs underscore-node.mjs.map", - "post-commit": "git reset underscore-umd.js underscore-umd.js.map underscore-esm.js underscore-esm.js.map underscore-node-f.cjs underscore-node-f.cjs.map underscore-node.cjs underscore-node.cjs.map underscore-node.mjs underscore-node.mjs.map" - } - } -} diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-esm-min.js b/node_modules/typed-rest-client/node_modules/underscore/underscore-esm-min.js deleted file mode 100644 index 7e3c5a9af..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-esm-min.js +++ /dev/null @@ -1,5 +0,0 @@ -// Underscore.js 1.13.1 -// https://underscorejs.org -// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. -var VERSION="1.13.1",root="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},ArrayProto=Array.prototype,ObjProto=Object.prototype,SymbolProto="undefined"!=typeof Symbol?Symbol.prototype:null,push=ArrayProto.push,slice=ArrayProto.slice,toString=ObjProto.toString,hasOwnProperty=ObjProto.hasOwnProperty,supportsArrayBuffer="undefined"!=typeof ArrayBuffer,supportsDataView="undefined"!=typeof DataView,nativeIsArray=Array.isArray,nativeKeys=Object.keys,nativeCreate=Object.create,nativeIsView=supportsArrayBuffer&&ArrayBuffer.isView,_isNaN=isNaN,_isFinite=isFinite,hasEnumBug=!{toString:null}.propertyIsEnumerable("toString"),nonEnumerableProps=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],MAX_ARRAY_INDEX=Math.pow(2,53)-1;function restArguments(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i=0&&n<=MAX_ARRAY_INDEX}}function shallowProperty(e){return function(t){return null==t?void 0:t[e]}}var getByteLength=shallowProperty("byteLength"),isBufferLike=createSizePropertyCheck(getByteLength),typedArrayPattern=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function isTypedArray(e){return nativeIsView?nativeIsView(e)&&!isDataView$1(e):isBufferLike(e)&&typedArrayPattern.test(toString.call(e))}var isTypedArray$1=supportsArrayBuffer?isTypedArray:constant(!1),getLength=shallowProperty("length");function emulatedSet(e){for(var t={},n=e.length,r=0;r":">",'"':""","'":"'","`":"`"},_escape=createEscaper(escapeMap),unescapeMap=invert(escapeMap),_unescape=createEscaper(unescapeMap),templateSettings=_$1.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},noMatch=/(.)^/,escapes={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},escapeRegExp=/\\|'|\r|\n|\u2028|\u2029/g;function escapeChar(e){return"\\"+escapes[e]}var bareIdentifier=/^\s*(\w|\$)+\s*$/;function template(e,t,n){!t&&n&&(t=n),t=defaults({},t,_$1.templateSettings);var r=RegExp([(t.escape||noMatch).source,(t.interpolate||noMatch).source,(t.evaluate||noMatch).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(r,(function(t,n,r,u,o){return a+=e.slice(i,o).replace(escapeRegExp,escapeChar),i=o+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":u&&(a+="';\n"+u+"\n__p+='"),t})),a+="';\n";var u,o=t.variable;if(o){if(!bareIdentifier.test(o))throw new Error("variable is not a bare identifier: "+o)}else a="with(obj||{}){\n"+a+"}\n",o="obj";a="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{u=new Function(o,"_",a)}catch(e){throw e.source=a,e}var s=function(e){return u.call(this,e,_$1)};return s.source="function("+o+"){\n"+a+"}",s}function result(e,t,n){var r=(t=toPath(t)).length;if(!r)return isFunction$1(n)?n.call(e):n;for(var i=0;i1)flatten$1(o,t-1,n,r),i=r.length;else for(var s=0,c=o.length;st?(r&&(clearTimeout(r),r=null),o=c,u=e.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(s,f)),u};return c.cancel=function(){clearTimeout(r),o=0,r=i=a=null},c}function debounce(e,t,n){var r,i,a,u,o,s=function(){var c=now()-i;t>c?r=setTimeout(s,t-c):(r=null,n||(u=e.apply(o,a)),r||(a=o=null))},c=restArguments((function(c){return o=this,a=c,i=now(),r||(r=setTimeout(s,t),n&&(u=e.apply(o,a))),u}));return c.cancel=function(){clearTimeout(r),r=a=o=null},c}function wrap(e,t){return partial(t,e)}function negate(e){return function(){return!e.apply(this,arguments)}}function compose(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function after(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function before(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var once=partial(before,2);function findKey(e,t,n){t=cb(t,n);for(var r,i=keys(e),a=0,u=i.length;a0?0:i-1;a>=0&&a0?u=a>=0?a:Math.max(a+o,u):o=a>=0?Math.min(a+1,o):a+o+1;else if(n&&a&&o)return r[a=n(r,i)]===i?a:-1;if(i!=i)return(a=t(slice.call(r,u,o),isNaN$1))>=0?a+u:-1;for(a=e>0?u:o-1;a>=0&&a0?0:u-1;for(i||(r=t[a?a[o]:o],o+=e);o>=0&&o=3;return t(e,optimizeCb(n,i,4),r,a)}}var reduce=createReduce(1),reduceRight=createReduce(-1);function filter(e,t,n){var r=[];return t=cb(t,n),each(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function reject(e,t,n){return filter(e,negate(cb(t)),n)}function every(e,t,n){t=cb(t,n);for(var r=!isArrayLike(e)&&keys(e),i=(r||e).length,a=0;a=0}var invoke=restArguments((function(e,t,n){var r,i;return isFunction$1(t)?i=t:(t=toPath(t),r=t.slice(0,-1),t=t[t.length-1]),map(e,(function(e){var a=i;if(!a){if(r&&r.length&&(e=deepGet(e,r)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function pluck(e,t){return map(e,property(t))}function where(e,t){return filter(e,matcher(t))}function max(e,t,n){var r,i,a=-1/0,u=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,s=(e=isArrayLike(e)?e:values(e)).length;oa&&(a=r);else t=cb(t,n),each(e,(function(e,n,r){((i=t(e,n,r))>u||i===-1/0&&a===-1/0)&&(a=e,u=i)}));return a}function min(e,t,n){var r,i,a=1/0,u=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,s=(e=isArrayLike(e)?e:values(e)).length;or||void 0===n)return 1;if(n1&&(r=optimizeCb(r,t[1])),t=allKeys(e)):(r=keyInObj,t=flatten$1(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i1&&(n=t[1])):(t=map(flatten$1(t,!1,!1),String),r=function(e,n){return!contains(t,n)}),pick(e,r,n)}));function initial(e,t,n){return slice.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function first(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:initial(e,e.length-t)}function rest(e,t,n){return slice.call(e,null==t||n?1:t)}function last(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:rest(e,Math.max(0,e.length-t))}function compact(e){return filter(e,Boolean)}function flatten(e,t){return flatten$1(e,t,!1)}var difference=restArguments((function(e,t){return t=flatten$1(t,!0,!0),filter(e,(function(e){return!contains(t,e)}))})),without=restArguments((function(e,t){return difference(e,t)}));function uniq(e,t,n,r){isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=cb(n,r));for(var i=[],a=[],u=0,o=getLength(e);u","\"","'","`","_escape","unescapeMap","_unescape","templateSettings","evaluate","interpolate","escape","noMatch","escapes","\\","\r","\n","
","
","escapeRegExp","escapeChar","bareIdentifier","template","text","settings","oldSettings","offset","render","argument","variable","Error","e","data","fallback","idCounter","uniqueId","prefix","id","chain","instance","_chain","executeBound","sourceFunc","boundFunc","callingContext","partial","boundArgs","placeholder","bound","position","bind","TypeError","callArgs","isArrayLike","flatten","input","depth","strict","output","idx","j","len","bindAll","memoize","hasher","cache","address","delay","wait","setTimeout","defer","throttle","options","timeout","previous","later","leading","throttled","_now","remaining","clearTimeout","trailing","cancel","debounce","immediate","passed","debounced","_args","wrap","wrapper","negate","predicate","compose","start","after","before","memo","once","findKey","createPredicateIndexFinder","dir","array","findIndex","findLastIndex","sortedIndex","low","high","mid","createIndexFinder","predicateFind","item","indexOf","lastIndexOf","find","findWhere","each","createReduce","reducer","initial","reduce","reduceRight","filter","list","reject","every","some","fromIndex","guard","invoke","contextPath","method","pluck","where","computed","lastComputed","v","sample","last","rand","temp","shuffle","sortBy","criteria","left","right","group","behavior","partition","groupBy","indexBy","countBy","pass","reStrSymbol","toArray","size","keyInObj","pick","omit","first","compact","Boolean","_flatten","difference","without","otherArrays","uniq","isSorted","seen","union","arrays","intersection","argsLength","unzip","zip","range","stop","step","ceil","chunk","count","chainResult","mixin","allExports"],"mappings":";;;;AACU,IAACA,QAAU,SAKVC,KAAsB,iBAARC,MAAoBA,KAAKA,OAASA,MAAQA,MACxC,iBAAVC,QAAsBA,OAAOA,SAAWA,QAAUA,QACzDC,SAAS,cAATA,IACA,GAGCC,WAAaC,MAAMC,UAAWC,SAAWC,OAAOF,UAChDG,YAAgC,oBAAXC,OAAyBA,OAAOJ,UAAY,KAGjEK,KAAOP,WAAWO,KACzBC,MAAQR,WAAWQ,MACnBC,SAAWN,SAASM,SACpBC,eAAiBP,SAASO,eAGnBC,oBAA6C,oBAAhBC,YACpCC,iBAAuC,oBAAbC,SAInBC,cAAgBd,MAAMe,QAC7BC,WAAab,OAAOc,KACpBC,aAAef,OAAOgB,OACtBC,aAAeV,qBAAuBC,YAAYU,OAG3CC,OAASC,MAChBC,UAAYC,SAGLC,YAAc,CAAClB,SAAU,MAAMmB,qBAAqB,YACpDC,mBAAqB,CAAC,UAAW,gBAAiB,WAC3D,uBAAwB,iBAAkB,kBAGjCC,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UoD,GAAQ,WAClB,IAAIX,EAAO,CAACD,KAAKuE,UAEjB,OADA1G,KAAKqC,MAAMD,EAAML,WACVkW,YAAY9V,KAAMR,EAAKU,MAAMoE,IAAGrE,QAGpCqE,ICVTuN,KAAK,CAAC,MAAO,OAAQ,UAAW,QAAS,OAAQ,SAAU,YAAY,SAASjR,GAC9E,IAAIgS,EAAStV,WAAWsD,GACxB0D,IAAE9G,UAAUoD,GAAQ,WAClB,IAAIR,EAAMJ,KAAKuE,SAOf,OANW,MAAPnE,IACFwS,EAAO1S,MAAME,EAAKR,WACJ,UAATgB,GAA6B,WAATA,GAAqC,IAAfR,EAAIV,eAC1CU,EAAI,IAGR0V,YAAY9V,KAAMI,OAK7ByR,KAAK,CAAC,SAAU,OAAQ,UAAU,SAASjR,GACzC,IAAIgS,EAAStV,WAAWsD,GACxB0D,IAAE9G,UAAUoD,GAAQ,WAClB,IAAIR,EAAMJ,KAAKuE,SAEf,OADW,MAAPnE,IAAaA,EAAMwS,EAAO1S,MAAME,EAAKR,YAClCkW,YAAY9V,KAAMI,gvECJzBkE,EAAIyR,MAAMC,YAEd1R,EAAEA,EAAIA"} \ No newline at end of file diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-esm.js b/node_modules/typed-rest-client/node_modules/underscore/underscore-esm.js deleted file mode 100644 index 270a00f35..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-esm.js +++ /dev/null @@ -1,2034 +0,0 @@ -// Underscore.js 1.13.1 -// https://underscorejs.org -// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. - -// Current version. -var VERSION = '1.13.1'; - -// Establish the root object, `window` (`self`) in the browser, `global` -// on the server, or `this` in some virtual machines. We use `self` -// instead of `window` for `WebWorker` support. -var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || - Function('return this')() || - {}; - -// Save bytes in the minified (but not gzipped) version: -var ArrayProto = Array.prototype, ObjProto = Object.prototype; -var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - -// Create quick reference variables for speed access to core prototypes. -var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - -// Modern feature detection. -var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', - supportsDataView = typeof DataView !== 'undefined'; - -// All **ECMAScript 5+** native function implementations that we hope to use -// are declared here. -var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create, - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; - -// Create references to these builtin functions because we override them. -var _isNaN = isNaN, - _isFinite = isFinite; - -// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. -var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); -var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - -// The largest integer that can be represented exactly. -var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - -// Some functions take a variable number of arguments, or a few expected -// arguments at the beginning and then a variable number of values to operate -// on. This helper accumulates all remaining arguments past the function’s -// argument length (or an explicit `startIndex`), into an array that becomes -// the last argument. Similar to ES6’s "rest parameter". -function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function() { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0: return func.call(this, rest); - case 1: return func.call(this, arguments[0], rest); - case 2: return func.call(this, arguments[0], arguments[1], rest); - } - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; -} - -// Is a given variable an object? -function isObject(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; -} - -// Is a given value equal to null? -function isNull(obj) { - return obj === null; -} - -// Is a given variable undefined? -function isUndefined(obj) { - return obj === void 0; -} - -// Is a given value a boolean? -function isBoolean(obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; -} - -// Is a given value a DOM element? -function isElement(obj) { - return !!(obj && obj.nodeType === 1); -} - -// Internal function for creating a `toString`-based type tester. -function tagTester(name) { - var tag = '[object ' + name + ']'; - return function(obj) { - return toString.call(obj) === tag; - }; -} - -var isString = tagTester('String'); - -var isNumber = tagTester('Number'); - -var isDate = tagTester('Date'); - -var isRegExp = tagTester('RegExp'); - -var isError = tagTester('Error'); - -var isSymbol = tagTester('Symbol'); - -var isArrayBuffer = tagTester('ArrayBuffer'); - -var isFunction = tagTester('Function'); - -// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old -// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). -var nodelist = root.document && root.document.childNodes; -if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; -} - -var isFunction$1 = isFunction; - -var hasObjectTag = tagTester('Object'); - -// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. -// In IE 11, the most common among them, this problem also applies to -// `Map`, `WeakMap` and `Set`. -var hasStringTagBug = ( - supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8))) - ), - isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map)); - -var isDataView = tagTester('DataView'); - -// In IE 10 - Edge 13, we need a different heuristic -// to determine whether an object is a `DataView`. -function ie10IsDataView(obj) { - return obj != null && isFunction$1(obj.getInt8) && isArrayBuffer(obj.buffer); -} - -var isDataView$1 = (hasStringTagBug ? ie10IsDataView : isDataView); - -// Is a given value an array? -// Delegates to ECMA5's native `Array.isArray`. -var isArray = nativeIsArray || tagTester('Array'); - -// Internal function to check whether `key` is an own property name of `obj`. -function has$1(obj, key) { - return obj != null && hasOwnProperty.call(obj, key); -} - -var isArguments = tagTester('Arguments'); - -// Define a fallback version of the method in browsers (ahem, IE < 9), where -// there isn't any inspectable "Arguments" type. -(function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return has$1(obj, 'callee'); - }; - } -}()); - -var isArguments$1 = isArguments; - -// Is a given object a finite number? -function isFinite$1(obj) { - return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); -} - -// Is the given value `NaN`? -function isNaN$1(obj) { - return isNumber(obj) && _isNaN(obj); -} - -// Predicate-generating function. Often useful outside of Underscore. -function constant(value) { - return function() { - return value; - }; -} - -// Common internal logic for `isArrayLike` and `isBufferLike`. -function createSizePropertyCheck(getSizeProperty) { - return function(collection) { - var sizeProperty = getSizeProperty(collection); - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX; - } -} - -// Internal helper to generate a function to obtain property `key` from `obj`. -function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; -} - -// Internal helper to obtain the `byteLength` property of an object. -var getByteLength = shallowProperty('byteLength'); - -// Internal helper to determine whether we should spend extensive checks against -// `ArrayBuffer` et al. -var isBufferLike = createSizePropertyCheck(getByteLength); - -// Is a given value a typed array? -var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; -function isTypedArray(obj) { - // `ArrayBuffer.isView` is the most future-proof, so use it when available. - // Otherwise, fall back on the above regular expression. - return nativeIsView ? (nativeIsView(obj) && !isDataView$1(obj)) : - isBufferLike(obj) && typedArrayPattern.test(toString.call(obj)); -} - -var isTypedArray$1 = supportsArrayBuffer ? isTypedArray : constant(false); - -// Internal helper to obtain the `length` property of an object. -var getLength = shallowProperty('length'); - -// Internal helper to create a simple lookup structure. -// `collectNonEnumProps` used to depend on `_.contains`, but this led to -// circular imports. `emulatedSet` is a one-off solution that only works for -// arrays of strings. -function emulatedSet(keys) { - var hash = {}; - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; - return { - contains: function(key) { return hash[key]; }, - push: function(key) { - hash[key] = true; - return keys.push(key); - } - }; -} - -// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't -// be iterated by `for key in ...` and thus missed. Extends `keys` in place if -// needed. -function collectNonEnumProps(obj, keys) { - keys = emulatedSet(keys); - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = isFunction$1(constructor) && constructor.prototype || ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (has$1(obj, prop) && !keys.contains(prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { - keys.push(prop); - } - } -} - -// Retrieve the names of an object's own properties. -// Delegates to **ECMAScript 5**'s native `Object.keys`. -function keys(obj) { - if (!isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var keys = []; - for (var key in obj) if (has$1(obj, key)) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; -} - -// Is a given array, string, or object empty? -// An "empty" object has no enumerable own-properties. -function isEmpty(obj) { - if (obj == null) return true; - // Skip the more expensive `toString`-based type checks if `obj` has no - // `.length`. - var length = getLength(obj); - if (typeof length == 'number' && ( - isArray(obj) || isString(obj) || isArguments$1(obj) - )) return length === 0; - return getLength(keys(obj)) === 0; -} - -// Returns whether an object has a given set of `key:value` pairs. -function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; -} - -// If Underscore is called as a function, it returns a wrapped object that can -// be used OO-style. This wrapper holds altered versions of all functions added -// through `_.mixin`. Wrapped objects may be chained. -function _$1(obj) { - if (obj instanceof _$1) return obj; - if (!(this instanceof _$1)) return new _$1(obj); - this._wrapped = obj; -} - -_$1.VERSION = VERSION; - -// Extracts the result from a wrapped and chained object. -_$1.prototype.value = function() { - return this._wrapped; -}; - -// Provide unwrapping proxies for some methods used in engine operations -// such as arithmetic and JSON stringification. -_$1.prototype.valueOf = _$1.prototype.toJSON = _$1.prototype.value; - -_$1.prototype.toString = function() { - return String(this._wrapped); -}; - -// Internal function to wrap or shallow-copy an ArrayBuffer, -// typed array or DataView to a new view, reusing the buffer. -function toBufferView(bufferSource) { - return new Uint8Array( - bufferSource.buffer || bufferSource, - bufferSource.byteOffset || 0, - getByteLength(bufferSource) - ); -} - -// We use this string twice, so give it a name for minification. -var tagDataView = '[object DataView]'; - -// Internal recursive comparison function for `_.isEqual`. -function eq(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // `null` or `undefined` only equal to itself (strict comparison). - if (a == null || b == null) return false; - // `NaN`s are equivalent, but non-reflexive. - if (a !== a) return b !== b; - // Exhaust primitive checks - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); -} - -// Internal recursive comparison function for `_.isEqual`. -function deepEq(a, b, aStack, bStack) { - // Unwrap any wrapped objects. - if (a instanceof _$1) a = a._wrapped; - if (b instanceof _$1) b = b._wrapped; - // Compare `[[Class]]` names. - var className = toString.call(a); - if (className !== toString.call(b)) return false; - // Work around a bug in IE 10 - Edge 13. - if (hasStringTagBug && className == '[object Object]' && isDataView$1(a)) { - if (!isDataView$1(b)) return false; - className = tagDataView; - } - switch (className) { - // These types are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN. - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - case '[object Symbol]': - return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b); - case '[object ArrayBuffer]': - case tagDataView: - // Coerce to typed array so we can fall through. - return deepEq(toBufferView(a), toBufferView(b), aStack, bStack); - } - - var areArrays = className === '[object Array]'; - if (!areArrays && isTypedArray$1(a)) { - var byteLength = getByteLength(a); - if (byteLength !== getByteLength(b)) return false; - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; - areArrays = true; - } - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction$1(aCtor) && aCtor instanceof aCtor && - isFunction$1(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var _keys = keys(a), key; - length = _keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = _keys[length]; - if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; -} - -// Perform a deep comparison to check if two objects are equal. -function isEqual(a, b) { - return eq(a, b); -} - -// Retrieve all the enumerable property names of an object. -function allKeys(obj) { - if (!isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; -} - -// Since the regular `Object.prototype.toString` type tests don't work for -// some types in IE 11, we use a fingerprinting heuristic instead, based -// on the methods. It's not great, but it's the best we got. -// The fingerprint method lists are defined below. -function ie11fingerprint(methods) { - var length = getLength(methods); - return function(obj) { - if (obj == null) return false; - // `Map`, `WeakMap` and `Set` have no enumerable keys. - var keys = allKeys(obj); - if (getLength(keys)) return false; - for (var i = 0; i < length; i++) { - if (!isFunction$1(obj[methods[i]])) return false; - } - // If we are testing against `WeakMap`, we need to ensure that - // `obj` doesn't have a `forEach` method in order to distinguish - // it from a regular `Map`. - return methods !== weakMapMethods || !isFunction$1(obj[forEachName]); - }; -} - -// In the interest of compact minification, we write -// each string in the fingerprints only once. -var forEachName = 'forEach', - hasName = 'has', - commonInit = ['clear', 'delete'], - mapTail = ['get', hasName, 'set']; - -// `Map`, `WeakMap` and `Set` each have slightly different -// combinations of the above sublists. -var mapMethods = commonInit.concat(forEachName, mapTail), - weakMapMethods = commonInit.concat(mapTail), - setMethods = ['add'].concat(commonInit, forEachName, hasName); - -var isMap = isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map'); - -var isWeakMap = isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap'); - -var isSet = isIE11 ? ie11fingerprint(setMethods) : tagTester('Set'); - -var isWeakSet = tagTester('WeakSet'); - -// Retrieve the values of an object's properties. -function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; - } - return values; -} - -// Convert an object into a list of `[key, value]` pairs. -// The opposite of `_.object` with one argument. -function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; - } - return pairs; -} - -// Invert the keys and values of an object. The values must be serializable. -function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; - } - return result; -} - -// Return a sorted list of the function names available on the object. -function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction$1(obj[key])) names.push(key); - } - return names.sort(); -} - -// An internal function for creating assigner functions. -function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; -} - -// Extend a given object with all the properties in passed-in object(s). -var extend = createAssigner(allKeys); - -// Assigns a given object with all the own properties in the passed-in -// object(s). -// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) -var extendOwn = createAssigner(keys); - -// Fill in a given object with default properties. -var defaults = createAssigner(allKeys, true); - -// Create a naked function reference for surrogate-prototype-swapping. -function ctor() { - return function(){}; -} - -// An internal function for creating a new object that inherits from another. -function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - var Ctor = ctor(); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; -} - -// Creates an object that inherits from the given prototype object. -// If additional properties are provided then they will be added to the -// created object. -function create(prototype, props) { - var result = baseCreate(prototype); - if (props) extendOwn(result, props); - return result; -} - -// Create a (shallow-cloned) duplicate of an object. -function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); -} - -// Invokes `interceptor` with the `obj` and then returns `obj`. -// The primary purpose of this method is to "tap into" a method chain, in -// order to perform operations on intermediate results within the chain. -function tap(obj, interceptor) { - interceptor(obj); - return obj; -} - -// Normalize a (deep) property `path` to array. -// Like `_.iteratee`, this function can be customized. -function toPath$1(path) { - return isArray(path) ? path : [path]; -} -_$1.toPath = toPath$1; - -// Internal wrapper for `_.toPath` to enable minification. -// Similar to `cb` for `_.iteratee`. -function toPath(path) { - return _$1.toPath(path); -} - -// Internal function to obtain a nested property in `obj` along `path`. -function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; -} - -// Get the value of the (deep) property on `path` from `object`. -// If any property in `path` does not exist or if the value is -// `undefined`, return `defaultValue` instead. -// The `path` is normalized through `_.toPath`. -function get(object, path, defaultValue) { - var value = deepGet(object, toPath(path)); - return isUndefined(value) ? defaultValue : value; -} - -// Shortcut function for checking if an object has a given property directly on -// itself (in other words, not on a prototype). Unlike the internal `has` -// function, this public version can also traverse nested properties. -function has(obj, path) { - path = toPath(path); - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (!has$1(obj, key)) return false; - obj = obj[key]; - } - return !!length; -} - -// Keep the identity function around for default iteratees. -function identity(value) { - return value; -} - -// Returns a predicate for checking whether an object has a given set of -// `key:value` pairs. -function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; -} - -// Creates a function that, when passed an object, will traverse that object’s -// properties down the given `path`, specified as an array of keys or indices. -function property(path) { - path = toPath(path); - return function(obj) { - return deepGet(obj, path); - }; -} - -// Internal function that returns an efficient (for current engines) version -// of the passed-in callback, to be repeatedly applied in other Underscore -// functions. -function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - // The 2-argument case is omitted because we’re not using it. - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; -} - -// An internal function to generate callbacks that can be applied to each -// element in a collection, returning the desired result — either `_.identity`, -// an arbitrary callback, a property matcher, or a property accessor. -function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction$1(value)) return optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); -} - -// External wrapper for our callback generator. Users may customize -// `_.iteratee` if they want additional predicate/iteratee shorthand styles. -// This abstraction hides the internal-only `argCount` argument. -function iteratee(value, context) { - return baseIteratee(value, context, Infinity); -} -_$1.iteratee = iteratee; - -// The function we call internally to generate a callback. It invokes -// `_.iteratee` if overridden, otherwise `baseIteratee`. -function cb(value, context, argCount) { - if (_$1.iteratee !== iteratee) return _$1.iteratee(value, context); - return baseIteratee(value, context, argCount); -} - -// Returns the results of applying the `iteratee` to each element of `obj`. -// In contrast to `_.map` it returns an object. -function mapObject(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; -} - -// Predicate-generating function. Often useful outside of Underscore. -function noop(){} - -// Generates a function for a given object that returns a given property. -function propertyOf(obj) { - if (obj == null) return noop; - return function(path) { - return get(obj, path); - }; -} - -// Run a function **n** times. -function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; -} - -// Return a random integer between `min` and `max` (inclusive). -function random(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); -} - -// A (possibly faster) way to get the current timestamp as an integer. -var now = Date.now || function() { - return new Date().getTime(); -}; - -// Internal helper to generate functions for escaping and unescaping strings -// to/from HTML interpolation. -function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped. - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; -} - -// Internal list of HTML entities for escaping. -var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' -}; - -// Function for escaping strings to HTML interpolation. -var _escape = createEscaper(escapeMap); - -// Internal list of HTML entities for unescaping. -var unescapeMap = invert(escapeMap); - -// Function for unescaping strings from HTML interpolation. -var _unescape = createEscaper(unescapeMap); - -// By default, Underscore uses ERB-style template delimiters. Change the -// following template settings to use alternative delimiters. -var templateSettings = _$1.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g -}; - -// When customizing `_.templateSettings`, if you don't want to define an -// interpolation, evaluation or escaping regex, we need one that is -// guaranteed not to match. -var noMatch = /(.)^/; - -// Certain characters need to be escaped so that they can be put into a -// string literal. -var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' -}; - -var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - -function escapeChar(match) { - return '\\' + escapes[match]; -} - -// In order to prevent third-party code injection through -// `_.templateSettings.variable`, we test it against the following regular -// expression. It is intentionally a bit more liberal than just matching valid -// identifiers, but still prevents possible loopholes through defaults or -// destructuring assignment. -var bareIdentifier = /^\s*(\w|\$)+\s*$/; - -// JavaScript micro-templating, similar to John Resig's implementation. -// Underscore templating handles arbitrary delimiters, preserves whitespace, -// and correctly escapes quotes within interpolated code. -// NB: `oldSettings` only exists for backwards compatibility. -function template(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = defaults({}, settings, _$1.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offset. - return match; - }); - source += "';\n"; - - var argument = settings.variable; - if (argument) { - // Insure against third-party code injection. (CVE-2021-23358) - if (!bareIdentifier.test(argument)) throw new Error( - 'variable is not a bare identifier: ' + argument - ); - } else { - // If a variable is not specified, place data values in local scope. - source = 'with(obj||{}){\n' + source + '}\n'; - argument = 'obj'; - } - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(argument, '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function(data) { - return render.call(this, data, _$1); - }; - - // Provide the compiled source as a convenience for precompilation. - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; -} - -// Traverses the children of `obj` along `path`. If a child is a function, it -// is invoked with its parent as context. Returns the value of the final -// child, or `fallback` if any child is undefined. -function result(obj, path, fallback) { - path = toPath(path); - var length = path.length; - if (!length) { - return isFunction$1(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction$1(prop) ? prop.call(obj) : prop; - } - return obj; -} - -// Generate a unique integer id (unique within the entire client session). -// Useful for temporary DOM ids. -var idCounter = 0; -function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; -} - -// Start chaining a wrapped Underscore object. -function chain(obj) { - var instance = _$1(obj); - instance._chain = true; - return instance; -} - -// Internal function to execute `sourceFunc` bound to `context` with optional -// `args`. Determines whether to execute a function as a constructor or as a -// normal function. -function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (isObject(result)) return result; - return self; -} - -// Partially apply a function by creating a version that has had some of its -// arguments pre-filled, without changing its dynamic `this` context. `_` acts -// as a placeholder by default, allowing any combination of arguments to be -// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. -var partial = restArguments(function(func, boundArgs) { - var placeholder = partial.placeholder; - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return executeBound(func, bound, this, this, args); - }; - return bound; -}); - -partial.placeholder = _$1; - -// Create a function bound to a given object (assigning `this`, and arguments, -// optionally). -var bind = restArguments(function(func, context, args) { - if (!isFunction$1(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; -}); - -// Internal helper for collection methods to determine whether a collection -// should be iterated as an array or as an object. -// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength -// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 -var isArrayLike = createSizePropertyCheck(getLength); - -// Internal implementation of a recursive `flatten` function. -function flatten$1(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { - // Flatten current level of array or arguments object. - if (depth > 1) { - flatten$1(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; -} - -// Bind a number of an object's methods to that object. Remaining arguments -// are the method names to be bound. Useful for ensuring that all callbacks -// defined on an object belong to it. -var bindAll = restArguments(function(obj, keys) { - keys = flatten$1(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = bind(obj[key], obj); - } - return obj; -}); - -// Memoize an expensive function by storing its results. -function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!has$1(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; -} - -// Delays a function for the given number of milliseconds, and then calls -// it with the arguments supplied. -var delay = restArguments(function(func, wait, args) { - return setTimeout(function() { - return func.apply(null, args); - }, wait); -}); - -// Defers a function, scheduling it to run after the current call stack has -// cleared. -var defer = partial(delay, _$1, 1); - -// Returns a function, that, when invoked, will only be triggered at most once -// during a given window of time. Normally, the throttled function will run -// as much as it can, without ever going more than once per `wait` duration; -// but if you'd like to disable the execution on the leading edge, pass -// `{leading: false}`. To disable execution on the trailing edge, ditto. -function throttle(func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function() { - previous = options.leading === false ? 0 : now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function() { - var _now = now(); - if (!previous && options.leading === false) previous = _now; - var remaining = wait - (_now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = _now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function() { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; -} - -// When a sequence of calls of the returned function ends, the argument -// function is triggered. The end of a sequence is defined by the `wait` -// parameter. If `immediate` is passed, the argument function will be -// triggered at the beginning of the sequence instead of at the end. -function debounce(func, wait, immediate) { - var timeout, previous, args, result, context; - - var later = function() { - var passed = now() - previous; - if (wait > passed) { - timeout = setTimeout(later, wait - passed); - } else { - timeout = null; - if (!immediate) result = func.apply(context, args); - // This check is needed because `func` can recursively invoke `debounced`. - if (!timeout) args = context = null; - } - }; - - var debounced = restArguments(function(_args) { - context = this; - args = _args; - previous = now(); - if (!timeout) { - timeout = setTimeout(later, wait); - if (immediate) result = func.apply(context, args); - } - return result; - }); - - debounced.cancel = function() { - clearTimeout(timeout); - timeout = args = context = null; - }; - - return debounced; -} - -// Returns the first function passed as an argument to the second, -// allowing you to adjust arguments, run code before and after, and -// conditionally execute the original function. -function wrap(func, wrapper) { - return partial(wrapper, func); -} - -// Returns a negated version of the passed-in predicate. -function negate(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; -} - -// Returns a function that is the composition of a list of functions, each -// consuming the return value of the function that follows. -function compose() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; -} - -// Returns a function that will only be executed on and after the Nth call. -function after(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; -} - -// Returns a function that will only be executed up to (but not including) the -// Nth call. -function before(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; -} - -// Returns a function that will be executed at most one time, no matter how -// often you call it. Useful for lazy initialization. -var once = partial(before, 2); - -// Returns the first key on an object that passes a truth test. -function findKey(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } -} - -// Internal function to generate `_.findIndex` and `_.findLastIndex`. -function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = cb(predicate, context); - var length = getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; -} - -// Returns the first index on an array-like that passes a truth test. -var findIndex = createPredicateIndexFinder(1); - -// Returns the last index on an array-like that passes a truth test. -var findLastIndex = createPredicateIndexFinder(-1); - -// Use a comparator function to figure out the smallest index at which -// an object should be inserted so as to maintain order. Uses binary search. -function sortedIndex(array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; -} - -// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. -function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(slice.call(array, i, length), isNaN$1); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; -} - -// Return the position of the first occurrence of an item in an array, -// or -1 if the item is not included in the array. -// If the array is large and already in sort order, pass `true` -// for **isSorted** to use binary search. -var indexOf = createIndexFinder(1, findIndex, sortedIndex); - -// Return the position of the last occurrence of an item in an array, -// or -1 if the item is not included in the array. -var lastIndexOf = createIndexFinder(-1, findLastIndex); - -// Return the first value which passes a truth test. -function find(obj, predicate, context) { - var keyFinder = isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; -} - -// Convenience version of a common use case of `_.find`: getting the first -// object containing specific `key:value` pairs. -function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); -} - -// The cornerstone for collection functions, an `each` -// implementation, aka `forEach`. -// Handles raw objects in addition to array-likes. Treats all -// sparse array-likes as if they were dense. -function each(obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; -} - -// Return the results of applying the iteratee to each element. -function map(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; -} - -// Internal helper to create a reducing function, iterating left or right. -function createReduce(dir) { - // Wrap code that reassigns argument variables in a separate function than - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); - }; -} - -// **Reduce** builds up a single result from a list of values, aka `inject`, -// or `foldl`. -var reduce = createReduce(1); - -// The right-associative version of reduce, also known as `foldr`. -var reduceRight = createReduce(-1); - -// Return all the elements that pass a truth test. -function filter(obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; -} - -// Return all the elements for which a truth test fails. -function reject(obj, predicate, context) { - return filter(obj, negate(cb(predicate)), context); -} - -// Determine whether all of the elements pass a truth test. -function every(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; -} - -// Determine if at least one element in the object passes a truth test. -function some(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; -} - -// Determine if the array or object contains a given item (using `===`). -function contains(obj, item, fromIndex, guard) { - if (!isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; -} - -// Invoke a method (with arguments) on every item in a collection. -var invoke = restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction$1(path)) { - func = path; - } else { - path = toPath(path); - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); -}); - -// Convenience version of a common use case of `_.map`: fetching a property. -function pluck(obj, key) { - return map(obj, property(key)); -} - -// Convenience version of a common use case of `_.filter`: selecting only -// objects containing specific `key:value` pairs. -function where(obj, attrs) { - return filter(obj, matcher(attrs)); -} - -// Return the maximum element (or element-based computation). -function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; -} - -// Return the minimum element (or element-based computation). -function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; -} - -// Sample **n** random values from a collection using the modern version of the -// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). -// If **n** is not specified, returns a single random element. -// The internal `guard` argument allows it to work with `_.map`. -function sample(obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = isArrayLike(obj) ? clone(obj) : values(obj); - var length = getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); -} - -// Shuffle a collection. -function shuffle(obj) { - return sample(obj, Infinity); -} - -// Sort the object's values by a criterion produced by an iteratee. -function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); -} - -// An internal function used for aggregate "group by" operations. -function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; -} - -// Groups the object's values by a criterion. Pass either a string attribute -// to group by, or a function that returns the criterion. -var groupBy = group(function(result, value, key) { - if (has$1(result, key)) result[key].push(value); else result[key] = [value]; -}); - -// Indexes the object's values by a criterion, similar to `_.groupBy`, but for -// when you know that your index values will be unique. -var indexBy = group(function(result, value, key) { - result[key] = value; -}); - -// Counts instances of an object that group by a certain criterion. Pass -// either a string attribute to count by, or a function that returns the -// criterion. -var countBy = group(function(result, value, key) { - if (has$1(result, key)) result[key]++; else result[key] = 1; -}); - -// Split a collection into two arrays: one whose elements all pass the given -// truth test, and one whose elements all do not pass the truth test. -var partition = group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); -}, true); - -// Safely create a real, live array from anything iterable. -var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; -function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return slice.call(obj); - if (isString(obj)) { - // Keep surrogate pair characters together. - return obj.match(reStrSymbol); - } - if (isArrayLike(obj)) return map(obj, identity); - return values(obj); -} - -// Return the number of elements in a collection. -function size(obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : keys(obj).length; -} - -// Internal `_.pick` helper function to determine whether `key` is an enumerable -// property name of `obj`. -function keyInObj(value, key, obj) { - return key in obj; -} - -// Return a copy of the object only containing the allowed properties. -var pick = restArguments(function(obj, keys) { - var result = {}, iteratee = keys[0]; - if (obj == null) return result; - if (isFunction$1(iteratee)) { - if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]); - keys = allKeys(obj); - } else { - iteratee = keyInObj; - keys = flatten$1(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; -}); - -// Return a copy of the object without the disallowed properties. -var omit = restArguments(function(obj, keys) { - var iteratee = keys[0], context; - if (isFunction$1(iteratee)) { - iteratee = negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = map(flatten$1(keys, false, false), String); - iteratee = function(value, key) { - return !contains(keys, key); - }; - } - return pick(obj, iteratee, context); -}); - -// Returns everything but the last entry of the array. Especially useful on -// the arguments object. Passing **n** will return all the values in -// the array, excluding the last N. -function initial(array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); -} - -// Get the first element of an array. Passing **n** will return the first N -// values in the array. The **guard** check allows it to work with `_.map`. -function first(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); -} - -// Returns everything but the first entry of the `array`. Especially useful on -// the `arguments` object. Passing an **n** will return the rest N values in the -// `array`. -function rest(array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); -} - -// Get the last element of an array. Passing **n** will return the last N -// values in the array. -function last(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); -} - -// Trim out all falsy values from an array. -function compact(array) { - return filter(array, Boolean); -} - -// Flatten out an array, either recursively (by default), or up to `depth`. -// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. -function flatten(array, depth) { - return flatten$1(array, depth, false); -} - -// Take the difference between one array and a number of other arrays. -// Only the elements present in just the first array will remain. -var difference = restArguments(function(array, rest) { - rest = flatten$1(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); -}); - -// Return a version of the array that does not contain the specified value(s). -var without = restArguments(function(array, otherArrays) { - return difference(array, otherArrays); -}); - -// Produce a duplicate-free version of the array. If the array has already -// been sorted, you have the option of using a faster algorithm. -// The faster algorithm will not work with an iteratee if the iteratee -// is not a one-to-one function, so providing an iteratee will disable -// the faster algorithm. -function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!contains(result, value)) { - result.push(value); - } - } - return result; -} - -// Produce an array that contains the union: each distinct element from all of -// the passed-in arrays. -var union = restArguments(function(arrays) { - return uniq(flatten$1(arrays, true, true)); -}); - -// Produce an array that contains every item shared between all the -// passed-in arrays. -function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; -} - -// Complement of zip. Unzip accepts an array of arrays and groups -// each array's elements on shared indices. -function unzip(array) { - var length = array && max(array, getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); - } - return result; -} - -// Zip together multiple lists into a single array -- elements that share -// an index go together. -var zip = restArguments(unzip); - -// Converts lists into objects. Pass either a single array of `[key, value]` -// pairs, or two parallel arrays of the same length -- one of keys, and one of -// the corresponding values. Passing by pairs is the reverse of `_.pairs`. -function object(list, values) { - var result = {}; - for (var i = 0, length = getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; -} - -// Generate an integer Array containing an arithmetic progression. A port of -// the native Python `range()` function. See -// [the Python documentation](https://docs.python.org/library/functions.html#range). -function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; -} - -// Chunk a single array into multiple arrays, each containing `count` or fewer -// items. -function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(slice.call(array, i, i += count)); - } - return result; -} - -// Helper function to continue chaining intermediate results. -function chainResult(instance, obj) { - return instance._chain ? _$1(obj).chain() : obj; -} - -// Add your own custom functions to the Underscore object. -function mixin(obj) { - each(functions(obj), function(name) { - var func = _$1[name] = obj[name]; - _$1.prototype[name] = function() { - var args = [this._wrapped]; - push.apply(args, arguments); - return chainResult(this, func.apply(_$1, args)); - }; - }); - return _$1; -} - -// Add all mutator `Array` functions to the wrapper. -each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) { - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) { - delete obj[0]; - } - } - return chainResult(this, obj); - }; -}); - -// Add all accessor `Array` functions to the wrapper. -each(['concat', 'join', 'slice'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) obj = method.apply(obj, arguments); - return chainResult(this, obj); - }; -}); - -// Named Exports - -var allExports = { - __proto__: null, - VERSION: VERSION, - restArguments: restArguments, - isObject: isObject, - isNull: isNull, - isUndefined: isUndefined, - isBoolean: isBoolean, - isElement: isElement, - isString: isString, - isNumber: isNumber, - isDate: isDate, - isRegExp: isRegExp, - isError: isError, - isSymbol: isSymbol, - isArrayBuffer: isArrayBuffer, - isDataView: isDataView$1, - isArray: isArray, - isFunction: isFunction$1, - isArguments: isArguments$1, - isFinite: isFinite$1, - isNaN: isNaN$1, - isTypedArray: isTypedArray$1, - isEmpty: isEmpty, - isMatch: isMatch, - isEqual: isEqual, - isMap: isMap, - isWeakMap: isWeakMap, - isSet: isSet, - isWeakSet: isWeakSet, - keys: keys, - allKeys: allKeys, - values: values, - pairs: pairs, - invert: invert, - functions: functions, - methods: functions, - extend: extend, - extendOwn: extendOwn, - assign: extendOwn, - defaults: defaults, - create: create, - clone: clone, - tap: tap, - get: get, - has: has, - mapObject: mapObject, - identity: identity, - constant: constant, - noop: noop, - toPath: toPath$1, - property: property, - propertyOf: propertyOf, - matcher: matcher, - matches: matcher, - times: times, - random: random, - now: now, - escape: _escape, - unescape: _unescape, - templateSettings: templateSettings, - template: template, - result: result, - uniqueId: uniqueId, - chain: chain, - iteratee: iteratee, - partial: partial, - bind: bind, - bindAll: bindAll, - memoize: memoize, - delay: delay, - defer: defer, - throttle: throttle, - debounce: debounce, - wrap: wrap, - negate: negate, - compose: compose, - after: after, - before: before, - once: once, - findKey: findKey, - findIndex: findIndex, - findLastIndex: findLastIndex, - sortedIndex: sortedIndex, - indexOf: indexOf, - lastIndexOf: lastIndexOf, - find: find, - detect: find, - findWhere: findWhere, - each: each, - forEach: each, - map: map, - collect: map, - reduce: reduce, - foldl: reduce, - inject: reduce, - reduceRight: reduceRight, - foldr: reduceRight, - filter: filter, - select: filter, - reject: reject, - every: every, - all: every, - some: some, - any: some, - contains: contains, - includes: contains, - include: contains, - invoke: invoke, - pluck: pluck, - where: where, - max: max, - min: min, - shuffle: shuffle, - sample: sample, - sortBy: sortBy, - groupBy: groupBy, - indexBy: indexBy, - countBy: countBy, - partition: partition, - toArray: toArray, - size: size, - pick: pick, - omit: omit, - first: first, - head: first, - take: first, - initial: initial, - last: last, - rest: rest, - tail: rest, - drop: rest, - compact: compact, - flatten: flatten, - without: without, - uniq: uniq, - unique: uniq, - union: union, - intersection: intersection, - difference: difference, - unzip: unzip, - transpose: unzip, - zip: zip, - object: object, - range: range, - chunk: chunk, - mixin: mixin, - 'default': _$1 -}; - -// Default Export - -// Add all of the Underscore functions to the wrapper object. -var _ = mixin(allExports); -// Legacy Node.js API. -_._ = _; - -// ESM Exports - -export default _; -export { VERSION, after, every as all, allKeys, some as any, extendOwn as assign, before, bind, bindAll, chain, chunk, clone, map as collect, compact, compose, constant, contains, countBy, create, debounce, defaults, defer, delay, find as detect, difference, rest as drop, each, _escape as escape, every, extend, extendOwn, filter, find, findIndex, findKey, findLastIndex, findWhere, first, flatten, reduce as foldl, reduceRight as foldr, each as forEach, functions, get, groupBy, has, first as head, identity, contains as include, contains as includes, indexBy, indexOf, initial, reduce as inject, intersection, invert, invoke, isArguments$1 as isArguments, isArray, isArrayBuffer, isBoolean, isDataView$1 as isDataView, isDate, isElement, isEmpty, isEqual, isError, isFinite$1 as isFinite, isFunction$1 as isFunction, isMap, isMatch, isNaN$1 as isNaN, isNull, isNumber, isObject, isRegExp, isSet, isString, isSymbol, isTypedArray$1 as isTypedArray, isUndefined, isWeakMap, isWeakSet, iteratee, keys, last, lastIndexOf, map, mapObject, matcher, matcher as matches, max, memoize, functions as methods, min, mixin, negate, noop, now, object, omit, once, pairs, partial, partition, pick, pluck, property, propertyOf, random, range, reduce, reduceRight, reject, rest, restArguments, result, sample, filter as select, shuffle, size, some, sortBy, sortedIndex, rest as tail, first as take, tap, template, templateSettings, throttle, times, toArray, toPath$1 as toPath, unzip as transpose, _unescape as unescape, union, uniq, uniq as unique, uniqueId, unzip, values, where, without, wrap, zip }; -//# sourceMappingURL=underscore-esm.js.map diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-esm.js.map b/node_modules/typed-rest-client/node_modules/underscore/underscore-esm.js.map deleted file mode 100644 index 7847f5a0a..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-esm.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"underscore-esm.js","sources":["modules/_setup.js","modules/restArguments.js","modules/isObject.js","modules/isNull.js","modules/isUndefined.js","modules/isBoolean.js","modules/isElement.js","modules/_tagTester.js","modules/isString.js","modules/isNumber.js","modules/isDate.js","modules/isRegExp.js","modules/isError.js","modules/isSymbol.js","modules/isArrayBuffer.js","modules/isFunction.js","modules/_hasObjectTag.js","modules/_stringTagBug.js","modules/isDataView.js","modules/isArray.js","modules/_has.js","modules/isArguments.js","modules/isFinite.js","modules/isNaN.js","modules/constant.js","modules/_createSizePropertyCheck.js","modules/_shallowProperty.js","modules/_getByteLength.js","modules/_isBufferLike.js","modules/isTypedArray.js","modules/_getLength.js","modules/_collectNonEnumProps.js","modules/keys.js","modules/isEmpty.js","modules/isMatch.js","modules/underscore.js","modules/_toBufferView.js","modules/isEqual.js","modules/allKeys.js","modules/_methodFingerprint.js","modules/isMap.js","modules/isWeakMap.js","modules/isSet.js","modules/isWeakSet.js","modules/values.js","modules/pairs.js","modules/invert.js","modules/functions.js","modules/_createAssigner.js","modules/extend.js","modules/extendOwn.js","modules/defaults.js","modules/_baseCreate.js","modules/create.js","modules/clone.js","modules/tap.js","modules/toPath.js","modules/_toPath.js","modules/_deepGet.js","modules/get.js","modules/has.js","modules/identity.js","modules/matcher.js","modules/property.js","modules/_optimizeCb.js","modules/_baseIteratee.js","modules/iteratee.js","modules/_cb.js","modules/mapObject.js","modules/noop.js","modules/propertyOf.js","modules/times.js","modules/random.js","modules/now.js","modules/_createEscaper.js","modules/_escapeMap.js","modules/escape.js","modules/_unescapeMap.js","modules/unescape.js","modules/templateSettings.js","modules/template.js","modules/result.js","modules/uniqueId.js","modules/chain.js","modules/_executeBound.js","modules/partial.js","modules/bind.js","modules/_isArrayLike.js","modules/_flatten.js","modules/bindAll.js","modules/memoize.js","modules/delay.js","modules/defer.js","modules/throttle.js","modules/debounce.js","modules/wrap.js","modules/negate.js","modules/compose.js","modules/after.js","modules/before.js","modules/once.js","modules/findKey.js","modules/_createPredicateIndexFinder.js","modules/findIndex.js","modules/findLastIndex.js","modules/sortedIndex.js","modules/_createIndexFinder.js","modules/indexOf.js","modules/lastIndexOf.js","modules/find.js","modules/findWhere.js","modules/each.js","modules/map.js","modules/_createReduce.js","modules/reduce.js","modules/reduceRight.js","modules/filter.js","modules/reject.js","modules/every.js","modules/some.js","modules/contains.js","modules/invoke.js","modules/pluck.js","modules/where.js","modules/max.js","modules/min.js","modules/sample.js","modules/shuffle.js","modules/sortBy.js","modules/_group.js","modules/groupBy.js","modules/indexBy.js","modules/countBy.js","modules/partition.js","modules/toArray.js","modules/size.js","modules/_keyInObj.js","modules/pick.js","modules/omit.js","modules/initial.js","modules/first.js","modules/rest.js","modules/last.js","modules/compact.js","modules/flatten.js","modules/difference.js","modules/without.js","modules/uniq.js","modules/union.js","modules/intersection.js","modules/unzip.js","modules/zip.js","modules/object.js","modules/range.js","modules/chunk.js","modules/_chainResult.js","modules/mixin.js","modules/underscore-array-methods.js","modules/index.js","modules/index-default.js","modules/index-all.js"],"sourcesContent":null,"names":["isFunction","has","isFinite","isNaN","isDataView","isArguments","_","isTypedArray","toPath","_has","flatten","_flatten"],"mappings":";;;;;AAAA;AACU,IAAC,OAAO,GAAG,SAAS;AAC9B;AACA;AACA;AACA;AACO,IAAI,IAAI,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI;AACvE,UAAU,OAAO,MAAM,IAAI,QAAQ,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,IAAI,MAAM;AACzE,UAAU,QAAQ,CAAC,aAAa,CAAC,EAAE;AACnC,UAAU,EAAE,CAAC;AACb;AACA;AACO,IAAI,UAAU,GAAG,KAAK,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;AAC9D,IAAI,WAAW,GAAG,OAAO,MAAM,KAAK,WAAW,GAAG,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC;AACjF;AACA;AACO,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI;AACjC,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK;AAC5B,IAAI,QAAQ,GAAG,QAAQ,CAAC,QAAQ;AAChC,IAAI,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC;AAC7C;AACA;AACO,IAAI,mBAAmB,GAAG,OAAO,WAAW,KAAK,WAAW;AACnE,IAAI,gBAAgB,GAAG,OAAO,QAAQ,KAAK,WAAW,CAAC;AACvD;AACA;AACA;AACO,IAAI,aAAa,GAAG,KAAK,CAAC,OAAO;AACxC,IAAI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C;AAChC,EAAEA,GAAC,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,WAAW;AACjC,IAAI,IAAI,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC5B,IAAI,IAAI,GAAG,IAAI,IAAI,EAAE,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;AACxD,IAAI,OAAO,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;AAClC,GAAG,CAAC;AACJ,CAAC,CAAC;;AC5BF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;AAoBA;AACA;AACG,IAAC,CAAC,GAAG,KAAK,CAAC,UAAU,EAAE;AAC1B;AACA,CAAC,CAAC,CAAC,GAAG,CAAC;;ACxBP;;;;;"} \ No newline at end of file diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-min.js b/node_modules/typed-rest-client/node_modules/underscore/underscore-min.js deleted file mode 100644 index cf177d428..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-min.js +++ /dev/null @@ -1,6 +0,0 @@ -!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){ -// Underscore.js 1.13.1 -// https://underscorejs.org -// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. -var n="1.13.1",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},t=Array.prototype,e=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,l="undefined"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable("toString"),b=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J("byteLength"),H=K(G),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J("length");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e":">",'"':""","'":"'","`":"`"},Cn=Ln($n),Kn=Ln(_n($n)),Jn=tn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Gn=/(.)^/,Hn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Qn=/\\|'|\r|\n|\u2028|\u2029/g;function Xn(n){return"\\"+Hn[n]}var Yn=/^\s*(\w|\$)+\s*$/;var Zn=0;function nr(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var rr=j((function(n,r){var t=rr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a1)ur(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var lr=rr(cr,2);function sr(n,r,t){r=qn(r,t);for(var e,u=nn(n),o=0,i=u.length;o0?0:u-1;o>=0&&o0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a=3;return r(n,Fn(t,u,4),e,o)}}var Ar=wr(1),xr=wr(-1);function Sr(n,r,t){var e=[];return r=qn(r,t),jr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Or(n,r,t){r=qn(r,t);for(var e=!er(n)&&nn(n),u=(e||n).length,o=0;o=0}var Br=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Nn(r),e=r.slice(0,-1),r=r[r.length-1]),_r(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=In(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Nr(n,r){return _r(n,Rn(r))}function Ir(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=er(n)?n:jn(n)).length;ao&&(o=e);else r=qn(r,t),jr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}function Tr(n,r,t){if(null==r||t)return er(n)||(n=jn(n)),n[Wn(n.length-1)];var e=er(n)?En(n):jn(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i1&&(e=Fn(e,r[1])),r=an(n)):(e=qr,r=ur(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u1&&(t=r[1])):(r=_r(ur(r,!1,!1),String),e=function(n,t){return!Er(r,t)}),Ur(n,e,t)}));function zr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Lr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:zr(n,n.length-r)}function $r(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=ur(r,!0,!0),Sr(n,(function(n){return!Er(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=qn(t,e));for(var u=[],o=[],i=0,a=Y(n);ir?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=zn()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=zn(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return rr(r,n)},negate:fr,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:cr,once:lr,findKey:sr,findIndex:vr,findLastIndex:hr,sortedIndex:yr,indexOf:gr,lastIndexOf:br,find:mr,detect:mr,findWhere:function(n,r){return mr(n,Dn(r))},each:jr,forEach:jr,map:_r,collect:_r,reduce:Ar,foldl:Ar,inject:Ar,reduceRight:xr,foldr:xr,filter:Sr,select:Sr,reject:function(n,r,t){return Sr(n,fr(qn(r)),t)},every:Or,all:Or,some:Mr,any:Mr,contains:Er,includes:Er,include:Er,invoke:Br,pluck:Nr,where:function(n,r){return Sr(n,Dn(r))},max:Ir,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=er(n)?n:jn(n)).length;ae||void 0===t)return 1;if(t","\"","'","`","_escape","_unescape","templateSettings","evaluate","interpolate","escape","noMatch","escapes","\\","\r","\n","
","
","escapeRegExp","escapeChar","bareIdentifier","idCounter","executeBound","sourceFunc","boundFunc","callingContext","partial","boundArgs","placeholder","bound","position","bind","TypeError","callArgs","isArrayLike","flatten","input","depth","strict","output","idx","j","len","bindAll","Error","delay","wait","setTimeout","defer","negate","predicate","before","times","memo","once","findKey","createPredicateIndexFinder","dir","array","findIndex","findLastIndex","sortedIndex","low","high","mid","createIndexFinder","predicateFind","item","indexOf","lastIndexOf","find","each","results","currentKey","createReduce","reducer","initial","reduce","reduceRight","filter","list","every","some","fromIndex","guard","invoke","contextPath","method","pluck","computed","lastComputed","v","sample","n","last","rand","temp","group","behavior","partition","groupBy","indexBy","countBy","pass","reStrSymbol","keyInObj","pick","omit","first","difference","without","otherArrays","uniq","isSorted","seen","union","arrays","unzip","zip","chainResult","instance","_chain","chain","mixin","nodeType","parseFloat","pairs","props","interceptor","_has","accum","text","settings","oldSettings","offset","render","argument","variable","e","template","data","fallback","prefix","id","hasher","memoize","cache","address","options","timeout","previous","later","leading","throttled","_now","remaining","clearTimeout","trailing","cancel","immediate","passed","debounced","_args","wrapper","start","criteria","left","right","Boolean","_flatten","argsLength","stop","step","ceil","range","count"],"mappings":";;;;;AACO,IAAIA,EAAU,SAKVC,EAAsB,iBAARC,MAAoBA,KAAKA,OAASA,MAAQA,MACxC,iBAAVC,QAAsBA,OAAOA,SAAWA,QAAUA,QACzDC,SAAS,cAATA,IACA,GAGCC,EAAaC,MAAMC,UAAWC,EAAWC,OAAOF,UAChDG,EAAgC,oBAAXC,OAAyBA,OAAOJ,UAAY,KAGjEK,EAAOP,EAAWO,KACzBC,EAAQR,EAAWQ,MACnBC,EAAWN,EAASM,SACpBC,EAAiBP,EAASO,eAGnBC,EAA6C,oBAAhBC,YACpCC,EAAuC,oBAAbC,SAInBC,EAAgBd,MAAMe,QAC7BC,EAAab,OAAOc,KACpBC,EAAef,OAAOgB,OACtBC,EAAeV,GAAuBC,YAAYU,OAG3CC,EAASC,MAChBC,EAAYC,SAGLC,GAAc,CAAClB,SAAU,MAAMmB,qBAAqB,YACpDC,EAAqB,CAAC,UAAW,gBAAiB,WAC3D,uBAAwB,iBAAkB,kBAGjCC,EAA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AAO,GACpDE,EAAQ7W,MAAMmC,GAEToM,EAAM,EAAGA,EAAMpM,EAAQoM,IAAO4H,GAASQ,EAC9CE,EAAMtI,GAAO4H,EAGf,OAAOU,SCfM,SAAepH,EAAOqH,GACnC,GAAa,MAATA,GAAiBA,EAAQ,EAAG,MAAO,GAGvC,IAFA,IAAI/N,EAAS,GACTlD,EAAI,EAAG1D,EAASsN,EAAMtN,OACnB0D,EAAI1D,GACT4G,EAAOzI,KAAKC,EAAMiC,KAAKiN,EAAO5J,EAAGA,GAAKiR,IAExC,OAAO/N,gCjCaTvC,GAAEA,EAAIA"} \ No newline at end of file diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-node-f.cjs b/node_modules/typed-rest-client/node_modules/underscore/underscore-node-f.cjs deleted file mode 100644 index 05be06ec6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-node-f.cjs +++ /dev/null @@ -1,2158 +0,0 @@ -// Underscore.js 1.13.1 -// https://underscorejs.org -// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. - -Object.defineProperty(exports, '__esModule', { value: true }); - -// Current version. -var VERSION = '1.13.1'; - -// Establish the root object, `window` (`self`) in the browser, `global` -// on the server, or `this` in some virtual machines. We use `self` -// instead of `window` for `WebWorker` support. -var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || - Function('return this')() || - {}; - -// Save bytes in the minified (but not gzipped) version: -var ArrayProto = Array.prototype, ObjProto = Object.prototype; -var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - -// Create quick reference variables for speed access to core prototypes. -var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - -// Modern feature detection. -var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', - supportsDataView = typeof DataView !== 'undefined'; - -// All **ECMAScript 5+** native function implementations that we hope to use -// are declared here. -var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create, - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; - -// Create references to these builtin functions because we override them. -var _isNaN = isNaN, - _isFinite = isFinite; - -// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. -var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); -var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - -// The largest integer that can be represented exactly. -var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - -// Some functions take a variable number of arguments, or a few expected -// arguments at the beginning and then a variable number of values to operate -// on. This helper accumulates all remaining arguments past the function’s -// argument length (or an explicit `startIndex`), into an array that becomes -// the last argument. Similar to ES6’s "rest parameter". -function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function() { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0: return func.call(this, rest); - case 1: return func.call(this, arguments[0], rest); - case 2: return func.call(this, arguments[0], arguments[1], rest); - } - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; -} - -// Is a given variable an object? -function isObject(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; -} - -// Is a given value equal to null? -function isNull(obj) { - return obj === null; -} - -// Is a given variable undefined? -function isUndefined(obj) { - return obj === void 0; -} - -// Is a given value a boolean? -function isBoolean(obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; -} - -// Is a given value a DOM element? -function isElement(obj) { - return !!(obj && obj.nodeType === 1); -} - -// Internal function for creating a `toString`-based type tester. -function tagTester(name) { - var tag = '[object ' + name + ']'; - return function(obj) { - return toString.call(obj) === tag; - }; -} - -var isString = tagTester('String'); - -var isNumber = tagTester('Number'); - -var isDate = tagTester('Date'); - -var isRegExp = tagTester('RegExp'); - -var isError = tagTester('Error'); - -var isSymbol = tagTester('Symbol'); - -var isArrayBuffer = tagTester('ArrayBuffer'); - -var isFunction = tagTester('Function'); - -// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old -// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). -var nodelist = root.document && root.document.childNodes; -if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; -} - -var isFunction$1 = isFunction; - -var hasObjectTag = tagTester('Object'); - -// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. -// In IE 11, the most common among them, this problem also applies to -// `Map`, `WeakMap` and `Set`. -var hasStringTagBug = ( - supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8))) - ), - isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map)); - -var isDataView = tagTester('DataView'); - -// In IE 10 - Edge 13, we need a different heuristic -// to determine whether an object is a `DataView`. -function ie10IsDataView(obj) { - return obj != null && isFunction$1(obj.getInt8) && isArrayBuffer(obj.buffer); -} - -var isDataView$1 = (hasStringTagBug ? ie10IsDataView : isDataView); - -// Is a given value an array? -// Delegates to ECMA5's native `Array.isArray`. -var isArray = nativeIsArray || tagTester('Array'); - -// Internal function to check whether `key` is an own property name of `obj`. -function has$1(obj, key) { - return obj != null && hasOwnProperty.call(obj, key); -} - -var isArguments = tagTester('Arguments'); - -// Define a fallback version of the method in browsers (ahem, IE < 9), where -// there isn't any inspectable "Arguments" type. -(function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return has$1(obj, 'callee'); - }; - } -}()); - -var isArguments$1 = isArguments; - -// Is a given object a finite number? -function isFinite$1(obj) { - return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); -} - -// Is the given value `NaN`? -function isNaN$1(obj) { - return isNumber(obj) && _isNaN(obj); -} - -// Predicate-generating function. Often useful outside of Underscore. -function constant(value) { - return function() { - return value; - }; -} - -// Common internal logic for `isArrayLike` and `isBufferLike`. -function createSizePropertyCheck(getSizeProperty) { - return function(collection) { - var sizeProperty = getSizeProperty(collection); - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX; - } -} - -// Internal helper to generate a function to obtain property `key` from `obj`. -function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; -} - -// Internal helper to obtain the `byteLength` property of an object. -var getByteLength = shallowProperty('byteLength'); - -// Internal helper to determine whether we should spend extensive checks against -// `ArrayBuffer` et al. -var isBufferLike = createSizePropertyCheck(getByteLength); - -// Is a given value a typed array? -var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; -function isTypedArray(obj) { - // `ArrayBuffer.isView` is the most future-proof, so use it when available. - // Otherwise, fall back on the above regular expression. - return nativeIsView ? (nativeIsView(obj) && !isDataView$1(obj)) : - isBufferLike(obj) && typedArrayPattern.test(toString.call(obj)); -} - -var isTypedArray$1 = supportsArrayBuffer ? isTypedArray : constant(false); - -// Internal helper to obtain the `length` property of an object. -var getLength = shallowProperty('length'); - -// Internal helper to create a simple lookup structure. -// `collectNonEnumProps` used to depend on `_.contains`, but this led to -// circular imports. `emulatedSet` is a one-off solution that only works for -// arrays of strings. -function emulatedSet(keys) { - var hash = {}; - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; - return { - contains: function(key) { return hash[key]; }, - push: function(key) { - hash[key] = true; - return keys.push(key); - } - }; -} - -// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't -// be iterated by `for key in ...` and thus missed. Extends `keys` in place if -// needed. -function collectNonEnumProps(obj, keys) { - keys = emulatedSet(keys); - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = isFunction$1(constructor) && constructor.prototype || ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (has$1(obj, prop) && !keys.contains(prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { - keys.push(prop); - } - } -} - -// Retrieve the names of an object's own properties. -// Delegates to **ECMAScript 5**'s native `Object.keys`. -function keys(obj) { - if (!isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var keys = []; - for (var key in obj) if (has$1(obj, key)) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; -} - -// Is a given array, string, or object empty? -// An "empty" object has no enumerable own-properties. -function isEmpty(obj) { - if (obj == null) return true; - // Skip the more expensive `toString`-based type checks if `obj` has no - // `.length`. - var length = getLength(obj); - if (typeof length == 'number' && ( - isArray(obj) || isString(obj) || isArguments$1(obj) - )) return length === 0; - return getLength(keys(obj)) === 0; -} - -// Returns whether an object has a given set of `key:value` pairs. -function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; -} - -// If Underscore is called as a function, it returns a wrapped object that can -// be used OO-style. This wrapper holds altered versions of all functions added -// through `_.mixin`. Wrapped objects may be chained. -function _$1(obj) { - if (obj instanceof _$1) return obj; - if (!(this instanceof _$1)) return new _$1(obj); - this._wrapped = obj; -} - -_$1.VERSION = VERSION; - -// Extracts the result from a wrapped and chained object. -_$1.prototype.value = function() { - return this._wrapped; -}; - -// Provide unwrapping proxies for some methods used in engine operations -// such as arithmetic and JSON stringification. -_$1.prototype.valueOf = _$1.prototype.toJSON = _$1.prototype.value; - -_$1.prototype.toString = function() { - return String(this._wrapped); -}; - -// Internal function to wrap or shallow-copy an ArrayBuffer, -// typed array or DataView to a new view, reusing the buffer. -function toBufferView(bufferSource) { - return new Uint8Array( - bufferSource.buffer || bufferSource, - bufferSource.byteOffset || 0, - getByteLength(bufferSource) - ); -} - -// We use this string twice, so give it a name for minification. -var tagDataView = '[object DataView]'; - -// Internal recursive comparison function for `_.isEqual`. -function eq(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // `null` or `undefined` only equal to itself (strict comparison). - if (a == null || b == null) return false; - // `NaN`s are equivalent, but non-reflexive. - if (a !== a) return b !== b; - // Exhaust primitive checks - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); -} - -// Internal recursive comparison function for `_.isEqual`. -function deepEq(a, b, aStack, bStack) { - // Unwrap any wrapped objects. - if (a instanceof _$1) a = a._wrapped; - if (b instanceof _$1) b = b._wrapped; - // Compare `[[Class]]` names. - var className = toString.call(a); - if (className !== toString.call(b)) return false; - // Work around a bug in IE 10 - Edge 13. - if (hasStringTagBug && className == '[object Object]' && isDataView$1(a)) { - if (!isDataView$1(b)) return false; - className = tagDataView; - } - switch (className) { - // These types are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN. - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - case '[object Symbol]': - return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b); - case '[object ArrayBuffer]': - case tagDataView: - // Coerce to typed array so we can fall through. - return deepEq(toBufferView(a), toBufferView(b), aStack, bStack); - } - - var areArrays = className === '[object Array]'; - if (!areArrays && isTypedArray$1(a)) { - var byteLength = getByteLength(a); - if (byteLength !== getByteLength(b)) return false; - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; - areArrays = true; - } - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction$1(aCtor) && aCtor instanceof aCtor && - isFunction$1(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var _keys = keys(a), key; - length = _keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = _keys[length]; - if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; -} - -// Perform a deep comparison to check if two objects are equal. -function isEqual(a, b) { - return eq(a, b); -} - -// Retrieve all the enumerable property names of an object. -function allKeys(obj) { - if (!isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; -} - -// Since the regular `Object.prototype.toString` type tests don't work for -// some types in IE 11, we use a fingerprinting heuristic instead, based -// on the methods. It's not great, but it's the best we got. -// The fingerprint method lists are defined below. -function ie11fingerprint(methods) { - var length = getLength(methods); - return function(obj) { - if (obj == null) return false; - // `Map`, `WeakMap` and `Set` have no enumerable keys. - var keys = allKeys(obj); - if (getLength(keys)) return false; - for (var i = 0; i < length; i++) { - if (!isFunction$1(obj[methods[i]])) return false; - } - // If we are testing against `WeakMap`, we need to ensure that - // `obj` doesn't have a `forEach` method in order to distinguish - // it from a regular `Map`. - return methods !== weakMapMethods || !isFunction$1(obj[forEachName]); - }; -} - -// In the interest of compact minification, we write -// each string in the fingerprints only once. -var forEachName = 'forEach', - hasName = 'has', - commonInit = ['clear', 'delete'], - mapTail = ['get', hasName, 'set']; - -// `Map`, `WeakMap` and `Set` each have slightly different -// combinations of the above sublists. -var mapMethods = commonInit.concat(forEachName, mapTail), - weakMapMethods = commonInit.concat(mapTail), - setMethods = ['add'].concat(commonInit, forEachName, hasName); - -var isMap = isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map'); - -var isWeakMap = isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap'); - -var isSet = isIE11 ? ie11fingerprint(setMethods) : tagTester('Set'); - -var isWeakSet = tagTester('WeakSet'); - -// Retrieve the values of an object's properties. -function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; - } - return values; -} - -// Convert an object into a list of `[key, value]` pairs. -// The opposite of `_.object` with one argument. -function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; - } - return pairs; -} - -// Invert the keys and values of an object. The values must be serializable. -function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; - } - return result; -} - -// Return a sorted list of the function names available on the object. -function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction$1(obj[key])) names.push(key); - } - return names.sort(); -} - -// An internal function for creating assigner functions. -function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; -} - -// Extend a given object with all the properties in passed-in object(s). -var extend = createAssigner(allKeys); - -// Assigns a given object with all the own properties in the passed-in -// object(s). -// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) -var extendOwn = createAssigner(keys); - -// Fill in a given object with default properties. -var defaults = createAssigner(allKeys, true); - -// Create a naked function reference for surrogate-prototype-swapping. -function ctor() { - return function(){}; -} - -// An internal function for creating a new object that inherits from another. -function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - var Ctor = ctor(); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; -} - -// Creates an object that inherits from the given prototype object. -// If additional properties are provided then they will be added to the -// created object. -function create(prototype, props) { - var result = baseCreate(prototype); - if (props) extendOwn(result, props); - return result; -} - -// Create a (shallow-cloned) duplicate of an object. -function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); -} - -// Invokes `interceptor` with the `obj` and then returns `obj`. -// The primary purpose of this method is to "tap into" a method chain, in -// order to perform operations on intermediate results within the chain. -function tap(obj, interceptor) { - interceptor(obj); - return obj; -} - -// Normalize a (deep) property `path` to array. -// Like `_.iteratee`, this function can be customized. -function toPath$1(path) { - return isArray(path) ? path : [path]; -} -_$1.toPath = toPath$1; - -// Internal wrapper for `_.toPath` to enable minification. -// Similar to `cb` for `_.iteratee`. -function toPath(path) { - return _$1.toPath(path); -} - -// Internal function to obtain a nested property in `obj` along `path`. -function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; -} - -// Get the value of the (deep) property on `path` from `object`. -// If any property in `path` does not exist or if the value is -// `undefined`, return `defaultValue` instead. -// The `path` is normalized through `_.toPath`. -function get(object, path, defaultValue) { - var value = deepGet(object, toPath(path)); - return isUndefined(value) ? defaultValue : value; -} - -// Shortcut function for checking if an object has a given property directly on -// itself (in other words, not on a prototype). Unlike the internal `has` -// function, this public version can also traverse nested properties. -function has(obj, path) { - path = toPath(path); - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (!has$1(obj, key)) return false; - obj = obj[key]; - } - return !!length; -} - -// Keep the identity function around for default iteratees. -function identity(value) { - return value; -} - -// Returns a predicate for checking whether an object has a given set of -// `key:value` pairs. -function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; -} - -// Creates a function that, when passed an object, will traverse that object’s -// properties down the given `path`, specified as an array of keys or indices. -function property(path) { - path = toPath(path); - return function(obj) { - return deepGet(obj, path); - }; -} - -// Internal function that returns an efficient (for current engines) version -// of the passed-in callback, to be repeatedly applied in other Underscore -// functions. -function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - // The 2-argument case is omitted because we’re not using it. - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; -} - -// An internal function to generate callbacks that can be applied to each -// element in a collection, returning the desired result — either `_.identity`, -// an arbitrary callback, a property matcher, or a property accessor. -function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction$1(value)) return optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); -} - -// External wrapper for our callback generator. Users may customize -// `_.iteratee` if they want additional predicate/iteratee shorthand styles. -// This abstraction hides the internal-only `argCount` argument. -function iteratee(value, context) { - return baseIteratee(value, context, Infinity); -} -_$1.iteratee = iteratee; - -// The function we call internally to generate a callback. It invokes -// `_.iteratee` if overridden, otherwise `baseIteratee`. -function cb(value, context, argCount) { - if (_$1.iteratee !== iteratee) return _$1.iteratee(value, context); - return baseIteratee(value, context, argCount); -} - -// Returns the results of applying the `iteratee` to each element of `obj`. -// In contrast to `_.map` it returns an object. -function mapObject(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; -} - -// Predicate-generating function. Often useful outside of Underscore. -function noop(){} - -// Generates a function for a given object that returns a given property. -function propertyOf(obj) { - if (obj == null) return noop; - return function(path) { - return get(obj, path); - }; -} - -// Run a function **n** times. -function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; -} - -// Return a random integer between `min` and `max` (inclusive). -function random(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); -} - -// A (possibly faster) way to get the current timestamp as an integer. -var now = Date.now || function() { - return new Date().getTime(); -}; - -// Internal helper to generate functions for escaping and unescaping strings -// to/from HTML interpolation. -function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped. - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; -} - -// Internal list of HTML entities for escaping. -var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' -}; - -// Function for escaping strings to HTML interpolation. -var _escape = createEscaper(escapeMap); - -// Internal list of HTML entities for unescaping. -var unescapeMap = invert(escapeMap); - -// Function for unescaping strings from HTML interpolation. -var _unescape = createEscaper(unescapeMap); - -// By default, Underscore uses ERB-style template delimiters. Change the -// following template settings to use alternative delimiters. -var templateSettings = _$1.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g -}; - -// When customizing `_.templateSettings`, if you don't want to define an -// interpolation, evaluation or escaping regex, we need one that is -// guaranteed not to match. -var noMatch = /(.)^/; - -// Certain characters need to be escaped so that they can be put into a -// string literal. -var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' -}; - -var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - -function escapeChar(match) { - return '\\' + escapes[match]; -} - -// In order to prevent third-party code injection through -// `_.templateSettings.variable`, we test it against the following regular -// expression. It is intentionally a bit more liberal than just matching valid -// identifiers, but still prevents possible loopholes through defaults or -// destructuring assignment. -var bareIdentifier = /^\s*(\w|\$)+\s*$/; - -// JavaScript micro-templating, similar to John Resig's implementation. -// Underscore templating handles arbitrary delimiters, preserves whitespace, -// and correctly escapes quotes within interpolated code. -// NB: `oldSettings` only exists for backwards compatibility. -function template(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = defaults({}, settings, _$1.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offset. - return match; - }); - source += "';\n"; - - var argument = settings.variable; - if (argument) { - // Insure against third-party code injection. (CVE-2021-23358) - if (!bareIdentifier.test(argument)) throw new Error( - 'variable is not a bare identifier: ' + argument - ); - } else { - // If a variable is not specified, place data values in local scope. - source = 'with(obj||{}){\n' + source + '}\n'; - argument = 'obj'; - } - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(argument, '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function(data) { - return render.call(this, data, _$1); - }; - - // Provide the compiled source as a convenience for precompilation. - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; -} - -// Traverses the children of `obj` along `path`. If a child is a function, it -// is invoked with its parent as context. Returns the value of the final -// child, or `fallback` if any child is undefined. -function result(obj, path, fallback) { - path = toPath(path); - var length = path.length; - if (!length) { - return isFunction$1(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction$1(prop) ? prop.call(obj) : prop; - } - return obj; -} - -// Generate a unique integer id (unique within the entire client session). -// Useful for temporary DOM ids. -var idCounter = 0; -function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; -} - -// Start chaining a wrapped Underscore object. -function chain(obj) { - var instance = _$1(obj); - instance._chain = true; - return instance; -} - -// Internal function to execute `sourceFunc` bound to `context` with optional -// `args`. Determines whether to execute a function as a constructor or as a -// normal function. -function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (isObject(result)) return result; - return self; -} - -// Partially apply a function by creating a version that has had some of its -// arguments pre-filled, without changing its dynamic `this` context. `_` acts -// as a placeholder by default, allowing any combination of arguments to be -// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. -var partial = restArguments(function(func, boundArgs) { - var placeholder = partial.placeholder; - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return executeBound(func, bound, this, this, args); - }; - return bound; -}); - -partial.placeholder = _$1; - -// Create a function bound to a given object (assigning `this`, and arguments, -// optionally). -var bind = restArguments(function(func, context, args) { - if (!isFunction$1(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; -}); - -// Internal helper for collection methods to determine whether a collection -// should be iterated as an array or as an object. -// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength -// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 -var isArrayLike = createSizePropertyCheck(getLength); - -// Internal implementation of a recursive `flatten` function. -function flatten$1(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { - // Flatten current level of array or arguments object. - if (depth > 1) { - flatten$1(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; -} - -// Bind a number of an object's methods to that object. Remaining arguments -// are the method names to be bound. Useful for ensuring that all callbacks -// defined on an object belong to it. -var bindAll = restArguments(function(obj, keys) { - keys = flatten$1(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = bind(obj[key], obj); - } - return obj; -}); - -// Memoize an expensive function by storing its results. -function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!has$1(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; -} - -// Delays a function for the given number of milliseconds, and then calls -// it with the arguments supplied. -var delay = restArguments(function(func, wait, args) { - return setTimeout(function() { - return func.apply(null, args); - }, wait); -}); - -// Defers a function, scheduling it to run after the current call stack has -// cleared. -var defer = partial(delay, _$1, 1); - -// Returns a function, that, when invoked, will only be triggered at most once -// during a given window of time. Normally, the throttled function will run -// as much as it can, without ever going more than once per `wait` duration; -// but if you'd like to disable the execution on the leading edge, pass -// `{leading: false}`. To disable execution on the trailing edge, ditto. -function throttle(func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function() { - previous = options.leading === false ? 0 : now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function() { - var _now = now(); - if (!previous && options.leading === false) previous = _now; - var remaining = wait - (_now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = _now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function() { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; -} - -// When a sequence of calls of the returned function ends, the argument -// function is triggered. The end of a sequence is defined by the `wait` -// parameter. If `immediate` is passed, the argument function will be -// triggered at the beginning of the sequence instead of at the end. -function debounce(func, wait, immediate) { - var timeout, previous, args, result, context; - - var later = function() { - var passed = now() - previous; - if (wait > passed) { - timeout = setTimeout(later, wait - passed); - } else { - timeout = null; - if (!immediate) result = func.apply(context, args); - // This check is needed because `func` can recursively invoke `debounced`. - if (!timeout) args = context = null; - } - }; - - var debounced = restArguments(function(_args) { - context = this; - args = _args; - previous = now(); - if (!timeout) { - timeout = setTimeout(later, wait); - if (immediate) result = func.apply(context, args); - } - return result; - }); - - debounced.cancel = function() { - clearTimeout(timeout); - timeout = args = context = null; - }; - - return debounced; -} - -// Returns the first function passed as an argument to the second, -// allowing you to adjust arguments, run code before and after, and -// conditionally execute the original function. -function wrap(func, wrapper) { - return partial(wrapper, func); -} - -// Returns a negated version of the passed-in predicate. -function negate(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; -} - -// Returns a function that is the composition of a list of functions, each -// consuming the return value of the function that follows. -function compose() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; -} - -// Returns a function that will only be executed on and after the Nth call. -function after(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; -} - -// Returns a function that will only be executed up to (but not including) the -// Nth call. -function before(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; -} - -// Returns a function that will be executed at most one time, no matter how -// often you call it. Useful for lazy initialization. -var once = partial(before, 2); - -// Returns the first key on an object that passes a truth test. -function findKey(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } -} - -// Internal function to generate `_.findIndex` and `_.findLastIndex`. -function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = cb(predicate, context); - var length = getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; -} - -// Returns the first index on an array-like that passes a truth test. -var findIndex = createPredicateIndexFinder(1); - -// Returns the last index on an array-like that passes a truth test. -var findLastIndex = createPredicateIndexFinder(-1); - -// Use a comparator function to figure out the smallest index at which -// an object should be inserted so as to maintain order. Uses binary search. -function sortedIndex(array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; -} - -// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. -function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(slice.call(array, i, length), isNaN$1); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; -} - -// Return the position of the first occurrence of an item in an array, -// or -1 if the item is not included in the array. -// If the array is large and already in sort order, pass `true` -// for **isSorted** to use binary search. -var indexOf = createIndexFinder(1, findIndex, sortedIndex); - -// Return the position of the last occurrence of an item in an array, -// or -1 if the item is not included in the array. -var lastIndexOf = createIndexFinder(-1, findLastIndex); - -// Return the first value which passes a truth test. -function find(obj, predicate, context) { - var keyFinder = isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; -} - -// Convenience version of a common use case of `_.find`: getting the first -// object containing specific `key:value` pairs. -function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); -} - -// The cornerstone for collection functions, an `each` -// implementation, aka `forEach`. -// Handles raw objects in addition to array-likes. Treats all -// sparse array-likes as if they were dense. -function each(obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; -} - -// Return the results of applying the iteratee to each element. -function map(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; -} - -// Internal helper to create a reducing function, iterating left or right. -function createReduce(dir) { - // Wrap code that reassigns argument variables in a separate function than - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); - }; -} - -// **Reduce** builds up a single result from a list of values, aka `inject`, -// or `foldl`. -var reduce = createReduce(1); - -// The right-associative version of reduce, also known as `foldr`. -var reduceRight = createReduce(-1); - -// Return all the elements that pass a truth test. -function filter(obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; -} - -// Return all the elements for which a truth test fails. -function reject(obj, predicate, context) { - return filter(obj, negate(cb(predicate)), context); -} - -// Determine whether all of the elements pass a truth test. -function every(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; -} - -// Determine if at least one element in the object passes a truth test. -function some(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; -} - -// Determine if the array or object contains a given item (using `===`). -function contains(obj, item, fromIndex, guard) { - if (!isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; -} - -// Invoke a method (with arguments) on every item in a collection. -var invoke = restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction$1(path)) { - func = path; - } else { - path = toPath(path); - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); -}); - -// Convenience version of a common use case of `_.map`: fetching a property. -function pluck(obj, key) { - return map(obj, property(key)); -} - -// Convenience version of a common use case of `_.filter`: selecting only -// objects containing specific `key:value` pairs. -function where(obj, attrs) { - return filter(obj, matcher(attrs)); -} - -// Return the maximum element (or element-based computation). -function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; -} - -// Return the minimum element (or element-based computation). -function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; -} - -// Sample **n** random values from a collection using the modern version of the -// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). -// If **n** is not specified, returns a single random element. -// The internal `guard` argument allows it to work with `_.map`. -function sample(obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = isArrayLike(obj) ? clone(obj) : values(obj); - var length = getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); -} - -// Shuffle a collection. -function shuffle(obj) { - return sample(obj, Infinity); -} - -// Sort the object's values by a criterion produced by an iteratee. -function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); -} - -// An internal function used for aggregate "group by" operations. -function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; -} - -// Groups the object's values by a criterion. Pass either a string attribute -// to group by, or a function that returns the criterion. -var groupBy = group(function(result, value, key) { - if (has$1(result, key)) result[key].push(value); else result[key] = [value]; -}); - -// Indexes the object's values by a criterion, similar to `_.groupBy`, but for -// when you know that your index values will be unique. -var indexBy = group(function(result, value, key) { - result[key] = value; -}); - -// Counts instances of an object that group by a certain criterion. Pass -// either a string attribute to count by, or a function that returns the -// criterion. -var countBy = group(function(result, value, key) { - if (has$1(result, key)) result[key]++; else result[key] = 1; -}); - -// Split a collection into two arrays: one whose elements all pass the given -// truth test, and one whose elements all do not pass the truth test. -var partition = group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); -}, true); - -// Safely create a real, live array from anything iterable. -var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; -function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return slice.call(obj); - if (isString(obj)) { - // Keep surrogate pair characters together. - return obj.match(reStrSymbol); - } - if (isArrayLike(obj)) return map(obj, identity); - return values(obj); -} - -// Return the number of elements in a collection. -function size(obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : keys(obj).length; -} - -// Internal `_.pick` helper function to determine whether `key` is an enumerable -// property name of `obj`. -function keyInObj(value, key, obj) { - return key in obj; -} - -// Return a copy of the object only containing the allowed properties. -var pick = restArguments(function(obj, keys) { - var result = {}, iteratee = keys[0]; - if (obj == null) return result; - if (isFunction$1(iteratee)) { - if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]); - keys = allKeys(obj); - } else { - iteratee = keyInObj; - keys = flatten$1(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; -}); - -// Return a copy of the object without the disallowed properties. -var omit = restArguments(function(obj, keys) { - var iteratee = keys[0], context; - if (isFunction$1(iteratee)) { - iteratee = negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = map(flatten$1(keys, false, false), String); - iteratee = function(value, key) { - return !contains(keys, key); - }; - } - return pick(obj, iteratee, context); -}); - -// Returns everything but the last entry of the array. Especially useful on -// the arguments object. Passing **n** will return all the values in -// the array, excluding the last N. -function initial(array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); -} - -// Get the first element of an array. Passing **n** will return the first N -// values in the array. The **guard** check allows it to work with `_.map`. -function first(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); -} - -// Returns everything but the first entry of the `array`. Especially useful on -// the `arguments` object. Passing an **n** will return the rest N values in the -// `array`. -function rest(array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); -} - -// Get the last element of an array. Passing **n** will return the last N -// values in the array. -function last(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); -} - -// Trim out all falsy values from an array. -function compact(array) { - return filter(array, Boolean); -} - -// Flatten out an array, either recursively (by default), or up to `depth`. -// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. -function flatten(array, depth) { - return flatten$1(array, depth, false); -} - -// Take the difference between one array and a number of other arrays. -// Only the elements present in just the first array will remain. -var difference = restArguments(function(array, rest) { - rest = flatten$1(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); -}); - -// Return a version of the array that does not contain the specified value(s). -var without = restArguments(function(array, otherArrays) { - return difference(array, otherArrays); -}); - -// Produce a duplicate-free version of the array. If the array has already -// been sorted, you have the option of using a faster algorithm. -// The faster algorithm will not work with an iteratee if the iteratee -// is not a one-to-one function, so providing an iteratee will disable -// the faster algorithm. -function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!contains(result, value)) { - result.push(value); - } - } - return result; -} - -// Produce an array that contains the union: each distinct element from all of -// the passed-in arrays. -var union = restArguments(function(arrays) { - return uniq(flatten$1(arrays, true, true)); -}); - -// Produce an array that contains every item shared between all the -// passed-in arrays. -function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; -} - -// Complement of zip. Unzip accepts an array of arrays and groups -// each array's elements on shared indices. -function unzip(array) { - var length = array && max(array, getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); - } - return result; -} - -// Zip together multiple lists into a single array -- elements that share -// an index go together. -var zip = restArguments(unzip); - -// Converts lists into objects. Pass either a single array of `[key, value]` -// pairs, or two parallel arrays of the same length -- one of keys, and one of -// the corresponding values. Passing by pairs is the reverse of `_.pairs`. -function object(list, values) { - var result = {}; - for (var i = 0, length = getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; -} - -// Generate an integer Array containing an arithmetic progression. A port of -// the native Python `range()` function. See -// [the Python documentation](https://docs.python.org/library/functions.html#range). -function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; -} - -// Chunk a single array into multiple arrays, each containing `count` or fewer -// items. -function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(slice.call(array, i, i += count)); - } - return result; -} - -// Helper function to continue chaining intermediate results. -function chainResult(instance, obj) { - return instance._chain ? _$1(obj).chain() : obj; -} - -// Add your own custom functions to the Underscore object. -function mixin(obj) { - each(functions(obj), function(name) { - var func = _$1[name] = obj[name]; - _$1.prototype[name] = function() { - var args = [this._wrapped]; - push.apply(args, arguments); - return chainResult(this, func.apply(_$1, args)); - }; - }); - return _$1; -} - -// Add all mutator `Array` functions to the wrapper. -each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) { - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) { - delete obj[0]; - } - } - return chainResult(this, obj); - }; -}); - -// Add all accessor `Array` functions to the wrapper. -each(['concat', 'join', 'slice'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) obj = method.apply(obj, arguments); - return chainResult(this, obj); - }; -}); - -// Named Exports - -var allExports = { - __proto__: null, - VERSION: VERSION, - restArguments: restArguments, - isObject: isObject, - isNull: isNull, - isUndefined: isUndefined, - isBoolean: isBoolean, - isElement: isElement, - isString: isString, - isNumber: isNumber, - isDate: isDate, - isRegExp: isRegExp, - isError: isError, - isSymbol: isSymbol, - isArrayBuffer: isArrayBuffer, - isDataView: isDataView$1, - isArray: isArray, - isFunction: isFunction$1, - isArguments: isArguments$1, - isFinite: isFinite$1, - isNaN: isNaN$1, - isTypedArray: isTypedArray$1, - isEmpty: isEmpty, - isMatch: isMatch, - isEqual: isEqual, - isMap: isMap, - isWeakMap: isWeakMap, - isSet: isSet, - isWeakSet: isWeakSet, - keys: keys, - allKeys: allKeys, - values: values, - pairs: pairs, - invert: invert, - functions: functions, - methods: functions, - extend: extend, - extendOwn: extendOwn, - assign: extendOwn, - defaults: defaults, - create: create, - clone: clone, - tap: tap, - get: get, - has: has, - mapObject: mapObject, - identity: identity, - constant: constant, - noop: noop, - toPath: toPath$1, - property: property, - propertyOf: propertyOf, - matcher: matcher, - matches: matcher, - times: times, - random: random, - now: now, - escape: _escape, - unescape: _unescape, - templateSettings: templateSettings, - template: template, - result: result, - uniqueId: uniqueId, - chain: chain, - iteratee: iteratee, - partial: partial, - bind: bind, - bindAll: bindAll, - memoize: memoize, - delay: delay, - defer: defer, - throttle: throttle, - debounce: debounce, - wrap: wrap, - negate: negate, - compose: compose, - after: after, - before: before, - once: once, - findKey: findKey, - findIndex: findIndex, - findLastIndex: findLastIndex, - sortedIndex: sortedIndex, - indexOf: indexOf, - lastIndexOf: lastIndexOf, - find: find, - detect: find, - findWhere: findWhere, - each: each, - forEach: each, - map: map, - collect: map, - reduce: reduce, - foldl: reduce, - inject: reduce, - reduceRight: reduceRight, - foldr: reduceRight, - filter: filter, - select: filter, - reject: reject, - every: every, - all: every, - some: some, - any: some, - contains: contains, - includes: contains, - include: contains, - invoke: invoke, - pluck: pluck, - where: where, - max: max, - min: min, - shuffle: shuffle, - sample: sample, - sortBy: sortBy, - groupBy: groupBy, - indexBy: indexBy, - countBy: countBy, - partition: partition, - toArray: toArray, - size: size, - pick: pick, - omit: omit, - first: first, - head: first, - take: first, - initial: initial, - last: last, - rest: rest, - tail: rest, - drop: rest, - compact: compact, - flatten: flatten, - without: without, - uniq: uniq, - unique: uniq, - union: union, - intersection: intersection, - difference: difference, - unzip: unzip, - transpose: unzip, - zip: zip, - object: object, - range: range, - chunk: chunk, - mixin: mixin, - 'default': _$1 -}; - -// Default Export - -// Add all of the Underscore functions to the wrapper object. -var _ = mixin(allExports); -// Legacy Node.js API. -_._ = _; - -exports.VERSION = VERSION; -exports._ = _; -exports._escape = _escape; -exports._unescape = _unescape; -exports.after = after; -exports.allKeys = allKeys; -exports.before = before; -exports.bind = bind; -exports.bindAll = bindAll; -exports.chain = chain; -exports.chunk = chunk; -exports.clone = clone; -exports.compact = compact; -exports.compose = compose; -exports.constant = constant; -exports.contains = contains; -exports.countBy = countBy; -exports.create = create; -exports.debounce = debounce; -exports.defaults = defaults; -exports.defer = defer; -exports.delay = delay; -exports.difference = difference; -exports.each = each; -exports.every = every; -exports.extend = extend; -exports.extendOwn = extendOwn; -exports.filter = filter; -exports.find = find; -exports.findIndex = findIndex; -exports.findKey = findKey; -exports.findLastIndex = findLastIndex; -exports.findWhere = findWhere; -exports.first = first; -exports.flatten = flatten; -exports.functions = functions; -exports.get = get; -exports.groupBy = groupBy; -exports.has = has; -exports.identity = identity; -exports.indexBy = indexBy; -exports.indexOf = indexOf; -exports.initial = initial; -exports.intersection = intersection; -exports.invert = invert; -exports.invoke = invoke; -exports.isArguments = isArguments$1; -exports.isArray = isArray; -exports.isArrayBuffer = isArrayBuffer; -exports.isBoolean = isBoolean; -exports.isDataView = isDataView$1; -exports.isDate = isDate; -exports.isElement = isElement; -exports.isEmpty = isEmpty; -exports.isEqual = isEqual; -exports.isError = isError; -exports.isFinite = isFinite$1; -exports.isFunction = isFunction$1; -exports.isMap = isMap; -exports.isMatch = isMatch; -exports.isNaN = isNaN$1; -exports.isNull = isNull; -exports.isNumber = isNumber; -exports.isObject = isObject; -exports.isRegExp = isRegExp; -exports.isSet = isSet; -exports.isString = isString; -exports.isSymbol = isSymbol; -exports.isTypedArray = isTypedArray$1; -exports.isUndefined = isUndefined; -exports.isWeakMap = isWeakMap; -exports.isWeakSet = isWeakSet; -exports.iteratee = iteratee; -exports.keys = keys; -exports.last = last; -exports.lastIndexOf = lastIndexOf; -exports.map = map; -exports.mapObject = mapObject; -exports.matcher = matcher; -exports.max = max; -exports.memoize = memoize; -exports.min = min; -exports.mixin = mixin; -exports.negate = negate; -exports.noop = noop; -exports.now = now; -exports.object = object; -exports.omit = omit; -exports.once = once; -exports.pairs = pairs; -exports.partial = partial; -exports.partition = partition; -exports.pick = pick; -exports.pluck = pluck; -exports.property = property; -exports.propertyOf = propertyOf; -exports.random = random; -exports.range = range; -exports.reduce = reduce; -exports.reduceRight = reduceRight; -exports.reject = reject; -exports.rest = rest; -exports.restArguments = restArguments; -exports.result = result; -exports.sample = sample; -exports.shuffle = shuffle; -exports.size = size; -exports.some = some; -exports.sortBy = sortBy; -exports.sortedIndex = sortedIndex; -exports.tap = tap; -exports.template = template; -exports.templateSettings = templateSettings; -exports.throttle = throttle; -exports.times = times; -exports.toArray = toArray; -exports.toPath = toPath$1; -exports.union = union; -exports.uniq = uniq; -exports.uniqueId = uniqueId; -exports.unzip = unzip; -exports.values = values; -exports.where = where; -exports.without = without; -exports.wrap = wrap; -exports.zip = zip; -//# sourceMappingURL=underscore-node-f.cjs.map diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-node-f.cjs.map b/node_modules/typed-rest-client/node_modules/underscore/underscore-node-f.cjs.map deleted file mode 100644 index 75f4b3a7b..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-node-f.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"underscore-node-f.cjs","sources":["underscore-node-f-pre.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;;AAAA;AACG,IAAC,OAAO,GAAG,SAAS;AACvB;AACA;AACA;AACA;AACA,IAAI,IAAI,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI;AAChE,UAAU,OAAO,MAAM,IAAI,QAAQ,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,IAAI,MAAM;AACzE,UAAU,QAAQ,CAAC,aAAa,CAAC,EAAE;AACnC,UAAU,EAAE,CAAC;AACb;AACA;AACA,IAAI,UAAU,GAAG,KAAK,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;AAC9D,IAAI,WAAW,GAAG,OAAO,MAAM,KAAK,WAAW,GAAG,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC;AAC1E;AACA;AACA,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI;AAC1B,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK;AAC5B,IAAI,QAAQ,GAAG,QAAQ,CAAC,QAAQ;AAChC,IAAI,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC;AAC7C;AACA;AACA,IAAI,mBAAmB,GAAG,OAAO,WAAW,KAAK,WAAW;AAC5D,IAAI,gBAAgB,GAAG,OAAO,QAAQ,KAAK,WAAW,CAAC;AACvD;AACA;AACA;AACA,IAAI,aAAa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AAE,YAAY;AAC5B,EAAE,UAAU,EAAE,UAAU;AACxB,EAAE,KAAK,EAAE,KAAK;AACd,EAAE,SAAS,EAAE,KAAK;AAClB,EAAE,GAAG,EAAE,GAAG;AACV,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,KAAK,EAAE,KAAK;AACd,EAAE,KAAK,EAAE,KAAK;AACd,EAAE,KAAK,EAAE,KAAK;AACd,EAAE,SAAS,EAAE,GAAG;AAChB,CAAC,CAAC;AACF;AACA;AACA;AACA;AACG,IAAC,CAAC,GAAG,KAAK,CAAC,UAAU,EAAE;AAC1B;AACA,CAAC,CAAC,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-node.cjs b/node_modules/typed-rest-client/node_modules/underscore/underscore-node.cjs deleted file mode 100644 index b129cea4d..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-node.cjs +++ /dev/null @@ -1,11 +0,0 @@ -// Underscore.js 1.13.1 -// https://underscorejs.org -// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. - -var underscoreNodeF = require('./underscore-node-f.cjs'); - - - -module.exports = underscoreNodeF._; -//# sourceMappingURL=underscore-node.cjs.map diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-node.cjs.map b/node_modules/typed-rest-client/node_modules/underscore/underscore-node.cjs.map deleted file mode 100644 index 34b7b2988..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-node.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"underscore-node.cjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;"} \ No newline at end of file diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-node.mjs b/node_modules/typed-rest-client/node_modules/underscore/underscore-node.mjs deleted file mode 100644 index 8969dbbe6..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-node.mjs +++ /dev/null @@ -1,7 +0,0 @@ -// Underscore.js 1.13.1 -// https://underscorejs.org -// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. - -export { VERSION, after, every as all, allKeys, some as any, extendOwn as assign, before, bind, bindAll, chain, chunk, clone, map as collect, compact, compose, constant, contains, countBy, create, debounce, _ as default, defaults, defer, delay, find as detect, difference, rest as drop, each, _escape as escape, every, extend, extendOwn, filter, find, findIndex, findKey, findLastIndex, findWhere, first, flatten, reduce as foldl, reduceRight as foldr, each as forEach, functions, get, groupBy, has, first as head, identity, contains as include, contains as includes, indexBy, indexOf, initial, reduce as inject, intersection, invert, invoke, isArguments, isArray, isArrayBuffer, isBoolean, isDataView, isDate, isElement, isEmpty, isEqual, isError, isFinite, isFunction, isMap, isMatch, isNaN, isNull, isNumber, isObject, isRegExp, isSet, isString, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, iteratee, keys, last, lastIndexOf, map, mapObject, matcher, matcher as matches, max, memoize, functions as methods, min, mixin, negate, noop, now, object, omit, once, pairs, partial, partition, pick, pluck, property, propertyOf, random, range, reduce, reduceRight, reject, rest, restArguments, result, sample, filter as select, shuffle, size, some, sortBy, sortedIndex, rest as tail, first as take, tap, template, templateSettings, throttle, times, toArray, toPath, unzip as transpose, _unescape as unescape, union, uniq, uniq as unique, uniqueId, unzip, values, where, without, wrap, zip } from './underscore-node-f.cjs'; -//# sourceMappingURL=underscore-node.mjs.map diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-node.mjs.map b/node_modules/typed-rest-client/node_modules/underscore/underscore-node.mjs.map deleted file mode 100644 index 5d1025b95..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-node.mjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"underscore-node.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;"} \ No newline at end of file diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-umd-min.js b/node_modules/typed-rest-client/node_modules/underscore/underscore-umd-min.js deleted file mode 100644 index cf177d428..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-umd-min.js +++ /dev/null @@ -1,6 +0,0 @@ -!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){ -// Underscore.js 1.13.1 -// https://underscorejs.org -// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. -var n="1.13.1",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},t=Array.prototype,e=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,l="undefined"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable("toString"),b=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J("byteLength"),H=K(G),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J("length");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e":">",'"':""","'":"'","`":"`"},Cn=Ln($n),Kn=Ln(_n($n)),Jn=tn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Gn=/(.)^/,Hn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Qn=/\\|'|\r|\n|\u2028|\u2029/g;function Xn(n){return"\\"+Hn[n]}var Yn=/^\s*(\w|\$)+\s*$/;var Zn=0;function nr(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var rr=j((function(n,r){var t=rr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a1)ur(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var lr=rr(cr,2);function sr(n,r,t){r=qn(r,t);for(var e,u=nn(n),o=0,i=u.length;o0?0:u-1;o>=0&&o0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a=3;return r(n,Fn(t,u,4),e,o)}}var Ar=wr(1),xr=wr(-1);function Sr(n,r,t){var e=[];return r=qn(r,t),jr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Or(n,r,t){r=qn(r,t);for(var e=!er(n)&&nn(n),u=(e||n).length,o=0;o=0}var Br=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Nn(r),e=r.slice(0,-1),r=r[r.length-1]),_r(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=In(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Nr(n,r){return _r(n,Rn(r))}function Ir(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=er(n)?n:jn(n)).length;ao&&(o=e);else r=qn(r,t),jr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}function Tr(n,r,t){if(null==r||t)return er(n)||(n=jn(n)),n[Wn(n.length-1)];var e=er(n)?En(n):jn(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i1&&(e=Fn(e,r[1])),r=an(n)):(e=qr,r=ur(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u1&&(t=r[1])):(r=_r(ur(r,!1,!1),String),e=function(n,t){return!Er(r,t)}),Ur(n,e,t)}));function zr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Lr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:zr(n,n.length-r)}function $r(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=ur(r,!0,!0),Sr(n,(function(n){return!Er(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=qn(t,e));for(var u=[],o=[],i=0,a=Y(n);ir?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=zn()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=zn(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return rr(r,n)},negate:fr,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:cr,once:lr,findKey:sr,findIndex:vr,findLastIndex:hr,sortedIndex:yr,indexOf:gr,lastIndexOf:br,find:mr,detect:mr,findWhere:function(n,r){return mr(n,Dn(r))},each:jr,forEach:jr,map:_r,collect:_r,reduce:Ar,foldl:Ar,inject:Ar,reduceRight:xr,foldr:xr,filter:Sr,select:Sr,reject:function(n,r,t){return Sr(n,fr(qn(r)),t)},every:Or,all:Or,some:Mr,any:Mr,contains:Er,includes:Er,include:Er,invoke:Br,pluck:Nr,where:function(n,r){return Sr(n,Dn(r))},max:Ir,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=er(n)?n:jn(n)).length;ae||void 0===t)return 1;if(t","\"","'","`","_escape","_unescape","templateSettings","evaluate","interpolate","escape","noMatch","escapes","\\","\r","\n","
","
","escapeRegExp","escapeChar","bareIdentifier","idCounter","executeBound","sourceFunc","boundFunc","callingContext","partial","boundArgs","placeholder","bound","position","bind","TypeError","callArgs","isArrayLike","flatten","input","depth","strict","output","idx","j","len","bindAll","Error","delay","wait","setTimeout","defer","negate","predicate","before","times","memo","once","findKey","createPredicateIndexFinder","dir","array","findIndex","findLastIndex","sortedIndex","low","high","mid","createIndexFinder","predicateFind","item","indexOf","lastIndexOf","find","each","results","currentKey","createReduce","reducer","initial","reduce","reduceRight","filter","list","every","some","fromIndex","guard","invoke","contextPath","method","pluck","computed","lastComputed","v","sample","n","last","rand","temp","group","behavior","partition","groupBy","indexBy","countBy","pass","reStrSymbol","keyInObj","pick","omit","first","difference","without","otherArrays","uniq","isSorted","seen","union","arrays","unzip","zip","chainResult","instance","_chain","chain","mixin","nodeType","parseFloat","pairs","props","interceptor","_has","accum","text","settings","oldSettings","offset","render","argument","variable","e","template","data","fallback","prefix","id","hasher","memoize","cache","address","options","timeout","previous","later","leading","throttled","_now","remaining","clearTimeout","trailing","cancel","immediate","passed","debounced","_args","wrapper","start","criteria","left","right","Boolean","_flatten","argsLength","stop","step","ceil","range","count"],"mappings":";;;;;AACO,IAAIA,EAAU,SAKVC,EAAsB,iBAARC,MAAoBA,KAAKA,OAASA,MAAQA,MACxC,iBAAVC,QAAsBA,OAAOA,SAAWA,QAAUA,QACzDC,SAAS,cAATA,IACA,GAGCC,EAAaC,MAAMC,UAAWC,EAAWC,OAAOF,UAChDG,EAAgC,oBAAXC,OAAyBA,OAAOJ,UAAY,KAGjEK,EAAOP,EAAWO,KACzBC,EAAQR,EAAWQ,MACnBC,EAAWN,EAASM,SACpBC,EAAiBP,EAASO,eAGnBC,EAA6C,oBAAhBC,YACpCC,EAAuC,oBAAbC,SAInBC,EAAgBd,MAAMe,QAC7BC,EAAab,OAAOc,KACpBC,EAAef,OAAOgB,OACtBC,EAAeV,GAAuBC,YAAYU,OAG3CC,EAASC,MAChBC,EAAYC,SAGLC,GAAc,CAAClB,SAAU,MAAMmB,qBAAqB,YACpDC,EAAqB,CAAC,UAAW,gBAAiB,WAC3D,uBAAwB,iBAAkB,kBAGjCC,EAAkBC,KAAKC,IAAI,EAAG,IAAM,ECrChC,SAASC,EAAcC,EAAMC,GAE1C,OADAA,EAA2B,MAAdA,EAAqBD,EAAKE,OAAS,GAAKD,EAC9C,WAIL,IAHA,IAAIC,EAASL,KAAKM,IAAIC,UAAUF,OAASD,EAAY,GACjDI,EAAOtC,MAAMmC,GACbI,EAAQ,EACLA,EAAQJ,EAAQI,IACrBD,EAAKC,GAASF,UAAUE,EAAQL,GAElC,OAAQA,GACN,KAAK,EAAG,OAAOD,EAAKO,KAAKC,KAAMH,GAC/B,KAAK,EAAG,OAAOL,EAAKO,KAAKC,KAAMJ,UAAU,GAAIC,GAC7C,KAAK,EAAG,OAAOL,EAAKO,KAAKC,KAAMJ,UAAU,GAAIA,UAAU,GAAIC,GAE7D,IAAII,EAAO1C,MAAMkC,EAAa,GAC9B,IA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,UAAUF,OAClB0D,EAAI,EAAG1D,EAASsD,EAAUgK,GAAQ5J,EAAI1D,EAAQ0D,IAAK,CAC1D,IAAIqK,EAAOT,EAAM5J,GACjB,IAAIC,GAASiD,EAAQmH,GAArB,CACA,IAAI1B,EACJ,IAAKA,EAAI,EAAGA,EAAIiI,GACT3Q,GAASzD,UAAUmM,GAAI0B,GADF1B,KAGxBA,IAAMiI,GAAY1N,EAAOzI,KAAK4P,IAEpC,OAAOnH,qDCZM,SAAgBgI,EAAMlI,GAEnC,IADA,IAAIE,EAAS,GACJlD,EAAI,EAAG1D,EAASsD,EAAUsL,GAAOlL,EAAI1D,EAAQ0D,IAChDgD,EACFE,EAAOgI,EAAKlL,IAAMgD,EAAOhD,GAEzBkD,EAAOgI,EAAKlL,GAAG,IAAMkL,EAAKlL,GAAG,GAGjC,OAAOkD,SCXM,SAAeoN,EAAOO,EAAMC,GAC7B,MAARD,IACFA,EAAOP,GAAS,EAChBA,EAAQ,GAELQ,IACHA,EAAOD,EAAOP,GAAS,EAAI,GAM7B,IAHA,IAAIhU,EAASL,KAAKM,IAAIN,KAAK8U,MAAMF,EAAOP,GAASQ,GAAO,GACpDE,EAAQ7W,MAAMmC,GAEToM,EAAM,EAAGA,EAAMpM,EAAQoM,IAAO4H,GAASQ,EAC9CE,EAAMtI,GAAO4H,EAGf,OAAOU,SCfM,SAAepH,EAAOqH,GACnC,GAAa,MAATA,GAAiBA,EAAQ,EAAG,MAAO,GAGvC,IAFA,IAAI/N,EAAS,GACTlD,EAAI,EAAG1D,EAASsN,EAAMtN,OACnB0D,EAAI1D,GACT4G,EAAOzI,KAAKC,EAAMiC,KAAKiN,EAAO5J,EAAGA,GAAKiR,IAExC,OAAO/N,gCjCaTvC,GAAEA,EAAIA"} \ No newline at end of file diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-umd.js b/node_modules/typed-rest-client/node_modules/underscore/underscore-umd.js deleted file mode 100644 index ffd77af96..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-umd.js +++ /dev/null @@ -1,2042 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define('underscore', factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (function () { - var current = global._; - var exports = global._ = factory(); - exports.noConflict = function () { global._ = current; return exports; }; - }())); -}(this, (function () { - // Underscore.js 1.13.1 - // https://underscorejs.org - // (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors - // Underscore may be freely distributed under the MIT license. - - // Current version. - var VERSION = '1.13.1'; - - // Establish the root object, `window` (`self`) in the browser, `global` - // on the server, or `this` in some virtual machines. We use `self` - // instead of `window` for `WebWorker` support. - var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || - Function('return this')() || - {}; - - // Save bytes in the minified (but not gzipped) version: - var ArrayProto = Array.prototype, ObjProto = Object.prototype; - var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - - // Create quick reference variables for speed access to core prototypes. - var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - - // Modern feature detection. - var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', - supportsDataView = typeof DataView !== 'undefined'; - - // All **ECMAScript 5+** native function implementations that we hope to use - // are declared here. - var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create, - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; - - // Create references to these builtin functions because we override them. - var _isNaN = isNaN, - _isFinite = isFinite; - - // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. - var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); - var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - - // The largest integer that can be represented exactly. - var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - - // Some functions take a variable number of arguments, or a few expected - // arguments at the beginning and then a variable number of values to operate - // on. This helper accumulates all remaining arguments past the function’s - // argument length (or an explicit `startIndex`), into an array that becomes - // the last argument. Similar to ES6’s "rest parameter". - function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function() { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0: return func.call(this, rest); - case 1: return func.call(this, arguments[0], rest); - case 2: return func.call(this, arguments[0], arguments[1], rest); - } - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; - } - - // Is a given variable an object? - function isObject(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; - } - - // Is a given value equal to null? - function isNull(obj) { - return obj === null; - } - - // Is a given variable undefined? - function isUndefined(obj) { - return obj === void 0; - } - - // Is a given value a boolean? - function isBoolean(obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; - } - - // Is a given value a DOM element? - function isElement(obj) { - return !!(obj && obj.nodeType === 1); - } - - // Internal function for creating a `toString`-based type tester. - function tagTester(name) { - var tag = '[object ' + name + ']'; - return function(obj) { - return toString.call(obj) === tag; - }; - } - - var isString = tagTester('String'); - - var isNumber = tagTester('Number'); - - var isDate = tagTester('Date'); - - var isRegExp = tagTester('RegExp'); - - var isError = tagTester('Error'); - - var isSymbol = tagTester('Symbol'); - - var isArrayBuffer = tagTester('ArrayBuffer'); - - var isFunction = tagTester('Function'); - - // Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old - // v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). - var nodelist = root.document && root.document.childNodes; - if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; - } - - var isFunction$1 = isFunction; - - var hasObjectTag = tagTester('Object'); - - // In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. - // In IE 11, the most common among them, this problem also applies to - // `Map`, `WeakMap` and `Set`. - var hasStringTagBug = ( - supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8))) - ), - isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map)); - - var isDataView = tagTester('DataView'); - - // In IE 10 - Edge 13, we need a different heuristic - // to determine whether an object is a `DataView`. - function ie10IsDataView(obj) { - return obj != null && isFunction$1(obj.getInt8) && isArrayBuffer(obj.buffer); - } - - var isDataView$1 = (hasStringTagBug ? ie10IsDataView : isDataView); - - // Is a given value an array? - // Delegates to ECMA5's native `Array.isArray`. - var isArray = nativeIsArray || tagTester('Array'); - - // Internal function to check whether `key` is an own property name of `obj`. - function has$1(obj, key) { - return obj != null && hasOwnProperty.call(obj, key); - } - - var isArguments = tagTester('Arguments'); - - // Define a fallback version of the method in browsers (ahem, IE < 9), where - // there isn't any inspectable "Arguments" type. - (function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return has$1(obj, 'callee'); - }; - } - }()); - - var isArguments$1 = isArguments; - - // Is a given object a finite number? - function isFinite$1(obj) { - return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); - } - - // Is the given value `NaN`? - function isNaN$1(obj) { - return isNumber(obj) && _isNaN(obj); - } - - // Predicate-generating function. Often useful outside of Underscore. - function constant(value) { - return function() { - return value; - }; - } - - // Common internal logic for `isArrayLike` and `isBufferLike`. - function createSizePropertyCheck(getSizeProperty) { - return function(collection) { - var sizeProperty = getSizeProperty(collection); - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX; - } - } - - // Internal helper to generate a function to obtain property `key` from `obj`. - function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; - } - - // Internal helper to obtain the `byteLength` property of an object. - var getByteLength = shallowProperty('byteLength'); - - // Internal helper to determine whether we should spend extensive checks against - // `ArrayBuffer` et al. - var isBufferLike = createSizePropertyCheck(getByteLength); - - // Is a given value a typed array? - var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; - function isTypedArray(obj) { - // `ArrayBuffer.isView` is the most future-proof, so use it when available. - // Otherwise, fall back on the above regular expression. - return nativeIsView ? (nativeIsView(obj) && !isDataView$1(obj)) : - isBufferLike(obj) && typedArrayPattern.test(toString.call(obj)); - } - - var isTypedArray$1 = supportsArrayBuffer ? isTypedArray : constant(false); - - // Internal helper to obtain the `length` property of an object. - var getLength = shallowProperty('length'); - - // Internal helper to create a simple lookup structure. - // `collectNonEnumProps` used to depend on `_.contains`, but this led to - // circular imports. `emulatedSet` is a one-off solution that only works for - // arrays of strings. - function emulatedSet(keys) { - var hash = {}; - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; - return { - contains: function(key) { return hash[key]; }, - push: function(key) { - hash[key] = true; - return keys.push(key); - } - }; - } - - // Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't - // be iterated by `for key in ...` and thus missed. Extends `keys` in place if - // needed. - function collectNonEnumProps(obj, keys) { - keys = emulatedSet(keys); - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = isFunction$1(constructor) && constructor.prototype || ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (has$1(obj, prop) && !keys.contains(prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { - keys.push(prop); - } - } - } - - // Retrieve the names of an object's own properties. - // Delegates to **ECMAScript 5**'s native `Object.keys`. - function keys(obj) { - if (!isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var keys = []; - for (var key in obj) if (has$1(obj, key)) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - } - - // Is a given array, string, or object empty? - // An "empty" object has no enumerable own-properties. - function isEmpty(obj) { - if (obj == null) return true; - // Skip the more expensive `toString`-based type checks if `obj` has no - // `.length`. - var length = getLength(obj); - if (typeof length == 'number' && ( - isArray(obj) || isString(obj) || isArguments$1(obj) - )) return length === 0; - return getLength(keys(obj)) === 0; - } - - // Returns whether an object has a given set of `key:value` pairs. - function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; - } - - // If Underscore is called as a function, it returns a wrapped object that can - // be used OO-style. This wrapper holds altered versions of all functions added - // through `_.mixin`. Wrapped objects may be chained. - function _$1(obj) { - if (obj instanceof _$1) return obj; - if (!(this instanceof _$1)) return new _$1(obj); - this._wrapped = obj; - } - - _$1.VERSION = VERSION; - - // Extracts the result from a wrapped and chained object. - _$1.prototype.value = function() { - return this._wrapped; - }; - - // Provide unwrapping proxies for some methods used in engine operations - // such as arithmetic and JSON stringification. - _$1.prototype.valueOf = _$1.prototype.toJSON = _$1.prototype.value; - - _$1.prototype.toString = function() { - return String(this._wrapped); - }; - - // Internal function to wrap or shallow-copy an ArrayBuffer, - // typed array or DataView to a new view, reusing the buffer. - function toBufferView(bufferSource) { - return new Uint8Array( - bufferSource.buffer || bufferSource, - bufferSource.byteOffset || 0, - getByteLength(bufferSource) - ); - } - - // We use this string twice, so give it a name for minification. - var tagDataView = '[object DataView]'; - - // Internal recursive comparison function for `_.isEqual`. - function eq(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // `null` or `undefined` only equal to itself (strict comparison). - if (a == null || b == null) return false; - // `NaN`s are equivalent, but non-reflexive. - if (a !== a) return b !== b; - // Exhaust primitive checks - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); - } - - // Internal recursive comparison function for `_.isEqual`. - function deepEq(a, b, aStack, bStack) { - // Unwrap any wrapped objects. - if (a instanceof _$1) a = a._wrapped; - if (b instanceof _$1) b = b._wrapped; - // Compare `[[Class]]` names. - var className = toString.call(a); - if (className !== toString.call(b)) return false; - // Work around a bug in IE 10 - Edge 13. - if (hasStringTagBug && className == '[object Object]' && isDataView$1(a)) { - if (!isDataView$1(b)) return false; - className = tagDataView; - } - switch (className) { - // These types are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN. - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - case '[object Symbol]': - return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b); - case '[object ArrayBuffer]': - case tagDataView: - // Coerce to typed array so we can fall through. - return deepEq(toBufferView(a), toBufferView(b), aStack, bStack); - } - - var areArrays = className === '[object Array]'; - if (!areArrays && isTypedArray$1(a)) { - var byteLength = getByteLength(a); - if (byteLength !== getByteLength(b)) return false; - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; - areArrays = true; - } - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction$1(aCtor) && aCtor instanceof aCtor && - isFunction$1(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var _keys = keys(a), key; - length = _keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = _keys[length]; - if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; - } - - // Perform a deep comparison to check if two objects are equal. - function isEqual(a, b) { - return eq(a, b); - } - - // Retrieve all the enumerable property names of an object. - function allKeys(obj) { - if (!isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - } - - // Since the regular `Object.prototype.toString` type tests don't work for - // some types in IE 11, we use a fingerprinting heuristic instead, based - // on the methods. It's not great, but it's the best we got. - // The fingerprint method lists are defined below. - function ie11fingerprint(methods) { - var length = getLength(methods); - return function(obj) { - if (obj == null) return false; - // `Map`, `WeakMap` and `Set` have no enumerable keys. - var keys = allKeys(obj); - if (getLength(keys)) return false; - for (var i = 0; i < length; i++) { - if (!isFunction$1(obj[methods[i]])) return false; - } - // If we are testing against `WeakMap`, we need to ensure that - // `obj` doesn't have a `forEach` method in order to distinguish - // it from a regular `Map`. - return methods !== weakMapMethods || !isFunction$1(obj[forEachName]); - }; - } - - // In the interest of compact minification, we write - // each string in the fingerprints only once. - var forEachName = 'forEach', - hasName = 'has', - commonInit = ['clear', 'delete'], - mapTail = ['get', hasName, 'set']; - - // `Map`, `WeakMap` and `Set` each have slightly different - // combinations of the above sublists. - var mapMethods = commonInit.concat(forEachName, mapTail), - weakMapMethods = commonInit.concat(mapTail), - setMethods = ['add'].concat(commonInit, forEachName, hasName); - - var isMap = isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map'); - - var isWeakMap = isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap'); - - var isSet = isIE11 ? ie11fingerprint(setMethods) : tagTester('Set'); - - var isWeakSet = tagTester('WeakSet'); - - // Retrieve the values of an object's properties. - function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; - } - return values; - } - - // Convert an object into a list of `[key, value]` pairs. - // The opposite of `_.object` with one argument. - function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; - } - return pairs; - } - - // Invert the keys and values of an object. The values must be serializable. - function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; - } - return result; - } - - // Return a sorted list of the function names available on the object. - function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction$1(obj[key])) names.push(key); - } - return names.sort(); - } - - // An internal function for creating assigner functions. - function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; - } - - // Extend a given object with all the properties in passed-in object(s). - var extend = createAssigner(allKeys); - - // Assigns a given object with all the own properties in the passed-in - // object(s). - // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) - var extendOwn = createAssigner(keys); - - // Fill in a given object with default properties. - var defaults = createAssigner(allKeys, true); - - // Create a naked function reference for surrogate-prototype-swapping. - function ctor() { - return function(){}; - } - - // An internal function for creating a new object that inherits from another. - function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - var Ctor = ctor(); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; - } - - // Creates an object that inherits from the given prototype object. - // If additional properties are provided then they will be added to the - // created object. - function create(prototype, props) { - var result = baseCreate(prototype); - if (props) extendOwn(result, props); - return result; - } - - // Create a (shallow-cloned) duplicate of an object. - function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); - } - - // Invokes `interceptor` with the `obj` and then returns `obj`. - // The primary purpose of this method is to "tap into" a method chain, in - // order to perform operations on intermediate results within the chain. - function tap(obj, interceptor) { - interceptor(obj); - return obj; - } - - // Normalize a (deep) property `path` to array. - // Like `_.iteratee`, this function can be customized. - function toPath$1(path) { - return isArray(path) ? path : [path]; - } - _$1.toPath = toPath$1; - - // Internal wrapper for `_.toPath` to enable minification. - // Similar to `cb` for `_.iteratee`. - function toPath(path) { - return _$1.toPath(path); - } - - // Internal function to obtain a nested property in `obj` along `path`. - function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; - } - - // Get the value of the (deep) property on `path` from `object`. - // If any property in `path` does not exist or if the value is - // `undefined`, return `defaultValue` instead. - // The `path` is normalized through `_.toPath`. - function get(object, path, defaultValue) { - var value = deepGet(object, toPath(path)); - return isUndefined(value) ? defaultValue : value; - } - - // Shortcut function for checking if an object has a given property directly on - // itself (in other words, not on a prototype). Unlike the internal `has` - // function, this public version can also traverse nested properties. - function has(obj, path) { - path = toPath(path); - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (!has$1(obj, key)) return false; - obj = obj[key]; - } - return !!length; - } - - // Keep the identity function around for default iteratees. - function identity(value) { - return value; - } - - // Returns a predicate for checking whether an object has a given set of - // `key:value` pairs. - function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; - } - - // Creates a function that, when passed an object, will traverse that object’s - // properties down the given `path`, specified as an array of keys or indices. - function property(path) { - path = toPath(path); - return function(obj) { - return deepGet(obj, path); - }; - } - - // Internal function that returns an efficient (for current engines) version - // of the passed-in callback, to be repeatedly applied in other Underscore - // functions. - function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - // The 2-argument case is omitted because we’re not using it. - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; - } - - // An internal function to generate callbacks that can be applied to each - // element in a collection, returning the desired result — either `_.identity`, - // an arbitrary callback, a property matcher, or a property accessor. - function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction$1(value)) return optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); - } - - // External wrapper for our callback generator. Users may customize - // `_.iteratee` if they want additional predicate/iteratee shorthand styles. - // This abstraction hides the internal-only `argCount` argument. - function iteratee(value, context) { - return baseIteratee(value, context, Infinity); - } - _$1.iteratee = iteratee; - - // The function we call internally to generate a callback. It invokes - // `_.iteratee` if overridden, otherwise `baseIteratee`. - function cb(value, context, argCount) { - if (_$1.iteratee !== iteratee) return _$1.iteratee(value, context); - return baseIteratee(value, context, argCount); - } - - // Returns the results of applying the `iteratee` to each element of `obj`. - // In contrast to `_.map` it returns an object. - function mapObject(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - } - - // Predicate-generating function. Often useful outside of Underscore. - function noop(){} - - // Generates a function for a given object that returns a given property. - function propertyOf(obj) { - if (obj == null) return noop; - return function(path) { - return get(obj, path); - }; - } - - // Run a function **n** times. - function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; - } - - // Return a random integer between `min` and `max` (inclusive). - function random(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); - } - - // A (possibly faster) way to get the current timestamp as an integer. - var now = Date.now || function() { - return new Date().getTime(); - }; - - // Internal helper to generate functions for escaping and unescaping strings - // to/from HTML interpolation. - function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped. - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; - } - - // Internal list of HTML entities for escaping. - var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' - }; - - // Function for escaping strings to HTML interpolation. - var _escape = createEscaper(escapeMap); - - // Internal list of HTML entities for unescaping. - var unescapeMap = invert(escapeMap); - - // Function for unescaping strings from HTML interpolation. - var _unescape = createEscaper(unescapeMap); - - // By default, Underscore uses ERB-style template delimiters. Change the - // following template settings to use alternative delimiters. - var templateSettings = _$1.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g - }; - - // When customizing `_.templateSettings`, if you don't want to define an - // interpolation, evaluation or escaping regex, we need one that is - // guaranteed not to match. - var noMatch = /(.)^/; - - // Certain characters need to be escaped so that they can be put into a - // string literal. - var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - - function escapeChar(match) { - return '\\' + escapes[match]; - } - - // In order to prevent third-party code injection through - // `_.templateSettings.variable`, we test it against the following regular - // expression. It is intentionally a bit more liberal than just matching valid - // identifiers, but still prevents possible loopholes through defaults or - // destructuring assignment. - var bareIdentifier = /^\s*(\w|\$)+\s*$/; - - // JavaScript micro-templating, similar to John Resig's implementation. - // Underscore templating handles arbitrary delimiters, preserves whitespace, - // and correctly escapes quotes within interpolated code. - // NB: `oldSettings` only exists for backwards compatibility. - function template(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = defaults({}, settings, _$1.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offset. - return match; - }); - source += "';\n"; - - var argument = settings.variable; - if (argument) { - // Insure against third-party code injection. (CVE-2021-23358) - if (!bareIdentifier.test(argument)) throw new Error( - 'variable is not a bare identifier: ' + argument - ); - } else { - // If a variable is not specified, place data values in local scope. - source = 'with(obj||{}){\n' + source + '}\n'; - argument = 'obj'; - } - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(argument, '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function(data) { - return render.call(this, data, _$1); - }; - - // Provide the compiled source as a convenience for precompilation. - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; - } - - // Traverses the children of `obj` along `path`. If a child is a function, it - // is invoked with its parent as context. Returns the value of the final - // child, or `fallback` if any child is undefined. - function result(obj, path, fallback) { - path = toPath(path); - var length = path.length; - if (!length) { - return isFunction$1(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction$1(prop) ? prop.call(obj) : prop; - } - return obj; - } - - // Generate a unique integer id (unique within the entire client session). - // Useful for temporary DOM ids. - var idCounter = 0; - function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; - } - - // Start chaining a wrapped Underscore object. - function chain(obj) { - var instance = _$1(obj); - instance._chain = true; - return instance; - } - - // Internal function to execute `sourceFunc` bound to `context` with optional - // `args`. Determines whether to execute a function as a constructor or as a - // normal function. - function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (isObject(result)) return result; - return self; - } - - // Partially apply a function by creating a version that has had some of its - // arguments pre-filled, without changing its dynamic `this` context. `_` acts - // as a placeholder by default, allowing any combination of arguments to be - // pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. - var partial = restArguments(function(func, boundArgs) { - var placeholder = partial.placeholder; - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return executeBound(func, bound, this, this, args); - }; - return bound; - }); - - partial.placeholder = _$1; - - // Create a function bound to a given object (assigning `this`, and arguments, - // optionally). - var bind = restArguments(function(func, context, args) { - if (!isFunction$1(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; - }); - - // Internal helper for collection methods to determine whether a collection - // should be iterated as an array or as an object. - // Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 - var isArrayLike = createSizePropertyCheck(getLength); - - // Internal implementation of a recursive `flatten` function. - function flatten$1(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { - // Flatten current level of array or arguments object. - if (depth > 1) { - flatten$1(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; - } - - // Bind a number of an object's methods to that object. Remaining arguments - // are the method names to be bound. Useful for ensuring that all callbacks - // defined on an object belong to it. - var bindAll = restArguments(function(obj, keys) { - keys = flatten$1(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = bind(obj[key], obj); - } - return obj; - }); - - // Memoize an expensive function by storing its results. - function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!has$1(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; - } - - // Delays a function for the given number of milliseconds, and then calls - // it with the arguments supplied. - var delay = restArguments(function(func, wait, args) { - return setTimeout(function() { - return func.apply(null, args); - }, wait); - }); - - // Defers a function, scheduling it to run after the current call stack has - // cleared. - var defer = partial(delay, _$1, 1); - - // Returns a function, that, when invoked, will only be triggered at most once - // during a given window of time. Normally, the throttled function will run - // as much as it can, without ever going more than once per `wait` duration; - // but if you'd like to disable the execution on the leading edge, pass - // `{leading: false}`. To disable execution on the trailing edge, ditto. - function throttle(func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function() { - previous = options.leading === false ? 0 : now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function() { - var _now = now(); - if (!previous && options.leading === false) previous = _now; - var remaining = wait - (_now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = _now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function() { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; - } - - // When a sequence of calls of the returned function ends, the argument - // function is triggered. The end of a sequence is defined by the `wait` - // parameter. If `immediate` is passed, the argument function will be - // triggered at the beginning of the sequence instead of at the end. - function debounce(func, wait, immediate) { - var timeout, previous, args, result, context; - - var later = function() { - var passed = now() - previous; - if (wait > passed) { - timeout = setTimeout(later, wait - passed); - } else { - timeout = null; - if (!immediate) result = func.apply(context, args); - // This check is needed because `func` can recursively invoke `debounced`. - if (!timeout) args = context = null; - } - }; - - var debounced = restArguments(function(_args) { - context = this; - args = _args; - previous = now(); - if (!timeout) { - timeout = setTimeout(later, wait); - if (immediate) result = func.apply(context, args); - } - return result; - }); - - debounced.cancel = function() { - clearTimeout(timeout); - timeout = args = context = null; - }; - - return debounced; - } - - // Returns the first function passed as an argument to the second, - // allowing you to adjust arguments, run code before and after, and - // conditionally execute the original function. - function wrap(func, wrapper) { - return partial(wrapper, func); - } - - // Returns a negated version of the passed-in predicate. - function negate(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; - } - - // Returns a function that is the composition of a list of functions, each - // consuming the return value of the function that follows. - function compose() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; - } - - // Returns a function that will only be executed on and after the Nth call. - function after(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; - } - - // Returns a function that will only be executed up to (but not including) the - // Nth call. - function before(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; - } - - // Returns a function that will be executed at most one time, no matter how - // often you call it. Useful for lazy initialization. - var once = partial(before, 2); - - // Returns the first key on an object that passes a truth test. - function findKey(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } - } - - // Internal function to generate `_.findIndex` and `_.findLastIndex`. - function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = cb(predicate, context); - var length = getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; - } - - // Returns the first index on an array-like that passes a truth test. - var findIndex = createPredicateIndexFinder(1); - - // Returns the last index on an array-like that passes a truth test. - var findLastIndex = createPredicateIndexFinder(-1); - - // Use a comparator function to figure out the smallest index at which - // an object should be inserted so as to maintain order. Uses binary search. - function sortedIndex(array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; - } - - // Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. - function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(slice.call(array, i, length), isNaN$1); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; - } - - // Return the position of the first occurrence of an item in an array, - // or -1 if the item is not included in the array. - // If the array is large and already in sort order, pass `true` - // for **isSorted** to use binary search. - var indexOf = createIndexFinder(1, findIndex, sortedIndex); - - // Return the position of the last occurrence of an item in an array, - // or -1 if the item is not included in the array. - var lastIndexOf = createIndexFinder(-1, findLastIndex); - - // Return the first value which passes a truth test. - function find(obj, predicate, context) { - var keyFinder = isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; - } - - // Convenience version of a common use case of `_.find`: getting the first - // object containing specific `key:value` pairs. - function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); - } - - // The cornerstone for collection functions, an `each` - // implementation, aka `forEach`. - // Handles raw objects in addition to array-likes. Treats all - // sparse array-likes as if they were dense. - function each(obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; - } - - // Return the results of applying the iteratee to each element. - function map(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - } - - // Internal helper to create a reducing function, iterating left or right. - function createReduce(dir) { - // Wrap code that reassigns argument variables in a separate function than - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); - }; - } - - // **Reduce** builds up a single result from a list of values, aka `inject`, - // or `foldl`. - var reduce = createReduce(1); - - // The right-associative version of reduce, also known as `foldr`. - var reduceRight = createReduce(-1); - - // Return all the elements that pass a truth test. - function filter(obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; - } - - // Return all the elements for which a truth test fails. - function reject(obj, predicate, context) { - return filter(obj, negate(cb(predicate)), context); - } - - // Determine whether all of the elements pass a truth test. - function every(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; - } - - // Determine if at least one element in the object passes a truth test. - function some(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; - } - - // Determine if the array or object contains a given item (using `===`). - function contains(obj, item, fromIndex, guard) { - if (!isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; - } - - // Invoke a method (with arguments) on every item in a collection. - var invoke = restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction$1(path)) { - func = path; - } else { - path = toPath(path); - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); - }); - - // Convenience version of a common use case of `_.map`: fetching a property. - function pluck(obj, key) { - return map(obj, property(key)); - } - - // Convenience version of a common use case of `_.filter`: selecting only - // objects containing specific `key:value` pairs. - function where(obj, attrs) { - return filter(obj, matcher(attrs)); - } - - // Return the maximum element (or element-based computation). - function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; - } - - // Return the minimum element (or element-based computation). - function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; - } - - // Sample **n** random values from a collection using the modern version of the - // [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). - // If **n** is not specified, returns a single random element. - // The internal `guard` argument allows it to work with `_.map`. - function sample(obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = isArrayLike(obj) ? clone(obj) : values(obj); - var length = getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); - } - - // Shuffle a collection. - function shuffle(obj) { - return sample(obj, Infinity); - } - - // Sort the object's values by a criterion produced by an iteratee. - function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); - } - - // An internal function used for aggregate "group by" operations. - function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; - } - - // Groups the object's values by a criterion. Pass either a string attribute - // to group by, or a function that returns the criterion. - var groupBy = group(function(result, value, key) { - if (has$1(result, key)) result[key].push(value); else result[key] = [value]; - }); - - // Indexes the object's values by a criterion, similar to `_.groupBy`, but for - // when you know that your index values will be unique. - var indexBy = group(function(result, value, key) { - result[key] = value; - }); - - // Counts instances of an object that group by a certain criterion. Pass - // either a string attribute to count by, or a function that returns the - // criterion. - var countBy = group(function(result, value, key) { - if (has$1(result, key)) result[key]++; else result[key] = 1; - }); - - // Split a collection into two arrays: one whose elements all pass the given - // truth test, and one whose elements all do not pass the truth test. - var partition = group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); - }, true); - - // Safely create a real, live array from anything iterable. - var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; - function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return slice.call(obj); - if (isString(obj)) { - // Keep surrogate pair characters together. - return obj.match(reStrSymbol); - } - if (isArrayLike(obj)) return map(obj, identity); - return values(obj); - } - - // Return the number of elements in a collection. - function size(obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : keys(obj).length; - } - - // Internal `_.pick` helper function to determine whether `key` is an enumerable - // property name of `obj`. - function keyInObj(value, key, obj) { - return key in obj; - } - - // Return a copy of the object only containing the allowed properties. - var pick = restArguments(function(obj, keys) { - var result = {}, iteratee = keys[0]; - if (obj == null) return result; - if (isFunction$1(iteratee)) { - if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]); - keys = allKeys(obj); - } else { - iteratee = keyInObj; - keys = flatten$1(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; - }); - - // Return a copy of the object without the disallowed properties. - var omit = restArguments(function(obj, keys) { - var iteratee = keys[0], context; - if (isFunction$1(iteratee)) { - iteratee = negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = map(flatten$1(keys, false, false), String); - iteratee = function(value, key) { - return !contains(keys, key); - }; - } - return pick(obj, iteratee, context); - }); - - // Returns everything but the last entry of the array. Especially useful on - // the arguments object. Passing **n** will return all the values in - // the array, excluding the last N. - function initial(array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); - } - - // Get the first element of an array. Passing **n** will return the first N - // values in the array. The **guard** check allows it to work with `_.map`. - function first(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); - } - - // Returns everything but the first entry of the `array`. Especially useful on - // the `arguments` object. Passing an **n** will return the rest N values in the - // `array`. - function rest(array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); - } - - // Get the last element of an array. Passing **n** will return the last N - // values in the array. - function last(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); - } - - // Trim out all falsy values from an array. - function compact(array) { - return filter(array, Boolean); - } - - // Flatten out an array, either recursively (by default), or up to `depth`. - // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. - function flatten(array, depth) { - return flatten$1(array, depth, false); - } - - // Take the difference between one array and a number of other arrays. - // Only the elements present in just the first array will remain. - var difference = restArguments(function(array, rest) { - rest = flatten$1(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); - }); - - // Return a version of the array that does not contain the specified value(s). - var without = restArguments(function(array, otherArrays) { - return difference(array, otherArrays); - }); - - // Produce a duplicate-free version of the array. If the array has already - // been sorted, you have the option of using a faster algorithm. - // The faster algorithm will not work with an iteratee if the iteratee - // is not a one-to-one function, so providing an iteratee will disable - // the faster algorithm. - function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!contains(result, value)) { - result.push(value); - } - } - return result; - } - - // Produce an array that contains the union: each distinct element from all of - // the passed-in arrays. - var union = restArguments(function(arrays) { - return uniq(flatten$1(arrays, true, true)); - }); - - // Produce an array that contains every item shared between all the - // passed-in arrays. - function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; - } - - // Complement of zip. Unzip accepts an array of arrays and groups - // each array's elements on shared indices. - function unzip(array) { - var length = array && max(array, getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); - } - return result; - } - - // Zip together multiple lists into a single array -- elements that share - // an index go together. - var zip = restArguments(unzip); - - // Converts lists into objects. Pass either a single array of `[key, value]` - // pairs, or two parallel arrays of the same length -- one of keys, and one of - // the corresponding values. Passing by pairs is the reverse of `_.pairs`. - function object(list, values) { - var result = {}; - for (var i = 0, length = getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; - } - - // Generate an integer Array containing an arithmetic progression. A port of - // the native Python `range()` function. See - // [the Python documentation](https://docs.python.org/library/functions.html#range). - function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; - } - - // Chunk a single array into multiple arrays, each containing `count` or fewer - // items. - function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(slice.call(array, i, i += count)); - } - return result; - } - - // Helper function to continue chaining intermediate results. - function chainResult(instance, obj) { - return instance._chain ? _$1(obj).chain() : obj; - } - - // Add your own custom functions to the Underscore object. - function mixin(obj) { - each(functions(obj), function(name) { - var func = _$1[name] = obj[name]; - _$1.prototype[name] = function() { - var args = [this._wrapped]; - push.apply(args, arguments); - return chainResult(this, func.apply(_$1, args)); - }; - }); - return _$1; - } - - // Add all mutator `Array` functions to the wrapper. - each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) { - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) { - delete obj[0]; - } - } - return chainResult(this, obj); - }; - }); - - // Add all accessor `Array` functions to the wrapper. - each(['concat', 'join', 'slice'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) obj = method.apply(obj, arguments); - return chainResult(this, obj); - }; - }); - - // Named Exports - - var allExports = { - __proto__: null, - VERSION: VERSION, - restArguments: restArguments, - isObject: isObject, - isNull: isNull, - isUndefined: isUndefined, - isBoolean: isBoolean, - isElement: isElement, - isString: isString, - isNumber: isNumber, - isDate: isDate, - isRegExp: isRegExp, - isError: isError, - isSymbol: isSymbol, - isArrayBuffer: isArrayBuffer, - isDataView: isDataView$1, - isArray: isArray, - isFunction: isFunction$1, - isArguments: isArguments$1, - isFinite: isFinite$1, - isNaN: isNaN$1, - isTypedArray: isTypedArray$1, - isEmpty: isEmpty, - isMatch: isMatch, - isEqual: isEqual, - isMap: isMap, - isWeakMap: isWeakMap, - isSet: isSet, - isWeakSet: isWeakSet, - keys: keys, - allKeys: allKeys, - values: values, - pairs: pairs, - invert: invert, - functions: functions, - methods: functions, - extend: extend, - extendOwn: extendOwn, - assign: extendOwn, - defaults: defaults, - create: create, - clone: clone, - tap: tap, - get: get, - has: has, - mapObject: mapObject, - identity: identity, - constant: constant, - noop: noop, - toPath: toPath$1, - property: property, - propertyOf: propertyOf, - matcher: matcher, - matches: matcher, - times: times, - random: random, - now: now, - escape: _escape, - unescape: _unescape, - templateSettings: templateSettings, - template: template, - result: result, - uniqueId: uniqueId, - chain: chain, - iteratee: iteratee, - partial: partial, - bind: bind, - bindAll: bindAll, - memoize: memoize, - delay: delay, - defer: defer, - throttle: throttle, - debounce: debounce, - wrap: wrap, - negate: negate, - compose: compose, - after: after, - before: before, - once: once, - findKey: findKey, - findIndex: findIndex, - findLastIndex: findLastIndex, - sortedIndex: sortedIndex, - indexOf: indexOf, - lastIndexOf: lastIndexOf, - find: find, - detect: find, - findWhere: findWhere, - each: each, - forEach: each, - map: map, - collect: map, - reduce: reduce, - foldl: reduce, - inject: reduce, - reduceRight: reduceRight, - foldr: reduceRight, - filter: filter, - select: filter, - reject: reject, - every: every, - all: every, - some: some, - any: some, - contains: contains, - includes: contains, - include: contains, - invoke: invoke, - pluck: pluck, - where: where, - max: max, - min: min, - shuffle: shuffle, - sample: sample, - sortBy: sortBy, - groupBy: groupBy, - indexBy: indexBy, - countBy: countBy, - partition: partition, - toArray: toArray, - size: size, - pick: pick, - omit: omit, - first: first, - head: first, - take: first, - initial: initial, - last: last, - rest: rest, - tail: rest, - drop: rest, - compact: compact, - flatten: flatten, - without: without, - uniq: uniq, - unique: uniq, - union: union, - intersection: intersection, - difference: difference, - unzip: unzip, - transpose: unzip, - zip: zip, - object: object, - range: range, - chunk: chunk, - mixin: mixin, - 'default': _$1 - }; - - // Default Export - - // Add all of the Underscore functions to the wrapper object. - var _ = mixin(allExports); - // Legacy Node.js API. - _._ = _; - - return _; - -}))); -//# sourceMappingURL=underscore-umd.js.map diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore-umd.js.map b/node_modules/typed-rest-client/node_modules/underscore/underscore-umd.js.map deleted file mode 100644 index 572965e95..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore-umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"underscore-umd.js","sources":["modules/_setup.js","modules/restArguments.js","modules/isObject.js","modules/isNull.js","modules/isUndefined.js","modules/isBoolean.js","modules/isElement.js","modules/_tagTester.js","modules/isString.js","modules/isNumber.js","modules/isDate.js","modules/isRegExp.js","modules/isError.js","modules/isSymbol.js","modules/isArrayBuffer.js","modules/isFunction.js","modules/_hasObjectTag.js","modules/_stringTagBug.js","modules/isDataView.js","modules/isArray.js","modules/_has.js","modules/isArguments.js","modules/isFinite.js","modules/isNaN.js","modules/constant.js","modules/_createSizePropertyCheck.js","modules/_shallowProperty.js","modules/_getByteLength.js","modules/_isBufferLike.js","modules/isTypedArray.js","modules/_getLength.js","modules/_collectNonEnumProps.js","modules/keys.js","modules/isEmpty.js","modules/isMatch.js","modules/underscore.js","modules/_toBufferView.js","modules/isEqual.js","modules/allKeys.js","modules/_methodFingerprint.js","modules/isMap.js","modules/isWeakMap.js","modules/isSet.js","modules/isWeakSet.js","modules/values.js","modules/pairs.js","modules/invert.js","modules/functions.js","modules/_createAssigner.js","modules/extend.js","modules/extendOwn.js","modules/defaults.js","modules/_baseCreate.js","modules/create.js","modules/clone.js","modules/tap.js","modules/toPath.js","modules/_toPath.js","modules/_deepGet.js","modules/get.js","modules/has.js","modules/identity.js","modules/matcher.js","modules/property.js","modules/_optimizeCb.js","modules/_baseIteratee.js","modules/iteratee.js","modules/_cb.js","modules/mapObject.js","modules/noop.js","modules/propertyOf.js","modules/times.js","modules/random.js","modules/now.js","modules/_createEscaper.js","modules/_escapeMap.js","modules/escape.js","modules/_unescapeMap.js","modules/unescape.js","modules/templateSettings.js","modules/template.js","modules/result.js","modules/uniqueId.js","modules/chain.js","modules/_executeBound.js","modules/partial.js","modules/bind.js","modules/_isArrayLike.js","modules/_flatten.js","modules/bindAll.js","modules/memoize.js","modules/delay.js","modules/defer.js","modules/throttle.js","modules/debounce.js","modules/wrap.js","modules/negate.js","modules/compose.js","modules/after.js","modules/before.js","modules/once.js","modules/findKey.js","modules/_createPredicateIndexFinder.js","modules/findIndex.js","modules/findLastIndex.js","modules/sortedIndex.js","modules/_createIndexFinder.js","modules/indexOf.js","modules/lastIndexOf.js","modules/find.js","modules/findWhere.js","modules/each.js","modules/map.js","modules/_createReduce.js","modules/reduce.js","modules/reduceRight.js","modules/filter.js","modules/reject.js","modules/every.js","modules/some.js","modules/contains.js","modules/invoke.js","modules/pluck.js","modules/where.js","modules/max.js","modules/min.js","modules/sample.js","modules/shuffle.js","modules/sortBy.js","modules/_group.js","modules/groupBy.js","modules/indexBy.js","modules/countBy.js","modules/partition.js","modules/toArray.js","modules/size.js","modules/_keyInObj.js","modules/pick.js","modules/omit.js","modules/initial.js","modules/first.js","modules/rest.js","modules/last.js","modules/compact.js","modules/flatten.js","modules/difference.js","modules/without.js","modules/uniq.js","modules/union.js","modules/intersection.js","modules/unzip.js","modules/zip.js","modules/object.js","modules/range.js","modules/chunk.js","modules/_chainResult.js","modules/mixin.js","modules/underscore-array-methods.js","modules/index.js","modules/index-default.js"],"sourcesContent":null,"names":["isFunction","has","isFinite","isNaN","isDataView","isArguments","_","isTypedArray","toPath","_has","flatten","_flatten"],"mappings":";;;;;;;;;;;;;;EAAA;EACO,IAAI,OAAO,GAAG,QAAQ,CAAC;AAC9B;EACA;EACA;EACA;EACO,IAAI,IAAI,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI;EACvE,UAAU,OAAO,MAAM,IAAI,QAAQ,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,IAAI,MAAM;EACzE,UAAU,QAAQ,CAAC,aAAa,CAAC,EAAE;EACnC,UAAU,EAAE,CAAC;AACb;EACA;EACO,IAAI,UAAU,GAAG,KAAK,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;EAC9D,IAAI,WAAW,GAAG,OAAO,MAAM,KAAK,WAAW,GAAG,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC;AACjF;EACA;EACO,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI;EACjC,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK;EAC5B,IAAI,QAAQ,GAAG,QAAQ,CAAC,QAAQ;EAChC,IAAI,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC;AAC7C;EACA;EACO,IAAI,mBAAmB,GAAG,OAAO,WAAW,KAAK,WAAW;EACnE,IAAI,gBAAgB,GAAG,OAAO,QAAQ,KAAK,WAAW,CAAC;AACvD;EACA;EACA;EACO,IAAI,aAAa,GAAG,KAAK,CAAC,OAAO;EACxC,IAAI,UAAU,GAAG,MAAM,CAAC,IAAI;EAC5B,IAAI,YAAY,GAAG,MAAM,CAAC,MAAM;EAChC,IAAI,YAAY,GAAG,mBAAmB,IAAI,WAAW,CAAC,MAAM,CAAC;AAC7D;EACA;EACO,IAAI,MAAM,GAAG,KAAK;EACzB,IAAI,SAAS,GAAG,QAAQ,CAAC;AACzB;EACA;EACO,IA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SAAS,CAAC,CAAC;EACxD,IAAI,OAAO,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;EAClC,GAAG,CAAC;EACJ,CAAC,CAAC;;EC5BF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAA;AAoBA;EACA;AACG,MAAC,CAAC,GAAG,KAAK,CAAC,UAAU,EAAE;EAC1B;EACA,CAAC,CAAC,CAAC,GAAG,CAAC;;;;;;;;"} \ No newline at end of file diff --git a/node_modules/typed-rest-client/node_modules/underscore/underscore.js b/node_modules/typed-rest-client/node_modules/underscore/underscore.js deleted file mode 100644 index ffd77af96..000000000 --- a/node_modules/typed-rest-client/node_modules/underscore/underscore.js +++ /dev/null @@ -1,2042 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define('underscore', factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (function () { - var current = global._; - var exports = global._ = factory(); - exports.noConflict = function () { global._ = current; return exports; }; - }())); -}(this, (function () { - // Underscore.js 1.13.1 - // https://underscorejs.org - // (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors - // Underscore may be freely distributed under the MIT license. - - // Current version. - var VERSION = '1.13.1'; - - // Establish the root object, `window` (`self`) in the browser, `global` - // on the server, or `this` in some virtual machines. We use `self` - // instead of `window` for `WebWorker` support. - var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || - Function('return this')() || - {}; - - // Save bytes in the minified (but not gzipped) version: - var ArrayProto = Array.prototype, ObjProto = Object.prototype; - var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - - // Create quick reference variables for speed access to core prototypes. - var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - - // Modern feature detection. - var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', - supportsDataView = typeof DataView !== 'undefined'; - - // All **ECMAScript 5+** native function implementations that we hope to use - // are declared here. - var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create, - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; - - // Create references to these builtin functions because we override them. - var _isNaN = isNaN, - _isFinite = isFinite; - - // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. - var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); - var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - - // The largest integer that can be represented exactly. - var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - - // Some functions take a variable number of arguments, or a few expected - // arguments at the beginning and then a variable number of values to operate - // on. This helper accumulates all remaining arguments past the function’s - // argument length (or an explicit `startIndex`), into an array that becomes - // the last argument. Similar to ES6’s "rest parameter". - function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function() { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0: return func.call(this, rest); - case 1: return func.call(this, arguments[0], rest); - case 2: return func.call(this, arguments[0], arguments[1], rest); - } - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; - } - - // Is a given variable an object? - function isObject(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; - } - - // Is a given value equal to null? - function isNull(obj) { - return obj === null; - } - - // Is a given variable undefined? - function isUndefined(obj) { - return obj === void 0; - } - - // Is a given value a boolean? - function isBoolean(obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; - } - - // Is a given value a DOM element? - function isElement(obj) { - return !!(obj && obj.nodeType === 1); - } - - // Internal function for creating a `toString`-based type tester. - function tagTester(name) { - var tag = '[object ' + name + ']'; - return function(obj) { - return toString.call(obj) === tag; - }; - } - - var isString = tagTester('String'); - - var isNumber = tagTester('Number'); - - var isDate = tagTester('Date'); - - var isRegExp = tagTester('RegExp'); - - var isError = tagTester('Error'); - - var isSymbol = tagTester('Symbol'); - - var isArrayBuffer = tagTester('ArrayBuffer'); - - var isFunction = tagTester('Function'); - - // Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old - // v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). - var nodelist = root.document && root.document.childNodes; - if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; - } - - var isFunction$1 = isFunction; - - var hasObjectTag = tagTester('Object'); - - // In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. - // In IE 11, the most common among them, this problem also applies to - // `Map`, `WeakMap` and `Set`. - var hasStringTagBug = ( - supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8))) - ), - isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map)); - - var isDataView = tagTester('DataView'); - - // In IE 10 - Edge 13, we need a different heuristic - // to determine whether an object is a `DataView`. - function ie10IsDataView(obj) { - return obj != null && isFunction$1(obj.getInt8) && isArrayBuffer(obj.buffer); - } - - var isDataView$1 = (hasStringTagBug ? ie10IsDataView : isDataView); - - // Is a given value an array? - // Delegates to ECMA5's native `Array.isArray`. - var isArray = nativeIsArray || tagTester('Array'); - - // Internal function to check whether `key` is an own property name of `obj`. - function has$1(obj, key) { - return obj != null && hasOwnProperty.call(obj, key); - } - - var isArguments = tagTester('Arguments'); - - // Define a fallback version of the method in browsers (ahem, IE < 9), where - // there isn't any inspectable "Arguments" type. - (function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return has$1(obj, 'callee'); - }; - } - }()); - - var isArguments$1 = isArguments; - - // Is a given object a finite number? - function isFinite$1(obj) { - return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); - } - - // Is the given value `NaN`? - function isNaN$1(obj) { - return isNumber(obj) && _isNaN(obj); - } - - // Predicate-generating function. Often useful outside of Underscore. - function constant(value) { - return function() { - return value; - }; - } - - // Common internal logic for `isArrayLike` and `isBufferLike`. - function createSizePropertyCheck(getSizeProperty) { - return function(collection) { - var sizeProperty = getSizeProperty(collection); - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX; - } - } - - // Internal helper to generate a function to obtain property `key` from `obj`. - function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; - } - - // Internal helper to obtain the `byteLength` property of an object. - var getByteLength = shallowProperty('byteLength'); - - // Internal helper to determine whether we should spend extensive checks against - // `ArrayBuffer` et al. - var isBufferLike = createSizePropertyCheck(getByteLength); - - // Is a given value a typed array? - var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; - function isTypedArray(obj) { - // `ArrayBuffer.isView` is the most future-proof, so use it when available. - // Otherwise, fall back on the above regular expression. - return nativeIsView ? (nativeIsView(obj) && !isDataView$1(obj)) : - isBufferLike(obj) && typedArrayPattern.test(toString.call(obj)); - } - - var isTypedArray$1 = supportsArrayBuffer ? isTypedArray : constant(false); - - // Internal helper to obtain the `length` property of an object. - var getLength = shallowProperty('length'); - - // Internal helper to create a simple lookup structure. - // `collectNonEnumProps` used to depend on `_.contains`, but this led to - // circular imports. `emulatedSet` is a one-off solution that only works for - // arrays of strings. - function emulatedSet(keys) { - var hash = {}; - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; - return { - contains: function(key) { return hash[key]; }, - push: function(key) { - hash[key] = true; - return keys.push(key); - } - }; - } - - // Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't - // be iterated by `for key in ...` and thus missed. Extends `keys` in place if - // needed. - function collectNonEnumProps(obj, keys) { - keys = emulatedSet(keys); - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = isFunction$1(constructor) && constructor.prototype || ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (has$1(obj, prop) && !keys.contains(prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { - keys.push(prop); - } - } - } - - // Retrieve the names of an object's own properties. - // Delegates to **ECMAScript 5**'s native `Object.keys`. - function keys(obj) { - if (!isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var keys = []; - for (var key in obj) if (has$1(obj, key)) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - } - - // Is a given array, string, or object empty? - // An "empty" object has no enumerable own-properties. - function isEmpty(obj) { - if (obj == null) return true; - // Skip the more expensive `toString`-based type checks if `obj` has no - // `.length`. - var length = getLength(obj); - if (typeof length == 'number' && ( - isArray(obj) || isString(obj) || isArguments$1(obj) - )) return length === 0; - return getLength(keys(obj)) === 0; - } - - // Returns whether an object has a given set of `key:value` pairs. - function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; - } - - // If Underscore is called as a function, it returns a wrapped object that can - // be used OO-style. This wrapper holds altered versions of all functions added - // through `_.mixin`. Wrapped objects may be chained. - function _$1(obj) { - if (obj instanceof _$1) return obj; - if (!(this instanceof _$1)) return new _$1(obj); - this._wrapped = obj; - } - - _$1.VERSION = VERSION; - - // Extracts the result from a wrapped and chained object. - _$1.prototype.value = function() { - return this._wrapped; - }; - - // Provide unwrapping proxies for some methods used in engine operations - // such as arithmetic and JSON stringification. - _$1.prototype.valueOf = _$1.prototype.toJSON = _$1.prototype.value; - - _$1.prototype.toString = function() { - return String(this._wrapped); - }; - - // Internal function to wrap or shallow-copy an ArrayBuffer, - // typed array or DataView to a new view, reusing the buffer. - function toBufferView(bufferSource) { - return new Uint8Array( - bufferSource.buffer || bufferSource, - bufferSource.byteOffset || 0, - getByteLength(bufferSource) - ); - } - - // We use this string twice, so give it a name for minification. - var tagDataView = '[object DataView]'; - - // Internal recursive comparison function for `_.isEqual`. - function eq(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // `null` or `undefined` only equal to itself (strict comparison). - if (a == null || b == null) return false; - // `NaN`s are equivalent, but non-reflexive. - if (a !== a) return b !== b; - // Exhaust primitive checks - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); - } - - // Internal recursive comparison function for `_.isEqual`. - function deepEq(a, b, aStack, bStack) { - // Unwrap any wrapped objects. - if (a instanceof _$1) a = a._wrapped; - if (b instanceof _$1) b = b._wrapped; - // Compare `[[Class]]` names. - var className = toString.call(a); - if (className !== toString.call(b)) return false; - // Work around a bug in IE 10 - Edge 13. - if (hasStringTagBug && className == '[object Object]' && isDataView$1(a)) { - if (!isDataView$1(b)) return false; - className = tagDataView; - } - switch (className) { - // These types are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN. - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - case '[object Symbol]': - return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b); - case '[object ArrayBuffer]': - case tagDataView: - // Coerce to typed array so we can fall through. - return deepEq(toBufferView(a), toBufferView(b), aStack, bStack); - } - - var areArrays = className === '[object Array]'; - if (!areArrays && isTypedArray$1(a)) { - var byteLength = getByteLength(a); - if (byteLength !== getByteLength(b)) return false; - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; - areArrays = true; - } - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction$1(aCtor) && aCtor instanceof aCtor && - isFunction$1(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var _keys = keys(a), key; - length = _keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = _keys[length]; - if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; - } - - // Perform a deep comparison to check if two objects are equal. - function isEqual(a, b) { - return eq(a, b); - } - - // Retrieve all the enumerable property names of an object. - function allKeys(obj) { - if (!isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - } - - // Since the regular `Object.prototype.toString` type tests don't work for - // some types in IE 11, we use a fingerprinting heuristic instead, based - // on the methods. It's not great, but it's the best we got. - // The fingerprint method lists are defined below. - function ie11fingerprint(methods) { - var length = getLength(methods); - return function(obj) { - if (obj == null) return false; - // `Map`, `WeakMap` and `Set` have no enumerable keys. - var keys = allKeys(obj); - if (getLength(keys)) return false; - for (var i = 0; i < length; i++) { - if (!isFunction$1(obj[methods[i]])) return false; - } - // If we are testing against `WeakMap`, we need to ensure that - // `obj` doesn't have a `forEach` method in order to distinguish - // it from a regular `Map`. - return methods !== weakMapMethods || !isFunction$1(obj[forEachName]); - }; - } - - // In the interest of compact minification, we write - // each string in the fingerprints only once. - var forEachName = 'forEach', - hasName = 'has', - commonInit = ['clear', 'delete'], - mapTail = ['get', hasName, 'set']; - - // `Map`, `WeakMap` and `Set` each have slightly different - // combinations of the above sublists. - var mapMethods = commonInit.concat(forEachName, mapTail), - weakMapMethods = commonInit.concat(mapTail), - setMethods = ['add'].concat(commonInit, forEachName, hasName); - - var isMap = isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map'); - - var isWeakMap = isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap'); - - var isSet = isIE11 ? ie11fingerprint(setMethods) : tagTester('Set'); - - var isWeakSet = tagTester('WeakSet'); - - // Retrieve the values of an object's properties. - function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; - } - return values; - } - - // Convert an object into a list of `[key, value]` pairs. - // The opposite of `_.object` with one argument. - function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; - } - return pairs; - } - - // Invert the keys and values of an object. The values must be serializable. - function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; - } - return result; - } - - // Return a sorted list of the function names available on the object. - function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction$1(obj[key])) names.push(key); - } - return names.sort(); - } - - // An internal function for creating assigner functions. - function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; - } - - // Extend a given object with all the properties in passed-in object(s). - var extend = createAssigner(allKeys); - - // Assigns a given object with all the own properties in the passed-in - // object(s). - // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) - var extendOwn = createAssigner(keys); - - // Fill in a given object with default properties. - var defaults = createAssigner(allKeys, true); - - // Create a naked function reference for surrogate-prototype-swapping. - function ctor() { - return function(){}; - } - - // An internal function for creating a new object that inherits from another. - function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - var Ctor = ctor(); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; - } - - // Creates an object that inherits from the given prototype object. - // If additional properties are provided then they will be added to the - // created object. - function create(prototype, props) { - var result = baseCreate(prototype); - if (props) extendOwn(result, props); - return result; - } - - // Create a (shallow-cloned) duplicate of an object. - function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); - } - - // Invokes `interceptor` with the `obj` and then returns `obj`. - // The primary purpose of this method is to "tap into" a method chain, in - // order to perform operations on intermediate results within the chain. - function tap(obj, interceptor) { - interceptor(obj); - return obj; - } - - // Normalize a (deep) property `path` to array. - // Like `_.iteratee`, this function can be customized. - function toPath$1(path) { - return isArray(path) ? path : [path]; - } - _$1.toPath = toPath$1; - - // Internal wrapper for `_.toPath` to enable minification. - // Similar to `cb` for `_.iteratee`. - function toPath(path) { - return _$1.toPath(path); - } - - // Internal function to obtain a nested property in `obj` along `path`. - function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; - } - - // Get the value of the (deep) property on `path` from `object`. - // If any property in `path` does not exist or if the value is - // `undefined`, return `defaultValue` instead. - // The `path` is normalized through `_.toPath`. - function get(object, path, defaultValue) { - var value = deepGet(object, toPath(path)); - return isUndefined(value) ? defaultValue : value; - } - - // Shortcut function for checking if an object has a given property directly on - // itself (in other words, not on a prototype). Unlike the internal `has` - // function, this public version can also traverse nested properties. - function has(obj, path) { - path = toPath(path); - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (!has$1(obj, key)) return false; - obj = obj[key]; - } - return !!length; - } - - // Keep the identity function around for default iteratees. - function identity(value) { - return value; - } - - // Returns a predicate for checking whether an object has a given set of - // `key:value` pairs. - function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; - } - - // Creates a function that, when passed an object, will traverse that object’s - // properties down the given `path`, specified as an array of keys or indices. - function property(path) { - path = toPath(path); - return function(obj) { - return deepGet(obj, path); - }; - } - - // Internal function that returns an efficient (for current engines) version - // of the passed-in callback, to be repeatedly applied in other Underscore - // functions. - function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - // The 2-argument case is omitted because we’re not using it. - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; - } - - // An internal function to generate callbacks that can be applied to each - // element in a collection, returning the desired result — either `_.identity`, - // an arbitrary callback, a property matcher, or a property accessor. - function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction$1(value)) return optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); - } - - // External wrapper for our callback generator. Users may customize - // `_.iteratee` if they want additional predicate/iteratee shorthand styles. - // This abstraction hides the internal-only `argCount` argument. - function iteratee(value, context) { - return baseIteratee(value, context, Infinity); - } - _$1.iteratee = iteratee; - - // The function we call internally to generate a callback. It invokes - // `_.iteratee` if overridden, otherwise `baseIteratee`. - function cb(value, context, argCount) { - if (_$1.iteratee !== iteratee) return _$1.iteratee(value, context); - return baseIteratee(value, context, argCount); - } - - // Returns the results of applying the `iteratee` to each element of `obj`. - // In contrast to `_.map` it returns an object. - function mapObject(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - } - - // Predicate-generating function. Often useful outside of Underscore. - function noop(){} - - // Generates a function for a given object that returns a given property. - function propertyOf(obj) { - if (obj == null) return noop; - return function(path) { - return get(obj, path); - }; - } - - // Run a function **n** times. - function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; - } - - // Return a random integer between `min` and `max` (inclusive). - function random(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); - } - - // A (possibly faster) way to get the current timestamp as an integer. - var now = Date.now || function() { - return new Date().getTime(); - }; - - // Internal helper to generate functions for escaping and unescaping strings - // to/from HTML interpolation. - function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped. - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; - } - - // Internal list of HTML entities for escaping. - var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' - }; - - // Function for escaping strings to HTML interpolation. - var _escape = createEscaper(escapeMap); - - // Internal list of HTML entities for unescaping. - var unescapeMap = invert(escapeMap); - - // Function for unescaping strings from HTML interpolation. - var _unescape = createEscaper(unescapeMap); - - // By default, Underscore uses ERB-style template delimiters. Change the - // following template settings to use alternative delimiters. - var templateSettings = _$1.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g - }; - - // When customizing `_.templateSettings`, if you don't want to define an - // interpolation, evaluation or escaping regex, we need one that is - // guaranteed not to match. - var noMatch = /(.)^/; - - // Certain characters need to be escaped so that they can be put into a - // string literal. - var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - - function escapeChar(match) { - return '\\' + escapes[match]; - } - - // In order to prevent third-party code injection through - // `_.templateSettings.variable`, we test it against the following regular - // expression. It is intentionally a bit more liberal than just matching valid - // identifiers, but still prevents possible loopholes through defaults or - // destructuring assignment. - var bareIdentifier = /^\s*(\w|\$)+\s*$/; - - // JavaScript micro-templating, similar to John Resig's implementation. - // Underscore templating handles arbitrary delimiters, preserves whitespace, - // and correctly escapes quotes within interpolated code. - // NB: `oldSettings` only exists for backwards compatibility. - function template(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = defaults({}, settings, _$1.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offset. - return match; - }); - source += "';\n"; - - var argument = settings.variable; - if (argument) { - // Insure against third-party code injection. (CVE-2021-23358) - if (!bareIdentifier.test(argument)) throw new Error( - 'variable is not a bare identifier: ' + argument - ); - } else { - // If a variable is not specified, place data values in local scope. - source = 'with(obj||{}){\n' + source + '}\n'; - argument = 'obj'; - } - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(argument, '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function(data) { - return render.call(this, data, _$1); - }; - - // Provide the compiled source as a convenience for precompilation. - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; - } - - // Traverses the children of `obj` along `path`. If a child is a function, it - // is invoked with its parent as context. Returns the value of the final - // child, or `fallback` if any child is undefined. - function result(obj, path, fallback) { - path = toPath(path); - var length = path.length; - if (!length) { - return isFunction$1(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction$1(prop) ? prop.call(obj) : prop; - } - return obj; - } - - // Generate a unique integer id (unique within the entire client session). - // Useful for temporary DOM ids. - var idCounter = 0; - function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; - } - - // Start chaining a wrapped Underscore object. - function chain(obj) { - var instance = _$1(obj); - instance._chain = true; - return instance; - } - - // Internal function to execute `sourceFunc` bound to `context` with optional - // `args`. Determines whether to execute a function as a constructor or as a - // normal function. - function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (isObject(result)) return result; - return self; - } - - // Partially apply a function by creating a version that has had some of its - // arguments pre-filled, without changing its dynamic `this` context. `_` acts - // as a placeholder by default, allowing any combination of arguments to be - // pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. - var partial = restArguments(function(func, boundArgs) { - var placeholder = partial.placeholder; - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return executeBound(func, bound, this, this, args); - }; - return bound; - }); - - partial.placeholder = _$1; - - // Create a function bound to a given object (assigning `this`, and arguments, - // optionally). - var bind = restArguments(function(func, context, args) { - if (!isFunction$1(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; - }); - - // Internal helper for collection methods to determine whether a collection - // should be iterated as an array or as an object. - // Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 - var isArrayLike = createSizePropertyCheck(getLength); - - // Internal implementation of a recursive `flatten` function. - function flatten$1(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { - // Flatten current level of array or arguments object. - if (depth > 1) { - flatten$1(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; - } - - // Bind a number of an object's methods to that object. Remaining arguments - // are the method names to be bound. Useful for ensuring that all callbacks - // defined on an object belong to it. - var bindAll = restArguments(function(obj, keys) { - keys = flatten$1(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = bind(obj[key], obj); - } - return obj; - }); - - // Memoize an expensive function by storing its results. - function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!has$1(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; - } - - // Delays a function for the given number of milliseconds, and then calls - // it with the arguments supplied. - var delay = restArguments(function(func, wait, args) { - return setTimeout(function() { - return func.apply(null, args); - }, wait); - }); - - // Defers a function, scheduling it to run after the current call stack has - // cleared. - var defer = partial(delay, _$1, 1); - - // Returns a function, that, when invoked, will only be triggered at most once - // during a given window of time. Normally, the throttled function will run - // as much as it can, without ever going more than once per `wait` duration; - // but if you'd like to disable the execution on the leading edge, pass - // `{leading: false}`. To disable execution on the trailing edge, ditto. - function throttle(func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function() { - previous = options.leading === false ? 0 : now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function() { - var _now = now(); - if (!previous && options.leading === false) previous = _now; - var remaining = wait - (_now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = _now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function() { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; - } - - // When a sequence of calls of the returned function ends, the argument - // function is triggered. The end of a sequence is defined by the `wait` - // parameter. If `immediate` is passed, the argument function will be - // triggered at the beginning of the sequence instead of at the end. - function debounce(func, wait, immediate) { - var timeout, previous, args, result, context; - - var later = function() { - var passed = now() - previous; - if (wait > passed) { - timeout = setTimeout(later, wait - passed); - } else { - timeout = null; - if (!immediate) result = func.apply(context, args); - // This check is needed because `func` can recursively invoke `debounced`. - if (!timeout) args = context = null; - } - }; - - var debounced = restArguments(function(_args) { - context = this; - args = _args; - previous = now(); - if (!timeout) { - timeout = setTimeout(later, wait); - if (immediate) result = func.apply(context, args); - } - return result; - }); - - debounced.cancel = function() { - clearTimeout(timeout); - timeout = args = context = null; - }; - - return debounced; - } - - // Returns the first function passed as an argument to the second, - // allowing you to adjust arguments, run code before and after, and - // conditionally execute the original function. - function wrap(func, wrapper) { - return partial(wrapper, func); - } - - // Returns a negated version of the passed-in predicate. - function negate(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; - } - - // Returns a function that is the composition of a list of functions, each - // consuming the return value of the function that follows. - function compose() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; - } - - // Returns a function that will only be executed on and after the Nth call. - function after(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; - } - - // Returns a function that will only be executed up to (but not including) the - // Nth call. - function before(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; - } - - // Returns a function that will be executed at most one time, no matter how - // often you call it. Useful for lazy initialization. - var once = partial(before, 2); - - // Returns the first key on an object that passes a truth test. - function findKey(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } - } - - // Internal function to generate `_.findIndex` and `_.findLastIndex`. - function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = cb(predicate, context); - var length = getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; - } - - // Returns the first index on an array-like that passes a truth test. - var findIndex = createPredicateIndexFinder(1); - - // Returns the last index on an array-like that passes a truth test. - var findLastIndex = createPredicateIndexFinder(-1); - - // Use a comparator function to figure out the smallest index at which - // an object should be inserted so as to maintain order. Uses binary search. - function sortedIndex(array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; - } - - // Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. - function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(slice.call(array, i, length), isNaN$1); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; - } - - // Return the position of the first occurrence of an item in an array, - // or -1 if the item is not included in the array. - // If the array is large and already in sort order, pass `true` - // for **isSorted** to use binary search. - var indexOf = createIndexFinder(1, findIndex, sortedIndex); - - // Return the position of the last occurrence of an item in an array, - // or -1 if the item is not included in the array. - var lastIndexOf = createIndexFinder(-1, findLastIndex); - - // Return the first value which passes a truth test. - function find(obj, predicate, context) { - var keyFinder = isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; - } - - // Convenience version of a common use case of `_.find`: getting the first - // object containing specific `key:value` pairs. - function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); - } - - // The cornerstone for collection functions, an `each` - // implementation, aka `forEach`. - // Handles raw objects in addition to array-likes. Treats all - // sparse array-likes as if they were dense. - function each(obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; - } - - // Return the results of applying the iteratee to each element. - function map(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - } - - // Internal helper to create a reducing function, iterating left or right. - function createReduce(dir) { - // Wrap code that reassigns argument variables in a separate function than - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); - }; - } - - // **Reduce** builds up a single result from a list of values, aka `inject`, - // or `foldl`. - var reduce = createReduce(1); - - // The right-associative version of reduce, also known as `foldr`. - var reduceRight = createReduce(-1); - - // Return all the elements that pass a truth test. - function filter(obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; - } - - // Return all the elements for which a truth test fails. - function reject(obj, predicate, context) { - return filter(obj, negate(cb(predicate)), context); - } - - // Determine whether all of the elements pass a truth test. - function every(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; - } - - // Determine if at least one element in the object passes a truth test. - function some(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; - } - - // Determine if the array or object contains a given item (using `===`). - function contains(obj, item, fromIndex, guard) { - if (!isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; - } - - // Invoke a method (with arguments) on every item in a collection. - var invoke = restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction$1(path)) { - func = path; - } else { - path = toPath(path); - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); - }); - - // Convenience version of a common use case of `_.map`: fetching a property. - function pluck(obj, key) { - return map(obj, property(key)); - } - - // Convenience version of a common use case of `_.filter`: selecting only - // objects containing specific `key:value` pairs. - function where(obj, attrs) { - return filter(obj, matcher(attrs)); - } - - // Return the maximum element (or element-based computation). - function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; - } - - // Return the minimum element (or element-based computation). - function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; - } - - // Sample **n** random values from a collection using the modern version of the - // [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). - // If **n** is not specified, returns a single random element. - // The internal `guard` argument allows it to work with `_.map`. - function sample(obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = isArrayLike(obj) ? clone(obj) : values(obj); - var length = getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); - } - - // Shuffle a collection. - function shuffle(obj) { - return sample(obj, Infinity); - } - - // Sort the object's values by a criterion produced by an iteratee. - function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); - } - - // An internal function used for aggregate "group by" operations. - function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; - } - - // Groups the object's values by a criterion. Pass either a string attribute - // to group by, or a function that returns the criterion. - var groupBy = group(function(result, value, key) { - if (has$1(result, key)) result[key].push(value); else result[key] = [value]; - }); - - // Indexes the object's values by a criterion, similar to `_.groupBy`, but for - // when you know that your index values will be unique. - var indexBy = group(function(result, value, key) { - result[key] = value; - }); - - // Counts instances of an object that group by a certain criterion. Pass - // either a string attribute to count by, or a function that returns the - // criterion. - var countBy = group(function(result, value, key) { - if (has$1(result, key)) result[key]++; else result[key] = 1; - }); - - // Split a collection into two arrays: one whose elements all pass the given - // truth test, and one whose elements all do not pass the truth test. - var partition = group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); - }, true); - - // Safely create a real, live array from anything iterable. - var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; - function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return slice.call(obj); - if (isString(obj)) { - // Keep surrogate pair characters together. - return obj.match(reStrSymbol); - } - if (isArrayLike(obj)) return map(obj, identity); - return values(obj); - } - - // Return the number of elements in a collection. - function size(obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : keys(obj).length; - } - - // Internal `_.pick` helper function to determine whether `key` is an enumerable - // property name of `obj`. - function keyInObj(value, key, obj) { - return key in obj; - } - - // Return a copy of the object only containing the allowed properties. - var pick = restArguments(function(obj, keys) { - var result = {}, iteratee = keys[0]; - if (obj == null) return result; - if (isFunction$1(iteratee)) { - if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]); - keys = allKeys(obj); - } else { - iteratee = keyInObj; - keys = flatten$1(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; - }); - - // Return a copy of the object without the disallowed properties. - var omit = restArguments(function(obj, keys) { - var iteratee = keys[0], context; - if (isFunction$1(iteratee)) { - iteratee = negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = map(flatten$1(keys, false, false), String); - iteratee = function(value, key) { - return !contains(keys, key); - }; - } - return pick(obj, iteratee, context); - }); - - // Returns everything but the last entry of the array. Especially useful on - // the arguments object. Passing **n** will return all the values in - // the array, excluding the last N. - function initial(array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); - } - - // Get the first element of an array. Passing **n** will return the first N - // values in the array. The **guard** check allows it to work with `_.map`. - function first(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); - } - - // Returns everything but the first entry of the `array`. Especially useful on - // the `arguments` object. Passing an **n** will return the rest N values in the - // `array`. - function rest(array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); - } - - // Get the last element of an array. Passing **n** will return the last N - // values in the array. - function last(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); - } - - // Trim out all falsy values from an array. - function compact(array) { - return filter(array, Boolean); - } - - // Flatten out an array, either recursively (by default), or up to `depth`. - // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. - function flatten(array, depth) { - return flatten$1(array, depth, false); - } - - // Take the difference between one array and a number of other arrays. - // Only the elements present in just the first array will remain. - var difference = restArguments(function(array, rest) { - rest = flatten$1(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); - }); - - // Return a version of the array that does not contain the specified value(s). - var without = restArguments(function(array, otherArrays) { - return difference(array, otherArrays); - }); - - // Produce a duplicate-free version of the array. If the array has already - // been sorted, you have the option of using a faster algorithm. - // The faster algorithm will not work with an iteratee if the iteratee - // is not a one-to-one function, so providing an iteratee will disable - // the faster algorithm. - function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!contains(result, value)) { - result.push(value); - } - } - return result; - } - - // Produce an array that contains the union: each distinct element from all of - // the passed-in arrays. - var union = restArguments(function(arrays) { - return uniq(flatten$1(arrays, true, true)); - }); - - // Produce an array that contains every item shared between all the - // passed-in arrays. - function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; - } - - // Complement of zip. Unzip accepts an array of arrays and groups - // each array's elements on shared indices. - function unzip(array) { - var length = array && max(array, getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); - } - return result; - } - - // Zip together multiple lists into a single array -- elements that share - // an index go together. - var zip = restArguments(unzip); - - // Converts lists into objects. Pass either a single array of `[key, value]` - // pairs, or two parallel arrays of the same length -- one of keys, and one of - // the corresponding values. Passing by pairs is the reverse of `_.pairs`. - function object(list, values) { - var result = {}; - for (var i = 0, length = getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; - } - - // Generate an integer Array containing an arithmetic progression. A port of - // the native Python `range()` function. See - // [the Python documentation](https://docs.python.org/library/functions.html#range). - function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; - } - - // Chunk a single array into multiple arrays, each containing `count` or fewer - // items. - function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(slice.call(array, i, i += count)); - } - return result; - } - - // Helper function to continue chaining intermediate results. - function chainResult(instance, obj) { - return instance._chain ? _$1(obj).chain() : obj; - } - - // Add your own custom functions to the Underscore object. - function mixin(obj) { - each(functions(obj), function(name) { - var func = _$1[name] = obj[name]; - _$1.prototype[name] = function() { - var args = [this._wrapped]; - push.apply(args, arguments); - return chainResult(this, func.apply(_$1, args)); - }; - }); - return _$1; - } - - // Add all mutator `Array` functions to the wrapper. - each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) { - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) { - delete obj[0]; - } - } - return chainResult(this, obj); - }; - }); - - // Add all accessor `Array` functions to the wrapper. - each(['concat', 'join', 'slice'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) obj = method.apply(obj, arguments); - return chainResult(this, obj); - }; - }); - - // Named Exports - - var allExports = { - __proto__: null, - VERSION: VERSION, - restArguments: restArguments, - isObject: isObject, - isNull: isNull, - isUndefined: isUndefined, - isBoolean: isBoolean, - isElement: isElement, - isString: isString, - isNumber: isNumber, - isDate: isDate, - isRegExp: isRegExp, - isError: isError, - isSymbol: isSymbol, - isArrayBuffer: isArrayBuffer, - isDataView: isDataView$1, - isArray: isArray, - isFunction: isFunction$1, - isArguments: isArguments$1, - isFinite: isFinite$1, - isNaN: isNaN$1, - isTypedArray: isTypedArray$1, - isEmpty: isEmpty, - isMatch: isMatch, - isEqual: isEqual, - isMap: isMap, - isWeakMap: isWeakMap, - isSet: isSet, - isWeakSet: isWeakSet, - keys: keys, - allKeys: allKeys, - values: values, - pairs: pairs, - invert: invert, - functions: functions, - methods: functions, - extend: extend, - extendOwn: extendOwn, - assign: extendOwn, - defaults: defaults, - create: create, - clone: clone, - tap: tap, - get: get, - has: has, - mapObject: mapObject, - identity: identity, - constant: constant, - noop: noop, - toPath: toPath$1, - property: property, - propertyOf: propertyOf, - matcher: matcher, - matches: matcher, - times: times, - random: random, - now: now, - escape: _escape, - unescape: _unescape, - templateSettings: templateSettings, - template: template, - result: result, - uniqueId: uniqueId, - chain: chain, - iteratee: iteratee, - partial: partial, - bind: bind, - bindAll: bindAll, - memoize: memoize, - delay: delay, - defer: defer, - throttle: throttle, - debounce: debounce, - wrap: wrap, - negate: negate, - compose: compose, - after: after, - before: before, - once: once, - findKey: findKey, - findIndex: findIndex, - findLastIndex: findLastIndex, - sortedIndex: sortedIndex, - indexOf: indexOf, - lastIndexOf: lastIndexOf, - find: find, - detect: find, - findWhere: findWhere, - each: each, - forEach: each, - map: map, - collect: map, - reduce: reduce, - foldl: reduce, - inject: reduce, - reduceRight: reduceRight, - foldr: reduceRight, - filter: filter, - select: filter, - reject: reject, - every: every, - all: every, - some: some, - any: some, - contains: contains, - includes: contains, - include: contains, - invoke: invoke, - pluck: pluck, - where: where, - max: max, - min: min, - shuffle: shuffle, - sample: sample, - sortBy: sortBy, - groupBy: groupBy, - indexBy: indexBy, - countBy: countBy, - partition: partition, - toArray: toArray, - size: size, - pick: pick, - omit: omit, - first: first, - head: first, - take: first, - initial: initial, - last: last, - rest: rest, - tail: rest, - drop: rest, - compact: compact, - flatten: flatten, - without: without, - uniq: uniq, - unique: uniq, - union: union, - intersection: intersection, - difference: difference, - unzip: unzip, - transpose: unzip, - zip: zip, - object: object, - range: range, - chunk: chunk, - mixin: mixin, - 'default': _$1 - }; - - // Default Export - - // Add all of the Underscore functions to the wrapper object. - var _ = mixin(allExports); - // Legacy Node.js API. - _._ = _; - - return _; - -}))); -//# sourceMappingURL=underscore-umd.js.map diff --git a/node_modules/typed-rest-client/package.json b/node_modules/typed-rest-client/package.json index 2ae8077b8..3a82275d9 100644 --- a/node_modules/typed-rest-client/package.json +++ b/node_modules/typed-rest-client/package.json @@ -1,6 +1,6 @@ { "name": "typed-rest-client", - "version": "1.8.4", + "version": "1.8.9", "description": "Node Rest and Http Clients for use with TypeScript", "main": "./RestClient.js", "scripts": { @@ -36,7 +36,7 @@ "nock": "9.6.1", "react-scripts": "1.1.5", "semver": "4.3.3", - "shelljs": "0.7.6", + "shelljs": "^0.8.5", "typescript": "3.1.5" }, "dependencies": { diff --git a/node_modules/unbox-primitive/.editorconfig b/node_modules/unbox-primitive/.editorconfig deleted file mode 100644 index bc228f826..000000000 --- a/node_modules/unbox-primitive/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off diff --git a/node_modules/unbox-primitive/.eslintignore b/node_modules/unbox-primitive/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/unbox-primitive/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/unbox-primitive/.eslintrc b/node_modules/unbox-primitive/.eslintrc deleted file mode 100644 index 3b5d9e90e..000000000 --- a/node_modules/unbox-primitive/.eslintrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", -} diff --git a/node_modules/unbox-primitive/.github/FUNDING.yml b/node_modules/unbox-primitive/.github/FUNDING.yml deleted file mode 100644 index 30cbba95b..000000000 --- a/node_modules/unbox-primitive/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/unbox-primitive -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/unbox-primitive/.nycrc b/node_modules/unbox-primitive/.nycrc deleted file mode 100644 index 1826526e0..000000000 --- a/node_modules/unbox-primitive/.nycrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/unbox-primitive/CHANGELOG.md b/node_modules/unbox-primitive/CHANGELOG.md deleted file mode 100644 index 4da114c4e..000000000 --- a/node_modules/unbox-primitive/CHANGELOG.md +++ /dev/null @@ -1,47 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.1](https://github.com/ljharb/unbox-primitive/compare/v1.0.0...v1.0.1) - 2021-03-25 - -### Commits - -- [Tests] use shared travis-ci configs [`f977e5f`](https://github.com/ljharb/unbox-primitive/commit/f977e5f8fa532dbc519bd78a48cf4b81c14720fe) -- [Tests] migrate tests to Github Actions [`b89def6`](https://github.com/ljharb/unbox-primitive/commit/b89def60908a236aa1b5c756426f7cc61cf458dd) -- [meta] do not publish github action workflow files [`325d1f1`](https://github.com/ljharb/unbox-primitive/commit/325d1f1836cecbe57ee148545de5aefcbe7a7dce) -- readme [`810cd70`](https://github.com/ljharb/unbox-primitive/commit/810cd70f7b3c670cd55eae64466c89595175ee2a) -- [Tests] run `nyc` on all tests; use `tape` runner [`2f5fb08`](https://github.com/ljharb/unbox-primitive/commit/2f5fb08930c8f8e5e069ac61891dc9bd76cb762b) -- [meta] add `auto-changelog` [`03ed375`](https://github.com/ljharb/unbox-primitive/commit/03ed3759284493f19323eb0500f726d0851fc085) -- [actions] add automatic rebasing / merge commit blocking [`6dec48d`](https://github.com/ljharb/unbox-primitive/commit/6dec48daa357fa79a5cac1add9ca33f7b56276cc) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `object-is`, `tape` [`528ed88`](https://github.com/ljharb/unbox-primitive/commit/528ed8826664b67f7eaf1fe7e2031c063b2d315f) -- [actions] check out the entire repo [`5095b29`](https://github.com/ljharb/unbox-primitive/commit/5095b2981f44a78b3f9bfaa1a526f17a6823e383) -- [actions] add "Allow Edits" workflow [`5aa26d7`](https://github.com/ljharb/unbox-primitive/commit/5aa26d7f0c32e0e78ba4bf3e5f9abb5478fd97fa) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `object-is`, `safe-publish-latest`, `tape` [`afc18c6`](https://github.com/ljharb/unbox-primitive/commit/afc18c6cb59cbb6b514e0d8004c6fd264e2a27eb) -- [readme] remove travis badge [`a025899`](https://github.com/ljharb/unbox-primitive/commit/a0258997a21604e1266840e6d167f0a870966e9b) -- [Dev Deps] update `auto-changelog` [`9219a32`](https://github.com/ljharb/unbox-primitive/commit/9219a32844b2ce3ed0a7ea12a5910a3e92424e4e) -- [readme] Fix missing paren in example [`73f5a33`](https://github.com/ljharb/unbox-primitive/commit/73f5a3340ca1ab6c227ed4632117d816d5e35317) -- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`e450acc`](https://github.com/ljharb/unbox-primitive/commit/e450accb54ab452f240768a5f0a98e5887b0ba8c) -- [Deps] update `has-bigints`, `has-symbols`, `which-boxed-primitive` [`a4279b5`](https://github.com/ljharb/unbox-primitive/commit/a4279b504732002074e5dcb9c5509038d605f563) -- [Dev Deps] update `auto-changelog`, `in-publish`, `tape` [`b351548`](https://github.com/ljharb/unbox-primitive/commit/b351548d31789c0d0af4c3bce55c2bdefe51b40f) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`f600382`](https://github.com/ljharb/unbox-primitive/commit/f600382db83025270969354ac52a72aadb0a7ffa) -- [readme] fix travis links [`4d02fa9`](https://github.com/ljharb/unbox-primitive/commit/4d02fa9a4990812b048f8aefe6e46be80b68beef) -- [Dev Deps] update `auto-changelog`; add `aud` [`07e74a3`](https://github.com/ljharb/unbox-primitive/commit/07e74a3ca90688122593095849757e3c05c46db0) -- [meta] add `funding` field [`7ca4bd7`](https://github.com/ljharb/unbox-primitive/commit/7ca4bd71196e90a2fc9c7cb0ef4e30f949d5a853) -- [Tests] only audit prod deps [`47d8d5f`](https://github.com/ljharb/unbox-primitive/commit/47d8d5fbd58bf472e7e83f79ccef7e8379d06b35) -- [Deps] update `has-symbols` [`c70c15e`](https://github.com/ljharb/unbox-primitive/commit/c70c15e924191d11a271cff25bde657b0c3c3016) - -## v1.0.0 - 2019-08-10 - -### Commits - -- [Tests] add `.travis.yml` [`8c9a5ef`](https://github.com/ljharb/unbox-primitive/commit/8c9a5efdb54be4866e2884bf32cbe830788b2c2a) -- Initial commit [`feaff15`](https://github.com/ljharb/unbox-primitive/commit/feaff159eb999adc8763ff3e51d2d3d56d6164f8) -- [Tests] add tests [`3dd18d6`](https://github.com/ljharb/unbox-primitive/commit/3dd18d65748efb4af9b8ca66f8d8c5521d8f2dec) -- implementation [`472fb41`](https://github.com/ljharb/unbox-primitive/commit/472fb41d049ddee80ebf3219a5837e639a6e9341) -- npm init [`e9e426f`](https://github.com/ljharb/unbox-primitive/commit/e9e426fc90b9a3f07ffc48db75f78c414f77bc2b) -- [Tests] add linting [`139e74b`](https://github.com/ljharb/unbox-primitive/commit/139e74b94cdfd187b43b24de76c6d84af21ee467) -- [meta] create FUNDING.yml [`a9509e1`](https://github.com/ljharb/unbox-primitive/commit/a9509e122163e2b9d98af421e5c0575df36e2310) -- Only apps should have lockfiles [`b3d0834`](https://github.com/ljharb/unbox-primitive/commit/b3d0834d69dcbf4cbc1e61ccfaef05acf96cf630) diff --git a/node_modules/unbox-primitive/LICENSE b/node_modules/unbox-primitive/LICENSE deleted file mode 100644 index 3900dd7e2..000000000 --- a/node_modules/unbox-primitive/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/unbox-primitive/README.md b/node_modules/unbox-primitive/README.md deleted file mode 100644 index f267e332e..000000000 --- a/node_modules/unbox-primitive/README.md +++ /dev/null @@ -1,41 +0,0 @@ -# unbox-primitive [![Version Badge][2]][1] - -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Unbox a boxed JS primitive value. This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and works despite ES6 Symbol.toStringTag. - -## Example - -```js -var unboxPrimitive = require('unbox-primitive'); -var assert = require('assert'); - -assert.equal(unboxPrimitive(new Boolean(false)), false); -assert.equal(unboxPrimitive(new String('f')), 'f'); -assert.equal(unboxPrimitive(new Number(42)), 42); -const s = Symbol(); -assert.equal(unboxPrimitive(Object(s)), s); -assert.equal(unboxPrimitive(new BigInt(42)), 42n); - -// any primitive, or non-boxed-primitive object, will throw -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/unbox-primitive -[2]: https://versionbadg.es/ljharb/unbox-primitive.svg -[5]: https://david-dm.org/ljharb/unbox-primitive.svg -[6]: https://david-dm.org/ljharb/unbox-primitive -[7]: https://david-dm.org/ljharb/unbox-primitive/dev-status.svg -[8]: https://david-dm.org/ljharb/unbox-primitive#info=devDependencies -[11]: https://nodei.co/npm/unbox-primitive.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/unbox-primitive.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/unbox-primitive.svg -[downloads-url]: https://npm-stat.com/charts.html?package=unbox-primitive diff --git a/node_modules/unbox-primitive/index.js b/node_modules/unbox-primitive/index.js deleted file mode 100644 index f5e9f3b54..000000000 --- a/node_modules/unbox-primitive/index.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var whichBoxedPrimitive = require('which-boxed-primitive'); -var bind = require('function-bind'); -var hasSymbols = require('has-symbols')(); -var hasBigInts = require('has-bigints')(); - -var stringToString = bind.call(Function.call, String.prototype.toString); -var numberValueOf = bind.call(Function.call, Number.prototype.valueOf); -var booleanValueOf = bind.call(Function.call, Boolean.prototype.valueOf); -var symbolValueOf = hasSymbols && bind.call(Function.call, Symbol.prototype.valueOf); -var bigIntValueOf = hasBigInts && bind.call(Function.call, BigInt.prototype.valueOf); - -module.exports = function unboxPrimitive(value) { - var which = whichBoxedPrimitive(value); - if (typeof which !== 'string') { - throw new TypeError(which === null ? 'value is an unboxed primitive' : 'value is a non-boxed-primitive object'); - } - - if (which === 'String') { - return stringToString(value); - } - if (which === 'Number') { - return numberValueOf(value); - } - if (which === 'Boolean') { - return booleanValueOf(value); - } - if (which === 'Symbol') { - if (!hasSymbols) { - throw new EvalError('somehow this environment does not have Symbols, but you have a boxed Symbol value. Please report this!'); - } - return symbolValueOf(value); - } - if (which === 'BigInt') { - return bigIntValueOf(value); - } - throw new RangeError('unknown boxed primitive found: ' + which); -}; diff --git a/node_modules/unbox-primitive/package.json b/node_modules/unbox-primitive/package.json deleted file mode 100644 index a0555eedb..000000000 --- a/node_modules/unbox-primitive/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "unbox-primitive", - "version": "1.0.1", - "description": "Unbox a boxed JS primitive value.", - "main": "index.js", - "scripts": { - "prepublish": "not-in-publish || safe-publish-latest", - "lint": "eslint .", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "npx aud --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/unbox-primitive.git" - }, - "keywords": [ - "unbox", - "boxed", - "primitive", - "object", - "javascript", - "ecmascript" - ], - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/ljharb/unbox-primitive/issues" - }, - "homepage": "https://github.com/ljharb/unbox-primitive#readme", - "devDependencies": { - "@ljharb/eslint-config": "^17.5.1", - "aud": "^1.1.4", - "auto-changelog": "^2.2.1", - "eslint": "^7.22.0", - "for-each": "^0.3.3", - "in-publish": "^2.0.1", - "nyc": "^10.3.2", - "object-inspect": "^1.9.0", - "object-is": "^1.1.5", - "safe-publish-latest": "^1.1.4", - "tape": "^5.2.2" - }, - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/unbox-primitive/test/index.js b/node_modules/unbox-primitive/test/index.js deleted file mode 100644 index 73688ac1e..000000000 --- a/node_modules/unbox-primitive/test/index.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -var test = require('tape'); -var inspect = require('object-inspect'); -var is = require('object-is'); -var forEach = require('for-each'); -var hasSymbols = require('has-symbols')(); -var hasBigInts = require('has-bigints')(); - -var unboxPrimitive = require('..'); - -var debug = function (v, m) { return inspect(v) + ' ' + m; }; - -test('primitives', function (t) { - var primitives = [ - true, - false, - '', - 'foo', - 42, - NaN, - Infinity, - 0 - ]; - if (hasSymbols) { - primitives.push(Symbol(), Symbol.iterator, Symbol('f')); - } - if (hasBigInts) { - primitives.push(BigInt(42), BigInt(0)); - } - forEach(primitives, function (primitive) { - var obj = Object(primitive); - t.ok( - is(unboxPrimitive(obj), primitive), - debug(obj, 'unboxes to ' + inspect(primitive)) - ); - }); - - t.end(); -}); - -test('objects', function (t) { - var objects = [ - {}, - [], - function () {}, - /a/g, - new Date() - ]; - forEach(objects, function (object) { - t['throws']( - function () { unboxPrimitive(object); }, - TypeError, - debug(object, 'is not a primitive') - ); - }); - - t.end(); -}); diff --git a/node_modules/util/README.md b/node_modules/util/README.md index eb6305829..faced97f5 100644 --- a/node_modules/util/README.md +++ b/node_modules/util/README.md @@ -6,7 +6,7 @@ This implements the Node.js [`util`][util] module for environments that do not h ## Install -You usually do not have to install `util` yourself. If your code runs in Node.js, `util` is built in. If your code runs in the browser, bundlers like [browserify](https://github.com/browserify/browserify) or [webpack](https://github.com/webpack/webpack) also include the `util` module. +You usually do not have to install `util` yourself. If your code runs in Node.js, `util` is built in. If your code runs in the browser, bundlers like [browserify](https://github.com/browserify/browserify) or [webpack](https://github.com/webpack/webpack) (up to version 4 -- [see this documentation](https://webpack.js.org/configuration/resolve/#resolvefallback) for how to include polyfills like `util` in webpack 5+) also include the `util` module. But if none of those apply, with npm do: diff --git a/node_modules/util/package.json b/node_modules/util/package.json index 3b10431b1..2099ec02a 100644 --- a/node_modules/util/package.json +++ b/node_modules/util/package.json @@ -1,7 +1,7 @@ { "name": "util", "description": "Node.js's util module for all engines", - "version": "0.12.4", + "version": "0.12.5", "author": { "name": "Joyent", "url": "http://www.joyent.com" @@ -14,7 +14,6 @@ "is-arguments": "^1.0.4", "is-generator-function": "^1.0.7", "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", "which-typed-array": "^1.1.2" }, "devDependencies": { @@ -24,6 +23,7 @@ "object.assign": "~4.1.0", "object.entries": "^1.1.0", "run-series": "~1.1.4", + "safe-buffer": "^5.1.2", "tape": "~4.9.0" }, "files": [ diff --git a/node_modules/util/util.js b/node_modules/util/util.js index 6eea6572a..6db393e27 100644 --- a/node_modules/util/util.js +++ b/node_modules/util/util.js @@ -410,7 +410,7 @@ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { if (array) { str = str.split('\n').map(function(line) { return ' ' + line; - }).join('\n').substr(2); + }).join('\n').slice(2); } else { str = '\n' + str.split('\n').map(function(line) { return ' ' + line; @@ -427,7 +427,7 @@ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { } name = JSON.stringify('' + key); if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { - name = name.substr(1, name.length - 2); + name = name.slice(1, -1); name = ctx.stylize(name, 'name'); } else { name = name.replace(/'/g, "\\'") diff --git a/node_modules/which-boxed-primitive/.editorconfig b/node_modules/which-boxed-primitive/.editorconfig deleted file mode 100644 index bc228f826..000000000 --- a/node_modules/which-boxed-primitive/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 150 - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off diff --git a/node_modules/which-boxed-primitive/.eslintignore b/node_modules/which-boxed-primitive/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/which-boxed-primitive/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/which-boxed-primitive/.eslintrc b/node_modules/which-boxed-primitive/.eslintrc deleted file mode 100644 index bfa96d149..000000000 --- a/node_modules/which-boxed-primitive/.eslintrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "max-statements": [2, 12], - }, -} diff --git a/node_modules/which-boxed-primitive/.github/FUNDING.yml b/node_modules/which-boxed-primitive/.github/FUNDING.yml deleted file mode 100644 index 0cdbbd813..000000000 --- a/node_modules/which-boxed-primitive/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/which-boxed-primitive -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/which-boxed-primitive/.nycrc b/node_modules/which-boxed-primitive/.nycrc deleted file mode 100644 index 1826526e0..000000000 --- a/node_modules/which-boxed-primitive/.nycrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "all": true, - "check-coverage": false, - "reporter": ["text-summary", "text", "html", "json"], - "lines": 86, - "statements": 85.93, - "functions": 82.43, - "branches": 76.06, - "exclude": [ - "coverage", - "test" - ] -} diff --git a/node_modules/which-boxed-primitive/CHANGELOG.md b/node_modules/which-boxed-primitive/CHANGELOG.md deleted file mode 100644 index 23e542207..000000000 --- a/node_modules/which-boxed-primitive/CHANGELOG.md +++ /dev/null @@ -1,54 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v1.0.2](https://github.com/inspect-js/which-boxed-primitive/compare/v1.0.1...v1.0.2) - 2020-12-14 - -### Commits - -- [Tests] use shared travis-ci configs [`8674582`](https://github.com/inspect-js/which-boxed-primitive/commit/86745829b6a92cff2cfb0d3c0414ec9afdc2a087) -- [Tests] migrate tests to Github Actions [`dff6643`](https://github.com/inspect-js/which-boxed-primitive/commit/dff6643405ba4d6dc6694a25904c8f72f273ece8) -- [meta] do not publish github action workflow files [`b26112a`](https://github.com/inspect-js/which-boxed-primitive/commit/b26112a4e4ac6beec8f54c734135dbf9e9ba16f9) -- [meta] make `auto-changelog` config consistent [`8d10175`](https://github.com/inspect-js/which-boxed-primitive/commit/8d10175171154cd6c8f8a016aa7fb71b5044acf6) -- [readme] fix repo URLs, remove defunct badges [`ab8db24`](https://github.com/inspect-js/which-boxed-primitive/commit/ab8db247573723dbcda68469118d08c7c2692c67) -- [Tests] run `nyc` on all tests; use `tape` runner [`7d084df`](https://github.com/inspect-js/which-boxed-primitive/commit/7d084dfc5251230e9399a81782c0b9d7ae5d1901) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `tape` [`576f6f3`](https://github.com/inspect-js/which-boxed-primitive/commit/576f6f308aed35ef1d3392bb9472def59482ed13) -- [actions] add automatic rebasing / merge commit blocking [`97efa53`](https://github.com/inspect-js/which-boxed-primitive/commit/97efa53a307678323e63f576c07db9ff84846fd3) -- [actions] add "Allow Edits" workflow [`fb1b4f7`](https://github.com/inspect-js/which-boxed-primitive/commit/fb1b4f7cd753fcced74ac054b20c8b2bfafe7953) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `has-symbols`, `object-inspect`, `safe-publish-latest` [`1e03c61`](https://github.com/inspect-js/which-boxed-primitive/commit/1e03c6153693d385833acc15178f675e6ce5ddd0) -- [Deps] update `is-boolean-object`, `is-number-object`, `is-string`, `is-symbol` [`13673df`](https://github.com/inspect-js/which-boxed-primitive/commit/13673dff6e43f0a915377c3e5740ec24e86d6bb7) -- [Dev Deps] update `auto-changelog`, `in-publish`, `tape` [`65a0e15`](https://github.com/inspect-js/which-boxed-primitive/commit/65a0e155fc46a9237692233a51ec9573621135d2) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`f8a0afe`](https://github.com/inspect-js/which-boxed-primitive/commit/f8a0afea82938d64f3d2d240268afbd346d0c4da) -- [Deps] update `is-bigint`, `is-boolean-object` [`e7a1ce2`](https://github.com/inspect-js/which-boxed-primitive/commit/e7a1ce25371c00ee726f1c0cc5b6acf10d51ec50) -- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`e46f193`](https://github.com/inspect-js/which-boxed-primitive/commit/e46f193298b158db5c8aba889803513e4ee38957) -- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`df3da14`](https://github.com/inspect-js/which-boxed-primitive/commit/df3da1424552a5d22e203a0abf1710106bfd4ae2) -- [Dev Deps] update `auto-changelog`; add `aud` [`e2e8a12`](https://github.com/inspect-js/which-boxed-primitive/commit/e2e8a12c6fbf8c48e760ea1d1ccd5e8d2d6fbf24) -- [meta] add `funding` field [`7df404b`](https://github.com/inspect-js/which-boxed-primitive/commit/7df404b20cd50b2b87e6645b130fefa8ee98810e) -- [Dev Deps] update `auto-changelog` [`0d6b76d`](https://github.com/inspect-js/which-boxed-primitive/commit/0d6b76dbbe760581fa86a0c3f254988fe5d27770) -- [Tests] only audit prod deps [`246151c`](https://github.com/inspect-js/which-boxed-primitive/commit/246151cc1407b3b1ef42014db993f62670bd82ff) -- [meta] fix changelog [`c2d1685`](https://github.com/inspect-js/which-boxed-primitive/commit/c2d16856deffbf86e0b5029e69b65d8aa758ec3d) -- [readme] Fix spelling error [`25fb2b5`](https://github.com/inspect-js/which-boxed-primitive/commit/25fb2b56e1f708c6364923e4bae384f818ecf57f) - -## [v1.0.1](https://github.com/inspect-js/which-boxed-primitive/compare/v1.0.0...v1.0.1) - 2019-08-10 - -### Commits - -- [meta] avoid running `safe-publish-latest` when not publishing [`df44b27`](https://github.com/inspect-js/which-boxed-primitive/commit/df44b27875a8f5c3c596663ecb4a063f9fc7bde3) - -## v1.0.0 - 2019-08-10 - -### Commits - -- [Tests] add `.travis.yml` [`764b0cf`](https://github.com/inspect-js/which-boxed-primitive/commit/764b0cf75f8d2b3a0ad2056de5f4ad85d5d1b765) -- Initial commit [`da7d068`](https://github.com/inspect-js/which-boxed-primitive/commit/da7d068913d591294bf155db5d438f7804d71b9a) -- readme [`1395bb2`](https://github.com/inspect-js/which-boxed-primitive/commit/1395bb27b72137ac01e48ee398a0f54e93fd87f5) -- [Tests] add tests [`0ff580f`](https://github.com/inspect-js/which-boxed-primitive/commit/0ff580f99579cd4424af7b814bd76fcb69a2b04e) -- implementation [`8811c32`](https://github.com/inspect-js/which-boxed-primitive/commit/8811c3262a57963634cdc83ceb5bb2c5e9ae4e7e) -- npm init [`cffdea9`](https://github.com/inspect-js/which-boxed-primitive/commit/cffdea9755eabfa2f9ec62a6fcbce0c28f04495b) -- [Tests] add `npm run lint` [`a8be993`](https://github.com/inspect-js/which-boxed-primitive/commit/a8be9933fec1b21267acd847df77f6438e07e3b9) -- [meta] add FUNDING.yml [`941258c`](https://github.com/inspect-js/which-boxed-primitive/commit/941258c70c9a397466e05b614126cb8c7be77b99) -- Only apps should have lockfiles [`6857316`](https://github.com/inspect-js/which-boxed-primitive/commit/68573165d8ce842cdf15d94af82f8cccb961b8cf) -- [Tests] use `npx aud` in `posttest` [`ee48a91`](https://github.com/inspect-js/which-boxed-primitive/commit/ee48a9144bea23bde5cc47788a54d5aa7969d489) diff --git a/node_modules/which-boxed-primitive/LICENSE b/node_modules/which-boxed-primitive/LICENSE deleted file mode 100644 index 3900dd7e2..000000000 --- a/node_modules/which-boxed-primitive/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/which-boxed-primitive/README.md b/node_modules/which-boxed-primitive/README.md deleted file mode 100644 index e08f26af8..000000000 --- a/node_modules/which-boxed-primitive/README.md +++ /dev/null @@ -1,73 +0,0 @@ -# which-boxed-primitive [![Version Badge][2]][1] - -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -Which kind of boxed JS primitive is this? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and works despite ES6 Symbol.toStringTag. - -## Example - -```js -var whichBoxedPrimitive = require('which-boxed-primitive'); -var assert = require('assert'); - -// unboxed primitives return `null` -// boxed primitives return the builtin constructor name - -assert.equal(whichBoxedPrimitive(undefined), null); -assert.equal(whichBoxedPrimitive(null), null); - -assert.equal(whichBoxedPrimitive(false), null); -assert.equal(whichBoxedPrimitive(true), null); -assert.equal(whichBoxedPrimitive(new Boolean(false)), 'Boolean'); -assert.equal(whichBoxedPrimitive(new Boolean(true)), 'Boolean'); - -assert.equal(whichBoxedPrimitive(42), null); -assert.equal(whichBoxedPrimitive(NaN), null); -assert.equal(whichBoxedPrimitive(Infinity), null); -assert.equal(whichBoxedPrimitive(new Number(42)), 'Number'); -assert.equal(whichBoxedPrimitive(new Number(NaN)), 'Number'); -assert.equal(whichBoxedPrimitive(new Number(Infinity)), 'Number'); - -assert.equal(whichBoxedPrimitive(''), null); -assert.equal(whichBoxedPrimitive('foo'), null); -assert.equal(whichBoxedPrimitive(new String('')), 'String'); -assert.equal(whichBoxedPrimitive(new String('foo')), 'String'); - -assert.equal(whichBoxedPrimitive(Symbol()), null); -assert.equal(whichBoxedPrimitive(Object(Symbol()), 'Symbol'); - -assert.equal(whichBoxedPrimitive(42n), null); -assert.equal(whichBoxedPrimitive(Object(42n), 'BigInt'); - -// non-boxed-primitive objects return `undefined` -assert.equal(whichBoxedPrimitive([]), undefined); -assert.equal(whichBoxedPrimitive({}), undefined); -assert.equal(whichBoxedPrimitive(/a/g), undefined); -assert.equal(whichBoxedPrimitive(new RegExp('a', 'g')), undefined); -assert.equal(whichBoxedPrimitive(new Date()), undefined); -assert.equal(whichBoxedPrimitive(function () {}), undefined); -assert.equal(whichBoxedPrimitive(function* () {}), undefined); -assert.equal(whichBoxedPrimitive(x => x * x), undefined); -assert.equal(whichBoxedPrimitive([]), undefined); - -``` - -## Tests -Simply clone the repo, `npm install`, and run `npm test` - -[1]: https://npmjs.org/package/which-boxed-primitive -[2]: https://versionbadg.es/inspect-js/which-boxed-primitive.svg -[5]: https://david-dm.org/inspect-js/which-boxed-primitive.svg -[6]: https://david-dm.org/inspect-js/which-boxed-primitive -[7]: https://david-dm.org/inspect-js/which-boxed-primitive/dev-status.svg -[8]: https://david-dm.org/inspect-js/which-boxed-primitive#info=devDependencies -[11]: https://nodei.co/npm/which-boxed-primitive.png?downloads=true&stars=true -[license-image]: https://img.shields.io/npm/l/which-boxed-primitive.svg -[license-url]: LICENSE -[downloads-image]: https://img.shields.io/npm/dm/which-boxed-primitive.svg -[downloads-url]: https://npm-stat.com/charts.html?package=which-boxed-primitive diff --git a/node_modules/which-boxed-primitive/index.js b/node_modules/which-boxed-primitive/index.js deleted file mode 100644 index f8ea5641b..000000000 --- a/node_modules/which-boxed-primitive/index.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -var isString = require('is-string'); -var isNumber = require('is-number-object'); -var isBoolean = require('is-boolean-object'); -var isSymbol = require('is-symbol'); -var isBigInt = require('is-bigint'); - -// eslint-disable-next-line consistent-return -module.exports = function whichBoxedPrimitive(value) { - // eslint-disable-next-line eqeqeq - if (value == null || (typeof value !== 'object' && typeof value !== 'function')) { - return null; - } - if (isString(value)) { - return 'String'; - } - if (isNumber(value)) { - return 'Number'; - } - if (isBoolean(value)) { - return 'Boolean'; - } - if (isSymbol(value)) { - return 'Symbol'; - } - if (isBigInt(value)) { - return 'BigInt'; - } -}; diff --git a/node_modules/which-boxed-primitive/package.json b/node_modules/which-boxed-primitive/package.json deleted file mode 100644 index 0ef53eb59..000000000 --- a/node_modules/which-boxed-primitive/package.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "name": "which-boxed-primitive", - "version": "1.0.2", - "description": "Which kind of boxed JS primitive is this?", - "main": "index.js", - "scripts": { - "preversion": "auto-changelog", - "prepublish": "not-in-publish || safe-publish-latest", - "lint": "eslint --ext=js,mjs .", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "aud --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/inspect-js/which-boxed-primitive.git" - }, - "keywords": [ - "boxed", - "primitive", - "object", - "ecmascript", - "javascript", - "which" - ], - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/inspect-js/which-boxed-primitive/issues" - }, - "homepage": "https://github.com/inspect-js/which-boxed-primitive#readme", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "devDependencies": { - "@ljharb/eslint-config": "^17.3.0", - "aud": "^1.1.3", - "auto-changelog": "^2.2.1", - "eslint": "^7.15.0", - "has-symbols": "^1.0.1", - "in-publish": "^2.0.1", - "nyc": "^10.3.2", - "object-inspect": "^1.9.0", - "safe-publish-latest": "^1.1.4", - "tape": "^5.0.1" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } -} diff --git a/node_modules/which-boxed-primitive/test/index.js b/node_modules/which-boxed-primitive/test/index.js deleted file mode 100644 index f9ea998c1..000000000 --- a/node_modules/which-boxed-primitive/test/index.js +++ /dev/null @@ -1,66 +0,0 @@ -'use strict'; - -var test = require('tape'); -var inspect = require('object-inspect'); -var whichBoxedPrimitive = require('..'); - -var debug = function (v, m) { return inspect(v) + ' ' + m; }; - -var forEach = function (arr, func) { - var i; - for (i = 0; i < arr.length; ++i) { - func(arr[i], i, arr); - } -}; - -var hasSymbols = require('has-symbols')(); -var hasBigInts = typeof BigInt === 'function'; - -var primitives = [ - true, - false, - 42, - NaN, - Infinity, - '', - 'foo' -].concat( - hasSymbols ? [Symbol(), Symbol.iterator] : [], - hasBigInts ? BigInt(42) : [] -); - -var objects = [ - /a/g, - new Date(), - function () {}, - [], - {} -]; - -test('isBoxedPrimitive', function (t) { - t.test('unboxed primitives', function (st) { - forEach([null, undefined].concat(primitives), function (primitive) { - st.equal(null, whichBoxedPrimitive(primitive), debug(primitive, 'is a primitive, but not a boxed primitive')); - }); - st.end(); - }); - - t.test('boxed primitives', function (st) { - forEach(primitives, function (primitive) { - var boxed = Object(primitive); - var expected = boxed.constructor.name; - st.equal(typeof expected, 'string', 'expected is string'); - st.equal(whichBoxedPrimitive(boxed), expected, debug(boxed, 'is a boxed primitive: ' + expected)); - }); - st.end(); - }); - - t.test('non-primitive objects', function (st) { - forEach(objects, function (object) { - st.equal(undefined, whichBoxedPrimitive(object), debug(object, 'is not a primitive, boxed or otherwise')); - }); - st.end(); - }); - - t.end(); -}); diff --git a/node_modules/which-typed-array/.eslintignore b/node_modules/which-typed-array/.eslintignore deleted file mode 100644 index 404abb221..000000000 --- a/node_modules/which-typed-array/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/node_modules/which-typed-array/CHANGELOG.md b/node_modules/which-typed-array/CHANGELOG.md index 2c4f96905..c1b2cb5ff 100644 --- a/node_modules/which-typed-array/CHANGELOG.md +++ b/node_modules/which-typed-array/CHANGELOG.md @@ -5,7 +5,59 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +## [v1.1.9](https://github.com/inspect-js/which-typed-array/compare/v1.1.8...v1.1.9) - 2022-11-02 + +### Commits + +- [Dev Deps] update `aud`, `is-callable`, `tape` [`9a20b3c`](https://github.com/inspect-js/which-typed-array/commit/9a20b3cb8f5d087789a8160395517bffe27b4339) +- [Refactor] use `gopd` instead of `es-abstract` helper [`00157af`](https://github.com/inspect-js/which-typed-array/commit/00157af909842b8b5affa5485d3574ec92d94065) +- [Deps] update `is-typed-array` [`6714240`](https://github.com/inspect-js/which-typed-array/commit/6714240e748cbbb634cb1e405ad762bc52acde66) +- [meta] add `sideEffects` flag [`89b96cc`](https://github.com/inspect-js/which-typed-array/commit/89b96cc3decc78d9621598e94fa1c2bb87eabf2e) + +## [v1.1.8](https://github.com/inspect-js/which-typed-array/compare/v1.1.7...v1.1.8) - 2022-05-14 + +### Commits + +- [actions] reuse common workflows [`95ea6c0`](https://github.com/inspect-js/which-typed-array/commit/95ea6c02dc5ec4ed0ee1b9c4692bb060108c8637) +- [meta] use `npmignore` to autogenerate an npmignore file [`d08436a`](https://github.com/inspect-js/which-typed-array/commit/d08436a19cdd76219732f5040a01cdb92ef2820e) +- [readme] add github actions/codecov badges [`35ae3af`](https://github.com/inspect-js/which-typed-array/commit/35ae3af6a0bb328c9d9b9bbb53e47122f269d81a) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`86e6e3a`](https://github.com/inspect-js/which-typed-array/commit/86e6e3af60b2436f0ff34968d9d6240a23f40528) +- [actions] update codecov uploader [`0aa6e30`](https://github.com/inspect-js/which-typed-array/commit/0aa6e3026ab4198c4364737ed4f0315a2ecc432a) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`a881a78`](https://github.com/inspect-js/which-typed-array/commit/a881a785f094e823e1cefe2ae9e4ebe31a8e996e) +- [Refactor] use `for-each` instead of `foreach` [`9dafa03`](https://github.com/inspect-js/which-typed-array/commit/9dafa0377fc5c690059a9d454f1dd4d365c5c902) +- [Deps] update `es-abstract`, `is-typed-array` [`0684022`](https://github.com/inspect-js/which-typed-array/commit/068402297608f321a4ec99ebce741b3eb38fcfdd) +- [Deps] update `es-abstract`, `is-typed-array` [`633a529`](https://github.com/inspect-js/which-typed-array/commit/633a529081b5c48d9675abb8aea425e6e33d528e) + +## [v1.1.7](https://github.com/inspect-js/which-typed-array/compare/v1.1.6...v1.1.7) - 2021-08-30 + +### Commits + +- [Refactor] use `globalThis` if available [`2a16d1f`](https://github.com/inspect-js/which-typed-array/commit/2a16d1fd520871ce6b23c60f0bd2113cf33b2533) +- [meta] changelog cleanup [`ba99f56`](https://github.com/inspect-js/which-typed-array/commit/ba99f56b45e6acde7aef4a1f34bb00e44088ccee) +- [Dev Deps] update `@ljharb/eslint-config` [`19a6e04`](https://github.com/inspect-js/which-typed-array/commit/19a6e04ce0094fb3fd6d0d2cbc58d320556ddf50) +- [Deps] update `available-typed-arrays` [`50dbc58`](https://github.com/inspect-js/which-typed-array/commit/50dbc5810a24c468b49409e1f0a79d03501e3dd6) +- [Deps] update `is-typed-array` [`c1b83ea`](https://github.com/inspect-js/which-typed-array/commit/c1b83eae65f042e46b6ae941ac4e814b7965a0f7) + +## [v1.1.6](https://github.com/inspect-js/which-typed-array/compare/v1.1.5...v1.1.6) - 2021-08-06 + +### Fixed + +- [Fix] if Symbol.toStringTag exists but is not present, use Object.prototype.toString [`#51`](https://github.com/inspect-js/which-typed-array/issues/51) [`#49`](https://github.com/inspect-js/which-typed-array/issues/49) + +### Commits + +- [Dev Deps] update `is-callable`, `tape` [`63eb1e3`](https://github.com/inspect-js/which-typed-array/commit/63eb1e3faede3f328bbbb4a5fcffc2e4769cf4ec) +- [Deps] update `is-typed-array` [`c5056f0`](https://github.com/inspect-js/which-typed-array/commit/c5056f0007d4c9434f1fa69eff183109468b4769) + +## [v1.1.5](https://github.com/inspect-js/which-typed-array/compare/v1.1.4...v1.1.5) - 2021-08-05 + +### Commits + +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`63fa8dd`](https://github.com/inspect-js/which-typed-array/commit/63fa8dd1dc9c0f0dbbaa16d1de0eb89797324c5d) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `is-callable`, `tape` [`1107c74`](https://github.com/inspect-js/which-typed-array/commit/1107c74c52ed6eb4a719faec88e16c4343976d73) +- [Deps] update `available-typed-arrays`, `call-bind`, `es-abstract`, `is-typed-array` [`f953454`](https://github.com/inspect-js/which-typed-array/commit/f953454b2c6f589f09573ddc961431f970c2e1b6) +- [Fix] use `has-tostringtag` to behave correctly in the presence of symbol shams [`8aee720`](https://github.com/inspect-js/which-typed-array/commit/8aee7207abcd72c799ac324b214fbb6ca7ae4a28) +- [meta] use `prepublishOnly` script for npm 7+ [`6c5167b`](https://github.com/inspect-js/which-typed-array/commit/6c5167b4cd06cb62a5487a2e797d8e41cc2970b1) ## [v1.1.4](https://github.com/inspect-js/which-typed-array/compare/v1.1.3...v1.1.4) - 2020-12-05 diff --git a/node_modules/which-typed-array/README.md b/node_modules/which-typed-array/README.md index cda64c007..1b922cd85 100644 --- a/node_modules/which-typed-array/README.md +++ b/node_modules/which-typed-array/README.md @@ -1,12 +1,13 @@ -# which-typed-array [![Version Badge][2]][1] +# which-typed-array [![Version Badge][npm-version-svg]][package-url] -[![Build Status][3]][4] -[![dependency status][5]][6] -[![dev dependency status][7]][8] +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] -[![npm badge][11]][1] +[![npm badge][npm-badge-png]][package-url] Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag. @@ -52,16 +53,18 @@ assert.equal('BigUint64Array', whichTypedArray(new BigUint64Array())); ## Tests Simply clone the repo, `npm install`, and run `npm test` -[1]: https://npmjs.org/package/which-typed-array -[2]: http://versionbadg.es/inspect-js/which-typed-array.svg -[3]: https://travis-ci.org/inspect-js/which-typed-array.svg -[4]: https://travis-ci.org/inspect-js/which-typed-array -[5]: https://david-dm.org/inspect-js/which-typed-array.svg -[6]: https://david-dm.org/inspect-js/which-typed-array -[7]: https://david-dm.org/inspect-js/which-typed-array/dev-status.svg -[8]: https://david-dm.org/inspect-js/which-typed-array#info=devDependencies -[11]: https://nodei.co/npm/which-typed-array.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/which-typed-array.svg +[package-url]: https://npmjs.org/package/which-typed-array +[npm-version-svg]: https://versionbadg.es/inspect-js/which-typed-array.svg +[deps-svg]: https://david-dm.org/inspect-js/which-typed-array.svg +[deps-url]: https://david-dm.org/inspect-js/which-typed-array +[dev-deps-svg]: https://david-dm.org/inspect-js/which-typed-array/dev-status.svg +[dev-deps-url]: https://david-dm.org/inspect-js/which-typed-array#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/which-typed-array.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/which-typed-array.svg [license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/which-typed-array.svg -[downloads-url]: http://npm-stat.com/charts.html?package=which-typed-array +[downloads-image]: https://img.shields.io/npm/dm/which-typed-array.svg +[downloads-url]: https://npm-stat.com/charts.html?package=which-typed-array +[codecov-image]: https://codecov.io/gh/inspect-js/which-typed-array/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/which-typed-array/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/which-typed-array +[actions-url]: https://github.com/inspect-js/which-typed-array/actions diff --git a/node_modules/which-typed-array/index.js b/node_modules/which-typed-array/index.js index a49a04d52..42080bee7 100644 --- a/node_modules/which-typed-array/index.js +++ b/node_modules/which-typed-array/index.js @@ -1,33 +1,32 @@ 'use strict'; -var forEach = require('foreach'); +var forEach = require('for-each'); var availableTypedArrays = require('available-typed-arrays'); var callBound = require('call-bind/callBound'); +var gOPD = require('gopd'); var $toString = callBound('Object.prototype.toString'); -var hasSymbols = require('has-symbols')(); -var hasToStringTag = hasSymbols && typeof Symbol.toStringTag === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); +var g = typeof globalThis === 'undefined' ? global : globalThis; var typedArrays = availableTypedArrays(); var $slice = callBound('String.prototype.slice'); var toStrTags = {}; -var gOPD = require('es-abstract/helpers/getOwnPropertyDescriptor'); var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof'); if (hasToStringTag && gOPD && getPrototypeOf) { forEach(typedArrays, function (typedArray) { - if (typeof global[typedArray] === 'function') { - var arr = new global[typedArray](); - if (!(Symbol.toStringTag in arr)) { - throw new EvalError('this engine has support for Symbol.toStringTag, but ' + typedArray + ' does not have the property! Please report this.'); - } - var proto = getPrototypeOf(arr); - var descriptor = gOPD(proto, Symbol.toStringTag); - if (!descriptor) { - var superProto = getPrototypeOf(proto); - descriptor = gOPD(superProto, Symbol.toStringTag); + if (typeof g[typedArray] === 'function') { + var arr = new g[typedArray](); + if (Symbol.toStringTag in arr) { + var proto = getPrototypeOf(arr); + var descriptor = gOPD(proto, Symbol.toStringTag); + if (!descriptor) { + var superProto = getPrototypeOf(proto); + descriptor = gOPD(superProto, Symbol.toStringTag); + } + toStrTags[typedArray] = descriptor.get; } - toStrTags[typedArray] = descriptor.get; } }); } @@ -51,6 +50,6 @@ var isTypedArray = require('is-typed-array'); module.exports = function whichTypedArray(value) { if (!isTypedArray(value)) { return false; } - if (!hasToStringTag) { return $slice($toString(value), 8, -1); } + if (!hasToStringTag || !(Symbol.toStringTag in value)) { return $slice($toString(value), 8, -1); } return tryTypedArrays(value); }; diff --git a/node_modules/which-typed-array/package.json b/node_modules/which-typed-array/package.json index 56654ca8a..c717f99ff 100644 --- a/node_modules/which-typed-array/package.json +++ b/node_modules/which-typed-array/package.json @@ -1,6 +1,6 @@ { "name": "which-typed-array", - "version": "1.1.4", + "version": "1.1.9", "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com", @@ -19,14 +19,17 @@ "description": "Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.", "license": "MIT", "main": "index.js", + "sideEffects": false, "scripts": { - "prepublish": "safe-publish-latest", + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", "pretest": "npm run --silent lint", "test": "npm run tests-only && npm run test:harmony", "tests-only": "nyc tape test", "test:harmony": "nyc node --harmony --es-staging test", - "posttest": "npx aud --production", - "lint": "eslint .", + "posttest": "aud --production", + "lint": "eslint --ext=js,mjs .", "version": "auto-changelog && git add CHANGELOG.md", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" }, @@ -55,25 +58,26 @@ "@@toStringTag" ], "dependencies": { - "available-typed-arrays": "^1.0.2", - "call-bind": "^1.0.0", - "es-abstract": "^1.18.0-next.1", - "foreach": "^2.0.5", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.1", - "is-typed-array": "^1.1.3" + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" }, "devDependencies": { - "@ljharb/eslint-config": "^17.3.0", - "aud": "^1.1.3", - "auto-changelog": "^2.2.1", - "eslint": "^7.15.0", - "is-callable": "^1.2.2", + "@ljharb/eslint-config": "^21.0.0", + "aud": "^2.0.1", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "in-publish": "^2.0.1", + "is-callable": "^1.2.7", "make-arrow-function": "^1.2.0", "make-generator-function": "^2.0.0", + "npmignore": "^0.3.0", "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.0.1" + "safe-publish-latest": "^2.0.0", + "tape": "^5.6.1" }, "testling": { "files": "test/index.js", @@ -101,6 +105,12 @@ "template": "keepachangelog", "unreleased": false, "commitLimit": false, - "backfillLimit": false + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] } } diff --git a/node_modules/which-typed-array/test/index.js b/node_modules/which-typed-array/test/index.js index eafe67635..e6711b2c5 100644 --- a/node_modules/which-typed-array/test/index.js +++ b/node_modules/which-typed-array/test/index.js @@ -3,10 +3,10 @@ var test = require('tape'); var whichTypedArray = require('../'); var isCallable = require('is-callable'); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; +var hasToStringTag = require('has-tostringtag/shams')(); var generators = require('make-generator-function')(); var arrows = require('make-arrow-function').list(); -var forEach = require('foreach'); +var forEach = require('for-each'); var typedArrayNames = [ 'Int8Array', @@ -72,7 +72,7 @@ test('Arrow functions', { skip: arrows.length === 0 }, function (t) { t.end(); }); -test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) { +test('@@toStringTag', { skip: !hasToStringTag }, function (t) { forEach(typedArrayNames, function (typedArray) { if (typeof global[typedArray] === 'function') { var fakeTypedArray = []; From 49f78e0d42f59d4c4985b63eadd6615b1240387b Mon Sep 17 00:00:00 2001 From: Shashi Prakash Date: Mon, 24 Apr 2023 11:53:01 +0530 Subject: [PATCH 3/5] fixed the build failure --- lib/Utilities/PublishProfile.js | 2 +- lib/main.js | 4 ++-- src/Utilities/PublishProfile.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Utilities/PublishProfile.js b/lib/Utilities/PublishProfile.js index d88b94856..0106fe840 100644 --- a/lib/Utilities/PublishProfile.js +++ b/lib/Utilities/PublishProfile.js @@ -30,7 +30,7 @@ class PublishProfile { throw new Error("Publish profile does not contain kudu URL"); } this._creds.uri = `https://${this._creds.uri}`; - this._kuduService = new azure_app_kudu_service_1.Kudu(this._creds.uri, this._creds.username, this._creds.password); + this._kuduService = new azure_app_kudu_service_1.Kudu(this._creds.uri, { username: this._creds.username, password: this._creds.password }); } catch (error) { core.error("Failed to fetch credentials from Publish Profile. For more details on how to set publish profile credentials refer https://aka.ms/create-secrets-for-GitHub-workflows"); diff --git a/lib/main.js b/lib/main.js index 23842f551..d067e35d8 100644 --- a/lib/main.js +++ b/lib/main.js @@ -56,8 +56,8 @@ function main() { isDeploymentSuccess = false; if (error.statusCode == 403) { core.setFailed("The deployment to your web app failed with HTTP status code 403. \ - Your web app may have networking features enabled which are blocking access (such as Private Endpoints).\ - For more information, please follow https://aka.ms/forbidden-deployment-error"); + Your web app may have networking features enabled which are blocking access (such as Private Endpoints). \ + For more information about deploying to virtual network integrated web apps, please follow https://aka.ms/gha/deploying-to-network-secured-sites"); } else { core.setFailed("Deployment Failed, " + error); diff --git a/src/Utilities/PublishProfile.ts b/src/Utilities/PublishProfile.ts index fc8dc7f98..587d79b7c 100644 --- a/src/Utilities/PublishProfile.ts +++ b/src/Utilities/PublishProfile.ts @@ -31,7 +31,7 @@ export class PublishProfile { throw new Error("Publish profile does not contain kudu URL"); } this._creds.uri = `https://${this._creds.uri}`; - this._kuduService = new Kudu(this._creds.uri, this._creds.username, this._creds.password); + this._kuduService = new Kudu(this._creds.uri, {username: this._creds.username, password: this._creds.password}); } catch(error) { core.error("Failed to fetch credentials from Publish Profile. For more details on how to set publish profile credentials refer https://aka.ms/create-secrets-for-GitHub-workflows"); throw error; From e4accd173a23138caaf687d8b97e5f0990b7e3e6 Mon Sep 17 00:00:00 2001 From: Shashi Prakash Date: Mon, 24 Apr 2023 11:57:58 +0530 Subject: [PATCH 4/5] Updating modules --- lib/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index d067e35d8..23842f551 100644 --- a/lib/main.js +++ b/lib/main.js @@ -56,8 +56,8 @@ function main() { isDeploymentSuccess = false; if (error.statusCode == 403) { core.setFailed("The deployment to your web app failed with HTTP status code 403. \ - Your web app may have networking features enabled which are blocking access (such as Private Endpoints). \ - For more information about deploying to virtual network integrated web apps, please follow https://aka.ms/gha/deploying-to-network-secured-sites"); + Your web app may have networking features enabled which are blocking access (such as Private Endpoints).\ + For more information, please follow https://aka.ms/forbidden-deployment-error"); } else { core.setFailed("Deployment Failed, " + error); From 0600968907e66fefe74e5bd9765a67ac480e8bcb Mon Sep 17 00:00:00 2001 From: Shashi Prakash Date: Mon, 24 Apr 2023 12:11:22 +0530 Subject: [PATCH 5/5] Adding node modules forcefully --- node_modules/.bin/acorn.cmd | 17 + node_modules/.bin/acorn.ps1 | 28 ++ node_modules/.bin/atob.cmd | 17 + node_modules/.bin/atob.ps1 | 28 ++ node_modules/.bin/copy-cli.cmd | 17 + node_modules/.bin/copy-cli.ps1 | 28 ++ node_modules/.bin/copy.cmd | 17 + node_modules/.bin/copy.ps1 | 28 ++ node_modules/.bin/decompress-zip.cmd | 17 + node_modules/.bin/decompress-zip.ps1 | 28 ++ node_modules/.bin/escodegen.cmd | 17 + node_modules/.bin/escodegen.ps1 | 28 ++ node_modules/.bin/esgenerate.cmd | 17 + node_modules/.bin/esgenerate.ps1 | 28 ++ node_modules/.bin/esparse.cmd | 17 + node_modules/.bin/esparse.ps1 | 28 ++ node_modules/.bin/esvalidate.cmd | 17 + node_modules/.bin/esvalidate.ps1 | 28 ++ node_modules/.bin/import-local-fixture.cmd | 17 + node_modules/.bin/import-local-fixture.ps1 | 28 ++ node_modules/.bin/is-ci.cmd | 17 + node_modules/.bin/is-ci.ps1 | 28 ++ node_modules/.bin/is-docker.cmd | 17 + node_modules/.bin/is-docker.ps1 | 28 ++ node_modules/.bin/jest-runtime.cmd | 17 + node_modules/.bin/jest-runtime.ps1 | 28 ++ node_modules/.bin/jest.cmd | 17 + node_modules/.bin/jest.ps1 | 28 ++ node_modules/.bin/js-yaml.cmd | 17 + node_modules/.bin/js-yaml.ps1 | 28 ++ node_modules/.bin/jsesc.cmd | 17 + node_modules/.bin/jsesc.ps1 | 28 ++ node_modules/.bin/json5.cmd | 17 + node_modules/.bin/json5.ps1 | 28 ++ node_modules/.bin/mkdirp.cmd | 17 + node_modules/.bin/mkdirp.ps1 | 28 ++ node_modules/.bin/node-which.cmd | 17 + node_modules/.bin/node-which.ps1 | 28 ++ node_modules/.bin/nopt.cmd | 17 + node_modules/.bin/nopt.ps1 | 28 ++ node_modules/.bin/parser.cmd | 17 + node_modules/.bin/parser.ps1 | 28 ++ node_modules/.bin/rimraf.cmd | 17 + node_modules/.bin/rimraf.ps1 | 28 ++ node_modules/.bin/sane.cmd | 17 + node_modules/.bin/sane.ps1 | 28 ++ node_modules/.bin/semver.cmd | 17 + node_modules/.bin/semver.ps1 | 28 ++ node_modules/.bin/shjs.cmd | 17 + node_modules/.bin/shjs.ps1 | 28 ++ node_modules/.bin/ts-jest.cmd | 17 + node_modules/.bin/ts-jest.ps1 | 28 ++ node_modules/.bin/ts-node-script.cmd | 17 + node_modules/.bin/ts-node-script.ps1 | 28 ++ node_modules/.bin/ts-node-transpile-only.cmd | 17 + node_modules/.bin/ts-node-transpile-only.ps1 | 28 ++ node_modules/.bin/ts-node.cmd | 17 + node_modules/.bin/ts-node.ps1 | 28 ++ node_modules/.bin/ts-script.cmd | 17 + node_modules/.bin/ts-script.ps1 | 28 ++ node_modules/.bin/tsc.cmd | 17 + node_modules/.bin/tsc.ps1 | 28 ++ node_modules/.bin/tsserver.cmd | 17 + node_modules/.bin/tsserver.ps1 | 28 ++ node_modules/.bin/uuid.cmd | 17 + node_modules/.bin/uuid.ps1 | 28 ++ node_modules/.bin/watch.cmd | 17 + node_modules/.bin/watch.ps1 | 28 ++ .../@actions/core/node_modules/.bin/uuid.cmd | 17 + .../@actions/core/node_modules/.bin/uuid.ps1 | 28 ++ .../@babel/core/node_modules/.bin/semver.cmd | 17 + .../@babel/core/node_modules/.bin/semver.ps1 | 28 ++ .../acorn-globals/node_modules/.bin/acorn.cmd | 17 + .../acorn-globals/node_modules/.bin/acorn.ps1 | 28 ++ .../cross-spawn/node_modules/.bin/semver.cmd | 17 + .../cross-spawn/node_modules/.bin/semver.ps1 | 28 ++ .../cross-spawn/node_modules/.bin/which.cmd | 17 + .../cross-spawn/node_modules/.bin/which.ps1 | 28 ++ .../escodegen/node_modules/.bin/esparse.cmd | 17 + .../escodegen/node_modules/.bin/esparse.ps1 | 28 ++ .../node_modules/.bin/esvalidate.cmd | 17 + .../node_modules/.bin/esvalidate.ps1 | 28 ++ node_modules/for-each/.editorconfig | 20 + node_modules/for-each/.eslintrc | 16 + node_modules/for-each/.travis.yml | 45 +++ node_modules/for-each/LICENSE | 22 ++ node_modules/for-each/README.md | 43 ++ node_modules/for-each/index.js | 62 +++ node_modules/for-each/package.json | 65 +++ node_modules/for-each/test/.eslintrc | 8 + node_modules/for-each/test/test.js | 182 +++++++++ .../global-prefix/node_modules/.bin/which.cmd | 17 + .../global-prefix/node_modules/.bin/which.ps1 | 28 ++ node_modules/gopd/.eslintrc | 16 + node_modules/gopd/.github/FUNDING.yml | 12 + node_modules/gopd/CHANGELOG.md | 25 ++ node_modules/gopd/LICENSE | 21 + node_modules/gopd/README.md | 40 ++ node_modules/gopd/index.js | 16 + node_modules/gopd/package.json | 71 ++++ node_modules/gopd/test/index.js | 35 ++ node_modules/has-tostringtag/.eslintrc | 11 + .../has-tostringtag/.github/FUNDING.yml | 12 + node_modules/has-tostringtag/CHANGELOG.md | 20 + node_modules/has-tostringtag/LICENSE | 21 + node_modules/has-tostringtag/README.md | 46 +++ node_modules/has-tostringtag/index.js | 7 + node_modules/has-tostringtag/package.json | 84 ++++ node_modules/has-tostringtag/shams.js | 7 + node_modules/has-tostringtag/test/index.js | 21 + .../has-tostringtag/test/shams/core-js.js | 28 ++ .../test/shams/get-own-property-symbols.js | 28 ++ node_modules/has-tostringtag/test/tests.js | 14 + .../js-yaml/node_modules/.bin/esparse.cmd | 17 + .../js-yaml/node_modules/.bin/esparse.ps1 | 28 ++ .../js-yaml/node_modules/.bin/esvalidate.cmd | 17 + .../js-yaml/node_modules/.bin/esvalidate.ps1 | 28 ++ .../node-notifier/node_modules/.bin/which.cmd | 17 + .../node-notifier/node_modules/.bin/which.ps1 | 28 ++ .../node_modules/.bin/semver.cmd | 17 + .../node_modules/.bin/semver.ps1 | 28 ++ node_modules/object-inspect/CHANGELOG.md | 370 ++++++++++++++++++ .../object-inspect/package-support.json | 20 + node_modules/touch/node_modules/.bin/nopt.cmd | 17 + node_modules/touch/node_modules/.bin/nopt.ps1 | 28 ++ 125 files changed, 3503 insertions(+) create mode 100644 node_modules/.bin/acorn.cmd create mode 100644 node_modules/.bin/acorn.ps1 create mode 100644 node_modules/.bin/atob.cmd create mode 100644 node_modules/.bin/atob.ps1 create mode 100644 node_modules/.bin/copy-cli.cmd create mode 100644 node_modules/.bin/copy-cli.ps1 create mode 100644 node_modules/.bin/copy.cmd create mode 100644 node_modules/.bin/copy.ps1 create mode 100644 node_modules/.bin/decompress-zip.cmd create mode 100644 node_modules/.bin/decompress-zip.ps1 create mode 100644 node_modules/.bin/escodegen.cmd create mode 100644 node_modules/.bin/escodegen.ps1 create mode 100644 node_modules/.bin/esgenerate.cmd create mode 100644 node_modules/.bin/esgenerate.ps1 create mode 100644 node_modules/.bin/esparse.cmd create mode 100644 node_modules/.bin/esparse.ps1 create mode 100644 node_modules/.bin/esvalidate.cmd create mode 100644 node_modules/.bin/esvalidate.ps1 create mode 100644 node_modules/.bin/import-local-fixture.cmd create mode 100644 node_modules/.bin/import-local-fixture.ps1 create mode 100644 node_modules/.bin/is-ci.cmd create mode 100644 node_modules/.bin/is-ci.ps1 create mode 100644 node_modules/.bin/is-docker.cmd create mode 100644 node_modules/.bin/is-docker.ps1 create mode 100644 node_modules/.bin/jest-runtime.cmd create mode 100644 node_modules/.bin/jest-runtime.ps1 create mode 100644 node_modules/.bin/jest.cmd create mode 100644 node_modules/.bin/jest.ps1 create mode 100644 node_modules/.bin/js-yaml.cmd create mode 100644 node_modules/.bin/js-yaml.ps1 create mode 100644 node_modules/.bin/jsesc.cmd create mode 100644 node_modules/.bin/jsesc.ps1 create mode 100644 node_modules/.bin/json5.cmd create mode 100644 node_modules/.bin/json5.ps1 create mode 100644 node_modules/.bin/mkdirp.cmd create mode 100644 node_modules/.bin/mkdirp.ps1 create mode 100644 node_modules/.bin/node-which.cmd create mode 100644 node_modules/.bin/node-which.ps1 create mode 100644 node_modules/.bin/nopt.cmd create mode 100644 node_modules/.bin/nopt.ps1 create mode 100644 node_modules/.bin/parser.cmd create mode 100644 node_modules/.bin/parser.ps1 create mode 100644 node_modules/.bin/rimraf.cmd create mode 100644 node_modules/.bin/rimraf.ps1 create mode 100644 node_modules/.bin/sane.cmd create mode 100644 node_modules/.bin/sane.ps1 create mode 100644 node_modules/.bin/semver.cmd create mode 100644 node_modules/.bin/semver.ps1 create mode 100644 node_modules/.bin/shjs.cmd create mode 100644 node_modules/.bin/shjs.ps1 create mode 100644 node_modules/.bin/ts-jest.cmd create mode 100644 node_modules/.bin/ts-jest.ps1 create mode 100644 node_modules/.bin/ts-node-script.cmd create mode 100644 node_modules/.bin/ts-node-script.ps1 create mode 100644 node_modules/.bin/ts-node-transpile-only.cmd create mode 100644 node_modules/.bin/ts-node-transpile-only.ps1 create mode 100644 node_modules/.bin/ts-node.cmd create mode 100644 node_modules/.bin/ts-node.ps1 create mode 100644 node_modules/.bin/ts-script.cmd create mode 100644 node_modules/.bin/ts-script.ps1 create mode 100644 node_modules/.bin/tsc.cmd create mode 100644 node_modules/.bin/tsc.ps1 create mode 100644 node_modules/.bin/tsserver.cmd create mode 100644 node_modules/.bin/tsserver.ps1 create mode 100644 node_modules/.bin/uuid.cmd create mode 100644 node_modules/.bin/uuid.ps1 create mode 100644 node_modules/.bin/watch.cmd create mode 100644 node_modules/.bin/watch.ps1 create mode 100644 node_modules/@actions/core/node_modules/.bin/uuid.cmd create mode 100644 node_modules/@actions/core/node_modules/.bin/uuid.ps1 create mode 100644 node_modules/@babel/core/node_modules/.bin/semver.cmd create mode 100644 node_modules/@babel/core/node_modules/.bin/semver.ps1 create mode 100644 node_modules/acorn-globals/node_modules/.bin/acorn.cmd create mode 100644 node_modules/acorn-globals/node_modules/.bin/acorn.ps1 create mode 100644 node_modules/cross-spawn/node_modules/.bin/semver.cmd create mode 100644 node_modules/cross-spawn/node_modules/.bin/semver.ps1 create mode 100644 node_modules/cross-spawn/node_modules/.bin/which.cmd create mode 100644 node_modules/cross-spawn/node_modules/.bin/which.ps1 create mode 100644 node_modules/escodegen/node_modules/.bin/esparse.cmd create mode 100644 node_modules/escodegen/node_modules/.bin/esparse.ps1 create mode 100644 node_modules/escodegen/node_modules/.bin/esvalidate.cmd create mode 100644 node_modules/escodegen/node_modules/.bin/esvalidate.ps1 create mode 100644 node_modules/for-each/.editorconfig create mode 100644 node_modules/for-each/.eslintrc create mode 100644 node_modules/for-each/.travis.yml create mode 100644 node_modules/for-each/LICENSE create mode 100644 node_modules/for-each/README.md create mode 100644 node_modules/for-each/index.js create mode 100644 node_modules/for-each/package.json create mode 100644 node_modules/for-each/test/.eslintrc create mode 100644 node_modules/for-each/test/test.js create mode 100644 node_modules/global-prefix/node_modules/.bin/which.cmd create mode 100644 node_modules/global-prefix/node_modules/.bin/which.ps1 create mode 100644 node_modules/gopd/.eslintrc create mode 100644 node_modules/gopd/.github/FUNDING.yml create mode 100644 node_modules/gopd/CHANGELOG.md create mode 100644 node_modules/gopd/LICENSE create mode 100644 node_modules/gopd/README.md create mode 100644 node_modules/gopd/index.js create mode 100644 node_modules/gopd/package.json create mode 100644 node_modules/gopd/test/index.js create mode 100644 node_modules/has-tostringtag/.eslintrc create mode 100644 node_modules/has-tostringtag/.github/FUNDING.yml create mode 100644 node_modules/has-tostringtag/CHANGELOG.md create mode 100644 node_modules/has-tostringtag/LICENSE create mode 100644 node_modules/has-tostringtag/README.md create mode 100644 node_modules/has-tostringtag/index.js create mode 100644 node_modules/has-tostringtag/package.json create mode 100644 node_modules/has-tostringtag/shams.js create mode 100644 node_modules/has-tostringtag/test/index.js create mode 100644 node_modules/has-tostringtag/test/shams/core-js.js create mode 100644 node_modules/has-tostringtag/test/shams/get-own-property-symbols.js create mode 100644 node_modules/has-tostringtag/test/tests.js create mode 100644 node_modules/js-yaml/node_modules/.bin/esparse.cmd create mode 100644 node_modules/js-yaml/node_modules/.bin/esparse.ps1 create mode 100644 node_modules/js-yaml/node_modules/.bin/esvalidate.cmd create mode 100644 node_modules/js-yaml/node_modules/.bin/esvalidate.ps1 create mode 100644 node_modules/node-notifier/node_modules/.bin/which.cmd create mode 100644 node_modules/node-notifier/node_modules/.bin/which.ps1 create mode 100644 node_modules/normalize-package-data/node_modules/.bin/semver.cmd create mode 100644 node_modules/normalize-package-data/node_modules/.bin/semver.ps1 create mode 100644 node_modules/object-inspect/CHANGELOG.md create mode 100644 node_modules/object-inspect/package-support.json create mode 100644 node_modules/touch/node_modules/.bin/nopt.cmd create mode 100644 node_modules/touch/node_modules/.bin/nopt.ps1 diff --git a/node_modules/.bin/acorn.cmd b/node_modules/.bin/acorn.cmd new file mode 100644 index 000000000..a9324df95 --- /dev/null +++ b/node_modules/.bin/acorn.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\acorn\bin\acorn" %* diff --git a/node_modules/.bin/acorn.ps1 b/node_modules/.bin/acorn.ps1 new file mode 100644 index 000000000..6f6dcddf3 --- /dev/null +++ b/node_modules/.bin/acorn.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args + } else { + & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../acorn/bin/acorn" $args + } else { + & "node$exe" "$basedir/../acorn/bin/acorn" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/atob.cmd b/node_modules/.bin/atob.cmd new file mode 100644 index 000000000..850a60b95 --- /dev/null +++ b/node_modules/.bin/atob.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\atob\bin\atob.js" %* diff --git a/node_modules/.bin/atob.ps1 b/node_modules/.bin/atob.ps1 new file mode 100644 index 000000000..4a9f311bd --- /dev/null +++ b/node_modules/.bin/atob.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../atob/bin/atob.js" $args + } else { + & "$basedir/node$exe" "$basedir/../atob/bin/atob.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../atob/bin/atob.js" $args + } else { + & "node$exe" "$basedir/../atob/bin/atob.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/copy-cli.cmd b/node_modules/.bin/copy-cli.cmd new file mode 100644 index 000000000..ac5f13cee --- /dev/null +++ b/node_modules/.bin/copy-cli.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\copy\bin\cli.js" %* diff --git a/node_modules/.bin/copy-cli.ps1 b/node_modules/.bin/copy-cli.ps1 new file mode 100644 index 000000000..fef423e40 --- /dev/null +++ b/node_modules/.bin/copy-cli.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../copy/bin/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../copy/bin/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../copy/bin/cli.js" $args + } else { + & "node$exe" "$basedir/../copy/bin/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/copy.cmd b/node_modules/.bin/copy.cmd new file mode 100644 index 000000000..ac5f13cee --- /dev/null +++ b/node_modules/.bin/copy.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\copy\bin\cli.js" %* diff --git a/node_modules/.bin/copy.ps1 b/node_modules/.bin/copy.ps1 new file mode 100644 index 000000000..fef423e40 --- /dev/null +++ b/node_modules/.bin/copy.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../copy/bin/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../copy/bin/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../copy/bin/cli.js" $args + } else { + & "node$exe" "$basedir/../copy/bin/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/decompress-zip.cmd b/node_modules/.bin/decompress-zip.cmd new file mode 100644 index 000000000..a791e260b --- /dev/null +++ b/node_modules/.bin/decompress-zip.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\decompress-zip\bin\decompress-zip" %* diff --git a/node_modules/.bin/decompress-zip.ps1 b/node_modules/.bin/decompress-zip.ps1 new file mode 100644 index 000000000..d2937443f --- /dev/null +++ b/node_modules/.bin/decompress-zip.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../decompress-zip/bin/decompress-zip" $args + } else { + & "$basedir/node$exe" "$basedir/../decompress-zip/bin/decompress-zip" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../decompress-zip/bin/decompress-zip" $args + } else { + & "node$exe" "$basedir/../decompress-zip/bin/decompress-zip" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/escodegen.cmd b/node_modules/.bin/escodegen.cmd new file mode 100644 index 000000000..9ac38a744 --- /dev/null +++ b/node_modules/.bin/escodegen.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\escodegen\bin\escodegen.js" %* diff --git a/node_modules/.bin/escodegen.ps1 b/node_modules/.bin/escodegen.ps1 new file mode 100644 index 000000000..61d258e10 --- /dev/null +++ b/node_modules/.bin/escodegen.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../escodegen/bin/escodegen.js" $args + } else { + & "$basedir/node$exe" "$basedir/../escodegen/bin/escodegen.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../escodegen/bin/escodegen.js" $args + } else { + & "node$exe" "$basedir/../escodegen/bin/escodegen.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/esgenerate.cmd b/node_modules/.bin/esgenerate.cmd new file mode 100644 index 000000000..5c6426ddd --- /dev/null +++ b/node_modules/.bin/esgenerate.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\escodegen\bin\esgenerate.js" %* diff --git a/node_modules/.bin/esgenerate.ps1 b/node_modules/.bin/esgenerate.ps1 new file mode 100644 index 000000000..8835d6075 --- /dev/null +++ b/node_modules/.bin/esgenerate.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args + } else { + & "$basedir/node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args + } else { + & "node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/esparse.cmd b/node_modules/.bin/esparse.cmd new file mode 100644 index 000000000..2ca6d502e --- /dev/null +++ b/node_modules/.bin/esparse.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esprima\bin\esparse.js" %* diff --git a/node_modules/.bin/esparse.ps1 b/node_modules/.bin/esparse.ps1 new file mode 100644 index 000000000..f19ed7301 --- /dev/null +++ b/node_modules/.bin/esparse.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args + } else { + & "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../esprima/bin/esparse.js" $args + } else { + & "node$exe" "$basedir/../esprima/bin/esparse.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/esvalidate.cmd b/node_modules/.bin/esvalidate.cmd new file mode 100644 index 000000000..4c41643ef --- /dev/null +++ b/node_modules/.bin/esvalidate.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esprima\bin\esvalidate.js" %* diff --git a/node_modules/.bin/esvalidate.ps1 b/node_modules/.bin/esvalidate.ps1 new file mode 100644 index 000000000..23699d11e --- /dev/null +++ b/node_modules/.bin/esvalidate.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } else { + & "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } else { + & "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/import-local-fixture.cmd b/node_modules/.bin/import-local-fixture.cmd new file mode 100644 index 000000000..5a3f68598 --- /dev/null +++ b/node_modules/.bin/import-local-fixture.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\import-local\fixtures\cli.js" %* diff --git a/node_modules/.bin/import-local-fixture.ps1 b/node_modules/.bin/import-local-fixture.ps1 new file mode 100644 index 000000000..01ef78421 --- /dev/null +++ b/node_modules/.bin/import-local-fixture.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../import-local/fixtures/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../import-local/fixtures/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../import-local/fixtures/cli.js" $args + } else { + & "node$exe" "$basedir/../import-local/fixtures/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/is-ci.cmd b/node_modules/.bin/is-ci.cmd new file mode 100644 index 000000000..67e1e22ed --- /dev/null +++ b/node_modules/.bin/is-ci.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\is-ci\bin.js" %* diff --git a/node_modules/.bin/is-ci.ps1 b/node_modules/.bin/is-ci.ps1 new file mode 100644 index 000000000..773a44d22 --- /dev/null +++ b/node_modules/.bin/is-ci.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../is-ci/bin.js" $args + } else { + & "$basedir/node$exe" "$basedir/../is-ci/bin.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../is-ci/bin.js" $args + } else { + & "node$exe" "$basedir/../is-ci/bin.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/is-docker.cmd b/node_modules/.bin/is-docker.cmd new file mode 100644 index 000000000..79e76ca1e --- /dev/null +++ b/node_modules/.bin/is-docker.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\is-docker\cli.js" %* diff --git a/node_modules/.bin/is-docker.ps1 b/node_modules/.bin/is-docker.ps1 new file mode 100644 index 000000000..742762537 --- /dev/null +++ b/node_modules/.bin/is-docker.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../is-docker/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../is-docker/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../is-docker/cli.js" $args + } else { + & "node$exe" "$basedir/../is-docker/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/jest-runtime.cmd b/node_modules/.bin/jest-runtime.cmd new file mode 100644 index 000000000..624ef458c --- /dev/null +++ b/node_modules/.bin/jest-runtime.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jest-runtime\bin\jest-runtime.js" %* diff --git a/node_modules/.bin/jest-runtime.ps1 b/node_modules/.bin/jest-runtime.ps1 new file mode 100644 index 000000000..c3d7facdf --- /dev/null +++ b/node_modules/.bin/jest-runtime.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../jest-runtime/bin/jest-runtime.js" $args + } else { + & "$basedir/node$exe" "$basedir/../jest-runtime/bin/jest-runtime.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../jest-runtime/bin/jest-runtime.js" $args + } else { + & "node$exe" "$basedir/../jest-runtime/bin/jest-runtime.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/jest.cmd b/node_modules/.bin/jest.cmd new file mode 100644 index 000000000..67a602ac5 --- /dev/null +++ b/node_modules/.bin/jest.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jest\bin\jest.js" %* diff --git a/node_modules/.bin/jest.ps1 b/node_modules/.bin/jest.ps1 new file mode 100644 index 000000000..78a25637f --- /dev/null +++ b/node_modules/.bin/jest.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../jest/bin/jest.js" $args + } else { + & "$basedir/node$exe" "$basedir/../jest/bin/jest.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../jest/bin/jest.js" $args + } else { + & "node$exe" "$basedir/../jest/bin/jest.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/js-yaml.cmd b/node_modules/.bin/js-yaml.cmd new file mode 100644 index 000000000..453312b6d --- /dev/null +++ b/node_modules/.bin/js-yaml.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\js-yaml\bin\js-yaml.js" %* diff --git a/node_modules/.bin/js-yaml.ps1 b/node_modules/.bin/js-yaml.ps1 new file mode 100644 index 000000000..2acfc61c3 --- /dev/null +++ b/node_modules/.bin/js-yaml.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } else { + & "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } else { + & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/jsesc.cmd b/node_modules/.bin/jsesc.cmd new file mode 100644 index 000000000..eb41110f6 --- /dev/null +++ b/node_modules/.bin/jsesc.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jsesc\bin\jsesc" %* diff --git a/node_modules/.bin/jsesc.ps1 b/node_modules/.bin/jsesc.ps1 new file mode 100644 index 000000000..6007e022f --- /dev/null +++ b/node_modules/.bin/jsesc.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args + } else { + & "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../jsesc/bin/jsesc" $args + } else { + & "node$exe" "$basedir/../jsesc/bin/jsesc" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/json5.cmd b/node_modules/.bin/json5.cmd new file mode 100644 index 000000000..95c137fe0 --- /dev/null +++ b/node_modules/.bin/json5.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json5\lib\cli.js" %* diff --git a/node_modules/.bin/json5.ps1 b/node_modules/.bin/json5.ps1 new file mode 100644 index 000000000..8700ddbef --- /dev/null +++ b/node_modules/.bin/json5.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../json5/lib/cli.js" $args + } else { + & "node$exe" "$basedir/../json5/lib/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/mkdirp.cmd b/node_modules/.bin/mkdirp.cmd new file mode 100644 index 000000000..a865dd9f3 --- /dev/null +++ b/node_modules/.bin/mkdirp.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %* diff --git a/node_modules/.bin/mkdirp.ps1 b/node_modules/.bin/mkdirp.ps1 new file mode 100644 index 000000000..911e85466 --- /dev/null +++ b/node_modules/.bin/mkdirp.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args + } else { + & "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args + } else { + & "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/node-which.cmd b/node_modules/.bin/node-which.cmd new file mode 100644 index 000000000..8738aed88 --- /dev/null +++ b/node_modules/.bin/node-which.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\node-which" %* diff --git a/node_modules/.bin/node-which.ps1 b/node_modules/.bin/node-which.ps1 new file mode 100644 index 000000000..cfb09e844 --- /dev/null +++ b/node_modules/.bin/node-which.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args + } else { + & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../which/bin/node-which" $args + } else { + & "node$exe" "$basedir/../which/bin/node-which" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/nopt.cmd b/node_modules/.bin/nopt.cmd new file mode 100644 index 000000000..a7f38b3da --- /dev/null +++ b/node_modules/.bin/nopt.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nopt\bin\nopt.js" %* diff --git a/node_modules/.bin/nopt.ps1 b/node_modules/.bin/nopt.ps1 new file mode 100644 index 000000000..9d6ba56f6 --- /dev/null +++ b/node_modules/.bin/nopt.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../nopt/bin/nopt.js" $args + } else { + & "$basedir/node$exe" "$basedir/../nopt/bin/nopt.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../nopt/bin/nopt.js" $args + } else { + & "node$exe" "$basedir/../nopt/bin/nopt.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/parser.cmd b/node_modules/.bin/parser.cmd new file mode 100644 index 000000000..1ad5c81c2 --- /dev/null +++ b/node_modules/.bin/parser.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@babel\parser\bin\babel-parser.js" %* diff --git a/node_modules/.bin/parser.ps1 b/node_modules/.bin/parser.ps1 new file mode 100644 index 000000000..8926517b4 --- /dev/null +++ b/node_modules/.bin/parser.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args + } else { + & "node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/rimraf.cmd b/node_modules/.bin/rimraf.cmd new file mode 100644 index 000000000..13f45eca3 --- /dev/null +++ b/node_modules/.bin/rimraf.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rimraf\bin.js" %* diff --git a/node_modules/.bin/rimraf.ps1 b/node_modules/.bin/rimraf.ps1 new file mode 100644 index 000000000..17167914f --- /dev/null +++ b/node_modules/.bin/rimraf.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../rimraf/bin.js" $args + } else { + & "$basedir/node$exe" "$basedir/../rimraf/bin.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../rimraf/bin.js" $args + } else { + & "node$exe" "$basedir/../rimraf/bin.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/sane.cmd b/node_modules/.bin/sane.cmd new file mode 100644 index 000000000..fa952e557 --- /dev/null +++ b/node_modules/.bin/sane.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\sane\src\cli.js" %* diff --git a/node_modules/.bin/sane.ps1 b/node_modules/.bin/sane.ps1 new file mode 100644 index 000000000..ce27e1c24 --- /dev/null +++ b/node_modules/.bin/sane.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../sane/src/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../sane/src/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../sane/src/cli.js" $args + } else { + & "node$exe" "$basedir/../sane/src/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/semver.cmd b/node_modules/.bin/semver.cmd new file mode 100644 index 000000000..9913fa9d0 --- /dev/null +++ b/node_modules/.bin/semver.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %* diff --git a/node_modules/.bin/semver.ps1 b/node_modules/.bin/semver.ps1 new file mode 100644 index 000000000..314717ad4 --- /dev/null +++ b/node_modules/.bin/semver.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args + } else { + & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../semver/bin/semver.js" $args + } else { + & "node$exe" "$basedir/../semver/bin/semver.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/shjs.cmd b/node_modules/.bin/shjs.cmd new file mode 100644 index 000000000..fa4df35d1 --- /dev/null +++ b/node_modules/.bin/shjs.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\shelljs\bin\shjs" %* diff --git a/node_modules/.bin/shjs.ps1 b/node_modules/.bin/shjs.ps1 new file mode 100644 index 000000000..c24e10423 --- /dev/null +++ b/node_modules/.bin/shjs.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../shelljs/bin/shjs" $args + } else { + & "$basedir/node$exe" "$basedir/../shelljs/bin/shjs" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../shelljs/bin/shjs" $args + } else { + & "node$exe" "$basedir/../shelljs/bin/shjs" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/ts-jest.cmd b/node_modules/.bin/ts-jest.cmd new file mode 100644 index 000000000..220f1b56c --- /dev/null +++ b/node_modules/.bin/ts-jest.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-jest\cli.js" %* diff --git a/node_modules/.bin/ts-jest.ps1 b/node_modules/.bin/ts-jest.ps1 new file mode 100644 index 000000000..145b8f791 --- /dev/null +++ b/node_modules/.bin/ts-jest.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../ts-jest/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../ts-jest/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../ts-jest/cli.js" $args + } else { + & "node$exe" "$basedir/../ts-jest/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/ts-node-script.cmd b/node_modules/.bin/ts-node-script.cmd new file mode 100644 index 000000000..146251be7 --- /dev/null +++ b/node_modules/.bin/ts-node-script.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin-script.js" %* diff --git a/node_modules/.bin/ts-node-script.ps1 b/node_modules/.bin/ts-node-script.ps1 new file mode 100644 index 000000000..3061e8179 --- /dev/null +++ b/node_modules/.bin/ts-node-script.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-script.js" $args + } else { + & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-script.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../ts-node/dist/bin-script.js" $args + } else { + & "node$exe" "$basedir/../ts-node/dist/bin-script.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/ts-node-transpile-only.cmd b/node_modules/.bin/ts-node-transpile-only.cmd new file mode 100644 index 000000000..60b2af384 --- /dev/null +++ b/node_modules/.bin/ts-node-transpile-only.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin-transpile.js" %* diff --git a/node_modules/.bin/ts-node-transpile-only.ps1 b/node_modules/.bin/ts-node-transpile-only.ps1 new file mode 100644 index 000000000..9503db427 --- /dev/null +++ b/node_modules/.bin/ts-node-transpile-only.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-transpile.js" $args + } else { + & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-transpile.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../ts-node/dist/bin-transpile.js" $args + } else { + & "node$exe" "$basedir/../ts-node/dist/bin-transpile.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/ts-node.cmd b/node_modules/.bin/ts-node.cmd new file mode 100644 index 000000000..a2a9c924e --- /dev/null +++ b/node_modules/.bin/ts-node.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin.js" %* diff --git a/node_modules/.bin/ts-node.ps1 b/node_modules/.bin/ts-node.ps1 new file mode 100644 index 000000000..90517a4a1 --- /dev/null +++ b/node_modules/.bin/ts-node.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin.js" $args + } else { + & "$basedir/node$exe" "$basedir/../ts-node/dist/bin.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../ts-node/dist/bin.js" $args + } else { + & "node$exe" "$basedir/../ts-node/dist/bin.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/ts-script.cmd b/node_modules/.bin/ts-script.cmd new file mode 100644 index 000000000..e3b0e81fe --- /dev/null +++ b/node_modules/.bin/ts-script.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin-script-deprecated.js" %* diff --git a/node_modules/.bin/ts-script.ps1 b/node_modules/.bin/ts-script.ps1 new file mode 100644 index 000000000..1b348afb9 --- /dev/null +++ b/node_modules/.bin/ts-script.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-script-deprecated.js" $args + } else { + & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-script-deprecated.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../ts-node/dist/bin-script-deprecated.js" $args + } else { + & "node$exe" "$basedir/../ts-node/dist/bin-script-deprecated.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/tsc.cmd b/node_modules/.bin/tsc.cmd new file mode 100644 index 000000000..40bf12845 --- /dev/null +++ b/node_modules/.bin/tsc.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsc" %* diff --git a/node_modules/.bin/tsc.ps1 b/node_modules/.bin/tsc.ps1 new file mode 100644 index 000000000..112413b58 --- /dev/null +++ b/node_modules/.bin/tsc.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args + } else { + & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../typescript/bin/tsc" $args + } else { + & "node$exe" "$basedir/../typescript/bin/tsc" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/tsserver.cmd b/node_modules/.bin/tsserver.cmd new file mode 100644 index 000000000..57f851fd7 --- /dev/null +++ b/node_modules/.bin/tsserver.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsserver" %* diff --git a/node_modules/.bin/tsserver.ps1 b/node_modules/.bin/tsserver.ps1 new file mode 100644 index 000000000..249f417d2 --- /dev/null +++ b/node_modules/.bin/tsserver.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args + } else { + & "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../typescript/bin/tsserver" $args + } else { + & "node$exe" "$basedir/../typescript/bin/tsserver" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/uuid.cmd b/node_modules/.bin/uuid.cmd new file mode 100644 index 000000000..1156e2766 --- /dev/null +++ b/node_modules/.bin/uuid.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\uuid\bin\uuid" %* diff --git a/node_modules/.bin/uuid.ps1 b/node_modules/.bin/uuid.ps1 new file mode 100644 index 000000000..9e6c24b14 --- /dev/null +++ b/node_modules/.bin/uuid.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../uuid/bin/uuid" $args + } else { + & "$basedir/node$exe" "$basedir/../uuid/bin/uuid" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../uuid/bin/uuid" $args + } else { + & "node$exe" "$basedir/../uuid/bin/uuid" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/watch.cmd b/node_modules/.bin/watch.cmd new file mode 100644 index 000000000..dd62d70cb --- /dev/null +++ b/node_modules/.bin/watch.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@cnakazawa\watch\cli.js" %* diff --git a/node_modules/.bin/watch.ps1 b/node_modules/.bin/watch.ps1 new file mode 100644 index 000000000..1cc1b8364 --- /dev/null +++ b/node_modules/.bin/watch.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@cnakazawa/watch/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@cnakazawa/watch/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@cnakazawa/watch/cli.js" $args + } else { + & "node$exe" "$basedir/../@cnakazawa/watch/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/@actions/core/node_modules/.bin/uuid.cmd b/node_modules/@actions/core/node_modules/.bin/uuid.cmd new file mode 100644 index 000000000..0f2376eaf --- /dev/null +++ b/node_modules/@actions/core/node_modules/.bin/uuid.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\uuid\dist\bin\uuid" %* diff --git a/node_modules/@actions/core/node_modules/.bin/uuid.ps1 b/node_modules/@actions/core/node_modules/.bin/uuid.ps1 new file mode 100644 index 000000000..78046284b --- /dev/null +++ b/node_modules/@actions/core/node_modules/.bin/uuid.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args + } else { + & "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../uuid/dist/bin/uuid" $args + } else { + & "node$exe" "$basedir/../uuid/dist/bin/uuid" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/@babel/core/node_modules/.bin/semver.cmd b/node_modules/@babel/core/node_modules/.bin/semver.cmd new file mode 100644 index 000000000..22d9286cd --- /dev/null +++ b/node_modules/@babel/core/node_modules/.bin/semver.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver" %* diff --git a/node_modules/@babel/core/node_modules/.bin/semver.ps1 b/node_modules/@babel/core/node_modules/.bin/semver.ps1 new file mode 100644 index 000000000..98c1b093f --- /dev/null +++ b/node_modules/@babel/core/node_modules/.bin/semver.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args + } else { + & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../semver/bin/semver" $args + } else { + & "node$exe" "$basedir/../semver/bin/semver" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/acorn-globals/node_modules/.bin/acorn.cmd b/node_modules/acorn-globals/node_modules/.bin/acorn.cmd new file mode 100644 index 000000000..a9324df95 --- /dev/null +++ b/node_modules/acorn-globals/node_modules/.bin/acorn.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\acorn\bin\acorn" %* diff --git a/node_modules/acorn-globals/node_modules/.bin/acorn.ps1 b/node_modules/acorn-globals/node_modules/.bin/acorn.ps1 new file mode 100644 index 000000000..6f6dcddf3 --- /dev/null +++ b/node_modules/acorn-globals/node_modules/.bin/acorn.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args + } else { + & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../acorn/bin/acorn" $args + } else { + & "node$exe" "$basedir/../acorn/bin/acorn" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/cross-spawn/node_modules/.bin/semver.cmd b/node_modules/cross-spawn/node_modules/.bin/semver.cmd new file mode 100644 index 000000000..22d9286cd --- /dev/null +++ b/node_modules/cross-spawn/node_modules/.bin/semver.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver" %* diff --git a/node_modules/cross-spawn/node_modules/.bin/semver.ps1 b/node_modules/cross-spawn/node_modules/.bin/semver.ps1 new file mode 100644 index 000000000..98c1b093f --- /dev/null +++ b/node_modules/cross-spawn/node_modules/.bin/semver.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args + } else { + & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../semver/bin/semver" $args + } else { + & "node$exe" "$basedir/../semver/bin/semver" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/cross-spawn/node_modules/.bin/which.cmd b/node_modules/cross-spawn/node_modules/.bin/which.cmd new file mode 100644 index 000000000..ead37d628 --- /dev/null +++ b/node_modules/cross-spawn/node_modules/.bin/which.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\which" %* diff --git a/node_modules/cross-spawn/node_modules/.bin/which.ps1 b/node_modules/cross-spawn/node_modules/.bin/which.ps1 new file mode 100644 index 000000000..1437a3b6e --- /dev/null +++ b/node_modules/cross-spawn/node_modules/.bin/which.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../which/bin/which" $args + } else { + & "$basedir/node$exe" "$basedir/../which/bin/which" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../which/bin/which" $args + } else { + & "node$exe" "$basedir/../which/bin/which" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/escodegen/node_modules/.bin/esparse.cmd b/node_modules/escodegen/node_modules/.bin/esparse.cmd new file mode 100644 index 000000000..2ca6d502e --- /dev/null +++ b/node_modules/escodegen/node_modules/.bin/esparse.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esprima\bin\esparse.js" %* diff --git a/node_modules/escodegen/node_modules/.bin/esparse.ps1 b/node_modules/escodegen/node_modules/.bin/esparse.ps1 new file mode 100644 index 000000000..f19ed7301 --- /dev/null +++ b/node_modules/escodegen/node_modules/.bin/esparse.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args + } else { + & "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../esprima/bin/esparse.js" $args + } else { + & "node$exe" "$basedir/../esprima/bin/esparse.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/escodegen/node_modules/.bin/esvalidate.cmd b/node_modules/escodegen/node_modules/.bin/esvalidate.cmd new file mode 100644 index 000000000..4c41643ef --- /dev/null +++ b/node_modules/escodegen/node_modules/.bin/esvalidate.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esprima\bin\esvalidate.js" %* diff --git a/node_modules/escodegen/node_modules/.bin/esvalidate.ps1 b/node_modules/escodegen/node_modules/.bin/esvalidate.ps1 new file mode 100644 index 000000000..23699d11e --- /dev/null +++ b/node_modules/escodegen/node_modules/.bin/esvalidate.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } else { + & "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } else { + & "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/for-each/.editorconfig b/node_modules/for-each/.editorconfig new file mode 100644 index 000000000..ac29adef0 --- /dev/null +++ b/node_modules/for-each/.editorconfig @@ -0,0 +1,20 @@ +root = true + +[*] +indent_style = tab +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 120 + +[CHANGELOG.md] +indent_style = space +indent_size = 2 + +[*.json] +max_line_length = off + +[Makefile] +max_line_length = off diff --git a/node_modules/for-each/.eslintrc b/node_modules/for-each/.eslintrc new file mode 100644 index 000000000..2b8ea2a37 --- /dev/null +++ b/node_modules/for-each/.eslintrc @@ -0,0 +1,16 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "eqeqeq": [2, "allow-null"], + "func-name-matching": 0, + "indent": [2, 4], + "max-nested-callbacks": [2, 3], + "max-params": [2, 3], + "max-statements": [2, 14], + "no-invalid-this": [1], + "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"], + } +} diff --git a/node_modules/for-each/.travis.yml b/node_modules/for-each/.travis.yml new file mode 100644 index 000000000..e9e54bda6 --- /dev/null +++ b/node_modules/for-each/.travis.yml @@ -0,0 +1,45 @@ +language: node_js +os: + - linux +node_js: + - "8" + - "7" + - "6" + - "5" + - "4" + - "iojs" + - "0.12" + - "0.10" + - "0.8" +before_install: + - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi' + - 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4}" = "iojs" ]; then npm install -g npm@4.5 ; else npm install -g npm; fi; fi' +install: + - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;' +script: + - 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi' + - 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi' + - 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi' + - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi' +sudo: false +env: + - TEST=true +matrix: + fast_finish: true + include: + - node_js: "node" + env: PRETEST=true + - node_js: "node" + env: POSTTEST=true + - node_js: "0.11" + env: TEST=true ALLOW_FAILURE=true + - node_js: "0.9" + env: TEST=true ALLOW_FAILURE=true + - node_js: "0.6" + env: TEST=true ALLOW_FAILURE=true + - node_js: "0.4" + env: TEST=true ALLOW_FAILURE=true + allow_failures: + - os: osx + - env: TEST=true ALLOW_FAILURE=true + - env: COVERAGE=true diff --git a/node_modules/for-each/LICENSE b/node_modules/for-each/LICENSE new file mode 100644 index 000000000..53f19aa77 --- /dev/null +++ b/node_modules/for-each/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2012 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/for-each/README.md b/node_modules/for-each/README.md new file mode 100644 index 000000000..16dfbb6ea --- /dev/null +++ b/node_modules/for-each/README.md @@ -0,0 +1,43 @@ +# for-each [![build status][1]][2] + +[![browser support][3]][4] + +A better forEach. + +## Example + +Like `Array.prototype.forEach` but works on objects. + +```js +var forEach = require("for-each") + +forEach({ key: "value" }, function (value, key, object) { + /* code */ +}) +``` + +As a bonus, it's also a perfectly function shim/polyfill for arrays too! + +```js +var forEach = require("for-each") + +forEach([1, 2, 3], function (value, index, array) { + /* code */ +}) +``` + +## Installation + +`npm install for-each` + +## Contributors + + - Raynos + +## MIT Licenced + + [1]: https://secure.travis-ci.org/Raynos/for-each.png + [2]: http://travis-ci.org/Raynos/for-each + [3]: https://ci.testling.com/Raynos/for-each.png + [4]: https://ci.testling.com/Raynos/for-each + diff --git a/node_modules/for-each/index.js b/node_modules/for-each/index.js new file mode 100644 index 000000000..609ef9fcc --- /dev/null +++ b/node_modules/for-each/index.js @@ -0,0 +1,62 @@ +'use strict'; + +var isCallable = require('is-callable'); + +var toStr = Object.prototype.toString; +var hasOwnProperty = Object.prototype.hasOwnProperty; + +var forEachArray = function forEachArray(array, iterator, receiver) { + for (var i = 0, len = array.length; i < len; i++) { + if (hasOwnProperty.call(array, i)) { + if (receiver == null) { + iterator(array[i], i, array); + } else { + iterator.call(receiver, array[i], i, array); + } + } + } +}; + +var forEachString = function forEachString(string, iterator, receiver) { + for (var i = 0, len = string.length; i < len; i++) { + // no such thing as a sparse string. + if (receiver == null) { + iterator(string.charAt(i), i, string); + } else { + iterator.call(receiver, string.charAt(i), i, string); + } + } +}; + +var forEachObject = function forEachObject(object, iterator, receiver) { + for (var k in object) { + if (hasOwnProperty.call(object, k)) { + if (receiver == null) { + iterator(object[k], k, object); + } else { + iterator.call(receiver, object[k], k, object); + } + } + } +}; + +var forEach = function forEach(list, iterator, thisArg) { + if (!isCallable(iterator)) { + throw new TypeError('iterator must be a function'); + } + + var receiver; + if (arguments.length >= 3) { + receiver = thisArg; + } + + if (toStr.call(list) === '[object Array]') { + forEachArray(list, iterator, receiver); + } else if (typeof list === 'string') { + forEachString(list, iterator, receiver); + } else { + forEachObject(list, iterator, receiver); + } +}; + +module.exports = forEach; diff --git a/node_modules/for-each/package.json b/node_modules/for-each/package.json new file mode 100644 index 000000000..f21d15e4c --- /dev/null +++ b/node_modules/for-each/package.json @@ -0,0 +1,65 @@ +{ + "name": "for-each", + "version": "0.3.3", + "description": "A better forEach", + "keywords": [], + "author": "Raynos ", + "repository": "git://github.com/Raynos/for-each.git", + "main": "index", + "homepage": "https://github.com/Raynos/for-each", + "contributors": [ + { + "name": "Jake Verbaten" + }, + { + "name": "Jordan Harband", + "url": "https://github.com/ljharb" + } + ], + "bugs": { + "url": "https://github.com/Raynos/for-each/issues", + "email": "raynos2@gmail.com" + }, + "dependencies": { + "is-callable": "^1.1.3" + }, + "devDependencies": { + "@ljharb/eslint-config": "^12.2.1", + "eslint": "^4.19.1", + "nsp": "^3.2.1", + "tape": "^4.9.0" + }, + "license": "MIT", + "licenses": [ + { + "type": "MIT", + "url": "http://github.com/Raynos/for-each/raw/master/LICENSE" + } + ], + "scripts": { + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "node test/test", + "posttest": "npm run security", + "lint": "eslint *.js test/*.js", + "security": "nsp check" + }, + "testling": { + "files": "test/test.js", + "browsers": [ + "iexplore/6.0..latest", + "firefox/3.0..6.0", + "firefox/15.0..latest", + "firefox/nightly", + "chrome/4.0..10.0", + "chrome/20.0..latest", + "chrome/canary", + "opera/10.0..latest", + "opera/next", + "safari/4.0..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2" + ] + } +} diff --git a/node_modules/for-each/test/.eslintrc b/node_modules/for-each/test/.eslintrc new file mode 100644 index 000000000..a6c04b917 --- /dev/null +++ b/node_modules/for-each/test/.eslintrc @@ -0,0 +1,8 @@ +{ + "rules": { + "array-bracket-newline": 0, + "array-element-newline": 0, + "max-statements-per-line": 0, + "no-magic-numbers": 0, + } +} diff --git a/node_modules/for-each/test/test.js b/node_modules/for-each/test/test.js new file mode 100644 index 000000000..8c9378728 --- /dev/null +++ b/node_modules/for-each/test/test.js @@ -0,0 +1,182 @@ +'use strict'; + +/* globals window */ + +var test = require('tape'); +var forEach = require('../'); + +test('forEach calls each iterator', function (t) { + var count = 0; + t.plan(4); + forEach({ a: 1, b: 2 }, function (value, key) { + if (count === 0) { + t.equal(value, 1); + t.equal(key, 'a'); + } else { + t.equal(value, 2); + t.equal(key, 'b'); + } + count += 1; + }); +}); + +test('forEach calls iterator with correct this value', function (t) { + var thisValue = {}; + + t.plan(1); + + forEach([0], function () { + t.equal(this, thisValue); + }, thisValue); +}); + +test('second argument: iterator', function (t) { + var arr = []; + t['throws'](function () { forEach(arr); }, TypeError, 'undefined is not a function'); + t['throws'](function () { forEach(arr, null); }, TypeError, 'null is not a function'); + t['throws'](function () { forEach(arr, ''); }, TypeError, 'string is not a function'); + t['throws'](function () { forEach(arr, /a/); }, TypeError, 'regex is not a function'); + t['throws'](function () { forEach(arr, true); }, TypeError, 'true is not a function'); + t['throws'](function () { forEach(arr, false); }, TypeError, 'false is not a function'); + t['throws'](function () { forEach(arr, NaN); }, TypeError, 'NaN is not a function'); + t['throws'](function () { forEach(arr, 42); }, TypeError, '42 is not a function'); + t.doesNotThrow(function () { forEach(arr, function () {}); }, 'function is a function'); + t.doesNotThrow(function () { forEach(arr, setTimeout); }, 'setTimeout is a function'); + if (typeof window !== 'undefined') { + t.doesNotThrow(function () { forEach(arr, window.alert); }, 'alert is a function'); + } + t.end(); +}); + +test('array', function (t) { + var arr = [1, 2, 3]; + + t.test('iterates over every item', function (st) { + var index = 0; + forEach(arr, function () { index += 1; }); + st.equal(index, arr.length, 'iterates ' + arr.length + ' times'); + st.end(); + }); + + t.test('first iterator argument', function (st) { + var index = 0; + st.plan(arr.length); + forEach(arr, function (item) { + st.equal(arr[index], item, 'item ' + index + ' is passed as first argument'); + index += 1; + }); + st.end(); + }); + + t.test('second iterator argument', function (st) { + var counter = 0; + st.plan(arr.length); + forEach(arr, function (item, index) { + st.equal(counter, index, 'index ' + index + ' is passed as second argument'); + counter += 1; + }); + st.end(); + }); + + t.test('third iterator argument', function (st) { + st.plan(arr.length); + forEach(arr, function (item, index, array) { + st.deepEqual(arr, array, 'array is passed as third argument'); + }); + st.end(); + }); + + t.test('context argument', function (st) { + var context = {}; + forEach([], function () { + st.equal(this, context, '"this" is the passed context'); + }, context); + st.end(); + }); + + t.end(); +}); + +test('object', function (t) { + var obj = { + a: 1, + b: 2, + c: 3 + }; + var keys = ['a', 'b', 'c']; + + var F = function F() { + this.a = 1; + this.b = 2; + }; + F.prototype.c = 3; + var fKeys = ['a', 'b']; + + t.test('iterates over every object literal key', function (st) { + var counter = 0; + forEach(obj, function () { counter += 1; }); + st.equal(counter, keys.length, 'iterated ' + counter + ' times'); + st.end(); + }); + + t.test('iterates only over own keys', function (st) { + var counter = 0; + forEach(new F(), function () { counter += 1; }); + st.equal(counter, fKeys.length, 'iterated ' + fKeys.length + ' times'); + st.end(); + }); + + t.test('first iterator argument', function (st) { + var index = 0; + st.plan(keys.length); + forEach(obj, function (item) { + st.equal(obj[keys[index]], item, 'item at key ' + keys[index] + ' is passed as first argument'); + index += 1; + }); + st.end(); + }); + + t.test('second iterator argument', function (st) { + var counter = 0; + st.plan(keys.length); + forEach(obj, function (item, key) { + st.equal(keys[counter], key, 'key ' + key + ' is passed as second argument'); + counter += 1; + }); + st.end(); + }); + + t.test('third iterator argument', function (st) { + st.plan(keys.length); + forEach(obj, function (item, key, object) { + st.deepEqual(obj, object, 'object is passed as third argument'); + }); + st.end(); + }); + + t.test('context argument', function (st) { + var context = {}; + forEach({}, function () { + st.equal(this, context, '"this" is the passed context'); + }, context); + st.end(); + }); + + t.end(); +}); + +test('string', function (t) { + var str = 'str'; + t.test('second iterator argument', function (st) { + var counter = 0; + st.plan((str.length * 2) + 1); + forEach(str, function (item, index) { + st.equal(counter, index, 'index ' + index + ' is passed as second argument'); + st.equal(str.charAt(index), item); + counter += 1; + }); + st.equal(counter, str.length, 'iterates ' + str.length + ' times'); + st.end(); + }); + t.end(); +}); diff --git a/node_modules/global-prefix/node_modules/.bin/which.cmd b/node_modules/global-prefix/node_modules/.bin/which.cmd new file mode 100644 index 000000000..ead37d628 --- /dev/null +++ b/node_modules/global-prefix/node_modules/.bin/which.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\which" %* diff --git a/node_modules/global-prefix/node_modules/.bin/which.ps1 b/node_modules/global-prefix/node_modules/.bin/which.ps1 new file mode 100644 index 000000000..1437a3b6e --- /dev/null +++ b/node_modules/global-prefix/node_modules/.bin/which.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../which/bin/which" $args + } else { + & "$basedir/node$exe" "$basedir/../which/bin/which" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../which/bin/which" $args + } else { + & "node$exe" "$basedir/../which/bin/which" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/gopd/.eslintrc b/node_modules/gopd/.eslintrc new file mode 100644 index 000000000..e2550c0fb --- /dev/null +++ b/node_modules/gopd/.eslintrc @@ -0,0 +1,16 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "func-style": [2, "declaration"], + "id-length": 0, + "multiline-comment-style": 0, + "new-cap": [2, { + "capIsNewExceptions": [ + "GetIntrinsic", + ], + }], + }, +} diff --git a/node_modules/gopd/.github/FUNDING.yml b/node_modules/gopd/.github/FUNDING.yml new file mode 100644 index 000000000..94a44a8e8 --- /dev/null +++ b/node_modules/gopd/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/gopd +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/gopd/CHANGELOG.md b/node_modules/gopd/CHANGELOG.md new file mode 100644 index 000000000..f111eb178 --- /dev/null +++ b/node_modules/gopd/CHANGELOG.md @@ -0,0 +1,25 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.1](https://github.com/ljharb/gopd/compare/v1.0.0...v1.0.1) - 2022-11-01 + +### Commits + +- [Fix] actually export gOPD instead of dP [`4b624bf`](https://github.com/ljharb/gopd/commit/4b624bfbeff788c5e3ff16d9443a83627847234f) + +## v1.0.0 - 2022-11-01 + +### Commits + +- Initial implementation, tests, readme [`0911e01`](https://github.com/ljharb/gopd/commit/0911e012cd642092bd88b732c161c58bf4f20bea) +- Initial commit [`b84e33f`](https://github.com/ljharb/gopd/commit/b84e33f5808a805ac57ff88d4247ad935569acbe) +- [actions] add reusable workflows [`12ae28a`](https://github.com/ljharb/gopd/commit/12ae28ae5f50f86e750215b6e2188901646d0119) +- npm init [`280118b`](https://github.com/ljharb/gopd/commit/280118badb45c80b4483836b5cb5315bddf6e582) +- [meta] add `auto-changelog` [`bb78de5`](https://github.com/ljharb/gopd/commit/bb78de5639a180747fb290c28912beaaf1615709) +- [meta] create FUNDING.yml; add `funding` in package.json [`11c22e6`](https://github.com/ljharb/gopd/commit/11c22e6355bb01f24e7fac4c9bb3055eb5b25002) +- [meta] use `npmignore` to autogenerate an npmignore file [`4f4537a`](https://github.com/ljharb/gopd/commit/4f4537a843b39f698c52f072845092e6fca345bb) +- Only apps should have lockfiles [`c567022`](https://github.com/ljharb/gopd/commit/c567022a18573aa7951cf5399445d9840e23e98b) diff --git a/node_modules/gopd/LICENSE b/node_modules/gopd/LICENSE new file mode 100644 index 000000000..6abfe1434 --- /dev/null +++ b/node_modules/gopd/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/gopd/README.md b/node_modules/gopd/README.md new file mode 100644 index 000000000..784e56a09 --- /dev/null +++ b/node_modules/gopd/README.md @@ -0,0 +1,40 @@ +# gopd [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation. + +## Usage + +```javascript +var gOPD = require('gopd'); +var assert = require('assert'); + +if (gOPD) { + assert.equal(typeof gOPD, 'function', 'descriptors supported'); + // use gOPD like Object.getOwnPropertyDescriptor here +} else { + assert.ok(!gOPD, 'descriptors not supported'); +} +``` + +[package-url]: https://npmjs.org/package/gopd +[npm-version-svg]: https://versionbadg.es/ljharb/gopd.svg +[deps-svg]: https://david-dm.org/ljharb/gopd.svg +[deps-url]: https://david-dm.org/ljharb/gopd +[dev-deps-svg]: https://david-dm.org/ljharb/gopd/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/gopd#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/gopd.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/gopd.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/gopd.svg +[downloads-url]: https://npm-stat.com/charts.html?package=gopd +[codecov-image]: https://codecov.io/gh/ljharb/gopd/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/gopd/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/gopd +[actions-url]: https://github.com/ljharb/gopd/actions diff --git a/node_modules/gopd/index.js b/node_modules/gopd/index.js new file mode 100644 index 000000000..fb6d3bbef --- /dev/null +++ b/node_modules/gopd/index.js @@ -0,0 +1,16 @@ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); + +if ($gOPD) { + try { + $gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + $gOPD = null; + } +} + +module.exports = $gOPD; diff --git a/node_modules/gopd/package.json b/node_modules/gopd/package.json new file mode 100644 index 000000000..d5e1fa4a2 --- /dev/null +++ b/node_modules/gopd/package.json @@ -0,0 +1,71 @@ +{ + "name": "gopd", + "version": "1.0.1", + "description": "`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "lint": "eslint --ext=js,mjs .", + "postlint": "evalmd README.md", + "pretest": "npm run lint", + "tests-only": "tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/gopd.git" + }, + "keywords": [ + "ecmascript", + "javascript", + "getownpropertydescriptor", + "property", + "descriptor" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/gopd/issues" + }, + "homepage": "https://github.com/ljharb/gopd#readme", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "devDependencies": { + "@ljharb/eslint-config": "^21.0.0", + "aud": "^2.0.1", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.0", + "safe-publish-latest": "^2.0.0", + "tape": "^5.6.1" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} diff --git a/node_modules/gopd/test/index.js b/node_modules/gopd/test/index.js new file mode 100644 index 000000000..0376bfbad --- /dev/null +++ b/node_modules/gopd/test/index.js @@ -0,0 +1,35 @@ +'use strict'; + +var test = require('tape'); +var gOPD = require('../'); + +test('gOPD', function (t) { + t.test('supported', { skip: !gOPD }, function (st) { + st.equal(typeof gOPD, 'function', 'is a function'); + + var obj = { x: 1 }; + st.ok('x' in obj, 'property exists'); + + var desc = gOPD(obj, 'x'); + st.deepEqual( + desc, + { + configurable: true, + enumerable: true, + value: 1, + writable: true + }, + 'descriptor is as expected' + ); + + st.end(); + }); + + t.test('not supported', { skip: gOPD }, function (st) { + st.notOk(gOPD, 'is falsy'); + + st.end(); + }); + + t.end(); +}); diff --git a/node_modules/has-tostringtag/.eslintrc b/node_modules/has-tostringtag/.eslintrc new file mode 100644 index 000000000..2d9a66a8a --- /dev/null +++ b/node_modules/has-tostringtag/.eslintrc @@ -0,0 +1,11 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "max-statements-per-line": [2, { "max": 2 }], + "no-magic-numbers": 0, + "multiline-comment-style": 0, + } +} diff --git a/node_modules/has-tostringtag/.github/FUNDING.yml b/node_modules/has-tostringtag/.github/FUNDING.yml new file mode 100644 index 000000000..7a450e708 --- /dev/null +++ b/node_modules/has-tostringtag/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/has-tostringtag +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/has-tostringtag/CHANGELOG.md b/node_modules/has-tostringtag/CHANGELOG.md new file mode 100644 index 000000000..39fb77cf7 --- /dev/null +++ b/node_modules/has-tostringtag/CHANGELOG.md @@ -0,0 +1,20 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## v1.0.0 - 2021-08-05 + +### Commits + +- Tests [`6b6f573`](https://github.com/inspect-js/has-tostringtag/commit/6b6f5734dc2058badb300ff0783efdad95fe1a65) +- Initial commit [`2f8190e`](https://github.com/inspect-js/has-tostringtag/commit/2f8190e799fac32ba9b95a076c0255e01d7ce475) +- [meta] do not publish github action workflow files [`6e08cc4`](https://github.com/inspect-js/has-tostringtag/commit/6e08cc4e0fea7ec71ef66e70734b2af2c4a8b71b) +- readme [`94bed6c`](https://github.com/inspect-js/has-tostringtag/commit/94bed6c9560cbbfda034f8d6c260bb7b0db33c1a) +- npm init [`be67840`](https://github.com/inspect-js/has-tostringtag/commit/be67840ab92ee7adb98bcc65261975543f815fa5) +- Implementation [`c4914ec`](https://github.com/inspect-js/has-tostringtag/commit/c4914ecc51ddee692c85b471ae0a5d8123030fbf) +- [meta] use `auto-changelog` [`4aaf768`](https://github.com/inspect-js/has-tostringtag/commit/4aaf76895ae01d7b739f2b19f967ef2372506cd7) +- Only apps should have lockfiles [`bc4d99e`](https://github.com/inspect-js/has-tostringtag/commit/bc4d99e4bf494afbaa235c5f098df6e642edf724) +- [meta] add `safe-publish-latest` [`6523c05`](https://github.com/inspect-js/has-tostringtag/commit/6523c05c9b87140f3ae74c9daf91633dd9ff4e1f) diff --git a/node_modules/has-tostringtag/LICENSE b/node_modules/has-tostringtag/LICENSE new file mode 100644 index 000000000..7948bc02a --- /dev/null +++ b/node_modules/has-tostringtag/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Inspect JS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/has-tostringtag/README.md b/node_modules/has-tostringtag/README.md new file mode 100644 index 000000000..67a5e929d --- /dev/null +++ b/node_modules/has-tostringtag/README.md @@ -0,0 +1,46 @@ +# has-tostringtag [![Version Badge][2]][1] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][5]][6] +[![dev dependency status][7]][8] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][11]][1] + +Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams. + +## Example + +```js +var hasSymbolToStringTag = require('has-tostringtag'); + +hasSymbolToStringTag() === true; // if the environment has native Symbol.toStringTag support. Not polyfillable, not forgeable. + +var hasSymbolToStringTagKinda = require('has-tostringtag/shams'); +hasSymbolToStringTagKinda() === true; // if the environment has a Symbol.toStringTag sham that mostly follows the spec. +``` + +## Supported Symbol shams + - get-own-property-symbols [npm](https://www.npmjs.com/package/get-own-property-symbols) | [github](https://github.com/WebReflection/get-own-property-symbols) + - core-js [npm](https://www.npmjs.com/package/core-js) | [github](https://github.com/zloirock/core-js) + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +[1]: https://npmjs.org/package/has-tostringtag +[2]: https://versionbadg.es/inspect-js/has-tostringtag.svg +[5]: https://david-dm.org/inspect-js/has-tostringtag.svg +[6]: https://david-dm.org/inspect-js/has-tostringtag +[7]: https://david-dm.org/inspect-js/has-tostringtag/dev-status.svg +[8]: https://david-dm.org/inspect-js/has-tostringtag#info=devDependencies +[11]: https://nodei.co/npm/has-tostringtag.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/has-tostringtag.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/has-tostringtag.svg +[downloads-url]: https://npm-stat.com/charts.html?package=has-tostringtag +[codecov-image]: https://codecov.io/gh/inspect-js/has-tostringtag/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/has-tostringtag/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-tostringtag +[actions-url]: https://github.com/inspect-js/has-tostringtag/actions diff --git a/node_modules/has-tostringtag/index.js b/node_modules/has-tostringtag/index.js new file mode 100644 index 000000000..d626b7a82 --- /dev/null +++ b/node_modules/has-tostringtag/index.js @@ -0,0 +1,7 @@ +'use strict'; + +var hasSymbols = require('has-symbols'); + +module.exports = function hasToStringTag() { + return hasSymbols() && typeof Symbol.toStringTag === 'symbol'; +}; diff --git a/node_modules/has-tostringtag/package.json b/node_modules/has-tostringtag/package.json new file mode 100644 index 000000000..9c74d6416 --- /dev/null +++ b/node_modules/has-tostringtag/package.json @@ -0,0 +1,84 @@ +{ + "name": "has-tostringtag", + "version": "1.0.0", + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "description": "Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.", + "license": "MIT", + "main": "index.js", + "exports": { + ".": "./index.js", + "./shams": "./shams.js", + "./package.json": "./package.json" + }, + "scripts": { + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "aud --production", + "tests-only": "npm run test:stock && npm run test:staging && npm run test:shams", + "test:stock": "nyc node test", + "test:staging": "nyc node --harmony --es-staging test", + "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", + "test:shams:corejs": "nyc node test/shams/core-js.js", + "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", + "lint": "eslint --ext=js,mjs .", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/inspect-js/has-tostringtag.git" + }, + "bugs": { + "url": "https://github.com/inspect-js/has-tostringtag/issues" + }, + "homepage": "https://github.com/inspect-js/has-tostringtag#readme", + "keywords": [ + "javascript", + "ecmascript", + "symbol", + "symbols", + "tostringtag", + "Symbol.toStringTag" + ], + "dependencies": { + "has-symbols": "^1.0.2" + }, + "devDependencies": { + "@ljharb/eslint-config": "^17.6.0", + "aud": "^1.1.5", + "auto-changelog": "^2.3.0", + "core-js": "^2.6.12", + "eslint": "^7.32.0", + "get-own-property-symbols": "^0.9.5", + "nyc": "^10.3.2", + "safe-publish-latest": "^1.1.4", + "tape": "^5.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + } +} diff --git a/node_modules/has-tostringtag/shams.js b/node_modules/has-tostringtag/shams.js new file mode 100644 index 000000000..8b7e40117 --- /dev/null +++ b/node_modules/has-tostringtag/shams.js @@ -0,0 +1,7 @@ +'use strict'; + +var hasSymbols = require('has-symbols/shams'); + +module.exports = function hasToStringTagShams() { + return hasSymbols() && !!Symbol.toStringTag; +}; diff --git a/node_modules/has-tostringtag/test/index.js b/node_modules/has-tostringtag/test/index.js new file mode 100644 index 000000000..0679afdfa --- /dev/null +++ b/node_modules/has-tostringtag/test/index.js @@ -0,0 +1,21 @@ +'use strict'; + +var test = require('tape'); +var hasSymbolToStringTag = require('../'); +var runSymbolTests = require('./tests'); + +test('interface', function (t) { + t.equal(typeof hasSymbolToStringTag, 'function', 'is a function'); + t.equal(typeof hasSymbolToStringTag(), 'boolean', 'returns a boolean'); + t.end(); +}); + +test('Symbol.toStringTag exists', { skip: !hasSymbolToStringTag() }, function (t) { + runSymbolTests(t); + t.end(); +}); + +test('Symbol.toStringTag does not exist', { skip: hasSymbolToStringTag() }, function (t) { + t.equal(typeof Symbol === 'undefined' ? 'undefined' : typeof Symbol.toStringTag, 'undefined', 'global Symbol.toStringTag is undefined'); + t.end(); +}); diff --git a/node_modules/has-tostringtag/test/shams/core-js.js b/node_modules/has-tostringtag/test/shams/core-js.js new file mode 100644 index 000000000..692b86eb9 --- /dev/null +++ b/node_modules/has-tostringtag/test/shams/core-js.js @@ -0,0 +1,28 @@ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol') { + test('has native Symbol.toStringTag support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol.toStringTag, 'symbol'); + t.end(); + }); + return; +} + +var hasSymbolToStringTag = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); + require('core-js/fn/symbol'); + require('core-js/fn/symbol/to-string-tag'); + + require('../tests')(t); + + var hasToStringTagAfter = hasSymbolToStringTag(); + t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js b/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js new file mode 100644 index 000000000..489fe8363 --- /dev/null +++ b/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js @@ -0,0 +1,28 @@ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + return; +} + +var hasSymbolToStringTag = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); + + require('get-own-property-symbols'); + + require('../tests')(t); + + var hasToStringTagAfter = hasSymbolToStringTag(); + t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/node_modules/has-tostringtag/test/tests.js b/node_modules/has-tostringtag/test/tests.js new file mode 100644 index 000000000..0dae885c0 --- /dev/null +++ b/node_modules/has-tostringtag/test/tests.js @@ -0,0 +1,14 @@ +'use strict'; + +// eslint-disable-next-line consistent-return +module.exports = function runSymbolTests(t) { + t.equal(typeof Symbol, 'function', 'global Symbol is a function'); + t.ok(Symbol.toStringTag, 'Symbol.toStringTag exists'); + + if (typeof Symbol !== 'function' || !Symbol.toStringTag) { return false; } + + var obj = {}; + obj[Symbol.toStringTag] = 'test'; + + t.equal(Object.prototype.toString.call(obj), '[object test]'); +}; diff --git a/node_modules/js-yaml/node_modules/.bin/esparse.cmd b/node_modules/js-yaml/node_modules/.bin/esparse.cmd new file mode 100644 index 000000000..2ca6d502e --- /dev/null +++ b/node_modules/js-yaml/node_modules/.bin/esparse.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esprima\bin\esparse.js" %* diff --git a/node_modules/js-yaml/node_modules/.bin/esparse.ps1 b/node_modules/js-yaml/node_modules/.bin/esparse.ps1 new file mode 100644 index 000000000..f19ed7301 --- /dev/null +++ b/node_modules/js-yaml/node_modules/.bin/esparse.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args + } else { + & "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../esprima/bin/esparse.js" $args + } else { + & "node$exe" "$basedir/../esprima/bin/esparse.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/js-yaml/node_modules/.bin/esvalidate.cmd b/node_modules/js-yaml/node_modules/.bin/esvalidate.cmd new file mode 100644 index 000000000..4c41643ef --- /dev/null +++ b/node_modules/js-yaml/node_modules/.bin/esvalidate.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esprima\bin\esvalidate.js" %* diff --git a/node_modules/js-yaml/node_modules/.bin/esvalidate.ps1 b/node_modules/js-yaml/node_modules/.bin/esvalidate.ps1 new file mode 100644 index 000000000..23699d11e --- /dev/null +++ b/node_modules/js-yaml/node_modules/.bin/esvalidate.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } else { + & "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } else { + & "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/node-notifier/node_modules/.bin/which.cmd b/node_modules/node-notifier/node_modules/.bin/which.cmd new file mode 100644 index 000000000..ead37d628 --- /dev/null +++ b/node_modules/node-notifier/node_modules/.bin/which.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\which" %* diff --git a/node_modules/node-notifier/node_modules/.bin/which.ps1 b/node_modules/node-notifier/node_modules/.bin/which.ps1 new file mode 100644 index 000000000..1437a3b6e --- /dev/null +++ b/node_modules/node-notifier/node_modules/.bin/which.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../which/bin/which" $args + } else { + & "$basedir/node$exe" "$basedir/../which/bin/which" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../which/bin/which" $args + } else { + & "node$exe" "$basedir/../which/bin/which" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/normalize-package-data/node_modules/.bin/semver.cmd b/node_modules/normalize-package-data/node_modules/.bin/semver.cmd new file mode 100644 index 000000000..22d9286cd --- /dev/null +++ b/node_modules/normalize-package-data/node_modules/.bin/semver.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver" %* diff --git a/node_modules/normalize-package-data/node_modules/.bin/semver.ps1 b/node_modules/normalize-package-data/node_modules/.bin/semver.ps1 new file mode 100644 index 000000000..98c1b093f --- /dev/null +++ b/node_modules/normalize-package-data/node_modules/.bin/semver.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args + } else { + & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../semver/bin/semver" $args + } else { + & "node$exe" "$basedir/../semver/bin/semver" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/object-inspect/CHANGELOG.md b/node_modules/object-inspect/CHANGELOG.md new file mode 100644 index 000000000..d42237c6d --- /dev/null +++ b/node_modules/object-inspect/CHANGELOG.md @@ -0,0 +1,370 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.12.3](https://github.com/inspect-js/object-inspect/compare/v1.12.2...v1.12.3) - 2023-01-12 + +### Commits + +- [Fix] in eg FF 24, collections lack forEach [`75fc226`](https://github.com/inspect-js/object-inspect/commit/75fc22673c82d45f28322b1946bb0eb41b672b7f) +- [actions] update rebase action to use reusable workflow [`250a277`](https://github.com/inspect-js/object-inspect/commit/250a277a095e9dacc029ab8454dcfc15de549dcd) +- [Dev Deps] update `aud`, `es-value-fixtures`, `tape` [`66a19b3`](https://github.com/inspect-js/object-inspect/commit/66a19b3209ccc3c5ef4b34c3cb0160e65d1ce9d5) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `error-cause` [`c43d332`](https://github.com/inspect-js/object-inspect/commit/c43d3324b48384a16fd3dc444e5fc589d785bef3) +- [Tests] add `@pkgjs/support` to `postlint` [`e2618d2`](https://github.com/inspect-js/object-inspect/commit/e2618d22a7a3fa361b6629b53c1752fddc9c4d80) + +## [v1.12.2](https://github.com/inspect-js/object-inspect/compare/v1.12.1...v1.12.2) - 2022-05-26 + +### Commits + +- [Fix] use `util.inspect` for a custom inspection symbol method [`e243bf2`](https://github.com/inspect-js/object-inspect/commit/e243bf2eda6c4403ac6f1146fddb14d12e9646c1) +- [meta] add support info [`ca20ba3`](https://github.com/inspect-js/object-inspect/commit/ca20ba35713c17068ca912a86c542f5e8acb656c) +- [Fix] ignore `cause` in node v16.9 and v16.10 where it has a bug [`86aa553`](https://github.com/inspect-js/object-inspect/commit/86aa553a4a455562c2c56f1540f0bf857b9d314b) + +## [v1.12.1](https://github.com/inspect-js/object-inspect/compare/v1.12.0...v1.12.1) - 2022-05-21 + +### Commits + +- [Tests] use `mock-property` [`4ec8893`](https://github.com/inspect-js/object-inspect/commit/4ec8893ea9bfd28065ca3638cf6762424bf44352) +- [meta] use `npmignore` to autogenerate an npmignore file [`07f868c`](https://github.com/inspect-js/object-inspect/commit/07f868c10bd25a9d18686528339bb749c211fc9a) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`b05244b`](https://github.com/inspect-js/object-inspect/commit/b05244b4f331e00c43b3151bc498041be77ccc91) +- [Dev Deps] update `@ljharb/eslint-config`, `error-cause`, `es-value-fixtures`, `functions-have-names`, `tape` [`d037398`](https://github.com/inspect-js/object-inspect/commit/d037398dcc5d531532e4c19c4a711ed677f579c1) +- [Fix] properly handle callable regexes in older engines [`848fe48`](https://github.com/inspect-js/object-inspect/commit/848fe48bd6dd0064ba781ee6f3c5e54a94144c37) + +## [v1.12.0](https://github.com/inspect-js/object-inspect/compare/v1.11.1...v1.12.0) - 2021-12-18 + +### Commits + +- [New] add `numericSeparator` boolean option [`2d2d537`](https://github.com/inspect-js/object-inspect/commit/2d2d537f5359a4300ce1c10241369f8024f89e11) +- [Robustness] cache more prototype methods [`191533d`](https://github.com/inspect-js/object-inspect/commit/191533da8aec98a05eadd73a5a6e979c9c8653e8) +- [New] ensure an Error’s `cause` is displayed [`53bc2ce`](https://github.com/inspect-js/object-inspect/commit/53bc2cee4e5a9cc4986f3cafa22c0685f340715e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`bc164b6`](https://github.com/inspect-js/object-inspect/commit/bc164b6e2e7d36b263970f16f54de63048b84a36) +- [Robustness] cache `RegExp.prototype.test` [`a314ab8`](https://github.com/inspect-js/object-inspect/commit/a314ab8271b905cbabc594c82914d2485a8daf12) +- [meta] fix auto-changelog settings [`5ed0983`](https://github.com/inspect-js/object-inspect/commit/5ed0983be72f73e32e2559997517a95525c7e20d) + +## [v1.11.1](https://github.com/inspect-js/object-inspect/compare/v1.11.0...v1.11.1) - 2021-12-05 + +### Commits + +- [meta] add `auto-changelog` [`7dbdd22`](https://github.com/inspect-js/object-inspect/commit/7dbdd228401d6025d8b7391476d88aee9ea9bbdf) +- [actions] reuse common workflows [`c8823bc`](https://github.com/inspect-js/object-inspect/commit/c8823bc0a8790729680709d45fb6e652432e91aa) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`7532b12`](https://github.com/inspect-js/object-inspect/commit/7532b120598307497b712890f75af8056f6d37a6) +- [Refactor] use `has-tostringtag` to behave correctly in the presence of symbol shams [`94abb5d`](https://github.com/inspect-js/object-inspect/commit/94abb5d4e745bf33253942dea86b3e538d2ff6c6) +- [actions] update codecov uploader [`5ed5102`](https://github.com/inspect-js/object-inspect/commit/5ed51025267a00e53b1341357315490ac4eb0874) +- [Dev Deps] update `eslint`, `tape` [`37b2ad2`](https://github.com/inspect-js/object-inspect/commit/37b2ad26c08d94bfd01d5d07069a0b28ef4e2ad7) +- [meta] add `sideEffects` flag [`d341f90`](https://github.com/inspect-js/object-inspect/commit/d341f905ef8bffa6a694cda6ddc5ba343532cd4f) + +## [v1.11.0](https://github.com/inspect-js/object-inspect/compare/v1.10.3...v1.11.0) - 2021-07-12 + +### Commits + +- [New] `customInspect`: add `symbol` option, to mimic modern util.inspect behavior [`e973a6e`](https://github.com/inspect-js/object-inspect/commit/e973a6e21f8140c5837cf25e9d89bdde88dc3120) +- [Dev Deps] update `eslint` [`05f1cb3`](https://github.com/inspect-js/object-inspect/commit/05f1cb3cbcfe1f238e8b51cf9bc294305b7ed793) + +## [v1.10.3](https://github.com/inspect-js/object-inspect/compare/v1.10.2...v1.10.3) - 2021-05-07 + +### Commits + +- [Fix] handle core-js Symbol shams [`4acfc2c`](https://github.com/inspect-js/object-inspect/commit/4acfc2c4b503498759120eb517abad6d51c9c5d6) +- [readme] update badges [`95c323a`](https://github.com/inspect-js/object-inspect/commit/95c323ad909d6cbabb95dd6015c190ba6db9c1f2) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud` [`cb38f48`](https://github.com/inspect-js/object-inspect/commit/cb38f485de6ec7a95109b5a9bbd0a1deba2f6611) + +## [v1.10.2](https://github.com/inspect-js/object-inspect/compare/v1.10.1...v1.10.2) - 2021-04-17 + +### Commits + +- [Fix] use a robust check for a boxed Symbol [`87f12d6`](https://github.com/inspect-js/object-inspect/commit/87f12d6e69ce530be04659c81a4cd502943acac5) + +## [v1.10.1](https://github.com/inspect-js/object-inspect/compare/v1.10.0...v1.10.1) - 2021-04-17 + +### Commits + +- [Fix] use a robust check for a boxed bigint [`d5ca829`](https://github.com/inspect-js/object-inspect/commit/d5ca8298b6d2e5c7b9334a5b21b96ed95d225c91) + +## [v1.10.0](https://github.com/inspect-js/object-inspect/compare/v1.9.0...v1.10.0) - 2021-04-17 + +### Commits + +- [Tests] increase coverage [`d8abb8a`](https://github.com/inspect-js/object-inspect/commit/d8abb8a62c2f084919df994a433b346e0d87a227) +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`4bfec2e`](https://github.com/inspect-js/object-inspect/commit/4bfec2e30aaef6ddef6cbb1448306f9f8b9520b7) +- [New] respect `Symbol.toStringTag` on objects [`799b58f`](https://github.com/inspect-js/object-inspect/commit/799b58f536a45e4484633a8e9daeb0330835f175) +- [Fix] do not allow Symbol.toStringTag to masquerade as builtins [`d6c5b37`](https://github.com/inspect-js/object-inspect/commit/d6c5b37d7e94427796b82432fb0c8964f033a6ab) +- [New] add `WeakRef` support [`b6d898e`](https://github.com/inspect-js/object-inspect/commit/b6d898ee21868c780a7ee66b28532b5b34ed7f09) +- [meta] do not publish github action workflow files [`918cdfc`](https://github.com/inspect-js/object-inspect/commit/918cdfc4b6fe83f559ff6ef04fe66201e3ff5cbd) +- [meta] create `FUNDING.yml` [`0bb5fc5`](https://github.com/inspect-js/object-inspect/commit/0bb5fc516dbcd2cd728bd89cee0b580acc5ce301) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`22c8dc0`](https://github.com/inspect-js/object-inspect/commit/22c8dc0cac113d70f4781e49a950070923a671be) +- [meta] use `prepublishOnly` script for npm 7+ [`e52ee09`](https://github.com/inspect-js/object-inspect/commit/e52ee09e8050b8dbac94ef57f786675567728223) +- [Dev Deps] update `eslint` [`7c4e6fd`](https://github.com/inspect-js/object-inspect/commit/7c4e6fdedcd27cc980e13c9ad834d05a96f3d40c) + +## [v1.9.0](https://github.com/inspect-js/object-inspect/compare/v1.8.0...v1.9.0) - 2020-11-30 + +### Commits + +- [Tests] migrate tests to Github Actions [`d262251`](https://github.com/inspect-js/object-inspect/commit/d262251e13e16d3490b5473672f6b6d6ff86675d) +- [New] add enumerable own Symbols to plain object output [`ee60c03`](https://github.com/inspect-js/object-inspect/commit/ee60c033088cff9d33baa71e59a362a541b48284) +- [Tests] add passing tests [`01ac3e4`](https://github.com/inspect-js/object-inspect/commit/01ac3e4b5a30f97875a63dc9b1416b3bd626afc9) +- [actions] add "Require Allow Edits" action [`c2d7746`](https://github.com/inspect-js/object-inspect/commit/c2d774680cde4ca4af332d84d4121b26f798ba9e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `core-js` [`70058de`](https://github.com/inspect-js/object-inspect/commit/70058de1579fc54d1d15ed6c2dbe246637ce70ff) +- [Fix] hex characters in strings should be uppercased, to match node `assert` [`6ab8faa`](https://github.com/inspect-js/object-inspect/commit/6ab8faaa0abc08fe7a8e2afd8b39c6f1f0e00113) +- [Tests] run `nyc` on all tests [`4c47372`](https://github.com/inspect-js/object-inspect/commit/4c473727879ddc8e28b599202551ddaaf07b6210) +- [Tests] node 0.8 has an unpredictable property order; fix `groups` test by removing property [`f192069`](https://github.com/inspect-js/object-inspect/commit/f192069a978a3b60e6f0e0d45ac7df260ab9a778) +- [New] add enumerable properties to Function inspect result, per node’s `assert` [`fd38e1b`](https://github.com/inspect-js/object-inspect/commit/fd38e1bc3e2a1dc82091ce3e021917462eee64fc) +- [Tests] fix tests for node < 10, due to regex match `groups` [`2ac6462`](https://github.com/inspect-js/object-inspect/commit/2ac6462cc4f72eaa0b63a8cfee9aabe3008b2330) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`44b59e2`](https://github.com/inspect-js/object-inspect/commit/44b59e2676a7f825ef530dfd19dafb599e3b9456) +- [Robustness] cache `Symbol.prototype.toString` [`f3c2074`](https://github.com/inspect-js/object-inspect/commit/f3c2074d8f32faf8292587c07c9678ea931703dd) +- [Dev Deps] update `eslint` [`9411294`](https://github.com/inspect-js/object-inspect/commit/94112944b9245e3302e25453277876402d207e7f) +- [meta] `require-allow-edits` no longer requires an explicit github token [`36c0220`](https://github.com/inspect-js/object-inspect/commit/36c02205de3c2b0e84d53777c5c9fd54a36c48ab) +- [actions] update rebase checkout action to v2 [`55a39a6`](https://github.com/inspect-js/object-inspect/commit/55a39a64e944f19c6a7d8efddf3df27700f20d14) +- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`f59fd3c`](https://github.com/inspect-js/object-inspect/commit/f59fd3cf406c3a7c7ece140904a80bbc6bacfcca) +- [Dev Deps] update `eslint` [`a492bec`](https://github.com/inspect-js/object-inspect/commit/a492becec644b0155c9c4bc1caf6f9fac11fb2c7) + +## [v1.8.0](https://github.com/inspect-js/object-inspect/compare/v1.7.0...v1.8.0) - 2020-06-18 + +### Fixed + +- [New] add `indent` option [`#27`](https://github.com/inspect-js/object-inspect/issues/27) + +### Commits + +- [Tests] add codecov [`4324cbb`](https://github.com/inspect-js/object-inspect/commit/4324cbb1a2bd7710822a4151ff373570db22453e) +- [New] add `maxStringLength` option [`b3995cb`](https://github.com/inspect-js/object-inspect/commit/b3995cb71e15b5ee127a3094c43994df9d973502) +- [New] add `customInspect` option, to disable custom inspect methods [`28b9179`](https://github.com/inspect-js/object-inspect/commit/28b9179ee802bb3b90810100c11637db90c2fb6d) +- [Tests] add Date and RegExp tests [`3b28eca`](https://github.com/inspect-js/object-inspect/commit/3b28eca57b0367aeadffac604ea09e8bdae7d97b) +- [actions] add automatic rebasing / merge commit blocking [`0d9c6c0`](https://github.com/inspect-js/object-inspect/commit/0d9c6c044e83475ff0bfffb9d35b149834c83a2e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `tape`; add `aud` [`7c204f2`](https://github.com/inspect-js/object-inspect/commit/7c204f22b9e41bc97147f4d32d4cb045b17769a6) +- [readme] fix repo URLs, remove testling [`34ca9a0`](https://github.com/inspect-js/object-inspect/commit/34ca9a0dabfe75bd311f806a326fadad029909a3) +- [Fix] when truncating a deep array, note it as `[Array]` instead of just `[Object]` [`f74c82d`](https://github.com/inspect-js/object-inspect/commit/f74c82dd0b35386445510deb250f34c41be3ec0e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`1a8a5ea`](https://github.com/inspect-js/object-inspect/commit/1a8a5ea069ea2bee89d77caedad83ffa23d35711) +- [Fix] do not be fooled by a function’s own `toString` method [`7cb5c65`](https://github.com/inspect-js/object-inspect/commit/7cb5c657a976f94715c19c10556a30f15bb7d5d7) +- [patch] indicate explicitly that anon functions are anonymous, to match node [`81ebdd4`](https://github.com/inspect-js/object-inspect/commit/81ebdd4215005144074bbdff3f6bafa01407910a) +- [Dev Deps] loosen the `core-js` dep [`e7472e8`](https://github.com/inspect-js/object-inspect/commit/e7472e8e242117670560bd995830c2a4d12080f5) +- [Dev Deps] update `tape` [`699827e`](https://github.com/inspect-js/object-inspect/commit/699827e6b37258b5203c33c78c009bf4b0e6a66d) +- [meta] add `safe-publish-latest` [`c5d2868`](https://github.com/inspect-js/object-inspect/commit/c5d2868d6eb33c472f37a20f89ceef2787046088) +- [Dev Deps] update `@ljharb/eslint-config` [`9199501`](https://github.com/inspect-js/object-inspect/commit/919950195d486114ccebacbdf9d74d7f382693b0) + +## [v1.7.0](https://github.com/inspect-js/object-inspect/compare/v1.6.0...v1.7.0) - 2019-11-10 + +### Commits + +- [Tests] use shared travis-ci configs [`19899ed`](https://github.com/inspect-js/object-inspect/commit/19899edbf31f4f8809acf745ce34ad1ce1bfa63b) +- [Tests] add linting [`a00f057`](https://github.com/inspect-js/object-inspect/commit/a00f057d917f66ea26dd37769c6b810ec4af97e8) +- [Tests] lint last file [`2698047`](https://github.com/inspect-js/object-inspect/commit/2698047b58af1e2e88061598ef37a75f228dddf6) +- [Tests] up to `node` `v12.7`, `v11.15`, `v10.16`, `v8.16`, `v6.17` [`589e87a`](https://github.com/inspect-js/object-inspect/commit/589e87a99cadcff4b600e6a303418e9d922836e8) +- [New] add support for `WeakMap` and `WeakSet` [`3ddb3e4`](https://github.com/inspect-js/object-inspect/commit/3ddb3e4e0c8287130c61a12e0ed9c104b1549306) +- [meta] clean up license so github can detect it properly [`27527bb`](https://github.com/inspect-js/object-inspect/commit/27527bb801520c9610c68cc3b55d6f20a2bee56d) +- [Tests] cover `util.inspect.custom` [`36d47b9`](https://github.com/inspect-js/object-inspect/commit/36d47b9c59056a57ef2f1491602c726359561800) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `tape` [`b614eaa`](https://github.com/inspect-js/object-inspect/commit/b614eaac901da0e5c69151f534671f990a94cace) +- [Tests] fix coverage thresholds [`7b7b176`](https://github.com/inspect-js/object-inspect/commit/7b7b176e15f8bd6e8b2f261ff5a493c2fe78d9c2) +- [Tests] bigint tests now can run on unflagged node [`063af31`](https://github.com/inspect-js/object-inspect/commit/063af31ce9cd13c202e3b67c07ba06dc9b7c0f81) +- [Refactor] add early bailout to `isMap` and `isSet` checks [`fc51047`](https://github.com/inspect-js/object-inspect/commit/fc5104714a3671d37e225813db79470d6335683b) +- [meta] add `funding` field [`7f9953a`](https://github.com/inspect-js/object-inspect/commit/7f9953a113eec7b064a6393cf9f90ba15f1d131b) +- [Tests] Fix invalid strict-mode syntax with hexadecimal [`a8b5425`](https://github.com/inspect-js/object-inspect/commit/a8b542503b4af1599a275209a1a99f5fdedb1ead) +- [Dev Deps] update `@ljharb/eslint-config` [`98df157`](https://github.com/inspect-js/object-inspect/commit/98df1577314d9188a3fc3f17fdcf2fba697ae1bd) +- add copyright to LICENSE [`bb69fd0`](https://github.com/inspect-js/object-inspect/commit/bb69fd017a062d299e44da1f9b2c7dcd67f621e6) +- [Tests] use `npx aud` in `posttest` [`4838353`](https://github.com/inspect-js/object-inspect/commit/4838353593974cf7f905b9ef04c03c094f0cdbe2) +- [Tests] move `0.6` to allowed failures, because it won‘t build on travis [`1bff32a`](https://github.com/inspect-js/object-inspect/commit/1bff32aa52e8aea687f0856b28ba754b3e43ebf7) + +## [v1.6.0](https://github.com/inspect-js/object-inspect/compare/v1.5.0...v1.6.0) - 2018-05-02 + +### Commits + +- [New] add support for boxed BigInt primitives [`356c66a`](https://github.com/inspect-js/object-inspect/commit/356c66a410e7aece7162c8319880a5ef647beaa9) +- [Tests] up to `node` `v10.0`, `v9.11`, `v8.11`, `v6.14`, `v4.9` [`c77b65b`](https://github.com/inspect-js/object-inspect/commit/c77b65bba593811b906b9ec57561c5cba92e2db3) +- [New] Add support for upcoming `BigInt` [`1ac548e`](https://github.com/inspect-js/object-inspect/commit/1ac548e4b27e26466c28c9a5e63e5d4e0591c31f) +- [Tests] run bigint tests in CI with --harmony-bigint flag [`d31b738`](https://github.com/inspect-js/object-inspect/commit/d31b73831880254b5c6cf5691cda9a149fbc5f04) +- [Dev Deps] update `core-js`, `tape` [`ff9eff6`](https://github.com/inspect-js/object-inspect/commit/ff9eff67113341ee1aaf80c1c22d683f43bfbccf) +- [Docs] fix example to use `safer-buffer` [`48cae12`](https://github.com/inspect-js/object-inspect/commit/48cae12a73ec6cacc955175bc56bbe6aee6a211f) + +## [v1.5.0](https://github.com/inspect-js/object-inspect/compare/v1.4.1...v1.5.0) - 2017-12-25 + +### Commits + +- [New] add `quoteStyle` option [`f5a72d2`](https://github.com/inspect-js/object-inspect/commit/f5a72d26edb3959b048f74c056ca7100a6b091e4) +- [Tests] add more test coverage [`30ebe4e`](https://github.com/inspect-js/object-inspect/commit/30ebe4e1fa943b99ecbb85be7614256d536e2759) +- [Tests] require 0.6 to pass [`99a008c`](https://github.com/inspect-js/object-inspect/commit/99a008ccace189a60fd7da18bf00e32c9572b980) + +## [v1.4.1](https://github.com/inspect-js/object-inspect/compare/v1.4.0...v1.4.1) - 2017-12-19 + +### Commits + +- [Tests] up to `node` `v9.3`, `v8.9`, `v6.12` [`6674476`](https://github.com/inspect-js/object-inspect/commit/6674476cc56acaac1bde96c84fed5ef631911906) +- [Fix] `inspect(Object(-0))` should be “Object(-0)”, not “Object(0)” [`d0a031f`](https://github.com/inspect-js/object-inspect/commit/d0a031f1cbb3024ee9982bfe364dd18a7e4d1bd3) + +## [v1.4.0](https://github.com/inspect-js/object-inspect/compare/v1.3.0...v1.4.0) - 2017-10-24 + +### Commits + +- [Tests] add `npm run coverage` [`3b48fb2`](https://github.com/inspect-js/object-inspect/commit/3b48fb25db037235eeb808f0b2830aad7aa36f70) +- [Tests] remove commented-out osx builds [`71e24db`](https://github.com/inspect-js/object-inspect/commit/71e24db8ad6ee3b9b381c5300b0475f2ba595a73) +- [New] add support for `util.inspect.custom`, in node only. [`20cca77`](https://github.com/inspect-js/object-inspect/commit/20cca7762d7e17f15b21a90793dff84acce155df) +- [Tests] up to `node` `v8.6`; use `nvm install-latest-npm` to ensure new npm doesn’t break old node [`252952d`](https://github.com/inspect-js/object-inspect/commit/252952d230d8065851dd3d4d5fe8398aae068529) +- [Tests] up to `node` `v8.8` [`4aa868d`](https://github.com/inspect-js/object-inspect/commit/4aa868d3a62914091d489dd6ec6eed194ee67cd3) +- [Dev Deps] update `core-js`, `tape` [`59483d1`](https://github.com/inspect-js/object-inspect/commit/59483d1df418f852f51fa0db7b24aa6b0209a27a) + +## [v1.3.0](https://github.com/inspect-js/object-inspect/compare/v1.2.2...v1.3.0) - 2017-07-31 + +### Fixed + +- [Fix] Map/Set: work around core-js bug < v2.5.0 [`#9`](https://github.com/inspect-js/object-inspect/issues/9) + +### Commits + +- [New] add support for arrays with additional object keys [`0d19937`](https://github.com/inspect-js/object-inspect/commit/0d199374ee37959e51539616666f420ccb29acb9) +- [Tests] up to `node` `v8.2`, `v7.10`, `v6.11`; fix new npm breaking on older nodes [`e24784a`](https://github.com/inspect-js/object-inspect/commit/e24784a90c49117787157a12a63897c49cf89bbb) +- Only apps should have lockfiles [`c6faebc`](https://github.com/inspect-js/object-inspect/commit/c6faebcb2ee486a889a4a1c4d78c0776c7576185) +- [Dev Deps] update `tape` [`7345a0a`](https://github.com/inspect-js/object-inspect/commit/7345a0aeba7e91b888a079c10004d17696a7f586) + +## [v1.2.2](https://github.com/inspect-js/object-inspect/compare/v1.2.1...v1.2.2) - 2017-03-24 + +### Commits + +- [Tests] up to `node` `v7.7`, `v6.10`, `v4.8`; improve test matrix [`a2ddc15`](https://github.com/inspect-js/object-inspect/commit/a2ddc15a1f2c65af18076eea1c0eb9cbceb478a0) +- [Tests] up to `node` `v7.0`, `v6.9`, `v5.12`, `v4.6`, `io.js` `v3.3`; improve test matrix [`a48949f`](https://github.com/inspect-js/object-inspect/commit/a48949f6b574b2d4d2298109d8e8d0eb3e7a83e7) +- [Performance] check for primitive types as early as possible. [`3b8092a`](https://github.com/inspect-js/object-inspect/commit/3b8092a2a4deffd0575f94334f00194e2d48dad3) +- [Refactor] remove unneeded `else`s. [`7255034`](https://github.com/inspect-js/object-inspect/commit/725503402e08de4f96f6bf2d8edef44ac36f26b6) +- [Refactor] avoid recreating `lowbyte` function every time. [`81edd34`](https://github.com/inspect-js/object-inspect/commit/81edd3475bd15bdd18e84de7472033dcf5004aaa) +- [Fix] differentiate -0 from 0 [`521d345`](https://github.com/inspect-js/object-inspect/commit/521d3456b009da7bf1c5785c8a9df5a9f8718264) +- [Refactor] move object key gathering into separate function [`aca6265`](https://github.com/inspect-js/object-inspect/commit/aca626536eaeef697196c6e9db3e90e7e0355b6a) +- [Refactor] consolidate wrapping logic for boxed primitives into a function. [`4e440cd`](https://github.com/inspect-js/object-inspect/commit/4e440cd9065df04802a2a1dead03f48c353ca301) +- [Robustness] use `typeof` instead of comparing to literal `undefined` [`5ca6f60`](https://github.com/inspect-js/object-inspect/commit/5ca6f601937506daff8ed2fcf686363b55807b69) +- [Refactor] consolidate Map/Set notations. [`4e576e5`](https://github.com/inspect-js/object-inspect/commit/4e576e5d7ed2f9ec3fb7f37a0d16732eb10758a9) +- [Tests] ensure that this function remains anonymous, despite ES6 name inference. [`7540ae5`](https://github.com/inspect-js/object-inspect/commit/7540ae591278756db614fa4def55ca413150e1a3) +- [Refactor] explicitly coerce Error objects to strings. [`7f4ca84`](https://github.com/inspect-js/object-inspect/commit/7f4ca8424ee8dc2c0ca5a422d94f7fac40327261) +- [Refactor] split up `var` declarations for debuggability [`6f2c11e`](https://github.com/inspect-js/object-inspect/commit/6f2c11e6a85418586a00292dcec5e97683f89bc3) +- [Robustness] cache `Object.prototype.toString` [`df44a20`](https://github.com/inspect-js/object-inspect/commit/df44a20adfccf31529d60d1df2079bfc3c836e27) +- [Dev Deps] update `tape` [`3ec714e`](https://github.com/inspect-js/object-inspect/commit/3ec714eba57bc3f58a6eb4fca1376f49e70d300a) +- [Dev Deps] update `tape` [`beb72d9`](https://github.com/inspect-js/object-inspect/commit/beb72d969653747d7cde300393c28755375329b0) + +## [v1.2.1](https://github.com/inspect-js/object-inspect/compare/v1.2.0...v1.2.1) - 2016-04-09 + +### Fixed + +- [Fix] fix Boolean `false` object inspection. [`#7`](https://github.com/substack/object-inspect/pull/7) + +## [v1.2.0](https://github.com/inspect-js/object-inspect/compare/v1.1.0...v1.2.0) - 2016-04-09 + +### Fixed + +- [New] add support for inspecting String/Number/Boolean objects. [`#6`](https://github.com/inspect-js/object-inspect/issues/6) + +### Commits + +- [Dev Deps] update `tape` [`742caa2`](https://github.com/inspect-js/object-inspect/commit/742caa262cf7af4c815d4821c8bd0129c1446432) + +## [v1.1.0](https://github.com/inspect-js/object-inspect/compare/1.0.2...v1.1.0) - 2015-12-14 + +### Merged + +- [New] add ES6 Map/Set support. [`#4`](https://github.com/inspect-js/object-inspect/pull/4) + +### Fixed + +- [New] add ES6 Map/Set support. [`#3`](https://github.com/inspect-js/object-inspect/issues/3) + +### Commits + +- Update `travis.yml` to test on bunches of `iojs` and `node` versions. [`4c1fd65`](https://github.com/inspect-js/object-inspect/commit/4c1fd65cc3bd95307e854d114b90478324287fd2) +- [Dev Deps] update `tape` [`88a907e`](https://github.com/inspect-js/object-inspect/commit/88a907e33afbe408e4b5d6e4e42a33143f88848c) + +## [1.0.2](https://github.com/inspect-js/object-inspect/compare/1.0.1...1.0.2) - 2015-08-07 + +### Commits + +- [Fix] Cache `Object.prototype.hasOwnProperty` in case it's deleted later. [`1d0075d`](https://github.com/inspect-js/object-inspect/commit/1d0075d3091dc82246feeb1f9871cb2b8ed227b3) +- [Dev Deps] Update `tape` [`ca8d5d7`](https://github.com/inspect-js/object-inspect/commit/ca8d5d75635ddbf76f944e628267581e04958457) +- gitignore node_modules since this is a reusable modules. [`ed41407`](https://github.com/inspect-js/object-inspect/commit/ed41407811743ca530cdeb28f982beb96026af82) + +## [1.0.1](https://github.com/inspect-js/object-inspect/compare/1.0.0...1.0.1) - 2015-07-19 + +### Commits + +- Make `inspect` work with symbol primitives and objects, including in node 0.11 and 0.12. [`ddf1b94`](https://github.com/inspect-js/object-inspect/commit/ddf1b94475ab951f1e3bccdc0a48e9073cfbfef4) +- bump tape [`103d674`](https://github.com/inspect-js/object-inspect/commit/103d67496b504bdcfdd765d303a773f87ec106e2) +- use newer travis config [`d497276`](https://github.com/inspect-js/object-inspect/commit/d497276c1da14234bb5098a59cf20de75fbc316a) + +## [1.0.0](https://github.com/inspect-js/object-inspect/compare/0.4.0...1.0.0) - 2014-08-05 + +### Commits + +- error inspect works properly [`260a22d`](https://github.com/inspect-js/object-inspect/commit/260a22d134d3a8a482c67d52091c6040c34f4299) +- seen coverage [`57269e8`](https://github.com/inspect-js/object-inspect/commit/57269e8baa992a7439047f47325111fdcbcb8417) +- htmlelement instance coverage [`397ffe1`](https://github.com/inspect-js/object-inspect/commit/397ffe10a1980350868043ef9de65686d438979f) +- more element coverage [`6905cc2`](https://github.com/inspect-js/object-inspect/commit/6905cc2f7df35600177e613b0642b4df5efd3eca) +- failing test for type errors [`385b615`](https://github.com/inspect-js/object-inspect/commit/385b6152e49b51b68449a662f410b084ed7c601a) +- fn name coverage [`edc906d`](https://github.com/inspect-js/object-inspect/commit/edc906d40fca6b9194d304062c037ee8e398c4c2) +- server-side element test [`362d1d3`](https://github.com/inspect-js/object-inspect/commit/362d1d3e86f187651c29feeb8478110afada385b) +- custom inspect fn [`e89b0f6`](https://github.com/inspect-js/object-inspect/commit/e89b0f6fe6d5e03681282af83732a509160435a6) +- fixed browser test [`b530882`](https://github.com/inspect-js/object-inspect/commit/b5308824a1c8471c5617e394766a03a6977102a9) +- depth test, matches node [`1cfd9e0`](https://github.com/inspect-js/object-inspect/commit/1cfd9e0285a4ae1dff44101ad482915d9bf47e48) +- exercise hasOwnProperty path [`8d753fb`](https://github.com/inspect-js/object-inspect/commit/8d753fb362a534fa1106e4d80f2ee9bea06a66d9) +- more cases covered for errors [`c5c46a5`](https://github.com/inspect-js/object-inspect/commit/c5c46a569ec4606583497e8550f0d8c7ad39a4a4) +- \W obj key test case [`b0eceee`](https://github.com/inspect-js/object-inspect/commit/b0eceeea6e0eb94d686c1046e99b9e25e5005f75) +- coverage for explicit depth param [`e12b91c`](https://github.com/inspect-js/object-inspect/commit/e12b91cd59683362f3a0e80f46481a0211e26c15) + +## [0.4.0](https://github.com/inspect-js/object-inspect/compare/0.3.1...0.4.0) - 2014-03-21 + +### Commits + +- passing lowbyte interpolation test [`b847511`](https://github.com/inspect-js/object-inspect/commit/b8475114f5def7e7961c5353d48d3d8d9a520985) +- lowbyte test [`4a2b0e1`](https://github.com/inspect-js/object-inspect/commit/4a2b0e142667fc933f195472759385ac08f3946c) + +## [0.3.1](https://github.com/inspect-js/object-inspect/compare/0.3.0...0.3.1) - 2014-03-04 + +### Commits + +- sort keys [`a07b19c`](https://github.com/inspect-js/object-inspect/commit/a07b19cc3b1521a82d4fafb6368b7a9775428a05) + +## [0.3.0](https://github.com/inspect-js/object-inspect/compare/0.2.0...0.3.0) - 2014-03-04 + +### Commits + +- [] and {} instead of [ ] and { } [`654c44b`](https://github.com/inspect-js/object-inspect/commit/654c44b2865811f3519e57bb8526e0821caf5c6b) + +## [0.2.0](https://github.com/inspect-js/object-inspect/compare/0.1.3...0.2.0) - 2014-03-04 + +### Commits + +- failing holes test [`99cdfad`](https://github.com/inspect-js/object-inspect/commit/99cdfad03c6474740275a75636fe6ca86c77737a) +- regex already work [`e324033`](https://github.com/inspect-js/object-inspect/commit/e324033267025995ec97d32ed0a65737c99477a6) +- failing undef/null test [`1f88a00`](https://github.com/inspect-js/object-inspect/commit/1f88a00265d3209719dda8117b7e6360b4c20943) +- holes in the all example [`7d345f3`](https://github.com/inspect-js/object-inspect/commit/7d345f3676dcbe980cff89a4f6c243269ebbb709) +- check for .inspect(), fixes Buffer use-case [`c3f7546`](https://github.com/inspect-js/object-inspect/commit/c3f75466dbca125347d49847c05262c292f12b79) +- fixes for holes [`ce25f73`](https://github.com/inspect-js/object-inspect/commit/ce25f736683de4b92ff27dc5471218415e2d78d8) +- weird null behavior [`405c1ea`](https://github.com/inspect-js/object-inspect/commit/405c1ea72cd5a8cf3b498c3eaa903d01b9fbcab5) +- tape is actually a devDependency, upgrade [`703b0ce`](https://github.com/inspect-js/object-inspect/commit/703b0ce6c5817b4245a082564bccd877e0bb6990) +- put date in the example [`a342219`](https://github.com/inspect-js/object-inspect/commit/a3422190eeaa013215f46df2d0d37b48595ac058) +- passing the null test [`4ab737e`](https://github.com/inspect-js/object-inspect/commit/4ab737ebf862a75d247ebe51e79307a34d6380d4) + +## [0.1.3](https://github.com/inspect-js/object-inspect/compare/0.1.1...0.1.3) - 2013-07-26 + +### Commits + +- special isElement() check [`882768a`](https://github.com/inspect-js/object-inspect/commit/882768a54035d30747be9de1baf14e5aa0daa128) +- oh right old IEs don't have indexOf either [`36d1275`](https://github.com/inspect-js/object-inspect/commit/36d12756c38b08a74370b0bb696c809e529913a5) + +## [0.1.1](https://github.com/inspect-js/object-inspect/compare/0.1.0...0.1.1) - 2013-07-26 + +### Commits + +- tests! [`4422fd9`](https://github.com/inspect-js/object-inspect/commit/4422fd95532c2745aa6c4f786f35f1090be29998) +- fix for ie<9, doesn't have hasOwnProperty [`6b7d611`](https://github.com/inspect-js/object-inspect/commit/6b7d61183050f6da801ea04473211da226482613) +- fix for all IEs: no f.name [`4e0c2f6`](https://github.com/inspect-js/object-inspect/commit/4e0c2f6dfd01c306d067d7163319acc97c94ee50) +- badges [`5ed0d88`](https://github.com/inspect-js/object-inspect/commit/5ed0d88e4e407f9cb327fa4a146c17921f9680f3) + +## [0.1.0](https://github.com/inspect-js/object-inspect/compare/0.0.0...0.1.0) - 2013-07-26 + +### Commits + +- [Function] for functions [`ad5c485`](https://github.com/inspect-js/object-inspect/commit/ad5c485098fc83352cb540a60b2548ca56820e0b) + +## 0.0.0 - 2013-07-26 + +### Commits + +- working browser example [`34be6b6`](https://github.com/inspect-js/object-inspect/commit/34be6b6548f9ce92bdc3c27572857ba0c4a1218d) +- package.json etc [`cad51f2`](https://github.com/inspect-js/object-inspect/commit/cad51f23fc6bcf1a456ed6abe16088256c2f632f) +- docs complete [`b80cce2`](https://github.com/inspect-js/object-inspect/commit/b80cce2490c4e7183a9ee11ea89071f0abec4446) +- circular example [`4b4a7b9`](https://github.com/inspect-js/object-inspect/commit/4b4a7b92209e4e6b4630976cb6bcd17d14165a59) +- string rep [`7afb479`](https://github.com/inspect-js/object-inspect/commit/7afb479baa798d27f09e0a178b72ea327f60f5c8) diff --git a/node_modules/object-inspect/package-support.json b/node_modules/object-inspect/package-support.json new file mode 100644 index 000000000..5cc12d058 --- /dev/null +++ b/node_modules/object-inspect/package-support.json @@ -0,0 +1,20 @@ +{ + "versions": [ + { + "version": "*", + "target": { + "node": "all" + }, + "response": { + "type": "time-permitting" + }, + "backing": { + "npm-funding": true, + "donations": [ + "https://github.com/ljharb", + "https://tidelift.com/funding/github/npm/object-inspect" + ] + } + } + ] +} diff --git a/node_modules/touch/node_modules/.bin/nopt.cmd b/node_modules/touch/node_modules/.bin/nopt.cmd new file mode 100644 index 000000000..a7f38b3da --- /dev/null +++ b/node_modules/touch/node_modules/.bin/nopt.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nopt\bin\nopt.js" %* diff --git a/node_modules/touch/node_modules/.bin/nopt.ps1 b/node_modules/touch/node_modules/.bin/nopt.ps1 new file mode 100644 index 000000000..9d6ba56f6 --- /dev/null +++ b/node_modules/touch/node_modules/.bin/nopt.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../nopt/bin/nopt.js" $args + } else { + & "$basedir/node$exe" "$basedir/../nopt/bin/nopt.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../nopt/bin/nopt.js" $args + } else { + & "node$exe" "$basedir/../nopt/bin/nopt.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret