Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(cli): introduce basic playwright CLI tool (#2571)
Pavel Feldmanf2c47b1d3387
diff --git a/package-lock.json b/package-lock.jsonindex 2e656d7432..f290441bff 100644--- a/package-lock.json+++ b/package-lock.json@@ -5,27 +5,27 @@"requires": true,"dependencies": {"@babel/code-frame": {- "version": "7.8.3",- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",- "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",+ "version": "7.10.1",+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz",+ "integrity": "sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==","dev": true,"requires": {- "@babel/highlight": "^7.8.3"+ "@babel/highlight": "^7.10.1"}},"@babel/helper-validator-identifier": {- "version": "7.9.5",- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz",- "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==",+ "version": "7.10.1",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz",+ "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==","dev": true},"@babel/highlight": {- "version": "7.9.0",- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz",- "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==",+ "version": "7.10.1",+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz",+ "integrity": "sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==","dev": true,"requires": {- "@babel/helper-validator-identifier": "^7.9.0",+ "@babel/helper-validator-identifier": "^7.10.1","chalk": "^2.0.0","js-tokens": "^4.0.0"}@@ -80,12 +80,6 @@"integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==","dev": true},- "@types/events": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz",- "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==",- "dev": true- },"@types/extract-zip": {"version": "1.6.2","resolved": "https://registry.npmjs.org/@types/extract-zip/-/extract-zip-1.6.2.tgz",@@ -93,26 +87,25 @@"dev": true},"@types/glob": {- "version": "7.1.1",- "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz",- "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==",+ "version": "7.1.2",+ "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.2.tgz",+ "integrity": "sha512-VgNIkxK+j7Nz5P7jvUZlRvhuPSmsEfS03b0alKcq5V/STUKAa3Plemsn5mrQUO7am6OErJ4rhGEGJbACclrtRA==","dev": true,"requires": {- "@types/events": "*","@types/minimatch": "*","@types/node": "*"}},"@types/json-schema": {- "version": "7.0.4",- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz",- "integrity": "sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==",+ "version": "7.0.5",+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz",+ "integrity": "sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==","dev": true},"@types/mime": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.1.tgz",- "integrity": "sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw==",+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.2.tgz",+ "integrity": "sha512-4kPlzbljFcsttWEq6aBW0OZe6BDajAmyvr2xknBG92tejQnvdGtT9+kXSZ580DqpxY9qG2xeQVF9Dq0ymUTo5Q==","dev": true},"@types/minimatch": {@@ -122,9 +115,9 @@"dev": true},"@types/node": {- "version": "10.17.21",- "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.21.tgz",- "integrity": "sha512-PQKsydPxYxF1DsAFWmunaxd3sOi3iMt6Zmx/tgaagHYmwJ/9cRH91hQkeJZaUGWbvn0K5HlSVEXkn5U/llWPpQ==",+ "version": "10.17.26",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.26.tgz",+ "integrity": "sha512-myMwkO2Cr82kirHY8uknNRHEVtn0wV3DTQfkrjx17jmkstDRZ24gNUdl8AHXVyVclTYI/bNjgTPTAWvWLqXqkw==","dev": true},"@types/pngjs": {@@ -183,53 +176,53 @@},"dependencies": {"@types/node": {- "version": "13.13.5",- "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.5.tgz",- "integrity": "sha512-3ySmiBYJPqgjiHA7oEaIo2Rzz0HrOZ7yrNO5HWyaE5q0lQ3BppDZ3N53Miz8bw2I7gh1/zir2MGVZBvpb1zq9g==",+ "version": "14.0.13",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.13.tgz",+ "integrity": "sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA==","optional": true}}},"@typescript-eslint/eslint-plugin": {- "version": "2.31.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.31.0.tgz",- "integrity": "sha512-iIC0Pb8qDaoit+m80Ln/aaeu9zKQdOLF4SHcGLarSeY1gurW6aU4JsOPMjKQwXlw70MvWKZQc6S2NamA8SJ/gg==",+ "version": "2.34.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.34.0.tgz",+ "integrity": "sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ==","dev": true,"requires": {- "@typescript-eslint/experimental-utils": "2.31.0",+ "@typescript-eslint/experimental-utils": "2.34.0","functional-red-black-tree": "^1.0.1","regexpp": "^3.0.0","tsutils": "^3.17.1"}},"@typescript-eslint/experimental-utils": {- "version": "2.31.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.31.0.tgz",- "integrity": "sha512-MI6IWkutLYQYTQgZ48IVnRXmLR/0Q6oAyJgiOror74arUMh7EWjJkADfirZhRsUMHeLJ85U2iySDwHTSnNi9vA==",+ "version": "2.34.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz",+ "integrity": "sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA==","dev": true,"requires": {"@types/json-schema": "^7.0.3",- "@typescript-eslint/typescript-estree": "2.31.0",+ "@typescript-eslint/typescript-estree": "2.34.0","eslint-scope": "^5.0.0","eslint-utils": "^2.0.0"}},"@typescript-eslint/parser": {- "version": "2.31.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.31.0.tgz",- "integrity": "sha512-uph+w6xUOlyV2DLSC6o+fBDzZ5i7+3/TxAsH4h3eC64tlga57oMb96vVlXoMwjR/nN+xyWlsnxtbDkB46M2EPQ==",+ "version": "2.34.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.34.0.tgz",+ "integrity": "sha512-03ilO0ucSD0EPTw2X4PntSIRFtDPWjrVq7C3/Z3VQHRC7+13YB55rcJI3Jt+YgeHbjUdJPcPa7b23rXCBokuyA==","dev": true,"requires": {"@types/eslint-visitor-keys": "^1.0.0",- "@typescript-eslint/experimental-utils": "2.31.0",- "@typescript-eslint/typescript-estree": "2.31.0",+ "@typescript-eslint/experimental-utils": "2.34.0",+ "@typescript-eslint/typescript-estree": "2.34.0","eslint-visitor-keys": "^1.1.0"}},"@typescript-eslint/typescript-estree": {- "version": "2.31.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.31.0.tgz",- "integrity": "sha512-vxW149bXFXXuBrAak0eKHOzbcu9cvi6iNcJDzEtOkRwGHxJG15chiAQAwhLOsk+86p9GTr/TziYvw+H9kMaIgA==",+ "version": "2.34.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz",+ "integrity": "sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg==","dev": true,"requires": {"debug": "^4.1.1",@@ -237,7 +230,7 @@"glob": "^7.1.6","is-glob": "^4.0.1","lodash": "^4.17.15",- "semver": "^6.3.0",+ "semver": "^7.3.2","tsutils": "^3.17.1"}},@@ -429,9 +422,9 @@"dev": true},"acorn": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.2.0.tgz",- "integrity": "sha512-apwXVmYVpQ34m/i71vrApRrRKCWQnZZF1+npOD0WV5xZFfwWOmKGQ2RWlfdy9vWITsenisM8M0Qeq8agcFHNiQ==",+ "version": "7.3.1",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.3.1.tgz",+ "integrity": "sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==","dev": true},"acorn-jsx": {@@ -505,127 +498,14 @@}},"anymatch": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",- "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",+ "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==","dev": true,+ "optional": true,"requires": {- "micromatch": "^3.1.4",- "normalize-path": "^2.1.1"- },- "dependencies": {- "braces": {- "version": "2.3.2",- "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",- "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",- "dev": true,- "requires": {- "arr-flatten": "^1.1.0",- "array-unique": "^0.3.2",- "extend-shallow": "^2.0.1",- "fill-range": "^4.0.0",- "isobject": "^3.0.1",- "repeat-element": "^1.1.2",- "snapdragon": "^0.8.1",- "snapdragon-node": "^2.0.1",- "split-string": "^3.0.2",- "to-regex": "^3.0.1"- },- "dependencies": {- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- }- }- },- "fill-range": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",- "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",- "dev": true,- "requires": {- "extend-shallow": "^2.0.1",- "is-number": "^3.0.0",- "repeat-string": "^1.6.1",- "to-regex-range": "^2.1.0"- },- "dependencies": {- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- }- }- },- "is-number": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",- "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",- "dev": true,- "requires": {- "kind-of": "^3.0.2"- },- "dependencies": {- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,- "requires": {- "is-buffer": "^1.1.5"- }- }- }- },- "micromatch": {- "version": "3.1.10",- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",- "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",- "dev": true,- "requires": {- "arr-diff": "^4.0.0",- "array-unique": "^0.3.2",- "braces": "^2.3.1",- "define-property": "^2.0.2",- "extend-shallow": "^3.0.2",- "extglob": "^2.0.4",- "fragment-cache": "^0.2.1",- "kind-of": "^6.0.2",- "nanomatch": "^1.2.9",- "object.pick": "^1.3.0",- "regex-not": "^1.0.0",- "snapdragon": "^0.8.1",- "to-regex": "^3.0.2"- }- },- "normalize-path": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",- "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",- "dev": true,- "requires": {- "remove-trailing-separator": "^1.0.1"- }- },- "to-regex-range": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",- "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",- "dev": true,- "requires": {- "is-number": "^3.0.0",- "repeat-string": "^1.6.1"- }- }+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"}},"aproba": {@@ -641,6 +521,14 @@"dev": true,"requires": {"sprintf-js": "~1.0.2"+ },+ "dependencies": {+ "sprintf-js": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",+ "dev": true+ }}},"arr-diff": {@@ -679,9 +567,9 @@},"dependencies": {"bn.js": {- "version": "4.11.8",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",+ "version": "4.11.9",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==","dev": true}}@@ -735,7 +623,8 @@"version": "1.0.3","resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz","integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==",- "dev": true+ "dev": true,+ "optional": true},"async-limiter": {"version": "1.0.1",@@ -821,10 +710,11 @@"dev": true},"binary-extensions": {- "version": "1.13.1",- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",- "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",- "dev": true+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz",+ "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==",+ "dev": true,+ "optional": true},"bindings": {"version": "1.5.0",@@ -843,9 +733,9 @@"dev": true},"bn.js": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.1.1.tgz",- "integrity": "sha512-IUTD/REb78Z2eodka1QZyyEk66pciRcP6Sroka0aI3tG/iwIdYLrBD62RsubR7vqdt3WyX8p4jxeatzmRSphtA==",+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.1.2.tgz",+ "integrity": "sha512-40rZaf3bUNKTVYu9sIeeEGOg7g14Yvnj9kH7b50EiwX0Q7A6umbvfI5tvHaOERH0XigqKkfLkFQxzb4e6CIXnA==","dev": true},"boolean": {@@ -927,17 +817,17 @@},"dependencies": {"bn.js": {- "version": "4.11.8",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",+ "version": "4.11.9",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==","dev": true}}},"browserify-sign": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.1.0.tgz",- "integrity": "sha512-VYxo7cDCeYUoBZ0ZCy4UyEUCP3smyBd4DRQM5nrFS1jJjPJjX7rP3oLRpPoWfkhQfyJ0I9ZbHbKafrFD/SGlrg==",+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.0.tgz",+ "integrity": "sha512-hEZC1KEeYuoHRqhGhTy6gWrpJA3ZDjFWv0DE61643ZnOXAKJb3u7yWcrU0mMc9SwAqK1n7myPGndkp0dFG7NFA==","dev": true,"requires": {"bn.js": "^5.1.1",@@ -947,7 +837,8 @@"elliptic": "^6.5.2","inherits": "^2.0.4","parse-asn1": "^5.1.5",- "readable-stream": "^3.6.0"+ "readable-stream": "^3.6.0",+ "safe-buffer": "^5.2.0"},"dependencies": {"readable-stream": {@@ -960,6 +851,12 @@"string_decoder": "^1.1.1","util-deprecate": "^1.0.1"}+ },+ "safe-buffer": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",+ "dev": true}}},@@ -1101,6 +998,14 @@"ansi-styles": "^3.2.1","escape-string-regexp": "^1.0.5","supports-color": "^5.3.0"+ },+ "dependencies": {+ "escape-string-regexp": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",+ "dev": true+ }}},"chardet": {@@ -1110,113 +1015,20 @@"dev": true},"chokidar": {- "version": "2.1.8",- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",- "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.0.tgz",+ "integrity": "sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ==","dev": true,+ "optional": true,"requires": {- "anymatch": "^2.0.0",- "async-each": "^1.0.1",- "braces": "^2.3.2",- "fsevents": "^1.2.7",- "glob-parent": "^3.1.0",- "inherits": "^2.0.3",- "is-binary-path": "^1.0.0",- "is-glob": "^4.0.0",- "normalize-path": "^3.0.0",- "path-is-absolute": "^1.0.0",- "readdirp": "^2.2.1",- "upath": "^1.1.1"- },- "dependencies": {- "braces": {- "version": "2.3.2",- "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",- "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",- "dev": true,- "requires": {- "arr-flatten": "^1.1.0",- "array-unique": "^0.3.2",- "extend-shallow": "^2.0.1",- "fill-range": "^4.0.0",- "isobject": "^3.0.1",- "repeat-element": "^1.1.2",- "snapdragon": "^0.8.1",- "snapdragon-node": "^2.0.1",- "split-string": "^3.0.2",- "to-regex": "^3.0.1"- }- },- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- },- "fill-range": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",- "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",- "dev": true,- "requires": {- "extend-shallow": "^2.0.1",- "is-number": "^3.0.0",- "repeat-string": "^1.6.1",- "to-regex-range": "^2.1.0"- }- },- "glob-parent": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",- "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",- "dev": true,- "requires": {- "is-glob": "^3.1.0",- "path-dirname": "^1.0.0"- },- "dependencies": {- "is-glob": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",- "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",- "dev": true,- "requires": {- "is-extglob": "^2.1.0"- }- }- }- },- "is-number": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",- "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",- "dev": true,- "requires": {- "kind-of": "^3.0.2"- }- },- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,- "requires": {- "is-buffer": "^1.1.5"- }- },- "to-regex-range": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",- "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",- "dev": true,- "requires": {- "is-number": "^3.0.0",- "repeat-string": "^1.6.1"- }- }+ "anymatch": "~3.1.1",+ "braces": "~3.0.2",+ "fsevents": "~2.1.2",+ "glob-parent": "~5.1.0",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.4.0"}},"chownr": {@@ -1387,10 +1199,9 @@"dev": true},"commander": {- "version": "2.20.3",- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",- "dev": true+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz",+ "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg=="},"commondir": {"version": "1.0.1",@@ -1511,9 +1322,9 @@},"dependencies": {"bn.js": {- "version": "4.11.8",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",+ "version": "4.11.9",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==","dev": true}}@@ -1733,9 +1544,9 @@},"dependencies": {"bn.js": {- "version": "4.11.8",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",+ "version": "4.11.9",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==","dev": true}}@@ -1774,9 +1585,9 @@}},"electron": {- "version": "9.0.0-beta.24",- "resolved": "https://registry.npmjs.org/electron/-/electron-9.0.0-beta.24.tgz",- "integrity": "sha512-25L3XMqm/1CCaV5CgU5ZkhKXw9830WeipJrTW0+VC5XTKp/3xHwhxyQ5G1kQnOTJd7IGwOamvw237D6e1YKnng==",+ "version": "9.0.4",+ "resolved": "https://registry.npmjs.org/electron/-/electron-9.0.4.tgz",+ "integrity": "sha512-QzkeZNAiNB7KxcdoQKSoaiVT/GQdB4Vt0/ZZOuU8tIKABAsni2I7ztiAbUzxcsnQsqEBSfChuPuDQ5A4VbbzPg==","dev": true,"requires": {"@electron/get": "^1.0.1",@@ -1785,9 +1596,9 @@},"dependencies": {"@types/node": {- "version": "12.12.38",- "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.38.tgz",- "integrity": "sha512-75eLjX0pFuTcUXnnWmALMzzkYorjND0ezNEycaKesbUBg9eGZp4GHPuDmkRc4mQQvIpe29zrzATNRA6hkYqwmA==",+ "version": "12.12.47",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.47.tgz",+ "integrity": "sha512-yzBInQFhdY8kaZmqoL2+3U5dSTMrKaYcb561VU+lDzAYvqt+2lojvBEy+hmpSNuXnPTx7m9+04CzWYOUqWME2A==","dev": true},"debug": {@@ -1835,9 +1646,9 @@},"dependencies": {"bn.js": {- "version": "4.11.8",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",+ "version": "4.11.9",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==","dev": true}}@@ -1922,10 +1733,11 @@}},"escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",+ "dev": true,+ "optional": true},"eslint": {"version": "6.8.0",@@ -1986,13 +1798,19 @@"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz","integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==","dev": true+ },+ "semver": {+ "version": "6.3.0",+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",+ "dev": true}}},"eslint-scope": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",- "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz",+ "integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==","dev": true,"requires": {"esrecurse": "^4.1.0",@@ -2009,9 +1827,9 @@}},"eslint-visitor-keys": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",- "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.2.0.tgz",+ "integrity": "sha512-WFb4ihckKil6hu3Dp798xdzSfddwKKU3+nGniKF6HfeW6OLd2OUDEPP7TcHtB5+QXOKg2s6B2DaMPE1Nn/kxKQ==","dev": true},"espree": {@@ -2268,9 +2086,9 @@}},"extract-zip": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.0.tgz",- "integrity": "sha512-i42GQ498yibjdvIhivUsRslx608whtGoFIhF26Z7O4MYncBxp8CwalOs1lnHy21A9sIohWO2+uiE4SRtC9JXDg==",+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==","requires": {"@types/yauzl": "^2.9.1","debug": "^4.1.1",@@ -2285,9 +2103,9 @@"dev": true},"fast-deep-equal": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",- "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==",+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==","dev": true},"fast-json-stable-stringify": {@@ -2323,6 +2141,14 @@"dev": true,"requires": {"escape-string-regexp": "^1.0.5"+ },+ "dependencies": {+ "escape-string-regexp": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",+ "dev": true+ }}},"file-entry-cache": {@@ -2585,15 +2411,11 @@"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="},"fsevents": {- "version": "1.2.13",- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",- "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",+ "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==","dev": true,- "optional": true,- "requires": {- "bindings": "^1.5.0",- "nan": "^2.12.1"- }+ "optional": true},"functional-red-black-tree": {"version": "1.0.1",@@ -2644,28 +2466,19 @@}},"global-agent": {- "version": "2.1.8",- "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-2.1.8.tgz",- "integrity": "sha512-VpBe/rhY6Rw2VDOTszAMNambg+4Qv8j0yiTNDYEXXXxkUNGWLHp8A3ztK4YDBbFNcWF4rgsec6/5gPyryya/+A==",+ "version": "2.1.12",+ "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-2.1.12.tgz",+ "integrity": "sha512-caAljRMS/qcDo69X9BfkgrihGUgGx44Fb4QQToNQjsiWh+YlQ66uqYVAdA8Olqit+5Ng0nkz09je3ZzANMZcjg==","dev": true,"optional": true,"requires": {- "boolean": "^3.0.0",- "core-js": "^3.6.4",+ "boolean": "^3.0.1",+ "core-js": "^3.6.5","es6-error": "^4.1.1",- "matcher": "^2.1.0",- "roarr": "^2.15.2",- "semver": "^7.1.2",- "serialize-error": "^5.0.0"- },- "dependencies": {- "semver": {- "version": "7.3.2",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",- "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==",- "dev": true,- "optional": true- }+ "matcher": "^3.0.0",+ "roarr": "^2.15.3",+ "semver": "^7.3.2",+ "serialize-error": "^7.0.1"}},"global-modules": {@@ -2723,6 +2536,14 @@"dev": true,"requires": {"type-fest": "^0.8.1"+ },+ "dependencies": {+ "type-fest": {+ "version": "0.8.1",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",+ "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",+ "dev": true+ }}},"globalthis": {@@ -3114,12 +2935,13 @@}},"is-binary-path": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",- "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==","dev": true,+ "optional": true,"requires": {- "binary-extensions": "^1.0.0"+ "binary-extensions": "^2.0.0"}},"is-buffer": {@@ -3263,9 +3085,9 @@"dev": true},"js-yaml": {- "version": "3.13.1",- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",- "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",+ "version": "3.14.0",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",+ "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==","dev": true,"requires": {"argparse": "^1.0.7",@@ -3413,6 +3235,12 @@"semver": "^5.6.0"},"dependencies": {+ "pify": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",+ "dev": true+ },"semver": {"version": "5.7.1","resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",@@ -3446,22 +3274,13 @@}},"matcher": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/matcher/-/matcher-2.1.0.tgz",- "integrity": "sha512-o+nZr+vtJtgPNklyeUKkkH42OsK8WAfdgaJE2FNxcjLPg+5QbeEoT6vRj8Xq/iv18JlQ9cmKsEu0b94ixWf1YQ==",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",+ "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==","dev": true,"optional": true,"requires": {- "escape-string-regexp": "^2.0.0"- },- "dependencies": {- "escape-string-regexp": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",- "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",- "dev": true,- "optional": true- }+ "escape-string-regexp": "^4.0.0"}},"md5.js": {@@ -3523,17 +3342,17 @@},"dependencies": {"bn.js": {- "version": "4.11.8",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",+ "version": "4.11.9",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==","dev": true}}},"mime": {- "version": "2.4.5",- "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.5.tgz",- "integrity": "sha512-3hQhEUF027BuxZjQA3s7rIv/7VCQPa27hN9u9g87sEkWaKwQPuXOkVKtOeiyUrnWqTDiOs8Ed2rwg733mB0R5w=="+ "version": "2.4.6",+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",+ "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA=="},"mimic-fn": {"version": "2.1.0",@@ -3747,16 +3566,17 @@}},"node-stream-zip": {- "version": "1.10.1",- "resolved": "https://registry.npmjs.org/node-stream-zip/-/node-stream-zip-1.10.1.tgz",- "integrity": "sha512-fd2jdfvs3xJhSGpipy3EgCHGgFMXZkJh6HeQ8LURfMUW9oHcPEMWLXO657MtMRGJCHvQYQk6dTHZmNycu87PEg==",+ "version": "1.11.2",+ "resolved": "https://registry.npmjs.org/node-stream-zip/-/node-stream-zip-1.11.2.tgz",+ "integrity": "sha512-cowCX+OyzS3tN2i4BMMFxCr/pE6cQlEMTbVCugmos0TNEJQNtcG04tR41CY8lumO1I7F5GFiLaU4WavomJthaA==","dev": true},"normalize-path": {"version": "3.0.0","resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz","integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",- "dev": true+ "dev": true,+ "optional": true},"normalize-url": {"version": "4.5.0",@@ -3773,15 +3593,6 @@"requires": {"config-chain": "^1.1.11","pify": "^3.0.0"- },- "dependencies": {- "pify": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",- "dev": true,- "optional": true- }}},"npm-run-path": {@@ -4019,7 +3830,8 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz","integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",- "dev": true+ "dev": true,+ "optional": true},"path-exists": {"version": "3.0.0",@@ -4039,9 +3851,9 @@"dev": true},"pbkdf2": {- "version": "3.0.17",- "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz",- "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==",+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz",+ "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==","dev": true,"requires": {"create-hash": "^1.1.2",@@ -4063,10 +3875,11 @@"dev": true},"pify": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",- "dev": true+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",+ "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",+ "dev": true,+ "optional": true},"pixelmatch": {"version": "4.0.2",@@ -4179,9 +3992,9 @@},"dependencies": {"bn.js": {- "version": "4.11.8",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",+ "version": "4.11.9",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==","dev": true}}@@ -4271,119 +4084,13 @@}},"readdirp": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",- "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",+ "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==","dev": true,+ "optional": true,"requires": {- "graceful-fs": "^4.1.11",- "micromatch": "^3.1.10",- "readable-stream": "^2.0.2"- },- "dependencies": {- "braces": {- "version": "2.3.2",- "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",- "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",- "dev": true,- "requires": {- "arr-flatten": "^1.1.0",- "array-unique": "^0.3.2",- "extend-shallow": "^2.0.1",- "fill-range": "^4.0.0",- "isobject": "^3.0.1",- "repeat-element": "^1.1.2",- "snapdragon": "^0.8.1",- "snapdragon-node": "^2.0.1",- "split-string": "^3.0.2",- "to-regex": "^3.0.1"- },- "dependencies": {- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- }- }- },- "fill-range": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",- "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",- "dev": true,- "requires": {- "extend-shallow": "^2.0.1",- "is-number": "^3.0.0",- "repeat-string": "^1.6.1",- "to-regex-range": "^2.1.0"- },- "dependencies": {- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- }- }- },- "is-number": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",- "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",- "dev": true,- "requires": {- "kind-of": "^3.0.2"- },- "dependencies": {- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,- "requires": {- "is-buffer": "^1.1.5"- }- }- }- },- "micromatch": {- "version": "3.1.10",- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",- "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",- "dev": true,- "requires": {- "arr-diff": "^4.0.0",- "array-unique": "^0.3.2",- "braces": "^2.3.1",- "define-property": "^2.0.2",- "extend-shallow": "^3.0.2",- "extglob": "^2.0.4",- "fragment-cache": "^0.2.1",- "kind-of": "^6.0.2",- "nanomatch": "^1.2.9",- "object.pick": "^1.3.0",- "regex-not": "^1.0.0",- "snapdragon": "^0.8.1",- "to-regex": "^3.0.2"- }- },- "to-regex-range": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",- "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",- "dev": true,- "requires": {- "is-number": "^3.0.0",- "repeat-string": "^1.6.1"- }- }+ "picomatch": "^2.2.1"}},"regex-not": {@@ -4406,7 +4113,8 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz","integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",- "dev": true+ "dev": true,+ "optional": true},"repeat-element": {"version": "1.1.3",@@ -4540,15 +4248,6 @@"json-stringify-safe": "^5.0.1","semver-compare": "^1.0.0","sprintf-js": "^1.1.2"- },- "dependencies": {- "sprintf-js": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz",- "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==",- "dev": true,- "optional": true- }}},"run-async": {@@ -4617,9 +4316,9 @@}},"semver": {- "version": "6.3.0",- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",+ "version": "7.3.2",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",+ "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==","dev": true},"semver-compare": {@@ -4630,20 +4329,23 @@"optional": true},"serialize-error": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-5.0.0.tgz",- "integrity": "sha512-/VtpuyzYf82mHYTtI4QKtwHa79vAdU5OQpNPAmE/0UDdlGT0ZxHwC+J6gXkw29wwoVI8fMPsfcVHOwXtUQYYQA==",+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz",+ "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==","dev": true,"optional": true,"requires": {- "type-fest": "^0.8.0"+ "type-fest": "^0.13.1"}},"serialize-javascript": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-2.1.2.tgz",- "integrity": "sha512-rs9OggEUF0V4jUSecXazOYsLfu7OGK2qIn3c7IPBiffz32XniEp/TX9Xmc9LQfK2nQ2QKHvZ2oygKUGU0lG4jQ==",- "dev": true+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-3.1.0.tgz",+ "integrity": "sha512-JIJT1DGiWmIKhzRsG91aS6Ze4sFUrYbltlkg2onR5OrnNM02Kl/hnY/T4FN2omvyeBbQmMJv+K4cPOpGzOTFBg==",+ "dev": true,+ "requires": {+ "randombytes": "^2.1.0"+ }},"set-blocking": {"version": "2.0.0",@@ -4778,12 +4480,6 @@"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz","integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=","dev": true- },- "source-map": {- "version": "0.5.7",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",- "dev": true}}},@@ -4892,6 +4588,12 @@"integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==","dev": true},+ "source-map": {+ "version": "0.5.7",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",+ "dev": true+ },"source-map-resolve": {"version": "0.5.3","resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz",@@ -4939,10 +4641,11 @@}},"sprintf-js": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",- "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",- "dev": true+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz",+ "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==",+ "dev": true,+ "optional": true},"ssri": {"version": "6.0.1",@@ -5147,9 +4850,9 @@"dev": true},"terser": {- "version": "4.6.13",- "resolved": "https://registry.npmjs.org/terser/-/terser-4.6.13.tgz",- "integrity": "sha512-wMvqukYgVpQlymbnNbabVZbtM6PN63AzqexpwJL8tbh/mRT9LE5o+ruVduAGL7D6Fpjl+Q+06U5I9Ul82odAhw==",+ "version": "4.7.0",+ "resolved": "https://registry.npmjs.org/terser/-/terser-4.7.0.tgz",+ "integrity": "sha512-Lfb0RiZcjRDXCC3OSHJpEkxJ9Qeqs6mp2v4jf2MHfy8vGERmVDuvjXdd/EnP5Deme5F2yBRBymKmKHCBg2echw==","dev": true,"requires": {"commander": "^2.20.0",@@ -5157,6 +4860,12 @@"source-map-support": "~0.5.12"},"dependencies": {+ "commander": {+ "version": "2.20.3",+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",+ "dev": true+ },"source-map": {"version": "0.6.1","resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",@@ -5166,16 +4875,16 @@}},"terser-webpack-plugin": {- "version": "1.4.3",- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.3.tgz",- "integrity": "sha512-QMxecFz/gHQwteWwSo5nTc6UaICqN1bMedC5sMtUc7y3Ha3Q8y6ZO0iCR8pq4RJC8Hjf0FEPEHZqcMB/+DFCrA==",+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.4.tgz",+ "integrity": "sha512-U4mACBHIegmfoEe5fdongHESNJWqsGU+W0S/9+BmYGVQDw1+c2Ow05TpMhxjPK1sRb7cuYq1BPl1e5YHJMTCqA==","dev": true,"requires": {"cacache": "^12.0.2","find-cache-dir": "^2.1.0","is-wsl": "^1.1.0","schema-utils": "^1.0.0",- "serialize-javascript": "^2.1.2",+ "serialize-javascript": "^3.1.0","source-map": "^0.6.1","terser": "^4.1.2","webpack-sources": "^1.4.0",@@ -5309,12 +5018,20 @@"loader-utils": "^1.0.2","micromatch": "^4.0.0","semver": "^6.0.0"+ },+ "dependencies": {+ "semver": {+ "version": "6.3.0",+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",+ "dev": true+ }}},"tslib": {- "version": "1.11.2",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.2.tgz",- "integrity": "sha512-tTSkux6IGPnUGUd1XAZHcpu85MOkIl5zX49pO+jfsie3eP0B6pyhOlLXm3cAC6T7s+euSDDUUV+Acop5WmtkVg==",+ "version": "1.13.0",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",+ "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==","dev": true},"tsutils": {@@ -5349,10 +5066,11 @@}},"type-fest": {- "version": "0.8.1",- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",- "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",- "dev": true+ "version": "0.13.1",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",+ "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==",+ "dev": true,+ "optional": true},"typedarray": {"version": "0.0.6",@@ -5361,9 +5079,9 @@"dev": true},"typescript": {- "version": "3.8.3",- "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz",- "integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==",+ "version": "3.9.5",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.5.tgz",+ "integrity": "sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ==","dev": true},"union-value": {@@ -5446,7 +5164,8 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz","integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==",- "dev": true+ "dev": true,+ "optional": true},"uri-js": {"version": "4.2.2",@@ -5526,9 +5245,9 @@"dev": true},"v8-compile-cache": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz",- "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==",+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz",+ "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==","dev": true},"vm-browserify": {@@ -5538,14 +5257,245 @@"dev": true},"watchpack": {- "version": "1.6.1",- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.1.tgz",- "integrity": "sha512-+IF9hfUFOrYOOaKyfaI7h7dquUIOgyEMoQMLA7OP5FxegKA2+XdXThAZ9TU2kucfhDH7rfMHs1oPYziVGWRnZA==",+ "version": "1.7.2",+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.2.tgz",+ "integrity": "sha512-ymVbbQP40MFTp+cNMvpyBpBtygHnPzPkHqoIwRRj/0B8KhqQwV8LaKjtbaxF2lK4vl8zN9wCxS46IFCU5K4W0g==","dev": true,"requires": {- "chokidar": "^2.1.8",+ "chokidar": "^3.4.0","graceful-fs": "^4.1.2",- "neo-async": "^2.5.0"+ "neo-async": "^2.5.0",+ "watchpack-chokidar2": "^2.0.0"+ }+ },+ "watchpack-chokidar2": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.0.tgz",+ "integrity": "sha512-9TyfOyN/zLUbA288wZ8IsMZ+6cbzvsNyEzSBp6e/zkifi6xxbl8SmQ/CxQq32k8NNqrdVEVUVSEf56L4rQ/ZxA==",+ "dev": true,+ "optional": true,+ "requires": {+ "chokidar": "^2.1.8"+ },+ "dependencies": {+ "anymatch": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",+ "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",+ "dev": true,+ "optional": true,+ "requires": {+ "micromatch": "^3.1.4",+ "normalize-path": "^2.1.1"+ },+ "dependencies": {+ "normalize-path": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",+ "dev": true,+ "optional": true,+ "requires": {+ "remove-trailing-separator": "^1.0.1"+ }+ }+ }+ },+ "binary-extensions": {+ "version": "1.13.1",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",+ "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",+ "dev": true,+ "optional": true+ },+ "braces": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",+ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",+ "dev": true,+ "optional": true,+ "requires": {+ "arr-flatten": "^1.1.0",+ "array-unique": "^0.3.2",+ "extend-shallow": "^2.0.1",+ "fill-range": "^4.0.0",+ "isobject": "^3.0.1",+ "repeat-element": "^1.1.2",+ "snapdragon": "^0.8.1",+ "snapdragon-node": "^2.0.1",+ "split-string": "^3.0.2",+ "to-regex": "^3.0.1"+ },+ "dependencies": {+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "dev": true,+ "optional": true,+ "requires": {+ "is-extendable": "^0.1.0"+ }+ }+ }+ },+ "chokidar": {+ "version": "2.1.8",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",+ "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",+ "dev": true,+ "optional": true,+ "requires": {+ "anymatch": "^2.0.0",+ "async-each": "^1.0.1",+ "braces": "^2.3.2",+ "fsevents": "^1.2.7",+ "glob-parent": "^3.1.0",+ "inherits": "^2.0.3",+ "is-binary-path": "^1.0.0",+ "is-glob": "^4.0.0",+ "normalize-path": "^3.0.0",+ "path-is-absolute": "^1.0.0",+ "readdirp": "^2.2.1",+ "upath": "^1.1.1"+ }+ },+ "fill-range": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",+ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",+ "dev": true,+ "optional": true,+ "requires": {+ "extend-shallow": "^2.0.1",+ "is-number": "^3.0.0",+ "repeat-string": "^1.6.1",+ "to-regex-range": "^2.1.0"+ },+ "dependencies": {+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "dev": true,+ "optional": true,+ "requires": {+ "is-extendable": "^0.1.0"+ }+ }+ }+ },+ "fsevents": {+ "version": "1.2.13",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",+ "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",+ "dev": true,+ "optional": true,+ "requires": {+ "bindings": "^1.5.0",+ "nan": "^2.12.1"+ }+ },+ "glob-parent": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",+ "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",+ "dev": true,+ "optional": true,+ "requires": {+ "is-glob": "^3.1.0",+ "path-dirname": "^1.0.0"+ },+ "dependencies": {+ "is-glob": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",+ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",+ "dev": true,+ "optional": true,+ "requires": {+ "is-extglob": "^2.1.0"+ }+ }+ }+ },+ "is-binary-path": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",+ "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",+ "dev": true,+ "optional": true,+ "requires": {+ "binary-extensions": "^1.0.0"+ }+ },+ "is-number": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",+ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",+ "dev": true,+ "optional": true,+ "requires": {+ "kind-of": "^3.0.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "optional": true,+ "requires": {+ "is-buffer": "^1.1.5"+ }+ }+ }+ },+ "micromatch": {+ "version": "3.1.10",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",+ "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",+ "dev": true,+ "optional": true,+ "requires": {+ "arr-diff": "^4.0.0",+ "array-unique": "^0.3.2",+ "braces": "^2.3.1",+ "define-property": "^2.0.2",+ "extend-shallow": "^3.0.2",+ "extglob": "^2.0.4",+ "fragment-cache": "^0.2.1",+ "kind-of": "^6.0.2",+ "nanomatch": "^1.2.9",+ "object.pick": "^1.3.0",+ "regex-not": "^1.0.0",+ "snapdragon": "^0.8.1",+ "to-regex": "^3.0.2"+ }+ },+ "readdirp": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",+ "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",+ "dev": true,+ "optional": true,+ "requires": {+ "graceful-fs": "^4.1.11",+ "micromatch": "^3.1.10",+ "readable-stream": "^2.0.2"+ }+ },+ "to-regex-range": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",+ "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",+ "dev": true,+ "optional": true,+ "requires": {+ "is-number": "^3.0.0",+ "repeat-string": "^1.6.1"+ }+ }}},"webpack": {diff --git a/package.json b/package.jsonindex 0d9b9fe511..07a9bf6622 100644--- a/package.json+++ b/package.json@@ -8,6 +8,9 @@"engines": {"node": ">=10.15.0"},+ "bin": {+ "playwright": "lib/cli/index.js"+ },"scripts": {"ctest": "cross-env BROWSER=chromium node --unhandled-rejections=strict test/test.js","ftest": "cross-env BROWSER=firefox node --unhandled-rejections=strict test/test.js",@@ -39,6 +42,7 @@},"license": "Apache-2.0","dependencies": {+ "commander": "^5.1.0","debug": "^4.1.1","extract-zip": "^2.0.0","https-proxy-agent": "^3.0.0",@@ -69,7 +73,6 @@"eslint": "^6.6.0","esprima": "^4.0.0","formidable": "^1.2.1",- "minimist": "^1.2.5","ncp": "^2.0.0","node-stream-zip": "^1.8.2","pixelmatch": "^4.0.2",diff --git a/src/cli/index.ts b/src/cli/index.tsnew file mode 100755index 0000000000..a82022f903--- /dev/null+++ b/src/cli/index.ts@@ -0,0 +1,101 @@+#!/usr/bin/env node++/**+ * Copyright (c) Microsoft Corporation.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/* eslint-disable no-console */++import * as program from 'commander';+import { Playwright } from '../server/playwright';+import { BrowserType, LaunchOptions } from '../server/browserType';+import { DeviceDescriptors } from '../deviceDescriptors';+import { BrowserContextOptions } from '../browserContext';++const playwright = new Playwright(__dirname, require('../../browsers.json')['browsers']);++program+ .version('Version ' + require('../../package.json').version)+ .option('-b, --browser <browserType>', 'browser to use, one of cr, chromium, ff, firefox, wk, webkit', 'chromium')+ .option('--headless', 'run in headless mode', false)+ .option('--device <deviceName>', 'emulate device, for example "iPhone 11"');++program+ .command('open [url]')+ .description('open page in browser specified via -b, --browser')+ .action(function(url, command) {+ open(command.parent, url);+ }).on('--help', function() {+ console.log('');+ console.log('Examples:');+ console.log('');+ console.log(' $ open');+ console.log(' $ -b webkit open https://example.com');+ });++const browsers = [+ { initial: 'cr', name: 'Chromium', type: 'chromium' },+ { initial: 'ff', name: 'Firefox', type: 'firefox' },+ { initial: 'wk', name: 'WebKit', type: 'webkit' },+];++for (const {initial, name, type} of browsers) {+ program+ .command(`${initial} [url]`)+ .description(`open page in ${name} browser`)+ .action(function(url, command) {+ open({ ...command.parent, browser: type }, url);+ }).on('--help', function() {+ console.log('');+ console.log('Examples:');+ console.log('');+ console.log(` $ ${initial} https://example.com`);+ });+}++program.parse(process.argv);++type Options = {+ browser: string,+ device: string | undefined,+ verbose: boolean,+ headless: boolean,+};++async function open(options: Options, url: string | undefined) {+ const browserType = lookupBrowserType(options.browser);+ const launchOptions: LaunchOptions = { headless: options.headless };+ const browser = await browserType.launch(launchOptions);+ const contextOptions: BrowserContextOptions = options.device ? DeviceDescriptors[options.device] || {} : {};+ const page = await browser.newPage(contextOptions);+ if (url) {+ if (!url.startsWith('http'))+ url = 'http://' + url;+ await page.goto(url);+ }+ return { browser, page };+}++function lookupBrowserType(name: string): BrowserType {+ switch (name) {+ case 'chromium': return playwright.chromium!;+ case 'webkit': return playwright.webkit!;+ case 'firefox': return playwright.firefox!;+ case 'cr': return playwright.chromium!;+ case 'wk': return playwright.webkit!;+ case 'ff': return playwright.firefox!;+ }+ program.help();+}diff --git a/src/debug/injected/html.ts b/src/debug/injected/html.tsindex 054a9afc52..bf5a0c3d7d 100644--- a/src/debug/injected/html.ts+++ b/src/debug/injected/html.ts@@ -78,7 +78,7 @@ function prepareTemplate(strings: TemplateStringsArray) {html += strings[strings.length - 1];template.innerHTML = html;- const walker = template.ownerDocument!.createTreeWalker(+ const walker = template.ownerDocument.createTreeWalker(template.content, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, null, false);const emptyTextNodes: Node[] = [];const subs: Sub[] = [];@@ -145,7 +145,7 @@ function shouldRemoveTextNode(node: Text) {}function renderTemplate(template: HTMLTemplateElement, subs: Sub[], values: (string | Node)[]): DocumentFragment | ChildNode {- const content = template.ownerDocument!.importNode(template.content, true)!;+ const content = template.ownerDocument.importNode(template.content, true)!;const boundElements = Array.from(content.querySelectorAll('[dom-template-marked]'));for (const node of boundElements)node.removeAttribute('dom-template-marked');diff --git a/src/helper.ts b/src/helper.tsindex 44b17c91de..fe31411e21 100644--- a/src/helper.ts+++ b/src/helper.ts@@ -33,7 +33,7 @@ export type RegisteredListener = {export type Listener = (...args: any[]) => void;-const isDebugModeEnv = !!getFromENV('PWDEBUG');+let isInDebugMode = !!getFromENV('PWDEBUG');class Helper {static evaluationString(fun: Function | string, ...args: any[]): string {@@ -303,7 +303,11 @@ class Helper {}static isDebugMode(): boolean {- return isDebugModeEnv;+ return isInDebugMode;+ }++ static setDebugMode() {+ isInDebugMode = true;}}diff --git a/src/injected/attributeSelectorEngine.ts b/src/injected/attributeSelectorEngine.tsindex c1c7db8b12..f1413a41a6 100644--- a/src/injected/attributeSelectorEngine.ts+++ b/src/injected/attributeSelectorEngine.ts@@ -59,7 +59,7 @@ function queryShadowInternal(root: SelectorRoot, attribute: string, value: strin}function queryShadowAllInternal(root: SelectorRoot, attribute: string, value: string, result: Element[]) {- const document = root instanceof Document ? root : root.ownerDocument!;+ const document = root instanceof Document ? root : root.ownerDocument;const walker = document.createTreeWalker(root, NodeFilter.SHOW_ELEMENT);const shadowRoots = [];while (walker.nextNode()) {diff --git a/src/injected/injectedScript.ts b/src/injected/injectedScript.tsindex dbe2f2c423..27e61e3a7e 100644--- a/src/injected/injectedScript.ts+++ b/src/injected/injectedScript.ts@@ -315,9 +315,9 @@ export default class InjectedScript {textarea.focus();return { value: 'done' };}- const range = element.ownerDocument!.createRange();+ const range = element.ownerDocument.createRange();range.selectNodeContents(element);- const selection = element.ownerDocument!.defaultView!.getSelection();+ const selection = element.ownerDocument.defaultView!.getSelection();if (!selection)return { error: 'Element belongs to invisible iframe.' };selection.removeAllRanges();diff --git a/src/injected/textSelectorEngine.ts b/src/injected/textSelectorEngine.tsindex 39e1712169..5f4c85c480 100644--- a/src/injected/textSelectorEngine.ts+++ b/src/injected/textSelectorEngine.ts@@ -94,7 +94,7 @@ function isFilteredNode(root: SelectorRoot, document: Document) {}function queryInternal(root: SelectorRoot, matcher: Matcher, shadow: boolean): Element | undefined {- const document = root instanceof Document ? root : root.ownerDocument!;+ const document = root instanceof Document ? root : root.ownerDocument;if (isFilteredNode(root, document))return;const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT | NodeFilter.SHOW_ELEMENT, nodeFilter);@@ -136,7 +136,7 @@ function queryInternal(root: SelectorRoot, matcher: Matcher, shadow: boolean): E}function queryAllInternal(root: SelectorRoot, matcher: Matcher, shadow: boolean, result: Element[]) {- const document = root instanceof Document ? root : root.ownerDocument!;+ const document = root instanceof Document ? root : root.ownerDocument;if (isFilteredNode(root, document))return;const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT | NodeFilter.SHOW_ELEMENT, nodeFilter);diff --git a/utils/bisect.js b/utils/bisect.jsdeleted file mode 100755index 2c048dd18f..0000000000--- a/utils/bisect.js+++ /dev/null@@ -1,204 +0,0 @@-#!/usr/bin/env node-/**- * Copyright 2018 Google Inc. All rights reserved.- *- * Licensed under the Apache License, Version 2.0 (the "License");- * you may not use this file except in compliance with the License.- * You may obtain a copy of the License at- *- * http://www.apache.org/licenses/LICENSE-2.0- *- * Unless required by applicable law or agreed to in writing, software- * distributed under the License is distributed on an "AS IS" BASIS,- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.- * See the License for the specific language governing permissions and- * limitations under the License.- */--const URL = require('url');-const debug = require('debug');-const playwright = require('..');-const browserFetcher = playwright.chromium._createBrowserFetcher();-const path = require('path');-const fs = require('fs');-const {fork} = require('child_process');--const COLOR_RESET = '\x1b[0m';-const COLOR_RED = '\x1b[31m';-const COLOR_GREEN = '\x1b[32m';-const COLOR_YELLOW = '\x1b[33m';--const argv = require('minimist')(process.argv.slice(2), {});--const help = `-Usage:- node bisect.js --good <revision> --bad <revision> <script>--Parameters:- --good revision that is known to be GOOD- --bad revision that is known to be BAD- <script> path to the script that returns non-zero code for BAD revisions and 0 for good--Example:- node utils/bisect.js --good 577361 --bad 599821 simple.js-`;--if (argv.h || argv.help) {- console.log(help);- process.exit(0);-}--if (typeof argv.good !== 'number') {- console.log(COLOR_RED + 'ERROR: expected --good argument to be a number' + COLOR_RESET);- console.log(help);- process.exit(1);-}--if (typeof argv.bad !== 'number') {- console.log(COLOR_RED + 'ERROR: expected --bad argument to be a number' + COLOR_RESET);- console.log(help);- process.exit(1);-}--const scriptPath = path.resolve(argv._[0]);-if (!fs.existsSync(scriptPath)) {- console.log(COLOR_RED + 'ERROR: Expected to be given a path to a script to run' + COLOR_RESET);- console.log(help);- process.exit(1);-}--(async(scriptPath, good, bad) => {- const span = Math.abs(good - bad);- console.log(`Bisecting ${COLOR_YELLOW}${span}${COLOR_RESET} revisions in ${COLOR_YELLOW}~${span.toString(2).length}${COLOR_RESET} iterations`);-- while (true) {- const middle = Math.round((good + bad) / 2);- const revision = await findDownloadableRevision(middle, good, bad);- if (!revision || revision === good || revision === bad)- break;- let info = browserFetcher.revisionInfo(revision);- const shouldRemove = !info.local;- info = await downloadRevision(revision);- const exitCode = await runScript(scriptPath, info);- if (shouldRemove)- await browserFetcher.remove(revision);- let outcome;- if (exitCode) {- bad = revision;- outcome = COLOR_RED + 'BAD' + COLOR_RESET;- } else {- good = revision;- outcome = COLOR_GREEN + 'GOOD' + COLOR_RESET;- }- const span = Math.abs(good - bad);- let fromText = '';- let toText = '';- if (good < bad) {- fromText = COLOR_GREEN + good + COLOR_RESET;- toText = COLOR_RED + bad + COLOR_RESET;- } else {- fromText = COLOR_RED + bad + COLOR_RESET;- toText = COLOR_GREEN + good + COLOR_RESET;- }- console.log(`- ${COLOR_YELLOW}r${revision}${COLOR_RESET} was ${outcome}. Bisecting [${fromText}, ${toText}] - ${COLOR_YELLOW}${span}${COLOR_RESET} revisions and ${COLOR_YELLOW}~${span.toString(2).length}${COLOR_RESET} iterations`);- }-- const [fromSha, toSha] = await Promise.all([- revisionToSha(Math.min(good, bad)),- revisionToSha(Math.max(good, bad)),- ]);- console.log(`RANGE: https://chromium.googlesource.com/chromium/src/+log/${fromSha}..${toSha}`);-})(scriptPath, argv.good, argv.bad);--function runScript(scriptPath, revisionInfo) {- const log = debug('bisect:runscript');- log('Running script');- const child = fork(scriptPath, [], {- stdio: ['inherit', 'inherit', 'inherit', 'ipc'],- env: {- ...process.env,- PLAYWRIGHT_EXECUTABLE_PATH: revisionInfo.executablePath,- },- });- return new Promise((resolve, reject) => {- child.on('error', err => reject(err));- child.on('exit', code => resolve(code));- });-}--async function downloadRevision(revision) {- const log = debug('bisect:download');- log(`Downloading ${revision}`);- let progressBar = null;- let lastDownloadedBytes = 0;- return await browserFetcher.download(revision, (downloadedBytes, totalBytes) => {- if (!progressBar) {- const ProgressBar = require('progress');- progressBar = new ProgressBar(`- downloading Chromium r${revision} - ${toMegabytes(totalBytes)} [:bar] :percent :etas `, {- complete: '=',- incomplete: ' ',- width: 20,- total: totalBytes,- });- }- const delta = downloadedBytes - lastDownloadedBytes;- lastDownloadedBytes = downloadedBytes;- progressBar.tick(delta);- });- function toMegabytes(bytes) {- const mb = bytes / 1024 / 1024;- return `${Math.round(mb * 10) / 10} Mb`;- }-}--async function findDownloadableRevision(rev, from, to) {- const log = debug('bisect:findrev');- const min = Math.min(from, to);- const max = Math.max(from, to);- log(`Looking around ${rev} from [${min}, ${max}]`);- if (await browserFetcher.canDownload(rev))- return rev;- let down = rev;- let up = rev;- while (min <= down || up <= max) {- const [downOk, upOk] = await Promise.all([- down > min ? probe(--down) : Promise.resolve(false),- up < max ? probe(++up) : Promise.resolve(false),- ]);- if (downOk)- return down;- if (upOk)- return up;- }- return null;-- async function probe(rev) {- const result = await browserFetcher.canDownload(rev);- log(` ${rev} - ${result ? 'OK' : 'missing'}`);- return result;- }-}--async function revisionToSha(revision) {- const json = await fetchJSON('https://cr-rev.appspot.com/_ah/api/crrev/v1/redirect/' + revision);- return json.git_sha;-}--function fetchJSON(url) {- return new Promise((resolve, reject) => {- const agent = url.startsWith('https://') ? require('https') : require('http');- const options = URL.parse(url);- options.method = 'GET';- options.headers = {- 'Content-Type': 'application/json'- };- const req = agent.request(options, function(res) {- let result = '';- res.setEncoding('utf8');- res.on('data', chunk => result += chunk);- res.on('end', () => resolve(JSON.parse(result)));- });- req.on('error', err => reject(err));- req.end();- });-}